@@ 50-59 (lines=10) @@ | ||
47 | ); |
|
48 | } |
|
49 | ||
50 | private function createPhp7CodeSnifferRunApplicationCommand(RunApplicationCommand $command) : Php7CodeSnifferRunApplicationCommand |
|
51 | { |
|
52 | return new Php7CodeSnifferRunApplicationCommand( |
|
53 | $command->getSource(), |
|
54 | $command->getJsonConfiguration()['standards'] ?? [], |
|
55 | $command->getJsonConfiguration()['sniffs'] ?? [], |
|
56 | $command->getJsonConfiguration()['exclude-sniffs'] ?? [], |
|
57 | $command->isFixer() |
|
58 | ); |
|
59 | } |
|
60 | ||
61 | private function createPhpCsFixerRunApplicationCommand(RunApplicationCommand $command) : PhpCsFixerRunApplicationCommand |
|
62 | { |
|
@@ 61-70 (lines=10) @@ | ||
58 | ); |
|
59 | } |
|
60 | ||
61 | private function createPhpCsFixerRunApplicationCommand(RunApplicationCommand $command) : PhpCsFixerRunApplicationCommand |
|
62 | { |
|
63 | return new PhpCsFixerRunApplicationCommand( |
|
64 | $command->getSource(), |
|
65 | $command->getJsonConfiguration()['fixer-levels'] ?? [], |
|
66 | $command->getJsonConfiguration()['fixers'] ?? [], |
|
67 | $command->getJsonConfiguration()['exclude-fixers'] ?? [], |
|
68 | $command->isFixer() |
|
69 | ); |
|
70 | } |
|
71 | } |
|
72 |