Skip to content

Commit

Permalink
Updates for PHP Stan and use of sprintf rather than interpolation.
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Mar 21, 2020
1 parent a282fe7 commit 9c385b7
Show file tree
Hide file tree
Showing 17 changed files with 981 additions and 136 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ script:
- cd ${TRAVIS_BUILD_DIR}
- composer lint
- composer sniff
- composer stan
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
}
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.1"
"squizlabs/php_codesniffer": "^3.1",
"phpstan/phpstan": "^0.11.19"
},
"scripts": {
"lint": "php -l ./src/",
"sniff": "./vendor/bin/phpcs -s --standard=PSR2 ./src/"
"sniff": "./vendor/bin/phpcs -s --standard=PSR2 ./src/",
"stan": "./vendor/bin/phpstan analyse --level 7 src"
}
}
Loading

0 comments on commit 9c385b7

Please sign in to comment.