Skip to content

Commit 4edb667

Browse files
moved source code to src, updated composer.
1 parent ea6e165 commit 4edb667

31 files changed

+6
-3
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"ext-sockets": "*",
1313
"ext-mbstring": "*"
1414
},
15+
"require-dev": {
16+
"phpunit/phpunit": ">=7.5.0"
17+
},
1518
"support": {
1619
"issues": "https://github.com/stefanak-michal/Bolt/issues",
1720
"source": "https://github.com/stefanak-michal/Bolt"
@@ -30,7 +33,7 @@
3033
],
3134
"autoload": {
3235
"psr-4": {
33-
"Bolt\\": "/"
36+
"Bolt\\": "src/"
3437
}
3538
}
3639
}

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @link https://github.com/stefanak-michal/Bolt
99
*/
1010

11-
require_once 'autoload.php';
11+
require_once 'src' . DIRECTORY_SEPARATOR . 'autoload.php';
1212

1313
set_time_limit(3);
1414

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<phpunit bootstrap="autoload.php">
1+
<phpunit bootstrap="src/autoload.php">
22
<testsuites>
33
<testsuite name="Bolt">
44
<directory>tests</directory>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)