- π«π·France andypost
This declares can go away in PHP 9.0 https://externals.io/message/112230#112233
- First commit to issue fork.
- π³πΏNew Zealand quietone
Came across this and I decided to create an MR to see the failures.
- π¦πΊAustralia mstrelan
Good idea @quetone, I had thought about doing the same. I think fixing most of π Fix strict type errors detected by phpstan Active would go a long way to getting this green. From memory there were no reported errors in core/lib/Drupal/Component, so maybe we could try limit to just that area first.
- π³πΏNew Zealand quietone
Seems I didn't do Components in the MR, so I have added that now.
- Status changed to Needs review
7 days ago 9:47am 21 April 2025 - π³πΏNew Zealand quietone
There is consensus here that this is a good idea and the standard β for adding the declaration has also been agreed to. So, the policy has been agreed to.
Does this require documentation? If so, where?
FYI, the latest MR added strict types to Components and that is failing. The MR is information only and is not needed to resolve this policy issue.