Skip to content

Commit

Permalink
Merge pull request #95 from Roave/feature/#96-phpstan-static-analysis
Browse files Browse the repository at this point in the history
#69 re-introduced PHPStan static analysis
  • Loading branch information
Ocramius authored Aug 21, 2018
2 parents ba85a68 + 0ba91b2 commit 34f627b
Show file tree
Hide file tree
Showing 21 changed files with 1,136 additions and 442 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
php: 7.2
script: vendor/bin/psalm

#- stage: Static analysis (src) with phpstan
# php: 7.2
# script: vendor/bin/phpstan analyse --level=7 src
- stage: Static analysis (src) with phpstan
php: 7.2
script: vendor/bin/phpstan analyse

- stage: Test
php: 7.2
Expand Down
16 changes: 11 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"php": "^7.2",
"beberlei/assert": "^2.9",
"composer/composer": "^1.6",
"nikolaposa/version": "^3.0",
"nikolaposa/version": "^3.1.0",
"roave/better-reflection": "^3.0",
"symfony/console": "^4.0",
"symfony/process": "^4.0"
Expand All @@ -19,11 +19,14 @@
],
"require-dev": {
"doctrine/coding-standard": "^4.0",
"infection/infection": "^0.9.1",
"phpstan/phpstan": "^0.10.3",
"phpstan/phpstan-beberlei-assert": "^0.10",
"phpstan/phpstan-phpunit": "^0.10",
"phpunit/phpunit": "^7.0",
"squizlabs/php_codesniffer": "^3.2",
"roave/security-advisories": "dev-master",
"vimeo/psalm": "^2.0",
"infection/infection": "^0.9.1"
"squizlabs/php_codesniffer": "^3.2",
"vimeo/psalm": "^2.0"
},
"autoload": {
"psr-4": {
Expand All @@ -37,5 +40,8 @@
},
"bin": [
"bin/roave-backward-compatibility-check"
]
],
"config": {
"sort-packages": true
}
}
Loading

0 comments on commit 34f627b

Please sign in to comment.