Skip to content

Commit 38aaa6c

Browse files
jnoordsijbarryvdh
andauthored
Fix tests deprecation triggered on PHP 8.5 (#39)
* Fix tests deprecation triggered on PHP 8.5 * Refactor CorsServiceTest to remove PHP version check Remove deprecated reflection accessibility check for PHP 8.1. --------- Co-authored-by: Barry vd. Heuvel <[email protected]>
1 parent 3befa87 commit 38aaa6c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/CorsServiceTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ private function getOptionsFromService(CorsService $service): array
290290

291291
$options = [];
292292
foreach ($properties as $property) {
293-
$property->setAccessible(true);
294293
$options[$property->getName()] = $property->getValue($service);
295294
}
296295

0 commit comments

Comments
 (0)