#
93f11d84 |
| 02-Sep-2022 |
Nicolas Grekas |
Fix GH-8932: Provide a way to get the called-scope of closures (#9299) Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22 |
|
#
e4d79ce2 |
| 23-Jul-2022 |
Máté Kocsis |
Declare ext/reflection constants in stubs (#9111) |
Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30 |
|
#
2ce2aff5 |
| 02-Jun-2022 |
Sam |
Better return types for `getBackingType` (#8687) The only backing types for Enums are int and string. The proper return type for ReflectionEnum::getBackingType() is thus null|ReflectionNamed
Better return types for `getBackingType` (#8687) The only backing types for Enums are int and string. The proper return type for ReflectionEnum::getBackingType() is thus null|ReflectionNamedType. See also https://github.com/php/doc-en/pull/1608 Closes GH-8687
show more ...
|
Revision tags: php-8.1.7RC1, php-8.0.20RC1 |
|
#
7850c103 |
| 16-May-2022 |
Máté Kocsis |
Add support for readonly classes (#7305) RFC: https://wiki.php.net/rfc/readonly_classes |
Revision tags: php-8.1.6, php-8.0.19 |
|
#
f590782b |
| 04-May-2022 |
Ollie Read
|
Add ReflectionMethod::hasPrototype method Closes GH-8487. |
#
be11bcb0 |
| 05-May-2022 |
Nicolas Grekas |
Add ReflectionFunction::isAnonymous() Closes GH-8499. |
Revision tags: php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12 |
|
#
10a2079b |
| 18-Oct-2021 |
Máté Kocsis |
Remove extra space before return type For consistency and searchability reasons |
Revision tags: php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3 |
|
#
f2ae8a33 |
| 27-Sep-2021 |
Nikita Popov |
Fix bug #81474: Make Reflection(Attribute|Enum|EnumBackedCase) non-final BetterReflection would like to extend these classes to provide adaptors. As our other Reflector classes are non-f
Fix bug #81474: Make Reflection(Attribute|Enum|EnumBackedCase) non-final BetterReflection would like to extend these classes to provide adaptors. As our other Reflector classes are non-final, I think it makes sense to make these non-final as well. Closes GH-7520.
show more ...
|
Revision tags: php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1 |
|
#
194f1f09 |
| 02-Sep-2021 |
Máté Kocsis |
Revert unintended tentative return type change I accidentally made the return type of all Reflection*::getAttributes() methods tentative, even though they have already been declared natively. |
Revision tags: php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1 |
|
#
2378f357 |
| 20-Jul-2021 |
Máté Kocsis |
Use single line phpdoc in stubs where possible |
#
27bb5735 |
| 20-Jul-2021 |
Joe Watkins |
Merge branch 'master' of github.com:php/php-src * 'master' of github.com:php/php-src: Implement readonly properties
|
#
570d9b63 |
| 20-Jul-2021 |
Joe Watkins |
Not serializable flag permeation |
Revision tags: php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1 |
|
#
6780aaa5 |
| 02-Jun-2021 |
Nikita Popov |
Implement readonly properties Add support for readonly properties, for which only a single initializing assignment from the declaring scope is allowed. RFC: https://wiki.php.net
Implement readonly properties Add support for readonly properties, for which only a single initializing assignment from the declaring scope is allowed. RFC: https://wiki.php.net/rfc/readonly_properties_v2 Closes GH-7089.
show more ...
|
#
fc0d8983 |
| 19-Jul-2021 |
Máté Kocsis |
Fix some smaller formatting inconsistencies in stubs |
#
bc39abe8 |
| 19-Jun-2021 |
Benjamin Eberlei |
Fix #80097: Have ReflectionAttribute implement Reflector and __toString Implement printing for ReflectionAttribute. Attributes aren't printed as part of reflection output for other struc
Fix #80097: Have ReflectionAttribute implement Reflector and __toString Implement printing for ReflectionAttribute. Attributes aren't printed as part of reflection output for other structures (classes etc) yet. Closes GH-6117.
show more ...
|
#
a5360e80 |
| 06-Jul-2021 |
Máté Kocsis |
Add support for final class constants RFC: https://wiki.php.net/rfc/final_class_const Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> |
#
069a9fa5 |
| 05-Jul-2021 |
George Peter Banyard |
Pure Intersection types (#6799) Implement pure intersection types RFC RFC: https://wiki.php.net/rfc/pure-intersection-types Co-authored-by: Nikita Popov <nikic@php.net>
Pure Intersection types (#6799) Implement pure intersection types RFC RFC: https://wiki.php.net/rfc/pure-intersection-types Co-authored-by: Nikita Popov <nikic@php.net> Co-authored-by: Ilija Tovilo <ilutov@php.net>
show more ...
|
#
aad0d268 |
| 25-Jun-2021 |
Joe Watkins |
Fix bug #81200 ReflectionMethod::isStatic belongs on ReflectionFunctionAbstract |
Revision tags: php-8.0.7, php-7.4.20 |
|
#
fccb7274 |
| 26-May-2021 |
Máté Kocsis |
Do not verify the signature of ReflectionEnumUnitCase::getValue() This method legally have a different return type (UnitEnum) from its parent's return type (mixed). |
Revision tags: php-8.0.7RC1 |
|
#
78ecd4a5 |
| 18-May-2021 |
Máté Kocsis |
Declare tentative return types for ext/reflection Closes GH-7011 |
#
b227a722 |
| 21-May-2021 |
Joe Watkins |
ReflectionFunctionAbstract::getClosureUsedVariables Make a distinction at compile time between bind types for static variables getStaticVariables remains unchanged
ReflectionFunctionAbstract::getClosureUsedVariables Make a distinction at compile time between bind types for static variables getStaticVariables remains unchanged Fixes #80071
show more ...
|
Revision tags: php-7.4.20RC1 |
|
#
532c60cb |
| 06-May-2021 |
Máté Kocsis |
Add support for tentative return types of internal methods RFC: https://wiki.php.net/rfc/internal_method_return_types Closses GH-6971 |
#
50b4a7ad |
| 07-May-2021 |
Nikita Popov |
Property handle unset name on ReflectionClassConstant While the typed property ensures that the value is a string, we should make sure that we handle an unset property gracefully.
Property handle unset name on ReflectionClassConstant While the typed property ensures that the value is a string, we should make sure that we handle an unset property gracefully. Do this by throwing the same error we would normally throw if you access an uninitializde typed property.
show more ...
|
Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5 |
|
#
c276c16b |
| 26-Apr-2021 |
Aaron Piotrowski |
Implement Fibers RFC: https://wiki.php.net/rfc/fibers Closes GH-6875. |
#
533a6bcb |
| 21-Apr-2021 |
Máté Kocsis |
Get rid of private final methods (#6892) |