File tree Expand file tree Collapse file tree 4 files changed +16
-19
lines changed Expand file tree Collapse file tree 4 files changed +16
-19
lines changed Original file line number Diff line number Diff line change 14
14
strategy :
15
15
matrix :
16
16
php :
17
- - ' 8.0 '
17
+ - ' 8.3 '
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
21
21
- name : Setup PHP Action
22
22
uses : shivammathur/setup-php@v2
26
26
extensions : ' pdo_sqlite, gd'
27
27
tools : cs2pr
28
28
29
- - uses : ramsey/composer-install@v2
29
+ - uses : ramsey/composer-install@v3
30
30
with :
31
31
dependency-versions : highest
32
32
@@ -42,13 +42,10 @@ jobs:
42
42
fail-fast : false
43
43
matrix :
44
44
php :
45
- - ' 7.4'
46
- - ' 8.0'
47
- - ' 8.1'
48
- - ' 8.2'
45
+ - ' 8.3'
49
46
50
47
steps :
51
- - uses : actions/checkout@v3
48
+ - uses : actions/checkout@v4
52
49
53
50
- name : Setup PHP Action
54
51
uses : shivammathur/setup-php@v2
58
55
extensions : pdo_sqlite, gd
59
56
tools : cs2pr
60
57
61
- - uses : ramsey/composer-install@v2
58
+ - uses : ramsey/composer-install@v3
62
59
with :
63
60
dependency-versions : highest
64
61
Original file line number Diff line number Diff line change 9
9
"minimum-stability" : " dev" ,
10
10
"prefer-stable" : true ,
11
11
"require" : {
12
- "php" : " ^7.4 || ^8.0" ,
13
- "ext-json" : " *" ,
12
+ "php" : " >=8.3" ,
14
13
"ext-dom" : " *" ,
14
+ "ext-json" : " *" ,
15
15
"ibexa/test-core" : " ~5.0.x-dev" ,
16
16
"justinrainbow/json-schema" : " ^5.2" ,
17
- "symfony/browser-kit" : " ^5 .4" ,
18
- "symfony/mime" : " ^5 .4" ,
19
- "symfony/proxy-manager-bridge" : " ^5 .4" ,
20
- "symfony/translation" : " ^5 .4" ,
21
- "symfony/validator" : " ^5 .4"
17
+ "symfony/browser-kit" : " ^6 .4" ,
18
+ "symfony/mime" : " ^6 .4" ,
19
+ "symfony/proxy-manager-bridge" : " ^6 .4" ,
20
+ "symfony/translation" : " ^6 .4" ,
21
+ "symfony/validator" : " ^6 .4"
22
22
},
23
23
"require-dev" : {
24
- "ibexa/code-style" : " ^1.1 " ,
24
+ "ibexa/code-style" : " ~2.0.0 " ,
25
25
"ibexa/core" : " ~5.0.x-dev" ,
26
26
"ibexa/doctrine-schema" : " ~5.0.x-dev" ,
27
27
"phpstan/phpstan" : " ^1.2" ,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ private function getUser(): UserWrapped
70
70
$ apiUser = $ userService ->loadUserByLogin ('admin ' );
71
71
$ symfonyUser = $ this ->createMock (UserInterface::class);
72
72
$ symfonyUser ->method ('getRoles ' )->willReturn (['ROLE_USER ' ]);
73
- $ symfonyUser ->method ('getUsername ' )->willReturn ('admin ' );
73
+ $ symfonyUser ->method ('getUserIdentifier ' )->willReturn ('admin ' );
74
74
75
75
return new UserWrapped ($ symfonyUser , $ apiUser );
76
76
}
Original file line number Diff line number Diff line change 18
18
final class EndpointRequestDefinitionTest extends TestCase
19
19
{
20
20
/**
21
- * @return iterable<string, array{null| string, 'xml'|'json'}>
21
+ * @return iterable<string, array{string|null , 'xml'|'json'}>
22
22
*/
23
23
public function getDataForTestExtractFormatFromAcceptHeader (): iterable
24
24
{
You can’t perform that action at this time.
0 commit comments