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

Commit 6d014ad

Browse files
committed
Prepare support for PHP 8
1 parent c42b9a4 commit 6d014ad

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,7 +9,7 @@
99
}
1010
],
1111
"require": {
12-
"php": ">=7.4.0",
12+
"php": "^7.4 || ^8.0",
1313
"nette/utils": "^3.0",
1414
"nette/di": "^3.0",
1515
"baraja-core/doctrine": "^2.4",
@@ -20,9 +20,9 @@
2020
"baraja-core/selectbox-tree": "^1.1 || ^2.0"
2121
},
2222
"require-dev": {
23-
"phpstan/phpstan": "^0.12.18",
24-
"tracy/tracy": "^2.7",
25-
"phpstan/phpstan-nette": "^0.12.6",
23+
"phpstan/phpstan": "^0.12.74",
24+
"tracy/tracy": "^2.8",
25+
"phpstan/phpstan-nette": "^0.12.14",
2626
"spaze/phpstan-disallowed-calls": "^1.1",
2727
"roave/security-advisories": "dev-master"
2828
},

0 commit comments

Comments
 (0)