Skip to content

Commit ca57d32

Browse files
committed
Allow Laravel to autodiscover the service provider
1 parent 2fea7e9 commit ca57d32

File tree

2 files changed

+638
-8
lines changed

2 files changed

+638
-8
lines changed

composer.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "erikgall/php-cs-fixer-config",
3-
"description": "Personal FriendsOfPHP/PHP-CS-Fixer configuration.",
3+
"description": "FriendsOfPHP/PHP-CS-Fixer configuration.",
44
"type": "library",
55
"require": {
6-
"php": "^7.2.5",
7-
"friendsofphp/php-cs-fixer": "^2.16"
6+
"friendsofphp/php-cs-fixer": "^2.16",
7+
"illuminate/console": "^7.2",
8+
"illuminate/filesystem": "^7.2",
9+
"illuminate/support": "^7.2"
810
},
911
"license": "MIT",
1012
"authors": [
@@ -23,5 +25,12 @@
2325
},
2426
"autoload-dev": {
2527
"ErikGall\\PhpCsFixer\\Tests\\": "tests/"
26-
}
28+
},
29+
"extra": {
30+
"laravel": {
31+
"providers": [
32+
"ErikGall\\PhpCsFixer\\ServiceProvider"
33+
]
34+
}
35+
}
2736
}

0 commit comments

Comments
 (0)