Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Commit ed8f9e3

Browse files
committed
Prepare support for PHP 8
1 parent 8f2c70e commit ed8f9e3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/coding-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: shivammathur/setup-php@v2
1212
with:
13-
php-version: 7.4
13+
php-version: 8.0
1414
coverage: none
1515

1616
- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- name: Install PHP
2020
uses: shivammathur/setup-php@master
2121
with:
22-
php-version: 7.4
22+
php-version: 8.0
2323

2424
- name: Install composer deps
2525
run: |
2626
composer create-project nette/code-checker temp/code-checker ^3 --no-progress
27-
composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
27+
composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
2828
2929
# Install app deps
3030
composer install --no-interaction --prefer-dist

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
}
1010
],
1111
"require": {
12-
"php": ">=7.4.0"
12+
"php": "^7.4 || ^8.0"
1313
},
1414
"require-dev": {
15-
"phpstan/phpstan": "^0.12.18",
16-
"tracy/tracy": "^2.7",
17-
"phpstan/phpstan-nette": "^0.12.6",
15+
"phpstan/phpstan": "^0.12.74",
16+
"tracy/tracy": "^2.8",
17+
"phpstan/phpstan-nette": "^0.12.14",
1818
"roave/security-advisories": "dev-master"
1919
},
2020
"autoload": {

0 commit comments

Comments
 (0)