|
1 | 1 | # Coding standard
|
2 | 2 |
|
3 |
| -* Run `composer require --dev inspirum/coding-standard` |
4 |
| -* Create `phpcs.xml.dist` file with: |
| 3 | +**Created as part of [inspishop][link-inspishop] e-commerce platform by [inspirum][link-inspirum] team.** |
| 4 | + |
| 5 | +[![Latest Stable Version][ico-packagist-stable]][link-packagist-stable] |
| 6 | +[![Total Downloads][ico-packagist-download]][link-packagist-download] |
| 7 | +[![Software License][ico-license]][link-licence] |
| 8 | + |
| 9 | + |
| 10 | +## System requirements |
| 11 | + |
| 12 | +* [PHP 7.4+](http://php.net/releases/7_4_0.php), [PHP 8.0+](http://php.net/releases/8_0_0.php) |
| 13 | + |
| 14 | + |
| 15 | +## Installation |
| 16 | + |
| 17 | +Run composer require command: |
| 18 | +``` |
| 19 | +composer require --dev inspirum/coding-standard |
| 20 | +``` |
| 21 | + |
| 22 | +Create `phpcs.xml.dist` file with: |
5 | 23 |
|
6 | 24 | ```xml
|
7 | 25 | <?xml version="1.0" encoding="UTF-8"?>
|
8 | 26 | <ruleset>
|
9 | 27 | <rule ref="InspirumCodingStandard"/>
|
10 | 28 | </ruleset>
|
11 | 29 | ```
|
| 30 | + |
| 31 | + |
| 32 | +## Security |
| 33 | + |
| 34 | +If you discover any security related issues, please email tomas.novotny@inspirum.cz instead of using the issue tracker. |
| 35 | + |
| 36 | + |
| 37 | +## Credits |
| 38 | + |
| 39 | +- [Tomáš Novotný](https://github.com/tomas-novotny) |
| 40 | +- [All Contributors][link-contributors] |
| 41 | + |
| 42 | + |
| 43 | +## License |
| 44 | + |
| 45 | +The MIT License (MIT). Please see [License File][link-licence] for more information. |
| 46 | + |
| 47 | + |
| 48 | +[ico-license]: https://img.shields.io/github/license/inspirum/coding-standard-php.svg?style=flat-square&colorB=blue |
| 49 | +[ico-workflow]: https://img.shields.io/github/workflow/status/inspirum/coding-standard-php/Test/master?style=flat-square |
| 50 | +[ico-packagist-stable]: https://img.shields.io/packagist/v/inspirum/coding-standard.svg?style=flat-square&colorB=blue |
| 51 | +[ico-packagist-download]: https://img.shields.io/packagist/dt/inspirum/coding-standard.svg?style=flat-square&colorB=blue |
| 52 | + |
| 53 | +[link-author]: https://github.com/inspirum |
| 54 | +[link-contributors]: https://github.com/inspirum/coding-standard-php/contributors |
| 55 | +[link-licence]: ./LICENSE.md |
| 56 | +[link-changelog]: ./CHANGELOG.md |
| 57 | +[link-inspishop]: https://www.inspishop.cz/ |
| 58 | +[link-inspirum]: https://www.inspirum.cz/ |
| 59 | +[link-packagist-stable]: https://packagist.org/packages/inspirum/coding-standard |
| 60 | +[link-packagist-download]: https://packagist.org/packages/inspirum/coding-standard |
0 commit comments