We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9532bc9 commit 697bc61Copy full SHA for 697bc61
2 files changed
rector.php
@@ -5,14 +5,9 @@
5
use Rector\Config\RectorConfig;
6
7
return RectorConfig::configure()
8
- ->withPaths([
9
- __DIR__ . '/src',
10
- __DIR__ . '/tests',
11
- ])
+ ->withPaths([__DIR__ . "/src", __DIR__ . "/tests"])
12
// uncomment to reach your current PHP version
13
- ->withPhpSets(
14
- php82: true,
15
- )
+ ->withPhpSets(php82: true)
16
->withPreparedSets(
17
deadCode: true,
18
codeQuality: true,
tests/ArchitectureTest.php
@@ -29,7 +29,7 @@ private function getPhpFiles(string $dir): array
29
public function testNoForbiddenGlobals(): void
30
{
31
// Use the newest supported parser API
32
- $parser = new ParserFactory()->createForNewestSupportedVersion();
+ $parser = (new ParserFactory())->createForNewestSupportedVersion();
33
34
$errors = [];
35
0 commit comments