- Introduce
PropertyDocBlockExtractorInterface
to extract a property's doc block - Restrict access to
PhpStanExtractor
based on visibility - Add
PropertyTypeExtractorInterface::getType()
as experimental
- Make properties writable when a setter in camelCase exists, similar to the camelCase getter
- Add support for phpDocumentor and PHPStan pseudo-types
- Add PHP 8.0 promoted properties
@param
mutation support toPhpDocExtractor
- Add PHP 8.0 promoted properties
@param
mutation support toPhpStanExtractor
- Remove the
Type::getCollectionKeyType()
andType::getCollectionValueType()
methods, useType::getCollectionKeyTypes()
andType::getCollectionValueTypes()
instead - Remove the
enable_magic_call_extraction
context option inReflectionExtractor::getWriteInfo()
andReflectionExtractor::getReadInfo()
in favor ofenable_magic_methods_extraction
- Add PhpStanExtractor
- Add support for multiple types for collection keys & values
- Deprecate the
Type::getCollectionKeyType()
andType::getCollectionValueType()
methods, useType::getCollectionKeyTypes()
andType::getCollectionValueTypes()
instead
- deprecated the
enable_magic_call_extraction
context option inReflectionExtractor::getWriteInfo()
andReflectionExtractor::getReadInfo()
in favor ofenable_magic_methods_extraction
- Add support for extracting accessor and mutator via PHP Reflection
- Added the ability to extract private and protected properties and methods on
ReflectionExtractor
- Added the ability to extract property type based on its initial value
- added
PropertyInitializableExtractorInterface
to test if a property can be initialized through the constructor (implemented byReflectionExtractor
)
- Added
PropertyInfoPass