Moodle plugins directory: Code-checker: Versions: 2.5.3 - Another dent to indent | Moodle.org
Code-checker
Code-checker 2.5.3 - Another dent to indent
Moodle Code Checker
Changes in version 2.5.3 (20160608) - Another dent to indent
- NOBUG: Add travis support (using the nice moodle-plugin-ci assistant for Moodle plugins).
- NOBUG: Upgrade PHP_CodeSniffer to 2.6.0 version. (Mark Nielsen)
- CONTRIB-5921: Exclude yui/amd and fixtures by default. (Brendan Heywood)
- CONTRIB-6206: Fixed indentation issues when mixing functions and arrays. Bundled PHP_CodeSniffer upgraded to 2.6.2 dev version.
Information
This Moodle plugin uses the Pear CodeSniffer library to check that code follows the Moodle coding guidelines, available @ .
It was created by developers at the Open University, including Sam Marshall, Tim Hunt and Jenny Gray. It is now maintained by Moodle HQ.
Available releases can be downloaded and installed from .
To install it using git, type this command in the root of your Moodle install:
git clone git://github.com/moodlehq/moodle-local_codechecker.git local/codechecker
Then add /local/codechecker to your git ignore.
Alternatively, download the zip from , unzip it into the local folder, and then rename the new folder to "codechecker".
After you have installed this local plugin, you should see a new option in the settings block:
> Site administration -> Development -> Code checker
We hope you find this tool useful. Please feel free to enhance it. Report any idea or bug @ , thanks!
IDE Integration
Eclipse:
- If if you use Eclipse for development, you might want to install the PHP CodeSniffer plugin (http://www.phpsrc.org/).
- Create a new "CodeSniffer standard" in the preferences page.
- Point it at the moodle directory inside the codechecker folder.
- Thank Michael Aherne from University of Strathclyde who worked this out!
PhpStorm
- Install the phpcs cli tool
- Open PhpStorm preferences
- Go to PHP > CodeSniffer and supply the path to the phpcs executable
- Go to Inspections > PHP > PHP Code Sniffer Validation
- In the 'coding standard' dropdown select 'custom' and press the [...] button next to the path to the coding standard. Point is at the moodle directory inside the this plugin directory.
Version information
- Version build number
- 2016060800
- Version release name
- 2.5.3 - Another dent to indent
- Can be updated from
- 2.3.0 (2014021700), 2.3.1 - San Fermín release! (2014070700), 2.3.2 - Candelaria, mojo's paradise! (2014081500), 2.5.1 - Valentinius release! (2016021400), 2.5.2 - The March begins (2016031400)
- Can be updated to
- 2.5.4 (2016093000), 2.7.0 - Boosting you! (2017052700), 2.9.2 - Selectivenesses (2019011500), 2.9.3 (2019011800), 2.9.3 (2019011800), 2.9.3 (2019011800), 2.9.3 - Selectivenesses (take #2) (2019011800), 2.9.5 - Poisson d'avril (2020040100)
- Maturity
- Stable version
- MD5 Sum
- 681dd500d714cd76fde23a60370364b7
- Supported software
- Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1
- The more recent release 2.7.2 - Barcelona awesomeness (2018070100) exists for Moodle 2.7
- The more recent release 2.7.2 - Barcelona awesomeness (2018070100) exists for Moodle 2.8
- The more recent release 2.7.2 - Barcelona awesomeness (2018070100) exists for Moodle 2.9
- The more recent release 2.7.2 - Barcelona awesomeness (2018070100) exists for Moodle 3.0
- The more recent release 2.9.3 - Selectivenesses (take #2) (2019011800) exists for Moodle 3.1
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS branch
- master
- VCS tag
- v2.5.3
Default installation instructions for plugins of the type General plugins (Local)
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder in the "local" subdirectory.
- Visit http://yoursite.com/admin to finish the installation.