Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: make it compatible with phpcodesniffer-composer-installer #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EHER
Copy link

@EHER EHER commented Sep 19, 2023

By changing the type on composer.json we allow the Totara code standard to be required via composer:

composer require --dev totara/codesniffer=dev-master

To have it working I also submitted the repository to Packegist (I hope you don't mind).

The Packegist page can be found here: https://packagist.org/packages/totara/codesniffer

For testing purposes, I also registered my fork on Packegist so we can run:

composer require --dev eher/totara-code-sniffer=dev-master

and check it with:

vendor/bin/phpcs -i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant