Releases: webimpress/coding-standard
coding-standard 1.0.3
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#15
PHP\DisallowFqn
- fixes importing FQN -
#16
WhiteSpace\ScopeIndent
- fixes code fixer for the case when boolean operator is at the end of the line -
#17 fixes recognising types in
@method
PHPDoc tag. Fixes the following sniffs:Namespaces\UnusedUseStatement
- imported classes/interfaces are not removed when used within the tag,PHP\CorrectClassNameCase
- fixes caps in class/interface names used within the tag,PHP\DisallowFqn
- imports FQN used within the tag.
-
#18
Commenting\DocComment
- fixes requiring content straight after doc-block - allows empty line when next content is another doc-block -
#19
Commenting\DocComment
- fixes issue with doc-block after colon (for example in switch statement) - empty line is no longer required before doc-block in that case -
#20
Functions\ReturnType
- fixes false-positive error when function may return$this
-
#21 fixes regular expression to check class name (type). Fixes the following sniffs:
Commenting\TagWithType
- types in doc-block comments,Functions\Param
- param typehint and type within@param
tag,Functions\ReturnType
- return type declaration and type within@return
tag.
-
#22 fixes recognising parameter types and return type declaration with PHPDocs tags. Affects the following sniffs:
Functions\Param
- param typehint and type within@param
tag,Functions\ReturnType
- return type declaration and type within@return
tag.
-
#23
Functions\ReturnType
- fixes recognising yoda comparison in return statement and type of returned value -
#24 fixes error in fixer when recognised type was invalid. Affects the following sniffs:
PHP\CorrectClassNameCase
PHP\DisallowFqn
-
#25 fixes type suggestions, allows
self
andparent
to be used as specification for complex types (likeobject
or class/interface) -
#26
Commenting\DocComment
fixes indents detection before closing brackets in doc-block comments -
#27
Commenting\TagWithType
fixes ordering types in PHPDoc tags -
#28
WhiteSpace\ScopeIndent
fixes false-positive
coding-standard 1.0.2
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #14
Formatting\StringClassReference
- fixes regular expression to check if string is valid FQCN
coding-standard 1.0.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#5
Methods\LineAfterSniff
- fixes adding empty line after method when next content is doc-block -
#6
Commenting\Placement
- fixes false-positive when space was required before comment in next line after PHP open tag -
#7
Commenting\DocComment
- fixes false-positive when new line was required before doc-block -
#8
Formatting\StringClassReference
- fixes checking if string is a valid class name before check if class/interface/trait exists -
#9
PHP\DisallowFqn
- fixes conflict withNamespaces\UnusedUseStatement
when newly added import was deleted straight away -
#10
PHP\DisallowFqn
- fixes issue when backslash was removed from the beginning of the class name but there was no space before -
#11
Arrays\Format
- fixes issue with doc-block in arrays -
#12
Formatting\RedundantParentheses
- fixes false-positive for invokable classes treated as single expression -
#13
Namespaces\UnusedUseStatement
- fixes recognising classes in doc-block annotations
coding-standard 1.0.0
Initial release.
Added
- Everything.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.