{"id":20244265,"url":"https://github.com/protonmail/php-coding-standard","last_synced_at":"2025-04-10T20:43:48.628Z","repository":{"id":45306787,"uuid":"151482082","full_name":"ProtonMail/php-coding-standard","owner":"ProtonMail","description":"ProtonLabs Coding Standard for PHP_CodeSniffer (extending PER coding style)","archived":false,"fork":false,"pushed_at":"2023-10-27T08:34:21.000Z","size":61,"stargazers_count":7,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T10:53:55.957Z","etag":null,"topics":["coding-standards","coding-style","php-codesniffer","psr-12"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/ProtonMail.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}},"created_at":"2018-10-03T21:21:49.000Z","updated_at":"2023-10-26T14:39:45.000Z","dependencies_parsed_at":"2023-01-28T13:02:17.746Z","dependency_job_id":"7d75bcf4-08ca-4081-a3d9-29af8897bddf","html_url":"https://github.com/ProtonMail/php-coding-standard","commit_stats":{"total_commits":31,"total_committers":6,"mean_commits":5.166666666666667,"dds":"0.32258064516129037","last_synced_commit":"582d97ce74fde85de42d09b5b2cfa0252489c9fd"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fphp-coding-standard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fphp-coding-standard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fphp-coding-standard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProtonMail%2Fphp-coding-standard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProtonMail","download_url":"https://codeload.github.com/ProtonMail/php-coding-standard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248294123,"owners_count":21079788,"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":["coding-standards","coding-style","php-codesniffer","psr-12"],"created_at":"2024-11-14T09:13:49.432Z","updated_at":"2025-04-10T20:43:48.600Z","avatar_url":"https://github.com/ProtonMail.png","language":"PHP","readme":"# Proton PHP Coding Standards\n\n![PHP from Packagist](https://img.shields.io/packagist/php-v/protonlabs/php-coding-standard.svg?style=flat-square)\n![Packagist Version](https://img.shields.io/packagist/v/protonlabs/php-coding-standard.svg?style=flat-square)\n\n## Installation \u0026 Usage\n\nInstall the package with composer\n\n```sh\ncomposer req protonlabs/php-coding-standard --dev\n```\n\nTo use it in your phpcs xml, add a rule pointing to the ruleset.xml\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cruleset name=\"ProtonLabs PHP CodeSniffer Standard\"\u003e\n    \u003c!-- Proton Coding Standard – https://github.com/ProtonMail/php-coding-standard --\u003e\n    \u003crule ref=\"vendor/protonlabs/php-coding-standard/Proton/ruleset.xml\"\u003e\n        \u003c!-- sniffs to exclude --\u003e\n        \u003c!-- \u003cexclude name=\"SlevomatCodingStandard.PHP.UselessParentheses\"/\u003e --\u003e\n    \u003c/rule\u003e\n\n    \u003cexclude-pattern\u003e*/vendor/*\u003c/exclude-pattern\u003e\n\u003c/ruleset\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotonmail%2Fphp-coding-standard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotonmail%2Fphp-coding-standard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotonmail%2Fphp-coding-standard/lists"}