Better Reflection v3.0.0 Release Notes
Release Date: 2018-05-26 // almost 6 years ago-
๐ This release improves the performance and reliability of the library, which is now
๐ fully working with PHP 7.2 and newernikic/php-parser
releases.Some BC breaks had to be performed:
- ๐ 389: Throw
ReflectionException
when a property is not found thanks to @muglug - ๐ป 391: Adapter method
ReflectionClass#getProperty()
throw an exception when a property doesn't exist thanks to @kukulich - ๐ 415: Improved
ReflectionType
API so that a target reflection class can directly be retrieved, removed existing named constructor thanks to @Ocramius
Total issues resolved: 23
- ๐ 381: rename
$myMethod
to$myParameter
as expected bygetParameter('myParameter')
thanks to @tobemedia - ๐ป [382: TYPO\ Minimal grammar correction in Exception message thanks to @afoeder
- ๐ 389: Throw
ReflectionException
when a property is not found thanks to @muglug - ๐ป 391: Adapter method
ReflectionClass#getProperty()
throw an exception when a property doesn't exist thanks to @kukulich - ๐ 392: Disallow build failures on PHP 7.2 thanks to @kukulich
- โก๏ธ 393: Updated to
doctrine/coding-standard
2.0 thanks to @kukulich - ๐ 394: Fix issues found by static analysis thanks to @muglug
- โก๏ธ 395: Updated to
doctrine/coding-standard
2.1 thanks to @kukulich - โก๏ธ 400: Updated PHPUnit and PHPStan dependencies thanks to @kukulich
- ๐ 403: Use HTTPS instead of HTTP when referencing external documentation thanks to @carusogabriel
- ๐ 404: Account for case insensitivity thanks to @theofidry
- โ๏ธ 405: Corrected typos in variable names and docblocks thanks to @ntzm
- ๐ 406: Remove useless
final
keyword from theprivate
methodReflectionFunctionAbstract#loadStaticParser()
thanks to @ntzm - โก๏ธ 410: Updated to
nikic/PHP-Parser
4.x thanks to @kukulich - ๐ 411:
ReflectionClass#isInstantiable()
should reportfalse
forprivate
constructors thanks to @UFOMelkor - ๐ 412:
ReflectionClass::isInstantiable()
now reportsfalse
in case of inaccessible constructors thanks to @kukulich - ๐ 415: Improved
ReflectionType
API so that a target reflection class can directly be retrieved, removed existing named constructor thanks to @Ocramius - โก๏ธ 418: Updated to
doctrine/coding-standard
4.0 thanks to @kukulich - ๐ 420: Tidied docs and simply removed weasel words thanks to @GeeH
- ๐ 421: PHP 7.2 build is failing thanks to @asgrim
- โฌ๏ธ 422: Corrected build failures caused by
ext/date-time
upgrades in PHP 7.2 thanks to @kukulich - ๐ 423: Add
vimeo/psalm
to the build and fixed detected static analysis issues that were detected by it thanks to @muglug - ๐ 424: Fixed build failure caused by incorrectly formatted inline IDE hints thanks to @kukulich
- ๐ 389: Throw