Skip to content

Commit f770279

Browse files
committed
[UC-3] Add bitbag/coding-standard
1 parent 62a1275 commit f770279

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@
1616
# Symfony CLI https://symfony.com/doc/current/setup/symfony_server.html#different-php-settings-per-project
1717
/.php-version
1818
/php.ini
19+
20+
###> friendsofphp/php-cs-fixer ###
21+
/.php-cs-fixer.php
22+
/.php-cs-fixer.cache
23+
###< friendsofphp/php-cs-fixer ###

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"license": "MIT",
77
"require": {
88
"php": "^8.1",
9+
"bitbag/coding-standard": "^3.0",
910
"sylius/sylius": "~1.13.0",
1011
"symfony/webpack-encore-bundle": "^1.15"
1112
},
@@ -59,11 +60,16 @@
5960
},
6061
"autoload": {
6162
"psr-4": {
62-
"BitBag\\SyliusUserComPlugin\\": "src/",
63-
"Tests\\BitBag\\SyliusUserComPlugin\\": "tests/"
63+
"BitBag\\SyliusUserComPlugin\\": "src/"
6464
}
6565
},
6666
"autoload-dev": {
67+
"psr-4": {
68+
"Tests\\BitBag\\SyliusUserComPlugin\\": [
69+
"tests/Application/src",
70+
"tests"
71+
]
72+
},
6773
"classmap": [
6874
"tests/Application/Kernel.php"
6975
]

symfony.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,18 @@
6161
"ref": "1e012e04f573524ca83795cd19df9ea690adb604"
6262
}
6363
},
64+
"friendsofphp/php-cs-fixer": {
65+
"version": "3.68",
66+
"recipe": {
67+
"repo": "github.com/symfony/recipes",
68+
"branch": "main",
69+
"version": "3.0",
70+
"ref": "be2103eb4a20942e28a6dd87736669b757132435"
71+
},
72+
"files": [
73+
".php-cs-fixer.dist.php"
74+
]
75+
},
6476
"friendsofsymfony/rest-bundle": {
6577
"version": "3.5",
6678
"recipe": {

0 commit comments

Comments
 (0)