Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f8dd5c6

Browse filesBrowse files
committed
Drop support for PHP 7.1
1 parent 50bb005 commit f8dd5c6
Copy full SHA for f8dd5c6

File tree

Expand file treeCollapse file tree

12 files changed

+21
-125
lines changed
Filter options
Expand file treeCollapse file tree

12 files changed

+21
-125
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
strategy:
1616
matrix:
1717
php-version:
18-
- '7.1'
1918
- '7.2'
2019
- '7.3'
2120
- '7.4'
@@ -50,4 +49,4 @@ jobs:
5049

5150
- name: Static analysis
5251
run: 'vendor/bin/psalm --config="tests/psalm.xml"'
53-
if: ${{ !matrix.future-release && matrix.php-version >= 7.1 }}
52+
if: ${{ !matrix.future-release }}

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Installation instructions to use the `composer` command can be found on https://
3737

3838
### Requirements
3939

40-
PHP Curl Class works with PHP 8.3, 8.2, 8.1, 8.0, 7.4, 7.3, 7.2, and 7.1.
40+
PHP Curl Class works with PHP 8.3, 8.2, 8.1, 8.0, 7.4, 7.3, and 7.2.
4141

4242
### Quick Start and Examples
4343

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": ">=7.1",
21+
"php": ">=7.2",
2222
"ext-curl": "*"
2323
},
2424
"require-dev": {

‎tests/check_coding_standards.sh

Copy file name to clipboardExpand all lines: tests/check_coding_standards.sh
+18-24Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,35 +93,29 @@ if [[ ! -z "${elses}" ]]; then
9393
fi
9494

9595
# Run PHP_CodeSniffer.
96-
if [[ "${CI_PHP_VERSION}" == "7.1" ]]; then :
96+
# Determine which phpcs to use.
97+
if [[ -f "vendor/bin/phpcs" ]]; then
98+
phpcs_to_use="vendor/bin/phpcs"
9799
else
100+
phpcs_to_use="phpcs"
101+
fi
98102

99-
# Determine which phpcs to use.
100-
if [[ -f "vendor/bin/phpcs" ]]; then
101-
phpcs_to_use="vendor/bin/phpcs"
102-
else
103-
phpcs_to_use="phpcs"
104-
fi
105-
106-
# Detect coding standard violations.
107-
"${phpcs_to_use}" --version
108-
"${phpcs_to_use}" \
109-
--extensions="php" \
110-
--ignore="*/vendor/*" \
111-
--standard="tests/ruleset.xml" \
112-
-p \
113-
-s \
114-
.
115-
if [[ "${?}" -ne 0 ]]; then
116-
echo "Error: found PHP_CodeSniffer coding standard violation(s)"
117-
errors+=("found PHP_CodeSniffer coding standard violation(s)")
118-
fi
119-
103+
# Detect coding standard violations.
104+
"${phpcs_to_use}" --version
105+
"${phpcs_to_use}" \
106+
--extensions="php" \
107+
--ignore="*/vendor/*" \
108+
--standard="tests/ruleset.xml" \
109+
-p \
110+
-s \
111+
.
112+
if [[ "${?}" -ne 0 ]]; then
113+
echo "Error: found PHP_CodeSniffer coding standard violation(s)"
114+
errors+=("found PHP_CodeSniffer coding standard violation(s)")
120115
fi
121116

122117
# Run PHP-CS-Fixer.
123-
if [[ "${CI_PHP_VERSION}" == "7.1" ]]; then :
124-
elif [[ "${CI_PHP_VERSION}" == "7.2" ]]; then :
118+
if [[ "${CI_PHP_VERSION}" == "7.2" ]]; then :
125119
elif [[ "${CI_PHP_VERSION}" == "7.3" ]]; then :
126120
else
127121
vendor/bin/php-cs-fixer --version

‎tests/dockerfiles/php71/1_build.sh

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/1_build.sh
-3Lines changed: 0 additions & 3 deletions
This file was deleted.

‎tests/dockerfiles/php71/2_start.sh

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/2_start.sh
-15Lines changed: 0 additions & 15 deletions
This file was deleted.

‎tests/dockerfiles/php71/3_test.sh

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/3_test.sh
-17Lines changed: 0 additions & 17 deletions
This file was deleted.

‎tests/dockerfiles/php71/4_stop.sh

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/4_stop.sh
-3Lines changed: 0 additions & 3 deletions
This file was deleted.

‎tests/dockerfiles/php71/Dockerfile

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/Dockerfile
-19Lines changed: 0 additions & 19 deletions
This file was deleted.

‎tests/dockerfiles/php71/attach.sh

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/attach.sh
-3Lines changed: 0 additions & 3 deletions
This file was deleted.

‎tests/dockerfiles/php71/run.sh

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/run.sh
-23Lines changed: 0 additions & 23 deletions
This file was deleted.

‎tests/dockerfiles/php71/run_interactive.sh

Copy file name to clipboardExpand all lines: tests/dockerfiles/php71/run_interactive.sh
-14Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.