{"id":39938391,"url":"https://github.com/mediebruket/wp-coding-standards","last_synced_at":"2026-01-18T19:02:39.868Z","repository":{"id":62526586,"uuid":"317500912","full_name":"mediebruket/wp-coding-standards","owner":"mediebruket","description":"Mediebruket Coding Standards for PHP_CodeSniffer","archived":false,"fork":false,"pushed_at":"2021-03-21T09:41:04.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T19:10:12.255Z","etag":null,"topics":["codesniffer-rules","phpcs","wordpress"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/mediebruket/wp-coding-standards","language":null,"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/mediebruket.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-01T10:11:51.000Z","updated_at":"2021-03-21T09:39:59.000Z","dependencies_parsed_at":"2022-11-02T14:30:38.102Z","dependency_job_id":null,"html_url":"https://github.com/mediebruket/wp-coding-standards","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mediebruket/wp-coding-standards","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediebruket%2Fwp-coding-standards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediebruket%2Fwp-coding-standards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediebruket%2Fwp-coding-standards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediebruket%2Fwp-coding-standards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediebruket","download_url":"https://codeload.github.com/mediebruket/wp-coding-standards/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediebruket%2Fwp-coding-standards/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28548947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T19:02:06.365Z","status":"ssl_error","status_checked_at":"2026-01-18T19:01:46.239Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["codesniffer-rules","phpcs","wordpress"],"created_at":"2026-01-18T19:02:39.772Z","updated_at":"2026-01-18T19:02:39.863Z","avatar_url":"https://github.com/mediebruket.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mediebruket WordPress Coding Standards\n\nWe've transitioned to use [PSR-12 coding style](https://www.php-fig.org/psr/psr-12/) for our own Wordpress projects.\n\n## Installation\n\n```bash\ncomposer require mediebruket/wp-coding-standards --dev\n```\n\nCopy and modify the sample configuration file.\n\n```bash\ncp vendor/mediebruket/wp-coding-standards/phpcs.xml.dist.sample phpcs.xml.dist\n```\n\n## Usage\n\nCheck manually by running PHPCS from command line and specify the coding standard:\n\n```bash\nvendor/bin/phpcs --standard=\"Mediebruket\" \u003cpath\u003e\n```\n\n### PHPStorm Setup\n\nAlternatively, the coding standard can be enabled in Phpstorm.\n\nPhpstorm needs to know where PHP_CodeSniffer is located. Navigate to **Languages \u0026 Frameworks \u003e PHP \u003e Quality tools \u003e PHP_CodeSniffer** and\nspecify the path the `phpcs` executable in your `vendor` directory by clicking **…** . Additionally, you can add the\npath to `phpcbf` as well.\n\nThen you'll have to specify the coding standard. Navigate to **Editor \u003e Inspections \u003e PHP \u003e Quality tools \u003e PHP_CodeSniffer validation \u003e Options \u003e Coding standard**.\nChose the preferred coding standard from the options section.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediebruket%2Fwp-coding-standards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediebruket%2Fwp-coding-standards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediebruket%2Fwp-coding-standards/lists"}