doc-en icon indicating copy to clipboard operation
doc-en copied to clipboard

Add deprecation/changelog for switch statement semicolons.

Open Crell opened this issue 4 months ago • 3 comments

I'm not sure if it makes sense to use the "deprecated" entities here, since it's just a tiny part of the syntax that's deprecated, not the whole thing. The "feature" warning seems like it would be overkill. So I just adjusted the text and added a changelog.

Crell avatar Oct 03 '25 16:10 Crell

The "feature" warning seems like it would be overkill.

I find it appropriate. This what it's for. See also: https://www.php.net/manual/en/info.configuration.php#ini.assert.active where the snippet is used for various INIs.

TimWolla avatar Oct 04 '25 09:10 TimWolla

I'm not sure what to do with the changelog here. It seems like we're going to need to redo the whole file to allow it to use a section tag? That seems... scope creepy, but also a blocker. Please advise, someone who knows this better than I do.

Crell avatar Oct 09 '25 21:10 Crell

I'm not sure what to do with the changelog here.

I'm not sure we need the changelog. I don't think this was previously done for similar pages / it was only done for functions.

TimWolla avatar Oct 09 '25 21:10 TimWolla