Closed hdcore closed 1 year ago
Thanks! Looks like the method was renamed in this commit
It looks you've added the old variable name "newlinesCountBeforeDeclare" instead of the current one "linesCountBeforeDeclare". https://github.com/slevomat/coding-standard/blob/master/SlevomatCodingStandard/Sniffs/TypeHints/DeclareStrictTypesSniff.php
Removing the default for a non-existing property newlinesCountBetweenOpenTagAndDeclare in DeclareStrictTypesSniff (https://github.com/slevomat/coding-standard/blob/master/SlevomatCodingStandard/Sniffs/TypeHints/DeclareStrictTypesSniff.php) that gives an deprecation notice in PHP 8.2.