cakephp-codesniffer icon indicating copy to clipboard operation
cakephp-codesniffer copied to clipboard

Update for PHP 8.1+

Open dereuromark opened this issue 2 years ago • 4 comments

First stab at https://github.com/cakephp/cakephp-codesniffer/issues/368

It will also require test harness to be fixed up for 8.1+

Declaration of PHP_CodeSniffer\Tests\TestSuite::run(?PHPUnit\Framework\TestResult $result = null) must be compatible with PHPUnit\Framework\TestSuite::run(?PHPUnit\Framework\TestResult $result = null): PHPUnit\Framework\TestResult

As well as (follow-ups?):

  • Move tests into tests/ with proper autoload-dev instead of part of autoload

dereuromark avatar Dec 27 '22 21:12 dereuromark