Releases: php-static-analysis/rector-rule
Releases · php-static-analysis/rector-rule
0.4.0
0.3.1
Add Assert, AssertIfFalse and AssertIfTrue attributes
0.3.0
Update for PHPStan 1.11
0.2.2
Add DefineType and ImportType attributes
0.2.1
Add Immutable attribute and the possibility to exclude some annotations
0.2.0
Implement basic set of attributes:
Attribute | PHPDoc Annotations |
---|---|
Deprecated | @deprecated |
Impure | @impure |
Internal | @internal |
IsReadOnly | @readonly |
Method | @method |
Mixin | @mixin |
Param | @param |
ParamOut | @param-out |
Property | @property @var |
PropertyRead | @property-read |
PropertyWrite | @property-write |
Pure | @pure |
RequireExtends | @require-extends |
RequireImplements | @require-implements |
Returns | @return |
SelfOut | @self-out @this-out |
Template | @template |
TemplateContravariant | @template-contravariant |
TemplateCovariant | @template-covariant |
TemplateExtends | @extends @template-extends |
TemplateImplements | @implements @template-implements |
TemplateUse | @use @template-use |
Throws | @throws |
Type | @var @return |
0.1.16
Add Throws attribute
0.1.15
Add Pure and Impure attributes
0.1.14
Add RequireExtends and RequireImplements attributes
0.1.13
Add SelfOut attribute