Commit 0200298
committed
minor #279 PimpleTest: Only call setAccessible on PHP < 8.1 (reedy)
This PR was merged into the main branch.
Discussion
----------
PimpleTest: Only call setAccessible on PHP < 8.1
https://www.php.net/manual/en/reflectionproperty.setaccessible.php
> Note: As of PHP 8.1.0, calling this method has no effect; all properties are accessible by default.
and
> This function has been DEPRECATED as of PHP 8.5.0. Relying on this function is highly discouraged.
Commits
-------
86c553f PimpleTest: Only call setAccessible on PHP < 8.11 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
282 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
283 | 287 | | |
284 | 288 | | |
285 | 289 | | |
| |||
0 commit comments