{"id":36982966,"url":"https://github.com/signet-connectivity/code-style","last_synced_at":"2026-01-13T22:54:44.684Z","repository":{"id":57050517,"uuid":"351050413","full_name":"signet-connectivity/code-style","owner":"signet-connectivity","description":"Signet's code style for PHP","archived":false,"fork":false,"pushed_at":"2021-08-02T10:56:55.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-19T22:22:04.223Z","etag":null,"topics":["codestyle","ecs","signet"],"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/signet-connectivity.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}},"created_at":"2021-03-24T11:14:00.000Z","updated_at":"2021-08-02T10:56:37.000Z","dependencies_parsed_at":"2022-08-23T19:10:16.464Z","dependency_job_id":null,"html_url":"https://github.com/signet-connectivity/code-style","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/signet-connectivity/code-style","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signet-connectivity%2Fcode-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signet-connectivity%2Fcode-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signet-connectivity%2Fcode-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signet-connectivity%2Fcode-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/signet-connectivity","download_url":"https://codeload.github.com/signet-connectivity/code-style/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signet-connectivity%2Fcode-style/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: 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":["codestyle","ecs","signet"],"created_at":"2026-01-13T22:54:44.572Z","updated_at":"2026-01-13T22:54:44.678Z","avatar_url":"https://github.com/signet-connectivity.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# signet/ecs\n\nAn ECS Signet codestyle package.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require signet/code-style\n```\n\n## Usage\n\nAdd a `ecs.php` file to the root of your project (if it doesn't exist) with the below contents\n\n`ecs.php`:\n```php\n\u003c?php\n\ndeclare(strict_types=1);\n\nuse Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;\nuse Symplify\\EasyCodingStandard\\ValueObject\\Option;\n\nreturn static function (ContainerConfigurator $containerConfigurator): void {\n    $containerConfigurator-\u003eimport(__DIR__ . '/vendor/signet/code-style/signet-ecs.php');\n\n    $services = $containerConfigurator-\u003eservices();\n\n    // $services-\u003eset(...);\n\n    $parameters = $containerConfigurator-\u003eparameters();\n\n    $parameters-\u003eset(Option::PATHS, [\n        __DIR__ . '/src',\n        __DIR__ . '/config',\n        __DIR__ . '/tests',\n        __DIR__ . '/ecs.php',\n    ]);\n};\n```\n\n**NOTE**:  \n`signet-ecs` applies the same fixers as the preconfigured ecs `PSR-12` set (see\n[SetList::PSR_12](https://github.com/symplify/easy-coding-standard/blob/master/src/ValueObject/Set/SetList.php#L19)).\n\n## Links\n\n[Configuration example](https://github.com/symplify/easy-coding-standard#configuration)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignet-connectivity%2Fcode-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsignet-connectivity%2Fcode-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignet-connectivity%2Fcode-style/lists"}