Ref T13588. "each()" has been a bad idea for a long time, and was formally deprecated in PHP 7.2 and removed in PHP 8.0.
Catch use of "each()" in lint and reject it.
Differential D21741
Add a lint rule forbidding use of "each()" epriestley on Dec 9 2021, 9:55 PM. Authored by Tags None Referenced Files
Subscribers
Details
Ref T13588. "each()" has been a bad idea for a long time, and was formally deprecated in PHP 7.2 and removed in PHP 8.0. Catch use of "each()" in lint and reject it. Added and ran unit tests.
Diff Detail
Event TimelineComment Actions
The lint emitted says 7.2 (which appears to be correct), a minor inconsistency in the revision description |