Skip to content

2.0.1

Compare
Choose a tag to compare
@ramsey ramsey released this 01 Jul 01:49
· 99 commits to main since this release
2.0.1
c0d3cd8

Fixed

  • Ignore the IncorrectWhitespaceBeforeDeclare error emitted by the SlevomatCodingStandard.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 the declare 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.