Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 4fcf412

Browse files
committed
Update composer.json to refactor namespace from PhpSlides\Src to PhpSlides\Core and improve test script execution
1 parent 01f59c9 commit 4fcf412

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"autoload": {
3333
"psr-4": {
3434
"PhpSlides\\": "src/Exception/",
35-
"PhpSlides\\Src\\": "src/",
35+
"PhpSlides\\Core\\": "src/",
3636
"PhpSlides\\Router\\": "Router/"
3737
},
3838
"files": [ "src/Bootstrap/App.php" ]
@@ -46,9 +46,8 @@
4646
"preferred-install": "dist"
4747
},
4848
"scripts": {
49-
"test": "vendor/bin/phpunit",
50-
"phpunit": "php vendor/bin/phpunit"
49+
"test": "phpunit || vendor/bin/phpunit || php vendor/bin/phpunit"
5150
},
5251
"minimum-stability": "stable",
5352
"prefer-stable": true
54-
}
53+
}

0 commit comments

Comments
 (0)