Skip to content

Commit f30edfe

Browse files
Koldo Picazakpicaza
Koldo Picaza
authored andcommitted
add php8 support
1 parent 45ea6c2 commit f30edfe

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
}
1414
],
1515
"require": {
16-
"php": "^7.4.3",
16+
"php": "^7.4|^8.0",
1717
"doctrine/dbal": "^2.10",
1818
"psr/container": "^1.0.0"
1919
},
2020
"require-dev": {
21-
"phpro/grumphp": "~0.17 || ~1.0",
22-
"phpstan/phpstan": "~0.11.19",
23-
"phpunit/phpunit": "^8.0 || ^9.0",
21+
"phpro/grumphp": "^1.3.0",
22+
"phpstan/phpstan": "^0.12",
23+
"phpunit/phpunit": "^9.0",
2424
"squizlabs/php_codesniffer": "^3.4",
25-
"symfony/var-dumper": "^4.2 || ^5.0"
25+
"symfony/var-dumper": "^5.0"
2626
},
2727
"autoload": {
2828
"psr-4": {

phpstan.neon.dist

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: '~Unable to resolve the template type T in call to method static method Doctrine\\DBAL\\DriverManager::getConnection\(\)~'
5+
paths:
6+
- %currentWorkingDirectory%/src/Container/DBALConnectionFactory.php

0 commit comments

Comments
 (0)