File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ dist: trusty
22sudo : false
33language : php
44php :
5- - 7.0.7
5+ - 7.0.20
66 - 7.1.9
77
88cache :
Original file line number Diff line number Diff line change @@ -5,17 +5,15 @@ define('LARAVEL_START', microtime(true));
55
66/*
77|--------------------------------------------------------------------------
8- | Register The Auto Loader
8+ | Initialize The App
99|--------------------------------------------------------------------------
1010|
11- | Composer provides a convenient, automatically generated class loader
12- | for our application. We just need to utilize it! We'll require it
13- | into the script here so that we do not have to worry about the
14- | loading of any our classes "manually". Feels great to relax.
11+ | We need to get things going before we start up the app.
12+ | The init file loads everything in, in the correct order.
1513|
1614*/
1715
18- require __DIR__ .'/vendor/autoload .php ' ;
16+ require __DIR__ .'/bootstrap/init .php ' ;
1917
2018$ app = require_once __DIR__ .'/bootstrap/app.php ' ;
2119
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ /*
4+ |--------------------------------------------------------------------------
5+ | Load Our Own Helpers
6+ |--------------------------------------------------------------------------
7+ |
8+ | This custom function loads any helpers, before the Laravel Framework
9+ | is built so we can override any helpers as we please.
10+ |
11+ */
12+ require __DIR__ .'/../app/helpers.php ' ;
13+
14+ /*
15+ |--------------------------------------------------------------------------
16+ | Register The Composer Auto Loader
17+ |--------------------------------------------------------------------------
18+ |
19+ | Composer provides a convenient, automatically generated class loader
20+ | for our application. We just need to utilize it! We'll require it
21+ | into the script here so that we do not have to worry about the
22+ | loading of any our classes "manually". Feels great to relax.
23+ |
24+ */
25+ require __DIR__ .'/../vendor/autoload.php ' ;
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpunit backupGlobals =" false"
33 backupStaticAttributes =" false"
4- bootstrap =" bootstrap/autoload .php"
4+ bootstrap =" bootstrap/init .php"
55 colors =" true"
66 convertErrorsToExceptions =" true"
77 convertNoticesToExceptions =" true"
Original file line number Diff line number Diff line change 1111
1212/*
1313|--------------------------------------------------------------------------
14- | Register The Auto Loader
14+ | Initialize The App
1515|--------------------------------------------------------------------------
1616|
17- | Composer provides a convenient, automatically generated class loader for
18- | our application. We just need to utilize it! We'll simply require it
19- | into the script here so that we don't have to worry about manual
20- | loading any of our classes later on. It feels great to relax.
17+ | We need to get things going before we start up the app.
18+ | The init file loads everything in, in the correct order.
2119|
2220*/
2321
24- require __DIR__ .'/../vendor/autoload .php ' ;
22+ require __DIR__ .'/../bootstrap/init .php ' ;
2523
2624/*
2725|--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments