Commit 029f15f
committed
Apply PHPCS coding standards
Add declare(strict_types=1) to all files except Instantiator.php
(which needs coercive typing for dynamic method invocation with INI
data). Add typed properties, parameter types, and return types
throughout. Replace array() with [], use modern PHP 8.5 syntax
(constructor promotion, arrow functions, str_contains, ::class).
Modernize tests to PHPUnit 12 style with attributes. Add phpcs.xml.dist
with Respect coding standard. Remove dead test file
InstantiatorImplementsInvoke.php (duplicate of LazyLoadTest).1 parent 8aab283 commit 029f15f
10 files changed
Lines changed: 738 additions & 578 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments