diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml index 45f24fc4..2f260959 100644 --- a/.github/workflows/coding-style.yml +++ b/.github/workflows/coding-style.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v1 with: - php-version: 7.2 + php-version: 8.0 coverage: none - run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v1 with: - php-version: 7.4 + php-version: 8.0 coverage: none - run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index e129028c..050a9470 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v1 with: - php-version: 7.4 + php-version: 8.0 coverage: none - run: composer install --no-progress --prefer-dist diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index af897e51..35ee7420 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] + php: ['8.0', '8.1', '8.2'] fail-fast: false @@ -40,7 +40,7 @@ jobs: # - uses: actions/checkout@v2 # - uses: shivammathur/setup-php@v1 # with: -# php-version: 7.4 +# php-version: 8.0 # coverage: none # - run: composer install --no-progress --prefer-dist @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: 8.0 extensions: simplexml coverage: none diff --git a/composer.json b/composer.json index cba1ad1b..c41b77a1 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": ">=7.2 <8.3" + "php": ">=8.0 <8.3" }, "require-dev": { "ext-simplexml": "*", diff --git a/readme.md b/readme.md index 7508391b..8146c0b2 100644 --- a/readme.md +++ b/readme.md @@ -39,6 +39,7 @@ composer require nette/tester --dev Alternatively, you can download the [tester.phar](https://github.com/nette/tester/releases) file. +- Nette Tester 2.5 is compatible with PHP 8.0 to 8.2 - Nette Tester 2.4 is compatible with PHP 7.2 to 8.2 - Nette Tester 2.3 is compatible with PHP 7.1 to 8.0 - Nette Tester 2.1 & 2.2 is compatible with PHP 7.1 to 7.3 @@ -88,7 +89,7 @@ Now we run tests from command-line using the `tester` command: |_ _/ __)( __/_ _/ __)| _ ) |_| \___ /___) |_| \___ |_|_\ v2.5 -PHP 7.3.3 | php -n | 8 threads +PHP 8.2.0 | php -n | 8 threads . OK (1 tests, 0 skipped, 0.0 seconds) ```