{"id":19988819,"url":"https://github.com/cps-it/php-cs-fixer-config","last_synced_at":"2025-10-23T16:31:28.192Z","repository":{"id":214599570,"uuid":"736903091","full_name":"CPS-IT/php-cs-fixer-config","owner":"CPS-IT","description":"Shared PHP-CS-Fixer configuration for CPS projects","archived":false,"fork":false,"pushed_at":"2025-01-06T05:17:44.000Z","size":264,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-06T06:34:21.360Z","etag":null,"topics":["config","php-cs-fixer","ruleset"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CPS-IT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2023-12-29T07:55:52.000Z","updated_at":"2025-01-06T00:25:40.000Z","dependencies_parsed_at":"2024-01-24T13:31:13.202Z","dependency_job_id":"a9e7d234-9693-479f-a0ff-5a3b58a060c1","html_url":"https://github.com/CPS-IT/php-cs-fixer-config","commit_stats":null,"previous_names":["cps-it/php-cs-fixer-config"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CPS-IT%2Fphp-cs-fixer-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CPS-IT%2Fphp-cs-fixer-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CPS-IT%2Fphp-cs-fixer-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CPS-IT%2Fphp-cs-fixer-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CPS-IT","download_url":"https://codeload.github.com/CPS-IT/php-cs-fixer-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233600570,"owners_count":18700691,"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":["config","php-cs-fixer","ruleset"],"created_at":"2024-11-13T04:44:16.248Z","updated_at":"2025-09-19T22:31:05.109Z","avatar_url":"https://github.com/CPS-IT.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# PHP-CS-Fixer config\n\n[![Coverage](https://img.shields.io/coverallsCoverage/github/CPS-IT/php-cs-fixer-config?logo=coveralls)](https://coveralls.io/github/CPS-IT/php-cs-fixer-config)\n[![Maintainability](https://img.shields.io/codeclimate/maintainability/CPS-IT/php-cs-fixer-config?logo=codeclimate)](https://codeclimate.com/github/CPS-IT/php-cs-fixer-config/maintainability)\n[![CGL](https://img.shields.io/github/actions/workflow/status/CPS-IT/php-cs-fixer-config/cgl.yaml?label=cgl\u0026logo=github)](https://github.com/CPS-IT/php-cs-fixer-config/actions/workflows/cgl.yaml)\n[![Tests](https://img.shields.io/github/actions/workflow/status/CPS-IT/php-cs-fixer-config/tests.yaml?label=tests\u0026logo=github)](https://github.com/CPS-IT/php-cs-fixer-config/actions/workflows/tests.yaml)\n[![Supported PHP Versions](https://img.shields.io/packagist/dependency-v/cpsit/php-cs-fixer-config/php?logo=php)](https://packagist.org/packages/cpsit/php-cs-fixer-config)\n\n\u003c/div\u003e\n\nThis package contains basic [PHP-CS-Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer)\nconfiguration for use in CPS projects. All configuration options are shipped as rulesets\ntargeting different use cases.\n\n## 🔥 Installation\n\n[![Packagist](https://img.shields.io/packagist/v/cpsit/php-cs-fixer-config?label=version\u0026logo=packagist)](https://packagist.org/packages/cpsit/php-cs-fixer-config)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/cpsit/php-cs-fixer-config?color=brightgreen)](https://packagist.org/packages/cpsit/php-cs-fixer-config)\n\n```bash\ncomposer require --dev cpsit/php-cs-fixer-config\n```\n\n## ⚡ Usage\n\nConfigure PHP-CS-Fixer in your `.php-cs-fixer.php` file:\n\n```php\nuse CPSIT\\PhpCsFixerConfig;\nuse PhpCsFixer\\Config;\n\n// Create config object and configure Finder\n$config = new Config();\n$config-\u003egetFinder()-\u003ein(__DIR__);\n\n// Apply ruleset\n$ruleset = new PhpCsFixerConfig\\Rule\\DefaultRuleset();\n$ruleset-\u003eapply($config);\n\nreturn $config;\n```\n\n## 🧑‍💻 Contributing\n\nPlease have a look at [`CONTRIBUTING.md`](CONTRIBUTING.md).\n\n## ⭐ License\n\nThis project is licensed under [GNU General Public License 3.0 (or later)](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcps-it%2Fphp-cs-fixer-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcps-it%2Fphp-cs-fixer-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcps-it%2Fphp-cs-fixer-config/lists"}