Skip to content

Commit

Permalink
Prepare support for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Feb 9, 2021
1 parent 2c59e01 commit 5eec20e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
coverage: none

- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: 7.4
php-version: 8.0

- name: Install composer deps
run: |
composer create-project nette/code-checker temp/code-checker ^3 --no-progress
composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
# Install app deps
composer install --no-interaction --prefer-dist
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require": {
"php": ">=7.4.0",
"php": "^7.4 || ^8.0",
"ext-json": "*",
"ext-mbstring": "*",
"ext-iconv": "*",
Expand All @@ -24,9 +24,9 @@
"nette/security": "^3.1"
},
"require-dev": {
"phpstan/phpstan": "^0.12.18",
"phpstan/phpstan": "^0.12.74",
"tracy/tracy": "^2.8",
"phpstan/phpstan-nette": "^0.12.6",
"phpstan/phpstan-nette": "^0.12.14",
"baraja-core/localization": "^1.2",
"spaze/phpstan-disallowed-calls": "^1.1",
"roave/security-advisories": "dev-master"
Expand Down

0 comments on commit 5eec20e

Please sign in to comment.