diff --git a/Guardfile b/Guardfile
index a33798c4..88e8f703 100644
--- a/Guardfile
+++ b/Guardfile
@@ -1,7 +1,7 @@
guard :phpunit, :all_on_start => false, :tests_path => 'tests/', :cli => '--colors -c build/phpunit.xml' do
- # Run any test in app/tests upon save.
- watch(%r{^.+Test\.php$})
+ # Run any test in app/tests upon save.
+ watch(%r{^.+Test\.php$})
- # When a file is edited, try to run its associated test.
- watch(%r{^src/(.+)/(.+)\.php$}) { |m| "tests/#{m[2]}Test.php"}
+ # When a file is edited, try to run its associated test.
+ watch(%r{^src/(.+)/(.+)\.php$}) { |m| "tests/#{m[2]}Test.php"}
end
diff --git a/README.md b/README.md
index 0cd56a0d..9ca88126 100644
--- a/README.md
+++ b/README.md
@@ -14,9 +14,9 @@ To install through composer, simply put the following in your `composer.json` fi
```json
{
- "require-dev": {
- "orchestra/testbench": "2.0.*"
- }
+ "require-dev": {
+ "orchestra/testbench": "2.0.*"
+ }
}
```
@@ -44,10 +44,10 @@ To load your package service provider, override the `getPackageProviders`.
```php
- protected function getPackageProviders()
- {
- return array('Acme\AcmeServiceProvider');
- }
+ protected function getPackageProviders()
+ {
+ return array('Acme\AcmeServiceProvider');
+ }
```
### Custom Aliases
@@ -56,12 +56,12 @@ To load your package alias, override the `getPackageAliases`.
```php
- protected function getPackageAliases()
- {
- return array(
- 'Acme' => 'Acme\Facade'
- );
- }
+ protected function getPackageAliases()
+ {
+ return array(
+ 'Acme' => 'Acme\Facade'
+ );
+ }
```
## Testing Route Filters
@@ -75,6 +75,6 @@ $this->app['router']->enableFilters();
## Working with Workbench
- Fatal error: Class 'Illuminate\Foundation\Testing\TestCase' not found in /laravel/workbench/foo/bar/vendor/orchestra/testbench/src/Orchestra/Testbench/TestCase.php
+ Fatal error: Class 'Illuminate\Foundation\Testing\TestCase' not found in /laravel/workbench/foo/bar/vendor/orchestra/testbench/src/Orchestra/Testbench/TestCase.php
Due to the requirement to include `laravel/framework` when you install `orchestra/testbench`, please remove any **Illuminate** dependencies to avoid a failed installation.
diff --git a/build/phpcs.xml b/build/phpcs.xml
index d7a330a6..2de88cf0 100644
--- a/build/phpcs.xml
+++ b/build/phpcs.xml
@@ -1,5 +1,5 @@
- PSR2 Compliant
-
-
+ PSR2 Compliant
+
+
diff --git a/build/phpmd.xml b/build/phpmd.xml
index 55f90af9..b1150d79 100644
--- a/build/phpmd.xml
+++ b/build/phpmd.xml
@@ -1,23 +1,23 @@
- Description of your coding standard
+ xmlns="http://pmd.sf.net/ruleset/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
+ http://pmd.sf.net/ruleset_xml_schema.xsd"
+ xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
+ Description of your coding standard
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
diff --git a/composer.json b/composer.json
index cd15e8af..d22d21f7 100644
--- a/composer.json
+++ b/composer.json
@@ -1,28 +1,28 @@
{
- "name": "orchestra/testbench",
- "description": "Laravel 4 Package Unit Testing Helper",
- "keywords": ["laravel"],
- "license": "MIT",
- "authors": [
- {
- "name": "Mior Muhammad Zaki",
- "email": "crynobone@gmail.com",
- "homepage": "https://github.com/crynobone"
- }
- ],
- "autoload": {
- "psr-0": {
- "Orchestra\\Testbench" : "src/"
- }
- },
- "require": {
- "php": ">=5.3.3",
- "laravel/framework": "4.0.*"
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.1-dev"
- }
- },
- "minimum-stability": "dev"
+ "name": "orchestra/testbench",
+ "description": "Laravel 4 Package Unit Testing Helper",
+ "keywords": ["laravel"],
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Mior Muhammad Zaki",
+ "email": "crynobone@gmail.com",
+ "homepage": "https://github.com/crynobone"
+ }
+ ],
+ "autoload": {
+ "psr-0": {
+ "Orchestra\\Testbench" : "src/"
+ }
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "laravel/framework": "4.0.*"
+ },
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1-dev"
+ }
+ },
+ "minimum-stability": "dev"
}
diff --git a/docs/readme.md b/docs/readme.md
index 1da36abf..1fe7443c 100644
--- a/docs/readme.md
+++ b/docs/readme.md
@@ -9,9 +9,9 @@ To install through composer, simply put the following in your `composer.json` fi
```json
{
- "require-dev": {
- "orchestra/testbench": "2.0.*"
- }
+ "require-dev": {
+ "orchestra/testbench": "2.0.*"
+ }
}
```
@@ -39,10 +39,10 @@ To load your package service provider, override the `getPackageProviders`.
```php
- protected function getPackageProviders()
- {
- return array('Acme\AcmeServiceProvider');
- }
+ protected function getPackageProviders()
+ {
+ return array('Acme\AcmeServiceProvider');
+ }
```
### Custom Aliases
@@ -51,12 +51,12 @@ To load your package alias, override the `getPackageAliases`.
```php
- protected function getPackageAliases()
- {
- return array(
- 'Acme' => 'Acme\Facade'
- );
- }
+ protected function getPackageAliases()
+ {
+ return array(
+ 'Acme' => 'Acme\Facade'
+ );
+ }
```
## Testing Route Filters
diff --git a/src/fixture/app/config/app.php b/src/fixture/app/config/app.php
index f63a6ac0..32790e31 100644
--- a/src/fixture/app/config/app.php
+++ b/src/fixture/app/config/app.php
@@ -2,82 +2,82 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Application Debug Mode
- |--------------------------------------------------------------------------
- |
- | When your application is in debug mode, detailed error messages with
- | stack traces will be shown on every error that occurs within your
- | application. If disabled, a simple generic error page is shown.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Application Debug Mode
+ |--------------------------------------------------------------------------
+ |
+ | When your application is in debug mode, detailed error messages with
+ | stack traces will be shown on every error that occurs within your
+ | application. If disabled, a simple generic error page is shown.
+ |
+ */
- 'debug' => true,
+ 'debug' => true,
- /*
- |--------------------------------------------------------------------------
- | Application URL
- |--------------------------------------------------------------------------
- |
- | This URL is used by the console to properly generate URLs when using
- | the Artisan command line tool. You should set this to the root of
- | your application so that it is used when running Artisan tasks.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Application URL
+ |--------------------------------------------------------------------------
+ |
+ | This URL is used by the console to properly generate URLs when using
+ | the Artisan command line tool. You should set this to the root of
+ | your application so that it is used when running Artisan tasks.
+ |
+ */
- 'url' => 'http://localhost',
+ 'url' => 'http://localhost',
- /*
- |--------------------------------------------------------------------------
- | Application Timezone
- |--------------------------------------------------------------------------
- |
- | Here you may specify the default timezone for your application, which
- | will be used by the PHP date and date-time functions. We have gone
- | ahead and set this to a sensible default for you out of the box.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Application Timezone
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify the default timezone for your application, which
+ | will be used by the PHP date and date-time functions. We have gone
+ | ahead and set this to a sensible default for you out of the box.
+ |
+ */
- 'timezone' => 'UTC',
+ 'timezone' => 'UTC',
- /*
- |--------------------------------------------------------------------------
- | Application Locale Configuration
- |--------------------------------------------------------------------------
- |
- | The application locale determines the default locale that will be used
- | by the translation service provider. You are free to set this value
- | to any of the locales which will be supported by the application.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Application Locale Configuration
+ |--------------------------------------------------------------------------
+ |
+ | The application locale determines the default locale that will be used
+ | by the translation service provider. You are free to set this value
+ | to any of the locales which will be supported by the application.
+ |
+ */
- 'locale' => 'en',
+ 'locale' => 'en',
- /*
- |--------------------------------------------------------------------------
- | Encryption Key
- |--------------------------------------------------------------------------
- |
- | This key is used by the Illuminate encrypter service and should be set
- | to a random, 32 character string, otherwise these encrypted strings
- | will not be safe. Please do this before deploying an application!
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Encryption Key
+ |--------------------------------------------------------------------------
+ |
+ | This key is used by the Illuminate encrypter service and should be set
+ | to a random, 32 character string, otherwise these encrypted strings
+ | will not be safe. Please do this before deploying an application!
+ |
+ */
- 'key' => 'YourSecretKey!!!',
+ 'key' => 'YourSecretKey!!!',
- /*
- |--------------------------------------------------------------------------
- | Service Provider Manifest
- |--------------------------------------------------------------------------
- |
- | The service provider manifest is used by Laravel to lazy load service
- | providers which are not needed for each request, as well to keep a
- | list of all of the services. Here, you may set its storage spot.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Service Provider Manifest
+ |--------------------------------------------------------------------------
+ |
+ | The service provider manifest is used by Laravel to lazy load service
+ | providers which are not needed for each request, as well to keep a
+ | list of all of the services. Here, you may set its storage spot.
+ |
+ */
- 'manifest' => storage_path().'/meta',
+ 'manifest' => storage_path().'/meta',
);
diff --git a/src/fixture/app/config/auth.php b/src/fixture/app/config/auth.php
index eacbbfae..852ed4c9 100644
--- a/src/fixture/app/config/auth.php
+++ b/src/fixture/app/config/auth.php
@@ -2,70 +2,70 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Default Authentication Driver
- |--------------------------------------------------------------------------
- |
- | This option controls the authentication driver that will be utilized.
- | This driver manages the retrieval and authentication of the users
- | attempting to get access to protected areas of your application.
- |
- | Supported: "database", "eloquent"
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Default Authentication Driver
+ |--------------------------------------------------------------------------
+ |
+ | This option controls the authentication driver that will be utilized.
+ | This driver manages the retrieval and authentication of the users
+ | attempting to get access to protected areas of your application.
+ |
+ | Supported: "database", "eloquent"
+ |
+ */
- 'driver' => 'eloquent',
+ 'driver' => 'eloquent',
- /*
- |--------------------------------------------------------------------------
- | Authentication Model
- |--------------------------------------------------------------------------
- |
- | When using the "Eloquent" authentication driver, we need to know which
- | Eloquent model should be used to retrieve your users. Of course, it
- | is often just the "User" model but you may use whatever you like.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Authentication Model
+ |--------------------------------------------------------------------------
+ |
+ | When using the "Eloquent" authentication driver, we need to know which
+ | Eloquent model should be used to retrieve your users. Of course, it
+ | is often just the "User" model but you may use whatever you like.
+ |
+ */
- 'model' => 'User',
+ 'model' => 'User',
- /*
- |--------------------------------------------------------------------------
- | Authentication Table
- |--------------------------------------------------------------------------
- |
- | When using the "Database" authentication driver, we need to know which
- | table should be used to retrieve your users. We have chosen a basic
- | default value but you may easily change it to any table you like.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Authentication Table
+ |--------------------------------------------------------------------------
+ |
+ | When using the "Database" authentication driver, we need to know which
+ | table should be used to retrieve your users. We have chosen a basic
+ | default value but you may easily change it to any table you like.
+ |
+ */
- 'table' => 'users',
+ 'table' => 'users',
- /*
- |--------------------------------------------------------------------------
- | Password Reminder Settings
- |--------------------------------------------------------------------------
- |
- | Here you may set the settings for password reminders, including a view
- | that should be used as your password reminder e-mail. You will also
- | be able to set the name of the table that holds the reset tokens.
- |
- | The "expire" time is the number of minutes that the reminder should be
- | considered valid. This security feature keeps tokens short-lived so
- | they have less time to be guessed. You may change this as needed.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Password Reminder Settings
+ |--------------------------------------------------------------------------
+ |
+ | Here you may set the settings for password reminders, including a view
+ | that should be used as your password reminder e-mail. You will also
+ | be able to set the name of the table that holds the reset tokens.
+ |
+ | The "expire" time is the number of minutes that the reminder should be
+ | considered valid. This security feature keeps tokens short-lived so
+ | they have less time to be guessed. You may change this as needed.
+ |
+ */
- 'reminder' => array(
+ 'reminder' => array(
- 'email' => 'emails.auth.reminder',
+ 'email' => 'emails.auth.reminder',
- 'table' => 'password_reminders',
+ 'table' => 'password_reminders',
- 'expire' => 60,
+ 'expire' => 60,
- ),
+ ),
);
diff --git a/src/fixture/app/config/cache.php b/src/fixture/app/config/cache.php
index ce898423..c5e0d96b 100644
--- a/src/fixture/app/config/cache.php
+++ b/src/fixture/app/config/cache.php
@@ -2,88 +2,88 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Default Cache Driver
- |--------------------------------------------------------------------------
- |
- | This option controls the default cache "driver" that will be used when
- | using the Caching library. Of course, you may use other drivers any
- | time you wish. This is the default when another is not specified.
- |
- | Supported: "file", "database", "apc", "memcached", "redis", "array"
- |
- */
-
- 'driver' => 'file',
-
- /*
- |--------------------------------------------------------------------------
- | File Cache Location
- |--------------------------------------------------------------------------
- |
- | When using the "file" cache driver, we need a location where the cache
- | files may be stored. A sensible default has been specified, but you
- | are free to change it to any other place on disk that you desire.
- |
- */
-
- 'path' => storage_path().'/cache',
-
- /*
- |--------------------------------------------------------------------------
- | Database Cache Connection
- |--------------------------------------------------------------------------
- |
- | When using the "database" cache driver you may specify the connection
- | that should be used to store the cached items. When this option is
- | null the default database connection will be utilized for cache.
- |
- */
-
- 'connection' => null,
-
- /*
- |--------------------------------------------------------------------------
- | Database Cache Table
- |--------------------------------------------------------------------------
- |
- | When using the "database" cache driver we need to know the table that
- | should be used to store the cached items. A default table name has
- | been provided but you're free to change it however you deem fit.
- |
- */
-
- 'table' => 'cache',
-
- /*
- |--------------------------------------------------------------------------
- | Memcached Servers
- |--------------------------------------------------------------------------
- |
- | Now you may specify an array of your Memcached servers that should be
- | used when utilizing the Memcached cache driver. All of the servers
- | should contain a value for "host", "port", and "weight" options.
- |
- */
-
- 'memcached' => array(
-
- array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
-
- ),
-
- /*
- |--------------------------------------------------------------------------
- | Cache Key Prefix
- |--------------------------------------------------------------------------
- |
- | When utilizing a RAM based store such as APC or Memcached, there might
- | be other applications utilizing the same cache. So, we'll specify a
- | value to get prefixed to all our keys so we can avoid collisions.
- |
- */
-
- 'prefix' => 'laravel',
+ /*
+ |--------------------------------------------------------------------------
+ | Default Cache Driver
+ |--------------------------------------------------------------------------
+ |
+ | This option controls the default cache "driver" that will be used when
+ | using the Caching library. Of course, you may use other drivers any
+ | time you wish. This is the default when another is not specified.
+ |
+ | Supported: "file", "database", "apc", "memcached", "redis", "array"
+ |
+ */
+
+ 'driver' => 'file',
+
+ /*
+ |--------------------------------------------------------------------------
+ | File Cache Location
+ |--------------------------------------------------------------------------
+ |
+ | When using the "file" cache driver, we need a location where the cache
+ | files may be stored. A sensible default has been specified, but you
+ | are free to change it to any other place on disk that you desire.
+ |
+ */
+
+ 'path' => storage_path().'/cache',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Database Cache Connection
+ |--------------------------------------------------------------------------
+ |
+ | When using the "database" cache driver you may specify the connection
+ | that should be used to store the cached items. When this option is
+ | null the default database connection will be utilized for cache.
+ |
+ */
+
+ 'connection' => null,
+
+ /*
+ |--------------------------------------------------------------------------
+ | Database Cache Table
+ |--------------------------------------------------------------------------
+ |
+ | When using the "database" cache driver we need to know the table that
+ | should be used to store the cached items. A default table name has
+ | been provided but you're free to change it however you deem fit.
+ |
+ */
+
+ 'table' => 'cache',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Memcached Servers
+ |--------------------------------------------------------------------------
+ |
+ | Now you may specify an array of your Memcached servers that should be
+ | used when utilizing the Memcached cache driver. All of the servers
+ | should contain a value for "host", "port", and "weight" options.
+ |
+ */
+
+ 'memcached' => array(
+
+ array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
+
+ ),
+
+ /*
+ |--------------------------------------------------------------------------
+ | Cache Key Prefix
+ |--------------------------------------------------------------------------
+ |
+ | When utilizing a RAM based store such as APC or Memcached, there might
+ | be other applications utilizing the same cache. So, we'll specify a
+ | value to get prefixed to all our keys so we can avoid collisions.
+ |
+ */
+
+ 'prefix' => 'laravel',
);
diff --git a/src/fixture/app/config/compile.php b/src/fixture/app/config/compile.php
index d5e55181..45e5c2c6 100644
--- a/src/fixture/app/config/compile.php
+++ b/src/fixture/app/config/compile.php
@@ -2,16 +2,16 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Additional Compiled Classes
- |--------------------------------------------------------------------------
- |
- | Here you may specify additional classes to include in the compiled file
- | generated by the `artisan optimize` command. These should be classes
- | that are included on basically every request into the application.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Additional Compiled Classes
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify additional classes to include in the compiled file
+ | generated by the `artisan optimize` command. These should be classes
+ | that are included on basically every request into the application.
+ |
+ */
diff --git a/src/fixture/app/config/database.php b/src/fixture/app/config/database.php
index f479bf40..b3a80166 100644
--- a/src/fixture/app/config/database.php
+++ b/src/fixture/app/config/database.php
@@ -2,123 +2,123 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | PDO Fetch Style
- |--------------------------------------------------------------------------
- |
- | By default, database results will be returned as instances of the PHP
- | stdClass object; however, you may desire to retrieve records in an
- | array format for simplicity. Here you can tweak the fetch style.
- |
- */
-
- 'fetch' => PDO::FETCH_CLASS,
-
- /*
- |--------------------------------------------------------------------------
- | Default Database Connection Name
- |--------------------------------------------------------------------------
- |
- | Here you may specify which of the database connections below you wish
- | to use as your default connection for all database work. Of course
- | you may use many connections at once using the Database library.
- |
- */
-
- 'default' => 'mysql',
-
- /*
- |--------------------------------------------------------------------------
- | Database Connections
- |--------------------------------------------------------------------------
- |
- | Here are each of the database connections setup for your application.
- | Of course, examples of configuring each database platform that is
- | supported by Laravel is shown below to make development simple.
- |
- |
- | All database work in Laravel is done through the PHP PDO facilities
- | so make sure you have the driver for your particular database of
- | choice installed on your machine before you begin development.
- |
- */
-
- 'connections' => array(
-
- 'sqlite' => array(
- 'driver' => 'sqlite',
- 'database' => __DIR__.'/../database/production.sqlite',
- 'prefix' => '',
- ),
-
- 'mysql' => array(
- 'driver' => 'mysql',
- 'host' => 'localhost',
- 'database' => 'database',
- 'username' => 'root',
- 'password' => '',
- 'charset' => 'utf8',
- 'collation' => 'utf8_unicode_ci',
- 'prefix' => '',
- ),
-
- 'pgsql' => array(
- 'driver' => 'pgsql',
- 'host' => 'localhost',
- 'database' => 'database',
- 'username' => 'root',
- 'password' => '',
- 'charset' => 'utf8',
- 'prefix' => '',
- 'schema' => 'public',
- ),
-
- 'sqlsrv' => array(
- 'driver' => 'sqlsrv',
- 'host' => 'localhost',
- 'database' => 'database',
- 'username' => 'root',
- 'password' => '',
- 'prefix' => '',
- ),
-
- ),
-
- /*
- |--------------------------------------------------------------------------
- | Migration Repository Table
- |--------------------------------------------------------------------------
- |
- | This table keeps track of all the migrations that have already run for
- | your application. Using this information, we can determine which of
- | the migrations on disk have not actually be run in the databases.
- |
- */
-
- 'migrations' => 'migrations',
-
- /*
- |--------------------------------------------------------------------------
- | Redis Databases
- |--------------------------------------------------------------------------
- |
- | Redis is an open source, fast, and advanced key-value store that also
- | provides a richer set of commands than a typical key-value systems
- | such as APC or Memcached. Laravel makes it easy to dig right in.
- |
- */
-
- 'redis' => array(
-
- 'cluster' => true,
-
- 'default' => array(
- 'host' => '127.0.0.1',
- 'port' => 6379,
- 'database' => 0,
- ),
-
- ),
+ /*
+ |--------------------------------------------------------------------------
+ | PDO Fetch Style
+ |--------------------------------------------------------------------------
+ |
+ | By default, database results will be returned as instances of the PHP
+ | stdClass object; however, you may desire to retrieve records in an
+ | array format for simplicity. Here you can tweak the fetch style.
+ |
+ */
+
+ 'fetch' => PDO::FETCH_CLASS,
+
+ /*
+ |--------------------------------------------------------------------------
+ | Default Database Connection Name
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify which of the database connections below you wish
+ | to use as your default connection for all database work. Of course
+ | you may use many connections at once using the Database library.
+ |
+ */
+
+ 'default' => 'mysql',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Database Connections
+ |--------------------------------------------------------------------------
+ |
+ | Here are each of the database connections setup for your application.
+ | Of course, examples of configuring each database platform that is
+ | supported by Laravel is shown below to make development simple.
+ |
+ |
+ | All database work in Laravel is done through the PHP PDO facilities
+ | so make sure you have the driver for your particular database of
+ | choice installed on your machine before you begin development.
+ |
+ */
+
+ 'connections' => array(
+
+ 'sqlite' => array(
+ 'driver' => 'sqlite',
+ 'database' => __DIR__.'/../database/production.sqlite',
+ 'prefix' => '',
+ ),
+
+ 'mysql' => array(
+ 'driver' => 'mysql',
+ 'host' => 'localhost',
+ 'database' => 'database',
+ 'username' => 'root',
+ 'password' => '',
+ 'charset' => 'utf8',
+ 'collation' => 'utf8_unicode_ci',
+ 'prefix' => '',
+ ),
+
+ 'pgsql' => array(
+ 'driver' => 'pgsql',
+ 'host' => 'localhost',
+ 'database' => 'database',
+ 'username' => 'root',
+ 'password' => '',
+ 'charset' => 'utf8',
+ 'prefix' => '',
+ 'schema' => 'public',
+ ),
+
+ 'sqlsrv' => array(
+ 'driver' => 'sqlsrv',
+ 'host' => 'localhost',
+ 'database' => 'database',
+ 'username' => 'root',
+ 'password' => '',
+ 'prefix' => '',
+ ),
+
+ ),
+
+ /*
+ |--------------------------------------------------------------------------
+ | Migration Repository Table
+ |--------------------------------------------------------------------------
+ |
+ | This table keeps track of all the migrations that have already run for
+ | your application. Using this information, we can determine which of
+ | the migrations on disk have not actually be run in the databases.
+ |
+ */
+
+ 'migrations' => 'migrations',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Redis Databases
+ |--------------------------------------------------------------------------
+ |
+ | Redis is an open source, fast, and advanced key-value store that also
+ | provides a richer set of commands than a typical key-value systems
+ | such as APC or Memcached. Laravel makes it easy to dig right in.
+ |
+ */
+
+ 'redis' => array(
+
+ 'cluster' => true,
+
+ 'default' => array(
+ 'host' => '127.0.0.1',
+ 'port' => 6379,
+ 'database' => 0,
+ ),
+
+ ),
);
diff --git a/src/fixture/app/config/mail.php b/src/fixture/app/config/mail.php
index 3f55f11f..8d882a11 100644
--- a/src/fixture/app/config/mail.php
+++ b/src/fixture/app/config/mail.php
@@ -2,123 +2,123 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Mail Driver
- |--------------------------------------------------------------------------
- |
- | Laravel supports both SMTP and PHP's "mail" function as drivers for the
- | sending of e-mail. You may specify which one you're using throughout
- | your application here. By default, Laravel is setup for SMTP mail.
- |
- | Supported: "smtp", "mail", "sendmail"
- |
- */
-
- 'driver' => 'smtp',
-
- /*
- |--------------------------------------------------------------------------
- | SMTP Host Address
- |--------------------------------------------------------------------------
- |
- | Here you may provide the host address of the SMTP server used by your
- | applications. A default option is provided that is compatible with
- | the Postmark mail service, which will provide reliable delivery.
- |
- */
-
- 'host' => 'smtp.mailgun.org',
-
- /*
- |--------------------------------------------------------------------------
- | SMTP Host Port
- |--------------------------------------------------------------------------
- |
- | This is the SMTP port used by your application to delivery e-mails to
- | users of your application. Like the host we have set this value to
- | stay compatible with the Postmark e-mail application by default.
- |
- */
-
- 'port' => 587,
-
- /*
- |--------------------------------------------------------------------------
- | Global "From" Address
- |--------------------------------------------------------------------------
- |
- | You may wish for all e-mails sent by your application to be sent from
- | the same address. Here, you may specify a name and address that is
- | used globally for all e-mails that are sent by your application.
- |
- */
-
- 'from' => array('address' => null, 'name' => null),
-
- /*
- |--------------------------------------------------------------------------
- | E-Mail Encryption Protocol
- |--------------------------------------------------------------------------
- |
- | Here you may specify the encryption protocol that should be used when
- | the application send e-mail messages. A sensible default using the
- | transport layer security protocol should provide great security.
- |
- */
-
- 'encryption' => 'tls',
-
- /*
- |--------------------------------------------------------------------------
- | SMTP Server Username
- |--------------------------------------------------------------------------
- |
- | If your SMTP server requires a username for authentication, you should
- | set it here. This will get used to authenticate with your server on
- | connection. You may also set the "password" value below this one.
- |
- */
-
- 'username' => null,
-
- /*
- |--------------------------------------------------------------------------
- | SMTP Server Password
- |--------------------------------------------------------------------------
- |
- | Here you may set the password required by your SMTP server to send out
- | messages from your application. This will be given to the server on
- | connection so that the application will be able to send messages.
- |
- */
-
- 'password' => null,
-
- /*
- |--------------------------------------------------------------------------
- | Sendmail System Path
- |--------------------------------------------------------------------------
- |
- | When using the "sendmail" driver to send e-mails, we will need to know
- | the path to where Sendmail lives on this server. A default path has
- | been provided here, which will work well on most of your systems.
- |
- */
-
- 'sendmail' => '/usr/sbin/sendmail -bs',
-
- /*
- |--------------------------------------------------------------------------
- | Mail "Pretend"
- |--------------------------------------------------------------------------
- |
- | When this option is enabled, e-mail will not actually be sent over the
- | web and will instead be written to your application's logs files so
- | you may inspect the message. This is great for local development.
- |
- */
-
- 'pretend' => false,
+ /*
+ |--------------------------------------------------------------------------
+ | Mail Driver
+ |--------------------------------------------------------------------------
+ |
+ | Laravel supports both SMTP and PHP's "mail" function as drivers for the
+ | sending of e-mail. You may specify which one you're using throughout
+ | your application here. By default, Laravel is setup for SMTP mail.
+ |
+ | Supported: "smtp", "mail", "sendmail"
+ |
+ */
+
+ 'driver' => 'smtp',
+
+ /*
+ |--------------------------------------------------------------------------
+ | SMTP Host Address
+ |--------------------------------------------------------------------------
+ |
+ | Here you may provide the host address of the SMTP server used by your
+ | applications. A default option is provided that is compatible with
+ | the Postmark mail service, which will provide reliable delivery.
+ |
+ */
+
+ 'host' => 'smtp.mailgun.org',
+
+ /*
+ |--------------------------------------------------------------------------
+ | SMTP Host Port
+ |--------------------------------------------------------------------------
+ |
+ | This is the SMTP port used by your application to delivery e-mails to
+ | users of your application. Like the host we have set this value to
+ | stay compatible with the Postmark e-mail application by default.
+ |
+ */
+
+ 'port' => 587,
+
+ /*
+ |--------------------------------------------------------------------------
+ | Global "From" Address
+ |--------------------------------------------------------------------------
+ |
+ | You may wish for all e-mails sent by your application to be sent from
+ | the same address. Here, you may specify a name and address that is
+ | used globally for all e-mails that are sent by your application.
+ |
+ */
+
+ 'from' => array('address' => null, 'name' => null),
+
+ /*
+ |--------------------------------------------------------------------------
+ | E-Mail Encryption Protocol
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify the encryption protocol that should be used when
+ | the application send e-mail messages. A sensible default using the
+ | transport layer security protocol should provide great security.
+ |
+ */
+
+ 'encryption' => 'tls',
+
+ /*
+ |--------------------------------------------------------------------------
+ | SMTP Server Username
+ |--------------------------------------------------------------------------
+ |
+ | If your SMTP server requires a username for authentication, you should
+ | set it here. This will get used to authenticate with your server on
+ | connection. You may also set the "password" value below this one.
+ |
+ */
+
+ 'username' => null,
+
+ /*
+ |--------------------------------------------------------------------------
+ | SMTP Server Password
+ |--------------------------------------------------------------------------
+ |
+ | Here you may set the password required by your SMTP server to send out
+ | messages from your application. This will be given to the server on
+ | connection so that the application will be able to send messages.
+ |
+ */
+
+ 'password' => null,
+
+ /*
+ |--------------------------------------------------------------------------
+ | Sendmail System Path
+ |--------------------------------------------------------------------------
+ |
+ | When using the "sendmail" driver to send e-mails, we will need to know
+ | the path to where Sendmail lives on this server. A default path has
+ | been provided here, which will work well on most of your systems.
+ |
+ */
+
+ 'sendmail' => '/usr/sbin/sendmail -bs',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Mail "Pretend"
+ |--------------------------------------------------------------------------
+ |
+ | When this option is enabled, e-mail will not actually be sent over the
+ | web and will instead be written to your application's logs files so
+ | you may inspect the message. This is great for local development.
+ |
+ */
+
+ 'pretend' => false,
);
diff --git a/src/fixture/app/config/queue.php b/src/fixture/app/config/queue.php
index 220998cb..b8186584 100644
--- a/src/fixture/app/config/queue.php
+++ b/src/fixture/app/config/queue.php
@@ -2,59 +2,59 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Default Queue Driver
- |--------------------------------------------------------------------------
- |
- | The Laravel queue API supports a variety of back-ends via an unified
- | API, giving you convenient access to each back-end using the same
- | syntax for each one. Here you may set the default queue driver.
- |
- | Supported: "sync", "beanstalkd", "sqs", "iron"
- |
- */
-
- 'default' => 'sync',
-
- /*
- |--------------------------------------------------------------------------
- | Queue Connections
- |--------------------------------------------------------------------------
- |
- | Here you may configure the connection information for each server that
- | is used by your application. A default configuration has been added
- | for each back-end shipped with Laravel. You are free to add more.
- |
- */
-
- 'connections' => array(
-
- 'sync' => array(
- 'driver' => 'sync',
- ),
-
- 'beanstalkd' => array(
- 'driver' => 'beanstalkd',
- 'host' => 'localhost',
- 'queue' => 'default',
- ),
-
- 'sqs' => array(
- 'driver' => 'sqs',
- 'key' => 'your-public-key',
- 'secret' => 'your-secret-key',
- 'queue' => 'your-queue-url',
- 'region' => 'us-east-1',
- ),
-
- 'iron' => array(
- 'driver' => 'iron',
- 'project' => 'your-project-id',
- 'token' => 'your-token',
- 'queue' => 'your-queue-name',
- ),
-
- ),
+ /*
+ |--------------------------------------------------------------------------
+ | Default Queue Driver
+ |--------------------------------------------------------------------------
+ |
+ | The Laravel queue API supports a variety of back-ends via an unified
+ | API, giving you convenient access to each back-end using the same
+ | syntax for each one. Here you may set the default queue driver.
+ |
+ | Supported: "sync", "beanstalkd", "sqs", "iron"
+ |
+ */
+
+ 'default' => 'sync',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Queue Connections
+ |--------------------------------------------------------------------------
+ |
+ | Here you may configure the connection information for each server that
+ | is used by your application. A default configuration has been added
+ | for each back-end shipped with Laravel. You are free to add more.
+ |
+ */
+
+ 'connections' => array(
+
+ 'sync' => array(
+ 'driver' => 'sync',
+ ),
+
+ 'beanstalkd' => array(
+ 'driver' => 'beanstalkd',
+ 'host' => 'localhost',
+ 'queue' => 'default',
+ ),
+
+ 'sqs' => array(
+ 'driver' => 'sqs',
+ 'key' => 'your-public-key',
+ 'secret' => 'your-secret-key',
+ 'queue' => 'your-queue-url',
+ 'region' => 'us-east-1',
+ ),
+
+ 'iron' => array(
+ 'driver' => 'iron',
+ 'project' => 'your-project-id',
+ 'token' => 'your-token',
+ 'queue' => 'your-queue-name',
+ ),
+
+ ),
);
diff --git a/src/fixture/app/config/session.php b/src/fixture/app/config/session.php
index 549d3ff3..7e76d5b5 100644
--- a/src/fixture/app/config/session.php
+++ b/src/fixture/app/config/session.php
@@ -2,124 +2,124 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Default Session Driver
- |--------------------------------------------------------------------------
- |
- | This option controls the default session "driver" that will be used on
- | requests. By default, we will use the lightweight native driver but
- | you may specify any of the other wonderful drivers provided here.
- |
- | Supported: "native", "cookie", "database", "apc",
- | "memcached", "redis", "array"
- |
- */
-
- 'driver' => 'native',
-
- /*
- |--------------------------------------------------------------------------
- | Session Lifetime
- |--------------------------------------------------------------------------
- |
- | Here you may specify the number of minutes that you wish the session
- | to be allowed to remain idle before it expires. If you want them
- | to immediately expire when the browser closes, set it to zero.
- |
- */
-
- 'lifetime' => 120,
-
- /*
- |--------------------------------------------------------------------------
- | Session File Location
- |--------------------------------------------------------------------------
- |
- | When using the native session driver, we need a location where session
- | files may be stored. A default has been set for you but a different
- | location may be specified. This is only needed for file sessions.
- |
- */
-
- 'files' => storage_path().'/sessions',
-
- /*
- |--------------------------------------------------------------------------
- | Session Database Connection
- |--------------------------------------------------------------------------
- |
- | When using the "database" session driver, you may specify the database
- | connection that should be used to manage your sessions. This should
- | correspond to a connection in your "database" configuration file.
- |
- */
-
- 'connection' => null,
-
- /*
- |--------------------------------------------------------------------------
- | Session Database Table
- |--------------------------------------------------------------------------
- |
- | When using the "database" session driver, you may specify the table we
- | should use to manage the sessions. Of course, a sensible default is
- | provided for you; however, you are free to change this as needed.
- |
- */
-
- 'table' => 'sessions',
-
- /*
- |--------------------------------------------------------------------------
- | Session Sweeping Lottery
- |--------------------------------------------------------------------------
- |
- | Some session drivers must manually sweep their storage location to get
- | rid of old sessions from storage. Here are the chances that it will
- | happen on a given request. By default, the odds are 2 out of 100.
- |
- */
-
- 'lottery' => array(2, 100),
-
- /*
- |--------------------------------------------------------------------------
- | Session Cookie Name
- |--------------------------------------------------------------------------
- |
- | Here you may change the name of the cookie used to identify a session
- | instance by ID. The name specified here will get used every time a
- | new session cookie is created by the framework for every driver.
- |
- */
-
- 'cookie' => 'laravel_session',
-
- /*
- |--------------------------------------------------------------------------
- | Session Cookie Path
- |--------------------------------------------------------------------------
- |
- | The session cookie path determines the path for which the cookie will
- | be regarded as available. Typically, this will be the root path of
- | your application but you are free to change this when necessary.
- |
- */
-
- 'path' => '/',
-
- /*
- |--------------------------------------------------------------------------
- | Session Cookie Domain
- |--------------------------------------------------------------------------
- |
- | Here you may change the domain of the cookie used to identify a session
- | in your application. This will determine which domains the cookie is
- | available to in your application. A sensible default has been set.
- |
- */
-
- 'domain' => null,
+ /*
+ |--------------------------------------------------------------------------
+ | Default Session Driver
+ |--------------------------------------------------------------------------
+ |
+ | This option controls the default session "driver" that will be used on
+ | requests. By default, we will use the lightweight native driver but
+ | you may specify any of the other wonderful drivers provided here.
+ |
+ | Supported: "native", "cookie", "database", "apc",
+ | "memcached", "redis", "array"
+ |
+ */
+
+ 'driver' => 'native',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session Lifetime
+ |--------------------------------------------------------------------------
+ |
+ | Here you may specify the number of minutes that you wish the session
+ | to be allowed to remain idle before it expires. If you want them
+ | to immediately expire when the browser closes, set it to zero.
+ |
+ */
+
+ 'lifetime' => 120,
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session File Location
+ |--------------------------------------------------------------------------
+ |
+ | When using the native session driver, we need a location where session
+ | files may be stored. A default has been set for you but a different
+ | location may be specified. This is only needed for file sessions.
+ |
+ */
+
+ 'files' => storage_path().'/sessions',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session Database Connection
+ |--------------------------------------------------------------------------
+ |
+ | When using the "database" session driver, you may specify the database
+ | connection that should be used to manage your sessions. This should
+ | correspond to a connection in your "database" configuration file.
+ |
+ */
+
+ 'connection' => null,
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session Database Table
+ |--------------------------------------------------------------------------
+ |
+ | When using the "database" session driver, you may specify the table we
+ | should use to manage the sessions. Of course, a sensible default is
+ | provided for you; however, you are free to change this as needed.
+ |
+ */
+
+ 'table' => 'sessions',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session Sweeping Lottery
+ |--------------------------------------------------------------------------
+ |
+ | Some session drivers must manually sweep their storage location to get
+ | rid of old sessions from storage. Here are the chances that it will
+ | happen on a given request. By default, the odds are 2 out of 100.
+ |
+ */
+
+ 'lottery' => array(2, 100),
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session Cookie Name
+ |--------------------------------------------------------------------------
+ |
+ | Here you may change the name of the cookie used to identify a session
+ | instance by ID. The name specified here will get used every time a
+ | new session cookie is created by the framework for every driver.
+ |
+ */
+
+ 'cookie' => 'laravel_session',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session Cookie Path
+ |--------------------------------------------------------------------------
+ |
+ | The session cookie path determines the path for which the cookie will
+ | be regarded as available. Typically, this will be the root path of
+ | your application but you are free to change this when necessary.
+ |
+ */
+
+ 'path' => '/',
+
+ /*
+ |--------------------------------------------------------------------------
+ | Session Cookie Domain
+ |--------------------------------------------------------------------------
+ |
+ | Here you may change the domain of the cookie used to identify a session
+ | in your application. This will determine which domains the cookie is
+ | available to in your application. A sensible default has been set.
+ |
+ */
+
+ 'domain' => null,
);
diff --git a/src/fixture/app/config/view.php b/src/fixture/app/config/view.php
index eba10a4c..51f8e242 100644
--- a/src/fixture/app/config/view.php
+++ b/src/fixture/app/config/view.php
@@ -2,30 +2,30 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | View Storage Paths
- |--------------------------------------------------------------------------
- |
- | Most templating systems load templates from disk. Here you may specify
- | an array of paths that should be checked for your views. Of course
- | the usual Laravel view path has already been registered for you.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | View Storage Paths
+ |--------------------------------------------------------------------------
+ |
+ | Most templating systems load templates from disk. Here you may specify
+ | an array of paths that should be checked for your views. Of course
+ | the usual Laravel view path has already been registered for you.
+ |
+ */
- 'paths' => array(__DIR__.'/../views'),
+ 'paths' => array(__DIR__.'/../views'),
- /*
- |--------------------------------------------------------------------------
- | Pagination View
- |--------------------------------------------------------------------------
- |
- | This view will be used to render the pagination link output, and can
- | be easily customized here to show any view you like. A clean view
- | compatible with Twitter's Bootstrap is given to you by default.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Pagination View
+ |--------------------------------------------------------------------------
+ |
+ | This view will be used to render the pagination link output, and can
+ | be easily customized here to show any view you like. A clean view
+ | compatible with Twitter's Bootstrap is given to you by default.
+ |
+ */
- 'pagination' => 'pagination::slider',
+ 'pagination' => 'pagination::slider',
);
diff --git a/src/fixture/app/config/workbench.php b/src/fixture/app/config/workbench.php
index 87c5e387..e295fe06 100644
--- a/src/fixture/app/config/workbench.php
+++ b/src/fixture/app/config/workbench.php
@@ -2,30 +2,30 @@
return array(
- /*
- |--------------------------------------------------------------------------
- | Workbench Author Name
- |--------------------------------------------------------------------------
- |
- | When you create new packages via the Artisan "workbench" command your
- | name is needed to generate the composer.json file for your package.
- | You may specify it now so it is used for all of your workbenches.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Workbench Author Name
+ |--------------------------------------------------------------------------
+ |
+ | When you create new packages via the Artisan "workbench" command your
+ | name is needed to generate the composer.json file for your package.
+ | You may specify it now so it is used for all of your workbenches.
+ |
+ */
- 'name' => '',
+ 'name' => '',
- /*
- |--------------------------------------------------------------------------
- | Workbench Author E-Mail Address
- |--------------------------------------------------------------------------
- |
- | Like the option above, your e-mail address is used when generating new
- | workbench packages. The e-mail is placed in your composer.json file
- | automatically after the package is created by the workbench tool.
- |
- */
+ /*
+ |--------------------------------------------------------------------------
+ | Workbench Author E-Mail Address
+ |--------------------------------------------------------------------------
+ |
+ | Like the option above, your e-mail address is used when generating new
+ | workbench packages. The e-mail is placed in your composer.json file
+ | automatically after the package is created by the workbench tool.
+ |
+ */
- 'email' => '',
+ 'email' => '',
);