File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 3737
3838 - stage : Static Analysis (informative)
3939 php : 7.4
40- install :
41- # Install PHPStan
42- - travis_retry composer create-project phpstan/phpstan-shim temp/phpstan --no-progress
43- - travis_retry composer install --no-progress --prefer-dist
4440 script :
45- - php temp/phpstan/phpstan.phar analyse --autoload-file vendor/autoload.php --level 5 --configuration tests/ phpstan.neon src
41+ - composer run-script phpstan
4642
4743
4844 - stage : Code Coverage
Original file line number Diff line number Diff line change 1919 },
2020 "require-dev" : {
2121 "nette/tester" : " ~2.0" ,
22- "tracy/tracy" : " ^2.3"
22+ "tracy/tracy" : " ^2.3" ,
23+ "phpstan/phpstan" : " ^0.12"
2324 },
2425 "suggest" : {
2526 "ext-iconv" : " to use Strings::webalize() and toAscii()" ,
3435 "classmap" : [" src/" ]
3536 },
3637 "minimum-stability" : " dev" ,
38+ "scripts" : {
39+ "phpstan" : " phpstan analyse --level 5 --configuration tests/phpstan.neon src" ,
40+ "tester" : " tester tests -s"
41+ },
3742 "extra" : {
3843 "branch-alias" : {
3944 "dev-master" : " 3.0-dev"
Original file line number Diff line number Diff line change 11parameters :
2- bootstrap : tests/ phpstan-bootstrap.php
2+ bootstrap : phpstan-bootstrap.php
33
44 ignoreErrors :
55 # PHPStan does not support dynamic by reference return used by Nette\Utils\Strings::pcre()
You can’t perform that action at this time.
0 commit comments