This repository was archived by the owner on Jan 10, 2023. It is now read-only.
File tree 5 files changed +8
-9
lines changed 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 42
42
strategy :
43
43
matrix :
44
44
php-version :
45
- - " 8.0"
46
45
- " 8.1"
47
46
48
47
steps :
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes in PHPCPD are documented in this file using the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
4
4
5
- ## [ 7.0.0] - 2021 -MM-DD
5
+ ## [ 7.0.0] - 2022 -MM-DD
6
6
7
7
### Added
8
8
9
9
* [ #199 ] ( https://github.com/sebastianbergmann/phpcpd/pull/199 ) : Suffix Tree-based algorithm for code clone detection
10
10
11
11
### Removed
12
12
13
- * Removed support for PHP versions older than PHP 8.0
13
+ * Removed support for PHP versions older than PHP 8.1
14
14
15
15
## [ 6.0.3] - 2020-12-07
16
16
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env php
2
2
<?php declare (strict_types=1 );
3
- if (version_compare ('8.0 .0 ' , PHP_VERSION , '> ' )) {
3
+ if (version_compare ('8.1 .0 ' , PHP_VERSION , '> ' )) {
4
4
fwrite (
5
5
STDERR ,
6
6
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 .
8
8
'You are using PHP %s%s. ' . PHP_EOL ,
9
9
PHP_VERSION ,
10
10
defined ('PHP_BINARY ' ) ? ' ( ' . PHP_BINARY . ') ' : ''
Original file line number Diff line number Diff line change 15
15
},
16
16
"config" : {
17
17
"platform" : {
18
- "php" : " 8.0 .0"
18
+ "php" : " 8.1 .0"
19
19
},
20
20
"optimize-autoloader" : true ,
21
21
"sort-packages" : true
22
22
},
23
23
"minimum-stability" : " dev" ,
24
24
"prefer-stable" : true ,
25
25
"require" : {
26
- "php" : " >=8.0 " ,
26
+ "php" : " >=8.1 " ,
27
27
"ext-dom" : " *" ,
28
28
"sebastian/cli-parser" : " ^2.0" ,
29
29
"sebastian/version" : " ^4.0" ,
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- if (version_compare ('8.0 .0 ' , PHP_VERSION , '> ' )) {
12
+ if (version_compare ('8.1 .0 ' , PHP_VERSION , '> ' )) {
13
13
fwrite (
14
14
STDERR ,
15
15
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 .
17
17
'You are using PHP %s%s. ' . PHP_EOL ,
18
18
PHP_VERSION ,
19
19
defined ('PHP_BINARY ' ) ? ' ( ' . PHP_BINARY . ') ' : ''
You can’t perform that action at this time.
0 commit comments