-
Notifications
You must be signed in to change notification settings - Fork 26
Description
As mentioned here:
The main standards are the PSRs, and I've looked into some occasionally but am not well versed in any, and am not sure Wikimate even meets the basic coding or PHPDoc standards in all relevant aspects.
It may be worth setting up automated checks for those PSRs or other good practices. I don't know if there are tools that are commonly used/recommended for this type of task in the PHP world, so I'll just leave a few links from a cursory search here, and later we might refine/improve the options.
- OskarStark/phpstan-ga: GithubAction for PHPStan
- OskarStark/php-cs-fixer-ga: GithubAction for PHP-CS-Fixer
- chekalsky/phpcs-action: Github Action helps you check your code with PHP_CodeSniffer
I also found the Setup PHP action, which appears to be quite popular, but seems like a generic tool to set up an environment to run PHP tasks in GitHub actions. There's also the PHP Actions organization, which appears to contain multiple PHP-related GitHub Actions, but I'm not sure how it relates to the other options listed above.