Skip to content

Commit

Permalink
Fixed (removed) usage of deprecated Function ReflectionType::__toStri…
Browse files Browse the repository at this point in the history
…ng().

- Primi requires PHP 7.1 or higher.
- Updated PHPStan to version 0.12, tweaked analysis level a bit and fixed
  some of the newly reported stuff.
  • Loading branch information
smuuf committed Jan 21, 2020
1 parent 7e17668 commit 3b84734
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 1,163 deletions.
2 changes: 1 addition & 1 deletion bin/phpstan
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

cd $(dirname $0)

../vendor/phpstan/phpstan/bin/phpstan analyze --level=7 ../src -c ../phpstan.neon
../vendor/bin/phpstan analyze --level=5 ../src -c ../phpstan.neon

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
"classmap": ["src/"]
},
"require": {
"php": ">=7.1",
"smuuf/php-peg": "^2.1"
},
"require-dev": {
"smuuf/koloader": "dev-master",
"smuuf/phpcb": "dev-master",
"nette/tester": "^2.0",
"phpstan/phpstan": "^0.9.1"
"phpstan/phpstan": "^0.12"
}
}
Loading

0 comments on commit 3b84734

Please sign in to comment.