Skip to content

Commit

Permalink
Support php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimannn committed Jan 19, 2023
1 parent 97dc573 commit dd9481f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
],
"minimum-stability": "stable",
"require": {
"php": "^7.4",
"php": "^7.4|^8.0",
"thecodingmachine/safe": "^1.1",
"symfony/property-info": "^4.0|^5.0"
"symfony/property-info": "^5.0",
"phpdocumentor/reflection-docblock": "^5.0"
},
"autoload": {
"psr-4": {
Expand All @@ -35,10 +36,15 @@
},
"require-dev": {
"doctrine/coding-standard": "^8.2",
"phpstan/phpstan": "^0.12.19",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.1",
"sensiolabs/security-checker": "^6.0",
"squizlabs/php_codesniffer": "^3.5",
"thecodingmachine/phpstan-safe-rule": "^1.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.3'
services:
php-cli:
image: php:7.4
image: php:8.1
command:
- bash
- "-c"
Expand Down

0 comments on commit dd9481f

Please sign in to comment.