Skip to content

Add linters or other code checkers #137

@waldyrious

Description

@waldyrious

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.

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions