From 58a394ad1222a9134b213b8e0a9f7413b8e8b51b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20Felix=20=C5=A0ulc?= Date: Tue, 13 Dec 2022 12:53:07 +0100 Subject: [PATCH] Require PHP 8.0 --- .github/workflows/coverage.yml | 2 -- .github/workflows/tests.yml | 22 ++++++++-------------- README.md | 3 +-- composer.json | 6 +++--- 4 files changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index efda94a..121f718 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -13,5 +13,3 @@ jobs: coverage: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester-coverage.yml@v1 - with: - php: "7.4" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4e40cae..5826560 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,33 +10,27 @@ on: - cron: "0 8 * * 1" jobs: - test81: + test82: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@v1 with: - php: "8.1" + php: "8.2" - test80: - name: "Nette Tester" - uses: contributte/.github/.github/workflows/nette-tester.yml@v1 - with: - php: "8.0" - - test74: + test81: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@v1 with: - php: "7.4" + php: "8.1" - test73: + test80: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@v1 with: - php: "7.3" + php: "8.0" - test72: + testlowest: name: "Nette Tester" uses: contributte/.github/.github/workflows/nette-tester.yml@v1 with: - php: "7.2" + php: "8.0" composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest" diff --git a/README.md b/README.md index 3b08447..0fb4c36 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,8 @@ For details on how to use this package, check out our [documentation](.docs). | State | Version | Branch | Nette | PHP | |-------------|---------|----------|-------|---------| -| dev | `^0.9` | `master` | 3.0+ | `>=7.2` | +| dev | `^0.9` | `master` | 3.0+ | `>=8.0` | | stable | `^0.8` | `master` | 3.0+ | `>=7.2` | -| stable | `^0.5` | `master` | 2.4 | `>=7.1` | ## Development diff --git a/composer.json b/composer.json index 9d6eabe..ec59509 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": ">=7.2", + "php": ">=8.0", "guzzlehttp/psr7": "^2.4.3", "nette/utils": "^3.2.8" }, @@ -27,8 +27,8 @@ "nette/application": "^3.1.8", "nette/di": "^3.0.14", "nette/http": "^3.2.1", - "ninjify/nunjuck": "^v0.3.0", - "ninjify/qa": "^v0.13.0", + "ninjify/nunjuck": "^0.4", + "ninjify/qa": "^0.13", "phpstan/phpstan": "^1.9.3", "phpstan/phpstan-deprecation-rules": "^1.1.0", "phpstan/phpstan-nette": "^1.1.0",