{"id":19722850,"url":"https://github.com/moodlehq/moodle-local_codechecker","last_synced_at":"2025-04-07T12:08:40.618Z","repository":{"id":2269170,"uuid":"3225586","full_name":"moodlehq/moodle-local_codechecker","owner":"moodlehq","description":"A Moodle local plugin providing a simple web UI to run the MoodleCS coding style checks with PHP_CodeSniffer.","archived":false,"fork":false,"pushed_at":"2024-07-05T09:16:09.000Z","size":9528,"stargazers_count":64,"open_issues_count":5,"forks_count":72,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-03-31T10:08:39.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moodlehq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-01-20T10:41:40.000Z","updated_at":"2025-01-28T08:34:26.000Z","dependencies_parsed_at":"2024-04-10T16:31:21.612Z","dependency_job_id":"6cfac06f-9db5-41b0-a088-4acec4ca9a20","html_url":"https://github.com/moodlehq/moodle-local_codechecker","commit_stats":{"total_commits":368,"total_committers":28,"mean_commits":"13.142857142857142","dds":0.2961956521739131,"last_synced_commit":"2ad193d573304cf34c81241adc2d06d49b82e67c"},"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moodlehq%2Fmoodle-local_codechecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moodlehq%2Fmoodle-local_codechecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moodlehq%2Fmoodle-local_codechecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moodlehq%2Fmoodle-local_codechecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moodlehq","download_url":"https://codeload.github.com/moodlehq/moodle-local_codechecker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648978,"owners_count":20972945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T23:18:42.526Z","updated_at":"2025-04-07T12:08:40.586Z","avatar_url":"https://github.com/moodlehq.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Moodle Code Checker\n===================\n\n[![Codechecker CI](https://github.com/moodlehq/moodle-local_codechecker/actions/workflows/ci.yml/badge.svg)](https://github.com/moodlehq/moodle-local_codechecker/actions/workflows/ci.yml)\n\nInformation\n-----------\n\nThis Moodle plugin uses the [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) tool to\ncheck that code follows the [Moodle coding style](https://moodledev.io/general/development/policies/codingstyle).\nIt uses the [Moodle Coding Style](https://github.com/moodlehq/moodle-cs) 'sniffs' that check many aspects of the code, including the awesome\n[PHPCompatibility](https://github.com/PHPCompatibility/PHPCompatibility) ones.\n\nIt was created by developers at the Open University, including Sam Marshall,\nTim Hunt and Jenny Gray. It is now maintained by Moodle HQ.\n\nAvailable releases can be downloaded and installed from\n\u003chttps://moodle.org/plugins/view.php?plugin=local_codechecker\u003e.\n\nTo install it using git, type this command in the root of your Moodle install:\n\n    git clone https://github.com/moodlehq/moodle-local_codechecker.git local/codechecker\n\nThen add /local/codechecker to your git ignore.\n\nAdditionally, remember to only use the version of PHPCS located in ``phpcs/bin/phpcs`` rather than installing PHPCS directly. Add the location of the PHPCS executable to your system path, tell PHPCS about the Moodle coding standard with ``phpcs --config-set installed_paths /path/to/moodle-local_codechecker``  and set the default coding standard to Moodle with ``phpcs --config-set default_standard moodle``.  You can now test a file (or folder) with: ``phpcs /path/to/file.php``.\n\nAlternatively, download the zip from\n\u003chttps://github.com/moodlehq/moodle-local_codechecker/zipball/main\u003e,\nunzip it into the local folder, and then rename the new folder to \"codechecker\".\n\nAfter you have installed this local plugin, you\nshould see a new option in the settings block:\n\n\u003e Site administration -\u003e Development -\u003e Code checker\n\nWe hope you find this tool useful. Feel free to enhance it! Also, you can report any idea or bug using GitHub's issues and pull requests, thanks!\n\n\nIntegrations\n------------\n\nSince 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.\n\nPlease refer to the information available in that repository to know more about how to install, configure and integrate it with your development environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoodlehq%2Fmoodle-local_codechecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoodlehq%2Fmoodle-local_codechecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoodlehq%2Fmoodle-local_codechecker/lists"}