Skip to content

Commit 3ce476c

Browse files
committed
Dropped support for PHP 5.6, 7.0, 7.1, 7.2 & 7.3
1 parent 6ac190e commit 3ce476c

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
tests:
1414
uses: janpecha/actions/.github/workflows/nette-tester-library.yml@master
1515
with:
16-
phpVersions: '["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]'
16+
phpVersions: '["7.4", "8.0", "8.1", "8.2", "8.3"]'
1717
lowestDependencies: true
1818

1919
coding-style:

code-checker.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
<?php
22

33
return function (JP\CodeChecker\CheckerConfig $config) {
4-
$config->setPhpVersion(new JP\CodeChecker\Version('5.6.0'));
4+
$config->setPhpVersion(new JP\CodeChecker\Version('7.4.0'));
55
$config->addPath('./src');
66
$config->addPath('./tests');
7+
$config->setParameters([
8+
'php' => [
9+
'strictTypes' => FALSE,
10+
],
11+
]);
712
JP\CodeChecker\Sets\CzProjectMinimum::configure($config);
813
};

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
{"type": "other", "url": "https://www.janpecha.cz/donate/git-php/"}
1616
],
1717
"require": {
18-
"php": ">=5.6.0"
18+
"php": ">=7.4.0"
1919
},
2020
"autoload": {
2121
"classmap": ["src/"]
2222
},
2323
"require-dev": {
24-
"nette/tester": "^2.0"
24+
"nette/tester": "^2.4"
2525
}
2626
}

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Installation
2121
composer require czproject/git-php
2222
```
2323

24-
Library requires PHP 5.6 or later and `git` client (path to Git must be in system variable `PATH`).
24+
Library requires PHP 7.4 or later and `git` client (path to Git must be in system variable `PATH`).
2525

2626
Git installers:
2727

0 commit comments

Comments
 (0)