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

[ENHANCEMENT] Static analysers/linters for code consistency and unit testing #965

Open
rixvet opened this issue Aug 23, 2023 · 0 comments · May be fixed by #966
Open

[ENHANCEMENT] Static analysers/linters for code consistency and unit testing #965

rixvet opened this issue Aug 23, 2023 · 0 comments · May be fixed by #966

Comments

@rixvet
Copy link
Collaborator

rixvet commented Aug 23, 2023

$ sudo apt install composer php-tokenizer
$ composer require --dev "squizlabs/php_codesniffer=*"
$ ./vendor/bin/phpcs

 $ composer require --dev phpstan/phpstan
 ./vendor/bin/phpstan analyse src

#963 for example was found using this tooling. Would be an good addition to CI testing.

@rixvet rixvet linked a pull request Aug 23, 2023 that will close this issue
@rixvet rixvet changed the title [ENHANCEMENT] Static analysers/links for code consistency and unit testing [ENHANCEMENT] Static analysers/linters for code consistency and unit testing Aug 23, 2023
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 a pull request may close this issue.

1 participant