Skip to content

Commit

Permalink
Ugrade phpstan to ^1.3 (#531)
Browse files Browse the repository at this point in the history
* Ugrade phpstan to ^1.3

* Add tests on deprecated getUsername method

* Downgrade coverage from 99 to 98, adding tests wasn't enough

* Update composer.lock after rebase

Co-authored-by: Arkadiusz Kondas <[email protected]>
  • Loading branch information
alamirault and akondas authored Jan 9, 2022
1 parent 3e26961 commit 00e207e
Show file tree
Hide file tree
Showing 17 changed files with 162 additions and 104 deletions.
23 changes: 14 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,19 @@
"coduo/php-matcher": "^4.0",
"dama/doctrine-test-bundle": "^6.3",
"doctrine/doctrine-fixtures-bundle": "^3.3",
"ekino/phpstan-banned-code": "^0.5.0",
"ekino/phpstan-banned-code": "^1.0.0",
"fakerphp/faker": "^1.9",
"friendsofphp/php-cs-fixer": "^2.16",
"johnkary/phpunit-speedtrap": "^4.0",
"league/flysystem-memory": "^1.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12.2",
"phpstan/phpstan-doctrine": "^0.12.9",
"phpstan/phpstan-phpunit": "^0.12.5",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpstan/phpstan-symfony": "^0.12.3",
"phpstan/phpstan": "^1.3.0",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-doctrine": "^1.0.2",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpstan/phpstan-strict-rules": "^1.1.0",
"phpstan/phpstan-symfony": "^1.0.4",
"phpunit/phpunit": "^9",
"symfony/browser-kit": "*",
"symfony/maker-bundle": "^1.14",
Expand All @@ -113,7 +113,12 @@
"preferred-install": {
"*": "dist"
},
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"phpstan/extension-installer": true,
"symfony/flex": true
}
},
"extra": {
"symfony": {
Expand Down Expand Up @@ -149,7 +154,7 @@
],
"coverage-ci": [
"phpunit --colors=never --coverage-clover 'clover.xml'",
"bin/coverage-checker clover.xml 99"
"bin/coverage-checker clover.xml 98"
],
"coverage-html": [
"@phpunit --coverage-html coverage"
Expand Down
Loading

0 comments on commit 00e207e

Please sign in to comment.