sudo: false
language: php
php:
- - 7.0.7
+ - 7.0.20
- 7.1.9
cache:
/*
|--------------------------------------------------------------------------
-| Register The Auto Loader
+| Initialize The App
|--------------------------------------------------------------------------
|
-| Composer provides a convenient, automatically generated class loader
-| for our application. We just need to utilize it! We'll require it
-| into the script here so that we do not have to worry about the
-| loading of any our classes "manually". Feels great to relax.
+| We need to get things going before we start up the app.
+| The init file loads everything in, in the correct order.
|
*/
-require __DIR__.'/vendor/autoload.php';
+require __DIR__.'/bootstrap/init.php';
$app = require_once __DIR__.'/bootstrap/app.php';
--- /dev/null
+<?php
+
+/*
+|--------------------------------------------------------------------------
+| Load Our Own Helpers
+|--------------------------------------------------------------------------
+|
+| This custom function loads any helpers, before the Laravel Framework
+| is built so we can override any helpers as we please.
+|
+*/
+require __DIR__.'/../app/helpers.php';
+
+/*
+|--------------------------------------------------------------------------
+| Register The Composer Auto Loader
+|--------------------------------------------------------------------------
+|
+| Composer provides a convenient, automatically generated class loader
+| for our application. We just need to utilize it! We'll require it
+| into the script here so that we do not have to worry about the
+| loading of any our classes "manually". Feels great to relax.
+|
+*/
+require __DIR__.'/../vendor/autoload.php';
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
- bootstrap="bootstrap/autoload.php"
+ bootstrap="bootstrap/init.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
/*
|--------------------------------------------------------------------------
-| Register The Auto Loader
+| Initialize The App
|--------------------------------------------------------------------------
|
-| Composer provides a convenient, automatically generated class loader for
-| our application. We just need to utilize it! We'll simply require it
-| into the script here so that we don't have to worry about manual
-| loading any of our classes later on. It feels great to relax.
+| We need to get things going before we start up the app.
+| The init file loads everything in, in the correct order.
|
*/
-require __DIR__.'/../vendor/autoload.php';
+require __DIR__.'/../bootstrap/init.php';
/*
|--------------------------------------------------------------------------