Skip to content

Commit 0671e71

Browse files
KacerCZf3l1x
authored andcommitted
Support for Codeception 3 (#16)
* Allow installation of Codeception 3. * Use same version of Nette for PHPStan as has main package. * Ignore deprecation message from Symfony 4.3
1 parent f5aad2a commit 0671e71

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"require": {
2222
"php": ">= 7.1",
23-
"codeception/codeception": "^2.5.1",
23+
"codeception/codeception": "^2.5.1|^3.0.2",
2424
"nette/di": "~2.4.14",
2525
"nette/bootstrap": "~2.4.6",
2626
"nette/http": "~2.4.10",
@@ -65,6 +65,7 @@
6565
],
6666
"phpstan-install": [
6767
"mkdir -p temp/phpstan",
68+
"composer require -d temp/phpstan nette/utils:~2.5.3",
6869
"composer require -d temp/phpstan phpstan/phpstan:^0.10",
6970
"composer require -d temp/phpstan phpstan/phpstan-deprecation-rules:^0.10",
7071
"composer require -d temp/phpstan phpstan/phpstan-nette:^0.10",

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ parameters:
2424

2525
# Complicated to test dev-required phpstan with separatly installed version
2626
- '#^Call to an undefined method PHPStan\\#'
27+
28+
# Symfony 4.3 deprecation message
29+
- '#^Class Contributte\\Codeception\\Connector\\NetteConnector extends deprecated class Symfony\\Component\\BrowserKit\\Client\.#'
30+

0 commit comments

Comments
 (0)