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:
28
28
script :
29
29
- " ! (composer outdated --direct | grep ^)"
30
30
- 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
32
32
- vendor/bin/codecept run $coverage
33
33
34
34
after_success :
Original file line number Diff line number Diff line change 1
1
{
2
2
"require-dev" : {
3
- "friendsofphp/php-cs-fixer" : " ^2.0.0 " ,
3
+ "friendsofphp/php-cs-fixer" : " @stable " ,
4
4
"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 "
7
7
},
8
8
"minimum-stability" : " alpha" ,
9
9
"config" : {
Original file line number Diff line number Diff line change 45
45
" @test"
46
46
],
47
47
"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" ,
49
49
"test" : [
50
50
" \" vendor/bin/codecept\" build" ,
51
51
" \" vendor/bin/codecept\" run --debug"
Original file line number Diff line number Diff line change @@ -3,4 +3,10 @@ includes:
3
3
- vendor-tools/phpstan/phpstan-nette/rules.neon
4
4
5
5
parameters :
6
+ excludes_analyse :
7
+ - %rootDir%/../../../tests/_*
8
+
6
9
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