Skip to content

Commit 75a4fe6

Browse files
removes support for php 7.1
1 parent c82446b commit 75a4fe6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
16+
php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
1717
coverage-driver: [ 'pcov' ]
1818

1919
steps:
@@ -52,7 +52,7 @@ jobs:
5252
run: ./bin/phpunit -d memory_limit=-1 --coverage-clover clover.xml
5353

5454
- name: Upload coverage to Codecov
55-
if: ${{ matrix.php-versions == '7.1' }}
55+
if: ${{ matrix.php-versions == '7.2' }}
5656
uses: codecov/codecov-action@v1
5757
with:
5858
token: ${{ secrets.CODECOV_TOKEN }}
@@ -66,7 +66,7 @@ jobs:
6666
- name: Install PHP
6767
uses: shivammathur/setup-php@v2
6868
with:
69-
php-version: 7.1
69+
php-version: 7.2
7070
tools: composer:v2.2
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
@@ -95,7 +95,7 @@ jobs:
9595
runs-on: "ubuntu-20.04"
9696
strategy:
9797
matrix:
98-
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
98+
php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1' ]
9999
coverage-driver: [ 'pcov' ]
100100

101101
steps:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PHP_VERSION=7.1
1+
ARG PHP_VERSION=7.2
22

33
FROM php:${PHP_VERSION}-cli-alpine AS php_build
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ You can add parameters when you launch the tool. At the moment you can add these
464464
phparkitect check --config=/project/yourConfigFile.php
465465
```
466466
* `--target-php-version`: With this parameter, you can specify which PHP version should use the parser. This can be useful to debug problems and to understand if there are problems with a different PHP version.
467-
Supported PHP versions are: 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2
467+
Supported PHP versions are: 7.2, 7.3, 7.4, 8.0, 8.1, 8.2
468468
* `--stop-on-failure`: With this option the process will end immediately after the first violation.
469469

470470
## Run only a specific rule

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^7.1|^8",
26+
"php": "^7.2|^8",
2727
"symfony/finder": "^3.0|^4.0|^5.0|^6.0|^7.0",
2828
"symfony/event-dispatcher": "^3.0|^4.0|^5.0|^6.0|^7.0",
2929
"symfony/console": "^3.0|^4.0|^5.0|^6.0|^7.0",
@@ -59,4 +59,4 @@
5959
"bin": [
6060
"bin-stub/phparkitect"
6161
]
62-
}
62+
}

0 commit comments

Comments
 (0)