Skip to content

Commit

Permalink
Requires PHP 7.4 - 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed May 14, 2024
1 parent f242c61 commit 1906c1a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"]'
7 changes: 6 additions & 1 deletion code-checker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<?php

return function (JP\CodeChecker\CheckerConfig $config) {
$config->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);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1906c1a

Please sign in to comment.