[Sync-En] Document clone(), PHP 8.5 BC changes and attribute signatures - #1320
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Translation of php/doc-en#5854 (commit 09c6504), php/doc-en#5839 (commit 2594e1b), php/doc-en#5837 (commit 4fc9f9e) and php/doc-en#5631 (commit 8dc5bef). They share cloning.xml, attribute.xml and deprecated.xml, so the EN-Revision check requires them in one PR. Most of the 77 files are the one-line #[\Deprecated]/#[\Attribute] signature updates, and the attribute pages also get the empty xi:fallback removal from php/doc-en#5699. EN-Revision updated.
The other content: clone() with property overrides, the new #[\Deprecated] targets, hrtime() on macOS, and the PHP 8.5 notes on traits binding, final static return types, loose object/bool comparison, float to int warnings, list(), tick handlers and ArrayObject/ArrayIterator.
Along the way, fixed mistranslations and grammar errors in several of these files (for example override.xml said the attribute can only be used on __construct(), the strftime %U row said Monday instead of Sunday, and the traits precedence paragraph said the opposite of the English). The DelayedTargetValidation page listed in #1308 as untranslated is left for a separate PR.
Fixes: #1301
Fixes: #1305
Fixes: #1306
Fixes: #1308