Skip to content

Commit

Permalink
Merge pull request #31710 from Ca-Jou/docs-urls
Browse files Browse the repository at this point in the history
[docs] replace old docs urls all over our codebase
  • Loading branch information
romainneutron committed Nov 28, 2023
2 parents b0a769e + 376826c commit 8318d98
Show file tree
Hide file tree
Showing 45 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion Player/Console/DockerDeprecationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ private function ensureCommandIsRunInDockerContainer(OutputInterface $output): v
{
if (!isset($_ENV['USING_PLAYER_DOCKER_RELEASE'])) {
$output->writeln('<error>You should use the Blackfire Player using the Docker release.</error>');
$output->writeln('<error>Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.</error>');
$output->writeln('<error>Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.</error>');
$output->writeln('');
}
}
Expand Down
2 changes: 1 addition & 1 deletion Player/Console/PlayerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected function configure(): void
new InputOption('step', '', InputOption::VALUE_NONE, 'Interactive execution. Ask user validation before every step.', null),
])
->setDescription('Runs scenario files')
->setHelp('Read https://blackfire.io/docs/builds-cookbooks/player to learn about all supported options.')
->setHelp('Read https://docs.blackfire.io/builds-cookbooks/player to learn about all supported options.')
;
}

Expand Down
2 changes: 1 addition & 1 deletion Player/Console/ValidateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function configure(): void
new InputOption('variable', '', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'Declare or override a variable value', null),
])
->setDescription('Validate scenario files')
->setHelp('Read https://blackfire.io/docs/builds-cookbooks/player to learn about all supported options.')
->setHelp('Read https://docs.blackfire.io/builds-cookbooks/player to learn about all supported options.')
;
}

Expand Down
4 changes: 2 additions & 2 deletions Player/Extension/BlackfireExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,13 @@ private function shouldContinueSampling(string $blackfireResponseHeader, Scenari
$progress = (int) $values['progress'];

if ($progress < $prevProgress) {
throw new LogicException('Profiling progress is inconsistent (progress is going backward). That happens for instance when the project\'s infrastructure is behind a load balancer. Please read https://blackfire.io/docs/up-and-running/reverse-proxies#configuration-load-balancer');
throw new LogicException('Profiling progress is inconsistent (progress is going backward). That happens for instance when the project\'s infrastructure is behind a load balancer. Please read https://docs.blackfire.io/up-and-running/reverse-proxies#configuration-load-balancer');
}
if ($progress === $prevProgress) {
$retry = $scenarioContext->getExtraValue('blackfire_retry', 0);
++$retry;
if ($retry >= self::MAX_RETRY) {
throw new LogicException('Profiling progress is inconsistent (progress is not increasing). That happens for instance when using a reverse proxy or an HTTP cache server such as Varnish. Please read https://blackfire.io/docs/up-and-running/reverse-proxies#reverse-proxies-and-cdns');
throw new LogicException('Profiling progress is inconsistent (progress is not increasing). That happens for instance when using a reverse proxy or an HTTP cache server such as Varnish. Please read https://docs.blackfire.io/up-and-running/reverse-proxies#reverse-proxies-and-cdns');
}
$scenarioContext->setExtraValue('blackfire_retry', $retry);
} else {
Expand Down
4 changes: 2 additions & 2 deletions Player/Tests/Extension/BlackfireExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public function afterResponseFailureProvider()
$response,
$defaultScenarioSetExtraValues,
LogicException::class,
'Profiling progress is inconsistent (progress is not increasing). That happens for instance when using a reverse proxy or an HTTP cache server such as Varnish. Please read https://blackfire.io/docs/up-and-running/reverse-proxies#reverse-proxies-and-cdns',
'Profiling progress is inconsistent (progress is not increasing). That happens for instance when using a reverse proxy or an HTTP cache server such as Varnish. Please read https://docs.blackfire.io/up-and-running/reverse-proxies#reverse-proxies-and-cdns',
];

$request = new HttpRequest('GET', 'https://app-under-test.lan', [
Expand All @@ -428,7 +428,7 @@ public function afterResponseFailureProvider()
$response,
$defaultScenarioSetExtraValues,
LogicException::class,
'Profiling progress is inconsistent (progress is going backward). That happens for instance when the project\'s infrastructure is behind a load balancer. Please read https://blackfire.io/docs/up-and-running/reverse-proxies#configuration-load-balancer',
'Profiling progress is inconsistent (progress is going backward). That happens for instance when the project\'s infrastructure is behind a load balancer. Please read https://docs.blackfire.io/up-and-running/reverse-proxies#configuration-load-balancer',
];
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run-with-env/group/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run-with-env/sandbox/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run-with-env/simple/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run-with-env/while/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run-with-env/with/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/group-multiple/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/group-set/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/group/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/redirect/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/sandbox/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/scraping/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/simple/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/while/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/with-include/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/with/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-run/without-name/output-next.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Blackfire Player %s

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

2 changes: 1 addition & 1 deletion Player/Tests/fixtures-validate/simple/output-err.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.
2 changes: 1 addition & 1 deletion Player/Tests/fixtures-validate/simple/output-json-err.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
You should use the Blackfire Player using the Docker release.
Blackfire Player v3 will not provide support other than the Docker release, see https://blackfire.io/docs/builds-cookbooks/player#usage.
Blackfire Player v3 will not provide support other than the Docker release, see https://docs.blackfire.io/builds-cookbooks/player#usage.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It provides a nice DSL to **crawl HTTP services**, **assert
responses**, and **extract data** from HTML/XML/JSON responses.

Read more about how to `download and use Blackfire Player
<https://blackfire.io/docs/builds-cookbooks/player>`_.
<https://docs.blackfire.io/builds-cookbooks/player>`_.

Usage
-----
Expand Down

0 comments on commit 8318d98

Please sign in to comment.