2.5 KiB
2.5 KiB
CHANGELOG
7.3
- Add support for
non-positive-int,non-negative-intandnon-zero-intPHPStan types toPhpStanExtractor - Add
PropertyDescriptionExtractorInterfacetoPhpStanExtractor - Deprecate the
Typeclass, useSymfony\Component\TypeInfo\Typeclass fromsymfony/type-infoinstead - Deprecate the
PropertyTypeExtractorInterface::getTypes()method, usePropertyTypeExtractorInterface::getType()instead - Deprecate the
ConstructorArgumentTypeExtractorInterface::getTypesFromConstructor()method, useConstructorArgumentTypeExtractorInterface::getTypeFromConstructor()instead
7.1
- Introduce
PropertyDocBlockExtractorInterfaceto extract a property's doc block - Restrict access to
PhpStanExtractorbased on visibility - Add
PropertyTypeExtractorInterface::getType()as experimental
6.4
- Make properties writable when a setter in camelCase exists, similar to the camelCase getter
6.1
- Add support for phpDocumentor and PHPStan pseudo-types
- Add PHP 8.0 promoted properties
@parammutation support toPhpDocExtractor - Add PHP 8.0 promoted properties
@parammutation support toPhpStanExtractor
6.0
- Remove the
Type::getCollectionKeyType()andType::getCollectionValueType()methods, useType::getCollectionKeyTypes()andType::getCollectionValueTypes()instead - Remove the
enable_magic_call_extractioncontext option inReflectionExtractor::getWriteInfo()andReflectionExtractor::getReadInfo()in favor ofenable_magic_methods_extraction
5.4
- Add PhpStanExtractor
5.3
- Add support for multiple types for collection keys & values
- Deprecate the
Type::getCollectionKeyType()andType::getCollectionValueType()methods, useType::getCollectionKeyTypes()andType::getCollectionValueTypes()instead
5.2.0
- deprecated the
enable_magic_call_extractioncontext option inReflectionExtractor::getWriteInfo()andReflectionExtractor::getReadInfo()in favor ofenable_magic_methods_extraction
5.1.0
- Add support for extracting accessor and mutator via PHP Reflection
4.3.0
- 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
4.2.0
- added
PropertyInitializableExtractorInterfaceto test if a property can be initialized through the constructor (implemented byReflectionExtractor)
3.3.0
- Added
PropertyInfoPass