mirror of
https://github.com/danog/phpdoc-parser.git
synced 2024-11-30 04:29:20 +01:00
Skip PHPCS on PHP 7.4
This commit is contained in:
parent
e65b5533c7
commit
48340dcad0
@ -51,6 +51,10 @@
|
||||
</target>
|
||||
|
||||
<target name="cs">
|
||||
<php expression="PHP_VERSION_ID >= 70400 ?'true':'false'" returnProperty="isPHP74" level="verbose" />
|
||||
<if>
|
||||
<equals arg1="${isPHP74}" arg2="false" />
|
||||
<then>
|
||||
<exec
|
||||
executable="vendor/bin/phpcs"
|
||||
logoutput="true"
|
||||
@ -65,6 +69,8 @@
|
||||
<arg path="src"/>
|
||||
<arg path="tests"/>
|
||||
</exec>
|
||||
</then>
|
||||
</if>
|
||||
</target>
|
||||
|
||||
<target name="cs-fix">
|
||||
|
@ -12,7 +12,6 @@
|
||||
"phpstan/phpstan": "^0.12",
|
||||
"phpunit/phpunit": "^6.3",
|
||||
"slevomat/coding-standard": "^4.7.2",
|
||||
"squizlabs/php_codesniffer": "^3.3.2",
|
||||
"symfony/process": "^3.4 || ^4.0",
|
||||
"phpstan/extension-installer": "^1.0",
|
||||
"phpstan/phpstan-strict-rules": "^0.12"
|
||||
|
Loading…
Reference in New Issue
Block a user