Skip to content

[Sync-EN] Fix outdated ReflectionClass::setStaticPropertyValue visibility handling - #1726

Merged
mmalferov merged 2 commits into
php:masterfrom
lacatoire:sync-en/1725
Sep 8, 2026
Merged

[Sync-EN] Fix outdated ReflectionClass::setStaticPropertyValue visibility handling#1726
mmalferov merged 2 commits into
php:masterfrom
lacatoire:sync-en/1725

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Syncs the RU page with php/doc-en#5057.

  • refpurpose and the description no longer claim the method only sets public static properties: it sets a static property regardless of visibility.
  • The second paragraph now presents ReflectionProperty::setValue as an alternative for static properties instead of listing visibilities.
  • Changelog row: 7.4.0 becomes 7.4.9, 8.0.0, and the entry is reversed (private and protected static properties can now be set, a ReflectionException was thrown before). classname becomes exceptionname to match EN.
  • EN-Revision bumped to c74adac363c4ad18bfb648b8962663b26de3828b.

Fixes: #1725

@lacatoire
lacatoire requested a review from a team as a code owner August 31, 2026 09:24
@mmalferov
mmalferov merged commit f765b01 into php:master Sep 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Fix outdated documentation for ReflectionClass::setStaticPropertyValue visibility handling

2 participants