Skip to content

6.0.0

Compare
Choose a tag to compare
@Ocramius Ocramius released this 30 Sep 17:33
· 713 commits to 6.44.x since this release
6.0.0
392fc73

Release Notes for 6.0.0

Backwards incompatible release (major)

Notable breakages:

[BC] CHANGED: Roave\BetterReflection\Reflection\ReflectionUnionType#getTypes() now returns a non-empty-list<ReflectionNamedType|ReflectionIntersectionType>, where it previously returned list<ReflectionNamedType>
[BC] CHANGED: Roave\BetterReflection\SourceLocator\Type\StringSourceLocator::__construct() parameter type changed from string to a non-contravariant non-empty-stringallowsNull
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\ClassLoaderMethod\Exception\SignatureCheckFailed has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\ClassLoaderMethod\FileCacheLoader has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\ClassLoaderMethod\LoaderMethodInterface has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\ClassLoaderMethod\EvalLoader has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\Exception\FailedToLoadClass has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\Exception\ClassAlreadyRegistered has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\Exception\ClassAlreadyLoaded has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\ClassPrinter\ClassPrinterInterface has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\ClassPrinter\PhpParserPrinter has been deleted
[BC] REMOVED: Class Roave\BetterReflection\Util\Autoload\ClassLoader has been deleted
[BC] REMOVED: Method Roave\BetterReflection\Reflection\Adapter\ReflectionProperty#isAccessible() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionEnum#__construct() was removed
[BC] CHANGED: Method __construct() of class Roave\BetterReflection\Reflection\ReflectionEnum visibility reduced from protected to private
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionClass#__construct() was removed
[BC] CHANGED: Roave\BetterReflection\Reflection\ReflectionClass#__construct() was marked "@internal"
[BC] REMOVED: Class Roave\BetterReflection\SourceLocator\Exception\EmptyPhpSourceCode has been deleted
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$reflector was removed
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$owner was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionUnionType#__construct() was removed
[BC] CHANGED: Property Roave\BetterReflection\Reflection\ReflectionType#$reflector visibility reduced from protected to private
[BC] CHANGED: Property Roave\BetterReflection\Reflection\ReflectionType#$owner visibility reduced from protected to private
[BC] CHANGED: Roave\BetterReflection\Reflection\ReflectionUnionType#__construct() was marked "@internal"
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$reflector was removed
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$owner was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionNamedType#__construct() was removed
[BC] CHANGED: Property Roave\BetterReflection\Reflection\ReflectionType#$reflector visibility reduced from protected to private
[BC] CHANGED: Property Roave\BetterReflection\Reflection\ReflectionType#$owner visibility reduced from protected to private
[BC] CHANGED: Roave\BetterReflection\Reflection\ReflectionNamedType#__construct() was marked "@internal"
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$reflector was removed
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$owner was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionType#__construct() was removed
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$reflector was removed
[BC] REMOVED: Property Roave\BetterReflection\Reflection\ReflectionType#$owner was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionIntersectionType#__construct() was removed
[BC] CHANGED: Property Roave\BetterReflection\Reflection\ReflectionType#$reflector visibility reduced from protected to private
[BC] CHANGED: Property Roave\BetterReflection\Reflection\ReflectionType#$owner visibility reduced from protected to private
[BC] CHANGED: Roave\BetterReflection\Reflection\ReflectionIntersectionType#__construct() was marked "@internal"
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionEnum#__construct() was removed
[BC] CHANGED: Method __construct() of class Roave\BetterReflection\Reflection\ReflectionEnum visibility reduced from protected to private
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionClass#__construct() was removed
[BC] CHANGED: Roave\BetterReflection\Reflection\ReflectionClass#__construct() was marked "@internal"
[BC] CHANGED: The parameter $betterReflectionType of Roave\BetterReflection\Reflection\Adapter\ReflectionType::fromTypeOrNull() changed from Roave\BetterReflection\Reflection\ReflectionNamedType|Roave\BetterReflection\Reflection\ReflectionUnionType|Roave\BetterReflection\Reflection\ReflectionIntersectionType|null to Roave\BetterReflection\Reflection\ReflectionUnionType|Roave\BetterReflection\Reflection\ReflectionNamedType|Roave\BetterReflection\Reflection\ReflectionIntersectionType|null
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionParameter#isArray() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionParameter#isCallable() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionParameter#getClass() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionClass#getDeclaringNamespaceAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionObject#getDeclaringNamespaceAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionClass#getDeclaringNamespaceAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionParameter#getAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionEnumCase#getAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionConstant#getAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionProperty#getAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionProperty#getPositionInAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionProperty#__clone() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionClassConstant#getAst() was removed
[BC] REMOVED: Method Roave\BetterReflection\Reflection\ReflectionClassConstant#getPositionInAst() was removed
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionFunctionAbstract#getNamespaceName() changed from string to the non-covariant string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionFunctionAbstract#getNamespaceName() changed from string to string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionClass#getNamespaceName() changed from string to the non-covariant string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionClass#getNamespaceName() changed from string to string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionObject#getNamespaceName() changed from string to the non-covariant string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionObject#getNamespaceName() changed from string to string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionMethod#getNamespaceName() changed from string to the non-covariant string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionMethod#getNamespaceName() changed from string to string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionConstant#getNamespaceName() changed from string to the non-covariant string|null
[BC] CHANGED: The return type of Roave\BetterReflection\Reflection\ReflectionConstant#getNamespaceName() change

6.0.0

  • Total issues resolved: 7
  • Total pull requests resolved: 49
  • Total contributors: 6

enhancement

BC break,enhancement

bug

bug,reflection compatibility

blocked,enhancement

dependencies,php

BC break