Skip to content

1.1.1

Compare
Choose a tag to compare
@ondrejmirtes ondrejmirtes released this 11 Aug 08:13
· 2121 commits to master since this release
  • UnusedUsesSniff - when a class implemented multiple interfaces with names listed in uses, the 2nd and next interfaces' use statements were marked as unused. (#55)
  • ReferenceUsedNamesOnlySniff - \Exception, \Throwable and PHP Errors referenced in files without namespace now report ReferenceViaFullyQualifiedNameWithoutNamespace code - consistent behaviour with other names. (f4c1d43)
  • FullyQualifiedExceptionsSniff & ReferenceUsedNamesOnlySniff - added configuration property ignoredNames. It should be used for type names that look like an exception (e. g. end with Exception or Error) but aren't. One example directly from PHP is LibXMLError. The sniffs will not enforce references to these types to be fully qualified. (#52 and #57)