2.0.1
Fixed
-
Ignore the
IncorrectWhitespaceBeforeDeclareerror emitted by theSlevomatCodingStandard.TypeHints.DeclareStrictTypessniff.In my personal projects, I usually have 2 newlines before the
declarestatement. One before the file header comment and one after. However, in tests, I have no file header comment, so there is only 1 newline before thedeclarestatement. Since I like my tests to follow the same coding standard as the rest of my source, it is easiest to ignore this error.