Skip to content

Commit

Permalink
Merge pull request #45 from skaut/php-8
Browse files Browse the repository at this point in the history
Added support for PHP 8
  • Loading branch information
marekdedic authored Jan 16, 2022
2 parents ef6a509 + ad5120b commit bb705d6
Show file tree
Hide file tree
Showing 3 changed files with 319 additions and 171 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: "*"
pull_request:
env:
php-version: 7.4
php-version: 8.1
cache-version: 1
jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
"source": "https://github.com/marekdedic/phan-wordpress-stubs"
},
"require": {
"php": "^7.0"
"php": "^7.0 || ^8.0"
},
"suggest": {
"phan/phan": "A static analyzer for PHP"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"wp-coding-standards/wpcs": "^2.1",
"phan/phan": "^4.0"
"phan/phan": "^5.0"
},
"scripts": {
"phpcs": "vendor/bin/phpcs",
Expand Down
Loading

0 comments on commit bb705d6

Please sign in to comment.