Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project is simply a way to package up and distribute the Moodle Coding Standard which is defined in the following project: moodle-local_codechecker

This project does not attempt to do anything else. If there are problems with the standard, then the problems should be addressed in the moodle-local_codechecker project. Once the problem is fixed, it can be synced from moodle-local_codechecker into this project.

Latest Stable Version Total Downloads License

Install

Just add it to your project's composer.json file (--dev is optional based on your needs):

composer require --dev blackboard-open-source/moodle-coding-standard

Usage

The following paths may change based on how things are installed, but basically you are looking for the path to the CodeSniffer command and the path to the moodle directory of this project:

vendor/bin/phpcs --standard=vendor/blackboard-open-source/moodle-coding-standard/moodle /path/to/moodle/plugin

Credits

All praise should go to the contributors of moodle-local_codechecker.

License

This project is licensed under the GNU GPL v3 or later. See the LICENSE file for details.

About

[DEPRECATED] Moodle CodeSniffer Standards

Resources

Contributing

Stars

2 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages