Skip to content

Commit d6e63bd

Browse files
committed
update CS
1 parent 3851be8 commit d6e63bd

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

build/cs-ruleset.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<rule ref="../vendor/consistence/coding-standard/Consistence/ruleset.xml"/>
44
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
55
<properties>
6-
<property name="rootNamespaces" type="array" value="
7-
src => VasekPurchart\Phing\SymfonyCommand,
8-
tests => VasekPurchart\Phing\SymfonyCommand,
9-
"/>
6+
<property name="rootNamespaces" type="array">
7+
<element key="src" value="VasekPurchart\Phing\SymfonyCommand"/>
8+
<element key="tests" value="VasekPurchart\Phing\SymfonyCommand"/>
9+
</property>
1010
</properties>
1111
<exclude-pattern>*/data/*.php</exclude-pattern>
1212
<exclude-pattern>*/exceptions/*Exception.php</exclude-pattern>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"phing/phing": "~2.16"
1616
},
1717
"require-dev": {
18-
"consistence/coding-standard": "2.4",
18+
"consistence/coding-standard": "3.7",
1919
"jakub-onderka/php-console-highlighter": "0.3.2",
2020
"jakub-onderka/php-parallel-lint": "1.0",
2121
"phpunit/phpunit": "6.5.12",

src/SymfonyCommandTask.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class SymfonyCommandTask extends \ExecTask
2828
private $cmd;
2929

3030
/**
31+
* @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint
32+
*
3133
* @param string $executable
3234
*/
3335
public function setExecutable($executable): void

0 commit comments

Comments
 (0)