Skip to content

Commit 386ca6c

Browse files
committed
CodefyPHP 3.1+ and namspace updates.
Signed-off-by: Joshua Parker <joshua@joshuaparker.dev>
1 parent 152dd76 commit 386ca6c

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

composer.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,21 @@
1515
"require": {
1616
"php": ">=8.4",
1717
"ext-pdo": "*",
18-
"codefyphp/codefy": "^3"
18+
"codefyphp/codefy": "^3.1"
1919
},
2020
"autoload": {
2121
"psr-4": {
22-
"App\\": "App/"
22+
"Application\\": "src/Application/",
23+
"Domain\\": "src/Domain/",
24+
"Database\\Seeders\\": "database/seeders/",
25+
"Infrastructure\\": "src/Infrastructure/"
2326
}
2427
},
2528
"scripts": {
26-
"test": "vendor/bin/pest",
27-
"cs-check": "phpcs",
28-
"cs-fix": "phpcbf"
29+
"codestan": "phpstan analyse -l max",
30+
"cs-check": "phpcs",
31+
"cs-fix": "phpcbf",
32+
"test": "vendor/bin/pest"
2933
},
3034
"config": {
3135
"optimize-autoloader": true,
@@ -36,7 +40,8 @@
3640
}
3741
},
3842
"require-dev": {
39-
"qubus/qubus-coding-standard": "^2"
43+
"friendsofphp/php-cs-fixer": "^3",
44+
"qubus/qubus-coding-standard": "^2.1.2"
4045
},
4146
"suggest": {
4247
"fenom/fenom": "Lightweight and fast template engine for PHP.",

0 commit comments

Comments
 (0)