{"id":16676156,"url":"https://github.com/novusvetus/action-php_codesniffer","last_synced_at":"2025-06-30T22:06:03.177Z","repository":{"id":36975867,"uuid":"401135806","full_name":"Novusvetus/action-php_codesniffer","owner":"Novusvetus","description":"GitHub PHP_CodeSniffer action. This workflow check the PHP, CSS and Javascript files for the wanted coding standards.","archived":false,"fork":false,"pushed_at":"2025-06-30T05:07:42.000Z","size":3176,"stargazers_count":11,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T22:04:43.530Z","etag":null,"topics":["codechecker","codequality","codereview","codesniffer","css","github","github-actions","hacktoberfest","javascript","marketplace","marketplace-released","php","php7","php8","phpcodesniffer","workflow","workflows"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Novusvetus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["novusvetus"],"ko_fi":"novusvetus","custom":["https://www.paypal.me/marcelru"]}},"created_at":"2021-08-29T20:26:43.000Z","updated_at":"2025-05-21T06:22:40.000Z","dependencies_parsed_at":"2023-10-15T14:30:31.649Z","dependency_job_id":"dbf5c97b-1e43-4e03-8b8d-da2f45192497","html_url":"https://github.com/Novusvetus/action-php_codesniffer","commit_stats":{"total_commits":118,"total_committers":2,"mean_commits":59.0,"dds":"0.025423728813559365","last_synced_commit":"0957cb5d5dfcf218d168423cccc95a2b1b05442c"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/Novusvetus/action-php_codesniffer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novusvetus%2Faction-php_codesniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novusvetus%2Faction-php_codesniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novusvetus%2Faction-php_codesniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novusvetus%2Faction-php_codesniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Novusvetus","download_url":"https://codeload.github.com/Novusvetus/action-php_codesniffer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novusvetus%2Faction-php_codesniffer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262857280,"owners_count":23375492,"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":["codechecker","codequality","codereview","codesniffer","css","github","github-actions","hacktoberfest","javascript","marketplace","marketplace-released","php","php7","php8","phpcodesniffer","workflow","workflows"],"created_at":"2024-10-12T13:09:27.708Z","updated_at":"2025-06-30T22:06:03.104Z","avatar_url":"https://github.com/Novusvetus.png","language":"TypeScript","funding_links":["https://github.com/sponsors/novusvetus","https://ko-fi.com/novusvetus","https://www.paypal.me/marcelru"],"categories":[],"sub_categories":[],"readme":"# GitHub Action to run PHP_CodeSniffer\n\n\n## Overview\n\nThis action runs [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).\n\n\n## Usage\n\nAdd a file like this to `.github/workflows/phpcs.yml`:\n\n```yml\nname: \"CI\"\n\non:\n  push:\n    paths:\n      - \"**.php\"\n      - \"phpcs.xml\"\n      - \".github/workflows/phpcs.yml\"\n  pull_request:\n    paths:\n      - \"**.php\"\n      - \"phpcs.xml\"\n      - \".github/workflows/phpcs.yml\"\n\njobs:\n  phpcs:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n        with:\n          fetch-depth: 0 # important!\n\n      - name: Install PHP_CodeSniffer\n        run: |\n          curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar\n          php phpcs.phar --version\n\n      - uses: Novusvetus/action-php_codesniffer@1.2.17\n        with:\n          files: \"**.php\"\n          scan_all: true\n          phpcs_path: php phpcs.phar\n          standard: phpcs.xml\n```\n\nYou also will need either to pick a build code style standard or create `phpcs.xml` file.\n\n\n## License ##\n3-clause BSD license\nSee [License](LICENSE)\n\n\n## Bugtracker ##\nBugs are tracked in the issues section of this repository on GitHub.\nPlease read over existing issues before submitting an issue to ensure yours is unique.\n\n[Create a new issue](../../issues/new)\n - Describe the steps to reproduce your issue.\n - Describe the expected and the actual outcome.\n - Describe your environment as detailed as possible.\n\n\n## Development and contribution ##\nFeature requests can also be made by [creating a new issue](../../issues/new).\nIf you would like to make contributions to this repository, feel free to [create a fork](../../fork) and submit a pull request.\n\n\n## Links ##\n* [ReindeerWeb](https://www.reindeer-web.de)\n* [Novusvetus](https://www.novusvetus.de)\n* [License](./LICENSE)\n* [Contributing](./CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovusvetus%2Faction-php_codesniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovusvetus%2Faction-php_codesniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovusvetus%2Faction-php_codesniffer/lists"}