Skip to content

Commit d7210d8

Browse files
committed
.github/workflows/ci.yml: lint and test against PHP 8.5.4
1 parent 8fcd5ca commit d7210d8

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: ["8.4"]
12+
php: ["8.5.4"]
1313
go: ["1.25"]
1414
steps:
1515
- name: Checkout
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
os: [ubuntu-latest]
50-
php: ["8.4"]
50+
php: ["8.5.4"]
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -69,7 +69,7 @@ jobs:
6969
strategy:
7070
matrix:
7171
os: [ubuntu-latest]
72-
php: ["8.4"]
72+
php: ["8.5.4"]
7373
steps:
7474
- name: Checkout
7575
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -91,7 +91,7 @@ jobs:
9191
strategy:
9292
matrix:
9393
os: [ubuntu-latest]
94-
php: ["8.4"]
94+
php: ["8.5.4"]
9595
steps:
9696
- name: Checkout
9797
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

tests/Indexer/testdata/golden/src/ClassA.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function __construct(?int $p) { $this->z1 = $p; }
193193
1 => $this->a1,
194194
// ^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassA#$a1.
195195
PHP_MAJOR_VERSION => $this->a1?->b1,
196-
// ^^^^^^^^^^^^^^^^^ reference scip-php composer php 8.4.19 PHP_MAJOR_VERSION.
196+
// ^^^^^^^^^^^^^^^^^ reference scip-php composer php 8.5.4 PHP_MAJOR_VERSION.
197197
// ^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassA#$a1.
198198
// ^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassB#$b1.
199199
})->b2;

tests/Indexer/testdata/golden/src/ClassF.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace TestData;
66

77
use function strlen;
8-
// ^^^^^^ reference scip-php composer php 8.4.19 strlen().
8+
// ^^^^^^ reference scip-php composer php 8.5.4 strlen().
99

1010
/** @method ClassA m1(int $p1, $p2, bool $p3) */
1111
// ^^ definition scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassF#m1().
@@ -50,7 +50,7 @@ public function f1(): int
5050
{
5151
return $this->f1 + 42 + strlen('ABC');
5252
// ^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassF#$f1.
53-
// ^^^^^^ reference scip-php composer php 8.4.19 strlen().
53+
// ^^^^^^ reference scip-php composer php 8.5.4 strlen().
5454
}
5555

5656
public static function f2(): ClassA

tests/Indexer/testdata/golden/src/ClassH.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
namespace TestData
66
{
77
use Exception;
8-
// ^^^^^^^^^ reference scip-php composer php 8.4.19 Exception#
8+
// ^^^^^^^^^ reference scip-php composer php 8.5.4 Exception#
99

1010
final class ClassH extends Exception
1111
// ^^^^^^ definition scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassH#
1212
// documentation
1313
// > ```php
1414
// > final class ClassH extends Exception
1515
// > ```
16-
// ^^^^^^^^^ reference scip-php composer php 8.4.19 Exception#
16+
// ^^^^^^^^^ reference scip-php composer php 8.5.4 Exception#
1717
{
1818

1919
public function __construct()
@@ -24,8 +24,8 @@ public function __construct()
2424
// > ```
2525
{
2626
parent::__construct();
27-
// ^^^^^^ reference scip-php composer php 8.4.19 Exception#
28-
// ^^^^^^^^^^^ reference scip-php composer php 8.4.19 Exception#__construct().
27+
// ^^^^^^ reference scip-php composer php 8.5.4 Exception#
28+
// ^^^^^^^^^^^ reference scip-php composer php 8.5.4 Exception#__construct().
2929
}
3030

3131
public function h1(): int
@@ -40,7 +40,7 @@ public function h1(): int
4040
// ^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassF#f2().
4141
// ^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassA#a2().
4242
return $this->getCode() + fun2()->a2() * $x;
43-
// ^^^^^^^ reference scip-php composer php 8.4.19 Exception#getCode().
43+
// ^^^^^^^ reference scip-php composer php 8.5.4 Exception#getCode().
4444
// ^^^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 fun2().
4545
// ^^ reference scip-php composer davidrjenni/scip-php-test 2879a47ba00225b1d0cf31ebe8b9fc7f6cd28be5 TestData/ClassA#a2().
4646
}

tests/Indexer/testdata/golden/src/TraitE.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function e3(): int
6767
{
6868
if (true) {
6969
return 23 - count([0]);
70-
// ^^^^^ reference scip-php composer php 8.4.19 count().
70+
// ^^^^^ reference scip-php composer php 8.5.4 count().
7171
}
7272
if (false) {
7373
return 42;

0 commit comments

Comments
 (0)