Skip to content

Commit

Permalink
Merge pull request #177 from nschoellhorn/master
Browse files Browse the repository at this point in the history
Generify collections using Psalm
  • Loading branch information
Ocramius committed Mar 24, 2019
2 parents d156588 + 067a137 commit d348a61
Show file tree
Hide file tree
Showing 9 changed files with 1,227 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
environment:
php:
version: 7.1.0
version: 7.1.3

tools:
external_code_coverage:
Expand Down
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ jobs:
env: STATIC_ANALYSIS
install: travis_retry composer install --prefer-dist
script: vendor/bin/phpstan analyse -l 3 lib

- stage: Code Quality
env: STATIC_ANALYSIS
install: travis_retry composer install --prefer-dist
script: vendor/bin/psalm
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
{"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"}
],
"require": {
"php": "^7.1"
"php": "^7.1.3"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"doctrine/coding-standard": "^6.0",
"phpstan/phpstan-shim": "^0.9.2"
"phpstan/phpstan-shim": "^0.9.2",
"vimeo/psalm": "^3.2.2"
},
"autoload": {
"psr-4": { "Doctrine\\Common\\Collections\\": "lib/Doctrine/Common/Collections" }
Expand Down
Loading

0 comments on commit d348a61

Please sign in to comment.