moodlehq / moodle-local_codechecker

A Moodle local plugin providing a simple web UI to run the MoodleCS coding style checks with PHP_CodeSniffer.
63 stars 72 forks source link

Move to composer based deps #221

Closed stronk7 closed 11 months ago

stronk7 commented 11 months ago

We are going to keep them updated with composer. Way easier for a plugin that is going to fade out, now that we have the phpcs standard into its own (moodle-cs) repo.

Also, raise the min supported PHP version to PHP 7.4 (Moodle 3.8.3 and up), this will enable us to update code in various places, in this plugin and others.

Once this is approved... it will be released as version 5.0.0 and Moodle requirements will be raised to 3.8.3 (the very first version of Moodle supporting PHP 7.4). The 4.x series won't get more updates.

Installation instructions and thirdpartylibs.xml have been updated to explain and point to the new places where dependencies are installed.

Note that there is an extra commit (the last one), that is required because the tests in some dependencies do conflict with local_codechecker own ones. We will need to apply that manual removal of tests until this PR is released in moodle-cs:

https://github.com/moodlehq/moodle-cs/pull/69

stronk7 commented 11 months ago

Self merging, so we can test everything in place and apply for some changes in some other tools.