Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 74812f9

Browse files
authored
added new psr-12 rules (#24)
1 parent ccdbe7c commit 74812f9

File tree

4 files changed

+799
-353
lines changed

4 files changed

+799
-353
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square"></a>
88
</p>
99
This repository provides a configuration for https://github.com/FriendsOfPHP/PHP-CS-Fixer, which
10-
we use to verify and enforce a single coding standard for PHP code within Narrowspark.
10+
we use to verify and enforce a single coding standard for PHP code within Narrowspark and Anolilab.
1111

1212
Installation
1313
-------------

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "narrowspark/php-cs-fixer-config",
33
"type": "library",
4-
"description": "Provides a configuration for friendsofphp/php-cs-fixer, used within Narrowspark.",
4+
"description": "Provides a configuration for friendsofphp/php-cs-fixer, used within Narrowspark and Anolilab.",
55
"keywords": [
66
"narrowspark",
77
"cs",
@@ -21,8 +21,8 @@
2121
],
2222
"require": {
2323
"php": "^7.1",
24+
"friendsofphp/php-cs-fixer": "~2.15.1",
2425
"kubawerlos/php-cs-fixer-custom-fixers": "^1.13.0",
25-
"localheinz/php-cs-fixer-config": "1.22.*",
2626
"pedrotroller/php-cs-custom-fixer": "^2.18.1"
2727
},
2828
"require-dev": {
@@ -49,7 +49,7 @@
4949
"prefer-stable": true,
5050
"scripts": {
5151
"coverage": "phpunit --coverage-html=\"build/logs\"",
52-
"cs": "php-cs-fixer fix",
52+
"cs": "php-cs-fixer fix -vvv",
5353
"phpstan": "phpstan analyse -c phpstan.neon -l 7 src --memory-limit=-1",
5454
"test": "phpunit"
5555
},

0 commit comments

Comments
 (0)