1
- # LMC Coding Standard for PHP
1
+ # Alma Career Czechia Coding Standard for PHP
2
2
3
3
[ ![ Latest Stable Version] ( https://img.shields.io/packagist/v/lmc/coding-standard.svg?style=flat-square )] ( https://packagist.org/packages/lmc/coding-standard )
4
4
5
- PHP coding standard used in [ LMC ] ( https://www.lmc.eu/en/ ) projects .
5
+ PHP coding standard used in [ Alma Career Czechia ] ( https://www.almacareer.com/ ) (formerly LMC) products .
6
6
7
7
Standard is based on [ PSR-12] ( https://www.php-fig.org/psr/psr-12/ ) and adds
8
8
various checks to make sure the code is readable, does follow the same conventions and does not contain common mistakes.
@@ -17,7 +17,7 @@ composer require --dev lmc/coding-standard
17
17
18
18
## Usage
19
19
20
- 1 . Create ` ecs.php ` file in the root directory of your project and import the LMC code-style rules:
20
+ 1 . Create ` ecs.php ` file in the root directory of your project and import the code-style rules:
21
21
22
22
``` php
23
23
<?php declare(strict_types=1);
@@ -74,7 +74,7 @@ Now you will be able to run the fix using `composer analyze` and execute automat
74
74
On top of default code-style rules you are free to add any rules from [ PHP-CS-Fixer] or [ PHP_CodeSniffer] .
75
75
If needed, you can also override some default settings.
76
76
77
- Be aware you must add these settings ** after** import of the base LMC code-style:
77
+ Be aware you must add these settings ** after** import of the base Alma Career Czechia ( LMC) code-style:
78
78
79
79
``` php
80
80
<?php declare(strict_types=1);
@@ -104,7 +104,7 @@ See [EasyCodingStandard docs](https://github.com/symplify/easy-coding-standard#c
104
104
105
105
You can configure your ` ecs.php ` to entirely skip some files, disable specific checks of suppress specific errors.
106
106
107
- Unlike adding/modifying checks, skips must be added ** before** import of the base LMC code-style.
107
+ Unlike adding/modifying checks, skips must be added ** before** import of the base Alma Career Czechia ( LMC) code-style.
108
108
109
109
``` php
110
110
<?php declare(strict_types=1);
@@ -143,7 +143,7 @@ For integration with PHPStorm etc. follow instructions in EasyCodingStandard [RE
143
143
For latest changes see [ CHANGELOG.md] ( CHANGELOG.md ) file. We follow [ Semantic Versioning] ( https://semver.org/ ) .
144
144
145
145
## License
146
- This library is open source software licensed under the [ MIT license] ( LICENCE .md) .
146
+ This library is open source software licensed under the [ MIT license] ( LICENSE .md) .
147
147
148
148
[ PHP-CS-Fixer ] : https://github.com/FriendsOfPHP/PHP-CS-Fixer
149
149
[ PHP_CodeSniffer ] : https://github.com/squizlabs/PHP_CodeSniffer
0 commit comments