{"id":51016398,"url":"https://github.com/webgriffe/hyva-coding-standard-dist","last_synced_at":"2026-06-21T11:02:07.123Z","repository":{"id":363611828,"uuid":"1260556669","full_name":"webgriffe/hyva-coding-standard-dist","owner":"webgriffe","description":"Hyva Coding Standard distribution for Webgriffe projects (no dep conflicts)","archived":false,"fork":false,"pushed_at":"2026-06-09T15:35:02.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-09T17:24:57.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"osl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webgriffe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-05T16:08:11.000Z","updated_at":"2026-06-09T15:49:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/webgriffe/hyva-coding-standard-dist","commit_stats":null,"previous_names":["webgriffe/hyva-coding-standard-dist"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/webgriffe/hyva-coding-standard-dist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fhyva-coding-standard-dist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fhyva-coding-standard-dist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fhyva-coding-standard-dist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fhyva-coding-standard-dist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webgriffe","download_url":"https://codeload.github.com/webgriffe/hyva-coding-standard-dist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webgriffe%2Fhyva-coding-standard-dist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34607126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-21T11:02:06.252Z","updated_at":"2026-06-21T11:02:07.109Z","avatar_url":"https://github.com/webgriffe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webgriffe/hyva-coding-standard-dist\n\nHyvä Themes PHP_CodeSniffer coding standard distribution for Webgriffe projects.\n\nRepackages [hyva-themes/hyva-coding-standard](https://github.com/hyva-themes/hyva-coding-standard)\nwith minimal dependencies to avoid version conflicts when installed alongside Magento.\n\n## Installation\n\n```sh\ncomposer require --dev webgriffe/hyva-coding-standard-dist\n```\n\nComposer will prompt you to allow the `dealerdirect/phpcodesniffer-composer-installer` plugin\n(one-time), or add it upfront to your project's `composer.json`:\n\n```json\n\"config\": {\n    \"allow-plugins\": {\n        \"dealerdirect/phpcodesniffer-composer-installer\": true\n    }\n}\n```\n\nThe `dealerdirect` plugin automatically registers the `HyvaThemes` and `Magento2` standards\nin phpcs on every `composer install` / `composer update`.\n\n## Usage\n\n```sh\nvendor/bin/phpcs --standard=HyvaThemes app/code/path/to/check\n```\n\n## Known issue: hardcoded `installed_paths` in post-install-cmd\n\nIf your project's `composer.json` already has a `post-install-cmd` / `post-update-cmd` script\nthat calls `phpcs --config-set installed_paths ...` directly, it runs **after** the `dealerdirect`\nplugin and overwrites the registered paths. Fix: append `vendor/webgriffe/hyva-coding-standard-dist`\nto that list:\n\n```json\n\"post-install-cmd\": [\n    \"[ -f vendor/bin/phpcs ] \u0026\u0026 vendor/bin/phpcs --config-set installed_paths vendor/magento/magento-coding-standard,...,vendor/webgriffe/hyva-coding-standard-dist || true\"\n]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgriffe%2Fhyva-coding-standard-dist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebgriffe%2Fhyva-coding-standard-dist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebgriffe%2Fhyva-coding-standard-dist/lists"}