{"id":19682393,"url":"https://github.com/sublimelinter/sublimelinter-phpcs","last_synced_at":"2025-03-03T05:04:47.519Z","repository":{"id":12615427,"uuid":"15286561","full_name":"SublimeLinter/SublimeLinter-phpcs","owner":"SublimeLinter","description":"SublimeLinter plugin for PHP, using phpcs.","archived":false,"fork":false,"pushed_at":"2024-09-01T13:17:34.000Z","size":35,"stargazers_count":72,"open_issues_count":2,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-24T04:11:26.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SublimeLinter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2013-12-18T15:24:52.000Z","updated_at":"2025-02-22T12:54:44.000Z","dependencies_parsed_at":"2024-12-25T06:10:29.419Z","dependency_job_id":"84324234-889e-4ab1-8640-0ecbc75c9158","html_url":"https://github.com/SublimeLinter/SublimeLinter-phpcs","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-phpcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-phpcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-phpcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-phpcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SublimeLinter","download_url":"https://codeload.github.com/SublimeLinter/SublimeLinter-phpcs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241610964,"owners_count":19990504,"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-11T18:10:34.958Z","updated_at":"2025-03-03T05:04:47.500Z","avatar_url":"https://github.com/SublimeLinter.png","language":"Python","readme":"SublimeLinter-phpcs\n=========================\n\n[![Build Status](https://travis-ci.org/SublimeLinter/SublimeLinter-phpcs.svg?branch=master)](https://travis-ci.org/SublimeLinter/SublimeLinter-phpcs)\n\nThis linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [phpcs](https://github.com/squizlabs/PHP_CodeSniffer).\nIt will be used with files that have the \"PHP\", \"HTML\" and \"HTML5\" syntax.\n\n\n## Installation\n\nSublimeLinter must be installed in order to use this plugin. \n\nPlease use [Package Control](https://packagecontrol.io) to install the linter plugin.\n\nBefore using this plugin, ensure that `phpcs` is installed on your system, preferably somewhere in your PATH. To install `phpcs`, follow the instructions on https://github.com/squizlabs/PHP_CodeSniffer#installation. \n\n\n## Settings\n\n- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html\n- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html\n\nUse the `\"args\"` setting to configure the coding standard, and/or to display the sniff codes for each error:\n\n```json\n{\n    \"args\": [\n        \"--standard=PEAR\", // code standard\n        \"-s\"               // display sniff codes\n    ]\n}\n```\n\n### Per-project Standards\nYou can set up your project settings to use a specific standard using the following: \n\n```json\n{\n    \"settings\": {\n        \"SublimeLinter.linters.phpcs.args\": \"--standard='${folder}/phpcs.xml'\"\n    }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelinter%2Fsublimelinter-phpcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublimelinter%2Fsublimelinter-phpcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelinter%2Fsublimelinter-phpcs/lists"}