+5
-3
artisan
+5
-3
artisan
···
1
1
#!/usr/bin/env php
2
2
<?php
3
3
4
+
define('LARAVEL_START', microtime(true));
5
+
4
6
/*
5
7
|--------------------------------------------------------------------------
6
8
| Register The Auto Loader
···
9
11
| Composer provides a convenient, automatically generated class loader
10
12
| for our application. We just need to utilize it! We'll require it
11
13
| into the script here so that we do not have to worry about the
12
-
| loading of any our classes "manually". Feels great to relax.
14
+
| loading of any of our classes manually. It's great to relax.
13
15
|
14
16
*/
15
17
16
-
require __DIR__.'/bootstrap/autoload.php';
18
+
require __DIR__.'/vendor/autoload.php';
17
19
18
20
$app = require_once __DIR__.'/bootstrap/app.php';
19
21
···
40
42
| Shutdown The Application
41
43
|--------------------------------------------------------------------------
42
44
|
43
-
| Once Artisan has finished running. We will fire off the shutdown events
45
+
| Once Artisan has finished running, we will fire off the shutdown events
44
46
| so that any final work may be done by the application before we shut
45
47
| down the process. This is the last thing to happen to the request.
46
48
|
+1
-1
phpunit.xml
+1
-1
phpunit.xml
···
1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
3
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
4
-
bootstrap="bootstrap/autoload.php"
4
+
bootstrap="vendor/autoload.php"
5
5
colors="true"
6
6
>
7
7
<testsuites>