Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,18 @@
},
"require": {
"php": "^7.3",
"phpstan/phpstan": "^0.12.7",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there are no changes in the code itself, it should be possible to specify both versions of PHPStan.
If there are some trouble with symplify/easy-coding-standard feel free to get rid of it, no need for development tool in a library that's not being developed.

"phpstan/phpstan": ">=0.12.7 <=1.2.0",
"nette/utils": "^3.1.0",
"webmozart/path-util": "^2.3.0",
"thecodingmachine/safe": "^1.0.3",
"nette/neon": "^3.1.0"
},
"license": "MIT",
"require-dev": {
"symplify/easy-coding-standard": "^7.1.0"
},
"scripts": {
"check": [
"@check-cs",
"@phpstan"
],
"ecs": "ecs check src",
"ecs-fix": "ecs check src --fix",
"phpstan": "phpstan analyse src --level max --error-format=fileoutput",
"phpstan-test": "phpstan analyse src tests --level max --error-format=fileoutput --no-progress",
"check-cs-test": "ecs check tests "
"phpstan-test": "phpstan analyse src tests --level max --error-format=fileoutput --no-progress"
}
}
Loading