shirobrak / action-phpcs

Run phpcs with reviewdog
MIT License
6 stars 2 forks source link

Allow the installation of phpcs on modern versions of composer #20

Closed peterrus closed 1 year ago

peterrus commented 1 year ago

Hi @shirobrak

As you can see in https://github.com/PHPCSStandards/composer-installer#usage you need to explicitly allow the running of plugin hook code in modern versions of composer. This PR does two things:

Thanks for your work!

peterrus commented 1 year ago

@shirobrak fixed the merge conflicts, and merging this should also fix the failing check in #21

Thanks :)

peterrus commented 1 year ago

Currently the action breaks again because the php:alpine base image has upgraded to php8.1. I have decided to move to an entirely different solution for phpcs: https://github.com/marketplace/actions/setup-php-action#tools-with-checkstyle-support