This is a slightly modified version of COPS 1.1.3 available from https://github.com/seblucas/cops that runs on PHP 8.2
Changes compared to the original include:
1.2.3 Add fixes for PHP 8.2
1.2.2 Update fetch.php to lower memory consumption
Merge commit 'refs/pull/518/head' of https://github.com/seblucas/cops - see seblucas#518 from @allandanton
1.2.1 Add phpstan baseline + fixes
1.2.0 Migration to PHP 8.x
Note: the cops-1.2.3b.zip file here contains the complete vendor/ directory. If you have php composer available, you can download the smaller source.zip file -or clone the master branch of this repository- and run "composer install" yourself.
$ composer install --no-dev -o
That will:
- composer install: (re-)install all the needed run packages,
- --no-dev: remove the development packages (if any), and
- -o: update & optimize the autoload files again.
The original cops-1.2.3.zip package here contained the wrong autoload files as reported by @dunxd and it has been removed.