diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9887dba..a5abbae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: tests: uses: janpecha/actions/.github/workflows/nette-tester-library.yml@master with: - phpVersions: '["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]' + phpVersions: '["7.4", "8.0", "8.1", "8.2"]' lowestDependencies: true coding-style: @@ -23,4 +23,4 @@ jobs: uses: janpecha/actions/.github/workflows/phpstan.yml@master with: extensions: phpstan/phpstan-nette - phpVersions: '["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]' + phpVersions: '["7.4", "8.0", "8.1", "8.2"]' diff --git a/code-checker.php b/code-checker.php index 96eef7d..f1b5362 100644 --- a/code-checker.php +++ b/code-checker.php @@ -1,7 +1,12 @@ setPhpVersion(new JP\CodeChecker\Version('5.6.0')); + $config->setPhpVersion(new JP\CodeChecker\Version('7.4.0')); + $config->setParameters([ + 'php' => [ + 'strictTypes' => FALSE, + ], + ]); $config->addPath('./src'); $config->addPath('./tests'); JP\CodeChecker\Sets\CzProjectMinimum::configure($config); diff --git a/composer.json b/composer.json index 5697fd0..56bd0c2 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ {"type": "other", "url": "https://www.janpecha.cz/donate/"} ], "require": { - "php": "5.6 - 8.2", + "php": "7.4 - 8.2", "nette/application": "^2.4 || ^3.0", "nette/utils": "^2.4 || ^3.0 || ^4.0", "latte/latte": "^2.4 || ^3.0" diff --git a/readme.md b/readme.md index f3dab24..057d046 100644 --- a/readme.md +++ b/readme.md @@ -18,7 +18,7 @@ Navigation component for Nette Framework. composer require inteve/navigation ``` -`Inteve\Navigation` requires PHP 5.6.0 or later and Nette 2.2+ or 3.0+. +`Inteve\Navigation` requires PHP 7.4 or later and Nette 2.2+ or 3.0+. ## Usage