Commit 1cdd470
authored
upgrade Engine block to php 8.5 (#1962)
* Upgrade to PHP 8.5 and Node 24
- Rename Dockerfile-php82 → Dockerfile-php85, use php85-apache2-node24 base image
- Rename docker-compose-php82.yml → docker-compose-php85.yml
- Update Dockerfile.prod to php85-apache2
- Update docker-compose-tag-release.yml to php85-apache2-node24
- Bump composer.json PHP constraint to ^8.5, run composer update
- Run yarn upgrade for Node 24 compatibility
- Update GitHub Actions matrix and PROD_PHP to php85
Fixes #1847
* Fix PHP 8.5 implicit nullable parameter deprecations
Apply ExplicitNullableParamTypeRector across src/, library/ and tests/
to replace implicit nullable params (Foo $x = null) with explicit
nullable types (?Foo $x = null), fixing the PHP 8.5 deprecation that
was crashing the PHPUnit bootstrap.
794 PHPUnit tests passing on PHP 8.5 after this change.
* Fix remaining PHP 8.5 deprecations breaking Behat in CI
- Bindings.php: replace null array key with empty string
- NameIdResolver.php: cast spId/idpId to string before session access
- XmlToArray.php: remove xml_parser_free() deprecated since PHP 8.5
All 277 Behat scenarios now pass.
* Patch fix1 parent 432b332 commit 1cdd470
66 files changed
Lines changed: 641 additions & 545 deletions
File tree
- .github/workflows
- docker
- ci
- library/EngineBlock
- Application/Bootstrapper
- Arp
- Attributes/Manipulator
- Corto
- Exception
- Filter/Command/Exception
- Module
- Bindings
- Services
- XmlToArray
- Database
- Saml2
- View
- X509
- patches
- src/OpenConext
- EngineBlockBundle
- Controller
- Http
- Cookies
- Exception
- Security/Http/EntryPoint
- Twig/Extensions/Extension
- EngineBlockFunctionalTestingBundle
- Features/Context
- Mock
- Saml2/Compat
- EngineBlock
- Http/Exception
- Logger
- Metadata
- Entity
- MetadataRepository
- Filter
- X509
- tests/unit/OpenConext/EngineBlock/Metadata
- theme
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | | - | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
| |||
0 commit comments