{"id":23220895,"url":"https://github.com/deprecated-packages/php7_codesniffer","last_synced_at":"2025-10-05T20:56:29.349Z","repository":{"id":57063847,"uuid":"64397977","full_name":"deprecated-packages/PHP7_CodeSniffer","owner":"deprecated-packages","description":"[DEPRECATED] Use:","archived":false,"fork":false,"pushed_at":"2016-10-17T10:56:11.000Z","size":196,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-26T15:40:14.285Z","etag":null,"topics":["codesniffer","coding-standard","deprecated","php-code-sniffer"],"latest_commit_sha":null,"homepage":"https://github.com/Symplify/EasyCodingStandard","language":"PHP","has_issues":false,"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/deprecated-packages.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":"2016-07-28T13:29:46.000Z","updated_at":"2020-11-01T19:52:11.000Z","dependencies_parsed_at":"2022-08-24T07:50:15.401Z","dependency_job_id":null,"html_url":"https://github.com/deprecated-packages/PHP7_CodeSniffer","commit_stats":null,"previous_names":[],"tags_count":7,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-packages%2FPHP7_CodeSniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-packages%2FPHP7_CodeSniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-packages%2FPHP7_CodeSniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deprecated-packages%2FPHP7_CodeSniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deprecated-packages","download_url":"https://codeload.github.com/deprecated-packages/PHP7_CodeSniffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230345997,"owners_count":18211999,"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":["codesniffer","coding-standard","deprecated","php-code-sniffer"],"created_at":"2024-12-18T22:14:31.114Z","updated_at":"2025-10-05T20:56:24.330Z","avatar_url":"https://github.com/deprecated-packages.png","language":"PHP","readme":"# CodeSniffer in PHP 7, with simple usage everyone understands\n\nThis is essential development tool that ensures your code **remains clean and consistent**.\n\n[![Build Status](https://img.shields.io/travis/Symplify/PHP7_CodeSniffer.svg?style=flat-square)](https://travis-ci.org/Symplify/PHP7_CodeSniffer)\n[![Quality Score](https://img.shields.io/scrutinizer/g/Symplify/PHP7_CodeSniffer.svg?style=flat-square)](https://scrutinizer-ci.com/g/Symplify/PHP7_CodeSniffer)\n[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/Symplify/PHP7_CodeSniffer.svg?style=flat-square)](https://scrutinizer-ci.com/g/Symplify/PHP7_CodeSniffer)\n[![Downloads total](https://img.shields.io/packagist/dt/symplify/php7_codesniffer.svg?style=flat-square)](https://packagist.org/packages/symplify/php7_codesniffer)\n[![Latest stable](https://img.shields.io/packagist/v/symplify/php7_codesniffer.svg?style=flat-square)](https://packagist.org/packages/symplify/php7_codesniffer)\n\n\n## Install\n\n```bash\ncomposer require symplify/php7_codesniffer --dev\n```\n\n## Use\n\nRun it from cli:\n\n```bash\nvendor/bin/php7cs src --standards=PSR2\n```\n\nTo fix the issues just add `--fix`:\n\n```bash\nvendor/bin/php7cs src --standards=PSR2 --fix\n```\n\n### How to Use Specific Sniff Only?\n\n```bash\nvendor/bin/php7cs src --sniffs=PSR2.Classes.ClassDeclaration\nvendor/bin/php7cs src --sniffs=PSR2.Classes.ClassDeclaration,Zend.Files.ClosingTag\n```\n\nYou can combine them as well:\n\n```bash\nvendor/bin/php7cs src --standards=PSR2 --sniffs=Zend.Files.ClosingTag\n```\n\n### Or Use Standard WITHOUT One Sniff?\n\n```bash\nvendor/bin/php7cs src --standards=PSR2 --exclude-sniffs=PSR2.Namespaces.UseDeclaration\n```\n\n## Testing\n\n```bash\nbin/php7cs src tests --standards=PSR2\nvendor/bin/phpunit\n```\n\n\n## Contributing\n\nRules are simple:\n\n- new feature needs tests\n- all tests must pass\n- 1 feature per PR\n\nI'd be happy to merge your feature then.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeprecated-packages%2Fphp7_codesniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeprecated-packages%2Fphp7_codesniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeprecated-packages%2Fphp7_codesniffer/lists"}