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
haszi
605553e228
Remove empty requirements pages ( #3464 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-07-07 14:34:34 +01:00
haszi
57d1b0df36
Remove empty installation pages ( #3462 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-06-21 02:38:44 +01:00
Gina Peter Banyard
4d17b7b494
[skip-revcheck] Convert class markup to be compatible with DocBook 5.2
...
Closes GH-3415
2024-06-14 17:04:53 +01:00
Máté Kocsis
db22a7cfcb
Sync some methodsynopses with stubs ( #3356 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2024-04-28 21:42:56 +01:00
Fernando Wobeto
c5402f6655
Fix word in ReflectionConstant ( #3352 )
2024-04-27 22:34:24 +02:00
Mikhail Alferov
c1aba02c47
Fixed function argument in example ( #3267 )
...
In strict mode: Fatal error: Uncaught TypeError: var_export(): Argument #2 ($return) must be of type bool, int given
2024-03-17 18:04:12 +00:00
Niels Dossche
a02e0daac6
Fix GH-3110: Is ReflectionType::__toString deprecated or not? ( #3254 )
2024-03-11 16:35:18 +00:00
Yoshinari Takaoka
dfdaa9a77c
[PHP 8.3] Return type of ReflectionClass::getStaticProperties() is no longer nullable. ( #2920 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2023-11-14 23:46:34 +00:00
Sergey Panteleev
5b57360795
[PHP 8.3] ReflectionMethod::createFromMethodName ( #2927 )
2023-11-07 21:41:23 +00:00
Andrew Lyons
0a8a502764
[PHP 8.3]: The ReflectionProperty::setValue $object is now required. ( #2923 )
2023-11-07 16:48:39 +00:00
Kyle
c20aa1db4e
Document ReflectionProperty::setValue PHP 8.3 deprecation ( #2594 )
2023-10-06 17:31:26 +01:00
Máté Kocsis
14767af0f0
Use new class synopsis markup ( #2611 )
...
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
Alexandre Daubois
d52f1e6908
Fix GH-2421: Improve ReflectionClass example ( #2612 )
2023-07-31 14:21:47 +01:00
Máté Kocsis
9eb4a46bba
Use new class synopsis markup for interfaces ( #2620 )
2023-07-29 05:55:01 +01:00
Máté Kocsis
96a8379cd8
Render interfaces according to the new PhD format ( #2556 )
...
According to https://github.com/php/phd/pull/75
2023-07-04 20:35:33 +01:00
Tim Starling
ca840c9a6d
Reflection: fix some "undocumented" methods, and some other edits for consistency ( #2516 )
...
* If a method has a refpurpose, description, parameters and return
values, it's documented, there's no need for the warning box.
* Add description where there was none. It is usually very similar
to the refpurpose.
* Document ReflectionZendExtension::__construct(), and update
ReflectionExtension::__construct() for consistency.
* In ReflectionFunction::__toString()
* Remove some references to deprecated export() methods.
* Add example for ReflectionParameter::__toString().
2023-06-16 02:14:23 +01:00
iggyvolz
9f89eee340
Constructor promotion does not promote default values
...
Closes GH-1621.
2023-01-18 15:42:53 +01:00
Ollie Read
fadab82e11
Missing getAttributes documentation
...
Closes GH-1567.
2023-01-16 16:56:52 +01:00
Sebastian Hädrich
3e305328b8
Typo: singular
...
Closes GH-2195.
2023-01-16 16:17:40 +01:00
othercorey
fad0ca0175
Remove ReflectionFunction::getClosure() null return description
...
Closes GH-2183.
2023-01-15 13:21:40 +01:00
Máté Kocsis
4658c8e6ce
Document the __toString() and export() related changes in ext/reflection ( #2170 )
2023-01-12 15:41:16 +01:00
Christoph M. Becker
6d29533483
Fix GH-2156: stdClass is spelled in different cases: StdClass / stdclass
...
Closes GH-2157.
2023-01-10 11:56:39 +01:00
othercorey
35c3bd55d6
Removed invalid return null description
...
Closes GH-2153.
2023-01-08 13:21:35 +01:00
othercorey
1ddcca66af
Remove invalid null return description
...
Closes GH-2152.
2023-01-08 13:19:14 +01:00
Yoshinari Takaoka
519d86be33
fixed refpurpose of ReflectionFunctionAbstract::isStatic
2023-01-03 10:26:05 +09:00
Christoph M. Becker
170218df33
Fix GH-2136: ReflectionFunction has isStatic, but missing in docs
2023-01-02 17:35:15 +01:00
Máté Kocsis
3fc56d76de
List inherited constructors on the class synopsis pages ( #2090 )
2022-12-28 15:51:40 +01:00
Christoph M. Becker
071a588364
Fix xpointer expressions
...
When removing the `not()` operator, some closing parentheses have been
overlooked, which resulted in broken xpointer expressions.
2022-12-13 12:13:33 +01:00
Máté Kocsis
75b45dfe65
Reflector should use the new Stringable role attribute value
2022-12-13 10:58:53 +01:00
Máté Kocsis
7f6236d76d
Add role attribute for ReflectionClass::isReadOnly
2022-12-11 22:06:28 +01:00
Máté Kocsis
ec2fe9a592
Update ext/reflection role attributes ( #1979 )
2022-12-11 20:53:33 +01:00
HypeMC
46359240e6
Add invokeArgs Changelog
...
Closes GH-2052.
2022-12-11 12:19:30 +01:00
Yoshinari Takaoka
a4f0588234
added ReflectionClass::isReadOnly documentation. ( #2006 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-11-14 22:53:43 +09:00
Máté Kocsis
1a4777d80c
Document ReflectionClass::IS_READONLY ( #2001 )
...
Co-authored-by: George Peter Banyard <girgias@php.net >
2022-11-14 11:31:44 +01:00
Máté Kocsis
f7d5242bad
Update the return type of ReflectionEnum::getBackingType() ( #1960 )
2022-11-07 08:53:55 +01:00
Máté Kocsis
54d585c09b
Sync ext/reflection class constants with stubs - part 1 ( #1944 )
2022-11-04 19:13:52 +01:00
Máté Kocsis
d6aee4a500
Sync a few manual pages with the stubs ( #1936 )
2022-11-04 13:30:04 +01:00
Christoph M. Becker
7c30fe36eb
Fix GH-1919: Doc comment must start with /** followed by whitespace
...
While we're at it, we also fix the indentation of the example to match
common PHP formatting rules.
2022-10-27 18:14:28 +02:00
魔王卷子
e23a1375a5
Fix example
...
Closes GH-1910.
2022-10-23 16:23:14 +02:00
Sergey Panteleev
ee2e49869d
[PHP 8.2] Add ReflectionFunction::isAnonymous and ReflectionMethod::hasPrototype methods ( #1742 )
...
Co-authored-by: George Peter Banyard <girgias@php.net >
2022-09-26 10:54:40 +01:00
Christoph M. Becker
12dce4f0cc
ReflectionProperty::(g|s)etValue() no longer needs ::setAccessible()
...
This integrates user note 127516.
2022-09-07 12:15:39 +02:00
Bob Magic II
38e6b75eee
Fix ReflectionAttribute::isrepeated() description
...
The method does not return true if the attribute is flagged repeatable, only if it really has been repeated.
Closes GH-1772.
2022-08-26 14:08:57 +02:00
Christoph M. Becker
4695130681
Fix GH-1709: ReflectionClassConstant::isEnumCase() is not documented
2022-07-29 17:36:25 +02:00
Sergey Panteleev
38f5bb6cc0
[PHP 8.1] Add get/hasTentativeReturnType functions ( #1615 )
...
Closes #1614
Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com >
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-06-06 16:07:48 +03:00
Ollie Read
8d2b545eef
Add missing documentation for the ReflectionClass::getAttributes method
...
Closes GH-1539.
2022-05-03 13:08:20 +02:00