Skip to content

Commit 2473f1a

Browse files
derickrondrejmirtes
authored andcommitted
Fixed Xdebug spelling.
1 parent b9f14ae commit 2473f1a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ make tests
6464

6565
### Debugging
6666

67-
1. Make sure XDebug is installed and configured.
67+
1. Make sure Xdebug is installed and configured.
6868
2. Add `--xdebug` option when running PHPStan. Without it PHPStan turns the debugger off at runtime.
6969
3. If you're not debugging the [result cache](https://phpstan.org/user-guide/result-cache), also add the `--debug` option.
7070

Diff for: src/Command/AnalyseCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function configure(): void
8383
new InputOption('generate-baseline', 'b', InputOption::VALUE_OPTIONAL, 'Path to a file where the baseline should be saved', false),
8484
new InputOption('allow-empty-baseline', null, InputOption::VALUE_NONE, 'Do not error out when the generated baseline is empty'),
8585
new InputOption('memory-limit', null, InputOption::VALUE_REQUIRED, 'Memory limit for analysis'),
86-
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with XDebug for debugging purposes'),
86+
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with Xdebug for debugging purposes'),
8787
new InputOption('fix', null, InputOption::VALUE_NONE, 'Launch PHPStan Pro'),
8888
new InputOption('watch', null, InputOption::VALUE_NONE, 'Launch PHPStan Pro'),
8989
new InputOption('pro', null, InputOption::VALUE_NONE, 'Launch PHPStan Pro'),

Diff for: src/Command/ClearResultCacheCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function configure(): void
3535
new InputOption('autoload-file', 'a', InputOption::VALUE_REQUIRED, 'Project\'s additional autoload file path'),
3636
new InputOption('debug', null, InputOption::VALUE_NONE, 'Show debug information - which file is analysed, do not catch internal errors'),
3737
new InputOption('memory-limit', null, InputOption::VALUE_REQUIRED, 'Memory limit for clearing result cache'),
38-
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with XDebug for debugging purposes'),
38+
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with Xdebug for debugging purposes'),
3939
]);
4040
}
4141

Diff for: src/Command/FixerWorkerCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function configure(): void
7272
new InputOption(AnalyseCommand::OPTION_LEVEL, 'l', InputOption::VALUE_REQUIRED, 'Level of rule options - the higher the stricter'),
7373
new InputOption('autoload-file', 'a', InputOption::VALUE_REQUIRED, 'Project\'s additional autoload file path'),
7474
new InputOption('memory-limit', null, InputOption::VALUE_REQUIRED, 'Memory limit for analysis'),
75-
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with XDebug for debugging purposes'),
75+
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with Xdebug for debugging purposes'),
7676
new InputOption('server-port', null, InputOption::VALUE_REQUIRED, 'Server port for FixerApplication'),
7777
]);
7878
}

Diff for: src/Command/WorkerCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function configure(): void
5757
new InputOption(AnalyseCommand::OPTION_LEVEL, 'l', InputOption::VALUE_REQUIRED, 'Level of rule options - the higher the stricter'),
5858
new InputOption('autoload-file', 'a', InputOption::VALUE_REQUIRED, 'Project\'s additional autoload file path'),
5959
new InputOption('memory-limit', null, InputOption::VALUE_REQUIRED, 'Memory limit for analysis'),
60-
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with XDebug for debugging purposes'),
60+
new InputOption('xdebug', null, InputOption::VALUE_NONE, 'Allow running with Xdebug for debugging purposes'),
6161
new InputOption('port', null, InputOption::VALUE_REQUIRED),
6262
new InputOption('identifier', null, InputOption::VALUE_REQUIRED),
6363
]);

Diff for: tests/PHPStan/Analyser/AnalyserIntegrationTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function testAnonymousClassWithInheritedConstructor(): void
6363
public function testNestedFunctionCallsDoNotCauseExcessiveFunctionNesting(): void
6464
{
6565
if (extension_loaded('xdebug')) {
66-
$this->markTestSkipped('This test takes too long with XDebug enabled.');
66+
$this->markTestSkipped('This test takes too long with Xdebug enabled.');
6767
}
6868
$errors = $this->runAnalyse(__DIR__ . '/data/nested-functions.php');
6969
$this->assertNoErrors($errors);

0 commit comments

Comments
 (0)