An open API service indexing awesome lists of open source software.

https://github.com/croct-tech/coding-standard-php

The coding-standard for PHP projects.
https://github.com/croct-tech/coding-standard-php

code-style coding-standard php

Last synced: 4 days ago
JSON representation

The coding-standard for PHP projects.

Awesome Lists containing this project

README

          



Croct



PHP Coding Standard


A set of Code Sniffer rules applied to all Croct PHP projects.



Language
Build
License




📦 Releases
·
🐞 Report Bug
·
✨ Request Feature

## Installation

We recommend using the package manager [Composer](https://getcomposer.org) to install the package:

```sh
composer require croct/coding-standard
```

## Basic usage

Run the following command to check if the project adheres to the coding standard:

```sh
./vendor/bin/phpcs
```

## Contributing

Contributions to the package are always welcome!

- Report any bugs or issues on the [issue tracker](https://github.com/croct-tech/coding-standard-php/issues).
- For major changes, please [open an issue](https://github.com/croct-tech/coding-standard-php/issues) 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:

```sh
composer install
```

Then, to run all tests:

```sh
composer test
```

## License

This library is licensed under the [MIT license](LICENSE).