Skip to content

Commit

Permalink
Support for Codeception 3 (#16)
Browse files Browse the repository at this point in the history
* Allow installation of Codeception 3.
* Use same version of Nette for PHPStan as has main package.
* Ignore deprecation message from Symfony 4.3
  • Loading branch information
KacerCZ authored and f3l1x committed Jun 28, 2019
1 parent f5aad2a commit 0671e71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"require": {
"php": ">= 7.1",
"codeception/codeception": "^2.5.1",
"codeception/codeception": "^2.5.1|^3.0.2",
"nette/di": "~2.4.14",
"nette/bootstrap": "~2.4.6",
"nette/http": "~2.4.10",
Expand Down Expand Up @@ -65,6 +65,7 @@
],
"phpstan-install": [
"mkdir -p temp/phpstan",
"composer require -d temp/phpstan nette/utils:~2.5.3",
"composer require -d temp/phpstan phpstan/phpstan:^0.10",
"composer require -d temp/phpstan phpstan/phpstan-deprecation-rules:^0.10",
"composer require -d temp/phpstan phpstan/phpstan-nette:^0.10",
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ parameters:

# Complicated to test dev-required phpstan with separatly installed version
- '#^Call to an undefined method PHPStan\\#'

# Symfony 4.3 deprecation message
- '#^Class Contributte\\Codeception\\Connector\\NetteConnector extends deprecated class Symfony\\Component\\BrowserKit\\Client\.#'

0 comments on commit 0671e71

Please sign in to comment.