2.0.1
Fixed
-
Ignore the
IncorrectWhitespaceBeforeDeclare
error emitted by theSlevomatCodingStandard.TypeHints.DeclareStrictTypes
sniff.In my personal projects, I usually have 2 newlines before the
declare
statement. 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 thedeclare
statement. Since I like my tests to follow the same coding standard as the rest of my source, it is easiest to ignore this error.