croct / coding-standard
A set of Code Sniffer rules applied to all Croct PHP projects.
Package info
github.com/croct-tech/coding-standard-php
Type:phpcodesniffer-standard
pkg:composer/croct/coding-standard
Requires
- php: ^8.5
- slevomat/coding-standard: ^8.28
- squizlabs/php_codesniffer: ^4.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.28
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^13.1
This package is auto-updated.
Last update: 2026-06-04 00:30:50 UTC
README
PHP Coding Standard
A set of Code Sniffer rules applied to all Croct PHP projects.
📦 Releases
·
🐞 Report Bug
·
✨ Request Feature
Installation
We recommend using the package manager Composer to install the package:
composer require croct/coding-standard
Basic usage
Run the following command to check if the project adheres to the coding standard:
./vendor/bin/phpcs
Contributing
Contributions to the package are always welcome!
- Report any bugs or issues on the issue tracker.
- For major changes, please open an issue first to discuss what you would like to change.
- Please make sure to update tests as appropriate.
Testing
Before running the test suites, the development dependencies must be installed:
composer install
Then, to run all tests:
composer test
License
This library is licensed under the MIT license.