Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 070d0a9

Browse files
Drop support for PHP 8.0
1 parent 3f80ff0 commit 070d0a9

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
strategy:
4343
matrix:
4444
php-version:
45-
- "8.0"
4645
- "8.1"
4746

4847
steps:

ChangeLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
All notable changes in PHPCPD are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44

5-
## [7.0.0] - 2021-MM-DD
5+
## [7.0.0] - 2022-MM-DD
66

77
### Added
88

99
* [#199](https://github.com/sebastianbergmann/phpcpd/pull/199): Suffix Tree-based algorithm for code clone detection
1010

1111
### Removed
1212

13-
* Removed support for PHP versions older than PHP 8.0
13+
* Removed support for PHP versions older than PHP 8.1
1414

1515
## [6.0.3] - 2020-12-07
1616

build/phar-autoload.php.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env php
22
<?php declare(strict_types=1);
3-
if (version_compare('8.0.0', PHP_VERSION, '>')) {
3+
if (version_compare('8.1.0', PHP_VERSION, '>')) {
44
fwrite(
55
STDERR,
66
sprintf(
7-
'This version of PHPCPD requires PHP 8.0 (or later).' . PHP_EOL .
7+
'This version of PHPCPD requires PHP 8.1 (or later).' . PHP_EOL .
88
'You are using PHP %s%s.' . PHP_EOL,
99
PHP_VERSION,
1010
defined('PHP_BINARY') ? ' (' . PHP_BINARY . ')' : ''

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
},
1616
"config": {
1717
"platform": {
18-
"php": "8.0.0"
18+
"php": "8.1.0"
1919
},
2020
"optimize-autoloader": true,
2121
"sort-packages": true
2222
},
2323
"minimum-stability": "dev",
2424
"prefer-stable": true,
2525
"require": {
26-
"php": ">=8.0",
26+
"php": ">=8.1",
2727
"ext-dom": "*",
2828
"sebastian/cli-parser": "^2.0",
2929
"sebastian/version": "^4.0",

phpcpd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
if (version_compare('8.0.0', PHP_VERSION, '>')) {
12+
if (version_compare('8.1.0', PHP_VERSION, '>')) {
1313
fwrite(
1414
STDERR,
1515
sprintf(
16-
'This version of PHPCPD requires PHP 8.0 (or later).' . PHP_EOL .
16+
'This version of PHPCPD requires PHP 8.1 (or later).' . PHP_EOL .
1717
'You are using PHP %s%s.' . PHP_EOL,
1818
PHP_VERSION,
1919
defined('PHP_BINARY') ? ' (' . PHP_BINARY . ')' : ''

0 commit comments

Comments
 (0)