File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
tests/Sniffs/NamingConventions Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 18
18
- name : Install PHP
19
19
uses : shivammathur/setup-php@v2
20
20
with :
21
- php-version : 8.2
21
+ php-version : 8.3
22
22
coverage : none
23
23
extensions : json
24
24
tools : cs2pr
41
41
- name : Install PHP
42
42
uses : shivammathur/setup-php@v2
43
43
with :
44
- php-version : 8.2
44
+ php-version : 8.3
45
45
coverage : none
46
46
extensions : json
47
47
tools : cs2pr
@@ -59,14 +59,13 @@ jobs:
59
59
strategy :
60
60
matrix :
61
61
php-version :
62
- - " 8.2"
63
62
- " 8.3"
64
63
- " 8.4"
65
64
dependencies :
66
65
- " highest"
67
66
include :
68
67
- dependencies : " lowest"
69
- php-version : " 8.2 "
68
+ php-version : " 8.3 "
70
69
name : PHP ${{ matrix.php-version }} Test ${{ matrix.dependencies }}
71
70
72
71
steps :
Original file line number Diff line number Diff line change 14
14
}
15
15
},
16
16
"require" : {
17
- "php" : " ^8.2 " ,
17
+ "php" : " ^8.3 " ,
18
18
"doctrine/coding-standard" : " ^12.0" ,
19
19
"slevomat/coding-standard" : " ^8.15" ,
20
20
"squizlabs/php_codesniffer" : " ^3.11.2"
Original file line number Diff line number Diff line change 12
12
use function json_encode ;
13
13
14
14
use const JSON_THROW_ON_ERROR ;
15
- use const PHP_VERSION_ID ;
16
15
17
16
#[CoversClass(ValidConstantNameSniff::class)]
18
17
class ValidConstantNameSniffTest extends TestCase
@@ -45,10 +44,6 @@ public function testErrors(): void
45
44
46
45
public function testErrorsConstantType (): void
47
46
{
48
- if (PHP_VERSION_ID < 80300 ) {
49
- self ::markTestSkipped ('Test requires PHP 8.3 ' );
50
- }
51
-
52
47
$ file = self ::checkFile (__DIR__ . '/data/ValidConstantNameWithTypeTest.inc ' );
53
48
54
49
$ errorTypesPerLine = [
You can’t perform that action at this time.
0 commit comments