Máté Kocsis
ff7eeb11a7
Synchronize final class changes ( #5068 )
2026-01-02 14:51:56 +01:00
Mikhail Alferov
2466135731
isiterable.xml Make the example executable ( #4904 )
2025-10-13 12:37:29 +01:00
Mikhail Alferov
eb557099ed
isinstance.xml Make the example workable and semantic ( #4903 )
2025-10-13 12:37:11 +01:00
Tim Düsterhus
ce98b568f8
Add &warn.deprecated.function-*; to all deprecated functions
2025-10-04 16:28:55 +02:00
Tim Düsterhus
30eb91e639
Update deprecation information in versions.xml
2025-10-04 16:21:06 +02:00
Tim Düsterhus
42d5fb01e0
Update function attributes
...
Generated with:
build/gen_stub.php --replace-methodsynopses **.stub.php ../phpdoc/en/
And then manually picked the changes.
2025-10-04 16:04:02 +02:00
Narkunan
84f2560907
Update doc for reflection class is methods ( #4877 )
...
* Updated doc for innamespace return value
* Updated doc for isabstarct return value
* Updated doc for isanonymous return value
* Updated doc for isfinal return value
* Updated doc for isInstance return value
* Updated doc for isinstantiable return value
2025-10-03 09:37:36 -05:00
Derick Rethans
1bcc40f813
Fixed #4800 : Check examples in the 'random' section of the manual
2025-08-04 16:40:42 +01:00
Tim Düsterhus
b5f0495b9e
ReflectionParameter: Add missing deprecated attribute to versions.xml
2025-07-27 11:49:03 +02:00
Mikhail Alferov
983b98c1a6
[skip-revcheck] gettarget.xml Remove extra period ( #4627 )
2025-04-24 15:37:30 +02:00
Jakub Vrana
d368a4c8c4
ReflectionAttribute: Link Attribute constants ( fix #659 )
2025-04-19 01:26:40 +02:00
Jakub Vrana
e62098163a
Use PHP version instead of invalid $Revision$
2025-04-15 16:19:41 +02:00
Luffy
b7b1d4b562
Fix missing propertyhooktype version info ( #4603 )
2025-04-14 13:17:44 +08:00
Daniil Fajnberg
54c9db669d
Fix buggy code examples for ReflectionParameter::getAttributes ( #4549 )
...
- Fix calls to non-existent `getParameter` method of `ReflectionFunction`.
- Add missing `Red` attribute class definition implementing `Color`.
2025-04-02 21:13:44 -05:00
Saki Takamachi
0cc604f2db
Fixed id for enum autolinking ( #4569 )
2025-03-31 11:27:58 +09:00
Gina Peter Banyard
d8c71db13e
Fix build
...
Broke the entity in f112cc1ec6
2025-03-06 13:53:42 +00:00
Gina Peter Banyard
f112cc1ec6
Fix some markup issues from 06313c3bb1
...
Also some few drive-by fixes of versions.xml
2025-03-06 13:38:24 +00:00
philip
c4aabaa0b9
Clarifies the following:
...
* ReflectionClass::setStaticPropertyValue() can only set public static properties.
* ReflectionProperty::setValue() can set public, private, and protected properties.
* ReflectionClass::setStaticPropertyValue() now throws a fatal error when trying to
set private or protected properties; previously (before 7.4) it threw a ReflectionException.
Also updated examples and text accordingly.
This closes https://github.com/php/doc-en/issues/2987
2025-02-28 19:41:15 -08:00
philip
06313c3bb1
Added or updated the changelog section for functions containing this entity:
...
warn.deprecated.function-7-4-0.removed-8-0-0
2025-02-28 10:18:24 -08:00
Luffy
bb7c286b13
Fix missing PropertyHookType link ( #4486 )
2025-02-23 04:59:48 +00:00
Mikhail Alferov
79c0572a57
ReflectionProperty Fix typo, CS nits ( #4481 )
...
* getrawvalue.xml Fix typo, and add a newlines for more readable output
* getsettabletype.xml Cs nits
* hashook.xml Remove the extra dot
2025-02-22 19:29:43 +00:00
Mikhail Alferov
366a10b130
gethook.xml Remove the extra dot ( #4480 )
2025-02-22 08:15:25 -08:00
ADmad
49ef347a18
Change print to echo
2025-02-22 14:34:36 +00:00
ADmad
a16ad380e5
Add output for examples of ReflectionProperty methods.
2025-02-22 14:34:36 +00:00
Larry Garfield
e0e74c05cb
Hooks reflection ( #4110 )
...
* Add reflection stubs for property hooks
* Document getHook().
* Document hasHook()
* Document getSettableType()
* Document getHooks()
* Document hasHooks()
* Document isFinal()
* Document isPrivateSet() and isProtectedSet()
* Document setRawValue()
* Document getRawValue()
* Document isVirtual()
* Document PropertyHookType.
* Document isAbstract()
---------
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2025-02-21 19:16:44 +00:00
DanielEScherzer
aaa628268c
ReflectionClassConstant::getType(): replace "parameter" reference (#4465 )
2025-02-19 13:45:44 -08:00
Tim Düsterhus
f8fc16dc33
reflection: Add ReflectionProperty::isDynamic() to versions.xml
...
see php/doc-en#4292
2025-02-09 16:48:31 +01:00
Alexandre Daubois
969db61a5f
Add ReflectionProperty::isDynamic() ( #4292 )
2024-12-21 00:49:29 +00:00
Kamil Tekiela
44b94f5105
[skip-revcheck] Fix grammar errors
2024-12-09 15:08:29 +00:00
Alexandre Daubois
51fc0eaf8e
[PHP 8.4] Add class constant types for Reflection ( #4244 )
2024-12-04 16:13:31 +00:00
Gina Peter Banyard
c477749c82
PHP 8.4: Add ReflectionConstant stubs ( #4040 )
...
Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com >
2024-12-03 16:16:27 +00:00
Máté Kocsis
9b1673cf11
Mark deprecated functions with the #[\Deprecated] attribute ( #4161 )
2024-11-27 20:38:45 +01:00
Mikhail Alferov
1870b4c6aa
ReflectionFunctionAbstract::getClosureCalledClass() Improve description + CS ( #4074 )
...
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com >
2024-11-16 16:52:46 +00:00
Gina Peter Banyard
348789adde
Document ReflectionFunctionAbstract::getClosureCalledClass() ( #4043 )
...
And improve documentation for related methods.
Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com >
2024-11-13 16:58:38 +00:00
Gina Peter Banyard
812143d1de
PHP-8.4: ReflectionGenerator::getFunction() can now be called after the generator is closed
2024-11-12 23:09:52 +00:00
Gina Peter Banyard
6d25b8ee66
PHP-8.4: Changelogs for __toString methods that return doc comment
2024-11-12 23:09:52 +00:00
Gina Peter Banyard
8660511c74
Document ReflectionClassConstant::(get|has)Type()
2024-11-12 17:35:37 +00:00
Gina Peter Banyard
13b858f444
Document ReflectionParameter::isPromoted()
2024-11-12 17:35:37 +00:00
Gina Peter Banyard
790f63af65
PHP 8.4: Document reflection changes ( #4037 )
2024-11-12 14:36:24 +00:00
Tim Düsterhus
7de265dc47
Document ReflectionClassConstant::isDeprecated() ( #3895 )
2024-11-12 14:25:41 +00:00
Mikhail Alferov
2d8559c6c0
Fix typos in Lazy Object documentation ( #4016 )
2024-11-09 14:35:59 +00:00
Arnaud Le Blanc
c0fa5077c8
Document lazy objects ( #3975 )
2024-11-04 14:37:18 +00:00
Gina Peter Banyard
fe42297da7
Reflection: Remove useless global constant page ( #3903 )
2024-10-23 16:56:29 +01:00
Tim Düsterhus
84883b6030
Document ReflectionGenerator::isClosed() ( #3896 )
2024-10-22 15:27:50 +01:00
Tim Düsterhus
e890e4a7f9
Document #[\Deprecated] attribute ( #3894 )
2024-10-22 15:12:44 +01:00
Larry Garfield
16f66c05a4
Asymmetric Visibility and Final properties ( #3828 )
...
* Document asymmetric property visibility.
* Document the change in implicit visibility for readonly.
* Document final properties.
* Note that isPublic/Protected/Private is only in reference to the main visibility.
* Use more note tags.
* Remove unnecessary para tags.
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2024-10-15 19:49:15 +01:00
Mikhail Alferov
e50e797467
Remove extra space characters (GH-3737)
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2024-09-12 23:37:42 +02:00
Tim MacDonald
8859c8b96c
Standardise casting spacing ( #2717 )
2024-09-11 14:29:15 +01:00
haszi
48ce43fe79
Remove empty resources pages ( #3545 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-26 02:17:29 +01:00
haszi
765b2d6eec
Remove empty configuration pages ( #3538 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-09 22:24:55 +01:00