Skip to content

Commit 33a4211

Browse files
authored
[8.x] PHP 8.5 Compatibility (#1181)
* [8.x] PHP 8.5 Compatibility Signed-off-by: Mior Muhammad Zaki <[email protected]> * update deps Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> --------- Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 69eca50 commit 33a4211

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.github/workflows/browser-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
php: [8.1, 8.2, 8.3, 8.4]
2222
laravel: [10, 11, 12]
2323
phpunit: [10.5, 11, 12]
24+
include:
25+
- php: 8.5
26+
laravel: 12
27+
phpunit: 12
2428
exclude:
2529
- php: 8.1
2630
laravel: 11

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
php: [8.1, 8.2, 8.3, 8.4]
2222
laravel: [10, 11, 12]
2323
phpunit: [10.5, 11, 12]
24+
include:
25+
- php: 8.5
26+
laravel: 12
27+
phpunit: 12
2428
exclude:
2529
- php: 8.1
2630
laravel: 11

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"require-dev": {
3030
"laravel/framework": "^10.0|^11.0|^12.0",
3131
"mockery/mockery": "^1.6",
32-
"orchestra/testbench-core": "^8.19|^9.0|^10.0",
32+
"orchestra/testbench-core": "^8.19|^9.17|^10.8",
3333
"phpstan/phpstan": "^1.10",
3434
"phpunit/phpunit": "^10.1|^11.0|^12.0.1",
3535
"psy/psysh": "^0.11.12|^0.12",
@@ -56,6 +56,9 @@
5656
}
5757
},
5858
"config": {
59+
"audit": {
60+
"block-insecure": false
61+
},
5962
"sort-packages": true
6063
},
6164
"scripts": {

tests/Unit/ElementResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function test_find_by_id_with_colon()
158158

159159
$class = new ReflectionClass($resolver);
160160
$method = $class->getMethod('findById');
161-
$method->setAccessible(true);
161+
162162
$result = $method->invoke($resolver, '#frmLogin:strCustomerLogin_userID');
163163

164164
$this->assertSame('foo', $result);

0 commit comments

Comments
 (0)