Skip to content

Commit

Permalink
Merge pull request #206 from timhunt/master
Browse files Browse the repository at this point in the history
Update links to the coding style docs to the new dev docs
  • Loading branch information
stronk7 authored Oct 7, 2022
2 parents b9624b8 + 55a1ed9 commit c7cb79a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ Information
-----------

This Moodle plugin uses the [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) tool to
check that code follows the [Moodle coding style](http://docs.moodle.org/dev/Coding_style). It uses the [Moodle Coding Style](https://github.com/moodlehq/moodle-cs) 'sniffs' that check many aspects of the code, including the awesome [PHPCompatibility](https://github.com/PHPCompatibility/PHPCompatibility) ones.
check that code follows the [Moodle coding style](https://moodledev.io/general/development/policies/codingstyle).
It uses the [Moodle Coding Style](https://github.com/moodlehq/moodle-cs) 'sniffs' that check many aspects of the code, including the awesome
[PHPCompatibility](https://github.com/PHPCompatibility/PHPCompatibility) ones.

It was created by developers at the Open University, including Sam Marshall,
Tim Hunt and Jenny Gray. It is now maintained by Moodle HQ.
Expand Down Expand Up @@ -40,4 +42,4 @@ Integrations

Since version v4.0.0 this plugin shouldn't be used as source for any integration with IDEs or tools, and [Moodle Coding Style](https://github.com/moodlehq/moodle-cs) (the new source for the moodle-cs standard) should be used instead.

Please refer to the information available in that repository to know more about how to install, configure and integrate it with your development environment.
Please refer to the information available in that repository to know more about how to install, configure and integrate it with your development environment.
2 changes: 1 addition & 1 deletion locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function definition() {
$mform = $this->_form;

$a = new stdClass();
$a->link = html_writer::link('http://docs.moodle.org/dev/Coding_style',
$a->link = html_writer::link('https://moodledev.io/general/development/policies/codingstyle',
get_string('moodlecodingguidelines', 'local_codechecker'));
$a->path = html_writer::tag('tt', 'local/codechecker');
$a->excludeexample = html_writer::tag('tt', 'db, backup/*1, *lib*');
Expand Down

0 comments on commit c7cb79a

Please sign in to comment.