File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed
Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ before_script:
2828script :
2929 - " ! (composer outdated --direct | grep ^)"
3030 - vendor-tools/bin/php-cs-fixer fix --dry-run
31- - vendor-tools/bin/phpstan analyse --level=5 --configuration=phpstan.neon src tests
31+ - vendor-tools/bin/phpstan analyse --level=7 --configuration=phpstan.neon src tests
3232 - vendor/bin/codecept run $coverage
3333
3434after_success :
Original file line number Diff line number Diff line change 11{
22 "require-dev" : {
3- "friendsofphp/php-cs-fixer" : " ^2.0.0 " ,
3+ "friendsofphp/php-cs-fixer" : " @stable " ,
44 "nette/http" : " ^3.0.0" ,
5- "phpstan/phpstan" : " ^0.6.3 " ,
6- "phpstan/phpstan-nette" : " ^0.6.1 "
5+ "phpstan/phpstan" : " @stable " ,
6+ "phpstan/phpstan-nette" : " @stable "
77 },
88 "minimum-stability" : " alpha" ,
99 "config" : {
Original file line number Diff line number Diff line change 4545 " @test"
4646 ],
4747 "fix" : " \" vendor-tools/bin/php-cs-fixer\" fix" ,
48- "analyse" : " \" vendor-tools/bin/phpstan\" analyse --no-progress --level=5 --configuration=phpstan.neon src tests" ,
48+ "analyse" : " \" vendor-tools/bin/phpstan\" analyse --no-progress --level=7 --configuration=phpstan.neon src tests" ,
4949 "test" : [
5050 " \" vendor/bin/codecept\" build" ,
5151 " \" vendor/bin/codecept\" run --debug"
Original file line number Diff line number Diff line change @@ -3,4 +3,10 @@ includes:
33 - vendor-tools/phpstan/phpstan-nette/rules.neon
44
55parameters :
6+ excludes_analyse :
7+ - %rootDir%/../../../tests/_*
8+
69 ignoreErrors :
10+ - '#^Calling method getContent\ (\ ) on possibly nullable type Symfony\\Component\\BrowserKit\\Response\|null #'
11+ - '#^Method Arachne\\Codeception\\Module\\NetteDIModule::getContainer\ (\ ) should return Nette\\DI\\Container but returns Nette\\DI\\Container\|null #'
12+ - ' #^Calling method [a-zA-Z ]++\ (\ ) on possibly nullable type Nette\\DI\\Container\|null #'
You can’t perform that action at this time.
0 commit comments