Skip to content

Commit 0bd4c6c

Browse files
mmollxalopp
authored andcommitted
use phpstan strict-rules
1 parent 930909b commit 0bd4c6c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
parameters:
22
autoload_files:
33
- %rootDir%/../../../tests/bootstrap.php
4+
includes:
5+
- vendor/phpstan/phpstan-strict-rules/rules.neon

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ script:
1616
- |
1717
if [ `php -r "echo (int) version_compare(PHP_VERSION, '7.0', '>=');"` = "1" ]; then
1818
composer require phpstan/phpstan --dev
19+
composer require phpstan/phpstan-strict-rules --dev
1920
vendor/bin/phpstan analyse --level=max --no-progress -c .phpstan.neon MO4 tests
2021
fi
2122
- php -d zend_extension=xdebug.so vendor/bin/phpunit --coverage-clover=coverage.xml

0 commit comments

Comments
 (0)