diff --git a/app/Http/Controllers/ItemController.php b/app/Http/Controllers/ItemController.php index f087c26e..ee5200d0 100644 --- a/app/Http/Controllers/ItemController.php +++ b/app/Http/Controllers/ItemController.php @@ -5,6 +5,7 @@ namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Item; use App\Setting; +use App\User; use App\SupportedApps\Nzbget; use Illuminate\Support\Facades\Storage; @@ -144,10 +145,13 @@ class ItemController extends Controller } $config = Item::checkConfig($request->input('config')); + $current_user = User::currentUser(); $request->merge([ - 'description' => $config + 'description' => $config, + 'user_id' => $current_user->id ]); + //die(print_r($request->input('config'))); $item = Item::create($request->all()); @@ -209,8 +213,10 @@ class ItemController extends Controller } $config = Item::checkConfig($request->input('config')); + $current_user = User::currentUser(); $request->merge([ - 'description' => $config + 'description' => $config, + 'user_id' => $current_user->id ]); $item = Item::find($id); diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index f3176130..a26b0d83 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -5,6 +5,7 @@ namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\User; +use Illuminate\Support\Str; class UserController extends Controller { @@ -38,7 +39,32 @@ class UserController extends Controller */ public function store(Request $request) { - // + $validatedData = $request->validate([ + 'name' => 'required|max:255', + 'email' => 'required|email', + 'password' => 'nullable', + 'password_confirmation' => 'nullable|confirmed' + + ]); + //die(print_r($request->all())); + if($request->hasFile('file')) { + $path = $request->file('file')->store('avatars'); + $request->merge([ + 'avatar' => $path + ]); + } + + if ((bool)$request->input('autologin_allow') === true) { + $request->merge([ + 'autologin' => (string)Str::uuid() + ]); + } + + $user = User::create($request->all()); + + $route = route('dash', [], false); + return redirect($route) + ->with('success',__('app.alert.success.user_updated')); } /** @@ -58,9 +84,11 @@ class UserController extends Controller * @param int $id * @return \Illuminate\Http\Response */ - public function edit($id) + public function edit(User $user) { - // + $data['user'] = $user; + return view('users.edit', $data); + } /** @@ -70,9 +98,38 @@ class UserController extends Controller * @param int $id * @return \Illuminate\Http\Response */ - public function update(Request $request, $id) + public function update(Request $request, User $user) { - // + $validatedData = $request->validate([ + 'name' => 'required|max:255', + 'email' => 'required|email', + 'password' => 'nullable', + 'password_confirmation' => 'nullable|confirmed' + ]); + //die(print_r($request->all())); + if($request->hasFile('file')) { + $path = $request->file('file')->store('avatars'); + $request->merge([ + 'avatar' => $path + ]); + } + if ((bool)$request->input('autologin_allow') === true) { + $autologin = (is_null($user->autologin)) ? (string)Str::uuid() : $user->autologin; + } else { + $autologin = null; + } + $request->merge([ + 'autologin' => $autologin + ]); + $input = $request->except(['password_confirmation', 'autologin_allow']); + //die(print_r($input)); + + $user->update($input); + + $route = route('dash', [], false); + return redirect($route) + ->with('success',__('app.alert.success.user_updated')); + } /** diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index ef1c00d1..6a0a1a44 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -19,11 +19,5 @@ class TrustProxies extends Middleware * * @var array */ - protected $headers = [ - Request::HEADER_FORWARDED => 'FORWARDED', - Request::HEADER_X_FORWARDED_FOR => 'X_FORWARDED_FOR', - Request::HEADER_X_FORWARDED_HOST => 'X_FORWARDED_HOST', - Request::HEADER_X_FORWARDED_PORT => 'X_FORWARDED_PORT', - Request::HEADER_X_FORWARDED_PROTO => 'X_FORWARDED_PROTO', - ]; + protected $headers = Request::HEADER_X_FORWARDED_ALL; } diff --git a/composer.json b/composer.json index 50f228c9..f22a0038 100644 --- a/composer.json +++ b/composer.json @@ -6,9 +6,9 @@ "type": "project", "require": { "php": ">=7.0.0", - "fideloper/proxy": "~3.3", + "fideloper/proxy": "^4.0", "guzzlehttp/guzzle": "^6.3", - "laravel/framework": "5.5.*", + "laravel/framework": "5.7.*", "laravel/tinker": "~1.0", "laravelcollective/html": "^5.5" }, diff --git a/composer.lock b/composer.lock index 46bbb5e0..ab3fabcf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "ab6533331102493e1757f58bb2b94824", + "content-hash": "bf16de2ee67c686f3b454d56cd12d6d6", "packages": [ { "name": "dnoegel/php-xdg-base-dir", @@ -161,17 +161,66 @@ "time": "2014-09-09T13:34:57+00:00" }, { - "name": "egulias/email-validator", - "version": "2.1.4", + "name": "dragonmantank/cron-expression", + "version": "v2.2.0", "source": { "type": "git", - "url": "https://github.com/egulias/EmailValidator.git", - "reference": "8790f594151ca6a2010c6218e09d96df67173ad3" + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "92a2c3768d50e21a1f26a53cb795ce72806266c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/8790f594151ca6a2010c6218e09d96df67173ad3", - "reference": "8790f594151ca6a2010c6218e09d96df67173ad3", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/92a2c3768d50e21a1f26a53cb795ce72806266c5", + "reference": "92a2c3768d50e21a1f26a53cb795ce72806266c5", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "time": "2018-06-06T03:12:17+00:00" + }, + { + "name": "egulias/email-validator", + "version": "2.1.6", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "0578b32b30b22de3e8664f797cf846fc9246f786" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0578b32b30b22de3e8664f797cf846fc9246f786", + "reference": "0578b32b30b22de3e8664f797cf846fc9246f786", "shasum": "" }, "require": { @@ -215,7 +264,7 @@ "validation", "validator" ], - "time": "2018-04-10T10:11:19+00:00" + "time": "2018-09-25T20:47:26+00:00" }, { "name": "erusev/parsedown", @@ -265,16 +314,16 @@ }, { "name": "fideloper/proxy", - "version": "3.3.4", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/fideloper/TrustedProxy.git", - "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f" + "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9cdf6f118af58d89764249bbcc7bb260c132924f", - "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f", + "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/cf8a0ca4b85659b9557e206c90110a6a4dba980a", + "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a", "shasum": "" }, "require": { @@ -282,15 +331,12 @@ "php": ">=5.4.0" }, "require-dev": { - "illuminate/http": "~5.0", - "mockery/mockery": "~0.9.3", - "phpunit/phpunit": "^5.7" + "illuminate/http": "~5.6", + "mockery/mockery": "~1.0", + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - }, "laravel": { "providers": [ "Fideloper\\Proxy\\TrustedProxyServiceProvider" @@ -318,7 +364,7 @@ "proxy", "trusted proxy" ], - "time": "2017-06-15T17:19:42+00:00" + "time": "2018-02-07T20:20:57+00:00" }, { "name": "guzzlehttp/guzzle", @@ -503,32 +549,32 @@ }, { "name": "jakub-onderka/php-console-color", - "version": "0.1", + "version": "v0.2", "source": { "type": "git", "url": "https://github.com/JakubOnderka/PHP-Console-Color.git", - "reference": "e0b393dacf7703fc36a4efc3df1435485197e6c1" + "reference": "d5deaecff52a0d61ccb613bb3804088da0307191" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/e0b393dacf7703fc36a4efc3df1435485197e6c1", - "reference": "e0b393dacf7703fc36a4efc3df1435485197e6c1", + "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/d5deaecff52a0d61ccb613bb3804088da0307191", + "reference": "d5deaecff52a0d61ccb613bb3804088da0307191", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": ">=5.4.0" }, "require-dev": { "jakub-onderka/php-code-style": "1.0", - "jakub-onderka/php-parallel-lint": "0.*", + "jakub-onderka/php-parallel-lint": "1.0", "jakub-onderka/php-var-dump-check": "0.*", - "phpunit/phpunit": "3.7.*", + "phpunit/phpunit": "~4.3", "squizlabs/php_codesniffer": "1.*" }, "type": "library", "autoload": { - "psr-0": { - "JakubOnderka\\PhpConsoleColor": "src/" + "psr-4": { + "JakubOnderka\\PhpConsoleColor\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -538,41 +584,41 @@ "authors": [ { "name": "Jakub Onderka", - "email": "jakub.onderka@gmail.com", - "homepage": "http://www.acci.cz" + "email": "jakub.onderka@gmail.com" } ], - "time": "2014-04-08T15:00:19+00:00" + "time": "2018-09-29T17:23:10+00:00" }, { "name": "jakub-onderka/php-console-highlighter", - "version": "v0.3.2", + "version": "v0.4", "source": { "type": "git", "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git", - "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5" + "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/7daa75df45242c8d5b75a22c00a201e7954e4fb5", - "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5", + "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547", + "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547", "shasum": "" }, "require": { - "jakub-onderka/php-console-color": "~0.1", - "php": ">=5.3.0" + "ext-tokenizer": "*", + "jakub-onderka/php-console-color": "~0.2", + "php": ">=5.4.0" }, "require-dev": { "jakub-onderka/php-code-style": "~1.0", - "jakub-onderka/php-parallel-lint": "~0.5", + "jakub-onderka/php-parallel-lint": "~1.0", "jakub-onderka/php-var-dump-check": "~0.1", "phpunit/phpunit": "~4.0", "squizlabs/php_codesniffer": "~1.5" }, "type": "library", "autoload": { - "psr-0": { - "JakubOnderka\\PhpConsoleHighlighter": "src/" + "psr-4": { + "JakubOnderka\\PhpConsoleHighlighter\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -586,46 +632,51 @@ "homepage": "http://www.acci.cz/" } ], - "time": "2015-04-20T18:58:01+00:00" + "description": "Highlight PHP code in terminal", + "time": "2018-09-29T18:48:56+00:00" }, { "name": "laravel/framework", - "version": "v5.5.40", + "version": "v5.7.9", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "d724ce0aa61bbd9adf658215eec484f5dd6711d6" + "reference": "172f69f86bb86e107fb9fafff293b4b01291cf05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/d724ce0aa61bbd9adf658215eec484f5dd6711d6", - "reference": "d724ce0aa61bbd9adf658215eec484f5dd6711d6", + "url": "https://api.github.com/repos/laravel/framework/zipball/172f69f86bb86e107fb9fafff293b4b01291cf05", + "reference": "172f69f86bb86e107fb9fafff293b4b01291cf05", "shasum": "" }, "require": { - "doctrine/inflector": "~1.1", - "erusev/parsedown": "~1.7", + "doctrine/inflector": "^1.1", + "dragonmantank/cron-expression": "^2.0", + "erusev/parsedown": "^1.7", "ext-mbstring": "*", "ext-openssl": "*", "league/flysystem": "^1.0.8", - "monolog/monolog": "~1.12", - "mtdowling/cron-expression": "~1.0", - "nesbot/carbon": "^1.24.1", - "php": ">=7.0", - "psr/container": "~1.0", + "monolog/monolog": "^1.12", + "nesbot/carbon": "^1.26.3", + "opis/closure": "^3.1", + "php": "^7.1.3", + "psr/container": "^1.0", "psr/simple-cache": "^1.0", - "ramsey/uuid": "~3.0", - "swiftmailer/swiftmailer": "~6.0", - "symfony/console": "~3.3", - "symfony/debug": "~3.3", - "symfony/finder": "~3.3", - "symfony/http-foundation": "~3.3", - "symfony/http-kernel": "~3.3", - "symfony/process": "~3.3", - "symfony/routing": "~3.3", - "symfony/var-dumper": "~3.3", - "tijsverkoyen/css-to-inline-styles": "~2.2", - "vlucas/phpdotenv": "~2.2" + "ramsey/uuid": "^3.7", + "swiftmailer/swiftmailer": "^6.0", + "symfony/console": "^4.1", + "symfony/debug": "^4.1", + "symfony/finder": "^4.1", + "symfony/http-foundation": "^4.1", + "symfony/http-kernel": "^4.1", + "symfony/process": "^4.1", + "symfony/routing": "^4.1", + "symfony/var-dumper": "^4.1", + "tijsverkoyen/css-to-inline-styles": "^2.2.1", + "vlucas/phpdotenv": "^2.2" + }, + "conflict": { + "tightenco/collect": "<5.5.33" }, "replace": { "illuminate/auth": "self.version", @@ -655,44 +706,48 @@ "illuminate/support": "self.version", "illuminate/translation": "self.version", "illuminate/validation": "self.version", - "illuminate/view": "self.version", - "tightenco/collect": "<5.5.33" + "illuminate/view": "self.version" }, "require-dev": { - "aws/aws-sdk-php": "~3.0", - "doctrine/dbal": "~2.5", + "aws/aws-sdk-php": "^3.0", + "doctrine/dbal": "^2.6", "filp/whoops": "^2.1.4", - "mockery/mockery": "~1.0", - "orchestra/testbench-core": "3.5.*", - "pda/pheanstalk": "~3.0", - "phpunit/phpunit": "~6.0", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "^1.0", + "moontoast/math": "^1.1", + "orchestra/testbench-core": "3.7.*", + "pda/pheanstalk": "^3.0", + "phpunit/phpunit": "^7.0", "predis/predis": "^1.1.1", - "symfony/css-selector": "~3.3", - "symfony/dom-crawler": "~3.3" + "symfony/css-selector": "^4.1", + "symfony/dom-crawler": "^4.1", + "true/punycode": "^2.1" }, "suggest": { - "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (~3.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.5).", + "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (^3.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", "ext-pcntl": "Required to use all features of the queue worker.", "ext-posix": "Required to use all features of the queue worker.", - "fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).", - "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).", - "laravel/tinker": "Required to use the tinker console command (~1.0).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).", - "league/flysystem-cached-adapter": "Required to use Flysystem caching (~1.0).", - "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).", - "nexmo/client": "Required to use the Nexmo transport (~1.0).", - "pda/pheanstalk": "Required to use the beanstalk queue driver (~3.0).", - "predis/predis": "Required to use the redis cache and queue drivers (~1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~3.0).", - "symfony/css-selector": "Required to use some of the crawler integration testing tools (~3.3).", - "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (~3.3).", - "symfony/psr-http-message-bridge": "Required to psr7 bridging features (~1.0)." + "fzaninotto/faker": "Required to use the eloquent factory builder (^1.4).", + "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (^6.0).", + "laravel/tinker": "Required to use the tinker console command (^1.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", + "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (^1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "moontoast/math": "Required to use ordered UUIDs (^1.1).", + "nexmo/client": "Required to use the Nexmo transport (^1.0).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^3.0).", + "predis/predis": "Required to use the redis cache and queue drivers (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^3.0).", + "symfony/css-selector": "Required to use some of the crawler integration testing tools (^4.1).", + "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (^4.1).", + "symfony/psr-http-message-bridge": "Required to psr7 bridging features (^1.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.5-dev" + "dev-master": "5.7-dev" } }, "autoload": { @@ -720,20 +775,20 @@ "framework", "laravel" ], - "time": "2018-03-30T13:29:30+00:00" + "time": "2018-10-09T13:28:28+00:00" }, { "name": "laravel/tinker", - "version": "v1.0.7", + "version": "v1.0.8", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "e3086ee8cb1f54a39ae8dcb72d1c37d10128997d" + "reference": "cafbf598a90acde68985660e79b2b03c5609a405" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/e3086ee8cb1f54a39ae8dcb72d1c37d10128997d", - "reference": "e3086ee8cb1f54a39ae8dcb72d1c37d10128997d", + "url": "https://api.github.com/repos/laravel/tinker/zipball/cafbf598a90acde68985660e79b2b03c5609a405", + "reference": "cafbf598a90acde68985660e79b2b03c5609a405", "shasum": "" }, "require": { @@ -783,39 +838,39 @@ "laravel", "psysh" ], - "time": "2018-05-17T13:42:07+00:00" + "time": "2018-10-12T19:39:35+00:00" }, { "name": "laravelcollective/html", - "version": "v5.5.4", + "version": "v5.7.1", "source": { "type": "git", "url": "https://github.com/LaravelCollective/html.git", - "reference": "04c596a69975b901f2223eb6eb4adf55354121c2" + "reference": "777b6d390811ba249255ed5750bf17a019cd88a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/LaravelCollective/html/zipball/04c596a69975b901f2223eb6eb4adf55354121c2", - "reference": "04c596a69975b901f2223eb6eb4adf55354121c2", + "url": "https://api.github.com/repos/LaravelCollective/html/zipball/777b6d390811ba249255ed5750bf17a019cd88a5", + "reference": "777b6d390811ba249255ed5750bf17a019cd88a5", "shasum": "" }, "require": { - "illuminate/http": "5.5.*", - "illuminate/routing": "5.5.*", - "illuminate/session": "5.5.*", - "illuminate/support": "5.5.*", - "illuminate/view": "5.5.*", - "php": ">=7.0.0" + "illuminate/http": "5.7.*", + "illuminate/routing": "5.7.*", + "illuminate/session": "5.7.*", + "illuminate/support": "5.7.*", + "illuminate/view": "5.7.*", + "php": ">=7.1.3" }, "require-dev": { - "illuminate/database": "5.5.*", - "mockery/mockery": "~0.9.4", - "phpunit/phpunit": "~5.4" + "illuminate/database": "5.7.*", + "mockery/mockery": "~1.0", + "phpunit/phpunit": "~7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.5-dev" + "dev-master": "5.7-dev" }, "laravel": { "providers": [ @@ -851,32 +906,32 @@ ], "description": "HTML and Form Builders for the Laravel Framework", "homepage": "https://laravelcollective.com", - "time": "2018-03-24T00:39:21+00:00" + "time": "2018-09-05T18:32:53+00:00" }, { "name": "league/flysystem", - "version": "1.0.45", + "version": "1.0.47", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "a99f94e63b512d75f851b181afcdf0ee9ebef7e6" + "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a99f94e63b512d75f851b181afcdf0ee9ebef7e6", - "reference": "a99f94e63b512d75f851b181afcdf0ee9ebef7e6", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a11e4a75f256bdacf99d20780ce42d3b8272975c", + "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c", "shasum": "" }, "require": { + "ext-fileinfo": "*", "php": ">=5.5.9" }, "conflict": { "league/flysystem-sftp": "<1.0.6" }, "require-dev": { - "ext-fileinfo": "*", "phpspec/phpspec": "^3.4", - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^5.7.10" }, "suggest": { "ext-fileinfo": "Required for MimeType", @@ -935,7 +990,7 @@ "sftp", "storage" ], - "time": "2018-05-07T08:44:23+00:00" + "time": "2018-09-14T15:30:29+00:00" }, { "name": "monolog/monolog", @@ -1015,62 +1070,18 @@ ], "time": "2017-06-19T01:22:40+00:00" }, - { - "name": "mtdowling/cron-expression", - "version": "v1.2.1", - "source": { - "type": "git", - "url": "https://github.com/mtdowling/cron-expression.git", - "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mtdowling/cron-expression/zipball/9504fa9ea681b586028adaaa0877db4aecf32bad", - "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Cron\\": "src/Cron/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", - "keywords": [ - "cron", - "schedule" - ], - "time": "2017-01-23T04:29:33+00:00" - }, { "name": "nesbot/carbon", - "version": "1.29.2", + "version": "1.34.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "ed6aa898982f441ccc9b2acdec51490f2bc5d337" + "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/ed6aa898982f441ccc9b2acdec51490f2bc5d337", - "reference": "ed6aa898982f441ccc9b2acdec51490f2bc5d337", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33", + "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33", "shasum": "" }, "require": { @@ -1082,6 +1093,13 @@ "phpunit/phpunit": "^4.8.35 || ^5.7" }, "type": "library", + "extra": { + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + } + }, "autoload": { "psr-4": { "": "src/" @@ -1105,20 +1123,20 @@ "datetime", "time" ], - "time": "2018-05-29T15:23:46+00:00" + "time": "2018-09-20T19:36:25+00:00" }, { "name": "nikic/php-parser", - "version": "v4.0.2", + "version": "v4.1.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "35b8caf75e791ba1b2d24fec1552168d72692b12" + "reference": "d0230c5c77a7e3cfa69446febf340978540958c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/35b8caf75e791ba1b2d24fec1552168d72692b12", - "reference": "35b8caf75e791ba1b2d24fec1552168d72692b12", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/d0230c5c77a7e3cfa69446febf340978540958c0", + "reference": "d0230c5c77a7e3cfa69446febf340978540958c0", "shasum": "" }, "require": { @@ -1134,7 +1152,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1156,37 +1174,94 @@ "parser", "php" ], - "time": "2018-06-03T11:33:10+00:00" + "time": "2018-10-10T09:24:14+00:00" }, { - "name": "paragonie/random_compat", - "version": "v2.0.15", + "name": "opis/closure", + "version": "3.1.1", "source": { "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09" + "url": "https://github.com/opis/closure.git", + "reference": "d3209e46ad6c69a969b705df0738fd0dbe26ef9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/10bcb46e8f3d365170f6de9d05245aa066b81f09", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09", + "url": "https://api.github.com/repos/opis/closure/zipball/d3209e46ad6c69a969b705df0738fd0dbe26ef9e", + "reference": "d3209e46ad6c69a969b705df0738fd0dbe26ef9e", "shasum": "" }, "require": { - "php": ">=5.2.0" + "php": "^5.4 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "4.*|5.*" + "jeremeamia/superclosure": "^2.0", + "phpunit/phpunit": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Opis\\Closure\\": "src/" + }, + "files": [ + "functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marius Sarca", + "email": "marius.sarca@gmail.com" + }, + { + "name": "Sorin Sarca", + "email": "sarca_sorin@hotmail.com" + } + ], + "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", + "homepage": "https://opis.io/closure", + "keywords": [ + "anonymous functions", + "closure", + "function", + "serializable", + "serialization", + "serialize" + ], + "time": "2018-10-02T13:36:53+00:00" + }, + { + "name": "paragonie/random_compat", + "version": "v9.99.99", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "shasum": "" + }, + "require": { + "php": "^7" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" }, "suggest": { "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." }, "type": "library", - "autoload": { - "files": [ - "lib/random.php" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -1205,7 +1280,7 @@ "pseudorandom", "random" ], - "time": "2018-06-08T15:26:40+00:00" + "time": "2018-07-02T15:55:56+00:00" }, { "name": "psr/container", @@ -1403,21 +1478,23 @@ }, { "name": "psy/psysh", - "version": "v0.9.6", + "version": "v0.9.9", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce" + "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4a2ce86f199d51b6e2524214dc06835e872f4fce", - "reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9aaf29575bb8293206bb0420c1e1c87ff2ffa94e", + "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e", "shasum": "" }, "require": { "dnoegel/php-xdg-base-dir": "0.1", - "jakub-onderka/php-console-highlighter": "0.3.*", + "ext-json": "*", + "ext-tokenizer": "*", + "jakub-onderka/php-console-highlighter": "0.3.*|0.4.*", "nikic/php-parser": "~1.3|~2.0|~3.0|~4.0", "php": ">=5.4.0", "symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0", @@ -1471,25 +1548,26 @@ "interactive", "shell" ], - "time": "2018-06-10T17:57:20+00:00" + "time": "2018-10-13T15:16:03+00:00" }, { "name": "ramsey/uuid", - "version": "3.7.3", + "version": "3.8.0", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "44abcdad877d9a46685a3a4d221e3b2c4b87cb76" + "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/44abcdad877d9a46685a3a4d221e3b2c4b87cb76", - "reference": "44abcdad877d9a46685a3a4d221e3b2c4b87cb76", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/d09ea80159c1929d75b3f9c60504d613aeb4a1e3", + "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3", "shasum": "" }, "require": { - "paragonie/random_compat": "^1.0|^2.0", - "php": "^5.4 || ^7.0" + "paragonie/random_compat": "^1.0|^2.0|9.99.99", + "php": "^5.4 || ^7.0", + "symfony/polyfill-ctype": "^1.8" }, "replace": { "rhumsaa/uuid": "self.version" @@ -1497,16 +1575,17 @@ "require-dev": { "codeception/aspect-mock": "^1.0 | ~2.0.0", "doctrine/annotations": "~1.2.0", - "goaop/framework": "1.0.0-alpha.2 | ^1.0 | ^2.1", + "goaop/framework": "1.0.0-alpha.2 | ^1.0 | ~2.1.0", "ircmaxell/random-lib": "^1.1", "jakub-onderka/php-parallel-lint": "^0.9.0", "mockery/mockery": "^0.9.9", "moontoast/math": "^1.1", "php-mock/php-mock-phpunit": "^0.3|^1.1", - "phpunit/phpunit": "^4.7|^5.0", + "phpunit/phpunit": "^4.7|^5.0|^6.5", "squizlabs/php_codesniffer": "^2.3" }, "suggest": { + "ext-ctype": "Provides support for PHP Ctype functions", "ext-libsodium": "Provides the PECL libsodium extension for use with the SodiumRandomGenerator", "ext-uuid": "Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator", "ircmaxell/random-lib": "Provides RandomLib for use with the RandomLibAdapter", @@ -1551,20 +1630,20 @@ "identifier", "uuid" ], - "time": "2018-01-20T00:28:24+00:00" + "time": "2018-07-19T23:38:55+00:00" }, { "name": "swiftmailer/swiftmailer", - "version": "v6.0.2", + "version": "v6.1.3", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "412333372fb6c8ffb65496a2bbd7321af75733fc" + "reference": "8ddcb66ac10c392d3beb54829eef8ac1438595f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/412333372fb6c8ffb65496a2bbd7321af75733fc", - "reference": "412333372fb6c8ffb65496a2bbd7321af75733fc", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8ddcb66ac10c392d3beb54829eef8ac1438595f4", + "reference": "8ddcb66ac10c392d3beb54829eef8ac1438595f4", "shasum": "" }, "require": { @@ -1575,10 +1654,14 @@ "mockery/mockery": "~0.9.1", "symfony/phpunit-bridge": "~3.3@dev" }, + "suggest": { + "ext-intl": "Needed to support internationalized email addresses", + "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.1-dev" } }, "autoload": { @@ -1600,31 +1683,30 @@ } ], "description": "Swiftmailer, free feature-rich PHP mailer", - "homepage": "http://swiftmailer.symfony.com", + "homepage": "https://swiftmailer.symfony.com", "keywords": [ "email", "mail", "mailer" ], - "time": "2017-09-30T22:39:41+00:00" + "time": "2018-09-11T07:12:52+00:00" }, { "name": "symfony/console", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "36f83f642443c46f3cf751d4d2ee5d047d757a27" + "reference": "dc7122fe5f6113cfaba3b3de575d31112c9aa60b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/36f83f642443c46f3cf751d4d2ee5d047d757a27", - "reference": "36f83f642443c46f3cf751d4d2ee5d047d757a27", + "url": "https://api.github.com/repos/symfony/console/zipball/dc7122fe5f6113cfaba3b3de575d31112c9aa60b", + "reference": "dc7122fe5f6113cfaba3b3de575d31112c9aa60b", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0|~4.0", + "php": "^7.1.3", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { @@ -1633,11 +1715,11 @@ }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.3|~4.0", + "symfony/config": "~3.4|~4.0", "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", + "symfony/event-dispatcher": "~3.4|~4.0", "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.3|~4.0" + "symfony/process": "~3.4|~4.0" }, "suggest": { "psr/log-implementation": "For using the console logger", @@ -1648,7 +1730,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1675,20 +1757,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2018-05-16T08:49:21+00:00" + "time": "2018-10-03T08:15:46+00:00" }, { "name": "symfony/css-selector", - "version": "v4.1.0", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "03ac71606ecb0b0ce792faa17d74cc32c2949ef4" + "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/03ac71606ecb0b0ce792faa17d74cc32c2949ef4", - "reference": "03ac71606ecb0b0ce792faa17d74cc32c2949ef4", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/d67de79a70a27d93c92c47f37ece958bf8de4d8a", + "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a", "shasum": "" }, "require": { @@ -1728,36 +1810,36 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "time": "2018-05-30T07:26:09+00:00" + "time": "2018-10-02T16:36:10+00:00" }, { "name": "symfony/debug", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68" + "reference": "e3f76ce6198f81994e019bb2b4e533e9de1b9b90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/b28fd73fefbac341f673f5efd707d539d6a19f68", - "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68", + "url": "https://api.github.com/repos/symfony/debug/zipball/e3f76ce6198f81994e019bb2b4e533e9de1b9b90", + "reference": "e3f76ce6198f81994e019bb2b4e533e9de1b9b90", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "psr/log": "~1.0" }, "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" + "symfony/http-kernel": "<3.4" }, "require-dev": { - "symfony/http-kernel": "~2.8|~3.0|~4.0" + "symfony/http-kernel": "~3.4|~4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1784,20 +1866,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2018-05-16T14:03:39+00:00" + "time": "2018-10-02T16:36:10+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v4.1.0", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "2391ed210a239868e7256eb6921b1bd83f3087b5" + "reference": "bfb30c2ad377615a463ebbc875eba64a99f6aa3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2391ed210a239868e7256eb6921b1bd83f3087b5", - "reference": "2391ed210a239868e7256eb6921b1bd83f3087b5", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/bfb30c2ad377615a463ebbc875eba64a99f6aa3e", + "reference": "bfb30c2ad377615a463ebbc875eba64a99f6aa3e", "shasum": "" }, "require": { @@ -1847,29 +1929,29 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2018-04-06T07:35:57+00:00" + "time": "2018-07-26T09:10:45+00:00" }, { "name": "symfony/finder", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "472a92f3df8b247b49ae364275fb32943b9656c6" + "reference": "1f17195b44543017a9c9b2d437c670627e96ad06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/472a92f3df8b247b49ae364275fb32943b9656c6", - "reference": "472a92f3df8b247b49ae364275fb32943b9656c6", + "url": "https://api.github.com/repos/symfony/finder/zipball/1f17195b44543017a9c9b2d437c670627e96ad06", + "reference": "1f17195b44543017a9c9b2d437c670627e96ad06", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1896,34 +1978,34 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2018-05-16T08:49:21+00:00" + "time": "2018-10-03T08:47:56+00:00" }, { "name": "symfony/http-foundation", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "a7b5fc605d1c215cea1122359044b1e682eb70c0" + "reference": "d528136617ff24f530e70df9605acc1b788b08d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a7b5fc605d1c215cea1122359044b1e682eb70c0", - "reference": "a7b5fc605d1c215cea1122359044b1e682eb70c0", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d528136617ff24f530e70df9605acc1b788b08d4", + "reference": "d528136617ff24f530e70df9605acc1b788b08d4", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php70": "~1.6" + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.1" }, "require-dev": { - "symfony/expression-language": "~2.8|~3.0|~4.0" + "predis/predis": "~1.0", + "symfony/expression-language": "~3.4|~4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -1950,34 +2032,34 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2018-05-25T11:07:31+00:00" + "time": "2018-10-03T08:48:45+00:00" }, { "name": "symfony/http-kernel", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "3dac45df55ee0c5134c457a730cd68e2a2ce0445" + "reference": "f5e7c15a5d010be0e16ce798594c5960451d4220" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/3dac45df55ee0c5134c457a730cd68e2a2ce0445", - "reference": "3dac45df55ee0c5134c457a730cd68e2a2ce0445", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f5e7c15a5d010be0e16ce798594c5960451d4220", + "reference": "f5e7c15a5d010be0e16ce798594c5960451d4220", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "psr/log": "~1.0", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "^3.4.4|^4.0.4", + "symfony/debug": "~3.4|~4.0", + "symfony/event-dispatcher": "~4.1", + "symfony/http-foundation": "^4.1.1", "symfony/polyfill-ctype": "~1.8" }, "conflict": { - "symfony/config": "<2.8", - "symfony/dependency-injection": "<3.4.5|<4.0.5,>=4", - "symfony/var-dumper": "<3.3", + "symfony/config": "<3.4", + "symfony/dependency-injection": "<4.1", + "symfony/var-dumper": "<4.1.1", "twig/twig": "<1.34|<2.4,>=2" }, "provide": { @@ -1985,34 +2067,32 @@ }, "require-dev": { "psr/cache": "~1.0", - "symfony/browser-kit": "~2.8|~3.0|~4.0", - "symfony/class-loader": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/console": "~2.8|~3.0|~4.0", - "symfony/css-selector": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "^3.4.5|^4.0.5", - "symfony/dom-crawler": "~2.8|~3.0|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/process": "~2.8|~3.0|~4.0", + "symfony/browser-kit": "~3.4|~4.0", + "symfony/config": "~3.4|~4.0", + "symfony/console": "~3.4|~4.0", + "symfony/css-selector": "~3.4|~4.0", + "symfony/dependency-injection": "^4.1", + "symfony/dom-crawler": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/finder": "~3.4|~4.0", + "symfony/process": "~3.4|~4.0", "symfony/routing": "~3.4|~4.0", - "symfony/stopwatch": "~2.8|~3.0|~4.0", - "symfony/templating": "~2.8|~3.0|~4.0", - "symfony/translation": "~2.8|~3.0|~4.0", - "symfony/var-dumper": "~3.3|~4.0" + "symfony/stopwatch": "~3.4|~4.0", + "symfony/templating": "~3.4|~4.0", + "symfony/translation": "~3.4|~4.0", + "symfony/var-dumper": "^4.1.1" }, "suggest": { "symfony/browser-kit": "", "symfony/config": "", "symfony/console": "", "symfony/dependency-injection": "", - "symfony/finder": "", "symfony/var-dumper": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -2039,29 +2119,32 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2018-05-25T13:16:28+00:00" + "time": "2018-10-03T12:53:38+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.8.0", + "version": "v1.9.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae" + "reference": "e3d826245268269cd66f8326bd8bc066687b4a19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae", - "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19", + "reference": "e3d826245268269cd66f8326bd8bc066687b4a19", "shasum": "" }, "require": { "php": ">=5.3.3" }, + "suggest": { + "ext-ctype": "For best performance" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -2094,20 +2177,20 @@ "polyfill", "portable" ], - "time": "2018-04-30T19:57:29+00:00" + "time": "2018-08-06T14:22:27+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.8.0", + "version": "v1.9.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "3296adf6a6454a050679cde90f95350ad604b171" + "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171", - "reference": "3296adf6a6454a050679cde90f95350ad604b171", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8", + "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8", "shasum": "" }, "require": { @@ -2119,7 +2202,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.9-dev" } }, "autoload": { @@ -2153,41 +2236,37 @@ "portable", "shim" ], - "time": "2018-04-26T10:06:28+00:00" + "time": "2018-08-06T14:22:27+00:00" }, { - "name": "symfony/polyfill-php70", - "version": "v1.8.0", + "name": "symfony/polyfill-php72", + "version": "v1.9.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6" + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "95c50420b0baed23852452a7f0c7b527303ed5ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/77454693d8f10dd23bb24955cffd2d82db1007a6", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/95c50420b0baed23852452a7f0c7b527303ed5ae", + "reference": "95c50420b0baed23852452a7f0c7b527303ed5ae", "shasum": "" }, "require": { - "paragonie/random_compat": "~1.0|~2.0", "php": ">=5.3.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.9-dev" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" + "Symfony\\Polyfill\\Php72\\": "" }, "files": [ "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2204,7 +2283,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -2212,29 +2291,29 @@ "portable", "shim" ], - "time": "2018-04-26T10:06:28+00:00" + "time": "2018-08-06T14:22:27+00:00" }, { "name": "symfony/process", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "4cbf2db9abcb01486a21b7a059e03a62fae63187" + "reference": "ee33c0322a8fee0855afcc11fff81e6b1011b529" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/4cbf2db9abcb01486a21b7a059e03a62fae63187", - "reference": "4cbf2db9abcb01486a21b7a059e03a62fae63187", + "url": "https://api.github.com/repos/symfony/process/zipball/ee33c0322a8fee0855afcc11fff81e6b1011b529", + "reference": "ee33c0322a8fee0855afcc11fff81e6b1011b529", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -2261,38 +2340,37 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2018-05-16T08:49:21+00:00" + "time": "2018-10-02T12:40:59+00:00" }, { "name": "symfony/routing", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "e382da877f5304aabc12ec3073eec430670c8296" + "reference": "537803f0bdfede36b9acef052d2e4d447d9fa0e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/e382da877f5304aabc12ec3073eec430670c8296", - "reference": "e382da877f5304aabc12ec3073eec430670c8296", + "url": "https://api.github.com/repos/symfony/routing/zipball/537803f0bdfede36b9acef052d2e4d447d9fa0e9", + "reference": "537803f0bdfede36b9acef052d2e4d447d9fa0e9", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "conflict": { - "symfony/config": "<3.3.1", - "symfony/dependency-injection": "<3.3", + "symfony/config": "<3.4", + "symfony/dependency-injection": "<3.4", "symfony/yaml": "<3.4" }, "require-dev": { "doctrine/annotations": "~1.0", - "doctrine/common": "~2.2", "psr/log": "~1.0", - "symfony/config": "^3.3.1|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "~2.8|~3.0|~4.0", + "symfony/config": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/http-foundation": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0" }, "suggest": { @@ -2306,7 +2384,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -2339,20 +2417,20 @@ "uri", "url" ], - "time": "2018-05-16T12:49:49+00:00" + "time": "2018-10-02T12:40:59+00:00" }, { "name": "symfony/translation", - "version": "v4.1.0", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a" + "reference": "9f0b61e339160a466ebcde167a6c5521c810e304" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/16328f5b217cebc8dd4adfe4aeeaa8c377581f5a", - "reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a", + "url": "https://api.github.com/repos/symfony/translation/zipball/9f0b61e339160a466ebcde167a6c5521c810e304", + "reference": "9f0b61e339160a466ebcde167a6c5521c810e304", "shasum": "" }, "require": { @@ -2408,42 +2486,48 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2018-05-30T07:26:09+00:00" + "time": "2018-10-02T16:36:10+00:00" }, { "name": "symfony/var-dumper", - "version": "v3.4.11", + "version": "v4.1.6", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "0e6545672d8c9ce70dd472adc2f8b03155a46f73" + "reference": "60319b45653580b0cdacca499344577d87732f16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/0e6545672d8c9ce70dd472adc2f8b03155a46f73", - "reference": "0e6545672d8c9ce70dd472adc2f8b03155a46f73", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/60319b45653580b0cdacca499344577d87732f16", + "reference": "60319b45653580b0cdacca499344577d87732f16", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.0" + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php72": "~1.5" }, "conflict": { - "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/console": "<3.4" }, "require-dev": { "ext-iconv": "*", + "symfony/process": "~3.4|~4.0", "twig/twig": "~1.34|~2.4" }, "suggest": { "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", "ext-intl": "To show region name in time zone dump", - "ext-symfony_debug": "" + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" }, + "bin": [ + "Resources/bin/var-dump-server" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.1-dev" } }, "autoload": { @@ -2477,7 +2561,7 @@ "debug", "dump" ], - "time": "2018-04-26T12:42:15+00:00" + "time": "2018-10-02T16:36:10+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -2528,28 +2612,28 @@ }, { "name": "vlucas/phpdotenv", - "version": "v2.4.0", + "version": "v2.5.1", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c" + "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c", - "reference": "3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", + "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", "shasum": "" }, "require": { "php": ">=5.3.9" }, "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.0" + "phpunit/phpunit": "^4.8.35 || ^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.4-dev" + "dev-master": "2.5-dev" } }, "autoload": { @@ -2559,7 +2643,7 @@ }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause-Attribution" + "BSD-3-Clause" ], "authors": [ { @@ -2574,7 +2658,7 @@ "env", "environment" ], - "time": "2016-09-01T10:05:43+00:00" + "time": "2018-07-29T20:33:41+00:00" } ], "packages-dev": [ @@ -2634,16 +2718,16 @@ }, { "name": "filp/whoops", - "version": "2.2.0", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "181c4502d8f34db7aed7bfe88d4f87875b8e947a" + "reference": "e79cd403fb77fc8963a99ecc30e80ddd885b3311" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/181c4502d8f34db7aed7bfe88d4f87875b8e947a", - "reference": "181c4502d8f34db7aed7bfe88d4f87875b8e947a", + "url": "https://api.github.com/repos/filp/whoops/zipball/e79cd403fb77fc8963a99ecc30e80ddd885b3311", + "reference": "e79cd403fb77fc8963a99ecc30e80ddd885b3311", "shasum": "" }, "require": { @@ -2662,7 +2746,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.2-dev" } }, "autoload": { @@ -2691,20 +2775,20 @@ "throwable", "whoops" ], - "time": "2018-03-03T17:56:25+00:00" + "time": "2018-06-30T13:14:06+00:00" }, { "name": "fzaninotto/faker", - "version": "v1.7.1", + "version": "v1.8.0", "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d" + "reference": "f72816b43e74063c8b10357394b6bba8cb1c10de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", - "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/f72816b43e74063c8b10357394b6bba8cb1c10de", + "reference": "f72816b43e74063c8b10357394b6bba8cb1c10de", "shasum": "" }, "require": { @@ -2712,7 +2796,7 @@ }, "require-dev": { "ext-intl": "*", - "phpunit/phpunit": "^4.0 || ^5.0", + "phpunit/phpunit": "^4.8.35 || ^5.7", "squizlabs/php_codesniffer": "^1.5" }, "type": "library", @@ -2741,7 +2825,7 @@ "faker", "fixtures" ], - "time": "2017-08-15T16:48:10+00:00" + "time": "2018-07-12T10:23:15+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -2793,16 +2877,16 @@ }, { "name": "mockery/mockery", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "99e29d3596b16dabe4982548527d5ddf90232e99" + "reference": "100633629bf76d57430b86b7098cd6beb996a35a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/99e29d3596b16dabe4982548527d5ddf90232e99", - "reference": "99e29d3596b16dabe4982548527d5ddf90232e99", + "url": "https://api.github.com/repos/mockery/mockery/zipball/100633629bf76d57430b86b7098cd6beb996a35a", + "reference": "100633629bf76d57430b86b7098cd6beb996a35a", "shasum": "" }, "require": { @@ -2811,8 +2895,7 @@ "php": ">=5.6.0" }, "require-dev": { - "phpdocumentor/phpdocumentor": "^2.9", - "phpunit/phpunit": "~5.7.10|~6.5" + "phpunit/phpunit": "~5.7.10|~6.5|~7.0" }, "type": "library", "extra": { @@ -2855,7 +2938,7 @@ "test double", "testing" ], - "time": "2018-05-08T08:54:48+00:00" + "time": "2018-10-02T21:52:37+00:00" }, { "name": "myclabs/deep-copy", @@ -3161,16 +3244,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.7.6", + "version": "1.8.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712" + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", "shasum": "" }, "require": { @@ -3182,12 +3265,12 @@ }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7.x-dev" + "dev-master": "1.8.x-dev" } }, "autoload": { @@ -3220,7 +3303,7 @@ "spy", "stub" ], - "time": "2018-04-18T13:57:24+00:00" + "time": "2018-08-05T17:53:17+00:00" }, { "name": "phpunit/php-code-coverage", @@ -3473,16 +3556,16 @@ }, { "name": "phpunit/phpunit", - "version": "6.5.8", + "version": "6.5.13", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "4f21a3c6b97c42952fd5c2837bb354ec0199b97b" + "reference": "0973426fb012359b2f18d3bd1e90ef1172839693" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4f21a3c6b97c42952fd5c2837bb354ec0199b97b", - "reference": "4f21a3c6b97c42952fd5c2837bb354ec0199b97b", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693", + "reference": "0973426fb012359b2f18d3bd1e90ef1172839693", "shasum": "" }, "require": { @@ -3500,7 +3583,7 @@ "phpunit/php-file-iterator": "^1.4.3", "phpunit/php-text-template": "^1.2.1", "phpunit/php-timer": "^1.0.9", - "phpunit/phpunit-mock-objects": "^5.0.5", + "phpunit/phpunit-mock-objects": "^5.0.9", "sebastian/comparator": "^2.1", "sebastian/diff": "^2.0", "sebastian/environment": "^3.1", @@ -3553,20 +3636,20 @@ "testing", "xunit" ], - "time": "2018-04-10T11:38:34+00:00" + "time": "2018-09-08T15:10:43+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "5.0.7", + "version": "5.0.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "3eaf040f20154d27d6da59ca2c6e28ac8fd56dce" + "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3eaf040f20154d27d6da59ca2c6e28ac8fd56dce", - "reference": "3eaf040f20154d27d6da59ca2c6e28ac8fd56dce", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f", + "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f", "shasum": "" }, "require": { @@ -3579,7 +3662,7 @@ "phpunit/phpunit": "<6.0" }, "require-dev": { - "phpunit/phpunit": "^6.5" + "phpunit/phpunit": "^6.5.11" }, "suggest": { "ext-soap": "*" @@ -3612,7 +3695,7 @@ "mock", "xunit" ], - "time": "2018-05-29T13:50:43+00:00" + "time": "2018-08-09T05:50:03+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -4175,16 +4258,16 @@ }, { "name": "symfony/thanks", - "version": "v1.0.7", + "version": "v1.1.0", "source": { "type": "git", "url": "https://github.com/symfony/thanks.git", - "reference": "bade4992c46ed722162694b4af8d72f84402819a" + "reference": "9474a631b52737c623b6aeba22f00bbc003251da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/thanks/zipball/bade4992c46ed722162694b4af8d72f84402819a", - "reference": "bade4992c46ed722162694b4af8d72f84402819a", + "url": "https://api.github.com/repos/symfony/thanks/zipball/9474a631b52737c623b6aeba22f00bbc003251da", + "reference": "9474a631b52737c623b6aeba22f00bbc003251da", "shasum": "" }, "require": { @@ -4214,7 +4297,7 @@ } ], "description": "Give thanks (in the form of a GitHub ⭐) to your fellow PHP package maintainers (not limited to Symfony components)!", - "time": "2018-03-14T21:51:39+00:00" + "time": "2018-08-24T14:08:13+00:00" }, { "name": "theseer/tokenizer", diff --git a/database/migrations/2018_10_12_122907_create_users_table.php b/database/migrations/2018_10_12_122907_create_users_table.php index 4deecd7b..d8a7d645 100644 --- a/database/migrations/2018_10_12_122907_create_users_table.php +++ b/database/migrations/2018_10_12_122907_create_users_table.php @@ -19,6 +19,7 @@ class CreateUsersTable extends Migration $table->string('email')->unique(); $table->string('avatar')->nullable(); $table->string('password')->nullable(); + $table->string('autologin')->nullable(); $table->boolean('public_front')->default(false); $table->rememberToken(); $table->timestamps(); diff --git a/resources/lang/en/app.php b/resources/lang/en/app.php index 07baf280..15658b89 100644 --- a/resources/lang/en/app.php +++ b/resources/lang/en/app.php @@ -79,6 +79,7 @@ return [ 'user.email' => 'Email', 'user.password_confirm' => 'Confirm Password', 'user.secure_front' => 'Allow public access to front - Only enforced if a password is set.', + 'user.autologin' => 'Allow logging in from a specific URL. Anyone with the link can login.', 'url' => 'URL', 'title' => 'Title', @@ -99,5 +100,10 @@ return [ 'alert.success.setting_updated' => 'You have successfully edited this setting', 'alert.error.not_exist' => 'This setting does not exist.', + 'alert.success.user_created' => 'User created successfully', + 'alert.success.user_updated' => 'User updated successfully', + 'alert.success.user_deleted' => 'User deleted successfully', + 'alert.success.user_restored' => 'User restored successfully', + ]; diff --git a/resources/views/users/create.blade.php b/resources/views/users/create.blade.php index e2adb8eb..8ba7e1b1 100644 --- a/resources/views/users/create.blade.php +++ b/resources/views/users/create.blade.php @@ -2,7 +2,7 @@ @section('content') - {!! Form::open(array('route' => 'users.store', 'id' => 'itemform', 'files' => true, 'method'=>'POST')) !!} + {!! Form::open(array('route' => 'users.store', 'id' => 'userform', 'files' => true, 'method'=>'POST')) !!} @include('users.form') {!! Form::close() !!} diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index 2b721b66..8d6c0361 100644 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -2,7 +2,7 @@ @section('content') - {!! Form::model($item, ['method' => 'PATCH', 'id' => 'itemform', 'files' => true, 'route' => ['users.update', $item->id]]) !!} + {!! Form::model($user, ['method' => 'PATCH', 'id' => 'userform', 'files' => true, 'route' => ['users.update', $user->id]]) !!} @include('users.form') {!! Form::close() !!} diff --git a/resources/views/users/form.blade.php b/resources/views/users/form.blade.php index ee6c27f2..01d14cea 100644 --- a/resources/views/users/form.blade.php +++ b/resources/views/users/form.blade.php @@ -3,7 +3,7 @@
{{ __('app.user.add_user') }}
- {{ __('app.buttons.cancel') }} + {{ __('app.buttons.cancel') }}
@@ -13,26 +13,19 @@ {!! Form::text('name', null, array('placeholder' => __('app.user.name'), 'id' => 'appname', 'class' => 'form-control')) !!}
- - {!! Form::text('title', null, array('placeholder' => __('app.apps.title'), 'id' => 'appname', 'class' => 'form-control')) !!} -
-
{!! Form::text('email', null, array('placeholder' => 'email@test.com','class' => 'form-control')) !!}
- - {!! Form::text('colour', null, array('placeholder' => __('app.apps.hex'),'class' => 'form-control color-picker')) !!} -
- @if(isset($item->avatar) && !empty($item->avatar) || old('avatar')) + @if(isset($user->avatar) && !empty($user->avatar) || old('avatar')) avatar)) $avatar = $item->avatar; + if(isset($user->avatar)) $avatar = $user->avatar; else $avatar = old('avatar'); ?> @@ -50,46 +43,52 @@
- - {!! Form::text('title', null, array('placeholder' => __('app.apps.title'), 'id' => 'appname', 'class' => 'form-control')) !!} + + {!! Form::password('password', null, array('class' => 'form-control')) !!}
- - {!! Form::hidden('pinned', '0') !!} -
- - {!! Form::text('colour', null, array('placeholder' => __('app.apps.hex'),'class' => 'form-control color-picker')) !!} + + {!! Form::password('password_confirmation', null, array('class' => 'form-control')) !!}
- - - @if(isset($item) && isset($item->config->view)) -
- @if(isset($item)) - @include('supportedapps.'.$item->config->view) - @endif +
+ + {!! Form::hidden('public_front', '1') !!} +
- @else -
- @endif - +
+ + {!! Form::hidden('autologin_allow', '0') !!} + + +
+ +
diff --git a/vendor/bin/var-dump-server b/vendor/bin/var-dump-server new file mode 120000 index 00000000..6bd4e93d --- /dev/null +++ b/vendor/bin/var-dump-server @@ -0,0 +1 @@ +../symfony/var-dumper/Resources/bin/var-dump-server \ No newline at end of file diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php index dc02dfb1..2c72175e 100644 --- a/vendor/composer/ClassLoader.php +++ b/vendor/composer/ClassLoader.php @@ -379,9 +379,9 @@ class ClassLoader $subPath = substr($subPath, 0, $lastPos); $search = $subPath.'\\'; if (isset($this->prefixDirsPsr4[$search])) { - $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); foreach ($this->prefixDirsPsr4[$search] as $dir) { - if (file_exists($file = $dir . $pathEnd)) { + $length = $this->prefixLengthsPsr4[$first][$search]; + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { return $file; } } diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE index f0157a6e..f27399a0 100644 --- a/vendor/composer/LICENSE +++ b/vendor/composer/LICENSE @@ -1,56 +1,21 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: Composer -Upstream-Contact: Jordi Boggiano -Source: https://github.com/composer/composer -Files: * -Copyright: 2016, Nils Adermann - 2016, Jordi Boggiano -License: Expat +Copyright (c) Nils Adermann, Jordi Boggiano -Files: src/Composer/Util/TlsHelper.php -Copyright: 2016, Nils Adermann - 2016, Jordi Boggiano - 2013, Evan Coury -License: Expat and BSD-2-Clause +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: -License: BSD-2-Clause - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - . - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - . - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - . - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. -License: Expat - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is furnished - to do so, subject to the following conditions: - . - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 751c186b..a97d316b 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -13,6 +13,7 @@ return array( 'App\\Http\\Controllers\\Auth\\RegisterController' => $baseDir . '/app/Http/Controllers/Auth/RegisterController.php', 'App\\Http\\Controllers\\Auth\\ResetPasswordController' => $baseDir . '/app/Http/Controllers/Auth/ResetPasswordController.php', 'App\\Http\\Controllers\\Controller' => $baseDir . '/app/Http/Controllers/Controller.php', + 'App\\Http\\Controllers\\HomeController' => $baseDir . '/app/Http/Controllers/HomeController.php', 'App\\Http\\Controllers\\ItemController' => $baseDir . '/app/Http/Controllers/ItemController.php', 'App\\Http\\Controllers\\SettingsController' => $baseDir . '/app/Http/Controllers/SettingsController.php', 'App\\Http\\Controllers\\TagController' => $baseDir . '/app/Http/Controllers/TagController.php', @@ -94,12 +95,11 @@ return array( 'App\\SupportedApps\\pyLoad' => $baseDir . '/app/SupportedApps/pyLoad.php', 'App\\SupportedApps\\ruTorrent' => $baseDir . '/app/SupportedApps/ruTorrent.php', 'App\\User' => $baseDir . '/app/User.php', - 'ArithmeticError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php', - 'AssertionError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php', 'Carbon\\Carbon' => $vendorDir . '/nesbot/carbon/src/Carbon/Carbon.php', 'Carbon\\CarbonInterval' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonInterval.php', 'Carbon\\CarbonPeriod' => $vendorDir . '/nesbot/carbon/src/Carbon/CarbonPeriod.php', 'Carbon\\Exceptions\\InvalidDateException' => $vendorDir . '/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php', + 'Carbon\\Laravel\\ServiceProvider' => $vendorDir . '/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php', 'Carbon\\Translator' => $vendorDir . '/nesbot/carbon/src/Carbon/Translator.php', 'Collective\\Html\\Componentable' => $vendorDir . '/laravelcollective/html/src/Componentable.php', 'Collective\\Html\\Eloquent\\FormAccessible' => $vendorDir . '/laravelcollective/html/src/Eloquent/FormAccessible.php', @@ -108,16 +108,15 @@ return array( 'Collective\\Html\\HtmlBuilder' => $vendorDir . '/laravelcollective/html/src/HtmlBuilder.php', 'Collective\\Html\\HtmlFacade' => $vendorDir . '/laravelcollective/html/src/HtmlFacade.php', 'Collective\\Html\\HtmlServiceProvider' => $vendorDir . '/laravelcollective/html/src/HtmlServiceProvider.php', - 'Cron\\AbstractField' => $vendorDir . '/mtdowling/cron-expression/src/Cron/AbstractField.php', - 'Cron\\CronExpression' => $vendorDir . '/mtdowling/cron-expression/src/Cron/CronExpression.php', - 'Cron\\DayOfMonthField' => $vendorDir . '/mtdowling/cron-expression/src/Cron/DayOfMonthField.php', - 'Cron\\DayOfWeekField' => $vendorDir . '/mtdowling/cron-expression/src/Cron/DayOfWeekField.php', - 'Cron\\FieldFactory' => $vendorDir . '/mtdowling/cron-expression/src/Cron/FieldFactory.php', - 'Cron\\FieldInterface' => $vendorDir . '/mtdowling/cron-expression/src/Cron/FieldInterface.php', - 'Cron\\HoursField' => $vendorDir . '/mtdowling/cron-expression/src/Cron/HoursField.php', - 'Cron\\MinutesField' => $vendorDir . '/mtdowling/cron-expression/src/Cron/MinutesField.php', - 'Cron\\MonthField' => $vendorDir . '/mtdowling/cron-expression/src/Cron/MonthField.php', - 'Cron\\YearField' => $vendorDir . '/mtdowling/cron-expression/src/Cron/YearField.php', + 'Cron\\AbstractField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/AbstractField.php', + 'Cron\\CronExpression' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/CronExpression.php', + 'Cron\\DayOfMonthField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/DayOfMonthField.php', + 'Cron\\DayOfWeekField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/DayOfWeekField.php', + 'Cron\\FieldFactory' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/FieldFactory.php', + 'Cron\\FieldInterface' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/FieldInterface.php', + 'Cron\\HoursField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/HoursField.php', + 'Cron\\MinutesField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/MinutesField.php', + 'Cron\\MonthField' => $vendorDir . '/dragonmantank/cron-expression/src/Cron/MonthField.php', 'DatabaseSeeder' => $baseDir . '/database/seeds/DatabaseSeeder.php', 'DeepCopy\\DeepCopy' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/DeepCopy.php', 'DeepCopy\\Exception\\CloneException' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php', @@ -142,7 +141,6 @@ return array( 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedListFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php', 'DeepCopy\\TypeFilter\\TypeFilter' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php', 'DeepCopy\\TypeMatcher\\TypeMatcher' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php', - 'DivisionByZeroError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php', 'Doctrine\\Common\\Inflector\\Inflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php', 'Doctrine\\Common\\Lexer\\AbstractLexer' => $vendorDir . '/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php', 'Doctrine\\Instantiator\\Exception\\ExceptionInterface' => $vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php', @@ -221,10 +219,10 @@ return array( 'Egulias\\EmailValidator\\Warning\\QuotedString' => $vendorDir . '/egulias/email-validator/EmailValidator/Warning/QuotedString.php', 'Egulias\\EmailValidator\\Warning\\TLD' => $vendorDir . '/egulias/email-validator/EmailValidator/Warning/TLD.php', 'Egulias\\EmailValidator\\Warning\\Warning' => $vendorDir . '/egulias/email-validator/EmailValidator/Warning/Warning.php', - 'Error' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/Error.php', 'Faker\\Calculator\\Iban' => $vendorDir . '/fzaninotto/faker/src/Faker/Calculator/Iban.php', 'Faker\\Calculator\\Inn' => $vendorDir . '/fzaninotto/faker/src/Faker/Calculator/Inn.php', 'Faker\\Calculator\\Luhn' => $vendorDir . '/fzaninotto/faker/src/Faker/Calculator/Luhn.php', + 'Faker\\Calculator\\TCNo' => $vendorDir . '/fzaninotto/faker/src/Faker/Calculator/TCNo.php', 'Faker\\DefaultGenerator' => $vendorDir . '/fzaninotto/faker/src/Faker/DefaultGenerator.php', 'Faker\\Documentor' => $vendorDir . '/fzaninotto/faker/src/Faker/Documentor.php', 'Faker\\Factory' => $vendorDir . '/fzaninotto/faker/src/Faker/Factory.php', @@ -529,6 +527,12 @@ return array( 'Faker\\Provider\\me_ME\\PhoneNumber' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/me_ME/PhoneNumber.php', 'Faker\\Provider\\mn_MN\\Person' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/mn_MN/Person.php', 'Faker\\Provider\\mn_MN\\PhoneNumber' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/mn_MN/PhoneNumber.php', + 'Faker\\Provider\\ms_MY\\Address' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php', + 'Faker\\Provider\\ms_MY\\Company' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Company.php', + 'Faker\\Provider\\ms_MY\\Miscellaneous' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Miscellaneous.php', + 'Faker\\Provider\\ms_MY\\Payment' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php', + 'Faker\\Provider\\ms_MY\\Person' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Person.php', + 'Faker\\Provider\\ms_MY\\PhoneNumber' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php', 'Faker\\Provider\\nb_NO\\Address' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/nb_NO/Address.php', 'Faker\\Provider\\nb_NO\\Company' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/nb_NO/Company.php', 'Faker\\Provider\\nb_NO\\Payment' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/nb_NO/Payment.php', @@ -594,6 +598,7 @@ return array( 'Faker\\Provider\\sk_SK\\Person' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sk_SK/Person.php', 'Faker\\Provider\\sk_SK\\PhoneNumber' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sk_SK/PhoneNumber.php', 'Faker\\Provider\\sl_SI\\Address' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Address.php', + 'Faker\\Provider\\sl_SI\\Company' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Company.php', 'Faker\\Provider\\sl_SI\\Internet' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Internet.php', 'Faker\\Provider\\sl_SI\\Payment' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Payment.php', 'Faker\\Provider\\sl_SI\\Person' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Person.php', @@ -613,12 +618,14 @@ return array( 'Faker\\Provider\\sv_SE\\Person' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sv_SE/Person.php', 'Faker\\Provider\\sv_SE\\PhoneNumber' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/sv_SE/PhoneNumber.php', 'Faker\\Provider\\th_TH\\Address' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/th_TH/Address.php', + 'Faker\\Provider\\th_TH\\Color' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/th_TH/Color.php', 'Faker\\Provider\\th_TH\\Company' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/th_TH/Company.php', 'Faker\\Provider\\th_TH\\Internet' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/th_TH/Internet.php', 'Faker\\Provider\\th_TH\\Payment' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/th_TH/Payment.php', 'Faker\\Provider\\th_TH\\PhoneNumber' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/th_TH/PhoneNumber.php', 'Faker\\Provider\\tr_TR\\Address' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Address.php', 'Faker\\Provider\\tr_TR\\Color' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Color.php', + 'Faker\\Provider\\tr_TR\\Company' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Company.php', 'Faker\\Provider\\tr_TR\\DateTime' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/tr_TR/DateTime.php', 'Faker\\Provider\\tr_TR\\Internet' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Internet.php', 'Faker\\Provider\\tr_TR\\Payment' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Payment.php', @@ -628,10 +635,10 @@ return array( 'Faker\\Provider\\uk_UA\\Color' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Color.php', 'Faker\\Provider\\uk_UA\\Company' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Company.php', 'Faker\\Provider\\uk_UA\\Internet' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Internet.php', + 'Faker\\Provider\\uk_UA\\Payment' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Payment.php', 'Faker\\Provider\\uk_UA\\Person' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Person.php', 'Faker\\Provider\\uk_UA\\PhoneNumber' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/PhoneNumber.php', 'Faker\\Provider\\uk_UA\\Text' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Text.php', - 'Faker\\Provider\\uk_Ua\\Payment' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Payment.php', 'Faker\\Provider\\vi_VN\\Address' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/vi_VN/Address.php', 'Faker\\Provider\\vi_VN\\Color' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/vi_VN/Color.php', 'Faker\\Provider\\vi_VN\\Internet' => $vendorDir . '/fzaninotto/faker/src/Faker/Provider/vi_VN/Internet.php', @@ -818,12 +825,17 @@ return array( 'Illuminate\\Auth\\Events\\Logout' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Events/Logout.php', 'Illuminate\\Auth\\Events\\PasswordReset' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Events/PasswordReset.php', 'Illuminate\\Auth\\Events\\Registered' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Events/Registered.php', + 'Illuminate\\Auth\\Events\\Verified' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Events/Verified.php', 'Illuminate\\Auth\\GenericUser' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/GenericUser.php', 'Illuminate\\Auth\\GuardHelpers' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/GuardHelpers.php', + 'Illuminate\\Auth\\Listeners\\SendEmailVerificationNotification' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Listeners/SendEmailVerificationNotification.php', 'Illuminate\\Auth\\Middleware\\Authenticate' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php', 'Illuminate\\Auth\\Middleware\\AuthenticateWithBasicAuth' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Middleware/AuthenticateWithBasicAuth.php', 'Illuminate\\Auth\\Middleware\\Authorize' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Middleware/Authorize.php', + 'Illuminate\\Auth\\Middleware\\EnsureEmailIsVerified' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php', + 'Illuminate\\Auth\\MustVerifyEmail' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/MustVerifyEmail.php', 'Illuminate\\Auth\\Notifications\\ResetPassword' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Notifications/ResetPassword.php', + 'Illuminate\\Auth\\Notifications\\VerifyEmail' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Notifications/VerifyEmail.php', 'Illuminate\\Auth\\Passwords\\CanResetPassword' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Passwords/CanResetPassword.php', 'Illuminate\\Auth\\Passwords\\DatabaseTokenRepository' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Passwords/DatabaseTokenRepository.php', 'Illuminate\\Auth\\Passwords\\PasswordBroker' => $vendorDir . '/laravel/framework/src/Illuminate/Auth/Passwords/PasswordBroker.php', @@ -892,15 +904,17 @@ return array( 'Illuminate\\Console\\GeneratorCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Console/GeneratorCommand.php', 'Illuminate\\Console\\OutputStyle' => $vendorDir . '/laravel/framework/src/Illuminate/Console/OutputStyle.php', 'Illuminate\\Console\\Parser' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Parser.php', - 'Illuminate\\Console\\Scheduling\\CacheMutex' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/CacheMutex.php', + 'Illuminate\\Console\\Scheduling\\CacheEventMutex' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/CacheEventMutex.php', + 'Illuminate\\Console\\Scheduling\\CacheSchedulingMutex' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/CacheSchedulingMutex.php', 'Illuminate\\Console\\Scheduling\\CallbackEvent' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/CallbackEvent.php', 'Illuminate\\Console\\Scheduling\\CommandBuilder' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/CommandBuilder.php', 'Illuminate\\Console\\Scheduling\\Event' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/Event.php', + 'Illuminate\\Console\\Scheduling\\EventMutex' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/EventMutex.php', 'Illuminate\\Console\\Scheduling\\ManagesFrequencies' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/ManagesFrequencies.php', - 'Illuminate\\Console\\Scheduling\\Mutex' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/Mutex.php', 'Illuminate\\Console\\Scheduling\\Schedule' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/Schedule.php', 'Illuminate\\Console\\Scheduling\\ScheduleFinishCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleFinishCommand.php', 'Illuminate\\Console\\Scheduling\\ScheduleRunCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php', + 'Illuminate\\Console\\Scheduling\\SchedulingMutex' => $vendorDir . '/laravel/framework/src/Illuminate/Console/Scheduling/SchedulingMutex.php', 'Illuminate\\Container\\BoundMethod' => $vendorDir . '/laravel/framework/src/Illuminate/Container/BoundMethod.php', 'Illuminate\\Container\\Container' => $vendorDir . '/laravel/framework/src/Illuminate/Container/Container.php', 'Illuminate\\Container\\ContextualBindingBuilder' => $vendorDir . '/laravel/framework/src/Illuminate/Container/ContextualBindingBuilder.php', @@ -911,6 +925,7 @@ return array( 'Illuminate\\Contracts\\Auth\\CanResetPassword' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Auth/CanResetPassword.php', 'Illuminate\\Contracts\\Auth\\Factory' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Auth/Factory.php', 'Illuminate\\Contracts\\Auth\\Guard' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Auth/Guard.php', + 'Illuminate\\Contracts\\Auth\\MustVerifyEmail' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Auth/MustVerifyEmail.php', 'Illuminate\\Contracts\\Auth\\PasswordBroker' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Auth/PasswordBroker.php', 'Illuminate\\Contracts\\Auth\\PasswordBrokerFactory' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Auth/PasswordBrokerFactory.php', 'Illuminate\\Contracts\\Auth\\StatefulGuard' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Auth/StatefulGuard.php', @@ -944,12 +959,12 @@ return array( 'Illuminate\\Contracts\\Events\\Dispatcher' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Events/Dispatcher.php', 'Illuminate\\Contracts\\Filesystem\\Cloud' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Filesystem/Cloud.php', 'Illuminate\\Contracts\\Filesystem\\Factory' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Filesystem/Factory.php', + 'Illuminate\\Contracts\\Filesystem\\FileExistsException' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Filesystem/FileExistsException.php', 'Illuminate\\Contracts\\Filesystem\\FileNotFoundException' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Filesystem/FileNotFoundException.php', 'Illuminate\\Contracts\\Filesystem\\Filesystem' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Filesystem/Filesystem.php', 'Illuminate\\Contracts\\Foundation\\Application' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Foundation/Application.php', 'Illuminate\\Contracts\\Hashing\\Hasher' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Hashing/Hasher.php', 'Illuminate\\Contracts\\Http\\Kernel' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Http/Kernel.php', - 'Illuminate\\Contracts\\Logging\\Log' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Logging/Log.php', 'Illuminate\\Contracts\\Mail\\MailQueue' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Mail/MailQueue.php', 'Illuminate\\Contracts\\Mail\\Mailable' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Mail/Mailable.php', 'Illuminate\\Contracts\\Mail\\Mailer' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Mail/Mailer.php', @@ -968,6 +983,7 @@ return array( 'Illuminate\\Contracts\\Queue\\QueueableCollection' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Queue/QueueableCollection.php', 'Illuminate\\Contracts\\Queue\\QueueableEntity' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Queue/QueueableEntity.php', 'Illuminate\\Contracts\\Queue\\ShouldQueue' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Queue/ShouldQueue.php', + 'Illuminate\\Contracts\\Redis\\Connection' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Redis/Connection.php', 'Illuminate\\Contracts\\Redis\\Factory' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Redis/Factory.php', 'Illuminate\\Contracts\\Redis\\LimiterTimeoutException' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Redis/LimiterTimeoutException.php', 'Illuminate\\Contracts\\Routing\\BindingRegistrar' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Routing/BindingRegistrar.php', @@ -983,6 +999,7 @@ return array( 'Illuminate\\Contracts\\Support\\MessageProvider' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Support/MessageProvider.php', 'Illuminate\\Contracts\\Support\\Renderable' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Support/Renderable.php', 'Illuminate\\Contracts\\Support\\Responsable' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Support/Responsable.php', + 'Illuminate\\Contracts\\Translation\\HasLocalePreference' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Translation/HasLocalePreference.php', 'Illuminate\\Contracts\\Translation\\Loader' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Translation/Loader.php', 'Illuminate\\Contracts\\Translation\\Translator' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Translation/Translator.php', 'Illuminate\\Contracts\\Validation\\Factory' => $vendorDir . '/laravel/framework/src/Illuminate/Contracts/Validation/Factory.php', @@ -1021,6 +1038,7 @@ return array( 'Illuminate\\Database\\Console\\Migrations\\ResetCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Console/Migrations/ResetCommand.php', 'Illuminate\\Database\\Console\\Migrations\\RollbackCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Console/Migrations/RollbackCommand.php', 'Illuminate\\Database\\Console\\Migrations\\StatusCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Console/Migrations/StatusCommand.php', + 'Illuminate\\Database\\Console\\Migrations\\TableGuesser' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Console/Migrations/TableGuesser.php', 'Illuminate\\Database\\Console\\Seeds\\SeedCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php', 'Illuminate\\Database\\Console\\Seeds\\SeederMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Console/Seeds/SeederMakeCommand.php', 'Illuminate\\Database\\DatabaseManager' => $vendorDir . '/laravel/framework/src/Illuminate/Database/DatabaseManager.php', @@ -1047,6 +1065,7 @@ return array( 'Illuminate\\Database\\Eloquent\\RelationNotFoundException' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Eloquent/RelationNotFoundException.php', 'Illuminate\\Database\\Eloquent\\Relations\\BelongsTo' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php', 'Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php', + 'Illuminate\\Database\\Eloquent\\Relations\\Concerns\\AsPivot' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php', 'Illuminate\\Database\\Eloquent\\Relations\\Concerns\\InteractsWithPivotTable' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php', 'Illuminate\\Database\\Eloquent\\Relations\\Concerns\\SupportsDefaultModels' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsDefaultModels.php', 'Illuminate\\Database\\Eloquent\\Relations\\HasMany' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasMany.php', @@ -1097,6 +1116,7 @@ return array( 'Illuminate\\Database\\SQLiteConnection' => $vendorDir . '/laravel/framework/src/Illuminate/Database/SQLiteConnection.php', 'Illuminate\\Database\\Schema\\Blueprint' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php', 'Illuminate\\Database\\Schema\\Builder' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Schema/Builder.php', + 'Illuminate\\Database\\Schema\\ColumnDefinition' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Schema/ColumnDefinition.php', 'Illuminate\\Database\\Schema\\Grammars\\ChangeColumn' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Schema/Grammars/ChangeColumn.php', 'Illuminate\\Database\\Schema\\Grammars\\Grammar' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Schema/Grammars/Grammar.php', 'Illuminate\\Database\\Schema\\Grammars\\MySqlGrammar' => $vendorDir . '/laravel/framework/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php', @@ -1131,6 +1151,7 @@ return array( 'Illuminate\\Foundation\\Auth\\SendsPasswordResetEmails' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Auth/SendsPasswordResetEmails.php', 'Illuminate\\Foundation\\Auth\\ThrottlesLogins' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Auth/ThrottlesLogins.php', 'Illuminate\\Foundation\\Auth\\User' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Auth/User.php', + 'Illuminate\\Foundation\\Auth\\VerifiesEmails' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Auth/VerifiesEmails.php', 'Illuminate\\Foundation\\Bootstrap\\BootProviders' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php', @@ -1144,6 +1165,7 @@ return array( 'Illuminate\\Foundation\\Bus\\PendingDispatch' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php', 'Illuminate\\Foundation\\ComposerScripts' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/ComposerScripts.php', 'Illuminate\\Foundation\\Console\\AppNameCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/AppNameCommand.php', + 'Illuminate\\Foundation\\Console\\ChannelMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ChannelMakeCommand.php', 'Illuminate\\Foundation\\Console\\ClearCompiledCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ClearCompiledCommand.php', 'Illuminate\\Foundation\\Console\\ClosureCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ClosureCommand.php', 'Illuminate\\Foundation\\Console\\ConfigCacheCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ConfigCacheCommand.php', @@ -1161,6 +1183,8 @@ return array( 'Illuminate\\Foundation\\Console\\MailMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/MailMakeCommand.php', 'Illuminate\\Foundation\\Console\\ModelMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ModelMakeCommand.php', 'Illuminate\\Foundation\\Console\\NotificationMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/NotificationMakeCommand.php', + 'Illuminate\\Foundation\\Console\\ObserverMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ObserverMakeCommand.php', + 'Illuminate\\Foundation\\Console\\OptimizeClearCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/OptimizeClearCommand.php', 'Illuminate\\Foundation\\Console\\OptimizeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/OptimizeCommand.php', 'Illuminate\\Foundation\\Console\\PackageDiscoverCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/PackageDiscoverCommand.php', 'Illuminate\\Foundation\\Console\\PolicyMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/PolicyMakeCommand.php', @@ -1183,11 +1207,13 @@ return array( 'Illuminate\\Foundation\\Console\\TestMakeCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/TestMakeCommand.php', 'Illuminate\\Foundation\\Console\\UpCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/UpCommand.php', 'Illuminate\\Foundation\\Console\\VendorPublishCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/VendorPublishCommand.php', + 'Illuminate\\Foundation\\Console\\ViewCacheCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ViewCacheCommand.php', 'Illuminate\\Foundation\\Console\\ViewClearCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Console/ViewClearCommand.php', 'Illuminate\\Foundation\\EnvironmentDetector' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/EnvironmentDetector.php', 'Illuminate\\Foundation\\Events\\Dispatchable' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php', 'Illuminate\\Foundation\\Events\\LocaleUpdated' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Events/LocaleUpdated.php', 'Illuminate\\Foundation\\Exceptions\\Handler' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', + 'Illuminate\\Foundation\\Exceptions\\WhoopsHandler' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Exceptions/WhoopsHandler.php', 'Illuminate\\Foundation\\Http\\Events\\RequestHandled' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Http/Events/RequestHandled.php', 'Illuminate\\Foundation\\Http\\Exceptions\\MaintenanceModeException' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Http/Exceptions/MaintenanceModeException.php', 'Illuminate\\Foundation\\Http\\FormRequest' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Http/FormRequest.php', @@ -1219,10 +1245,12 @@ return array( 'Illuminate\\Foundation\\Testing\\Concerns\\MakesHttpRequests' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php', 'Illuminate\\Foundation\\Testing\\Concerns\\MocksApplicationServices' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php', 'Illuminate\\Foundation\\Testing\\Constraints\\HasInDatabase' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/Constraints/HasInDatabase.php', + 'Illuminate\\Foundation\\Testing\\Constraints\\SeeInOrder' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/Constraints/SeeInOrder.php', 'Illuminate\\Foundation\\Testing\\Constraints\\SoftDeletedInDatabase' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/Constraints/SoftDeletedInDatabase.php', 'Illuminate\\Foundation\\Testing\\DatabaseMigrations' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/DatabaseMigrations.php', 'Illuminate\\Foundation\\Testing\\DatabaseTransactions' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/DatabaseTransactions.php', 'Illuminate\\Foundation\\Testing\\HttpException' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/HttpException.php', + 'Illuminate\\Foundation\\Testing\\PendingCommand' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/PendingCommand.php', 'Illuminate\\Foundation\\Testing\\RefreshDatabase' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/RefreshDatabase.php', 'Illuminate\\Foundation\\Testing\\RefreshDatabaseState' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/RefreshDatabaseState.php', 'Illuminate\\Foundation\\Testing\\TestCase' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php', @@ -1231,24 +1259,31 @@ return array( 'Illuminate\\Foundation\\Testing\\WithoutEvents' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/WithoutEvents.php', 'Illuminate\\Foundation\\Testing\\WithoutMiddleware' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Testing/WithoutMiddleware.php', 'Illuminate\\Foundation\\Validation\\ValidatesRequests' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/Validation/ValidatesRequests.php', + 'Illuminate\\Hashing\\AbstractHasher' => $vendorDir . '/laravel/framework/src/Illuminate/Hashing/AbstractHasher.php', + 'Illuminate\\Hashing\\Argon2IdHasher' => $vendorDir . '/laravel/framework/src/Illuminate/Hashing/Argon2IdHasher.php', + 'Illuminate\\Hashing\\ArgonHasher' => $vendorDir . '/laravel/framework/src/Illuminate/Hashing/ArgonHasher.php', 'Illuminate\\Hashing\\BcryptHasher' => $vendorDir . '/laravel/framework/src/Illuminate/Hashing/BcryptHasher.php', + 'Illuminate\\Hashing\\HashManager' => $vendorDir . '/laravel/framework/src/Illuminate/Hashing/HashManager.php', 'Illuminate\\Hashing\\HashServiceProvider' => $vendorDir . '/laravel/framework/src/Illuminate/Hashing/HashServiceProvider.php', 'Illuminate\\Http\\Concerns\\InteractsWithContentTypes' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithContentTypes.php', 'Illuminate\\Http\\Concerns\\InteractsWithFlashData' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithFlashData.php', 'Illuminate\\Http\\Concerns\\InteractsWithInput' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithInput.php', 'Illuminate\\Http\\Exceptions\\HttpResponseException' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Exceptions/HttpResponseException.php', 'Illuminate\\Http\\Exceptions\\PostTooLargeException' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Exceptions/PostTooLargeException.php', + 'Illuminate\\Http\\Exceptions\\ThrottleRequestsException' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Exceptions/ThrottleRequestsException.php', 'Illuminate\\Http\\File' => $vendorDir . '/laravel/framework/src/Illuminate/Http/File.php', 'Illuminate\\Http\\FileHelpers' => $vendorDir . '/laravel/framework/src/Illuminate/Http/FileHelpers.php', 'Illuminate\\Http\\JsonResponse' => $vendorDir . '/laravel/framework/src/Illuminate/Http/JsonResponse.php', 'Illuminate\\Http\\Middleware\\CheckResponseForModifications' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Middleware/CheckResponseForModifications.php', 'Illuminate\\Http\\Middleware\\FrameGuard' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Middleware/FrameGuard.php', + 'Illuminate\\Http\\Middleware\\SetCacheHeaders' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Middleware/SetCacheHeaders.php', 'Illuminate\\Http\\RedirectResponse' => $vendorDir . '/laravel/framework/src/Illuminate/Http/RedirectResponse.php', 'Illuminate\\Http\\Request' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Request.php', 'Illuminate\\Http\\Resources\\CollectsResources' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/CollectsResources.php', 'Illuminate\\Http\\Resources\\ConditionallyLoadsAttributes' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php', 'Illuminate\\Http\\Resources\\DelegatesToResource' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/DelegatesToResource.php', 'Illuminate\\Http\\Resources\\Json\\AnonymousResourceCollection' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/Json/AnonymousResourceCollection.php', + 'Illuminate\\Http\\Resources\\Json\\JsonResource' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/Json/JsonResource.php', 'Illuminate\\Http\\Resources\\Json\\PaginatedResourceResponse' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/Json/PaginatedResourceResponse.php', 'Illuminate\\Http\\Resources\\Json\\Resource' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/Json/Resource.php', 'Illuminate\\Http\\Resources\\Json\\ResourceCollection' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php', @@ -1263,8 +1298,10 @@ return array( 'Illuminate\\Http\\Testing\\MimeType' => $vendorDir . '/laravel/framework/src/Illuminate/Http/Testing/MimeType.php', 'Illuminate\\Http\\UploadedFile' => $vendorDir . '/laravel/framework/src/Illuminate/Http/UploadedFile.php', 'Illuminate\\Log\\Events\\MessageLogged' => $vendorDir . '/laravel/framework/src/Illuminate/Log/Events/MessageLogged.php', + 'Illuminate\\Log\\LogManager' => $vendorDir . '/laravel/framework/src/Illuminate/Log/LogManager.php', 'Illuminate\\Log\\LogServiceProvider' => $vendorDir . '/laravel/framework/src/Illuminate/Log/LogServiceProvider.php', - 'Illuminate\\Log\\Writer' => $vendorDir . '/laravel/framework/src/Illuminate/Log/Writer.php', + 'Illuminate\\Log\\Logger' => $vendorDir . '/laravel/framework/src/Illuminate/Log/Logger.php', + 'Illuminate\\Log\\ParsesLogConfiguration' => $vendorDir . '/laravel/framework/src/Illuminate/Log/ParsesLogConfiguration.php', 'Illuminate\\Mail\\Events\\MessageSending' => $vendorDir . '/laravel/framework/src/Illuminate/Mail/Events/MessageSending.php', 'Illuminate\\Mail\\Events\\MessageSent' => $vendorDir . '/laravel/framework/src/Illuminate/Mail/Events/MessageSent.php', 'Illuminate\\Mail\\MailServiceProvider' => $vendorDir . '/laravel/framework/src/Illuminate/Mail/MailServiceProvider.php', @@ -1321,6 +1358,7 @@ return array( 'Illuminate\\Pipeline\\Pipeline' => $vendorDir . '/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'Illuminate\\Pipeline\\PipelineServiceProvider' => $vendorDir . '/laravel/framework/src/Illuminate/Pipeline/PipelineServiceProvider.php', 'Illuminate\\Queue\\BeanstalkdQueue' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/BeanstalkdQueue.php', + 'Illuminate\\Queue\\CallQueuedClosure' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/CallQueuedClosure.php', 'Illuminate\\Queue\\CallQueuedHandler' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php', 'Illuminate\\Queue\\Capsule\\Manager' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/Capsule/Manager.php', 'Illuminate\\Queue\\Connectors\\BeanstalkdConnector' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/Connectors/BeanstalkdConnector.php', @@ -1370,6 +1408,7 @@ return array( 'Illuminate\\Queue\\QueueManager' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/QueueManager.php', 'Illuminate\\Queue\\QueueServiceProvider' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/QueueServiceProvider.php', 'Illuminate\\Queue\\RedisQueue' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/RedisQueue.php', + 'Illuminate\\Queue\\SerializableClosure' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/SerializableClosure.php', 'Illuminate\\Queue\\SerializesAndRestoresModelIdentifiers' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php', 'Illuminate\\Queue\\SerializesModels' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/SerializesModels.php', 'Illuminate\\Queue\\SqsQueue' => $vendorDir . '/laravel/framework/src/Illuminate/Queue/SqsQueue.php', @@ -1383,6 +1422,7 @@ return array( 'Illuminate\\Redis\\Connections\\PredisConnection' => $vendorDir . '/laravel/framework/src/Illuminate/Redis/Connections/PredisConnection.php', 'Illuminate\\Redis\\Connectors\\PhpRedisConnector' => $vendorDir . '/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php', 'Illuminate\\Redis\\Connectors\\PredisConnector' => $vendorDir . '/laravel/framework/src/Illuminate/Redis/Connectors/PredisConnector.php', + 'Illuminate\\Redis\\Events\\CommandExecuted' => $vendorDir . '/laravel/framework/src/Illuminate/Redis/Events/CommandExecuted.php', 'Illuminate\\Redis\\Limiters\\ConcurrencyLimiter' => $vendorDir . '/laravel/framework/src/Illuminate/Redis/Limiters/ConcurrencyLimiter.php', 'Illuminate\\Redis\\Limiters\\ConcurrencyLimiterBuilder' => $vendorDir . '/laravel/framework/src/Illuminate/Redis/Limiters/ConcurrencyLimiterBuilder.php', 'Illuminate\\Redis\\Limiters\\DurationLimiter' => $vendorDir . '/laravel/framework/src/Illuminate/Redis/Limiters/DurationLimiter.php', @@ -1396,6 +1436,7 @@ return array( 'Illuminate\\Routing\\ControllerDispatcher' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php', 'Illuminate\\Routing\\ControllerMiddlewareOptions' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/ControllerMiddlewareOptions.php', 'Illuminate\\Routing\\Events\\RouteMatched' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Events/RouteMatched.php', + 'Illuminate\\Routing\\Exceptions\\InvalidSignatureException' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Exceptions/InvalidSignatureException.php', 'Illuminate\\Routing\\Exceptions\\UrlGenerationException' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Exceptions/UrlGenerationException.php', 'Illuminate\\Routing\\ImplicitRouteBinding' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/ImplicitRouteBinding.php', 'Illuminate\\Routing\\Matching\\HostValidator' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Matching/HostValidator.php', @@ -1407,6 +1448,7 @@ return array( 'Illuminate\\Routing\\Middleware\\SubstituteBindings' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php', 'Illuminate\\Routing\\Middleware\\ThrottleRequests' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php', 'Illuminate\\Routing\\Middleware\\ThrottleRequestsWithRedis' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequestsWithRedis.php', + 'Illuminate\\Routing\\Middleware\\ValidateSignature' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Middleware/ValidateSignature.php', 'Illuminate\\Routing\\PendingResourceRegistration' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/PendingResourceRegistration.php', 'Illuminate\\Routing\\Pipeline' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'Illuminate\\Routing\\RedirectController' => $vendorDir . '/laravel/framework/src/Illuminate/Routing/RedirectController.php', @@ -1448,8 +1490,6 @@ return array( 'Illuminate\\Support\\Carbon' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Carbon.php', 'Illuminate\\Support\\Collection' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Collection.php', 'Illuminate\\Support\\Composer' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Composer.php', - 'Illuminate\\Support\\Debug\\Dumper' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Debug/Dumper.php', - 'Illuminate\\Support\\Debug\\HtmlDumper' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Debug/HtmlDumper.php', 'Illuminate\\Support\\Facades\\App' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Facades/App.php', 'Illuminate\\Support\\Facades\\Artisan' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Facades/Artisan.php', 'Illuminate\\Support\\Facades\\Auth' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Facades/Auth.php', @@ -1504,6 +1544,8 @@ return array( 'Illuminate\\Support\\Testing\\Fakes\\PendingMailFake' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Testing/Fakes/PendingMailFake.php', 'Illuminate\\Support\\Testing\\Fakes\\QueueFake' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Testing/Fakes/QueueFake.php', 'Illuminate\\Support\\Traits\\CapsuleManagerTrait' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Traits/CapsuleManagerTrait.php', + 'Illuminate\\Support\\Traits\\ForwardsCalls' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php', + 'Illuminate\\Support\\Traits\\Localizable' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Traits/Localizable.php', 'Illuminate\\Support\\Traits\\Macroable' => $vendorDir . '/laravel/framework/src/Illuminate/Support/Traits/Macroable.php', 'Illuminate\\Support\\ViewErrorBag' => $vendorDir . '/laravel/framework/src/Illuminate/Support/ViewErrorBag.php', 'Illuminate\\Translation\\ArrayLoader' => $vendorDir . '/laravel/framework/src/Illuminate/Translation/ArrayLoader.php', @@ -1524,6 +1566,7 @@ return array( 'Illuminate\\Validation\\Rules\\Exists' => $vendorDir . '/laravel/framework/src/Illuminate/Validation/Rules/Exists.php', 'Illuminate\\Validation\\Rules\\In' => $vendorDir . '/laravel/framework/src/Illuminate/Validation/Rules/In.php', 'Illuminate\\Validation\\Rules\\NotIn' => $vendorDir . '/laravel/framework/src/Illuminate/Validation/Rules/NotIn.php', + 'Illuminate\\Validation\\Rules\\RequiredIf' => $vendorDir . '/laravel/framework/src/Illuminate/Validation/Rules/RequiredIf.php', 'Illuminate\\Validation\\Rules\\Unique' => $vendorDir . '/laravel/framework/src/Illuminate/Validation/Rules/Unique.php', 'Illuminate\\Validation\\UnauthorizedException' => $vendorDir . '/laravel/framework/src/Illuminate/Validation/UnauthorizedException.php', 'Illuminate\\Validation\\ValidatesWhenResolvedTrait' => $vendorDir . '/laravel/framework/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php', @@ -1540,6 +1583,7 @@ return array( 'Illuminate\\View\\Compilers\\Concerns\\CompilesComponents' => $vendorDir . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesComponents.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesConditionals' => $vendorDir . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesConditionals.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesEchos' => $vendorDir . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesEchos.php', + 'Illuminate\\View\\Compilers\\Concerns\\CompilesHelpers' => $vendorDir . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesHelpers.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesIncludes' => $vendorDir . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesIncludes.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesInjections' => $vendorDir . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesInjections.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesJson' => $vendorDir . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesJson.php', @@ -1566,9 +1610,9 @@ return array( 'Illuminate\\View\\ViewFinderInterface' => $vendorDir . '/laravel/framework/src/Illuminate/View/ViewFinderInterface.php', 'Illuminate\\View\\ViewName' => $vendorDir . '/laravel/framework/src/Illuminate/View/ViewName.php', 'Illuminate\\View\\ViewServiceProvider' => $vendorDir . '/laravel/framework/src/Illuminate/View/ViewServiceProvider.php', - 'JakubOnderka\\PhpConsoleColor\\ConsoleColor' => $vendorDir . '/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/ConsoleColor.php', - 'JakubOnderka\\PhpConsoleColor\\InvalidStyleException' => $vendorDir . '/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/InvalidStyleException.php', - 'JakubOnderka\\PhpConsoleHighlighter\\Highlighter' => $vendorDir . '/jakub-onderka/php-console-highlighter/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php', + 'JakubOnderka\\PhpConsoleColor\\ConsoleColor' => $vendorDir . '/jakub-onderka/php-console-color/src/ConsoleColor.php', + 'JakubOnderka\\PhpConsoleColor\\InvalidStyleException' => $vendorDir . '/jakub-onderka/php-console-color/src/InvalidStyleException.php', + 'JakubOnderka\\PhpConsoleHighlighter\\Highlighter' => $vendorDir . '/jakub-onderka/php-console-highlighter/src/Highlighter.php', 'JsonSerializable' => $vendorDir . '/nesbot/carbon/src/JsonSerializable.php', 'Laravel\\Tinker\\ClassAliasAutoloader' => $vendorDir . '/laravel/tinker/src/ClassAliasAutoloader.php', 'Laravel\\Tinker\\Console\\TinkerCommand' => $vendorDir . '/laravel/tinker/src/Console/TinkerCommand.php', @@ -1621,9 +1665,14 @@ return array( 'League\\Flysystem\\Util\\MimeType' => $vendorDir . '/league/flysystem/src/Util/MimeType.php', 'League\\Flysystem\\Util\\StreamHasher' => $vendorDir . '/league/flysystem/src/Util/StreamHasher.php', 'Mockery' => $vendorDir . '/mockery/mockery/library/Mockery.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerForV5' => $vendorDir . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerForV5.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerForV6' => $vendorDir . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerForV6.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerForV7' => $vendorDir . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerForV7.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerTrait' => $vendorDir . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerTrait.php', 'Mockery\\Adapter\\Phpunit\\MockeryPHPUnitIntegration' => $vendorDir . '/mockery/mockery/library/Mockery/Adapter/Phpunit/MockeryPHPUnitIntegration.php', 'Mockery\\Adapter\\Phpunit\\MockeryTestCase' => $vendorDir . '/mockery/mockery/library/Mockery/Adapter/Phpunit/MockeryTestCase.php', 'Mockery\\Adapter\\Phpunit\\TestListener' => $vendorDir . '/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php', + 'Mockery\\ClosureWrapper' => $vendorDir . '/mockery/mockery/library/Mockery/ClosureWrapper.php', 'Mockery\\CompositeExpectation' => $vendorDir . '/mockery/mockery/library/Mockery/CompositeExpectation.php', 'Mockery\\Configuration' => $vendorDir . '/mockery/mockery/library/Mockery/Configuration.php', 'Mockery\\Container' => $vendorDir . '/mockery/mockery/library/Mockery/Container.php', @@ -1787,6 +1836,16 @@ return array( 'Monolog\\Processor\\UidProcessor' => $vendorDir . '/monolog/monolog/src/Monolog/Processor/UidProcessor.php', 'Monolog\\Processor\\WebProcessor' => $vendorDir . '/monolog/monolog/src/Monolog/Processor/WebProcessor.php', 'Monolog\\Registry' => $vendorDir . '/monolog/monolog/src/Monolog/Registry.php', + 'Opis\\Closure\\Analyzer' => $vendorDir . '/opis/closure/src/Analyzer.php', + 'Opis\\Closure\\ClosureContext' => $vendorDir . '/opis/closure/src/ClosureContext.php', + 'Opis\\Closure\\ClosureScope' => $vendorDir . '/opis/closure/src/ClosureScope.php', + 'Opis\\Closure\\ClosureStream' => $vendorDir . '/opis/closure/src/ClosureStream.php', + 'Opis\\Closure\\ISecurityProvider' => $vendorDir . '/opis/closure/src/ISecurityProvider.php', + 'Opis\\Closure\\ReflectionClosure' => $vendorDir . '/opis/closure/src/ReflectionClosure.php', + 'Opis\\Closure\\SecurityException' => $vendorDir . '/opis/closure/src/SecurityException.php', + 'Opis\\Closure\\SecurityProvider' => $vendorDir . '/opis/closure/src/SecurityProvider.php', + 'Opis\\Closure\\SelfReference' => $vendorDir . '/opis/closure/src/SelfReference.php', + 'Opis\\Closure\\SerializableClosure' => $vendorDir . '/opis/closure/src/SerializableClosure.php', 'PHPUnit\\Exception' => $vendorDir . '/phpunit/phpunit/src/Exception.php', 'PHPUnit\\Framework\\Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php', 'PHPUnit\\Framework\\AssertionFailedError' => $vendorDir . '/phpunit/phpunit/src/Framework/AssertionFailedError.php', @@ -2159,7 +2218,6 @@ return array( 'PHP_Token_XOR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', 'PHP_Token_YIELD' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', 'PHP_Token_YIELD_FROM' => $vendorDir . '/phpunit/php-token-stream/src/Token.php', - 'ParseError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ParseError.php', 'Parsedown' => $vendorDir . '/erusev/parsedown/Parsedown.php', 'PharIo\\Manifest\\Application' => $vendorDir . '/phar-io/manifest/src/values/Application.php', 'PharIo\\Manifest\\ApplicationName' => $vendorDir . '/phar-io/manifest/src/values/ApplicationName.php', @@ -2239,6 +2297,8 @@ return array( 'PhpParser\\Builder\\Namespace_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php', 'PhpParser\\Builder\\Param' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Param.php', 'PhpParser\\Builder\\Property' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Property.php', + 'PhpParser\\Builder\\TraitUse' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/TraitUse.php', + 'PhpParser\\Builder\\TraitUseAdaptation' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/TraitUseAdaptation.php', 'PhpParser\\Builder\\Trait_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Trait_.php', 'PhpParser\\Builder\\Use_' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Builder/Use_.php', 'PhpParser\\Comment' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Comment.php', @@ -2471,6 +2531,7 @@ return array( 'Prophecy\\Doubler\\ClassPatch\\ProphecySubjectPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php', 'Prophecy\\Doubler\\ClassPatch\\ReflectionClassNewInstancePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php', 'Prophecy\\Doubler\\ClassPatch\\SplFileInfoPatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\ThrowablePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php', 'Prophecy\\Doubler\\ClassPatch\\TraversablePatch' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php', 'Prophecy\\Doubler\\DoubleInterface' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/DoubleInterface.php', 'Prophecy\\Doubler\\Doubler' => $vendorDir . '/phpspec/prophecy/src/Prophecy/Doubler/Doubler.php', @@ -2827,7 +2888,6 @@ return array( 'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => $vendorDir . '/sebastian/recursion-context/src/InvalidArgumentException.php', 'SebastianBergmann\\ResourceOperations\\ResourceOperations' => $vendorDir . '/sebastian/resource-operations/src/ResourceOperations.php', 'SebastianBergmann\\Version' => $vendorDir . '/sebastian/version/src/Version.php', - 'SessionUpdateTimestampHandlerInterface' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php', 'SettingsSeeder' => $baseDir . '/database/seeds/SettingsSeeder.php', 'Symfony\\Component\\Console\\Application' => $vendorDir . '/symfony/console/Application.php', 'Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => $vendorDir . '/symfony/console/CommandLoader/CommandLoaderInterface.php', @@ -2850,13 +2910,13 @@ return array( 'Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => $vendorDir . '/symfony/console/Event/ConsoleCommandEvent.php', 'Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => $vendorDir . '/symfony/console/Event/ConsoleErrorEvent.php', 'Symfony\\Component\\Console\\Event\\ConsoleEvent' => $vendorDir . '/symfony/console/Event/ConsoleEvent.php', - 'Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent' => $vendorDir . '/symfony/console/Event/ConsoleExceptionEvent.php', 'Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => $vendorDir . '/symfony/console/Event/ConsoleTerminateEvent.php', 'Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => $vendorDir . '/symfony/console/Exception/CommandNotFoundException.php', 'Symfony\\Component\\Console\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/console/Exception/ExceptionInterface.php', 'Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/console/Exception/InvalidArgumentException.php', 'Symfony\\Component\\Console\\Exception\\InvalidOptionException' => $vendorDir . '/symfony/console/Exception/InvalidOptionException.php', 'Symfony\\Component\\Console\\Exception\\LogicException' => $vendorDir . '/symfony/console/Exception/LogicException.php', + 'Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => $vendorDir . '/symfony/console/Exception/NamespaceNotFoundException.php', 'Symfony\\Component\\Console\\Exception\\RuntimeException' => $vendorDir . '/symfony/console/Exception/RuntimeException.php', 'Symfony\\Component\\Console\\Formatter\\OutputFormatter' => $vendorDir . '/symfony/console/Formatter/OutputFormatter.php', 'Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterInterface.php', @@ -2877,6 +2937,7 @@ return array( 'Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => $vendorDir . '/symfony/console/Helper/SymfonyQuestionHelper.php', 'Symfony\\Component\\Console\\Helper\\Table' => $vendorDir . '/symfony/console/Helper/Table.php', 'Symfony\\Component\\Console\\Helper\\TableCell' => $vendorDir . '/symfony/console/Helper/TableCell.php', + 'Symfony\\Component\\Console\\Helper\\TableRows' => $vendorDir . '/symfony/console/Helper/TableRows.php', 'Symfony\\Component\\Console\\Helper\\TableSeparator' => $vendorDir . '/symfony/console/Helper/TableSeparator.php', 'Symfony\\Component\\Console\\Helper\\TableStyle' => $vendorDir . '/symfony/console/Helper/TableStyle.php', 'Symfony\\Component\\Console\\Input\\ArgvInput' => $vendorDir . '/symfony/console/Input/ArgvInput.php', @@ -2893,6 +2954,7 @@ return array( 'Symfony\\Component\\Console\\Output\\BufferedOutput' => $vendorDir . '/symfony/console/Output/BufferedOutput.php', 'Symfony\\Component\\Console\\Output\\ConsoleOutput' => $vendorDir . '/symfony/console/Output/ConsoleOutput.php', 'Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => $vendorDir . '/symfony/console/Output/ConsoleOutputInterface.php', + 'Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => $vendorDir . '/symfony/console/Output/ConsoleSectionOutput.php', 'Symfony\\Component\\Console\\Output\\NullOutput' => $vendorDir . '/symfony/console/Output/NullOutput.php', 'Symfony\\Component\\Console\\Output\\Output' => $vendorDir . '/symfony/console/Output/Output.php', 'Symfony\\Component\\Console\\Output\\OutputInterface' => $vendorDir . '/symfony/console/Output/OutputInterface.php', @@ -2906,6 +2968,7 @@ return array( 'Symfony\\Component\\Console\\Terminal' => $vendorDir . '/symfony/console/Terminal.php', 'Symfony\\Component\\Console\\Tester\\ApplicationTester' => $vendorDir . '/symfony/console/Tester/ApplicationTester.php', 'Symfony\\Component\\Console\\Tester\\CommandTester' => $vendorDir . '/symfony/console/Tester/CommandTester.php', + 'Symfony\\Component\\Console\\Tester\\TesterTrait' => $vendorDir . '/symfony/console/Tester/TesterTrait.php', 'Symfony\\Component\\CssSelector\\CssSelectorConverter' => $vendorDir . '/symfony/css-selector/CssSelectorConverter.php', 'Symfony\\Component\\CssSelector\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/css-selector/Exception/ExceptionInterface.php', 'Symfony\\Component\\CssSelector\\Exception\\ExpressionErrorException' => $vendorDir . '/symfony/css-selector/Exception/ExpressionErrorException.php', @@ -2960,7 +3023,6 @@ return array( 'Symfony\\Component\\Debug\\ErrorHandler' => $vendorDir . '/symfony/debug/ErrorHandler.php', 'Symfony\\Component\\Debug\\ExceptionHandler' => $vendorDir . '/symfony/debug/ExceptionHandler.php', 'Symfony\\Component\\Debug\\Exception\\ClassNotFoundException' => $vendorDir . '/symfony/debug/Exception/ClassNotFoundException.php', - 'Symfony\\Component\\Debug\\Exception\\ContextErrorException' => $vendorDir . '/symfony/debug/Exception/ContextErrorException.php', 'Symfony\\Component\\Debug\\Exception\\FatalErrorException' => $vendorDir . '/symfony/debug/Exception/FatalErrorException.php', 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError' => $vendorDir . '/symfony/debug/Exception/FatalThrowableError.php', 'Symfony\\Component\\Debug\\Exception\\FlattenException' => $vendorDir . '/symfony/debug/Exception/FlattenException.php', @@ -2987,7 +3049,6 @@ return array( 'Symfony\\Component\\Finder\\Comparator\\DateComparator' => $vendorDir . '/symfony/finder/Comparator/DateComparator.php', 'Symfony\\Component\\Finder\\Comparator\\NumberComparator' => $vendorDir . '/symfony/finder/Comparator/NumberComparator.php', 'Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => $vendorDir . '/symfony/finder/Exception/AccessDeniedException.php', - 'Symfony\\Component\\Finder\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/finder/Exception/ExceptionInterface.php', 'Symfony\\Component\\Finder\\Finder' => $vendorDir . '/symfony/finder/Finder.php', 'Symfony\\Component\\Finder\\Glob' => $vendorDir . '/symfony/finder/Glob.php', 'Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => $vendorDir . '/symfony/finder/Iterator/CustomFilterIterator.php', @@ -2997,7 +3058,6 @@ return array( 'Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FileTypeFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilecontentFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilenameFilterIterator.php', - 'Symfony\\Component\\Finder\\Iterator\\FilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => $vendorDir . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => $vendorDir . '/symfony/finder/Iterator/PathFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => $vendorDir . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', @@ -3015,8 +3075,15 @@ return array( 'Symfony\\Component\\HttpFoundation\\ExpressionRequestMatcher' => $vendorDir . '/symfony/http-foundation/ExpressionRequestMatcher.php', 'Symfony\\Component\\HttpFoundation\\FileBag' => $vendorDir . '/symfony/http-foundation/FileBag.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\AccessDeniedException' => $vendorDir . '/symfony/http-foundation/File/Exception/AccessDeniedException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\CannotWriteFileException' => $vendorDir . '/symfony/http-foundation/File/Exception/CannotWriteFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\ExtensionFileException' => $vendorDir . '/symfony/http-foundation/File/Exception/ExtensionFileException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FileException' => $vendorDir . '/symfony/http-foundation/File/Exception/FileException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException' => $vendorDir . '/symfony/http-foundation/File/Exception/FileNotFoundException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FormSizeFileException' => $vendorDir . '/symfony/http-foundation/File/Exception/FormSizeFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\IniSizeFileException' => $vendorDir . '/symfony/http-foundation/File/Exception/IniSizeFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\NoFileException' => $vendorDir . '/symfony/http-foundation/File/Exception/NoFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\NoTmpDirFileException' => $vendorDir . '/symfony/http-foundation/File/Exception/NoTmpDirFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\PartialFileException' => $vendorDir . '/symfony/http-foundation/File/Exception/PartialFileException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\UnexpectedTypeException' => $vendorDir . '/symfony/http-foundation/File/Exception/UnexpectedTypeException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\UploadException' => $vendorDir . '/symfony/http-foundation/File/Exception/UploadException.php', 'Symfony\\Component\\HttpFoundation\\File\\File' => $vendorDir . '/symfony/http-foundation/File/File.php', @@ -3030,6 +3097,7 @@ return array( 'Symfony\\Component\\HttpFoundation\\File\\Stream' => $vendorDir . '/symfony/http-foundation/File/Stream.php', 'Symfony\\Component\\HttpFoundation\\File\\UploadedFile' => $vendorDir . '/symfony/http-foundation/File/UploadedFile.php', 'Symfony\\Component\\HttpFoundation\\HeaderBag' => $vendorDir . '/symfony/http-foundation/HeaderBag.php', + 'Symfony\\Component\\HttpFoundation\\HeaderUtils' => $vendorDir . '/symfony/http-foundation/HeaderUtils.php', 'Symfony\\Component\\HttpFoundation\\IpUtils' => $vendorDir . '/symfony/http-foundation/IpUtils.php', 'Symfony\\Component\\HttpFoundation\\JsonResponse' => $vendorDir . '/symfony/http-foundation/JsonResponse.php', 'Symfony\\Component\\HttpFoundation\\ParameterBag' => $vendorDir . '/symfony/http-foundation/ParameterBag.php', @@ -3052,22 +3120,20 @@ return array( 'Symfony\\Component\\HttpFoundation\\Session\\SessionBagProxy' => $vendorDir . '/symfony/http-foundation/Session/SessionBagProxy.php', 'Symfony\\Component\\HttpFoundation\\Session\\SessionInterface' => $vendorDir . '/symfony/http-foundation/Session/SessionInterface.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\AbstractSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MemcacheSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/MemcacheSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MemcachedSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/MemcachedSessionHandler.php', + 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MigratingSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/MigratingSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MongoDbSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/MongoDbSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/NativeSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NullSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/NullSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php', + 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\RedisSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/RedisSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\StrictSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\WriteCheckSessionHandler' => $vendorDir . '/symfony/http-foundation/Session/Storage/Handler/WriteCheckSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MetadataBag' => $vendorDir . '/symfony/http-foundation/Session/Storage/MetadataBag.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MockArraySessionStorage' => $vendorDir . '/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MockFileSessionStorage' => $vendorDir . '/symfony/http-foundation/Session/Storage/MockFileSessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage' => $vendorDir . '/symfony/http-foundation/Session/Storage/NativeSessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\PhpBridgeSessionStorage' => $vendorDir . '/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\AbstractProxy' => $vendorDir . '/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\NativeProxy' => $vendorDir . '/symfony/http-foundation/Session/Storage/Proxy/NativeProxy.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy' => $vendorDir . '/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\SessionStorageInterface' => $vendorDir . '/symfony/http-foundation/Session/Storage/SessionStorageInterface.php', 'Symfony\\Component\\HttpFoundation\\StreamedResponse' => $vendorDir . '/symfony/http-foundation/StreamedResponse.php', @@ -3081,7 +3147,6 @@ return array( 'Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerInterface' => $vendorDir . '/symfony/http-kernel/CacheWarmer/CacheWarmerInterface.php', 'Symfony\\Component\\HttpKernel\\CacheWarmer\\WarmableInterface' => $vendorDir . '/symfony/http-kernel/CacheWarmer/WarmableInterface.php', 'Symfony\\Component\\HttpKernel\\Client' => $vendorDir . '/symfony/http-kernel/Client.php', - 'Symfony\\Component\\HttpKernel\\Config\\EnvParametersResource' => $vendorDir . '/symfony/http-kernel/Config/EnvParametersResource.php', 'Symfony\\Component\\HttpKernel\\Config\\FileLocator' => $vendorDir . '/symfony/http-kernel/Config/FileLocator.php', 'Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadata' => $vendorDir . '/symfony/http-kernel/ControllerMetadata/ArgumentMetadata.php', 'Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadataFactory' => $vendorDir . '/symfony/http-kernel/ControllerMetadata/ArgumentMetadataFactory.php', @@ -3093,6 +3158,7 @@ return array( 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestValueResolver' => $vendorDir . '/symfony/http-kernel/Controller/ArgumentResolver/RequestValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\ServiceValueResolver' => $vendorDir . '/symfony/http-kernel/Controller/ArgumentResolver/ServiceValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\SessionValueResolver' => $vendorDir . '/symfony/http-kernel/Controller/ArgumentResolver/SessionValueResolver.php', + 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\TraceableValueResolver' => $vendorDir . '/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\VariadicValueResolver' => $vendorDir . '/symfony/http-kernel/Controller/ArgumentResolver/VariadicValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolverInterface' => $vendorDir . '/symfony/http-kernel/Controller/ArgumentValueResolverInterface.php', 'Symfony\\Component\\HttpKernel\\Controller\\ContainerControllerResolver' => $vendorDir . '/symfony/http-kernel/Controller/ContainerControllerResolver.php', @@ -3114,11 +3180,9 @@ return array( 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector' => $vendorDir . '/symfony/http-kernel/DataCollector/RequestDataCollector.php', 'Symfony\\Component\\HttpKernel\\DataCollector\\RouterDataCollector' => $vendorDir . '/symfony/http-kernel/DataCollector/RouterDataCollector.php', 'Symfony\\Component\\HttpKernel\\DataCollector\\TimeDataCollector' => $vendorDir . '/symfony/http-kernel/DataCollector/TimeDataCollector.php', - 'Symfony\\Component\\HttpKernel\\DataCollector\\Util\\ValueExporter' => $vendorDir . '/symfony/http-kernel/DataCollector/Util/ValueExporter.php', 'Symfony\\Component\\HttpKernel\\Debug\\FileLinkFormatter' => $vendorDir . '/symfony/http-kernel/Debug/FileLinkFormatter.php', 'Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher' => $vendorDir . '/symfony/http-kernel/Debug/TraceableEventDispatcher.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\AddAnnotatedClassesToCachePass' => $vendorDir . '/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php', - 'Symfony\\Component\\HttpKernel\\DependencyInjection\\AddClassesToCachePass' => $vendorDir . '/symfony/http-kernel/DependencyInjection/AddClassesToCachePass.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ConfigurableExtension' => $vendorDir . '/symfony/http-kernel/DependencyInjection/ConfigurableExtension.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ControllerArgumentValueResolverPass' => $vendorDir . '/symfony/http-kernel/DependencyInjection/ControllerArgumentValueResolverPass.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension' => $vendorDir . '/symfony/http-kernel/DependencyInjection/Extension.php', @@ -3190,6 +3254,7 @@ return array( 'Symfony\\Component\\HttpKernel\\HttpCache\\Ssi' => $vendorDir . '/symfony/http-kernel/HttpCache/Ssi.php', 'Symfony\\Component\\HttpKernel\\HttpCache\\Store' => $vendorDir . '/symfony/http-kernel/HttpCache/Store.php', 'Symfony\\Component\\HttpKernel\\HttpCache\\StoreInterface' => $vendorDir . '/symfony/http-kernel/HttpCache/StoreInterface.php', + 'Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler' => $vendorDir . '/symfony/http-kernel/HttpCache/SubRequestHandler.php', 'Symfony\\Component\\HttpKernel\\HttpCache\\SurrogateInterface' => $vendorDir . '/symfony/http-kernel/HttpCache/SurrogateInterface.php', 'Symfony\\Component\\HttpKernel\\HttpKernel' => $vendorDir . '/symfony/http-kernel/HttpKernel.php', 'Symfony\\Component\\HttpKernel\\HttpKernelInterface' => $vendorDir . '/symfony/http-kernel/HttpKernelInterface.php', @@ -3209,6 +3274,7 @@ return array( 'Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/process/Exception/InvalidArgumentException.php', 'Symfony\\Component\\Process\\Exception\\LogicException' => $vendorDir . '/symfony/process/Exception/LogicException.php', 'Symfony\\Component\\Process\\Exception\\ProcessFailedException' => $vendorDir . '/symfony/process/Exception/ProcessFailedException.php', + 'Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => $vendorDir . '/symfony/process/Exception/ProcessSignaledException.php', 'Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => $vendorDir . '/symfony/process/Exception/ProcessTimedOutException.php', 'Symfony\\Component\\Process\\Exception\\RuntimeException' => $vendorDir . '/symfony/process/Exception/RuntimeException.php', 'Symfony\\Component\\Process\\ExecutableFinder' => $vendorDir . '/symfony/process/ExecutableFinder.php', @@ -3220,7 +3286,6 @@ return array( 'Symfony\\Component\\Process\\Pipes\\UnixPipes' => $vendorDir . '/symfony/process/Pipes/UnixPipes.php', 'Symfony\\Component\\Process\\Pipes\\WindowsPipes' => $vendorDir . '/symfony/process/Pipes/WindowsPipes.php', 'Symfony\\Component\\Process\\Process' => $vendorDir . '/symfony/process/Process.php', - 'Symfony\\Component\\Process\\ProcessBuilder' => $vendorDir . '/symfony/process/ProcessBuilder.php', 'Symfony\\Component\\Process\\ProcessUtils' => $vendorDir . '/symfony/process/ProcessUtils.php', 'Symfony\\Component\\Routing\\Annotation\\Route' => $vendorDir . '/symfony/routing/Annotation/Route.php', 'Symfony\\Component\\Routing\\CompiledRoute' => $vendorDir . '/symfony/routing/CompiledRoute.php', @@ -3256,8 +3321,6 @@ return array( 'Symfony\\Component\\Routing\\Loader\\ProtectedPhpFileLoader' => $vendorDir . '/symfony/routing/Loader/PhpFileLoader.php', 'Symfony\\Component\\Routing\\Loader\\XmlFileLoader' => $vendorDir . '/symfony/routing/Loader/XmlFileLoader.php', 'Symfony\\Component\\Routing\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/routing/Loader/YamlFileLoader.php', - 'Symfony\\Component\\Routing\\Matcher\\Dumper\\DumperCollection' => $vendorDir . '/symfony/routing/Matcher/Dumper/DumperCollection.php', - 'Symfony\\Component\\Routing\\Matcher\\Dumper\\DumperRoute' => $vendorDir . '/symfony/routing/Matcher/Dumper/DumperRoute.php', 'Symfony\\Component\\Routing\\Matcher\\Dumper\\MatcherDumper' => $vendorDir . '/symfony/routing/Matcher/Dumper/MatcherDumper.php', 'Symfony\\Component\\Routing\\Matcher\\Dumper\\MatcherDumperInterface' => $vendorDir . '/symfony/routing/Matcher/Dumper/MatcherDumperInterface.php', 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper' => $vendorDir . '/symfony/routing/Matcher/Dumper/PhpMatcherDumper.php', @@ -3356,8 +3419,8 @@ return array( 'Symfony\\Component\\VarDumper\\Caster\\EnumStub' => $vendorDir . '/symfony/var-dumper/Caster/EnumStub.php', 'Symfony\\Component\\VarDumper\\Caster\\ExceptionCaster' => $vendorDir . '/symfony/var-dumper/Caster/ExceptionCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\FrameStub' => $vendorDir . '/symfony/var-dumper/Caster/FrameStub.php', + 'Symfony\\Component\\VarDumper\\Caster\\GmpCaster' => $vendorDir . '/symfony/var-dumper/Caster/GmpCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\LinkStub' => $vendorDir . '/symfony/var-dumper/Caster/LinkStub.php', - 'Symfony\\Component\\VarDumper\\Caster\\MongoCaster' => $vendorDir . '/symfony/var-dumper/Caster/MongoCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\PdoCaster' => $vendorDir . '/symfony/var-dumper/Caster/PdoCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\PgSqlCaster' => $vendorDir . '/symfony/var-dumper/Caster/PgSqlCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\RedisCaster' => $vendorDir . '/symfony/var-dumper/Caster/RedisCaster.php', @@ -3376,17 +3439,29 @@ return array( 'Symfony\\Component\\VarDumper\\Cloner\\DumperInterface' => $vendorDir . '/symfony/var-dumper/Cloner/DumperInterface.php', 'Symfony\\Component\\VarDumper\\Cloner\\Stub' => $vendorDir . '/symfony/var-dumper/Cloner/Stub.php', 'Symfony\\Component\\VarDumper\\Cloner\\VarCloner' => $vendorDir . '/symfony/var-dumper/Cloner/VarCloner.php', + 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\CliDescriptor' => $vendorDir . '/symfony/var-dumper/Command/Descriptor/CliDescriptor.php', + 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\DumpDescriptorInterface' => $vendorDir . '/symfony/var-dumper/Command/Descriptor/DumpDescriptorInterface.php', + 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\HtmlDescriptor' => $vendorDir . '/symfony/var-dumper/Command/Descriptor/HtmlDescriptor.php', + 'Symfony\\Component\\VarDumper\\Command\\ServerDumpCommand' => $vendorDir . '/symfony/var-dumper/Command/ServerDumpCommand.php', 'Symfony\\Component\\VarDumper\\Dumper\\AbstractDumper' => $vendorDir . '/symfony/var-dumper/Dumper/AbstractDumper.php', 'Symfony\\Component\\VarDumper\\Dumper\\CliDumper' => $vendorDir . '/symfony/var-dumper/Dumper/CliDumper.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\CliContextProvider' => $vendorDir . '/symfony/var-dumper/Dumper/ContextProvider/CliContextProvider.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\ContextProviderInterface' => $vendorDir . '/symfony/var-dumper/Dumper/ContextProvider/ContextProviderInterface.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\RequestContextProvider' => $vendorDir . '/symfony/var-dumper/Dumper/ContextProvider/RequestContextProvider.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\SourceContextProvider' => $vendorDir . '/symfony/var-dumper/Dumper/ContextProvider/SourceContextProvider.php', 'Symfony\\Component\\VarDumper\\Dumper\\DataDumperInterface' => $vendorDir . '/symfony/var-dumper/Dumper/DataDumperInterface.php', 'Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper' => $vendorDir . '/symfony/var-dumper/Dumper/HtmlDumper.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ServerDumper' => $vendorDir . '/symfony/var-dumper/Dumper/ServerDumper.php', 'Symfony\\Component\\VarDumper\\Exception\\ThrowingCasterException' => $vendorDir . '/symfony/var-dumper/Exception/ThrowingCasterException.php', + 'Symfony\\Component\\VarDumper\\Server\\Connection' => $vendorDir . '/symfony/var-dumper/Server/Connection.php', + 'Symfony\\Component\\VarDumper\\Server\\DumpServer' => $vendorDir . '/symfony/var-dumper/Server/DumpServer.php', 'Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait' => $vendorDir . '/symfony/var-dumper/Test/VarDumperTestTrait.php', 'Symfony\\Component\\VarDumper\\VarDumper' => $vendorDir . '/symfony/var-dumper/VarDumper.php', 'Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php', 'Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', - 'Symfony\\Polyfill\\Php70\\Php70' => $vendorDir . '/symfony/polyfill-php70/Php70.php', + 'Symfony\\Polyfill\\Php72\\Php72' => $vendorDir . '/symfony/polyfill-php72/Php72.php', 'Symfony\\Thanks\\Command\\ThanksCommand' => $vendorDir . '/symfony/thanks/src/Command/ThanksCommand.php', + 'Symfony\\Thanks\\GitHubClient' => $vendorDir . '/symfony/thanks/src/GitHubClient.php', 'Symfony\\Thanks\\Thanks' => $vendorDir . '/symfony/thanks/src/Thanks.php', 'Tests\\CreatesApplication' => $baseDir . '/tests/CreatesApplication.php', 'Tests\\Feature\\ExampleTest' => $baseDir . '/tests/Feature/ExampleTest.php', @@ -3407,7 +3482,6 @@ return array( 'TijsVerkoyen\\CssToInlineStyles\\Css\\Property\\Property' => $vendorDir . '/tijsverkoyen/css-to-inline-styles/src/Css/Property/Property.php', 'TijsVerkoyen\\CssToInlineStyles\\Css\\Rule\\Processor' => $vendorDir . '/tijsverkoyen/css-to-inline-styles/src/Css/Rule/Processor.php', 'TijsVerkoyen\\CssToInlineStyles\\Css\\Rule\\Rule' => $vendorDir . '/tijsverkoyen/css-to-inline-styles/src/Css/Rule/Rule.php', - 'TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php', 'UsersSeeder' => $baseDir . '/database/seeds/UsersSeeder.php', 'Webmozart\\Assert\\Assert' => $vendorDir . '/webmozart/assert/src/Assert.php', 'Whoops\\Exception\\ErrorException' => $vendorDir . '/filp/whoops/src/Whoops/Exception/ErrorException.php', diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index 1d1d477c..3f81cfbb 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -7,15 +7,15 @@ $baseDir = dirname($vendorDir); return array( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', - '5255c38a0faeba867671b61dfda6d864' => $vendorDir . '/paragonie/random_compat/lib/random.php', - '023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php', + '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php', '667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php', - '2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php', '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', + '2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php', 'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php', 'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php', - '801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php', '6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', + '538ca81a9a966a6716601ecf48f4eaef' => $vendorDir . '/opis/closure/functions.php', + '801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', 'f0906e6318348a765ffb6eb24e0d0938' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/helpers.php', '58571171fd5812e6e447dce228f52f4d' => $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php', diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php index 058a3a17..36551427 100644 --- a/vendor/composer/autoload_namespaces.php +++ b/vendor/composer/autoload_namespaces.php @@ -9,7 +9,5 @@ return array( 'Prophecy\\' => array($vendorDir . '/phpspec/prophecy/src'), 'Parsedown' => array($vendorDir . '/erusev/parsedown'), 'Mockery' => array($vendorDir . '/mockery/mockery/library'), - 'JakubOnderka\\PhpConsoleHighlighter' => array($vendorDir . '/jakub-onderka/php-console-highlighter/src'), - 'JakubOnderka\\PhpConsoleColor' => array($vendorDir . '/jakub-onderka/php-console-color/src'), 'Doctrine\\Common\\Lexer\\' => array($vendorDir . '/doctrine/lexer/lib'), ); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 4c0b1f17..57ffb583 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -13,7 +13,7 @@ return array( 'TijsVerkoyen\\CssToInlineStyles\\' => array($vendorDir . '/tijsverkoyen/css-to-inline-styles/src'), 'Tests\\' => array($baseDir . '/tests'), 'Symfony\\Thanks\\' => array($vendorDir . '/symfony/thanks/src'), - 'Symfony\\Polyfill\\Php70\\' => array($vendorDir . '/symfony/polyfill-php70'), + 'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'), 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), 'Symfony\\Component\\VarDumper\\' => array($vendorDir . '/symfony/var-dumper'), @@ -34,9 +34,12 @@ return array( 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), 'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'), + 'Opis\\Closure\\' => array($vendorDir . '/opis/closure/src'), 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'), 'League\\Flysystem\\' => array($vendorDir . '/league/flysystem/src'), 'Laravel\\Tinker\\' => array($vendorDir . '/laravel/tinker/src'), + 'JakubOnderka\\PhpConsoleHighlighter\\' => array($vendorDir . '/jakub-onderka/php-console-highlighter/src'), + 'JakubOnderka\\PhpConsoleColor\\' => array($vendorDir . '/jakub-onderka/php-console-color/src'), 'Illuminate\\' => array($vendorDir . '/laravel/framework/src/Illuminate'), 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), 'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'), @@ -48,7 +51,7 @@ return array( 'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'), 'Doctrine\\Common\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Common/Inflector'), 'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'), - 'Cron\\' => array($vendorDir . '/mtdowling/cron-expression/src/Cron'), + 'Cron\\' => array($vendorDir . '/dragonmantank/cron-expression/src/Cron'), 'Collective\\Html\\' => array($vendorDir . '/laravelcollective/html/src'), 'App\\' => array($baseDir . '/app'), '' => array($vendorDir . '/nesbot/carbon/src'), diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 91f150af..d9ae0851 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -8,15 +8,15 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf { public static $files = array ( '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', - '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php', - '023d27dca8066ef29e6739335ea73bad' => __DIR__ . '/..' . '/symfony/polyfill-php70/bootstrap.php', + '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php', '667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php', - '2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php', '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', + '2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php', 'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php', 'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php', - '801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php', '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', + '538ca81a9a966a6716601ecf48f4eaef' => __DIR__ . '/..' . '/opis/closure/functions.php', + '801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', 'f0906e6318348a765ffb6eb24e0d0938' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/helpers.php', '58571171fd5812e6e447dce228f52f4d' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/helpers.php', @@ -46,7 +46,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'S' => array ( 'Symfony\\Thanks\\' => 15, - 'Symfony\\Polyfill\\Php70\\' => 23, + 'Symfony\\Polyfill\\Php72\\' => 23, 'Symfony\\Polyfill\\Mbstring\\' => 26, 'Symfony\\Polyfill\\Ctype\\' => 23, 'Symfony\\Component\\VarDumper\\' => 28, @@ -74,6 +74,10 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Psr\\Container\\' => 14, 'PhpParser\\' => 10, ), + 'O' => + array ( + 'Opis\\Closure\\' => 13, + ), 'M' => array ( 'Monolog\\' => 8, @@ -83,6 +87,11 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'League\\Flysystem\\' => 17, 'Laravel\\Tinker\\' => 15, ), + 'J' => + array ( + 'JakubOnderka\\PhpConsoleHighlighter\\' => 35, + 'JakubOnderka\\PhpConsoleColor\\' => 29, + ), 'I' => array ( 'Illuminate\\' => 11, @@ -151,9 +160,9 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf array ( 0 => __DIR__ . '/..' . '/symfony/thanks/src', ), - 'Symfony\\Polyfill\\Php70\\' => + 'Symfony\\Polyfill\\Php72\\' => array ( - 0 => __DIR__ . '/..' . '/symfony/polyfill-php70', + 0 => __DIR__ . '/..' . '/symfony/polyfill-php72', ), 'Symfony\\Polyfill\\Mbstring\\' => array ( @@ -235,6 +244,10 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf array ( 0 => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser', ), + 'Opis\\Closure\\' => + array ( + 0 => __DIR__ . '/..' . '/opis/closure/src', + ), 'Monolog\\' => array ( 0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog', @@ -247,6 +260,14 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf array ( 0 => __DIR__ . '/..' . '/laravel/tinker/src', ), + 'JakubOnderka\\PhpConsoleHighlighter\\' => + array ( + 0 => __DIR__ . '/..' . '/jakub-onderka/php-console-highlighter/src', + ), + 'JakubOnderka\\PhpConsoleColor\\' => + array ( + 0 => __DIR__ . '/..' . '/jakub-onderka/php-console-color/src', + ), 'Illuminate\\' => array ( 0 => __DIR__ . '/..' . '/laravel/framework/src/Illuminate', @@ -293,7 +314,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf ), 'Cron\\' => array ( - 0 => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron', + 0 => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron', ), 'Collective\\Html\\' => array ( @@ -328,17 +349,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 0 => __DIR__ . '/..' . '/mockery/mockery/library', ), ), - 'J' => - array ( - 'JakubOnderka\\PhpConsoleHighlighter' => - array ( - 0 => __DIR__ . '/..' . '/jakub-onderka/php-console-highlighter/src', - ), - 'JakubOnderka\\PhpConsoleColor' => - array ( - 0 => __DIR__ . '/..' . '/jakub-onderka/php-console-color/src', - ), - ), 'D' => array ( 'Doctrine\\Common\\Lexer\\' => @@ -356,6 +366,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'App\\Http\\Controllers\\Auth\\RegisterController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/RegisterController.php', 'App\\Http\\Controllers\\Auth\\ResetPasswordController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/ResetPasswordController.php', 'App\\Http\\Controllers\\Controller' => __DIR__ . '/../..' . '/app/Http/Controllers/Controller.php', + 'App\\Http\\Controllers\\HomeController' => __DIR__ . '/../..' . '/app/Http/Controllers/HomeController.php', 'App\\Http\\Controllers\\ItemController' => __DIR__ . '/../..' . '/app/Http/Controllers/ItemController.php', 'App\\Http\\Controllers\\SettingsController' => __DIR__ . '/../..' . '/app/Http/Controllers/SettingsController.php', 'App\\Http\\Controllers\\TagController' => __DIR__ . '/../..' . '/app/Http/Controllers/TagController.php', @@ -437,12 +448,11 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'App\\SupportedApps\\pyLoad' => __DIR__ . '/../..' . '/app/SupportedApps/pyLoad.php', 'App\\SupportedApps\\ruTorrent' => __DIR__ . '/../..' . '/app/SupportedApps/ruTorrent.php', 'App\\User' => __DIR__ . '/../..' . '/app/User.php', - 'ArithmeticError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php', - 'AssertionError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php', 'Carbon\\Carbon' => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon/Carbon.php', 'Carbon\\CarbonInterval' => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon/CarbonInterval.php', 'Carbon\\CarbonPeriod' => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon/CarbonPeriod.php', 'Carbon\\Exceptions\\InvalidDateException' => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php', + 'Carbon\\Laravel\\ServiceProvider' => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php', 'Carbon\\Translator' => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon/Translator.php', 'Collective\\Html\\Componentable' => __DIR__ . '/..' . '/laravelcollective/html/src/Componentable.php', 'Collective\\Html\\Eloquent\\FormAccessible' => __DIR__ . '/..' . '/laravelcollective/html/src/Eloquent/FormAccessible.php', @@ -451,16 +461,15 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Collective\\Html\\HtmlBuilder' => __DIR__ . '/..' . '/laravelcollective/html/src/HtmlBuilder.php', 'Collective\\Html\\HtmlFacade' => __DIR__ . '/..' . '/laravelcollective/html/src/HtmlFacade.php', 'Collective\\Html\\HtmlServiceProvider' => __DIR__ . '/..' . '/laravelcollective/html/src/HtmlServiceProvider.php', - 'Cron\\AbstractField' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/AbstractField.php', - 'Cron\\CronExpression' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/CronExpression.php', - 'Cron\\DayOfMonthField' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/DayOfMonthField.php', - 'Cron\\DayOfWeekField' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/DayOfWeekField.php', - 'Cron\\FieldFactory' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/FieldFactory.php', - 'Cron\\FieldInterface' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/FieldInterface.php', - 'Cron\\HoursField' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/HoursField.php', - 'Cron\\MinutesField' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/MinutesField.php', - 'Cron\\MonthField' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/MonthField.php', - 'Cron\\YearField' => __DIR__ . '/..' . '/mtdowling/cron-expression/src/Cron/YearField.php', + 'Cron\\AbstractField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/AbstractField.php', + 'Cron\\CronExpression' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/CronExpression.php', + 'Cron\\DayOfMonthField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/DayOfMonthField.php', + 'Cron\\DayOfWeekField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/DayOfWeekField.php', + 'Cron\\FieldFactory' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/FieldFactory.php', + 'Cron\\FieldInterface' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/FieldInterface.php', + 'Cron\\HoursField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/HoursField.php', + 'Cron\\MinutesField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/MinutesField.php', + 'Cron\\MonthField' => __DIR__ . '/..' . '/dragonmantank/cron-expression/src/Cron/MonthField.php', 'DatabaseSeeder' => __DIR__ . '/../..' . '/database/seeds/DatabaseSeeder.php', 'DeepCopy\\DeepCopy' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/DeepCopy.php', 'DeepCopy\\Exception\\CloneException' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php', @@ -485,7 +494,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'DeepCopy\\TypeFilter\\Spl\\SplDoublyLinkedListFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php', 'DeepCopy\\TypeFilter\\TypeFilter' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php', 'DeepCopy\\TypeMatcher\\TypeMatcher' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php', - 'DivisionByZeroError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php', 'Doctrine\\Common\\Inflector\\Inflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php', 'Doctrine\\Common\\Lexer\\AbstractLexer' => __DIR__ . '/..' . '/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php', 'Doctrine\\Instantiator\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator/Exception/ExceptionInterface.php', @@ -564,10 +572,10 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Egulias\\EmailValidator\\Warning\\QuotedString' => __DIR__ . '/..' . '/egulias/email-validator/EmailValidator/Warning/QuotedString.php', 'Egulias\\EmailValidator\\Warning\\TLD' => __DIR__ . '/..' . '/egulias/email-validator/EmailValidator/Warning/TLD.php', 'Egulias\\EmailValidator\\Warning\\Warning' => __DIR__ . '/..' . '/egulias/email-validator/EmailValidator/Warning/Warning.php', - 'Error' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/Error.php', 'Faker\\Calculator\\Iban' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Calculator/Iban.php', 'Faker\\Calculator\\Inn' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Calculator/Inn.php', 'Faker\\Calculator\\Luhn' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Calculator/Luhn.php', + 'Faker\\Calculator\\TCNo' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Calculator/TCNo.php', 'Faker\\DefaultGenerator' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/DefaultGenerator.php', 'Faker\\Documentor' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Documentor.php', 'Faker\\Factory' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Factory.php', @@ -872,6 +880,12 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Faker\\Provider\\me_ME\\PhoneNumber' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/me_ME/PhoneNumber.php', 'Faker\\Provider\\mn_MN\\Person' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/mn_MN/Person.php', 'Faker\\Provider\\mn_MN\\PhoneNumber' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/mn_MN/PhoneNumber.php', + 'Faker\\Provider\\ms_MY\\Address' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php', + 'Faker\\Provider\\ms_MY\\Company' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Company.php', + 'Faker\\Provider\\ms_MY\\Miscellaneous' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Miscellaneous.php', + 'Faker\\Provider\\ms_MY\\Payment' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php', + 'Faker\\Provider\\ms_MY\\Person' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/ms_MY/Person.php', + 'Faker\\Provider\\ms_MY\\PhoneNumber' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php', 'Faker\\Provider\\nb_NO\\Address' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/nb_NO/Address.php', 'Faker\\Provider\\nb_NO\\Company' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/nb_NO/Company.php', 'Faker\\Provider\\nb_NO\\Payment' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/nb_NO/Payment.php', @@ -937,6 +951,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Faker\\Provider\\sk_SK\\Person' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sk_SK/Person.php', 'Faker\\Provider\\sk_SK\\PhoneNumber' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sk_SK/PhoneNumber.php', 'Faker\\Provider\\sl_SI\\Address' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Address.php', + 'Faker\\Provider\\sl_SI\\Company' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Company.php', 'Faker\\Provider\\sl_SI\\Internet' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Internet.php', 'Faker\\Provider\\sl_SI\\Payment' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Payment.php', 'Faker\\Provider\\sl_SI\\Person' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sl_SI/Person.php', @@ -956,12 +971,14 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Faker\\Provider\\sv_SE\\Person' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sv_SE/Person.php', 'Faker\\Provider\\sv_SE\\PhoneNumber' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/sv_SE/PhoneNumber.php', 'Faker\\Provider\\th_TH\\Address' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/th_TH/Address.php', + 'Faker\\Provider\\th_TH\\Color' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/th_TH/Color.php', 'Faker\\Provider\\th_TH\\Company' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/th_TH/Company.php', 'Faker\\Provider\\th_TH\\Internet' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/th_TH/Internet.php', 'Faker\\Provider\\th_TH\\Payment' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/th_TH/Payment.php', 'Faker\\Provider\\th_TH\\PhoneNumber' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/th_TH/PhoneNumber.php', 'Faker\\Provider\\tr_TR\\Address' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Address.php', 'Faker\\Provider\\tr_TR\\Color' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Color.php', + 'Faker\\Provider\\tr_TR\\Company' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Company.php', 'Faker\\Provider\\tr_TR\\DateTime' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/tr_TR/DateTime.php', 'Faker\\Provider\\tr_TR\\Internet' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Internet.php', 'Faker\\Provider\\tr_TR\\Payment' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/tr_TR/Payment.php', @@ -971,10 +988,10 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Faker\\Provider\\uk_UA\\Color' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Color.php', 'Faker\\Provider\\uk_UA\\Company' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Company.php', 'Faker\\Provider\\uk_UA\\Internet' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Internet.php', + 'Faker\\Provider\\uk_UA\\Payment' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Payment.php', 'Faker\\Provider\\uk_UA\\Person' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Person.php', 'Faker\\Provider\\uk_UA\\PhoneNumber' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/PhoneNumber.php', 'Faker\\Provider\\uk_UA\\Text' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Text.php', - 'Faker\\Provider\\uk_Ua\\Payment' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/uk_UA/Payment.php', 'Faker\\Provider\\vi_VN\\Address' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/vi_VN/Address.php', 'Faker\\Provider\\vi_VN\\Color' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/vi_VN/Color.php', 'Faker\\Provider\\vi_VN\\Internet' => __DIR__ . '/..' . '/fzaninotto/faker/src/Faker/Provider/vi_VN/Internet.php', @@ -1161,12 +1178,17 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Auth\\Events\\Logout' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Events/Logout.php', 'Illuminate\\Auth\\Events\\PasswordReset' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Events/PasswordReset.php', 'Illuminate\\Auth\\Events\\Registered' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Events/Registered.php', + 'Illuminate\\Auth\\Events\\Verified' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Events/Verified.php', 'Illuminate\\Auth\\GenericUser' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/GenericUser.php', 'Illuminate\\Auth\\GuardHelpers' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/GuardHelpers.php', + 'Illuminate\\Auth\\Listeners\\SendEmailVerificationNotification' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Listeners/SendEmailVerificationNotification.php', 'Illuminate\\Auth\\Middleware\\Authenticate' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php', 'Illuminate\\Auth\\Middleware\\AuthenticateWithBasicAuth' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Middleware/AuthenticateWithBasicAuth.php', 'Illuminate\\Auth\\Middleware\\Authorize' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Middleware/Authorize.php', + 'Illuminate\\Auth\\Middleware\\EnsureEmailIsVerified' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Middleware/EnsureEmailIsVerified.php', + 'Illuminate\\Auth\\MustVerifyEmail' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/MustVerifyEmail.php', 'Illuminate\\Auth\\Notifications\\ResetPassword' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Notifications/ResetPassword.php', + 'Illuminate\\Auth\\Notifications\\VerifyEmail' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Notifications/VerifyEmail.php', 'Illuminate\\Auth\\Passwords\\CanResetPassword' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Passwords/CanResetPassword.php', 'Illuminate\\Auth\\Passwords\\DatabaseTokenRepository' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Passwords/DatabaseTokenRepository.php', 'Illuminate\\Auth\\Passwords\\PasswordBroker' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Auth/Passwords/PasswordBroker.php', @@ -1235,15 +1257,17 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Console\\GeneratorCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/GeneratorCommand.php', 'Illuminate\\Console\\OutputStyle' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/OutputStyle.php', 'Illuminate\\Console\\Parser' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Parser.php', - 'Illuminate\\Console\\Scheduling\\CacheMutex' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/CacheMutex.php', + 'Illuminate\\Console\\Scheduling\\CacheEventMutex' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/CacheEventMutex.php', + 'Illuminate\\Console\\Scheduling\\CacheSchedulingMutex' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/CacheSchedulingMutex.php', 'Illuminate\\Console\\Scheduling\\CallbackEvent' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/CallbackEvent.php', 'Illuminate\\Console\\Scheduling\\CommandBuilder' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/CommandBuilder.php', 'Illuminate\\Console\\Scheduling\\Event' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/Event.php', + 'Illuminate\\Console\\Scheduling\\EventMutex' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/EventMutex.php', 'Illuminate\\Console\\Scheduling\\ManagesFrequencies' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/ManagesFrequencies.php', - 'Illuminate\\Console\\Scheduling\\Mutex' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/Mutex.php', 'Illuminate\\Console\\Scheduling\\Schedule' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/Schedule.php', 'Illuminate\\Console\\Scheduling\\ScheduleFinishCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleFinishCommand.php', 'Illuminate\\Console\\Scheduling\\ScheduleRunCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php', + 'Illuminate\\Console\\Scheduling\\SchedulingMutex' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Console/Scheduling/SchedulingMutex.php', 'Illuminate\\Container\\BoundMethod' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Container/BoundMethod.php', 'Illuminate\\Container\\Container' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Container/Container.php', 'Illuminate\\Container\\ContextualBindingBuilder' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Container/ContextualBindingBuilder.php', @@ -1254,6 +1278,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Contracts\\Auth\\CanResetPassword' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Auth/CanResetPassword.php', 'Illuminate\\Contracts\\Auth\\Factory' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Auth/Factory.php', 'Illuminate\\Contracts\\Auth\\Guard' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Auth/Guard.php', + 'Illuminate\\Contracts\\Auth\\MustVerifyEmail' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Auth/MustVerifyEmail.php', 'Illuminate\\Contracts\\Auth\\PasswordBroker' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Auth/PasswordBroker.php', 'Illuminate\\Contracts\\Auth\\PasswordBrokerFactory' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Auth/PasswordBrokerFactory.php', 'Illuminate\\Contracts\\Auth\\StatefulGuard' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Auth/StatefulGuard.php', @@ -1287,12 +1312,12 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Contracts\\Events\\Dispatcher' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Events/Dispatcher.php', 'Illuminate\\Contracts\\Filesystem\\Cloud' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Filesystem/Cloud.php', 'Illuminate\\Contracts\\Filesystem\\Factory' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Filesystem/Factory.php', + 'Illuminate\\Contracts\\Filesystem\\FileExistsException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Filesystem/FileExistsException.php', 'Illuminate\\Contracts\\Filesystem\\FileNotFoundException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Filesystem/FileNotFoundException.php', 'Illuminate\\Contracts\\Filesystem\\Filesystem' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Filesystem/Filesystem.php', 'Illuminate\\Contracts\\Foundation\\Application' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Foundation/Application.php', 'Illuminate\\Contracts\\Hashing\\Hasher' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Hashing/Hasher.php', 'Illuminate\\Contracts\\Http\\Kernel' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Http/Kernel.php', - 'Illuminate\\Contracts\\Logging\\Log' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Logging/Log.php', 'Illuminate\\Contracts\\Mail\\MailQueue' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Mail/MailQueue.php', 'Illuminate\\Contracts\\Mail\\Mailable' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Mail/Mailable.php', 'Illuminate\\Contracts\\Mail\\Mailer' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Mail/Mailer.php', @@ -1311,6 +1336,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Contracts\\Queue\\QueueableCollection' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Queue/QueueableCollection.php', 'Illuminate\\Contracts\\Queue\\QueueableEntity' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Queue/QueueableEntity.php', 'Illuminate\\Contracts\\Queue\\ShouldQueue' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Queue/ShouldQueue.php', + 'Illuminate\\Contracts\\Redis\\Connection' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Redis/Connection.php', 'Illuminate\\Contracts\\Redis\\Factory' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Redis/Factory.php', 'Illuminate\\Contracts\\Redis\\LimiterTimeoutException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Redis/LimiterTimeoutException.php', 'Illuminate\\Contracts\\Routing\\BindingRegistrar' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Routing/BindingRegistrar.php', @@ -1326,6 +1352,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Contracts\\Support\\MessageProvider' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Support/MessageProvider.php', 'Illuminate\\Contracts\\Support\\Renderable' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Support/Renderable.php', 'Illuminate\\Contracts\\Support\\Responsable' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Support/Responsable.php', + 'Illuminate\\Contracts\\Translation\\HasLocalePreference' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Translation/HasLocalePreference.php', 'Illuminate\\Contracts\\Translation\\Loader' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Translation/Loader.php', 'Illuminate\\Contracts\\Translation\\Translator' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Translation/Translator.php', 'Illuminate\\Contracts\\Validation\\Factory' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Contracts/Validation/Factory.php', @@ -1364,6 +1391,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Database\\Console\\Migrations\\ResetCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Console/Migrations/ResetCommand.php', 'Illuminate\\Database\\Console\\Migrations\\RollbackCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Console/Migrations/RollbackCommand.php', 'Illuminate\\Database\\Console\\Migrations\\StatusCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Console/Migrations/StatusCommand.php', + 'Illuminate\\Database\\Console\\Migrations\\TableGuesser' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Console/Migrations/TableGuesser.php', 'Illuminate\\Database\\Console\\Seeds\\SeedCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Console/Seeds/SeedCommand.php', 'Illuminate\\Database\\Console\\Seeds\\SeederMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Console/Seeds/SeederMakeCommand.php', 'Illuminate\\Database\\DatabaseManager' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/DatabaseManager.php', @@ -1390,6 +1418,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Database\\Eloquent\\RelationNotFoundException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Eloquent/RelationNotFoundException.php', 'Illuminate\\Database\\Eloquent\\Relations\\BelongsTo' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsTo.php', 'Illuminate\\Database\\Eloquent\\Relations\\BelongsToMany' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php', + 'Illuminate\\Database\\Eloquent\\Relations\\Concerns\\AsPivot' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/AsPivot.php', 'Illuminate\\Database\\Eloquent\\Relations\\Concerns\\InteractsWithPivotTable' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php', 'Illuminate\\Database\\Eloquent\\Relations\\Concerns\\SupportsDefaultModels' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Concerns/SupportsDefaultModels.php', 'Illuminate\\Database\\Eloquent\\Relations\\HasMany' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasMany.php', @@ -1440,6 +1469,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Database\\SQLiteConnection' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/SQLiteConnection.php', 'Illuminate\\Database\\Schema\\Blueprint' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Schema/Blueprint.php', 'Illuminate\\Database\\Schema\\Builder' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Schema/Builder.php', + 'Illuminate\\Database\\Schema\\ColumnDefinition' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Schema/ColumnDefinition.php', 'Illuminate\\Database\\Schema\\Grammars\\ChangeColumn' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Schema/Grammars/ChangeColumn.php', 'Illuminate\\Database\\Schema\\Grammars\\Grammar' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Schema/Grammars/Grammar.php', 'Illuminate\\Database\\Schema\\Grammars\\MySqlGrammar' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php', @@ -1474,6 +1504,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Foundation\\Auth\\SendsPasswordResetEmails' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Auth/SendsPasswordResetEmails.php', 'Illuminate\\Foundation\\Auth\\ThrottlesLogins' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Auth/ThrottlesLogins.php', 'Illuminate\\Foundation\\Auth\\User' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Auth/User.php', + 'Illuminate\\Foundation\\Auth\\VerifiesEmails' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Auth/VerifiesEmails.php', 'Illuminate\\Foundation\\Bootstrap\\BootProviders' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php', @@ -1487,6 +1518,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Foundation\\Bus\\PendingDispatch' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php', 'Illuminate\\Foundation\\ComposerScripts' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/ComposerScripts.php', 'Illuminate\\Foundation\\Console\\AppNameCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/AppNameCommand.php', + 'Illuminate\\Foundation\\Console\\ChannelMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ChannelMakeCommand.php', 'Illuminate\\Foundation\\Console\\ClearCompiledCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ClearCompiledCommand.php', 'Illuminate\\Foundation\\Console\\ClosureCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ClosureCommand.php', 'Illuminate\\Foundation\\Console\\ConfigCacheCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ConfigCacheCommand.php', @@ -1504,6 +1536,8 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Foundation\\Console\\MailMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/MailMakeCommand.php', 'Illuminate\\Foundation\\Console\\ModelMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ModelMakeCommand.php', 'Illuminate\\Foundation\\Console\\NotificationMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/NotificationMakeCommand.php', + 'Illuminate\\Foundation\\Console\\ObserverMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ObserverMakeCommand.php', + 'Illuminate\\Foundation\\Console\\OptimizeClearCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/OptimizeClearCommand.php', 'Illuminate\\Foundation\\Console\\OptimizeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/OptimizeCommand.php', 'Illuminate\\Foundation\\Console\\PackageDiscoverCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/PackageDiscoverCommand.php', 'Illuminate\\Foundation\\Console\\PolicyMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/PolicyMakeCommand.php', @@ -1526,11 +1560,13 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Foundation\\Console\\TestMakeCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/TestMakeCommand.php', 'Illuminate\\Foundation\\Console\\UpCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/UpCommand.php', 'Illuminate\\Foundation\\Console\\VendorPublishCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/VendorPublishCommand.php', + 'Illuminate\\Foundation\\Console\\ViewCacheCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ViewCacheCommand.php', 'Illuminate\\Foundation\\Console\\ViewClearCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Console/ViewClearCommand.php', 'Illuminate\\Foundation\\EnvironmentDetector' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/EnvironmentDetector.php', 'Illuminate\\Foundation\\Events\\Dispatchable' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Events/Dispatchable.php', 'Illuminate\\Foundation\\Events\\LocaleUpdated' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Events/LocaleUpdated.php', 'Illuminate\\Foundation\\Exceptions\\Handler' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php', + 'Illuminate\\Foundation\\Exceptions\\WhoopsHandler' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Exceptions/WhoopsHandler.php', 'Illuminate\\Foundation\\Http\\Events\\RequestHandled' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Http/Events/RequestHandled.php', 'Illuminate\\Foundation\\Http\\Exceptions\\MaintenanceModeException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Http/Exceptions/MaintenanceModeException.php', 'Illuminate\\Foundation\\Http\\FormRequest' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Http/FormRequest.php', @@ -1562,10 +1598,12 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Foundation\\Testing\\Concerns\\MakesHttpRequests' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php', 'Illuminate\\Foundation\\Testing\\Concerns\\MocksApplicationServices' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MocksApplicationServices.php', 'Illuminate\\Foundation\\Testing\\Constraints\\HasInDatabase' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/Constraints/HasInDatabase.php', + 'Illuminate\\Foundation\\Testing\\Constraints\\SeeInOrder' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/Constraints/SeeInOrder.php', 'Illuminate\\Foundation\\Testing\\Constraints\\SoftDeletedInDatabase' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/Constraints/SoftDeletedInDatabase.php', 'Illuminate\\Foundation\\Testing\\DatabaseMigrations' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/DatabaseMigrations.php', 'Illuminate\\Foundation\\Testing\\DatabaseTransactions' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/DatabaseTransactions.php', 'Illuminate\\Foundation\\Testing\\HttpException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/HttpException.php', + 'Illuminate\\Foundation\\Testing\\PendingCommand' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/PendingCommand.php', 'Illuminate\\Foundation\\Testing\\RefreshDatabase' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/RefreshDatabase.php', 'Illuminate\\Foundation\\Testing\\RefreshDatabaseState' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/RefreshDatabaseState.php', 'Illuminate\\Foundation\\Testing\\TestCase' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php', @@ -1574,24 +1612,31 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Foundation\\Testing\\WithoutEvents' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/WithoutEvents.php', 'Illuminate\\Foundation\\Testing\\WithoutMiddleware' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Testing/WithoutMiddleware.php', 'Illuminate\\Foundation\\Validation\\ValidatesRequests' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/Validation/ValidatesRequests.php', + 'Illuminate\\Hashing\\AbstractHasher' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Hashing/AbstractHasher.php', + 'Illuminate\\Hashing\\Argon2IdHasher' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Hashing/Argon2IdHasher.php', + 'Illuminate\\Hashing\\ArgonHasher' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Hashing/ArgonHasher.php', 'Illuminate\\Hashing\\BcryptHasher' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Hashing/BcryptHasher.php', + 'Illuminate\\Hashing\\HashManager' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Hashing/HashManager.php', 'Illuminate\\Hashing\\HashServiceProvider' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Hashing/HashServiceProvider.php', 'Illuminate\\Http\\Concerns\\InteractsWithContentTypes' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithContentTypes.php', 'Illuminate\\Http\\Concerns\\InteractsWithFlashData' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithFlashData.php', 'Illuminate\\Http\\Concerns\\InteractsWithInput' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Concerns/InteractsWithInput.php', 'Illuminate\\Http\\Exceptions\\HttpResponseException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Exceptions/HttpResponseException.php', 'Illuminate\\Http\\Exceptions\\PostTooLargeException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Exceptions/PostTooLargeException.php', + 'Illuminate\\Http\\Exceptions\\ThrottleRequestsException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Exceptions/ThrottleRequestsException.php', 'Illuminate\\Http\\File' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/File.php', 'Illuminate\\Http\\FileHelpers' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/FileHelpers.php', 'Illuminate\\Http\\JsonResponse' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/JsonResponse.php', 'Illuminate\\Http\\Middleware\\CheckResponseForModifications' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Middleware/CheckResponseForModifications.php', 'Illuminate\\Http\\Middleware\\FrameGuard' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Middleware/FrameGuard.php', + 'Illuminate\\Http\\Middleware\\SetCacheHeaders' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Middleware/SetCacheHeaders.php', 'Illuminate\\Http\\RedirectResponse' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/RedirectResponse.php', 'Illuminate\\Http\\Request' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Request.php', 'Illuminate\\Http\\Resources\\CollectsResources' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/CollectsResources.php', 'Illuminate\\Http\\Resources\\ConditionallyLoadsAttributes' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/ConditionallyLoadsAttributes.php', 'Illuminate\\Http\\Resources\\DelegatesToResource' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/DelegatesToResource.php', 'Illuminate\\Http\\Resources\\Json\\AnonymousResourceCollection' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/Json/AnonymousResourceCollection.php', + 'Illuminate\\Http\\Resources\\Json\\JsonResource' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/Json/JsonResource.php', 'Illuminate\\Http\\Resources\\Json\\PaginatedResourceResponse' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/Json/PaginatedResourceResponse.php', 'Illuminate\\Http\\Resources\\Json\\Resource' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/Json/Resource.php', 'Illuminate\\Http\\Resources\\Json\\ResourceCollection' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php', @@ -1606,8 +1651,10 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Http\\Testing\\MimeType' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/Testing/MimeType.php', 'Illuminate\\Http\\UploadedFile' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Http/UploadedFile.php', 'Illuminate\\Log\\Events\\MessageLogged' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Log/Events/MessageLogged.php', + 'Illuminate\\Log\\LogManager' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Log/LogManager.php', 'Illuminate\\Log\\LogServiceProvider' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Log/LogServiceProvider.php', - 'Illuminate\\Log\\Writer' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Log/Writer.php', + 'Illuminate\\Log\\Logger' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Log/Logger.php', + 'Illuminate\\Log\\ParsesLogConfiguration' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Log/ParsesLogConfiguration.php', 'Illuminate\\Mail\\Events\\MessageSending' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Mail/Events/MessageSending.php', 'Illuminate\\Mail\\Events\\MessageSent' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Mail/Events/MessageSent.php', 'Illuminate\\Mail\\MailServiceProvider' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Mail/MailServiceProvider.php', @@ -1664,6 +1711,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Pipeline\\Pipeline' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Pipeline/Pipeline.php', 'Illuminate\\Pipeline\\PipelineServiceProvider' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Pipeline/PipelineServiceProvider.php', 'Illuminate\\Queue\\BeanstalkdQueue' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/BeanstalkdQueue.php', + 'Illuminate\\Queue\\CallQueuedClosure' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/CallQueuedClosure.php', 'Illuminate\\Queue\\CallQueuedHandler' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php', 'Illuminate\\Queue\\Capsule\\Manager' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/Capsule/Manager.php', 'Illuminate\\Queue\\Connectors\\BeanstalkdConnector' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/Connectors/BeanstalkdConnector.php', @@ -1713,6 +1761,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Queue\\QueueManager' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/QueueManager.php', 'Illuminate\\Queue\\QueueServiceProvider' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/QueueServiceProvider.php', 'Illuminate\\Queue\\RedisQueue' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/RedisQueue.php', + 'Illuminate\\Queue\\SerializableClosure' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/SerializableClosure.php', 'Illuminate\\Queue\\SerializesAndRestoresModelIdentifiers' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php', 'Illuminate\\Queue\\SerializesModels' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/SerializesModels.php', 'Illuminate\\Queue\\SqsQueue' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Queue/SqsQueue.php', @@ -1726,6 +1775,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Redis\\Connections\\PredisConnection' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Redis/Connections/PredisConnection.php', 'Illuminate\\Redis\\Connectors\\PhpRedisConnector' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php', 'Illuminate\\Redis\\Connectors\\PredisConnector' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Redis/Connectors/PredisConnector.php', + 'Illuminate\\Redis\\Events\\CommandExecuted' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Redis/Events/CommandExecuted.php', 'Illuminate\\Redis\\Limiters\\ConcurrencyLimiter' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Redis/Limiters/ConcurrencyLimiter.php', 'Illuminate\\Redis\\Limiters\\ConcurrencyLimiterBuilder' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Redis/Limiters/ConcurrencyLimiterBuilder.php', 'Illuminate\\Redis\\Limiters\\DurationLimiter' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Redis/Limiters/DurationLimiter.php', @@ -1739,6 +1789,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Routing\\ControllerDispatcher' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php', 'Illuminate\\Routing\\ControllerMiddlewareOptions' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/ControllerMiddlewareOptions.php', 'Illuminate\\Routing\\Events\\RouteMatched' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Events/RouteMatched.php', + 'Illuminate\\Routing\\Exceptions\\InvalidSignatureException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Exceptions/InvalidSignatureException.php', 'Illuminate\\Routing\\Exceptions\\UrlGenerationException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Exceptions/UrlGenerationException.php', 'Illuminate\\Routing\\ImplicitRouteBinding' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/ImplicitRouteBinding.php', 'Illuminate\\Routing\\Matching\\HostValidator' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Matching/HostValidator.php', @@ -1750,6 +1801,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Routing\\Middleware\\SubstituteBindings' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php', 'Illuminate\\Routing\\Middleware\\ThrottleRequests' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php', 'Illuminate\\Routing\\Middleware\\ThrottleRequestsWithRedis' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequestsWithRedis.php', + 'Illuminate\\Routing\\Middleware\\ValidateSignature' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Middleware/ValidateSignature.php', 'Illuminate\\Routing\\PendingResourceRegistration' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/PendingResourceRegistration.php', 'Illuminate\\Routing\\Pipeline' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/Pipeline.php', 'Illuminate\\Routing\\RedirectController' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Routing/RedirectController.php', @@ -1791,8 +1843,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Support\\Carbon' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Carbon.php', 'Illuminate\\Support\\Collection' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Collection.php', 'Illuminate\\Support\\Composer' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Composer.php', - 'Illuminate\\Support\\Debug\\Dumper' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Debug/Dumper.php', - 'Illuminate\\Support\\Debug\\HtmlDumper' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Debug/HtmlDumper.php', 'Illuminate\\Support\\Facades\\App' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Facades/App.php', 'Illuminate\\Support\\Facades\\Artisan' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Facades/Artisan.php', 'Illuminate\\Support\\Facades\\Auth' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Facades/Auth.php', @@ -1847,6 +1897,8 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Support\\Testing\\Fakes\\PendingMailFake' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Testing/Fakes/PendingMailFake.php', 'Illuminate\\Support\\Testing\\Fakes\\QueueFake' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Testing/Fakes/QueueFake.php', 'Illuminate\\Support\\Traits\\CapsuleManagerTrait' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Traits/CapsuleManagerTrait.php', + 'Illuminate\\Support\\Traits\\ForwardsCalls' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php', + 'Illuminate\\Support\\Traits\\Localizable' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Traits/Localizable.php', 'Illuminate\\Support\\Traits\\Macroable' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/Traits/Macroable.php', 'Illuminate\\Support\\ViewErrorBag' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/ViewErrorBag.php', 'Illuminate\\Translation\\ArrayLoader' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Translation/ArrayLoader.php', @@ -1867,6 +1919,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\Validation\\Rules\\Exists' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Validation/Rules/Exists.php', 'Illuminate\\Validation\\Rules\\In' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Validation/Rules/In.php', 'Illuminate\\Validation\\Rules\\NotIn' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Validation/Rules/NotIn.php', + 'Illuminate\\Validation\\Rules\\RequiredIf' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Validation/Rules/RequiredIf.php', 'Illuminate\\Validation\\Rules\\Unique' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Validation/Rules/Unique.php', 'Illuminate\\Validation\\UnauthorizedException' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Validation/UnauthorizedException.php', 'Illuminate\\Validation\\ValidatesWhenResolvedTrait' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php', @@ -1883,6 +1936,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\View\\Compilers\\Concerns\\CompilesComponents' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesComponents.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesConditionals' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesConditionals.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesEchos' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesEchos.php', + 'Illuminate\\View\\Compilers\\Concerns\\CompilesHelpers' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesHelpers.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesIncludes' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesIncludes.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesInjections' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesInjections.php', 'Illuminate\\View\\Compilers\\Concerns\\CompilesJson' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/Compilers/Concerns/CompilesJson.php', @@ -1909,9 +1963,9 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Illuminate\\View\\ViewFinderInterface' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/ViewFinderInterface.php', 'Illuminate\\View\\ViewName' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/ViewName.php', 'Illuminate\\View\\ViewServiceProvider' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/View/ViewServiceProvider.php', - 'JakubOnderka\\PhpConsoleColor\\ConsoleColor' => __DIR__ . '/..' . '/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/ConsoleColor.php', - 'JakubOnderka\\PhpConsoleColor\\InvalidStyleException' => __DIR__ . '/..' . '/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/InvalidStyleException.php', - 'JakubOnderka\\PhpConsoleHighlighter\\Highlighter' => __DIR__ . '/..' . '/jakub-onderka/php-console-highlighter/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php', + 'JakubOnderka\\PhpConsoleColor\\ConsoleColor' => __DIR__ . '/..' . '/jakub-onderka/php-console-color/src/ConsoleColor.php', + 'JakubOnderka\\PhpConsoleColor\\InvalidStyleException' => __DIR__ . '/..' . '/jakub-onderka/php-console-color/src/InvalidStyleException.php', + 'JakubOnderka\\PhpConsoleHighlighter\\Highlighter' => __DIR__ . '/..' . '/jakub-onderka/php-console-highlighter/src/Highlighter.php', 'JsonSerializable' => __DIR__ . '/..' . '/nesbot/carbon/src/JsonSerializable.php', 'Laravel\\Tinker\\ClassAliasAutoloader' => __DIR__ . '/..' . '/laravel/tinker/src/ClassAliasAutoloader.php', 'Laravel\\Tinker\\Console\\TinkerCommand' => __DIR__ . '/..' . '/laravel/tinker/src/Console/TinkerCommand.php', @@ -1964,9 +2018,14 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'League\\Flysystem\\Util\\MimeType' => __DIR__ . '/..' . '/league/flysystem/src/Util/MimeType.php', 'League\\Flysystem\\Util\\StreamHasher' => __DIR__ . '/..' . '/league/flysystem/src/Util/StreamHasher.php', 'Mockery' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerForV5' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerForV5.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerForV6' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerForV6.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerForV7' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerForV7.php', + 'Mockery\\Adapter\\Phpunit\\Legacy\\TestListenerTrait' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Adapter/Phpunit/Legacy/TestListenerTrait.php', 'Mockery\\Adapter\\Phpunit\\MockeryPHPUnitIntegration' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Adapter/Phpunit/MockeryPHPUnitIntegration.php', 'Mockery\\Adapter\\Phpunit\\MockeryTestCase' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Adapter/Phpunit/MockeryTestCase.php', 'Mockery\\Adapter\\Phpunit\\TestListener' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php', + 'Mockery\\ClosureWrapper' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/ClosureWrapper.php', 'Mockery\\CompositeExpectation' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/CompositeExpectation.php', 'Mockery\\Configuration' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Configuration.php', 'Mockery\\Container' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery/Container.php', @@ -2130,6 +2189,16 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Monolog\\Processor\\UidProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/UidProcessor.php', 'Monolog\\Processor\\WebProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/WebProcessor.php', 'Monolog\\Registry' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Registry.php', + 'Opis\\Closure\\Analyzer' => __DIR__ . '/..' . '/opis/closure/src/Analyzer.php', + 'Opis\\Closure\\ClosureContext' => __DIR__ . '/..' . '/opis/closure/src/ClosureContext.php', + 'Opis\\Closure\\ClosureScope' => __DIR__ . '/..' . '/opis/closure/src/ClosureScope.php', + 'Opis\\Closure\\ClosureStream' => __DIR__ . '/..' . '/opis/closure/src/ClosureStream.php', + 'Opis\\Closure\\ISecurityProvider' => __DIR__ . '/..' . '/opis/closure/src/ISecurityProvider.php', + 'Opis\\Closure\\ReflectionClosure' => __DIR__ . '/..' . '/opis/closure/src/ReflectionClosure.php', + 'Opis\\Closure\\SecurityException' => __DIR__ . '/..' . '/opis/closure/src/SecurityException.php', + 'Opis\\Closure\\SecurityProvider' => __DIR__ . '/..' . '/opis/closure/src/SecurityProvider.php', + 'Opis\\Closure\\SelfReference' => __DIR__ . '/..' . '/opis/closure/src/SelfReference.php', + 'Opis\\Closure\\SerializableClosure' => __DIR__ . '/..' . '/opis/closure/src/SerializableClosure.php', 'PHPUnit\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php', 'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php', 'PHPUnit\\Framework\\AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/AssertionFailedError.php', @@ -2502,7 +2571,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'PHP_Token_XOR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', 'PHP_Token_YIELD' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', 'PHP_Token_YIELD_FROM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php', - 'ParseError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ParseError.php', 'Parsedown' => __DIR__ . '/..' . '/erusev/parsedown/Parsedown.php', 'PharIo\\Manifest\\Application' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Application.php', 'PharIo\\Manifest\\ApplicationName' => __DIR__ . '/..' . '/phar-io/manifest/src/values/ApplicationName.php', @@ -2582,6 +2650,8 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'PhpParser\\Builder\\Namespace_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php', 'PhpParser\\Builder\\Param' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Param.php', 'PhpParser\\Builder\\Property' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Property.php', + 'PhpParser\\Builder\\TraitUse' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/TraitUse.php', + 'PhpParser\\Builder\\TraitUseAdaptation' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/TraitUseAdaptation.php', 'PhpParser\\Builder\\Trait_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Trait_.php', 'PhpParser\\Builder\\Use_' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Builder/Use_.php', 'PhpParser\\Comment' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Comment.php', @@ -2814,6 +2884,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Prophecy\\Doubler\\ClassPatch\\ProphecySubjectPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php', 'Prophecy\\Doubler\\ClassPatch\\ReflectionClassNewInstancePatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php', 'Prophecy\\Doubler\\ClassPatch\\SplFileInfoPatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php', + 'Prophecy\\Doubler\\ClassPatch\\ThrowablePatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php', 'Prophecy\\Doubler\\ClassPatch\\TraversablePatch' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php', 'Prophecy\\Doubler\\DoubleInterface' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/DoubleInterface.php', 'Prophecy\\Doubler\\Doubler' => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy/Doubler/Doubler.php', @@ -3170,7 +3241,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/recursion-context/src/InvalidArgumentException.php', 'SebastianBergmann\\ResourceOperations\\ResourceOperations' => __DIR__ . '/..' . '/sebastian/resource-operations/src/ResourceOperations.php', 'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php', - 'SessionUpdateTimestampHandlerInterface' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php', 'SettingsSeeder' => __DIR__ . '/../..' . '/database/seeds/SettingsSeeder.php', 'Symfony\\Component\\Console\\Application' => __DIR__ . '/..' . '/symfony/console/Application.php', 'Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => __DIR__ . '/..' . '/symfony/console/CommandLoader/CommandLoaderInterface.php', @@ -3193,13 +3263,13 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleCommandEvent.php', 'Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleErrorEvent.php', 'Symfony\\Component\\Console\\Event\\ConsoleEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleEvent.php', - 'Symfony\\Component\\Console\\Event\\ConsoleExceptionEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleExceptionEvent.php', 'Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleTerminateEvent.php', 'Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/CommandNotFoundException.php', 'Symfony\\Component\\Console\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/console/Exception/ExceptionInterface.php', 'Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidArgumentException.php', 'Symfony\\Component\\Console\\Exception\\InvalidOptionException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidOptionException.php', 'Symfony\\Component\\Console\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/console/Exception/LogicException.php', + 'Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/NamespaceNotFoundException.php', 'Symfony\\Component\\Console\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/console/Exception/RuntimeException.php', 'Symfony\\Component\\Console\\Formatter\\OutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatter.php', 'Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterInterface.php', @@ -3220,6 +3290,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/SymfonyQuestionHelper.php', 'Symfony\\Component\\Console\\Helper\\Table' => __DIR__ . '/..' . '/symfony/console/Helper/Table.php', 'Symfony\\Component\\Console\\Helper\\TableCell' => __DIR__ . '/..' . '/symfony/console/Helper/TableCell.php', + 'Symfony\\Component\\Console\\Helper\\TableRows' => __DIR__ . '/..' . '/symfony/console/Helper/TableRows.php', 'Symfony\\Component\\Console\\Helper\\TableSeparator' => __DIR__ . '/..' . '/symfony/console/Helper/TableSeparator.php', 'Symfony\\Component\\Console\\Helper\\TableStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableStyle.php', 'Symfony\\Component\\Console\\Input\\ArgvInput' => __DIR__ . '/..' . '/symfony/console/Input/ArgvInput.php', @@ -3236,6 +3307,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Console\\Output\\BufferedOutput' => __DIR__ . '/..' . '/symfony/console/Output/BufferedOutput.php', 'Symfony\\Component\\Console\\Output\\ConsoleOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutput.php', 'Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutputInterface.php', + 'Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleSectionOutput.php', 'Symfony\\Component\\Console\\Output\\NullOutput' => __DIR__ . '/..' . '/symfony/console/Output/NullOutput.php', 'Symfony\\Component\\Console\\Output\\Output' => __DIR__ . '/..' . '/symfony/console/Output/Output.php', 'Symfony\\Component\\Console\\Output\\OutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/OutputInterface.php', @@ -3249,6 +3321,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Console\\Terminal' => __DIR__ . '/..' . '/symfony/console/Terminal.php', 'Symfony\\Component\\Console\\Tester\\ApplicationTester' => __DIR__ . '/..' . '/symfony/console/Tester/ApplicationTester.php', 'Symfony\\Component\\Console\\Tester\\CommandTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandTester.php', + 'Symfony\\Component\\Console\\Tester\\TesterTrait' => __DIR__ . '/..' . '/symfony/console/Tester/TesterTrait.php', 'Symfony\\Component\\CssSelector\\CssSelectorConverter' => __DIR__ . '/..' . '/symfony/css-selector/CssSelectorConverter.php', 'Symfony\\Component\\CssSelector\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/css-selector/Exception/ExceptionInterface.php', 'Symfony\\Component\\CssSelector\\Exception\\ExpressionErrorException' => __DIR__ . '/..' . '/symfony/css-selector/Exception/ExpressionErrorException.php', @@ -3303,7 +3376,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Debug\\ErrorHandler' => __DIR__ . '/..' . '/symfony/debug/ErrorHandler.php', 'Symfony\\Component\\Debug\\ExceptionHandler' => __DIR__ . '/..' . '/symfony/debug/ExceptionHandler.php', 'Symfony\\Component\\Debug\\Exception\\ClassNotFoundException' => __DIR__ . '/..' . '/symfony/debug/Exception/ClassNotFoundException.php', - 'Symfony\\Component\\Debug\\Exception\\ContextErrorException' => __DIR__ . '/..' . '/symfony/debug/Exception/ContextErrorException.php', 'Symfony\\Component\\Debug\\Exception\\FatalErrorException' => __DIR__ . '/..' . '/symfony/debug/Exception/FatalErrorException.php', 'Symfony\\Component\\Debug\\Exception\\FatalThrowableError' => __DIR__ . '/..' . '/symfony/debug/Exception/FatalThrowableError.php', 'Symfony\\Component\\Debug\\Exception\\FlattenException' => __DIR__ . '/..' . '/symfony/debug/Exception/FlattenException.php', @@ -3330,7 +3402,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Finder\\Comparator\\DateComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/DateComparator.php', 'Symfony\\Component\\Finder\\Comparator\\NumberComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/NumberComparator.php', 'Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => __DIR__ . '/..' . '/symfony/finder/Exception/AccessDeniedException.php', - 'Symfony\\Component\\Finder\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/finder/Exception/ExceptionInterface.php', 'Symfony\\Component\\Finder\\Finder' => __DIR__ . '/..' . '/symfony/finder/Finder.php', 'Symfony\\Component\\Finder\\Glob' => __DIR__ . '/..' . '/symfony/finder/Glob.php', 'Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/CustomFilterIterator.php', @@ -3340,7 +3411,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FileTypeFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilecontentFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilenameFilterIterator.php', - 'Symfony\\Component\\Finder\\Iterator\\FilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/PathFilterIterator.php', 'Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', @@ -3358,8 +3428,15 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\HttpFoundation\\ExpressionRequestMatcher' => __DIR__ . '/..' . '/symfony/http-foundation/ExpressionRequestMatcher.php', 'Symfony\\Component\\HttpFoundation\\FileBag' => __DIR__ . '/..' . '/symfony/http-foundation/FileBag.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\AccessDeniedException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/AccessDeniedException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\CannotWriteFileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/CannotWriteFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\ExtensionFileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/ExtensionFileException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/FileException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/FileNotFoundException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FormSizeFileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/FormSizeFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\IniSizeFileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/IniSizeFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\NoFileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/NoFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\NoTmpDirFileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/NoTmpDirFileException.php', + 'Symfony\\Component\\HttpFoundation\\File\\Exception\\PartialFileException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/PartialFileException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\UnexpectedTypeException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/UnexpectedTypeException.php', 'Symfony\\Component\\HttpFoundation\\File\\Exception\\UploadException' => __DIR__ . '/..' . '/symfony/http-foundation/File/Exception/UploadException.php', 'Symfony\\Component\\HttpFoundation\\File\\File' => __DIR__ . '/..' . '/symfony/http-foundation/File/File.php', @@ -3373,6 +3450,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\HttpFoundation\\File\\Stream' => __DIR__ . '/..' . '/symfony/http-foundation/File/Stream.php', 'Symfony\\Component\\HttpFoundation\\File\\UploadedFile' => __DIR__ . '/..' . '/symfony/http-foundation/File/UploadedFile.php', 'Symfony\\Component\\HttpFoundation\\HeaderBag' => __DIR__ . '/..' . '/symfony/http-foundation/HeaderBag.php', + 'Symfony\\Component\\HttpFoundation\\HeaderUtils' => __DIR__ . '/..' . '/symfony/http-foundation/HeaderUtils.php', 'Symfony\\Component\\HttpFoundation\\IpUtils' => __DIR__ . '/..' . '/symfony/http-foundation/IpUtils.php', 'Symfony\\Component\\HttpFoundation\\JsonResponse' => __DIR__ . '/..' . '/symfony/http-foundation/JsonResponse.php', 'Symfony\\Component\\HttpFoundation\\ParameterBag' => __DIR__ . '/..' . '/symfony/http-foundation/ParameterBag.php', @@ -3395,22 +3473,20 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\HttpFoundation\\Session\\SessionBagProxy' => __DIR__ . '/..' . '/symfony/http-foundation/Session/SessionBagProxy.php', 'Symfony\\Component\\HttpFoundation\\Session\\SessionInterface' => __DIR__ . '/..' . '/symfony/http-foundation/Session/SessionInterface.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\AbstractSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MemcacheSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/MemcacheSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MemcachedSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/MemcachedSessionHandler.php', + 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MigratingSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/MigratingSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\MongoDbSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/MongoDbSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeFileSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NativeSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/NativeSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\NullSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/NullSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\PdoSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php', + 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\RedisSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/RedisSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\StrictSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\WriteCheckSessionHandler' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Handler/WriteCheckSessionHandler.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MetadataBag' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/MetadataBag.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MockArraySessionStorage' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\MockFileSessionStorage' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/MockFileSessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\NativeSessionStorage' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/NativeSessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\PhpBridgeSessionStorage' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/PhpBridgeSessionStorage.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\AbstractProxy' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php', - 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\NativeProxy' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Proxy/NativeProxy.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Proxy\\SessionHandlerProxy' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php', 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\SessionStorageInterface' => __DIR__ . '/..' . '/symfony/http-foundation/Session/Storage/SessionStorageInterface.php', 'Symfony\\Component\\HttpFoundation\\StreamedResponse' => __DIR__ . '/..' . '/symfony/http-foundation/StreamedResponse.php', @@ -3424,7 +3500,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\HttpKernel\\CacheWarmer\\CacheWarmerInterface' => __DIR__ . '/..' . '/symfony/http-kernel/CacheWarmer/CacheWarmerInterface.php', 'Symfony\\Component\\HttpKernel\\CacheWarmer\\WarmableInterface' => __DIR__ . '/..' . '/symfony/http-kernel/CacheWarmer/WarmableInterface.php', 'Symfony\\Component\\HttpKernel\\Client' => __DIR__ . '/..' . '/symfony/http-kernel/Client.php', - 'Symfony\\Component\\HttpKernel\\Config\\EnvParametersResource' => __DIR__ . '/..' . '/symfony/http-kernel/Config/EnvParametersResource.php', 'Symfony\\Component\\HttpKernel\\Config\\FileLocator' => __DIR__ . '/..' . '/symfony/http-kernel/Config/FileLocator.php', 'Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadata' => __DIR__ . '/..' . '/symfony/http-kernel/ControllerMetadata/ArgumentMetadata.php', 'Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadataFactory' => __DIR__ . '/..' . '/symfony/http-kernel/ControllerMetadata/ArgumentMetadataFactory.php', @@ -3436,6 +3511,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestValueResolver' => __DIR__ . '/..' . '/symfony/http-kernel/Controller/ArgumentResolver/RequestValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\ServiceValueResolver' => __DIR__ . '/..' . '/symfony/http-kernel/Controller/ArgumentResolver/ServiceValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\SessionValueResolver' => __DIR__ . '/..' . '/symfony/http-kernel/Controller/ArgumentResolver/SessionValueResolver.php', + 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\TraceableValueResolver' => __DIR__ . '/..' . '/symfony/http-kernel/Controller/ArgumentResolver/TraceableValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\VariadicValueResolver' => __DIR__ . '/..' . '/symfony/http-kernel/Controller/ArgumentResolver/VariadicValueResolver.php', 'Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolverInterface' => __DIR__ . '/..' . '/symfony/http-kernel/Controller/ArgumentValueResolverInterface.php', 'Symfony\\Component\\HttpKernel\\Controller\\ContainerControllerResolver' => __DIR__ . '/..' . '/symfony/http-kernel/Controller/ContainerControllerResolver.php', @@ -3457,11 +3533,9 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector' => __DIR__ . '/..' . '/symfony/http-kernel/DataCollector/RequestDataCollector.php', 'Symfony\\Component\\HttpKernel\\DataCollector\\RouterDataCollector' => __DIR__ . '/..' . '/symfony/http-kernel/DataCollector/RouterDataCollector.php', 'Symfony\\Component\\HttpKernel\\DataCollector\\TimeDataCollector' => __DIR__ . '/..' . '/symfony/http-kernel/DataCollector/TimeDataCollector.php', - 'Symfony\\Component\\HttpKernel\\DataCollector\\Util\\ValueExporter' => __DIR__ . '/..' . '/symfony/http-kernel/DataCollector/Util/ValueExporter.php', 'Symfony\\Component\\HttpKernel\\Debug\\FileLinkFormatter' => __DIR__ . '/..' . '/symfony/http-kernel/Debug/FileLinkFormatter.php', 'Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher' => __DIR__ . '/..' . '/symfony/http-kernel/Debug/TraceableEventDispatcher.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\AddAnnotatedClassesToCachePass' => __DIR__ . '/..' . '/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php', - 'Symfony\\Component\\HttpKernel\\DependencyInjection\\AddClassesToCachePass' => __DIR__ . '/..' . '/symfony/http-kernel/DependencyInjection/AddClassesToCachePass.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ConfigurableExtension' => __DIR__ . '/..' . '/symfony/http-kernel/DependencyInjection/ConfigurableExtension.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\ControllerArgumentValueResolverPass' => __DIR__ . '/..' . '/symfony/http-kernel/DependencyInjection/ControllerArgumentValueResolverPass.php', 'Symfony\\Component\\HttpKernel\\DependencyInjection\\Extension' => __DIR__ . '/..' . '/symfony/http-kernel/DependencyInjection/Extension.php', @@ -3533,6 +3607,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\HttpKernel\\HttpCache\\Ssi' => __DIR__ . '/..' . '/symfony/http-kernel/HttpCache/Ssi.php', 'Symfony\\Component\\HttpKernel\\HttpCache\\Store' => __DIR__ . '/..' . '/symfony/http-kernel/HttpCache/Store.php', 'Symfony\\Component\\HttpKernel\\HttpCache\\StoreInterface' => __DIR__ . '/..' . '/symfony/http-kernel/HttpCache/StoreInterface.php', + 'Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler' => __DIR__ . '/..' . '/symfony/http-kernel/HttpCache/SubRequestHandler.php', 'Symfony\\Component\\HttpKernel\\HttpCache\\SurrogateInterface' => __DIR__ . '/..' . '/symfony/http-kernel/HttpCache/SurrogateInterface.php', 'Symfony\\Component\\HttpKernel\\HttpKernel' => __DIR__ . '/..' . '/symfony/http-kernel/HttpKernel.php', 'Symfony\\Component\\HttpKernel\\HttpKernelInterface' => __DIR__ . '/..' . '/symfony/http-kernel/HttpKernelInterface.php', @@ -3552,6 +3627,7 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/process/Exception/InvalidArgumentException.php', 'Symfony\\Component\\Process\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/process/Exception/LogicException.php', 'Symfony\\Component\\Process\\Exception\\ProcessFailedException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessFailedException.php', + 'Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessSignaledException.php', 'Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessTimedOutException.php', 'Symfony\\Component\\Process\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/process/Exception/RuntimeException.php', 'Symfony\\Component\\Process\\ExecutableFinder' => __DIR__ . '/..' . '/symfony/process/ExecutableFinder.php', @@ -3563,7 +3639,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Process\\Pipes\\UnixPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/UnixPipes.php', 'Symfony\\Component\\Process\\Pipes\\WindowsPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/WindowsPipes.php', 'Symfony\\Component\\Process\\Process' => __DIR__ . '/..' . '/symfony/process/Process.php', - 'Symfony\\Component\\Process\\ProcessBuilder' => __DIR__ . '/..' . '/symfony/process/ProcessBuilder.php', 'Symfony\\Component\\Process\\ProcessUtils' => __DIR__ . '/..' . '/symfony/process/ProcessUtils.php', 'Symfony\\Component\\Routing\\Annotation\\Route' => __DIR__ . '/..' . '/symfony/routing/Annotation/Route.php', 'Symfony\\Component\\Routing\\CompiledRoute' => __DIR__ . '/..' . '/symfony/routing/CompiledRoute.php', @@ -3599,8 +3674,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\Routing\\Loader\\ProtectedPhpFileLoader' => __DIR__ . '/..' . '/symfony/routing/Loader/PhpFileLoader.php', 'Symfony\\Component\\Routing\\Loader\\XmlFileLoader' => __DIR__ . '/..' . '/symfony/routing/Loader/XmlFileLoader.php', 'Symfony\\Component\\Routing\\Loader\\YamlFileLoader' => __DIR__ . '/..' . '/symfony/routing/Loader/YamlFileLoader.php', - 'Symfony\\Component\\Routing\\Matcher\\Dumper\\DumperCollection' => __DIR__ . '/..' . '/symfony/routing/Matcher/Dumper/DumperCollection.php', - 'Symfony\\Component\\Routing\\Matcher\\Dumper\\DumperRoute' => __DIR__ . '/..' . '/symfony/routing/Matcher/Dumper/DumperRoute.php', 'Symfony\\Component\\Routing\\Matcher\\Dumper\\MatcherDumper' => __DIR__ . '/..' . '/symfony/routing/Matcher/Dumper/MatcherDumper.php', 'Symfony\\Component\\Routing\\Matcher\\Dumper\\MatcherDumperInterface' => __DIR__ . '/..' . '/symfony/routing/Matcher/Dumper/MatcherDumperInterface.php', 'Symfony\\Component\\Routing\\Matcher\\Dumper\\PhpMatcherDumper' => __DIR__ . '/..' . '/symfony/routing/Matcher/Dumper/PhpMatcherDumper.php', @@ -3699,8 +3772,8 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\VarDumper\\Caster\\EnumStub' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/EnumStub.php', 'Symfony\\Component\\VarDumper\\Caster\\ExceptionCaster' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/ExceptionCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\FrameStub' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/FrameStub.php', + 'Symfony\\Component\\VarDumper\\Caster\\GmpCaster' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/GmpCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\LinkStub' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/LinkStub.php', - 'Symfony\\Component\\VarDumper\\Caster\\MongoCaster' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/MongoCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\PdoCaster' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/PdoCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\PgSqlCaster' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/PgSqlCaster.php', 'Symfony\\Component\\VarDumper\\Caster\\RedisCaster' => __DIR__ . '/..' . '/symfony/var-dumper/Caster/RedisCaster.php', @@ -3719,17 +3792,29 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'Symfony\\Component\\VarDumper\\Cloner\\DumperInterface' => __DIR__ . '/..' . '/symfony/var-dumper/Cloner/DumperInterface.php', 'Symfony\\Component\\VarDumper\\Cloner\\Stub' => __DIR__ . '/..' . '/symfony/var-dumper/Cloner/Stub.php', 'Symfony\\Component\\VarDumper\\Cloner\\VarCloner' => __DIR__ . '/..' . '/symfony/var-dumper/Cloner/VarCloner.php', + 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\CliDescriptor' => __DIR__ . '/..' . '/symfony/var-dumper/Command/Descriptor/CliDescriptor.php', + 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\DumpDescriptorInterface' => __DIR__ . '/..' . '/symfony/var-dumper/Command/Descriptor/DumpDescriptorInterface.php', + 'Symfony\\Component\\VarDumper\\Command\\Descriptor\\HtmlDescriptor' => __DIR__ . '/..' . '/symfony/var-dumper/Command/Descriptor/HtmlDescriptor.php', + 'Symfony\\Component\\VarDumper\\Command\\ServerDumpCommand' => __DIR__ . '/..' . '/symfony/var-dumper/Command/ServerDumpCommand.php', 'Symfony\\Component\\VarDumper\\Dumper\\AbstractDumper' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/AbstractDumper.php', 'Symfony\\Component\\VarDumper\\Dumper\\CliDumper' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/CliDumper.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\CliContextProvider' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/ContextProvider/CliContextProvider.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\ContextProviderInterface' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/ContextProvider/ContextProviderInterface.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\RequestContextProvider' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/ContextProvider/RequestContextProvider.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ContextProvider\\SourceContextProvider' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/ContextProvider/SourceContextProvider.php', 'Symfony\\Component\\VarDumper\\Dumper\\DataDumperInterface' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/DataDumperInterface.php', 'Symfony\\Component\\VarDumper\\Dumper\\HtmlDumper' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/HtmlDumper.php', + 'Symfony\\Component\\VarDumper\\Dumper\\ServerDumper' => __DIR__ . '/..' . '/symfony/var-dumper/Dumper/ServerDumper.php', 'Symfony\\Component\\VarDumper\\Exception\\ThrowingCasterException' => __DIR__ . '/..' . '/symfony/var-dumper/Exception/ThrowingCasterException.php', + 'Symfony\\Component\\VarDumper\\Server\\Connection' => __DIR__ . '/..' . '/symfony/var-dumper/Server/Connection.php', + 'Symfony\\Component\\VarDumper\\Server\\DumpServer' => __DIR__ . '/..' . '/symfony/var-dumper/Server/DumpServer.php', 'Symfony\\Component\\VarDumper\\Test\\VarDumperTestTrait' => __DIR__ . '/..' . '/symfony/var-dumper/Test/VarDumperTestTrait.php', 'Symfony\\Component\\VarDumper\\VarDumper' => __DIR__ . '/..' . '/symfony/var-dumper/VarDumper.php', 'Symfony\\Polyfill\\Ctype\\Ctype' => __DIR__ . '/..' . '/symfony/polyfill-ctype/Ctype.php', 'Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php', - 'Symfony\\Polyfill\\Php70\\Php70' => __DIR__ . '/..' . '/symfony/polyfill-php70/Php70.php', + 'Symfony\\Polyfill\\Php72\\Php72' => __DIR__ . '/..' . '/symfony/polyfill-php72/Php72.php', 'Symfony\\Thanks\\Command\\ThanksCommand' => __DIR__ . '/..' . '/symfony/thanks/src/Command/ThanksCommand.php', + 'Symfony\\Thanks\\GitHubClient' => __DIR__ . '/..' . '/symfony/thanks/src/GitHubClient.php', 'Symfony\\Thanks\\Thanks' => __DIR__ . '/..' . '/symfony/thanks/src/Thanks.php', 'Tests\\CreatesApplication' => __DIR__ . '/../..' . '/tests/CreatesApplication.php', 'Tests\\Feature\\ExampleTest' => __DIR__ . '/../..' . '/tests/Feature/ExampleTest.php', @@ -3750,7 +3835,6 @@ class ComposerStaticInit4b6fb9210a1ea37c2db27b8ff53a1ecf 'TijsVerkoyen\\CssToInlineStyles\\Css\\Property\\Property' => __DIR__ . '/..' . '/tijsverkoyen/css-to-inline-styles/src/Css/Property/Property.php', 'TijsVerkoyen\\CssToInlineStyles\\Css\\Rule\\Processor' => __DIR__ . '/..' . '/tijsverkoyen/css-to-inline-styles/src/Css/Rule/Processor.php', 'TijsVerkoyen\\CssToInlineStyles\\Css\\Rule\\Rule' => __DIR__ . '/..' . '/tijsverkoyen/css-to-inline-styles/src/Css/Rule/Rule.php', - 'TypeError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/TypeError.php', 'UsersSeeder' => __DIR__ . '/../..' . '/database/seeds/UsersSeeder.php', 'Webmozart\\Assert\\Assert' => __DIR__ . '/..' . '/webmozart/assert/src/Assert.php', 'Whoops\\Exception\\ErrorException' => __DIR__ . '/..' . '/filp/whoops/src/Whoops/Exception/ErrorException.php', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index ab2ebd4a..6505bdc3 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -55,58 +55,6 @@ "parser" ] }, - { - "name": "vlucas/phpdotenv", - "version": "v2.4.0", - "version_normalized": "2.4.0.0", - "source": { - "type": "git", - "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c", - "reference": "3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c", - "shasum": "" - }, - "require": { - "php": ">=5.3.9" - }, - "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.0" - }, - "time": "2016-09-01T10:05:43+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Dotenv\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause-Attribution" - ], - "authors": [ - { - "name": "Vance Lucas", - "email": "vance@vancelucas.com", - "homepage": "http://www.vancelucas.com" - } - ], - "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", - "keywords": [ - "dotenv", - "env", - "environment" - ] - }, { "name": "tijsverkoyen/css-to-inline-styles", "version": "2.2.1", @@ -205,145 +153,6 @@ "psr-3" ] }, - { - "name": "swiftmailer/swiftmailer", - "version": "v6.0.2", - "version_normalized": "6.0.2.0", - "source": { - "type": "git", - "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "412333372fb6c8ffb65496a2bbd7321af75733fc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/412333372fb6c8ffb65496a2bbd7321af75733fc", - "reference": "412333372fb6c8ffb65496a2bbd7321af75733fc", - "shasum": "" - }, - "require": { - "egulias/email-validator": "~2.0", - "php": ">=7.0.0" - }, - "require-dev": { - "mockery/mockery": "~0.9.1", - "symfony/phpunit-bridge": "~3.3@dev" - }, - "time": "2017-09-30T22:39:41+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.0-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "lib/swift_required.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Corbyn" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Swiftmailer, free feature-rich PHP mailer", - "homepage": "http://swiftmailer.symfony.com", - "keywords": [ - "email", - "mail", - "mailer" - ] - }, - { - "name": "ramsey/uuid", - "version": "3.7.3", - "version_normalized": "3.7.3.0", - "source": { - "type": "git", - "url": "https://github.com/ramsey/uuid.git", - "reference": "44abcdad877d9a46685a3a4d221e3b2c4b87cb76" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/44abcdad877d9a46685a3a4d221e3b2c4b87cb76", - "reference": "44abcdad877d9a46685a3a4d221e3b2c4b87cb76", - "shasum": "" - }, - "require": { - "paragonie/random_compat": "^1.0|^2.0", - "php": "^5.4 || ^7.0" - }, - "replace": { - "rhumsaa/uuid": "self.version" - }, - "require-dev": { - "codeception/aspect-mock": "^1.0 | ~2.0.0", - "doctrine/annotations": "~1.2.0", - "goaop/framework": "1.0.0-alpha.2 | ^1.0 | ^2.1", - "ircmaxell/random-lib": "^1.1", - "jakub-onderka/php-parallel-lint": "^0.9.0", - "mockery/mockery": "^0.9.9", - "moontoast/math": "^1.1", - "php-mock/php-mock-phpunit": "^0.3|^1.1", - "phpunit/phpunit": "^4.7|^5.0", - "squizlabs/php_codesniffer": "^2.3" - }, - "suggest": { - "ext-libsodium": "Provides the PECL libsodium extension for use with the SodiumRandomGenerator", - "ext-uuid": "Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator", - "ircmaxell/random-lib": "Provides RandomLib for use with the RandomLibAdapter", - "moontoast/math": "Provides support for converting UUID to 128-bit integer (in string form).", - "ramsey/uuid-console": "A console application for generating UUIDs with ramsey/uuid", - "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." - }, - "time": "2018-01-20T00:28:24+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Ramsey\\Uuid\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marijn Huizendveld", - "email": "marijn.huizendveld@gmail.com" - }, - { - "name": "Thibaud Fabre", - "email": "thibaud@aztech.io" - }, - { - "name": "Ben Ramsey", - "email": "ben@benramsey.com", - "homepage": "https://benramsey.com" - } - ], - "description": "Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).", - "homepage": "https://github.com/ramsey/uuid", - "keywords": [ - "guid", - "identifier", - "uuid" - ] - }, { "name": "psr/container", "version": "1.0.0", @@ -395,52 +204,6 @@ "psr" ] }, - { - "name": "mtdowling/cron-expression", - "version": "v1.2.1", - "version_normalized": "1.2.1.0", - "source": { - "type": "git", - "url": "https://github.com/mtdowling/cron-expression.git", - "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mtdowling/cron-expression/zipball/9504fa9ea681b586028adaaa0877db4aecf32bad", - "reference": "9504fa9ea681b586028adaaa0877db4aecf32bad", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" - }, - "time": "2017-01-23T04:29:33+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "Cron\\": "src/Cron/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - } - ], - "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", - "keywords": [ - "cron", - "schedule" - ] - }, { "name": "monolog/monolog", "version": "1.23.0", @@ -521,156 +284,6 @@ "psr-3" ] }, - { - "name": "fideloper/proxy", - "version": "3.3.4", - "version_normalized": "3.3.4.0", - "source": { - "type": "git", - "url": "https://github.com/fideloper/TrustedProxy.git", - "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/9cdf6f118af58d89764249bbcc7bb260c132924f", - "reference": "9cdf6f118af58d89764249bbcc7bb260c132924f", - "shasum": "" - }, - "require": { - "illuminate/contracts": "~5.0", - "php": ">=5.4.0" - }, - "require-dev": { - "illuminate/http": "~5.0", - "mockery/mockery": "~0.9.3", - "phpunit/phpunit": "^5.7" - }, - "time": "2017-06-15T17:19:42+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - }, - "laravel": { - "providers": [ - "Fideloper\\Proxy\\TrustedProxyServiceProvider" - ] - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Fideloper\\Proxy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Fidao", - "email": "fideloper@gmail.com" - } - ], - "description": "Set trusted proxies for Laravel", - "keywords": [ - "load balancing", - "proxy", - "trusted proxy" - ] - }, - { - "name": "jakub-onderka/php-console-color", - "version": "0.1", - "version_normalized": "0.1.0.0", - "source": { - "type": "git", - "url": "https://github.com/JakubOnderka/PHP-Console-Color.git", - "reference": "e0b393dacf7703fc36a4efc3df1435485197e6c1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/e0b393dacf7703fc36a4efc3df1435485197e6c1", - "reference": "e0b393dacf7703fc36a4efc3df1435485197e6c1", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "jakub-onderka/php-code-style": "1.0", - "jakub-onderka/php-parallel-lint": "0.*", - "jakub-onderka/php-var-dump-check": "0.*", - "phpunit/phpunit": "3.7.*", - "squizlabs/php_codesniffer": "1.*" - }, - "time": "2014-04-08T15:00:19+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "JakubOnderka\\PhpConsoleColor": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "jakub.onderka@gmail.com", - "homepage": "http://www.acci.cz" - } - ] - }, - { - "name": "jakub-onderka/php-console-highlighter", - "version": "v0.3.2", - "version_normalized": "0.3.2.0", - "source": { - "type": "git", - "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git", - "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/7daa75df45242c8d5b75a22c00a201e7954e4fb5", - "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5", - "shasum": "" - }, - "require": { - "jakub-onderka/php-console-color": "~0.1", - "php": ">=5.3.0" - }, - "require-dev": { - "jakub-onderka/php-code-style": "~1.0", - "jakub-onderka/php-parallel-lint": "~0.5", - "jakub-onderka/php-var-dump-check": "~0.1", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~1.5" - }, - "time": "2015-04-20T18:58:01+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-0": { - "JakubOnderka\\PhpConsoleHighlighter": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "acci@acci.cz", - "homepage": "http://www.acci.cz/" - } - ] - }, { "name": "dnoegel/php-xdg-base-dir", "version": "0.1", @@ -706,58 +319,6 @@ ], "description": "implementation of xdg base directory specification for php" }, - { - "name": "fzaninotto/faker", - "version": "v1.7.1", - "version_normalized": "1.7.1.0", - "source": { - "type": "git", - "url": "https://github.com/fzaninotto/Faker.git", - "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", - "reference": "d3ed4cc37051c1ca52d22d76b437d14809fc7e0d", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "ext-intl": "*", - "phpunit/phpunit": "^4.0 || ^5.0", - "squizlabs/php_codesniffer": "^1.5" - }, - "time": "2017-08-15T16:48:10+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Faker\\": "src/Faker/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "François Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ] - }, { "name": "hamcrest/hamcrest-php", "version": "v2.0.0", @@ -2113,51 +1674,6 @@ "url" ] }, - { - "name": "symfony/thanks", - "version": "v1.0.7", - "version_normalized": "1.0.7.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/thanks.git", - "reference": "bade4992c46ed722162694b4af8d72f84402819a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/thanks/zipball/bade4992c46ed722162694b4af8d72f84402819a", - "reference": "bade4992c46ed722162694b4af8d72f84402819a", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0", - "php": "^5.5.9|^7.0.0" - }, - "time": "2018-03-14T21:51:39+00:00", - "type": "composer-plugin", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, - "class": "Symfony\\Thanks\\Thanks" - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Thanks\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - } - ], - "description": "Give thanks (in the form of a GitHub ⭐) to your fellow PHP package maintainers (not limited to Symfony components)!" - }, { "name": "guzzlehttp/guzzle", "version": "6.3.3", @@ -2225,1071 +1741,6 @@ "web service" ] }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.8.0", - "version_normalized": "1.8.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "3296adf6a6454a050679cde90f95350ad604b171" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171", - "reference": "3296adf6a6454a050679cde90f95350ad604b171", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "time": "2018-04-26T10:06:28+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ] - }, - { - "name": "symfony/var-dumper", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/var-dumper.git", - "reference": "0e6545672d8c9ce70dd472adc2f8b03155a46f73" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/0e6545672d8c9ce70dd472adc2f8b03155a46f73", - "reference": "0e6545672d8c9ce70dd472adc2f8b03155a46f73", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" - }, - "require-dev": { - "ext-iconv": "*", - "twig/twig": "~1.34|~2.4" - }, - "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "ext-symfony_debug": "" - }, - "time": "2018-04-26T12:42:15+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "Resources/functions/dump.php" - ], - "psr-4": { - "Symfony\\Component\\VarDumper\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony mechanism for exploring and dumping PHP variables", - "homepage": "https://symfony.com", - "keywords": [ - "debug", - "dump" - ] - }, - { - "name": "symfony/debug", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/b28fd73fefbac341f673f5efd707d539d6a19f68", - "reference": "b28fd73fefbac341f673f5efd707d539d6a19f68", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "psr/log": "~1.0" - }, - "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" - }, - "require-dev": { - "symfony/http-kernel": "~2.8|~3.0|~4.0" - }, - "time": "2018-05-16T14:03:39+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Debug Component", - "homepage": "https://symfony.com" - }, - { - "name": "symfony/console", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "36f83f642443c46f3cf751d4d2ee5d047d757a27" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/36f83f642443c46f3cf751d4d2ee5d047d757a27", - "reference": "36f83f642443c46f3cf751d4d2ee5d047d757a27", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/process": "<3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.3|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.3|~4.0" - }, - "suggest": { - "psr/log-implementation": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, - "time": "2018-05-16T08:49:21+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Console Component", - "homepage": "https://symfony.com" - }, - { - "name": "nikic/php-parser", - "version": "v4.0.2", - "version_normalized": "4.0.2.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "35b8caf75e791ba1b2d24fec1552168d72692b12" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/35b8caf75e791ba1b2d24fec1552168d72692b12", - "reference": "35b8caf75e791ba1b2d24fec1552168d72692b12", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.5 || ^7.0" - }, - "time": "2018-06-03T11:33:10+00:00", - "bin": [ - "bin/php-parse" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ] - }, - { - "name": "psy/psysh", - "version": "v0.9.6", - "version_normalized": "0.9.6.0", - "source": { - "type": "git", - "url": "https://github.com/bobthecow/psysh.git", - "reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4a2ce86f199d51b6e2524214dc06835e872f4fce", - "reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce", - "shasum": "" - }, - "require": { - "dnoegel/php-xdg-base-dir": "0.1", - "jakub-onderka/php-console-highlighter": "0.3.*", - "nikic/php-parser": "~1.3|~2.0|~3.0|~4.0", - "php": ">=5.4.0", - "symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0", - "symfony/var-dumper": "~2.7|~3.0|~4.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.2", - "hoa/console": "~2.15|~3.16", - "phpunit/phpunit": "~4.8.35|~5.0|~6.0|~7.0" - }, - "suggest": { - "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", - "ext-pdo-sqlite": "The doc command requires SQLite to work.", - "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", - "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.", - "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit." - }, - "time": "2018-06-10T17:57:20+00:00", - "bin": [ - "bin/psysh" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-develop": "0.9.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "Psy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Justin Hileman", - "email": "justin@justinhileman.info", - "homepage": "http://justinhileman.com" - } - ], - "description": "An interactive shell for modern PHP.", - "homepage": "http://psysh.org", - "keywords": [ - "REPL", - "console", - "interactive", - "shell" - ] - }, - { - "name": "symfony/css-selector", - "version": "v4.1.0", - "version_normalized": "4.1.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/css-selector.git", - "reference": "03ac71606ecb0b0ce792faa17d74cc32c2949ef4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/03ac71606ecb0b0ce792faa17d74cc32c2949ef4", - "reference": "03ac71606ecb0b0ce792faa17d74cc32c2949ef4", - "shasum": "" - }, - "require": { - "php": "^7.1.3" - }, - "time": "2018-05-30T07:26:09+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\CssSelector\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jean-François Simon", - "email": "jeanfrancois.simon@sensiolabs.com" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony CssSelector Component", - "homepage": "https://symfony.com" - }, - { - "name": "symfony/routing", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/routing.git", - "reference": "e382da877f5304aabc12ec3073eec430670c8296" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/e382da877f5304aabc12ec3073eec430670c8296", - "reference": "e382da877f5304aabc12ec3073eec430670c8296", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "conflict": { - "symfony/config": "<3.3.1", - "symfony/dependency-injection": "<3.3", - "symfony/yaml": "<3.4" - }, - "require-dev": { - "doctrine/annotations": "~1.0", - "doctrine/common": "~2.2", - "psr/log": "~1.0", - "symfony/config": "^3.3.1|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "~2.8|~3.0|~4.0", - "symfony/yaml": "~3.4|~4.0" - }, - "suggest": { - "doctrine/annotations": "For using the annotation loader", - "symfony/config": "For using the all-in-one router or any loader", - "symfony/dependency-injection": "For loading routes from a service", - "symfony/expression-language": "For using expression matching", - "symfony/http-foundation": "For using a Symfony Request object", - "symfony/yaml": "For using the YAML loader" - }, - "time": "2018-05-16T12:49:49+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\Routing\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Routing Component", - "homepage": "https://symfony.com", - "keywords": [ - "router", - "routing", - "uri", - "url" - ] - }, - { - "name": "symfony/process", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/process.git", - "reference": "4cbf2db9abcb01486a21b7a059e03a62fae63187" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/4cbf2db9abcb01486a21b7a059e03a62fae63187", - "reference": "4cbf2db9abcb01486a21b7a059e03a62fae63187", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "time": "2018-05-16T08:49:21+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\Process\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Process Component", - "homepage": "https://symfony.com" - }, - { - "name": "paragonie/random_compat", - "version": "v2.0.15", - "version_normalized": "2.0.15.0", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/10bcb46e8f3d365170f6de9d05245aa066b81f09", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09", - "shasum": "" - }, - "require": { - "php": ">=5.2.0" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "time": "2018-06-08T15:26:40+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "files": [ - "lib/random.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "polyfill", - "pseudorandom", - "random" - ] - }, - { - "name": "symfony/polyfill-php70", - "version": "v1.8.0", - "version_normalized": "1.8.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/77454693d8f10dd23bb24955cffd2d82db1007a6", - "reference": "77454693d8f10dd23bb24955cffd2d82db1007a6", - "shasum": "" - }, - "require": { - "paragonie/random_compat": "~1.0|~2.0", - "php": ">=5.3.3" - }, - "time": "2018-04-26T10:06:28+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ] - }, - { - "name": "symfony/http-foundation", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-foundation.git", - "reference": "a7b5fc605d1c215cea1122359044b1e682eb70c0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a7b5fc605d1c215cea1122359044b1e682eb70c0", - "reference": "a7b5fc605d1c215cea1122359044b1e682eb70c0", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php70": "~1.6" - }, - "require-dev": { - "symfony/expression-language": "~2.8|~3.0|~4.0" - }, - "time": "2018-05-25T11:07:31+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpFoundation\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony HttpFoundation Component", - "homepage": "https://symfony.com" - }, - { - "name": "symfony/event-dispatcher", - "version": "v4.1.0", - "version_normalized": "4.1.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "2391ed210a239868e7256eb6921b1bd83f3087b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/2391ed210a239868e7256eb6921b1bd83f3087b5", - "reference": "2391ed210a239868e7256eb6921b1bd83f3087b5", - "shasum": "" - }, - "require": { - "php": "^7.1.3" - }, - "conflict": { - "symfony/dependency-injection": "<3.4" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/expression-language": "~3.4|~4.0", - "symfony/stopwatch": "~3.4|~4.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" - }, - "time": "2018-04-06T07:35:57+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\EventDispatcher\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony EventDispatcher Component", - "homepage": "https://symfony.com" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.8.0", - "version_normalized": "1.8.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae", - "reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "time": "2018-04-30T19:57:29+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - }, - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ] - }, - { - "name": "symfony/http-kernel", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/http-kernel.git", - "reference": "3dac45df55ee0c5134c457a730cd68e2a2ce0445" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/3dac45df55ee0c5134c457a730cd68e2a2ce0445", - "reference": "3dac45df55ee0c5134c457a730cd68e2a2ce0445", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "psr/log": "~1.0", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "^3.4.4|^4.0.4", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/config": "<2.8", - "symfony/dependency-injection": "<3.4.5|<4.0.5,>=4", - "symfony/var-dumper": "<3.3", - "twig/twig": "<1.34|<2.4,>=2" - }, - "provide": { - "psr/log-implementation": "1.0" - }, - "require-dev": { - "psr/cache": "~1.0", - "symfony/browser-kit": "~2.8|~3.0|~4.0", - "symfony/class-loader": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/console": "~2.8|~3.0|~4.0", - "symfony/css-selector": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "^3.4.5|^4.0.5", - "symfony/dom-crawler": "~2.8|~3.0|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/process": "~2.8|~3.0|~4.0", - "symfony/routing": "~3.4|~4.0", - "symfony/stopwatch": "~2.8|~3.0|~4.0", - "symfony/templating": "~2.8|~3.0|~4.0", - "symfony/translation": "~2.8|~3.0|~4.0", - "symfony/var-dumper": "~3.3|~4.0" - }, - "suggest": { - "symfony/browser-kit": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "", - "symfony/finder": "", - "symfony/var-dumper": "" - }, - "time": "2018-05-25T13:16:28+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\HttpKernel\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony HttpKernel Component", - "homepage": "https://symfony.com" - }, - { - "name": "symfony/finder", - "version": "v3.4.11", - "version_normalized": "3.4.11.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/finder.git", - "reference": "472a92f3df8b247b49ae364275fb32943b9656c6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/472a92f3df8b247b49ae364275fb32943b9656c6", - "reference": "472a92f3df8b247b49ae364275fb32943b9656c6", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8" - }, - "time": "2018-05-16T08:49:21+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Finder Component", - "homepage": "https://symfony.com" - }, - { - "name": "egulias/email-validator", - "version": "2.1.4", - "version_normalized": "2.1.4.0", - "source": { - "type": "git", - "url": "https://github.com/egulias/EmailValidator.git", - "reference": "8790f594151ca6a2010c6218e09d96df67173ad3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/8790f594151ca6a2010c6218e09d96df67173ad3", - "reference": "8790f594151ca6a2010c6218e09d96df67173ad3", - "shasum": "" - }, - "require": { - "doctrine/lexer": "^1.0.1", - "php": ">= 5.5" - }, - "require-dev": { - "dominicsayers/isemail": "dev-master", - "phpunit/phpunit": "^4.8.35||^5.7||^6.0", - "satooshi/php-coveralls": "^1.0.1" - }, - "suggest": { - "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" - }, - "time": "2018-04-10T10:11:19+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Egulias\\EmailValidator\\": "EmailValidator" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Eduardo Gulias Davis" - } - ], - "description": "A library for validating emails against several RFCs", - "homepage": "https://github.com/egulias/EmailValidator", - "keywords": [ - "email", - "emailvalidation", - "emailvalidator", - "validation", - "validator" - ] - }, { "name": "psr/simple-cache", "version": "1.0.1", @@ -3340,213 +1791,6 @@ "simple-cache" ] }, - { - "name": "symfony/translation", - "version": "v4.1.0", - "version_normalized": "4.1.0.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/16328f5b217cebc8dd4adfe4aeeaa8c377581f5a", - "reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a", - "shasum": "" - }, - "require": { - "php": "^7.1.3", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/config": "<3.4", - "symfony/dependency-injection": "<3.4", - "symfony/yaml": "<3.4" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.4|~4.0", - "symfony/console": "~3.4|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/intl": "~3.4|~4.0", - "symfony/yaml": "~3.4|~4.0" - }, - "suggest": { - "psr/log-implementation": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" - }, - "time": "2018-05-30T07:26:09+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.1-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Symfony\\Component\\Translation\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Translation Component", - "homepage": "https://symfony.com" - }, - { - "name": "nesbot/carbon", - "version": "1.29.2", - "version_normalized": "1.29.2.0", - "source": { - "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "ed6aa898982f441ccc9b2acdec51490f2bc5d337" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/ed6aa898982f441ccc9b2acdec51490f2bc5d337", - "reference": "ed6aa898982f441ccc9b2acdec51490f2bc5d337", - "shasum": "" - }, - "require": { - "php": ">=5.3.9", - "symfony/translation": "~2.6 || ~3.0 || ~4.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "~2", - "phpunit/phpunit": "^4.8.35 || ^5.7" - }, - "time": "2018-05-29T15:23:46+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Brian Nesbitt", - "email": "brian@nesbot.com", - "homepage": "http://nesbot.com" - } - ], - "description": "A simple API extension for DateTime.", - "homepage": "http://carbon.nesbot.com", - "keywords": [ - "date", - "datetime", - "time" - ] - }, - { - "name": "league/flysystem", - "version": "1.0.45", - "version_normalized": "1.0.45.0", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/flysystem.git", - "reference": "a99f94e63b512d75f851b181afcdf0ee9ebef7e6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a99f94e63b512d75f851b181afcdf0ee9ebef7e6", - "reference": "a99f94e63b512d75f851b181afcdf0ee9ebef7e6", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "conflict": { - "league/flysystem-sftp": "<1.0.6" - }, - "require-dev": { - "ext-fileinfo": "*", - "phpspec/phpspec": "^3.4", - "phpunit/phpunit": "^5.7" - }, - "suggest": { - "ext-fileinfo": "Required for MimeType", - "ext-ftp": "Allows you to use FTP server storage", - "ext-openssl": "Allows you to use FTPS server storage", - "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", - "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", - "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", - "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", - "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", - "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", - "league/flysystem-webdav": "Allows you to use WebDAV storage", - "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", - "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" - }, - "time": "2018-05-07T08:44:23+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "League\\Flysystem\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Frank de Jonge", - "email": "info@frenky.net" - } - ], - "description": "Filesystem abstraction: Many filesystems, one API.", - "keywords": [ - "Cloud Files", - "WebDAV", - "abstraction", - "aws", - "cloud", - "copy.com", - "dropbox", - "file systems", - "files", - "filesystem", - "filesystems", - "ftp", - "rackspace", - "remote", - "s3", - "sftp", - "storage" - ] - }, { "name": "erusev/parsedown", "version": "1.7.1", @@ -3664,408 +1908,6 @@ "string" ] }, - { - "name": "laravel/framework", - "version": "v5.5.40", - "version_normalized": "5.5.40.0", - "source": { - "type": "git", - "url": "https://github.com/laravel/framework.git", - "reference": "d724ce0aa61bbd9adf658215eec484f5dd6711d6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/d724ce0aa61bbd9adf658215eec484f5dd6711d6", - "reference": "d724ce0aa61bbd9adf658215eec484f5dd6711d6", - "shasum": "" - }, - "require": { - "doctrine/inflector": "~1.1", - "erusev/parsedown": "~1.7", - "ext-mbstring": "*", - "ext-openssl": "*", - "league/flysystem": "^1.0.8", - "monolog/monolog": "~1.12", - "mtdowling/cron-expression": "~1.0", - "nesbot/carbon": "^1.24.1", - "php": ">=7.0", - "psr/container": "~1.0", - "psr/simple-cache": "^1.0", - "ramsey/uuid": "~3.0", - "swiftmailer/swiftmailer": "~6.0", - "symfony/console": "~3.3", - "symfony/debug": "~3.3", - "symfony/finder": "~3.3", - "symfony/http-foundation": "~3.3", - "symfony/http-kernel": "~3.3", - "symfony/process": "~3.3", - "symfony/routing": "~3.3", - "symfony/var-dumper": "~3.3", - "tijsverkoyen/css-to-inline-styles": "~2.2", - "vlucas/phpdotenv": "~2.2" - }, - "replace": { - "illuminate/auth": "self.version", - "illuminate/broadcasting": "self.version", - "illuminate/bus": "self.version", - "illuminate/cache": "self.version", - "illuminate/config": "self.version", - "illuminate/console": "self.version", - "illuminate/container": "self.version", - "illuminate/contracts": "self.version", - "illuminate/cookie": "self.version", - "illuminate/database": "self.version", - "illuminate/encryption": "self.version", - "illuminate/events": "self.version", - "illuminate/filesystem": "self.version", - "illuminate/hashing": "self.version", - "illuminate/http": "self.version", - "illuminate/log": "self.version", - "illuminate/mail": "self.version", - "illuminate/notifications": "self.version", - "illuminate/pagination": "self.version", - "illuminate/pipeline": "self.version", - "illuminate/queue": "self.version", - "illuminate/redis": "self.version", - "illuminate/routing": "self.version", - "illuminate/session": "self.version", - "illuminate/support": "self.version", - "illuminate/translation": "self.version", - "illuminate/validation": "self.version", - "illuminate/view": "self.version", - "tightenco/collect": "<5.5.33" - }, - "require-dev": { - "aws/aws-sdk-php": "~3.0", - "doctrine/dbal": "~2.5", - "filp/whoops": "^2.1.4", - "mockery/mockery": "~1.0", - "orchestra/testbench-core": "3.5.*", - "pda/pheanstalk": "~3.0", - "phpunit/phpunit": "~6.0", - "predis/predis": "^1.1.1", - "symfony/css-selector": "~3.3", - "symfony/dom-crawler": "~3.3" - }, - "suggest": { - "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (~3.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.5).", - "ext-pcntl": "Required to use all features of the queue worker.", - "ext-posix": "Required to use all features of the queue worker.", - "fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).", - "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).", - "laravel/tinker": "Required to use the tinker console command (~1.0).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).", - "league/flysystem-cached-adapter": "Required to use Flysystem caching (~1.0).", - "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).", - "nexmo/client": "Required to use the Nexmo transport (~1.0).", - "pda/pheanstalk": "Required to use the beanstalk queue driver (~3.0).", - "predis/predis": "Required to use the redis cache and queue drivers (~1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~3.0).", - "symfony/css-selector": "Required to use some of the crawler integration testing tools (~3.3).", - "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (~3.3).", - "symfony/psr-http-message-bridge": "Required to psr7 bridging features (~1.0)." - }, - "time": "2018-03-30T13:29:30+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.5-dev" - } - }, - "installation-source": "dist", - "autoload": { - "files": [ - "src/Illuminate/Foundation/helpers.php", - "src/Illuminate/Support/helpers.php" - ], - "psr-4": { - "Illuminate\\": "src/Illuminate/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "The Laravel Framework.", - "homepage": "https://laravel.com", - "keywords": [ - "framework", - "laravel" - ] - }, - { - "name": "laravel/tinker", - "version": "v1.0.7", - "version_normalized": "1.0.7.0", - "source": { - "type": "git", - "url": "https://github.com/laravel/tinker.git", - "reference": "e3086ee8cb1f54a39ae8dcb72d1c37d10128997d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/e3086ee8cb1f54a39ae8dcb72d1c37d10128997d", - "reference": "e3086ee8cb1f54a39ae8dcb72d1c37d10128997d", - "shasum": "" - }, - "require": { - "illuminate/console": "~5.1", - "illuminate/contracts": "~5.1", - "illuminate/support": "~5.1", - "php": ">=5.5.9", - "psy/psysh": "0.7.*|0.8.*|0.9.*", - "symfony/var-dumper": "~3.0|~4.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.0|~5.0" - }, - "suggest": { - "illuminate/database": "The Illuminate Database package (~5.1)." - }, - "time": "2018-05-17T13:42:07+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - }, - "laravel": { - "providers": [ - "Laravel\\Tinker\\TinkerServiceProvider" - ] - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Laravel\\Tinker\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "Powerful REPL for the Laravel framework.", - "keywords": [ - "REPL", - "Tinker", - "laravel", - "psysh" - ] - }, - { - "name": "laravelcollective/html", - "version": "v5.5.4", - "version_normalized": "5.5.4.0", - "source": { - "type": "git", - "url": "https://github.com/LaravelCollective/html.git", - "reference": "04c596a69975b901f2223eb6eb4adf55354121c2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/LaravelCollective/html/zipball/04c596a69975b901f2223eb6eb4adf55354121c2", - "reference": "04c596a69975b901f2223eb6eb4adf55354121c2", - "shasum": "" - }, - "require": { - "illuminate/http": "5.5.*", - "illuminate/routing": "5.5.*", - "illuminate/session": "5.5.*", - "illuminate/support": "5.5.*", - "illuminate/view": "5.5.*", - "php": ">=7.0.0" - }, - "require-dev": { - "illuminate/database": "5.5.*", - "mockery/mockery": "~0.9.4", - "phpunit/phpunit": "~5.4" - }, - "time": "2018-03-24T00:39:21+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.5-dev" - }, - "laravel": { - "providers": [ - "Collective\\Html\\HtmlServiceProvider" - ], - "aliases": { - "Form": "Collective\\Html\\FormFacade", - "Html": "Collective\\Html\\HtmlFacade" - } - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Collective\\Html\\": "src/" - }, - "files": [ - "src/helpers.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylorotwell@gmail.com" - }, - { - "name": "Adam Engebretson", - "email": "adam@laravelcollective.com" - } - ], - "description": "HTML and Form Builders for the Laravel Framework", - "homepage": "https://laravelcollective.com" - }, - { - "name": "filp/whoops", - "version": "2.2.0", - "version_normalized": "2.2.0.0", - "source": { - "type": "git", - "url": "https://github.com/filp/whoops.git", - "reference": "181c4502d8f34db7aed7bfe88d4f87875b8e947a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/181c4502d8f34db7aed7bfe88d4f87875b8e947a", - "reference": "181c4502d8f34db7aed7bfe88d4f87875b8e947a", - "shasum": "" - }, - "require": { - "php": "^5.5.9 || ^7.0", - "psr/log": "^1.0.1" - }, - "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.35 || ^5.7", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0" - }, - "suggest": { - "symfony/var-dumper": "Pretty print complex values better with var-dumper available", - "whoops/soap": "Formats errors as SOAP responses" - }, - "time": "2018-03-03T17:56:25+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-4": { - "Whoops\\": "src/Whoops/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Filipe Dobreira", - "homepage": "https://github.com/filp", - "role": "Developer" - } - ], - "description": "php error handling for cool kids", - "homepage": "https://filp.github.io/whoops/", - "keywords": [ - "error", - "exception", - "handling", - "library", - "throwable", - "whoops" - ] - }, - { - "name": "mockery/mockery", - "version": "1.1.0", - "version_normalized": "1.1.0.0", - "source": { - "type": "git", - "url": "https://github.com/mockery/mockery.git", - "reference": "99e29d3596b16dabe4982548527d5ddf90232e99" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/99e29d3596b16dabe4982548527d5ddf90232e99", - "reference": "99e29d3596b16dabe4982548527d5ddf90232e99", - "shasum": "" - }, - "require": { - "hamcrest/hamcrest-php": "~2.0", - "lib-pcre": ">=7.0", - "php": ">=5.6.0" - }, - "require-dev": { - "phpdocumentor/phpdocumentor": "^2.9", - "phpunit/phpunit": "~5.7.10|~6.5" - }, - "time": "2018-05-08T08:54:48+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Mockery": "library/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - }, - { - "name": "Dave Marshall", - "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" - } - ], - "description": "Mockery is a simple yet flexible PHP mock object framework", - "homepage": "https://github.com/mockery/mockery", - "keywords": [ - "BDD", - "TDD", - "library", - "mock", - "mock objects", - "mockery", - "stub", - "test", - "test double", - "testing" - ] - }, { "name": "doctrine/instantiator", "version": "1.1.0", @@ -4122,67 +1964,6 @@ "instantiate" ] }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "5.0.7", - "version_normalized": "5.0.7.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "3eaf040f20154d27d6da59ca2c6e28ac8fd56dce" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3eaf040f20154d27d6da59ca2c6e28ac8fd56dce", - "reference": "3eaf040f20154d27d6da59ca2c6e28ac8fd56dce", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.5", - "php": "^7.0", - "phpunit/php-text-template": "^1.2.1", - "sebastian/exporter": "^3.1" - }, - "conflict": { - "phpunit/phpunit": "<6.0" - }, - "require-dev": { - "phpunit/phpunit": "^6.5" - }, - "suggest": { - "ext-soap": "*" - }, - "time": "2018-05-29T13:50:43+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ] - }, { "name": "phpunit/php-code-coverage", "version": "5.3.2", @@ -4248,71 +2029,6 @@ "xunit" ] }, - { - "name": "phpspec/prophecy", - "version": "1.7.6", - "version_normalized": "1.7.6.0", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/33a7e3c4fda54e912ff6338c48823bd5c0f0b712", - "reference": "33a7e3c4fda54e912ff6338c48823bd5c0f0b712", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" - }, - "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" - }, - "time": "2018-04-18T13:57:24+00:00", - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.7.x-dev" - } - }, - "installation-source": "dist", - "autoload": { - "psr-0": { - "Prophecy\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ] - }, { "name": "myclabs/deep-copy", "version": "1.8.1", @@ -4364,18 +2080,2387 @@ ] }, { - "name": "phpunit/phpunit", - "version": "6.5.8", - "version_normalized": "6.5.8.0", + "name": "symfony/thanks", + "version": "v1.1.0", + "version_normalized": "1.1.0.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "4f21a3c6b97c42952fd5c2837bb354ec0199b97b" + "url": "https://github.com/symfony/thanks.git", + "reference": "9474a631b52737c623b6aeba22f00bbc003251da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4f21a3c6b97c42952fd5c2837bb354ec0199b97b", - "reference": "4f21a3c6b97c42952fd5c2837bb354ec0199b97b", + "url": "https://api.github.com/repos/symfony/thanks/zipball/9474a631b52737c623b6aeba22f00bbc003251da", + "reference": "9474a631b52737c623b6aeba22f00bbc003251da", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0", + "php": "^5.5.9|^7.0.0" + }, + "time": "2018-08-24T14:08:13+00:00", + "type": "composer-plugin", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "class": "Symfony\\Thanks\\Thanks" + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Thanks\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + } + ], + "description": "Give thanks (in the form of a GitHub ⭐) to your fellow PHP package maintainers (not limited to Symfony components)!" + }, + { + "name": "vlucas/phpdotenv", + "version": "v2.5.1", + "version_normalized": "2.5.1.0", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", + "reference": "8abb4f9aa89ddea9d52112c65bbe8d0125e2fa8e", + "shasum": "" + }, + "require": { + "php": ">=5.3.9" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35 || ^5.0" + }, + "time": "2018-07-29T20:33:41+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.5-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "http://www.vancelucas.com" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ] + }, + { + "name": "symfony/css-selector", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/d67de79a70a27d93c92c47f37ece958bf8de4d8a", + "reference": "d67de79a70a27d93c92c47f37ece958bf8de4d8a", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "time": "2018-10-02T16:36:10+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jean-François Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony CssSelector Component", + "homepage": "https://symfony.com" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.9.0", + "version_normalized": "1.9.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/d0cd638f4634c16d8df4508e847f14e9e43168b8", + "reference": "d0cd638f4634c16d8df4508e847f14e9e43168b8", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "time": "2018-08-06T14:22:27+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ] + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.9.0", + "version_normalized": "1.9.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "e3d826245268269cd66f8326bd8bc066687b4a19" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19", + "reference": "e3d826245268269cd66f8326bd8bc066687b4a19", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "time": "2018-08-06T14:22:27+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + }, + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ] + }, + { + "name": "paragonie/random_compat", + "version": "v9.99.99", + "version_normalized": "9.99.99.0", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "shasum": "" + }, + "require": { + "php": "^7" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "time": "2018-07-02T15:55:56+00:00", + "type": "library", + "installation-source": "dist", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "polyfill", + "pseudorandom", + "random" + ] + }, + { + "name": "symfony/http-foundation", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-foundation.git", + "reference": "d528136617ff24f530e70df9605acc1b788b08d4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d528136617ff24f530e70df9605acc1b788b08d4", + "reference": "d528136617ff24f530e70df9605acc1b788b08d4", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.1" + }, + "require-dev": { + "predis/predis": "~1.0", + "symfony/expression-language": "~3.4|~4.0" + }, + "time": "2018-10-03T08:48:45+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpFoundation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony HttpFoundation Component", + "homepage": "https://symfony.com" + }, + { + "name": "symfony/event-dispatcher", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher.git", + "reference": "bfb30c2ad377615a463ebbc875eba64a99f6aa3e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/bfb30c2ad377615a463ebbc875eba64a99f6aa3e", + "reference": "bfb30c2ad377615a463ebbc875eba64a99f6aa3e", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "conflict": { + "symfony/dependency-injection": "<3.4" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/stopwatch": "~3.4|~4.0" + }, + "suggest": { + "symfony/dependency-injection": "", + "symfony/http-kernel": "" + }, + "time": "2018-07-26T09:10:45+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\EventDispatcher\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony EventDispatcher Component", + "homepage": "https://symfony.com" + }, + { + "name": "symfony/debug", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "e3f76ce6198f81994e019bb2b4e533e9de1b9b90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/e3f76ce6198f81994e019bb2b4e533e9de1b9b90", + "reference": "e3f76ce6198f81994e019bb2b4e533e9de1b9b90", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "psr/log": "~1.0" + }, + "conflict": { + "symfony/http-kernel": "<3.4" + }, + "require-dev": { + "symfony/http-kernel": "~3.4|~4.0" + }, + "time": "2018-10-02T16:36:10+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Debug\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Debug Component", + "homepage": "https://symfony.com" + }, + { + "name": "egulias/email-validator", + "version": "2.1.6", + "version_normalized": "2.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/egulias/EmailValidator.git", + "reference": "0578b32b30b22de3e8664f797cf846fc9246f786" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0578b32b30b22de3e8664f797cf846fc9246f786", + "reference": "0578b32b30b22de3e8664f797cf846fc9246f786", + "shasum": "" + }, + "require": { + "doctrine/lexer": "^1.0.1", + "php": ">= 5.5" + }, + "require-dev": { + "dominicsayers/isemail": "dev-master", + "phpunit/phpunit": "^4.8.35||^5.7||^6.0", + "satooshi/php-coveralls": "^1.0.1" + }, + "suggest": { + "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" + }, + "time": "2018-09-25T20:47:26+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Egulias\\EmailValidator\\": "EmailValidator" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Eduardo Gulias Davis" + } + ], + "description": "A library for validating emails against several RFCs", + "homepage": "https://github.com/egulias/EmailValidator", + "keywords": [ + "email", + "emailvalidation", + "emailvalidator", + "validation", + "validator" + ] + }, + { + "name": "swiftmailer/swiftmailer", + "version": "v6.1.3", + "version_normalized": "6.1.3.0", + "source": { + "type": "git", + "url": "https://github.com/swiftmailer/swiftmailer.git", + "reference": "8ddcb66ac10c392d3beb54829eef8ac1438595f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8ddcb66ac10c392d3beb54829eef8ac1438595f4", + "reference": "8ddcb66ac10c392d3beb54829eef8ac1438595f4", + "shasum": "" + }, + "require": { + "egulias/email-validator": "~2.0", + "php": ">=7.0.0" + }, + "require-dev": { + "mockery/mockery": "~0.9.1", + "symfony/phpunit-bridge": "~3.3@dev" + }, + "suggest": { + "ext-intl": "Needed to support internationalized email addresses", + "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed" + }, + "time": "2018-09-11T07:12:52+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "lib/swift_required.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Corbyn" + }, + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + } + ], + "description": "Swiftmailer, free feature-rich PHP mailer", + "homepage": "https://swiftmailer.symfony.com", + "keywords": [ + "email", + "mail", + "mailer" + ] + }, + { + "name": "ramsey/uuid", + "version": "3.8.0", + "version_normalized": "3.8.0.0", + "source": { + "type": "git", + "url": "https://github.com/ramsey/uuid.git", + "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/d09ea80159c1929d75b3f9c60504d613aeb4a1e3", + "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3", + "shasum": "" + }, + "require": { + "paragonie/random_compat": "^1.0|^2.0|9.99.99", + "php": "^5.4 || ^7.0", + "symfony/polyfill-ctype": "^1.8" + }, + "replace": { + "rhumsaa/uuid": "self.version" + }, + "require-dev": { + "codeception/aspect-mock": "^1.0 | ~2.0.0", + "doctrine/annotations": "~1.2.0", + "goaop/framework": "1.0.0-alpha.2 | ^1.0 | ~2.1.0", + "ircmaxell/random-lib": "^1.1", + "jakub-onderka/php-parallel-lint": "^0.9.0", + "mockery/mockery": "^0.9.9", + "moontoast/math": "^1.1", + "php-mock/php-mock-phpunit": "^0.3|^1.1", + "phpunit/phpunit": "^4.7|^5.0|^6.5", + "squizlabs/php_codesniffer": "^2.3" + }, + "suggest": { + "ext-ctype": "Provides support for PHP Ctype functions", + "ext-libsodium": "Provides the PECL libsodium extension for use with the SodiumRandomGenerator", + "ext-uuid": "Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator", + "ircmaxell/random-lib": "Provides RandomLib for use with the RandomLibAdapter", + "moontoast/math": "Provides support for converting UUID to 128-bit integer (in string form).", + "ramsey/uuid-console": "A console application for generating UUIDs with ramsey/uuid", + "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." + }, + "time": "2018-07-19T23:38:55+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Ramsey\\Uuid\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marijn Huizendveld", + "email": "marijn.huizendveld@gmail.com" + }, + { + "name": "Thibaud Fabre", + "email": "thibaud@aztech.io" + }, + { + "name": "Ben Ramsey", + "email": "ben@benramsey.com", + "homepage": "https://benramsey.com" + } + ], + "description": "Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).", + "homepage": "https://github.com/ramsey/uuid", + "keywords": [ + "guid", + "identifier", + "uuid" + ] + }, + { + "name": "symfony/translation", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "9f0b61e339160a466ebcde167a6c5521c810e304" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/9f0b61e339160a466ebcde167a6c5521c810e304", + "reference": "9f0b61e339160a466ebcde167a6c5521c810e304", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/config": "<3.4", + "symfony/dependency-injection": "<3.4", + "symfony/yaml": "<3.4" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.4|~4.0", + "symfony/console": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/finder": "~2.8|~3.0|~4.0", + "symfony/intl": "~3.4|~4.0", + "symfony/yaml": "~3.4|~4.0" + }, + "suggest": { + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "time": "2018-10-02T16:36:10+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Translation Component", + "homepage": "https://symfony.com" + }, + { + "name": "nesbot/carbon", + "version": "1.34.0", + "version_normalized": "1.34.0.0", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33", + "reference": "1dbd3cb01c5645f3e7deda7aa46ef780d95fcc33", + "shasum": "" + }, + "require": { + "php": ">=5.3.9", + "symfony/translation": "~2.6 || ~3.0 || ~4.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2", + "phpunit/phpunit": "^4.8.35 || ^5.7" + }, + "time": "2018-09-20T19:36:25+00:00", + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "http://nesbot.com" + } + ], + "description": "A simple API extension for DateTime.", + "homepage": "http://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ] + }, + { + "name": "league/flysystem", + "version": "1.0.47", + "version_normalized": "1.0.47.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a11e4a75f256bdacf99d20780ce42d3b8272975c", + "reference": "a11e4a75f256bdacf99d20780ce42d3b8272975c", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": ">=5.5.9" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" + }, + "require-dev": { + "phpspec/phpspec": "^3.4", + "phpunit/phpunit": "^5.7.10" + }, + "suggest": { + "ext-fileinfo": "Required for MimeType", + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + }, + "time": "2018-09-14T15:30:29+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Filesystem abstraction: Many filesystems, one API.", + "keywords": [ + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" + ] + }, + { + "name": "symfony/polyfill-php72", + "version": "v1.9.0", + "version_normalized": "1.9.0.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "95c50420b0baed23852452a7f0c7b527303ed5ae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/95c50420b0baed23852452a7f0c7b527303ed5ae", + "reference": "95c50420b0baed23852452a7f0c7b527303ed5ae", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "time": "2018-08-06T14:22:27+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.9-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ] + }, + { + "name": "symfony/var-dumper", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "60319b45653580b0cdacca499344577d87732f16" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/60319b45653580b0cdacca499344577d87732f16", + "reference": "60319b45653580b0cdacca499344577d87732f16", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php72": "~1.5" + }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/console": "<3.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/process": "~3.4|~4.0", + "twig/twig": "~1.34|~2.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + }, + "time": "2018-10-02T16:36:10+00:00", + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony mechanism for exploring and dumping PHP variables", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ] + }, + { + "name": "symfony/routing", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/routing.git", + "reference": "537803f0bdfede36b9acef052d2e4d447d9fa0e9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/routing/zipball/537803f0bdfede36b9acef052d2e4d447d9fa0e9", + "reference": "537803f0bdfede36b9acef052d2e4d447d9fa0e9", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "conflict": { + "symfony/config": "<3.4", + "symfony/dependency-injection": "<3.4", + "symfony/yaml": "<3.4" + }, + "require-dev": { + "doctrine/annotations": "~1.0", + "psr/log": "~1.0", + "symfony/config": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/http-foundation": "~3.4|~4.0", + "symfony/yaml": "~3.4|~4.0" + }, + "suggest": { + "doctrine/annotations": "For using the annotation loader", + "symfony/config": "For using the all-in-one router or any loader", + "symfony/dependency-injection": "For loading routes from a service", + "symfony/expression-language": "For using expression matching", + "symfony/http-foundation": "For using a Symfony Request object", + "symfony/yaml": "For using the YAML loader" + }, + "time": "2018-10-02T12:40:59+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Routing\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Routing Component", + "homepage": "https://symfony.com", + "keywords": [ + "router", + "routing", + "uri", + "url" + ] + }, + { + "name": "symfony/process", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "ee33c0322a8fee0855afcc11fff81e6b1011b529" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/ee33c0322a8fee0855afcc11fff81e6b1011b529", + "reference": "ee33c0322a8fee0855afcc11fff81e6b1011b529", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "time": "2018-10-02T12:40:59+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Process Component", + "homepage": "https://symfony.com" + }, + { + "name": "symfony/http-kernel", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/http-kernel.git", + "reference": "f5e7c15a5d010be0e16ce798594c5960451d4220" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f5e7c15a5d010be0e16ce798594c5960451d4220", + "reference": "f5e7c15a5d010be0e16ce798594c5960451d4220", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "psr/log": "~1.0", + "symfony/debug": "~3.4|~4.0", + "symfony/event-dispatcher": "~4.1", + "symfony/http-foundation": "^4.1.1", + "symfony/polyfill-ctype": "~1.8" + }, + "conflict": { + "symfony/config": "<3.4", + "symfony/dependency-injection": "<4.1", + "symfony/var-dumper": "<4.1.1", + "twig/twig": "<1.34|<2.4,>=2" + }, + "provide": { + "psr/log-implementation": "1.0" + }, + "require-dev": { + "psr/cache": "~1.0", + "symfony/browser-kit": "~3.4|~4.0", + "symfony/config": "~3.4|~4.0", + "symfony/console": "~3.4|~4.0", + "symfony/css-selector": "~3.4|~4.0", + "symfony/dependency-injection": "^4.1", + "symfony/dom-crawler": "~3.4|~4.0", + "symfony/expression-language": "~3.4|~4.0", + "symfony/finder": "~3.4|~4.0", + "symfony/process": "~3.4|~4.0", + "symfony/routing": "~3.4|~4.0", + "symfony/stopwatch": "~3.4|~4.0", + "symfony/templating": "~3.4|~4.0", + "symfony/translation": "~3.4|~4.0", + "symfony/var-dumper": "^4.1.1" + }, + "suggest": { + "symfony/browser-kit": "", + "symfony/config": "", + "symfony/console": "", + "symfony/dependency-injection": "", + "symfony/var-dumper": "" + }, + "time": "2018-10-03T12:53:38+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\HttpKernel\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony HttpKernel Component", + "homepage": "https://symfony.com" + }, + { + "name": "symfony/finder", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/finder.git", + "reference": "1f17195b44543017a9c9b2d437c670627e96ad06" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/finder/zipball/1f17195b44543017a9c9b2d437c670627e96ad06", + "reference": "1f17195b44543017a9c9b2d437c670627e96ad06", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "time": "2018-10-03T08:47:56+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Finder\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Finder Component", + "homepage": "https://symfony.com" + }, + { + "name": "symfony/console", + "version": "v4.1.6", + "version_normalized": "4.1.6.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "dc7122fe5f6113cfaba3b3de575d31112c9aa60b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/dc7122fe5f6113cfaba3b3de575d31112c9aa60b", + "reference": "dc7122fe5f6113cfaba3b3de575d31112c9aa60b", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/dependency-injection": "<3.4", + "symfony/process": "<3.3" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/event-dispatcher": "~3.4|~4.0", + "symfony/lock": "~3.4|~4.0", + "symfony/process": "~3.4|~4.0" + }, + "suggest": { + "psr/log-implementation": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "time": "2018-10-03T08:15:46+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Console Component", + "homepage": "https://symfony.com" + }, + { + "name": "opis/closure", + "version": "3.1.1", + "version_normalized": "3.1.1.0", + "source": { + "type": "git", + "url": "https://github.com/opis/closure.git", + "reference": "d3209e46ad6c69a969b705df0738fd0dbe26ef9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/opis/closure/zipball/d3209e46ad6c69a969b705df0738fd0dbe26ef9e", + "reference": "d3209e46ad6c69a969b705df0738fd0dbe26ef9e", + "shasum": "" + }, + "require": { + "php": "^5.4 || ^7.0" + }, + "require-dev": { + "jeremeamia/superclosure": "^2.0", + "phpunit/phpunit": "^4.0" + }, + "time": "2018-10-02T13:36:53+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Opis\\Closure\\": "src/" + }, + "files": [ + "functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marius Sarca", + "email": "marius.sarca@gmail.com" + }, + { + "name": "Sorin Sarca", + "email": "sarca_sorin@hotmail.com" + } + ], + "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", + "homepage": "https://opis.io/closure", + "keywords": [ + "anonymous functions", + "closure", + "function", + "serializable", + "serialization", + "serialize" + ] + }, + { + "name": "dragonmantank/cron-expression", + "version": "v2.2.0", + "version_normalized": "2.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "92a2c3768d50e21a1f26a53cb795ce72806266c5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/92a2c3768d50e21a1f26a53cb795ce72806266c5", + "reference": "92a2c3768d50e21a1f26a53cb795ce72806266c5", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.4" + }, + "time": "2018-06-06T03:12:17+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ] + }, + { + "name": "laravel/framework", + "version": "v5.7.9", + "version_normalized": "5.7.9.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "172f69f86bb86e107fb9fafff293b4b01291cf05" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/172f69f86bb86e107fb9fafff293b4b01291cf05", + "reference": "172f69f86bb86e107fb9fafff293b4b01291cf05", + "shasum": "" + }, + "require": { + "doctrine/inflector": "^1.1", + "dragonmantank/cron-expression": "^2.0", + "erusev/parsedown": "^1.7", + "ext-mbstring": "*", + "ext-openssl": "*", + "league/flysystem": "^1.0.8", + "monolog/monolog": "^1.12", + "nesbot/carbon": "^1.26.3", + "opis/closure": "^3.1", + "php": "^7.1.3", + "psr/container": "^1.0", + "psr/simple-cache": "^1.0", + "ramsey/uuid": "^3.7", + "swiftmailer/swiftmailer": "^6.0", + "symfony/console": "^4.1", + "symfony/debug": "^4.1", + "symfony/finder": "^4.1", + "symfony/http-foundation": "^4.1", + "symfony/http-kernel": "^4.1", + "symfony/process": "^4.1", + "symfony/routing": "^4.1", + "symfony/var-dumper": "^4.1", + "tijsverkoyen/css-to-inline-styles": "^2.2.1", + "vlucas/phpdotenv": "^2.2" + }, + "conflict": { + "tightenco/collect": "<5.5.33" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version" + }, + "require-dev": { + "aws/aws-sdk-php": "^3.0", + "doctrine/dbal": "^2.6", + "filp/whoops": "^2.1.4", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "^1.0", + "moontoast/math": "^1.1", + "orchestra/testbench-core": "3.7.*", + "pda/pheanstalk": "^3.0", + "phpunit/phpunit": "^7.0", + "predis/predis": "^1.1.1", + "symfony/css-selector": "^4.1", + "symfony/dom-crawler": "^4.1", + "true/punycode": "^2.1" + }, + "suggest": { + "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (^3.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", + "ext-pcntl": "Required to use all features of the queue worker.", + "ext-posix": "Required to use all features of the queue worker.", + "fzaninotto/faker": "Required to use the eloquent factory builder (^1.4).", + "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (^6.0).", + "laravel/tinker": "Required to use the tinker console command (^1.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", + "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (^1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "moontoast/math": "Required to use ordered UUIDs (^1.1).", + "nexmo/client": "Required to use the Nexmo transport (^1.0).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^3.0).", + "predis/predis": "Required to use the redis cache and queue drivers (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^3.0).", + "symfony/css-selector": "Required to use some of the crawler integration testing tools (^4.1).", + "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (^4.1).", + "symfony/psr-http-message-bridge": "Required to psr7 bridging features (^1.0)." + }, + "time": "2018-10-09T13:28:28+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.7-dev" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ] + }, + { + "name": "fideloper/proxy", + "version": "4.0.0", + "version_normalized": "4.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/fideloper/TrustedProxy.git", + "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/cf8a0ca4b85659b9557e206c90110a6a4dba980a", + "reference": "cf8a0ca4b85659b9557e206c90110a6a4dba980a", + "shasum": "" + }, + "require": { + "illuminate/contracts": "~5.0", + "php": ">=5.4.0" + }, + "require-dev": { + "illuminate/http": "~5.6", + "mockery/mockery": "~1.0", + "phpunit/phpunit": "^6.0" + }, + "time": "2018-02-07T20:20:57+00:00", + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Fideloper\\Proxy\\TrustedProxyServiceProvider" + ] + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Fideloper\\Proxy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Chris Fidao", + "email": "fideloper@gmail.com" + } + ], + "description": "Set trusted proxies for Laravel", + "keywords": [ + "load balancing", + "proxy", + "trusted proxy" + ] + }, + { + "name": "nikic/php-parser", + "version": "v4.1.0", + "version_normalized": "4.1.0.0", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "d0230c5c77a7e3cfa69446febf340978540958c0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/d0230c5c77a7e3cfa69446febf340978540958c0", + "reference": "d0230c5c77a7e3cfa69446febf340978540958c0", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.5 || ^7.0" + }, + "time": "2018-10-10T09:24:14+00:00", + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ] + }, + { + "name": "jakub-onderka/php-console-color", + "version": "v0.2", + "version_normalized": "0.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/JakubOnderka/PHP-Console-Color.git", + "reference": "d5deaecff52a0d61ccb613bb3804088da0307191" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/d5deaecff52a0d61ccb613bb3804088da0307191", + "reference": "d5deaecff52a0d61ccb613bb3804088da0307191", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "jakub-onderka/php-code-style": "1.0", + "jakub-onderka/php-parallel-lint": "1.0", + "jakub-onderka/php-var-dump-check": "0.*", + "phpunit/phpunit": "~4.3", + "squizlabs/php_codesniffer": "1.*" + }, + "time": "2018-09-29T17:23:10+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "JakubOnderka\\PhpConsoleColor\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Jakub Onderka", + "email": "jakub.onderka@gmail.com" + } + ] + }, + { + "name": "jakub-onderka/php-console-highlighter", + "version": "v0.4", + "version_normalized": "0.4.0.0", + "source": { + "type": "git", + "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git", + "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/9f7a229a69d52506914b4bc61bfdb199d90c5547", + "reference": "9f7a229a69d52506914b4bc61bfdb199d90c5547", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "jakub-onderka/php-console-color": "~0.2", + "php": ">=5.4.0" + }, + "require-dev": { + "jakub-onderka/php-code-style": "~1.0", + "jakub-onderka/php-parallel-lint": "~1.0", + "jakub-onderka/php-var-dump-check": "~0.1", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~1.5" + }, + "time": "2018-09-29T18:48:56+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "JakubOnderka\\PhpConsoleHighlighter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jakub Onderka", + "email": "acci@acci.cz", + "homepage": "http://www.acci.cz/" + } + ], + "description": "Highlight PHP code in terminal" + }, + { + "name": "psy/psysh", + "version": "v0.9.9", + "version_normalized": "0.9.9.0", + "source": { + "type": "git", + "url": "https://github.com/bobthecow/psysh.git", + "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9aaf29575bb8293206bb0420c1e1c87ff2ffa94e", + "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e", + "shasum": "" + }, + "require": { + "dnoegel/php-xdg-base-dir": "0.1", + "ext-json": "*", + "ext-tokenizer": "*", + "jakub-onderka/php-console-highlighter": "0.3.*|0.4.*", + "nikic/php-parser": "~1.3|~2.0|~3.0|~4.0", + "php": ">=5.4.0", + "symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0", + "symfony/var-dumper": "~2.7|~3.0|~4.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.2", + "hoa/console": "~2.15|~3.16", + "phpunit/phpunit": "~4.8.35|~5.0|~6.0|~7.0" + }, + "suggest": { + "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", + "ext-pdo-sqlite": "The doc command requires SQLite to work.", + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", + "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.", + "hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit." + }, + "time": "2018-10-13T15:16:03+00:00", + "bin": [ + "bin/psysh" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-develop": "0.9.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Psy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Justin Hileman", + "email": "justin@justinhileman.info", + "homepage": "http://justinhileman.com" + } + ], + "description": "An interactive shell for modern PHP.", + "homepage": "http://psysh.org", + "keywords": [ + "REPL", + "console", + "interactive", + "shell" + ] + }, + { + "name": "laravel/tinker", + "version": "v1.0.8", + "version_normalized": "1.0.8.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/tinker.git", + "reference": "cafbf598a90acde68985660e79b2b03c5609a405" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/tinker/zipball/cafbf598a90acde68985660e79b2b03c5609a405", + "reference": "cafbf598a90acde68985660e79b2b03c5609a405", + "shasum": "" + }, + "require": { + "illuminate/console": "~5.1", + "illuminate/contracts": "~5.1", + "illuminate/support": "~5.1", + "php": ">=5.5.9", + "psy/psysh": "0.7.*|0.8.*|0.9.*", + "symfony/var-dumper": "~3.0|~4.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.0|~5.0" + }, + "suggest": { + "illuminate/database": "The Illuminate Database package (~5.1)." + }, + "time": "2018-10-12T19:39:35+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Tinker\\TinkerServiceProvider" + ] + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Laravel\\Tinker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Powerful REPL for the Laravel framework.", + "keywords": [ + "REPL", + "Tinker", + "laravel", + "psysh" + ] + }, + { + "name": "laravelcollective/html", + "version": "v5.7.1", + "version_normalized": "5.7.1.0", + "source": { + "type": "git", + "url": "https://github.com/LaravelCollective/html.git", + "reference": "777b6d390811ba249255ed5750bf17a019cd88a5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/LaravelCollective/html/zipball/777b6d390811ba249255ed5750bf17a019cd88a5", + "reference": "777b6d390811ba249255ed5750bf17a019cd88a5", + "shasum": "" + }, + "require": { + "illuminate/http": "5.7.*", + "illuminate/routing": "5.7.*", + "illuminate/session": "5.7.*", + "illuminate/support": "5.7.*", + "illuminate/view": "5.7.*", + "php": ">=7.1.3" + }, + "require-dev": { + "illuminate/database": "5.7.*", + "mockery/mockery": "~1.0", + "phpunit/phpunit": "~7.1" + }, + "time": "2018-09-05T18:32:53+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.7-dev" + }, + "laravel": { + "providers": [ + "Collective\\Html\\HtmlServiceProvider" + ], + "aliases": { + "Form": "Collective\\Html\\FormFacade", + "Html": "Collective\\Html\\HtmlFacade" + } + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Collective\\Html\\": "src/" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylorotwell@gmail.com" + }, + { + "name": "Adam Engebretson", + "email": "adam@laravelcollective.com" + } + ], + "description": "HTML and Form Builders for the Laravel Framework", + "homepage": "https://laravelcollective.com" + }, + { + "name": "filp/whoops", + "version": "2.2.1", + "version_normalized": "2.2.1.0", + "source": { + "type": "git", + "url": "https://github.com/filp/whoops.git", + "reference": "e79cd403fb77fc8963a99ecc30e80ddd885b3311" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/filp/whoops/zipball/e79cd403fb77fc8963a99ecc30e80ddd885b3311", + "reference": "e79cd403fb77fc8963a99ecc30e80ddd885b3311", + "shasum": "" + }, + "require": { + "php": "^5.5.9 || ^7.0", + "psr/log": "^1.0.1" + }, + "require-dev": { + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.35 || ^5.7", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" + }, + "time": "2018-06-30T13:14:06+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Whoops\\": "src/Whoops/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" + } + ], + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", + "keywords": [ + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" + ] + }, + { + "name": "fzaninotto/faker", + "version": "v1.8.0", + "version_normalized": "1.8.0.0", + "source": { + "type": "git", + "url": "https://github.com/fzaninotto/Faker.git", + "reference": "f72816b43e74063c8b10357394b6bba8cb1c10de" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/f72816b43e74063c8b10357394b6bba8cb1c10de", + "reference": "f72816b43e74063c8b10357394b6bba8cb1c10de", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0" + }, + "require-dev": { + "ext-intl": "*", + "phpunit/phpunit": "^4.8.35 || ^5.7", + "squizlabs/php_codesniffer": "^1.5" + }, + "time": "2018-07-12T10:23:15+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Faker\\": "src/Faker/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "François Zaninotto" + } + ], + "description": "Faker is a PHP library that generates fake data for you.", + "keywords": [ + "data", + "faker", + "fixtures" + ] + }, + { + "name": "mockery/mockery", + "version": "1.2.0", + "version_normalized": "1.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "100633629bf76d57430b86b7098cd6beb996a35a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/100633629bf76d57430b86b7098cd6beb996a35a", + "reference": "100633629bf76d57430b86b7098cd6beb996a35a", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "~2.0", + "lib-pcre": ">=7.0", + "php": ">=5.6.0" + }, + "require-dev": { + "phpunit/phpunit": "~5.7.10|~6.5|~7.0" + }, + "time": "2018-10-02T21:52:37+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ] + }, + { + "name": "phpunit/phpunit-mock-objects", + "version": "5.0.10", + "version_normalized": "5.0.10.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", + "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f", + "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.5", + "php": "^7.0", + "phpunit/php-text-template": "^1.2.1", + "sebastian/exporter": "^3.1" + }, + "conflict": { + "phpunit/phpunit": "<6.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.5.11" + }, + "suggest": { + "ext-soap": "*" + }, + "time": "2018-08-09T05:50:03+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Mock Object library for PHPUnit", + "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "keywords": [ + "mock", + "xunit" + ] + }, + { + "name": "phpspec/prophecy", + "version": "1.8.0", + "version_normalized": "1.8.0.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", + "sebastian/comparator": "^1.1|^2.0|^3.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.5|^3.2", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" + }, + "time": "2018-08-05T17:53:17+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-0": { + "Prophecy\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ] + }, + { + "name": "phpunit/phpunit", + "version": "6.5.13", + "version_normalized": "6.5.13.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "0973426fb012359b2f18d3bd1e90ef1172839693" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693", + "reference": "0973426fb012359b2f18d3bd1e90ef1172839693", "shasum": "" }, "require": { @@ -4393,7 +4478,7 @@ "phpunit/php-file-iterator": "^1.4.3", "phpunit/php-text-template": "^1.2.1", "phpunit/php-timer": "^1.0.9", - "phpunit/phpunit-mock-objects": "^5.0.5", + "phpunit/phpunit-mock-objects": "^5.0.9", "sebastian/comparator": "^2.1", "sebastian/diff": "^2.0", "sebastian/environment": "^3.1", @@ -4414,7 +4499,7 @@ "ext-xdebug": "*", "phpunit/php-invoker": "^1.1" }, - "time": "2018-04-10T11:38:34+00:00", + "time": "2018-09-08T15:10:43+00:00", "bin": [ "phpunit" ], diff --git a/vendor/mtdowling/cron-expression/.editorconfig b/vendor/dragonmantank/cron-expression/.editorconfig similarity index 100% rename from vendor/mtdowling/cron-expression/.editorconfig rename to vendor/dragonmantank/cron-expression/.editorconfig diff --git a/vendor/mtdowling/cron-expression/CHANGELOG.md b/vendor/dragonmantank/cron-expression/CHANGELOG.md similarity index 58% rename from vendor/mtdowling/cron-expression/CHANGELOG.md rename to vendor/dragonmantank/cron-expression/CHANGELOG.md index 8ddab905..8cb3a084 100644 --- a/vendor/mtdowling/cron-expression/CHANGELOG.md +++ b/vendor/dragonmantank/cron-expression/CHANGELOG.md @@ -1,5 +1,35 @@ # Change Log +## [2.2.0] - 2018-06-05 +### Added +- Added support for steps larger than field ranges (#6) +## Changed +- N/A +### Fixed +- Fixed validation for numbers with leading 0s (#12) + +## [2.1.0] - 2018-04-06 +### Added +- N/A +### Changed +- Upgraded to PHPUnit 6 (#2) +### Fixed +- Refactored timezones to deal with some inconsistent behavior (#3) +- Allow ranges and lists in same expression (#5) +- Fixed regression where literals were not converted to their numerical counterpart (#) + +## [2.0.0] - 2017-10-12 +### Added +- N/A + +### Changed +- Dropped support for PHP 5.x +- Dropped support for the YEAR field, as it was not part of the cron standard + +### Fixed +- Reworked validation for all the field types +- Stepping should now work for 1-indexed fields like Month (#153) + ## [1.2.0] - 2017-01-22 ### Added - Added IDE, CodeSniffer, and StyleCI.IO support diff --git a/vendor/mtdowling/cron-expression/LICENSE b/vendor/dragonmantank/cron-expression/LICENSE similarity index 89% rename from vendor/mtdowling/cron-expression/LICENSE rename to vendor/dragonmantank/cron-expression/LICENSE index c6d88ac6..3e38bbc8 100644 --- a/vendor/mtdowling/cron-expression/LICENSE +++ b/vendor/dragonmantank/cron-expression/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2011 Michael Dowling and contributors +Copyright (c) 2011 Michael Dowling , 2016 Chris Tankersley , and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/vendor/mtdowling/cron-expression/README.md b/vendor/dragonmantank/cron-expression/README.md similarity index 66% rename from vendor/mtdowling/cron-expression/README.md rename to vendor/dragonmantank/cron-expression/README.md index c9e3bf3e..67992c7d 100644 --- a/vendor/mtdowling/cron-expression/README.md +++ b/vendor/dragonmantank/cron-expression/README.md @@ -1,7 +1,7 @@ PHP Cron Expression Parser ========================== -[![Latest Stable Version](https://poser.pugx.org/mtdowling/cron-expression/v/stable.png)](https://packagist.org/packages/mtdowling/cron-expression) [![Total Downloads](https://poser.pugx.org/mtdowling/cron-expression/downloads.png)](https://packagist.org/packages/mtdowling/cron-expression) [![Build Status](https://secure.travis-ci.org/mtdowling/cron-expression.png)](http://travis-ci.org/mtdowling/cron-expression) +[![Latest Stable Version](https://poser.pugx.org/dragonmantank/cron-expression/v/stable.png)](https://packagist.org/packages/dragonmantank/cron-expression) [![Total Downloads](https://poser.pugx.org/dragonmantank/cron-expression/downloads.png)](https://packagist.org/packages/dragonmantank/cron-expression) [![Build Status](https://secure.travis-ci.org/dragonmantank/cron-expression.png)](http://travis-ci.org/dragonmantank/cron-expression) The PHP cron expression parser can parse a CRON expression, determine if it is due to run, calculate the next run date of the expression, and calculate the previous @@ -13,13 +13,15 @@ lists (e.g. 1,2,3), W to find the nearest weekday for a given day of the month, find the last day of the month, L to find the last given weekday of a month, and hash (#) to find the nth weekday of a given month. +More information about this fork can be found in the blog post [here](http://ctankersley.com/2017/10/12/cron-expression-update/). tl;dr - v2.0.0 is a major breaking change, and @dragonmantank can better take care of the project in a separate fork. + Installing ========== Add the dependency to your project: ```bash -composer require mtdowling/cron-expression +composer require dragonmantank/cron-expression ``` Usage @@ -36,7 +38,7 @@ echo $cron->getNextRunDate()->format('Y-m-d H:i:s'); echo $cron->getPreviousRunDate()->format('Y-m-d H:i:s'); // Works with complex expressions -$cron = Cron\CronExpression::factory('3-59/15 2,6-12 */15 1 2-5'); +$cron = Cron\CronExpression::factory('3-59/15 6-12 */15 1 2-5'); echo $cron->getNextRunDate()->format('Y-m-d H:i:s'); // Calculate a run date two iterations into the future @@ -53,10 +55,10 @@ CRON Expressions A CRON expression is a string representing the schedule for a particular command to execute. The parts of a CRON schedule are as follows: - * * * * * * - - - - - - - - | | | | | | - | | | | | + year [optional] + * * * * * + - - - - - + | | | | | + | | | | | | | | | +----- day of week (0 - 7) (Sunday=0 or 7) | | | +---------- month (1 - 12) | | +--------------- day of month (1 - 31) @@ -66,6 +68,6 @@ A CRON expression is a string representing the schedule for a particular command Requirements ============ -- PHP 5.3+ +- PHP 7.0+ - PHPUnit is required to run the unit tests -- Composer is required to run the unit tests \ No newline at end of file +- Composer is required to run the unit tests diff --git a/vendor/dragonmantank/cron-expression/composer.json b/vendor/dragonmantank/cron-expression/composer.json new file mode 100644 index 00000000..d9997ead --- /dev/null +++ b/vendor/dragonmantank/cron-expression/composer.json @@ -0,0 +1,35 @@ +{ + "name": "dragonmantank/cron-expression", + "type": "library", + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": ["cron", "schedule"], + "license": "MIT", + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6.4" + }, + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "autoload-dev": { + "psr-4": { + "Tests\\": "tests/Cron/" + } + } +} diff --git a/vendor/dragonmantank/cron-expression/src/Cron/AbstractField.php b/vendor/dragonmantank/cron-expression/src/Cron/AbstractField.php new file mode 100644 index 00000000..262ab63c --- /dev/null +++ b/vendor/dragonmantank/cron-expression/src/Cron/AbstractField.php @@ -0,0 +1,278 @@ +fullRange = range($this->rangeStart, $this->rangeEnd); + } + + /** + * Check to see if a field is satisfied by a value + * + * @param string $dateValue Date value to check + * @param string $value Value to test + * + * @return bool + */ + public function isSatisfied($dateValue, $value) + { + if ($this->isIncrementsOfRanges($value)) { + return $this->isInIncrementsOfRanges($dateValue, $value); + } elseif ($this->isRange($value)) { + return $this->isInRange($dateValue, $value); + } + + return $value == '*' || $dateValue == $value; + } + + /** + * Check if a value is a range + * + * @param string $value Value to test + * + * @return bool + */ + public function isRange($value) + { + return strpos($value, '-') !== false; + } + + /** + * Check if a value is an increments of ranges + * + * @param string $value Value to test + * + * @return bool + */ + public function isIncrementsOfRanges($value) + { + return strpos($value, '/') !== false; + } + + /** + * Test if a value is within a range + * + * @param string $dateValue Set date value + * @param string $value Value to test + * + * @return bool + */ + public function isInRange($dateValue, $value) + { + $parts = array_map(function($value) { + $value = trim($value); + $value = $this->convertLiterals($value); + return $value; + }, + explode('-', $value, 2) + ); + + + return $dateValue >= $parts[0] && $dateValue <= $parts[1]; + } + + /** + * Test if a value is within an increments of ranges (offset[-to]/step size) + * + * @param string $dateValue Set date value + * @param string $value Value to test + * + * @return bool + */ + public function isInIncrementsOfRanges($dateValue, $value) + { + $chunks = array_map('trim', explode('/', $value, 2)); + $range = $chunks[0]; + $step = isset($chunks[1]) ? $chunks[1] : 0; + + // No step or 0 steps aren't cool + if (is_null($step) || '0' === $step || 0 === $step) { + return false; + } + + // Expand the * to a full range + if ('*' == $range) { + $range = $this->rangeStart . '-' . $this->rangeEnd; + } + + // Generate the requested small range + $rangeChunks = explode('-', $range, 2); + $rangeStart = $rangeChunks[0]; + $rangeEnd = isset($rangeChunks[1]) ? $rangeChunks[1] : $rangeStart; + + if ($rangeStart < $this->rangeStart || $rangeStart > $this->rangeEnd || $rangeStart > $rangeEnd) { + throw new \OutOfRangeException('Invalid range start requested'); + } + + if ($rangeEnd < $this->rangeStart || $rangeEnd > $this->rangeEnd || $rangeEnd < $rangeStart) { + throw new \OutOfRangeException('Invalid range end requested'); + } + + // Steps larger than the range need to wrap around and be handled slightly differently than smaller steps + if ($step >= $this->rangeEnd) { + $thisRange = [$this->fullRange[$step % count($this->fullRange)]]; + } else { + $thisRange = range($rangeStart, $rangeEnd, $step); + } + + return in_array($dateValue, $thisRange); + } + + /** + * Returns a range of values for the given cron expression + * + * @param string $expression The expression to evaluate + * @param int $max Maximum offset for range + * + * @return array + */ + public function getRangeForExpression($expression, $max) + { + $values = array(); + $expression = $this->convertLiterals($expression); + + if (strpos($expression, ',') !== false) { + $ranges = explode(',', $expression); + $values = []; + foreach ($ranges as $range) { + $expanded = $this->getRangeForExpression($range, $this->rangeEnd); + $values = array_merge($values, $expanded); + } + return $values; + } + + if ($this->isRange($expression) || $this->isIncrementsOfRanges($expression)) { + if (!$this->isIncrementsOfRanges($expression)) { + list ($offset, $to) = explode('-', $expression); + $offset = $this->convertLiterals($offset); + $to = $this->convertLiterals($to); + $stepSize = 1; + } + else { + $range = array_map('trim', explode('/', $expression, 2)); + $stepSize = isset($range[1]) ? $range[1] : 0; + $range = $range[0]; + $range = explode('-', $range, 2); + $offset = $range[0]; + $to = isset($range[1]) ? $range[1] : $max; + } + $offset = $offset == '*' ? $this->rangeStart : $offset; + if ($stepSize >= $this->rangeEnd) { + $values = [$this->fullRange[$stepSize % count($this->fullRange)]]; + } else { + for ($i = $offset; $i <= $to; $i += $stepSize) { + $values[] = (int)$i; + } + } + sort($values); + } + else { + $values = array($expression); + } + + return $values; + } + + protected function convertLiterals($value) + { + if (count($this->literals)) { + $key = array_search($value, $this->literals); + if ($key !== false) { + return $key; + } + } + + return $value; + } + + /** + * Checks to see if a value is valid for the field + * + * @param string $value + * @return bool + */ + public function validate($value) + { + $value = $this->convertLiterals($value); + + // All fields allow * as a valid value + if ('*' === $value) { + return true; + } + + if (strpos($value, '/') !== false) { + list($range, $step) = explode('/', $value); + return $this->validate($range) && filter_var($step, FILTER_VALIDATE_INT); + } + + // Validate each chunk of a list individually + if (strpos($value, ',') !== false) { + foreach (explode(',', $value) as $listItem) { + if (!$this->validate($listItem)) { + return false; + } + } + return true; + } + + if (strpos($value, '-') !== false) { + if (substr_count($value, '-') > 1) { + return false; + } + + $chunks = explode('-', $value); + $chunks[0] = $this->convertLiterals($chunks[0]); + $chunks[1] = $this->convertLiterals($chunks[1]); + + if ('*' == $chunks[0] || '*' == $chunks[1]) { + return false; + } + + return $this->validate($chunks[0]) && $this->validate($chunks[1]); + } + + if (!is_numeric($value)) { + return false; + } + + if (is_float($value) || strpos($value, '.') !== false) { + return false; + } + + // We should have a numeric by now, so coerce this into an integer + $value = (int) $value; + + return in_array($value, $this->fullRange, true); + } +} diff --git a/vendor/mtdowling/cron-expression/src/Cron/CronExpression.php b/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php similarity index 85% rename from vendor/mtdowling/cron-expression/src/Cron/CronExpression.php rename to vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php index d69b4154..b7ba7da0 100644 --- a/vendor/mtdowling/cron-expression/src/Cron/CronExpression.php +++ b/vendor/dragonmantank/cron-expression/src/Cron/CronExpression.php @@ -171,7 +171,7 @@ class CronExpression public function setMaxIterationCount($maxIterationCount) { $this->maxIterationCount = $maxIterationCount; - + return $this; } @@ -187,13 +187,14 @@ class CronExpression * matches and so on. * @param bool $allowCurrentDate Set to TRUE to return the current date if * it matches the cron expression. + * @param null|string $timeZone TimeZone to use instead of the system default * * @return \DateTime * @throws \RuntimeException on too many iterations */ - public function getNextRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false) + public function getNextRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false, $timeZone = null) { - return $this->getRunDate($currentTime, $nth, false, $allowCurrentDate); + return $this->getRunDate($currentTime, $nth, false, $allowCurrentDate, $timeZone); } /** @@ -203,14 +204,15 @@ class CronExpression * @param int $nth Number of matches to skip before returning * @param bool $allowCurrentDate Set to TRUE to return the * current date if it matches the cron expression + * @param null|string $timeZone TimeZone to use instead of the system default * * @return \DateTime * @throws \RuntimeException on too many iterations * @see \Cron\CronExpression::getNextRunDate */ - public function getPreviousRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false) + public function getPreviousRunDate($currentTime = 'now', $nth = 0, $allowCurrentDate = false, $timeZone = null) { - return $this->getRunDate($currentTime, $nth, true, $allowCurrentDate); + return $this->getRunDate($currentTime, $nth, true, $allowCurrentDate, $timeZone); } /** @@ -221,15 +223,16 @@ class CronExpression * @param bool $invert Set to TRUE to retrieve previous dates * @param bool $allowCurrentDate Set to TRUE to return the * current date if it matches the cron expression + * @param null|string $timeZone TimeZone to use instead of the system default * * @return array Returns an array of run dates */ - public function getMultipleRunDates($total, $currentTime = 'now', $invert = false, $allowCurrentDate = false) + public function getMultipleRunDates($total, $currentTime = 'now', $invert = false, $allowCurrentDate = false, $timeZone = null) { $matches = array(); for ($i = 0; $i < max(0, $total); $i++) { try { - $matches[] = $this->getRunDate($currentTime, $i, $invert, $allowCurrentDate); + $matches[] = $this->getRunDate($currentTime, $i, $invert, $allowCurrentDate, $timeZone); } catch (RuntimeException $e) { break; } @@ -274,34 +277,30 @@ class CronExpression * seconds are irrelevant, and should be called once per minute. * * @param string|\DateTime $currentTime Relative calculation date + * @param null|string $timeZone TimeZone to use instead of the system default * * @return bool Returns TRUE if the cron is due to run or FALSE if not */ - public function isDue($currentTime = 'now') + public function isDue($currentTime = 'now', $timeZone = null) { + $timeZone = $this->determineTimeZone($currentTime, $timeZone); + if ('now' === $currentTime) { - $currentDate = date('Y-m-d H:i'); - $currentTime = strtotime($currentDate); + $currentTime = new DateTime(); } elseif ($currentTime instanceof DateTime) { - $currentDate = clone $currentTime; - // Ensure time in 'current' timezone is used - $currentDate->setTimezone(new DateTimeZone(date_default_timezone_get())); - $currentDate = $currentDate->format('Y-m-d H:i'); - $currentTime = strtotime($currentDate); + // } elseif ($currentTime instanceof DateTimeImmutable) { - $currentDate = DateTime::createFromFormat('U', $currentTime->format('U')); - $currentDate->setTimezone(new DateTimeZone(date_default_timezone_get())); - $currentDate = $currentDate->format('Y-m-d H:i'); - $currentTime = strtotime($currentDate); + $currentTime = DateTime::createFromFormat('U', $currentTime->format('U')); } else { $currentTime = new DateTime($currentTime); - $currentTime->setTime($currentTime->format('H'), $currentTime->format('i'), 0); - $currentDate = $currentTime->format('Y-m-d H:i'); - $currentTime = $currentTime->getTimeStamp(); } + $currentTime->setTimeZone(new DateTimeZone($timeZone)); + + // drop the seconds to 0 + $currentTime = DateTime::createFromFormat('Y-m-d H:i', $currentTime->format('Y-m-d H:i')); try { - return $this->getNextRunDate($currentDate, 0, true)->getTimestamp() == $currentTime; + return $this->getNextRunDate($currentTime, 0, true)->getTimestamp() === $currentTime->getTimestamp(); } catch (Exception $e) { return false; } @@ -315,22 +314,24 @@ class CronExpression * @param bool $invert Set to TRUE to go backwards in time * @param bool $allowCurrentDate Set to TRUE to return the * current date if it matches the cron expression + * @param string|null $timeZone TimeZone to use instead of the system default * * @return \DateTime * @throws \RuntimeException on too many iterations */ - protected function getRunDate($currentTime = null, $nth = 0, $invert = false, $allowCurrentDate = false) + protected function getRunDate($currentTime = null, $nth = 0, $invert = false, $allowCurrentDate = false, $timeZone = null) { + $timeZone = $this->determineTimeZone($currentTime, $timeZone); + if ($currentTime instanceof DateTime) { $currentDate = clone $currentTime; } elseif ($currentTime instanceof DateTimeImmutable) { $currentDate = DateTime::createFromFormat('U', $currentTime->format('U')); - $currentDate->setTimezone($currentTime->getTimezone()); } else { $currentDate = new DateTime($currentTime ?: 'now'); - $currentDate->setTimezone(new DateTimeZone(date_default_timezone_get())); } + $currentDate->setTimeZone(new DateTimeZone($timeZone)); $currentDate->setTime($currentDate->format('H'), $currentDate->format('i'), 0); $nextRun = clone $currentDate; $nth = (int) $nth; @@ -386,4 +387,25 @@ class CronExpression throw new RuntimeException('Impossible CRON expression'); // @codeCoverageIgnoreEnd } + + /** + * Workout what timeZone should be used. + * + * @param string|\DateTime $currentTime Relative calculation date + * @param string|null $timeZone TimeZone to use instead of the system default + * + * @return string + */ + protected function determineTimeZone($currentTime, $timeZone) + { + if (! is_null($timeZone)) { + return $timeZone; + } + + if ($currentTime instanceOf Datetime) { + return $currentTime->getTimeZone()->getName(); + } + + return date_default_timezone_get(); + } } diff --git a/vendor/mtdowling/cron-expression/src/Cron/DayOfMonthField.php b/vendor/dragonmantank/cron-expression/src/Cron/DayOfMonthField.php similarity index 62% rename from vendor/mtdowling/cron-expression/src/Cron/DayOfMonthField.php rename to vendor/dragonmantank/cron-expression/src/Cron/DayOfMonthField.php index 53e15bc4..abf59690 100644 --- a/vendor/mtdowling/cron-expression/src/Cron/DayOfMonthField.php +++ b/vendor/dragonmantank/cron-expression/src/Cron/DayOfMonthField.php @@ -24,6 +24,9 @@ use DateTime; */ class DayOfMonthField extends AbstractField { + protected $rangeStart = 1; + protected $rangeEnd = 31; + /** * Get the nearest day of the week for a given day in a month * @@ -99,75 +102,30 @@ class DayOfMonthField extends AbstractField } /** - * Validates that the value is valid for the Day of the Month field - * Days of the month can contain values of 1-31, *, L, or ? by default. This can be augmented with lists via a ',', - * ranges via a '-', or with a '[0-9]W' to specify the closest weekday. - * - * @param string $value - * @return bool + * @inheritDoc */ public function validate($value) { - // Allow wildcards and a single L - if ($value === '?' || $value === '*' || $value === 'L') { - return true; + $basicChecks = parent::validate($value); + + // Validate that a list don't have W or L + if (strpos($value, ',') !== false && (strpos($value, 'W') !== false || strpos($value, 'L') !== false)) { + return false; } - // If you only contain numbers and are within 1-31 - if ((bool) preg_match('/^\d{1,2}$/', $value) && ($value >= 1 && $value <= 31)) { - return true; - } + if (!$basicChecks) { - // If you have a -, we will deal with each of your chunks - if ((bool) preg_match('/-/', $value)) { - // We cannot have a range within a list or vice versa - if ((bool) preg_match('/,/', $value)) { - return false; + if ($value === 'L') { + return true; } - $chunks = explode('-', $value); - foreach ($chunks as $chunk) { - if (!$this->validate($chunk)) { - return false; - } + if (preg_match('/^(.*)W$/', $value, $matches)) { + return $this->validate($matches[1]); } - return true; + return false; } - // If you have a comma, we will deal with each value - if ((bool) preg_match('/,/', $value)) { - // We cannot have a range within a list or vice versa - if ((bool) preg_match('/-/', $value)) { - return false; - } - - $chunks = explode(',', $value); - foreach ($chunks as $chunk) { - if (!$this->validate($chunk)) { - return false; - } - } - - return true; - } - - // If you contain a /, we'll deal with it - if ((bool) preg_match('/\//', $value)) { - $chunks = explode('/', $value); - foreach ($chunks as $chunk) { - if (!$this->validate($chunk)) { - return false; - } - } - return true; - } - - // If you end in W, make sure that it has a numeric in front of it - if ((bool) preg_match('/^\d{1,2}W$/', $value)) { - return true; - } - - return false; + return $basicChecks; } } diff --git a/vendor/mtdowling/cron-expression/src/Cron/DayOfWeekField.php b/vendor/dragonmantank/cron-expression/src/Cron/DayOfWeekField.php similarity index 72% rename from vendor/mtdowling/cron-expression/src/Cron/DayOfWeekField.php rename to vendor/dragonmantank/cron-expression/src/Cron/DayOfWeekField.php index 83e2f4c1..e1780134 100644 --- a/vendor/mtdowling/cron-expression/src/Cron/DayOfWeekField.php +++ b/vendor/dragonmantank/cron-expression/src/Cron/DayOfWeekField.php @@ -21,6 +21,19 @@ use InvalidArgumentException; */ class DayOfWeekField extends AbstractField { + protected $rangeStart = 0; + protected $rangeEnd = 7; + + protected $nthRange; + + protected $literals = [1 => 'MON', 2 => 'TUE', 3 => 'WED', 4 => 'THU', 5 => 'FRI', 6 => 'SAT', 7 => 'SUN']; + + public function __construct() + { + $this->nthRange = range(1, 5); + parent::__construct(); + } + public function isSatisfiedBy(DateTime $date, $value) { if ($value == '?') { @@ -53,18 +66,28 @@ class DayOfWeekField extends AbstractField if (strpos($value, '#')) { list($weekday, $nth) = explode('#', $value); + if (!is_numeric($nth)) { + throw new InvalidArgumentException("Hashed weekdays must be numeric, {$nth} given"); + } else { + $nth = (int) $nth; + } + // 0 and 7 are both Sunday, however 7 matches date('N') format ISO-8601 if ($weekday === '0') { $weekday = 7; } + $weekday = $this->convertLiterals($weekday); + // Validate the hash fields if ($weekday < 0 || $weekday > 7) { throw new InvalidArgumentException("Weekday must be a value between 0 and 7. {$weekday} given"); } - if ($nth > 5) { - throw new InvalidArgumentException('There are never more than 5 of a given weekday in a month'); + + if (!in_array($nth, $this->nthRange)) { + throw new InvalidArgumentException("There are never more than 5 or less than 1 of a given weekday in a month, {$nth} given"); } + // The current weekday must match the targeted weekday to proceed if ($date->format('N') != $weekday) { return false; @@ -117,25 +140,31 @@ class DayOfWeekField extends AbstractField return $this; } + /** + * @inheritDoc + */ public function validate($value) { - $value = $this->convertLiterals($value); + $basicChecks = parent::validate($value); - foreach (explode(',', $value) as $expr) { - if (!preg_match('/^(\*|[0-7](L?|#[1-5]))([\/\,\-][0-7]+)*$/', $expr)) { - return false; + if (!$basicChecks) { + // Handle the # value + if (strpos($value, '#') !== false) { + $chunks = explode('#', $value); + $chunks[0] = $this->convertLiterals($chunks[0]); + + if (parent::validate($chunks[0]) && is_numeric($chunks[1]) && in_array($chunks[1], $this->nthRange)) { + return true; + } } + + if (preg_match('/^(.*)L$/', $value, $matches)) { + return $this->validate($matches[1]); + } + + return false; } - return true; - } - - private function convertLiterals($string) - { - return str_ireplace( - array('SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'), - range(0, 6), - $string - ); + return $basicChecks; } } diff --git a/vendor/mtdowling/cron-expression/src/Cron/FieldFactory.php b/vendor/dragonmantank/cron-expression/src/Cron/FieldFactory.php similarity index 92% rename from vendor/mtdowling/cron-expression/src/Cron/FieldFactory.php rename to vendor/dragonmantank/cron-expression/src/Cron/FieldFactory.php index fa0e6fe2..fd27352d 100644 --- a/vendor/mtdowling/cron-expression/src/Cron/FieldFactory.php +++ b/vendor/dragonmantank/cron-expression/src/Cron/FieldFactory.php @@ -42,9 +42,6 @@ class FieldFactory case 4: $this->fields[$position] = new DayOfWeekField(); break; - case 5: - $this->fields[$position] = new YearField(); - break; default: throw new InvalidArgumentException( $position . ' is not a valid position' diff --git a/vendor/mtdowling/cron-expression/src/Cron/FieldInterface.php b/vendor/dragonmantank/cron-expression/src/Cron/FieldInterface.php similarity index 100% rename from vendor/mtdowling/cron-expression/src/Cron/FieldInterface.php rename to vendor/dragonmantank/cron-expression/src/Cron/FieldInterface.php diff --git a/vendor/mtdowling/cron-expression/src/Cron/HoursField.php b/vendor/dragonmantank/cron-expression/src/Cron/HoursField.php similarity index 94% rename from vendor/mtdowling/cron-expression/src/Cron/HoursField.php rename to vendor/dragonmantank/cron-expression/src/Cron/HoursField.php index 107f1300..4def9ca1 100644 --- a/vendor/mtdowling/cron-expression/src/Cron/HoursField.php +++ b/vendor/dragonmantank/cron-expression/src/Cron/HoursField.php @@ -10,6 +10,9 @@ use DateTimeZone; */ class HoursField extends AbstractField { + protected $rangeStart = 0; + protected $rangeEnd = 23; + public function isSatisfiedBy(DateTime $date, $value) { return $this->isSatisfied($date->format('H'), $value); @@ -63,9 +66,4 @@ class HoursField extends AbstractField return $this; } - - public function validate($value) - { - return (bool) preg_match('/^[\*,\/\-0-9]+$/', $value); - } } diff --git a/vendor/mtdowling/cron-expression/src/Cron/MinutesField.php b/vendor/dragonmantank/cron-expression/src/Cron/MinutesField.php similarity index 93% rename from vendor/mtdowling/cron-expression/src/Cron/MinutesField.php rename to vendor/dragonmantank/cron-expression/src/Cron/MinutesField.php index d8432b55..59bb386f 100644 --- a/vendor/mtdowling/cron-expression/src/Cron/MinutesField.php +++ b/vendor/dragonmantank/cron-expression/src/Cron/MinutesField.php @@ -10,6 +10,9 @@ use DateTime; */ class MinutesField extends AbstractField { + protected $rangeStart = 0; + protected $rangeEnd = 59; + public function isSatisfiedBy(DateTime $date, $value) { return $this->isSatisfied($date->format('i'), $value); @@ -54,9 +57,4 @@ class MinutesField extends AbstractField return $this; } - - public function validate($value) - { - return (bool) preg_match('/^[\*,\/\-0-9]+$/', $value); - } } diff --git a/vendor/mtdowling/cron-expression/src/Cron/MonthField.php b/vendor/dragonmantank/cron-expression/src/Cron/MonthField.php similarity index 59% rename from vendor/mtdowling/cron-expression/src/Cron/MonthField.php rename to vendor/dragonmantank/cron-expression/src/Cron/MonthField.php index 0205c171..79fdf3cf 100644 --- a/vendor/mtdowling/cron-expression/src/Cron/MonthField.php +++ b/vendor/dragonmantank/cron-expression/src/Cron/MonthField.php @@ -9,17 +9,14 @@ use DateTime; */ class MonthField extends AbstractField { + protected $rangeStart = 1; + protected $rangeEnd = 12; + protected $literals = [1 => 'JAN', 2 => 'FEB', 3 => 'MAR', 4 => 'APR', 5 => 'MAY', 6 => 'JUN', 7 => 'JUL', + 8 => 'AUG', 9 => 'SEP', 10 => 'OCT', 11 => 'NOV', 12 => 'DEC']; + public function isSatisfiedBy(DateTime $date, $value) { - // Convert text month values to integers - $value = str_ireplace( - array( - 'JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', - 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC' - ), - range(1, 12), - $value - ); + $value = $this->convertLiterals($value); return $this->isSatisfied($date->format('m'), $value); } @@ -37,8 +34,5 @@ class MonthField extends AbstractField return $this; } - public function validate($value) - { - return (bool) preg_match('/^[\*,\/\-0-9A-Z]+$/', $value); - } + } diff --git a/vendor/dragonmantank/cron-expression/tests/Cron/AbstractFieldTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/AbstractFieldTest.php new file mode 100644 index 00000000..38114392 --- /dev/null +++ b/vendor/dragonmantank/cron-expression/tests/Cron/AbstractFieldTest.php @@ -0,0 +1,139 @@ + + */ +class AbstractFieldTest extends TestCase +{ + /** + * @covers \Cron\AbstractField::isRange + */ + public function testTestsIfRange() + { + $f = new DayOfWeekField(); + $this->assertTrue($f->isRange('1-2')); + $this->assertFalse($f->isRange('2')); + } + + /** + * @covers \Cron\AbstractField::isIncrementsOfRanges + */ + public function testTestsIfIncrementsOfRanges() + { + $f = new DayOfWeekField(); + $this->assertFalse($f->isIncrementsOfRanges('1-2')); + $this->assertTrue($f->isIncrementsOfRanges('1/2')); + $this->assertTrue($f->isIncrementsOfRanges('*/2')); + $this->assertTrue($f->isIncrementsOfRanges('3-12/2')); + } + + /** + * @covers \Cron\AbstractField::isInRange + */ + public function testTestsIfInRange() + { + $f = new DayOfWeekField(); + $this->assertTrue($f->isInRange('1', '1-2')); + $this->assertTrue($f->isInRange('2', '1-2')); + $this->assertTrue($f->isInRange('5', '4-12')); + $this->assertFalse($f->isInRange('3', '4-12')); + $this->assertFalse($f->isInRange('13', '4-12')); + } + + /** + * @covers \Cron\AbstractField::isInIncrementsOfRanges + */ + public function testTestsIfInIncrementsOfRangesOnZeroStartRange() + { + $f = new MinutesField(); + $this->assertTrue($f->isInIncrementsOfRanges('3', '3-59/2')); + $this->assertTrue($f->isInIncrementsOfRanges('13', '3-59/2')); + $this->assertTrue($f->isInIncrementsOfRanges('15', '3-59/2')); + $this->assertTrue($f->isInIncrementsOfRanges('14', '*/2')); + $this->assertFalse($f->isInIncrementsOfRanges('2', '3-59/13')); + $this->assertFalse($f->isInIncrementsOfRanges('14', '*/13')); + $this->assertFalse($f->isInIncrementsOfRanges('14', '3-59/2')); + $this->assertFalse($f->isInIncrementsOfRanges('3', '2-59')); + $this->assertFalse($f->isInIncrementsOfRanges('3', '2')); + $this->assertFalse($f->isInIncrementsOfRanges('3', '*')); + $this->assertFalse($f->isInIncrementsOfRanges('0', '*/0')); + $this->assertFalse($f->isInIncrementsOfRanges('1', '*/0')); + + $this->assertTrue($f->isInIncrementsOfRanges('4', '4/1')); + $this->assertFalse($f->isInIncrementsOfRanges('14', '4/1')); + $this->assertFalse($f->isInIncrementsOfRanges('34', '4/1')); + } + + /** + * @covers \Cron\AbstractField::isInIncrementsOfRanges + */ + public function testTestsIfInIncrementsOfRangesOnOneStartRange() + { + $f = new MonthField(); + $this->assertTrue($f->isInIncrementsOfRanges('3', '3-12/2')); + $this->assertFalse($f->isInIncrementsOfRanges('13', '3-12/2')); + $this->assertFalse($f->isInIncrementsOfRanges('15', '3-12/2')); + $this->assertTrue($f->isInIncrementsOfRanges('3', '*/2')); + $this->assertFalse($f->isInIncrementsOfRanges('3', '*/3')); + $this->assertTrue($f->isInIncrementsOfRanges('7', '*/3')); + $this->assertFalse($f->isInIncrementsOfRanges('14', '3-12/2')); + $this->assertFalse($f->isInIncrementsOfRanges('3', '2-12')); + $this->assertFalse($f->isInIncrementsOfRanges('3', '2')); + $this->assertFalse($f->isInIncrementsOfRanges('3', '*')); + $this->assertFalse($f->isInIncrementsOfRanges('0', '*/0')); + $this->assertFalse($f->isInIncrementsOfRanges('1', '*/0')); + + $this->assertTrue($f->isInIncrementsOfRanges('4', '4/1')); + $this->assertFalse($f->isInIncrementsOfRanges('14', '4/1')); + $this->assertFalse($f->isInIncrementsOfRanges('34', '4/1')); + } + + /** + * @covers \Cron\AbstractField::isSatisfied + */ + public function testTestsIfSatisfied() + { + $f = new DayOfWeekField(); + $this->assertTrue($f->isSatisfied('12', '3-13')); + $this->assertFalse($f->isSatisfied('15', '3-7/2')); + $this->assertTrue($f->isSatisfied('12', '*')); + $this->assertTrue($f->isSatisfied('12', '12')); + $this->assertFalse($f->isSatisfied('12', '3-11')); + $this->assertFalse($f->isSatisfied('12', '3-7/2')); + $this->assertFalse($f->isSatisfied('12', '11')); + } + + /** + * Allows ranges and lists to coexist in the same expression + * + * @see https://github.com/dragonmantank/cron-expression/issues/5 + */ + public function testAllowRangesAndLists() + { + $expression = '5-7,11-13'; + $f = new HoursField(); + $this->assertTrue($f->validate($expression)); + } + + /** + * Makes sure that various types of ranges expand out properly + * + * @see https://github.com/dragonmantank/cron-expression/issues/5 + */ + public function testGetRangeForExpressionExpandsCorrectly() + { + $f = new HoursField(); + $this->assertSame([5, 6, 7, 11, 12, 13], $f->getRangeForExpression('5-7,11-13', 23)); + $this->assertSame(['5', '6', '7', '11', '12', '13'], $f->getRangeForExpression('5,6,7,11,12,13', 23)); + $this->assertSame([0, 6, 12, 18], $f->getRangeForExpression('*/6', 23)); + $this->assertSame([5, 11], $f->getRangeForExpression('5-13/6', 23)); + } +} diff --git a/vendor/mtdowling/cron-expression/tests/Cron/CronExpressionTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/CronExpressionTest.php similarity index 52% rename from vendor/mtdowling/cron-expression/tests/Cron/CronExpressionTest.php rename to vendor/dragonmantank/cron-expression/tests/Cron/CronExpressionTest.php index f6fedb98..5d46644b 100644 --- a/vendor/mtdowling/cron-expression/tests/Cron/CronExpressionTest.php +++ b/vendor/dragonmantank/cron-expression/tests/Cron/CronExpressionTest.php @@ -3,65 +3,71 @@ namespace Cron\Tests; use Cron\CronExpression; +use Cron\MonthField; use DateTime; use DateTimeZone; use InvalidArgumentException; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * @author Michael Dowling */ -class CronExpressionTest extends PHPUnit_Framework_TestCase +class CronExpressionTest extends TestCase { /** - * @covers Cron\CronExpression::factory + * @covers \Cron\CronExpression::factory */ public function testFactoryRecognizesTemplates() { - $this->assertEquals('0 0 1 1 *', CronExpression::factory('@annually')->getExpression()); - $this->assertEquals('0 0 1 1 *', CronExpression::factory('@yearly')->getExpression()); - $this->assertEquals('0 0 * * 0', CronExpression::factory('@weekly')->getExpression()); + $this->assertSame('0 0 1 1 *', CronExpression::factory('@annually')->getExpression()); + $this->assertSame('0 0 1 1 *', CronExpression::factory('@yearly')->getExpression()); + $this->assertSame('0 0 * * 0', CronExpression::factory('@weekly')->getExpression()); } /** - * @covers Cron\CronExpression::__construct - * @covers Cron\CronExpression::getExpression - * @covers Cron\CronExpression::__toString + * @covers \Cron\CronExpression::__construct + * @covers \Cron\CronExpression::getExpression + * @covers \Cron\CronExpression::__toString */ public function testParsesCronSchedule() { // '2010-09-10 12:00:00' $cron = CronExpression::factory('1 2-4 * 4,5,6 */3'); - $this->assertEquals('1', $cron->getExpression(CronExpression::MINUTE)); - $this->assertEquals('2-4', $cron->getExpression(CronExpression::HOUR)); - $this->assertEquals('*', $cron->getExpression(CronExpression::DAY)); - $this->assertEquals('4,5,6', $cron->getExpression(CronExpression::MONTH)); - $this->assertEquals('*/3', $cron->getExpression(CronExpression::WEEKDAY)); - $this->assertEquals('1 2-4 * 4,5,6 */3', $cron->getExpression()); - $this->assertEquals('1 2-4 * 4,5,6 */3', (string) $cron); + $this->assertSame('1', $cron->getExpression(CronExpression::MINUTE)); + $this->assertSame('2-4', $cron->getExpression(CronExpression::HOUR)); + $this->assertSame('*', $cron->getExpression(CronExpression::DAY)); + $this->assertSame('4,5,6', $cron->getExpression(CronExpression::MONTH)); + $this->assertSame('*/3', $cron->getExpression(CronExpression::WEEKDAY)); + $this->assertSame('1 2-4 * 4,5,6 */3', $cron->getExpression()); + $this->assertSame('1 2-4 * 4,5,6 */3', (string) $cron); $this->assertNull($cron->getExpression('foo')); - - try { - $cron = CronExpression::factory('A 1 2 3 4'); - $this->fail('Validation exception not thrown'); - } catch (InvalidArgumentException $e) { - } } /** - * @covers Cron\CronExpression::__construct - * @covers Cron\CronExpression::getExpression + * @covers \Cron\CronExpression::__construct + * @covers \Cron\CronExpression::getExpression + * @covers \Cron\CronExpression::__toString + * @expectedException \InvalidArgumentException + * @expectedExceptionMessage Invalid CRON field value A at position 0 + */ + public function testParsesCronScheduleThrowsAnException() + { + CronExpression::factory('A 1 2 3 4'); + } + + /** + * @covers \Cron\CronExpression::__construct + * @covers \Cron\CronExpression::getExpression * @dataProvider scheduleWithDifferentSeparatorsProvider */ public function testParsesCronScheduleWithAnySpaceCharsAsSeparators($schedule, array $expected) { $cron = CronExpression::factory($schedule); - $this->assertEquals($expected[0], $cron->getExpression(CronExpression::MINUTE)); - $this->assertEquals($expected[1], $cron->getExpression(CronExpression::HOUR)); - $this->assertEquals($expected[2], $cron->getExpression(CronExpression::DAY)); - $this->assertEquals($expected[3], $cron->getExpression(CronExpression::MONTH)); - $this->assertEquals($expected[4], $cron->getExpression(CronExpression::WEEKDAY)); - $this->assertEquals($expected[5], $cron->getExpression(CronExpression::YEAR)); + $this->assertSame($expected[0], $cron->getExpression(CronExpression::MINUTE)); + $this->assertSame($expected[1], $cron->getExpression(CronExpression::HOUR)); + $this->assertSame($expected[2], $cron->getExpression(CronExpression::DAY)); + $this->assertSame($expected[3], $cron->getExpression(CronExpression::MONTH)); + $this->assertSame($expected[4], $cron->getExpression(CronExpression::WEEKDAY)); } /** @@ -72,17 +78,17 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase public static function scheduleWithDifferentSeparatorsProvider() { return array( - array("*\t*\t*\t*\t*\t*", array('*', '*', '*', '*', '*', '*')), - array("* * * * * *", array('*', '*', '*', '*', '*', '*')), - array("* \t * \t * \t * \t * \t *", array('*', '*', '*', '*', '*', '*')), - array("*\t \t*\t \t*\t \t*\t \t*\t \t*", array('*', '*', '*', '*', '*', '*')), + array("*\t*\t*\t*\t*\t", array('*', '*', '*', '*', '*', '*')), + array("* * * * * ", array('*', '*', '*', '*', '*', '*')), + array("* \t * \t * \t * \t * \t", array('*', '*', '*', '*', '*', '*')), + array("*\t \t*\t \t*\t \t*\t \t*\t \t", array('*', '*', '*', '*', '*', '*')), ); } /** - * @covers Cron\CronExpression::__construct - * @covers Cron\CronExpression::setExpression - * @covers Cron\CronExpression::setPart + * @covers \Cron\CronExpression::__construct + * @covers \Cron\CronExpression::setExpression + * @covers \Cron\CronExpression::setPart * @expectedException InvalidArgumentException */ public function testInvalidCronsWillFail() @@ -92,7 +98,7 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\CronExpression::setPart + * @covers \Cron\CronExpression::setPart * @expectedException InvalidArgumentException */ public function testInvalidPartsWillFail() @@ -116,8 +122,7 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase // Handles CSV values array('* 20,22 * * *', '2015-08-10 21:50:00', '2015-08-10 22:00:00', false), // CSV values can be complex - array('* 5,21-22 * * *', '2015-08-10 21:50:00', '2015-08-10 21:50:00', true), - array('7-9 * */9 * *', '2015-08-10 22:02:33', '2015-08-18 00:07:00', false), + array('7-9 * */9 * *', '2015-08-10 22:02:33', '2015-08-10 22:07:00', false), // 15th minute, of the second hour, every 15 days, in January, every Friday array('1 * * * 7', '2015-08-10 21:47:27', '2015-08-16 00:01:00', false), // Test with exact times @@ -138,7 +143,6 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase array('0 0 * * 3-7', strtotime('2011-06-18 23:09:00'), '2011-06-19 00:00:00', false), // Test lists of values and ranges (Abhoryo) array('0 0 * * 2-7', strtotime('2011-06-20 23:09:00'), '2011-06-21 00:00:00', false), - array('0 0 * * 0,2-6', strtotime('2011-06-20 23:09:00'), '2011-06-21 00:00:00', false), array('0 0 * * 2-7', strtotime('2011-06-18 23:09:00'), '2011-06-19 00:00:00', false), array('0 0 * * 4-7', strtotime('2011-07-19 00:00:00'), '2011-07-21 00:00:00', false), // Test increments of ranges @@ -146,12 +150,10 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase array('4-59/2 * * * *', strtotime('2011-06-20 12:04:00'), '2011-06-20 12:04:00', true), array('4-59/2 * * * *', strtotime('2011-06-20 12:06:00'), '2011-06-20 12:06:00', true), array('4-59/3 * * * *', strtotime('2011-06-20 12:06:00'), '2011-06-20 12:07:00', false), - //array('0 0 * * 0,2-6', strtotime('2011-06-20 23:09:00'), '2011-06-21 00:00:00', false), // Test Day of the Week and the Day of the Month (issue #1) array('0 0 1 1 0', strtotime('2011-06-15 23:09:00'), '2012-01-01 00:00:00', false), array('0 0 1 JAN 0', strtotime('2011-06-15 23:09:00'), '2012-01-01 00:00:00', false), array('0 0 1 * 0', strtotime('2011-06-15 23:09:00'), '2012-01-01 00:00:00', false), - array('0 0 L * *', strtotime('2011-07-15 00:00:00'), '2011-07-31 00:00:00', false), // Test the W day of the week modifier for day of the month field array('0 0 2W * *', strtotime('2011-07-01 00:00:00'), '2011-07-01 00:00:00', true), array('0 0 1W * *', strtotime('2011-05-01 00:00:00'), '2011-05-02 00:00:00', false), @@ -161,32 +163,35 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase array('0 0 28W * *', strtotime('2011-07-01 00:00:00'), '2011-07-28 00:00:00', false), array('0 0 30W * *', strtotime('2011-07-01 00:00:00'), '2011-07-29 00:00:00', false), array('0 0 31W * *', strtotime('2011-07-01 00:00:00'), '2011-07-29 00:00:00', false), - // Test the year field - array('* * * * * 2012', strtotime('2011-05-01 00:00:00'), '2012-01-01 00:00:00', false), // Test the last weekday of a month array('* * * * 5L', strtotime('2011-07-01 00:00:00'), '2011-07-29 00:00:00', false), array('* * * * 6L', strtotime('2011-07-01 00:00:00'), '2011-07-30 00:00:00', false), array('* * * * 7L', strtotime('2011-07-01 00:00:00'), '2011-07-31 00:00:00', false), array('* * * * 1L', strtotime('2011-07-24 00:00:00'), '2011-07-25 00:00:00', false), - array('* * * * TUEL', strtotime('2011-07-24 00:00:00'), '2011-07-26 00:00:00', false), array('* * * 1 5L', strtotime('2011-12-25 00:00:00'), '2012-01-27 00:00:00', false), // Test the hash symbol for the nth weekday of a given month array('* * * * 5#2', strtotime('2011-07-01 00:00:00'), '2011-07-08 00:00:00', false), array('* * * * 5#1', strtotime('2011-07-01 00:00:00'), '2011-07-01 00:00:00', true), array('* * * * 3#4', strtotime('2011-07-01 00:00:00'), '2011-07-27 00:00:00', false), + + // Issue #7, documented example failed + ['3-59/15 6-12 */15 1 2-5', strtotime('2017-01-08 00:00:00'), '2017-01-31 06:03:00', false], + + // https://github.com/laravel/framework/commit/07d160ac3cc9764d5b429734ffce4fa311385403 + ['* * * * MON-FRI', strtotime('2017-01-08 00:00:00'), strtotime('2017-01-09 00:00:00'), false], + ['* * * * TUE', strtotime('2017-01-08 00:00:00'), strtotime('2017-01-10 00:00:00'), false], ); } /** - * @covers Cron\CronExpression::isDue - * @covers Cron\CronExpression::getNextRunDate - * @covers Cron\DayOfMonthField - * @covers Cron\DayOfWeekField - * @covers Cron\MinutesField - * @covers Cron\HoursField - * @covers Cron\MonthField - * @covers Cron\YearField - * @covers Cron\CronExpression::getRunDate + * @covers \Cron\CronExpression::isDue + * @covers \Cron\CronExpression::getNextRunDate + * @covers \Cron\DayOfMonthField + * @covers \Cron\DayOfWeekField + * @covers \Cron\MinutesField + * @covers \Cron\HoursField + * @covers \Cron\MonthField + * @covers \Cron\CronExpression::getRunDate * @dataProvider scheduleProvider */ public function testDeterminesIfCronIsDue($schedule, $relativeTime, $nextRun, $isDue) @@ -200,13 +205,21 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase } elseif (is_int($relativeTime)) { $relativeTime = date('Y-m-d H:i:s', $relativeTime); } - $this->assertEquals($isDue, $cron->isDue($relativeTime)); + + if (is_string($nextRun)) { + $nextRunDate = new DateTime($nextRun); + } elseif (is_int($nextRun)) { + $nextRunDate = new DateTime(); + $nextRunDate->setTimestamp($nextRun); + } + $this->assertSame($isDue, $cron->isDue($relativeTime)); $next = $cron->getNextRunDate($relativeTime, 0, true); - $this->assertEquals(new DateTime($nextRun), $next); + + $this->assertEquals($nextRunDate, $next); } /** - * @covers Cron\CronExpression::isDue + * @covers \Cron\CronExpression::isDue */ public function testIsDueHandlesDifferentDates() { @@ -218,34 +231,104 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\CronExpression::isDue + * @covers \Cron\CronExpression::isDue */ - public function testIsDueHandlesDifferentTimezones() + public function testIsDueHandlesDifferentDefaultTimezones() { + $originalTimezone = date_default_timezone_get(); $cron = CronExpression::factory('0 15 * * 3'); //Wednesday at 15:00 $date = '2014-01-01 15:00'; //Wednesday - $utc = new DateTimeZone('UTC'); - $amsterdam = new DateTimeZone('Europe/Amsterdam'); - $tokyo = new DateTimeZone('Asia/Tokyo'); date_default_timezone_set('UTC'); - $this->assertTrue($cron->isDue(new DateTime($date, $utc))); - $this->assertFalse($cron->isDue(new DateTime($date, $amsterdam))); - $this->assertFalse($cron->isDue(new DateTime($date, $tokyo))); + $this->assertTrue($cron->isDue(new DateTime($date), 'UTC')); + $this->assertFalse($cron->isDue(new DateTime($date), 'Europe/Amsterdam')); + $this->assertFalse($cron->isDue(new DateTime($date), 'Asia/Tokyo')); date_default_timezone_set('Europe/Amsterdam'); - $this->assertFalse($cron->isDue(new DateTime($date, $utc))); - $this->assertTrue($cron->isDue(new DateTime($date, $amsterdam))); - $this->assertFalse($cron->isDue(new DateTime($date, $tokyo))); + $this->assertFalse($cron->isDue(new DateTime($date), 'UTC')); + $this->assertTrue($cron->isDue(new DateTime($date), 'Europe/Amsterdam')); + $this->assertFalse($cron->isDue(new DateTime($date), 'Asia/Tokyo')); date_default_timezone_set('Asia/Tokyo'); - $this->assertFalse($cron->isDue(new DateTime($date, $utc))); - $this->assertFalse($cron->isDue(new DateTime($date, $amsterdam))); - $this->assertTrue($cron->isDue(new DateTime($date, $tokyo))); + $this->assertFalse($cron->isDue(new DateTime($date), 'UTC')); + $this->assertFalse($cron->isDue(new DateTime($date), 'Europe/Amsterdam')); + $this->assertTrue($cron->isDue(new DateTime($date), 'Asia/Tokyo')); + + date_default_timezone_set($originalTimezone); } /** - * @covers Cron\CronExpression::getPreviousRunDate + * @covers \Cron\CronExpression::isDue + */ + public function testIsDueHandlesDifferentSuppliedTimezones() + { + $cron = CronExpression::factory('0 15 * * 3'); //Wednesday at 15:00 + $date = '2014-01-01 15:00'; //Wednesday + + $this->assertTrue($cron->isDue(new DateTime($date, new DateTimeZone('UTC')), 'UTC')); + $this->assertFalse($cron->isDue(new DateTime($date, new DateTimeZone('UTC')), 'Europe/Amsterdam')); + $this->assertFalse($cron->isDue(new DateTime($date, new DateTimeZone('UTC')), 'Asia/Tokyo')); + + $this->assertFalse($cron->isDue(new DateTime($date, new DateTimeZone('Europe/Amsterdam')), 'UTC')); + $this->assertTrue($cron->isDue(new DateTime($date, new DateTimeZone('Europe/Amsterdam')), 'Europe/Amsterdam')); + $this->assertFalse($cron->isDue(new DateTime($date, new DateTimeZone('Europe/Amsterdam')), 'Asia/Tokyo')); + + $this->assertFalse($cron->isDue(new DateTime($date, new DateTimeZone('Asia/Tokyo')), 'UTC')); + $this->assertFalse($cron->isDue(new DateTime($date, new DateTimeZone('Asia/Tokyo')), 'Europe/Amsterdam')); + $this->assertTrue($cron->isDue(new DateTime($date, new DateTimeZone('Asia/Tokyo')), 'Asia/Tokyo')); + } + + /** + * @covers Cron\CronExpression::isDue + */ + public function testIsDueHandlesDifferentTimezonesAsArgument() + { + $cron = CronExpression::factory('0 15 * * 3'); //Wednesday at 15:00 + $date = '2014-01-01 15:00'; //Wednesday + $utc = new \DateTimeZone('UTC'); + $amsterdam = new \DateTimeZone('Europe/Amsterdam'); + $tokyo = new \DateTimeZone('Asia/Tokyo'); + $this->assertTrue($cron->isDue(new DateTime($date, $utc), 'UTC')); + $this->assertFalse($cron->isDue(new DateTime($date, $amsterdam), 'UTC')); + $this->assertFalse($cron->isDue(new DateTime($date, $tokyo), 'UTC')); + $this->assertFalse($cron->isDue(new DateTime($date, $utc), 'Europe/Amsterdam')); + $this->assertTrue($cron->isDue(new DateTime($date, $amsterdam), 'Europe/Amsterdam')); + $this->assertFalse($cron->isDue(new DateTime($date, $tokyo), 'Europe/Amsterdam')); + $this->assertFalse($cron->isDue(new DateTime($date, $utc), 'Asia/Tokyo')); + $this->assertFalse($cron->isDue(new DateTime($date, $amsterdam), 'Asia/Tokyo')); + $this->assertTrue($cron->isDue(new DateTime($date, $tokyo), 'Asia/Tokyo')); + } + + /** + * @covers Cron\CronExpression::isDue + */ + public function testRecognisesTimezonesAsPartOfDateTime() + { + $cron = CronExpression::factory("0 7 * * *"); + $tzCron = "America/New_York"; + $tzServer = new \DateTimeZone("Europe/London"); + + $dtCurrent = \DateTime::createFromFormat("!Y-m-d H:i:s", "2017-10-17 10:00:00", $tzServer); + $dtPrev = $cron->getPreviousRunDate($dtCurrent, 0, true, $tzCron); + $this->assertEquals('1508151600 : 2017-10-16T07:00:00-04:00 : America/New_York', $dtPrev->format("U \: c \: e")); + + $dtCurrent = \DateTimeImmutable::createFromFormat("!Y-m-d H:i:s", "2017-10-17 10:00:00", $tzServer); + $dtPrev = $cron->getPreviousRunDate($dtCurrent, 0, true, $tzCron); + $this->assertEquals('1508151600 : 2017-10-16T07:00:00-04:00 : America/New_York', $dtPrev->format("U \: c \: e")); + + $dtCurrent = \DateTimeImmutable::createFromFormat("!Y-m-d H:i:s", "2017-10-17 10:00:00", $tzServer); + $dtPrev = $cron->getPreviousRunDate($dtCurrent->format("c"), 0, true, $tzCron); + $this->assertEquals('1508151600 : 2017-10-16T07:00:00-04:00 : America/New_York', $dtPrev->format("U \: c \: e")); + + $dtCurrent = \DateTimeImmutable::createFromFormat("!Y-m-d H:i:s", "2017-10-17 10:00:00", $tzServer); + $dtPrev = $cron->getPreviousRunDate($dtCurrent->format("\@U"), 0, true, $tzCron); + $this->assertEquals('1508151600 : 2017-10-16T07:00:00-04:00 : America/New_York', $dtPrev->format("U \: c \: e")); + + } + + + /** + * @covers \Cron\CronExpression::getPreviousRunDate */ public function testCanGetPreviousRunDates() { @@ -266,7 +349,7 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\CronExpression::getMultipleRunDates + * @covers \Cron\CronExpression::getMultipleRunDates */ public function testProvidesMultipleRunDates() { @@ -280,28 +363,28 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\CronExpression::getMultipleRunDates - * @covers Cron\CronExpression::setMaxIterationCount + * @covers \Cron\CronExpression::getMultipleRunDates + * @covers \Cron\CronExpression::setMaxIterationCount */ public function testProvidesMultipleRunDatesForTheFarFuture() { // Fails with the default 1000 iteration limit - $cron = CronExpression::factory('0 0 12 1 * */2'); + $cron = CronExpression::factory('0 0 12 1 *'); $cron->setMaxIterationCount(2000); $this->assertEquals(array( new DateTime('2016-01-12 00:00:00'), + new DateTime('2017-01-12 00:00:00'), new DateTime('2018-01-12 00:00:00'), + new DateTime('2019-01-12 00:00:00'), new DateTime('2020-01-12 00:00:00'), + new DateTime('2021-01-12 00:00:00'), new DateTime('2022-01-12 00:00:00'), + new DateTime('2023-01-12 00:00:00'), new DateTime('2024-01-12 00:00:00'), - new DateTime('2026-01-12 00:00:00'), - new DateTime('2028-01-12 00:00:00'), - new DateTime('2030-01-12 00:00:00'), - new DateTime('2032-01-12 00:00:00'), ), $cron->getMultipleRunDates(9, '2015-04-28 00:00:00', false, true)); } /** - * @covers Cron\CronExpression + * @covers \Cron\CronExpression */ public function testCanIterateOverNextRuns() { @@ -325,7 +408,7 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\CronExpression::getRunDate + * @covers \Cron\CronExpression::getRunDate */ public function testSkipsCurrentDateByDefault() { @@ -333,33 +416,33 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase $current = new DateTime('now'); $next = $cron->getNextRunDate($current); $nextPrev = $cron->getPreviousRunDate($next); - $this->assertEquals($current->format('Y-m-d H:i:00'), $nextPrev->format('Y-m-d H:i:s')); + $this->assertSame($current->format('Y-m-d H:i:00'), $nextPrev->format('Y-m-d H:i:s')); } /** - * @covers Cron\CronExpression::getRunDate + * @covers \Cron\CronExpression::getRunDate * @ticket 7 */ public function testStripsForSeconds() { $cron = CronExpression::factory('* * * * *'); $current = new DateTime('2011-09-27 10:10:54'); - $this->assertEquals('2011-09-27 10:11:00', $cron->getNextRunDate($current)->format('Y-m-d H:i:s')); + $this->assertSame('2011-09-27 10:11:00', $cron->getNextRunDate($current)->format('Y-m-d H:i:s')); } /** - * @covers Cron\CronExpression::getRunDate + * @covers \Cron\CronExpression::getRunDate */ public function testFixesPhpBugInDateIntervalMonth() { $cron = CronExpression::factory('0 0 27 JAN *'); - $this->assertEquals('2011-01-27 00:00:00', $cron->getPreviousRunDate('2011-08-22 00:00:00')->format('Y-m-d H:i:s')); + $this->assertSame('2011-01-27 00:00:00', $cron->getPreviousRunDate('2011-08-22 00:00:00')->format('Y-m-d H:i:s')); } public function testIssue29() { $cron = CronExpression::factory('@weekly'); - $this->assertEquals( + $this->assertSame( '2013-03-10 00:00:00', $cron->getPreviousRunDate('2013-03-17 00:00:00')->format('Y-m-d H:i:s') ); @@ -386,7 +469,7 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\CronExpression::getRunDate + * @covers \Cron\CronExpression::getRunDate */ public function testKeepOriginalTime() { @@ -394,15 +477,15 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase $strNow = $now->format(DateTime::ISO8601); $cron = CronExpression::factory('0 0 * * *'); $cron->getPreviousRunDate($now); - $this->assertEquals($strNow, $now->format(DateTime::ISO8601)); + $this->assertSame($strNow, $now->format(DateTime::ISO8601)); } /** - * @covers Cron\CronExpression::__construct - * @covers Cron\CronExpression::factory - * @covers Cron\CronExpression::isValidExpression - * @covers Cron\CronExpression::setExpression - * @covers Cron\CronExpression::setPart + * @covers \Cron\CronExpression::__construct + * @covers \Cron\CronExpression::factory + * @covers \Cron\CronExpression::isValidExpression + * @covers \Cron\CronExpression::setExpression + * @covers \Cron\CronExpression::setPart */ public function testValidationWorks() { @@ -410,5 +493,68 @@ class CronExpressionTest extends PHPUnit_Framework_TestCase $this->assertFalse(CronExpression::isValidExpression('* * * 1')); // Valid $this->assertTrue(CronExpression::isValidExpression('* * * * 1')); + + // Issue #156, 13 is an invalid month + $this->assertFalse(CronExpression::isValidExpression("* * * 13 * ")); + + // Issue #155, 90 is an invalid second + $this->assertFalse(CronExpression::isValidExpression('90 * * * *')); + + // Issue #154, 24 is an invalid hour + $this->assertFalse(CronExpression::isValidExpression("0 24 1 12 0")); + + // Issue #125, this is just all sorts of wrong + $this->assertFalse(CronExpression::isValidExpression('990 14 * * mon-fri0345345')); + + // see https://github.com/dragonmantank/cron-expression/issues/5 + $this->assertTrue(CronExpression::isValidExpression('2,17,35,47 5-7,11-13 * * *')); + } + + /** + * Makes sure that 00 is considered a valid value for 0-based fields + * cronie allows numbers with a leading 0, so adding support for this as well + * + * @see https://github.com/dragonmantank/cron-expression/issues/12 + */ + public function testDoubleZeroIsValid() + { + $this->assertTrue(CronExpression::isValidExpression('00 * * * *')); + $this->assertTrue(CronExpression::isValidExpression('01 * * * *')); + $this->assertTrue(CronExpression::isValidExpression('* 00 * * *')); + $this->assertTrue(CronExpression::isValidExpression('* 01 * * *')); + + $e = CronExpression::factory('00 * * * *'); + $this->assertTrue($e->isDue(new DateTime('2014-04-07 00:00:00'))); + $e = CronExpression::factory('01 * * * *'); + $this->assertTrue($e->isDue(new DateTime('2014-04-07 00:01:00'))); + + $e = CronExpression::factory('* 00 * * *'); + $this->assertTrue($e->isDue(new DateTime('2014-04-07 00:00:00'))); + $e = CronExpression::factory('* 01 * * *'); + $this->assertTrue($e->isDue(new DateTime('2014-04-07 01:00:00'))); + } + + + /** + * Ranges with large steps should "wrap around" to the appropriate value + * cronie allows for steps that are larger than the range of a field, with it wrapping around like a ring buffer. We + * should do the same. + * + * @see https://github.com/dragonmantank/cron-expression/issues/6 + */ + public function testRangesWrapAroundWithLargeSteps() + { + $f = new MonthField(); + $this->assertTrue($f->validate('*/123')); + $this->assertSame([4], $f->getRangeForExpression('*/123', 12)); + + $e = CronExpression::factory('* * * */123 *'); + $this->assertTrue($e->isDue(new DateTime('2014-04-07 00:00:00'))); + + $nextRunDate = $e->getNextRunDate(new DateTime('2014-04-07 00:00:00')); + $this->assertSame('2014-04-07 00:01:00', $nextRunDate->format('Y-m-d H:i:s')); + + $nextRunDate = $e->getNextRunDate(new DateTime('2014-05-07 00:00:00')); + $this->assertSame('2015-04-01 00:00:00', $nextRunDate->format('Y-m-d H:i:s')); } } diff --git a/vendor/mtdowling/cron-expression/tests/Cron/DayOfMonthFieldTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/DayOfMonthFieldTest.php similarity index 66% rename from vendor/mtdowling/cron-expression/tests/Cron/DayOfMonthFieldTest.php rename to vendor/dragonmantank/cron-expression/tests/Cron/DayOfMonthFieldTest.php index eff04557..0dae4ed6 100644 --- a/vendor/mtdowling/cron-expression/tests/Cron/DayOfMonthFieldTest.php +++ b/vendor/dragonmantank/cron-expression/tests/Cron/DayOfMonthFieldTest.php @@ -4,27 +4,30 @@ namespace Cron\Tests; use Cron\DayOfMonthField; use DateTime; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * @author Michael Dowling */ -class DayOfMonthFieldTest extends PHPUnit_Framework_TestCase +class DayOfMonthFieldTest extends TestCase { /** - * @covers Cron\DayOfMonthField::validate + * @covers \Cron\DayOfMonthField::validate */ public function testValidatesField() { $f = new DayOfMonthField(); $this->assertTrue($f->validate('1')); $this->assertTrue($f->validate('*')); - $this->assertTrue($f->validate('5W,L')); + $this->assertTrue($f->validate('L')); + $this->assertTrue($f->validate('5W')); + $this->assertTrue($f->validate('01')); + $this->assertFalse($f->validate('5W,L')); $this->assertFalse($f->validate('1.')); } /** - * @covers Cron\DayOfMonthField::isSatisfiedBy + * @covers \Cron\DayOfMonthField::isSatisfiedBy */ public function testChecksIfSatisfied() { @@ -33,18 +36,18 @@ class DayOfMonthFieldTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\DayOfMonthField::increment + * @covers \Cron\DayOfMonthField::increment */ public function testIncrementsDate() { $d = new DateTime('2011-03-15 11:15:00'); $f = new DayOfMonthField(); $f->increment($d); - $this->assertEquals('2011-03-16 00:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-16 00:00:00', $d->format('Y-m-d H:i:s')); $d = new DateTime('2011-03-15 11:15:00'); $f->increment($d, true); - $this->assertEquals('2011-03-14 23:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-14 23:59:00', $d->format('Y-m-d H:i:s')); } /** diff --git a/vendor/mtdowling/cron-expression/tests/Cron/DayOfWeekFieldTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/DayOfWeekFieldTest.php similarity index 72% rename from vendor/mtdowling/cron-expression/tests/Cron/DayOfWeekFieldTest.php rename to vendor/dragonmantank/cron-expression/tests/Cron/DayOfWeekFieldTest.php index 182d5e90..d27c34df 100644 --- a/vendor/mtdowling/cron-expression/tests/Cron/DayOfWeekFieldTest.php +++ b/vendor/dragonmantank/cron-expression/tests/Cron/DayOfWeekFieldTest.php @@ -4,28 +4,30 @@ namespace Cron\Tests; use Cron\DayOfWeekField; use DateTime; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * @author Michael Dowling */ -class DayOfWeekFieldTest extends PHPUnit_Framework_TestCase +class DayOfWeekFieldTest extends TestCase { /** - * @covers Cron\DayOfWeekField::validate + * @covers \Cron\DayOfWeekField::validate */ public function testValidatesField() { $f = new DayOfWeekField(); $this->assertTrue($f->validate('1')); + $this->assertTrue($f->validate('01')); + $this->assertTrue($f->validate('00')); $this->assertTrue($f->validate('*')); - $this->assertTrue($f->validate('*/3,1,1-12')); + $this->assertFalse($f->validate('*/3,1,1-12')); $this->assertTrue($f->validate('SUN-2')); $this->assertFalse($f->validate('1.')); } /** - * @covers Cron\DayOfWeekField::isSatisfiedBy + * @covers \Cron\DayOfWeekField::isSatisfiedBy */ public function testChecksIfSatisfied() { @@ -34,22 +36,22 @@ class DayOfWeekFieldTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\DayOfWeekField::increment + * @covers \Cron\DayOfWeekField::increment */ public function testIncrementsDate() { $d = new DateTime('2011-03-15 11:15:00'); $f = new DayOfWeekField(); $f->increment($d); - $this->assertEquals('2011-03-16 00:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-16 00:00:00', $d->format('Y-m-d H:i:s')); $d = new DateTime('2011-03-15 11:15:00'); $f->increment($d, true); - $this->assertEquals('2011-03-14 23:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-14 23:59:00', $d->format('Y-m-d H:i:s')); } /** - * @covers Cron\DayOfWeekField::isSatisfiedBy + * @covers \Cron\DayOfWeekField::isSatisfiedBy * @expectedException InvalidArgumentException * @expectedExceptionMessage Weekday must be a value between 0 and 7. 12 given */ @@ -60,9 +62,9 @@ class DayOfWeekFieldTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\DayOfWeekField::isSatisfiedBy + * @covers \Cron\DayOfWeekField::isSatisfiedBy * @expectedException InvalidArgumentException - * @expectedExceptionMessage There are never more than 5 of a given weekday in a month + * @expectedExceptionMessage There are never more than 5 or less than 1 of a given weekday in a month */ public function testValidatesHashValueNth() { @@ -71,7 +73,7 @@ class DayOfWeekFieldTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\DayOfWeekField::validate + * @covers \Cron\DayOfWeekField::validate */ public function testValidateWeekendHash() { @@ -87,7 +89,7 @@ class DayOfWeekFieldTest extends PHPUnit_Framework_TestCase } /** - * @covers Cron\DayOfWeekField::isSatisfiedBy + * @covers \Cron\DayOfWeekField::isSatisfiedBy */ public function testHandlesZeroAndSevenDayOfTheWeekValues() { @@ -114,4 +116,14 @@ class DayOfWeekFieldTest extends PHPUnit_Framework_TestCase $this->assertFalse($f->validate('*-')); $this->assertFalse($f->validate(',-')); } + + /** + * @see https://github.com/laravel/framework/commit/07d160ac3cc9764d5b429734ffce4fa311385403 + */ + public function testLiteralsExpandProperly() + { + $f = new DayOfWeekField(); + $this->assertTrue($f->validate('MON-FRI')); + $this->assertSame([1,2,3,4,5], $f->getRangeForExpression('MON-FRI', 7)); + } } diff --git a/vendor/mtdowling/cron-expression/tests/Cron/FieldFactoryTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/FieldFactoryTest.php similarity index 71% rename from vendor/mtdowling/cron-expression/tests/Cron/FieldFactoryTest.php rename to vendor/dragonmantank/cron-expression/tests/Cron/FieldFactoryTest.php index f34cc9b5..a6e66b0e 100644 --- a/vendor/mtdowling/cron-expression/tests/Cron/FieldFactoryTest.php +++ b/vendor/dragonmantank/cron-expression/tests/Cron/FieldFactoryTest.php @@ -3,15 +3,15 @@ namespace Cron\Tests; use Cron\FieldFactory; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * @author Michael Dowling */ -class FieldFactoryTest extends PHPUnit_Framework_TestCase +class FieldFactoryTest extends TestCase { /** - * @covers Cron\FieldFactory::getField + * @covers \Cron\FieldFactory::getField */ public function testRetrievesFieldInstances() { @@ -21,18 +21,17 @@ class FieldFactoryTest extends PHPUnit_Framework_TestCase 2 => 'Cron\DayOfMonthField', 3 => 'Cron\MonthField', 4 => 'Cron\DayOfWeekField', - 5 => 'Cron\YearField' ); $f = new FieldFactory(); foreach ($mappings as $position => $class) { - $this->assertEquals($class, get_class($f->getField($position))); + $this->assertSame($class, get_class($f->getField($position))); } } /** - * @covers Cron\FieldFactory::getField + * @covers \Cron\FieldFactory::getField * @expectedException InvalidArgumentException */ public function testValidatesFieldPosition() diff --git a/vendor/mtdowling/cron-expression/tests/Cron/HoursFieldTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/HoursFieldTest.php similarity index 61% rename from vendor/mtdowling/cron-expression/tests/Cron/HoursFieldTest.php rename to vendor/dragonmantank/cron-expression/tests/Cron/HoursFieldTest.php index d2d8a22a..e936d11a 100644 --- a/vendor/mtdowling/cron-expression/tests/Cron/HoursFieldTest.php +++ b/vendor/dragonmantank/cron-expression/tests/Cron/HoursFieldTest.php @@ -4,41 +4,43 @@ namespace Cron\Tests; use Cron\HoursField; use DateTime; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * @author Michael Dowling */ -class HoursFieldTest extends PHPUnit_Framework_TestCase +class HoursFieldTest extends TestCase { /** - * @covers Cron\HoursField::validate + * @covers \Cron\HoursField::validate */ public function testValidatesField() { $f = new HoursField(); $this->assertTrue($f->validate('1')); + $this->assertTrue($f->validate('00')); + $this->assertTrue($f->validate('01')); $this->assertTrue($f->validate('*')); - $this->assertTrue($f->validate('*/3,1,1-12')); + $this->assertFalse($f->validate('*/3,1,1-12')); } /** - * @covers Cron\HoursField::increment + * @covers \Cron\HoursField::increment */ public function testIncrementsDate() { $d = new DateTime('2011-03-15 11:15:00'); $f = new HoursField(); $f->increment($d); - $this->assertEquals('2011-03-15 12:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-15 12:00:00', $d->format('Y-m-d H:i:s')); $d->setTime(11, 15, 0); $f->increment($d, true); - $this->assertEquals('2011-03-15 10:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-15 10:59:00', $d->format('Y-m-d H:i:s')); } /** - * @covers Cron\HoursField::increment + * @covers \Cron\HoursField::increment */ public function testIncrementsDateWithThirtyMinuteOffsetTimezone() { @@ -47,16 +49,16 @@ class HoursFieldTest extends PHPUnit_Framework_TestCase $d = new DateTime('2011-03-15 11:15:00'); $f = new HoursField(); $f->increment($d); - $this->assertEquals('2011-03-15 12:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-15 12:00:00', $d->format('Y-m-d H:i:s')); $d->setTime(11, 15, 0); $f->increment($d, true); - $this->assertEquals('2011-03-15 10:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-15 10:59:00', $d->format('Y-m-d H:i:s')); date_default_timezone_set($tz); } /** - * @covers Cron\HoursField::increment + * @covers \Cron\HoursField::increment */ public function testIncrementDateWithFifteenMinuteOffsetTimezone() { @@ -65,11 +67,11 @@ class HoursFieldTest extends PHPUnit_Framework_TestCase $d = new DateTime('2011-03-15 11:15:00'); $f = new HoursField(); $f->increment($d); - $this->assertEquals('2011-03-15 12:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-15 12:00:00', $d->format('Y-m-d H:i:s')); $d->setTime(11, 15, 0); $f->increment($d, true); - $this->assertEquals('2011-03-15 10:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-03-15 10:59:00', $d->format('Y-m-d H:i:s')); date_default_timezone_set($tz); } } diff --git a/vendor/dragonmantank/cron-expression/tests/Cron/MinutesFieldTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/MinutesFieldTest.php new file mode 100644 index 00000000..b91bffac --- /dev/null +++ b/vendor/dragonmantank/cron-expression/tests/Cron/MinutesFieldTest.php @@ -0,0 +1,51 @@ + + */ +class MinutesFieldTest extends TestCase +{ + /** + * @covers \Cron\MinutesField::validate + */ + public function testValidatesField() + { + $f = new MinutesField(); + $this->assertTrue($f->validate('1')); + $this->assertTrue($f->validate('*')); + $this->assertFalse($f->validate('*/3,1,1-12')); + } + + /** + * @covers \Cron\MinutesField::increment + */ + public function testIncrementsDate() + { + $d = new DateTime('2011-03-15 11:15:00'); + $f = new MinutesField(); + $f->increment($d); + $this->assertSame('2011-03-15 11:16:00', $d->format('Y-m-d H:i:s')); + $f->increment($d, true); + $this->assertSame('2011-03-15 11:15:00', $d->format('Y-m-d H:i:s')); + } + + /** + * Various bad syntaxes that are reported to work, but shouldn't. + * + * @author Chris Tankersley + * @since 2017-08-18 + */ + public function testBadSyntaxesShouldNotValidate() + { + $f = new MinutesField(); + $this->assertFalse($f->validate('*-1')); + $this->assertFalse($f->validate('1-2-3')); + $this->assertFalse($f->validate('-1')); + } +} diff --git a/vendor/mtdowling/cron-expression/tests/Cron/MonthFieldTest.php b/vendor/dragonmantank/cron-expression/tests/Cron/MonthFieldTest.php similarity index 63% rename from vendor/mtdowling/cron-expression/tests/Cron/MonthFieldTest.php rename to vendor/dragonmantank/cron-expression/tests/Cron/MonthFieldTest.php index 2d9b0ad2..83f0f164 100644 --- a/vendor/mtdowling/cron-expression/tests/Cron/MonthFieldTest.php +++ b/vendor/dragonmantank/cron-expression/tests/Cron/MonthFieldTest.php @@ -4,42 +4,42 @@ namespace Cron\Tests; use Cron\MonthField; use DateTime; -use PHPUnit_Framework_TestCase; +use PHPUnit\Framework\TestCase; /** * @author Michael Dowling */ -class MonthFieldTest extends PHPUnit_Framework_TestCase +class MonthFieldTest extends TestCase { /** - * @covers Cron\MonthField::validate + * @covers \Cron\MonthField::validate */ public function testValidatesField() { $f = new MonthField(); $this->assertTrue($f->validate('12')); $this->assertTrue($f->validate('*')); - $this->assertTrue($f->validate('*/10,2,1-12')); + $this->assertFalse($f->validate('*/10,2,1-12')); $this->assertFalse($f->validate('1.fix-regexp')); } /** - * @covers Cron\MonthField::increment + * @covers \Cron\MonthField::increment */ public function testIncrementsDate() { $d = new DateTime('2011-03-15 11:15:00'); $f = new MonthField(); $f->increment($d); - $this->assertEquals('2011-04-01 00:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-04-01 00:00:00', $d->format('Y-m-d H:i:s')); $d = new DateTime('2011-03-15 11:15:00'); $f->increment($d, true); - $this->assertEquals('2011-02-28 23:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-02-28 23:59:00', $d->format('Y-m-d H:i:s')); } /** - * @covers Cron\MonthField::increment + * @covers \Cron\MonthField::increment */ public function testIncrementsDateWithThirtyMinuteTimezone() { @@ -48,34 +48,34 @@ class MonthFieldTest extends PHPUnit_Framework_TestCase $d = new DateTime('2011-03-31 11:59:59'); $f = new MonthField(); $f->increment($d); - $this->assertEquals('2011-04-01 00:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-04-01 00:00:00', $d->format('Y-m-d H:i:s')); $d = new DateTime('2011-03-15 11:15:00'); $f->increment($d, true); - $this->assertEquals('2011-02-28 23:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2011-02-28 23:59:00', $d->format('Y-m-d H:i:s')); date_default_timezone_set($tz); } /** - * @covers Cron\MonthField::increment + * @covers \Cron\MonthField::increment */ public function testIncrementsYearAsNeeded() { $f = new MonthField(); $d = new DateTime('2011-12-15 00:00:00'); $f->increment($d); - $this->assertEquals('2012-01-01 00:00:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2012-01-01 00:00:00', $d->format('Y-m-d H:i:s')); } /** - * @covers Cron\MonthField::increment + * @covers \Cron\MonthField::increment */ public function testDecrementsYearAsNeeded() { $f = new MonthField(); $d = new DateTime('2011-01-15 00:00:00'); $f->increment($d, true); - $this->assertEquals('2010-12-31 23:59:00', $d->format('Y-m-d H:i:s')); + $this->assertSame('2010-12-31 23:59:00', $d->format('Y-m-d H:i:s')); } } diff --git a/vendor/egulias/email-validator/EmailValidator/Validation/DNSCheckValidation.php b/vendor/egulias/email-validator/EmailValidator/Validation/DNSCheckValidation.php index a03a5874..e5c3e5df 100644 --- a/vendor/egulias/email-validator/EmailValidator/Validation/DNSCheckValidation.php +++ b/vendor/egulias/email-validator/EmailValidator/Validation/DNSCheckValidation.php @@ -18,6 +18,13 @@ class DNSCheckValidation implements EmailValidation * @var InvalidEmail */ private $error; + + public function __construct() + { + if (!extension_loaded('intl')) { + throw new \LogicException(sprintf('The %s class requires the Intl extension.', __CLASS__)); + } + } public function isValid($email, EmailLexer $emailLexer) { @@ -44,7 +51,11 @@ class DNSCheckValidation implements EmailValidation protected function checkDNS($host) { - $host = rtrim(idn_to_ascii($host, IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46), '.') . '.'; + $variant = INTL_IDNA_VARIANT_2003; + if ( defined('INTL_IDNA_VARIANT_UTS46') ) { + $variant = INTL_IDNA_VARIANT_UTS46; + } + $host = rtrim(idn_to_ascii($host, IDNA_DEFAULT, $variant), '.') . '.'; $Aresult = true; $MXresult = checkdnsrr($host, 'MX'); diff --git a/vendor/egulias/email-validator/EmailValidator/Validation/SpoofCheckValidation.php b/vendor/egulias/email-validator/EmailValidator/Validation/SpoofCheckValidation.php index fe712f08..4721f0d8 100644 --- a/vendor/egulias/email-validator/EmailValidator/Validation/SpoofCheckValidation.php +++ b/vendor/egulias/email-validator/EmailValidator/Validation/SpoofCheckValidation.php @@ -16,7 +16,7 @@ class SpoofCheckValidation implements EmailValidation public function __construct() { - if (!class_exists(Spoofchecker::class)) { + if (!extension_loaded('intl')) { throw new \LogicException(sprintf('The %s class requires the Intl extension.', __CLASS__)); } } diff --git a/vendor/egulias/email-validator/README.md b/vendor/egulias/email-validator/README.md index 67bb69ab..8fcd2a6f 100644 --- a/vendor/egulias/email-validator/README.md +++ b/vendor/egulias/email-validator/README.md @@ -6,7 +6,7 @@ With the help of [PHPStorm](https://www.jetbrains.com/phpstorm/) ## Requirements ## * [Composer](https://getcomposer.org) is required for installation - * [Spoofchecking](https://github.com/egulias/EmailValidator/blob/master/EmailValidator/Validation/SpoofCheckValidation.php) validation requires that your PHP system have the [PHP Internationalization Libraries](https://php.net/manual/en/book.intl.php) (also known as PHP Intl) + * [Spoofchecking](https://github.com/egulias/EmailValidator/blob/master/EmailValidator/Validation/SpoofCheckValidation.php) and [DNSCheckValidation](https://github.com/egulias/EmailValidator/blob/master/EmailValidator/Validation/DNSCheckValidation.php) validation requires that your PHP system have the [PHP Internationalization Libraries](https://php.net/manual/en/book.intl.php) (also known as PHP Intl) ## Installation ## diff --git a/vendor/egulias/email-validator/composer.json b/vendor/egulias/email-validator/composer.json index 7cc836f0..5423e9f0 100644 --- a/vendor/egulias/email-validator/composer.json +++ b/vendor/egulias/email-validator/composer.json @@ -35,5 +35,10 @@ "psr-4": { "Egulias\\EmailValidator\\": "EmailValidator" } + }, + "autoload-dev": { + "psr-4": { + "Egulias\\Tests\\": "test" + } } } diff --git a/vendor/fideloper/proxy/composer.json b/vendor/fideloper/proxy/composer.json index 8594e3fc..136877d9 100755 --- a/vendor/fideloper/proxy/composer.json +++ b/vendor/fideloper/proxy/composer.json @@ -14,9 +14,9 @@ "illuminate/contracts": "~5.0" }, "require-dev": { - "illuminate/http": "~5.0", - "mockery/mockery": "~0.9.3", - "phpunit/phpunit": "^5.7" + "illuminate/http": "~5.6", + "mockery/mockery": "~1.0", + "phpunit/phpunit": "^6.0" }, "autoload": { "psr-4": { @@ -24,9 +24,6 @@ } }, "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - }, "laravel": { "providers": [ "Fideloper\\Proxy\\TrustedProxyServiceProvider" diff --git a/vendor/fideloper/proxy/config/trustedproxy.php b/vendor/fideloper/proxy/config/trustedproxy.php index fab11a0e..acda8d51 100644 --- a/vendor/fideloper/proxy/config/trustedproxy.php +++ b/vendor/fideloper/proxy/config/trustedproxy.php @@ -12,60 +12,34 @@ return [ * within TrustedProxy to trust any proxy * that connects directly to your server, * a requirement when you cannot know the address - * of your proxy (e.g. if using Rackspace balancers). + * of your proxy (e.g. if using ELB or similar). * - * The "**" character is syntactic sugar within - * TrustedProxy to trust not just any proxy that - * connects directly to your server, but also - * proxies that connect to those proxies, and all - * the way back until you reach the original source - * IP. It will mean that $request->getClientIp() - * always gets the originating client IP, no matter - * how many proxies that client's request has - * subsequently passed through. */ - 'proxies' => [ - '192.168.1.10', - ], + 'proxies' => null, // [,], '*' + + /* + * To trust one or more specific proxies that connect + * directly to your server, use an array of IP addresses: + */ + # 'proxies' => ['192.168.1.1'], /* * Or, to trust all proxies that connect - * directly to your server, uncomment this: + * directly to your server, use a "*" */ # 'proxies' => '*', /* - * Or, to trust ALL proxies, including those that - * are in a chain of forwarding, uncomment this: - */ - # 'proxies' => '**', - - /* - * Default Header Names - * - * Change these if the proxy does - * not send the default header names. - * - * Note that headers such as X-Forwarded-For - * are transformed to HTTP_X_FORWARDED_FOR format. - * - * The following are Symfony defaults, found in - * \Symfony\Component\HttpFoundation\Request::$trustedHeaders - * - * You may optionally set headers to 'null' here if you'd like - * for them to be considered untrusted instead. Ex: - * - * Illuminate\Http\Request::HEADER_CLIENT_HOST => null, + * Which headers to use to detect proxy related data (For, Host, Proto, Port) * - * WARNING: If you're using AWS Elastic Load Balancing or Heroku, - * the FORWARDED and X_FORWARDED_HOST headers should be set to null - * as they are currently unsupported there. + * Options include: + * + * - Illuminate\Http\Request::HEADER_X_FORWARDED_ALL (use all x-forwarded-* headers to establish trust) + * - Illuminate\Http\Request::HEADER_FORWARDED (use the FORWARDED header to establish trust) + * + * @link https://symfony.com/doc/current/deployment/proxies.html */ - 'headers' => [ - (defined('Illuminate\Http\Request::HEADER_FORWARDED') ? Illuminate\Http\Request::HEADER_FORWARDED : 'forwarded') => 'FORWARDED', - Illuminate\Http\Request::HEADER_CLIENT_IP => 'X_FORWARDED_FOR', - Illuminate\Http\Request::HEADER_CLIENT_HOST => 'X_FORWARDED_HOST', - Illuminate\Http\Request::HEADER_CLIENT_PROTO => 'X_FORWARDED_PROTO', - Illuminate\Http\Request::HEADER_CLIENT_PORT => 'X_FORWARDED_PORT', - ] + 'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL, + + ]; diff --git a/vendor/fideloper/proxy/src/TrustProxies.php b/vendor/fideloper/proxy/src/TrustProxies.php index edd7d7c1..cf6f5d50 100644 --- a/vendor/fideloper/proxy/src/TrustProxies.php +++ b/vendor/fideloper/proxy/src/TrustProxies.php @@ -3,6 +3,7 @@ namespace Fideloper\Proxy; use Closure; +use Illuminate\Http\Request; use Illuminate\Contracts\Config\Repository; class TrustProxies @@ -48,9 +49,9 @@ class TrustProxies * * @return mixed */ - public function handle($request, Closure $next) + public function handle(Request $request, Closure $next) { - $this->setTrustedProxyHeaderNames($request); + $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests $this->setTrustedProxyIpAddresses($request); return $next($request); @@ -61,88 +62,45 @@ class TrustProxies * * @param \Illuminate\Http\Request $request */ - protected function setTrustedProxyIpAddresses($request) + protected function setTrustedProxyIpAddresses(Request $request) { $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies'); - // We only trust specific IP addresses + // Only trust specific IP addresses if (is_array($trustedIps)) { return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps); } - // We trust any IP address that calls us, but not proxies further - // up the forwarding chain. - // TODO: Determine if this should only trust the first IP address - // Currently it trusts the entire chain (array of IPs), - // potentially making the "**" convention redundant. - if ($trustedIps === '*') { + // Trust any IP address that calls us + // `**` for backwards compatibility, but is depreciated + if ($trustedIps === '*' || $trustedIps === '**') { return $this->setTrustedProxyIpAddressesToTheCallingIp($request); } - - // We trust all proxies. Those that call us, and those that are - // further up the calling chain (e.g., where the X-FORWARDED-FOR - // header has multiple IP addresses listed); - if ($trustedIps === '**') { - return $this->setTrustedProxyIpAddressesToAllIps($request); - } } /** - * We specify the IP addresses to trust explicitly. + * Specify the IP addresses to trust explicitly. * * @param \Illuminate\Http\Request $request * @param array $trustedIps */ - private function setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps) + private function setTrustedProxyIpAddressesToSpecificIps(Request $request, $trustedIps) { - $request->setTrustedProxies((array) $trustedIps, $this->getTrustedHeaderSet()); + $request->setTrustedProxies((array) $trustedIps, $this->getTrustedHeaderNames()); } /** - * We set the trusted proxy to be the first IP addresses received. + * Set the trusted proxy to be the IP address calling this servers * * @param \Illuminate\Http\Request $request */ - private function setTrustedProxyIpAddressesToTheCallingIp($request) + private function setTrustedProxyIpAddressesToTheCallingIp(Request $request) { - $request->setTrustedProxies($request->getClientIps(), $this->getTrustedHeaderSet()); + $request->setTrustedProxies([$request->server->get('REMOTE_ADDR')], $this->getTrustedHeaderNames()); } /** - * Trust all IP Addresses. - * - * @param \Illuminate\Http\Request $request - */ - private function setTrustedProxyIpAddressesToAllIps($request) - { - // 0.0.0.0/0 is the CIDR for all ipv4 addresses - // 2000:0:0:0:0:0:0:0/3 is the CIDR for all ipv6 addresses currently - // allocated http://www.iana.org/assignments/ipv6-unicast-address-assignments/ipv6-unicast-address-assignments.xhtml - $request->setTrustedProxies(['0.0.0.0/0', '2000:0:0:0:0:0:0:0/3'], $this->getTrustedHeaderSet()); - } - - /** - * Set the trusted header names based on the content of trustedproxy.headers. - * - * Note: Depreciated in Symfony 3.3+, but available for backwards compatibility. - * - * @depreciated - * - * @param \Illuminate\Http\Request $request - */ - protected function setTrustedProxyHeaderNames($request) - { - $trustedHeaderNames = $this->getTrustedHeaderNames(); - - if(!is_array($trustedHeaderNames)) { return; } // Leave the defaults - - foreach ($trustedHeaderNames as $headerKey => $headerName) { - $request->setTrustedHeaderName($headerKey, $headerName); - } - } - - /** - * Retrieve trusted header names, falling back to defaults if config not set. + * Retrieve trusted header name(s), falling back to defaults if config not set. * * @return array */ @@ -150,32 +108,4 @@ class TrustProxies { return $this->headers ?: $this->config->get('trustedproxy.headers'); } - - /** - * Construct bit field integer of the header set that setTrustedProxies() expects. - * - * @return int - */ - protected function getTrustedHeaderSet() - { - $trustedHeaderNames = $this->getTrustedHeaderNames(); - $headerKeys = array_keys($this->getTrustedHeaderNames()); - - return array_reduce($headerKeys, function ($set, $key) use ($trustedHeaderNames) { - // PHP 7+ gives a warning if non-numeric value is used - // resulting in a thrown ErrorException within Laravel - // This error occurs with Symfony < 3.3, PHP7+ - if(! is_numeric($key)) { - return $set; - } - - // If the header value is null, it is a distrusted header, - // so we will ignore it and move on. - if (is_null($trustedHeaderNames[$key])) { - return $set; - } - - return $set | $key; - }, 0); - } } diff --git a/vendor/fideloper/proxy/src/TrustedProxyServiceProvider.php b/vendor/fideloper/proxy/src/TrustedProxyServiceProvider.php index dc299e32..26f2631a 100644 --- a/vendor/fideloper/proxy/src/TrustedProxyServiceProvider.php +++ b/vendor/fideloper/proxy/src/TrustedProxyServiceProvider.php @@ -15,7 +15,7 @@ class TrustedProxyServiceProvider extends ServiceProvider */ public function boot() { - $source = realpath(__DIR__.'/../config/trustedproxy.php'); + $source = realpath($raw = __DIR__.'/../config/trustedproxy.php') ?: $raw; if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) { $this->publishes([$source => config_path('trustedproxy.php')]); @@ -23,7 +23,10 @@ class TrustedProxyServiceProvider extends ServiceProvider $this->app->configure('trustedproxy'); } - $this->mergeConfigFrom($source, 'trustedproxy'); + + if ($this->app instanceof LaravelApplication && ! $this->app->configurationIsCached()) { + $this->mergeConfigFrom($source, 'trustedproxy'); + } } /** diff --git a/vendor/filp/whoops/CHANGELOG.md b/vendor/filp/whoops/CHANGELOG.md index 4bbd620b..d7693f0f 100644 --- a/vendor/filp/whoops/CHANGELOG.md +++ b/vendor/filp/whoops/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.2.0 + +* Support PHP 7.2 + # 2.1.0 * Add a `SystemFacade` to allow clients to override Whoops behavior. diff --git a/vendor/filp/whoops/composer.json b/vendor/filp/whoops/composer.json index 7b2c3a6e..51ab373f 100644 --- a/vendor/filp/whoops/composer.json +++ b/vendor/filp/whoops/composer.json @@ -36,7 +36,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.2-dev" } } } diff --git a/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php b/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php index 08197b4d..99ebe2bc 100644 --- a/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php +++ b/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php @@ -507,6 +507,10 @@ class PrettyPageHandler extends Handler $callback = call_user_func($this->editors[$this->editor], $filePath, $line); } + if (empty($callback)) { + return []; + } + if (is_string($callback)) { return [ 'ajax' => false, diff --git a/vendor/fzaninotto/faker/.travis.yml b/vendor/fzaninotto/faker/.travis.yml index 7d19fa75..a719ba81 100644 --- a/vendor/fzaninotto/faker/.travis.yml +++ b/vendor/fzaninotto/faker/.travis.yml @@ -9,6 +9,7 @@ php: - 5.6 - 7.0 - 7.1 + - 7.2 - nightly sudo: false diff --git a/vendor/fzaninotto/faker/CHANGELOG.md b/vendor/fzaninotto/faker/CHANGELOG.md index 611470f3..df218b00 100644 --- a/vendor/fzaninotto/faker/CHANGELOG.md +++ b/vendor/fzaninotto/faker/CHANGELOG.md @@ -1,6 +1,86 @@ CHANGELOG ========= +2018-07-12, v1.8.0 +------------------ + +- Typo in readme [\#1521](https://github.com/fzaninotto/Faker/pull/1521) ([jmhobbs](https://github.com/jmhobbs)) +- Replaced Hilll with Hill [\#1516](https://github.com/fzaninotto/Faker/pull/1516) ([MarkVaughn](https://github.com/MarkVaughn)) +- \[it\_IT\] Improve vat ID generated using official rules [\#1508](https://github.com/fzaninotto/Faker/pull/1508) ([mavimo](https://github.com/mavimo)) +- \[hu\_HU\] Address: Fix unnecessary new line in string [\#1507](https://github.com/fzaninotto/Faker/pull/1507) ([ntomka](https://github.com/ntomka)) +- add phone numer format [\#1506](https://github.com/fzaninotto/Faker/pull/1506) ([Enosh-Yu](https://github.com/Enosh-Yu)) +- Fix typo in fr\_CA Provider [\#1505](https://github.com/fzaninotto/Faker/pull/1505) ([ultreson](https://github.com/ultreson)) +- Add fake-car provider link [\#1497](https://github.com/fzaninotto/Faker/pull/1497) ([pelmered](https://github.com/pelmered)) +- create `passthrough` function [\#1493](https://github.com/fzaninotto/Faker/pull/1493) ([browner12](https://github.com/browner12)) +- update Polish bank list [\#1482](https://github.com/fzaninotto/Faker/pull/1482) ([IonBazan](https://github.com/IonBazan)) +- Update the parameters to check if the setter is callable [\#1470](https://github.com/fzaninotto/Faker/pull/1470) ([rossmitchell](https://github.com/rossmitchell)) +- Push the max date far into the future so the test can pass [\#1469](https://github.com/fzaninotto/Faker/pull/1469) ([rossmitchell](https://github.com/rossmitchell)) +- Update Address.php [\#1465](https://github.com/fzaninotto/Faker/pull/1465) ([Saibamen](https://github.com/Saibamen)) +- Turkish identity number for tr\_TR [\#1462](https://github.com/fzaninotto/Faker/pull/1462) ([aykutaras](https://github.com/aykutaras)) +- Fixing rare iin with 13-digits. [\#1450](https://github.com/fzaninotto/Faker/pull/1450) ([vadimonus](https://github.com/vadimonus)) +- Fix Polish PESEL faker [\#1449](https://github.com/fzaninotto/Faker/pull/1449) ([Dartui](https://github.com/Dartui)) +- Adds valid 08 number formats for fr\_FR [\#1439](https://github.com/fzaninotto/Faker/pull/1439) ([ppelgrims](https://github.com/ppelgrims)) +- Add YouTube provider link [\#1422](https://github.com/fzaninotto/Faker/pull/1422) ([aalaap](https://github.com/aalaap)) +- Update PHPDoc of the DateTime provider. [\#1419](https://github.com/fzaninotto/Faker/pull/1419) ([tomzx](https://github.com/tomzx)) +- Normalize name of variable [\#1412](https://github.com/fzaninotto/Faker/pull/1412) ([eaglewu](https://github.com/eaglewu)) +- Added "blockchain" to en-us company provider catchPhrase method [\#1411](https://github.com/fzaninotto/Faker/pull/1411) ([samoldenburg](https://github.com/samoldenburg)) +- Fix for Spot2 ORM EntityPopulator [\#1408](https://github.com/fzaninotto/Faker/pull/1408) ([michal-borek](https://github.com/michal-borek)) +- TH color name [\#1404](https://github.com/fzaninotto/Faker/pull/1404) ([Naruedom](https://github.com/Naruedom)) +- added Malaysia \[ms\_MY\] locale [\#1403](https://github.com/fzaninotto/Faker/pull/1403) ([kenfai](https://github.com/kenfai)) +- Implementation of the function that generates Brazilian area codes fixed. [\#1401](https://github.com/fzaninotto/Faker/pull/1401) ([jackmiras](https://github.com/jackmiras)) +- VISA retired the 13 digit PAN moved to new cardParams [\#1400](https://github.com/fzaninotto/Faker/pull/1400) ([hppycoder](https://github.com/hppycoder)) +- Remove unused variable inside closure [\#1395](https://github.com/fzaninotto/Faker/pull/1395) ([carusogabriel](https://github.com/carusogabriel)) +- .nz domain updates [\#1393](https://github.com/fzaninotto/Faker/pull/1393) ([xurizaemon](https://github.com/xurizaemon)) +- Add licenceCode method in the to es\_ES person provider [\#1392](https://github.com/fzaninotto/Faker/pull/1392) ([ffiguereo](https://github.com/ffiguereo)) +- allow `randomElements` to accept a Traversable object [\#1389](https://github.com/fzaninotto/Faker/pull/1389) ([browner12](https://github.com/browner12)) +- Doc: rg remove formatting [\#1387](https://github.com/fzaninotto/Faker/pull/1387) ([emtudo](https://github.com/emtudo)) +- Add numbers with start 4 [\#1386](https://github.com/fzaninotto/Faker/pull/1386) ([emtudo](https://github.com/emtudo)) +- update th\_TH mobile number format [\#1385](https://github.com/fzaninotto/Faker/pull/1385) ([earthpyy](https://github.com/earthpyy)) +- Translate country names for lv\_LV provider. [\#1383](https://github.com/fzaninotto/Faker/pull/1383) ([ronaldsgailis](https://github.com/ronaldsgailis)) +- Clean elses [\#1382](https://github.com/fzaninotto/Faker/pull/1382) ([carusogabriel](https://github.com/carusogabriel)) +- French vat formatter [\#1381](https://github.com/fzaninotto/Faker/pull/1381) ([ppelgrims](https://github.com/ppelgrims)) +- Replaces rtrim with preg\_replace [\#1380](https://github.com/fzaninotto/Faker/pull/1380) ([ppelgrims](https://github.com/ppelgrims)) +- Refactoring tests [\#1375](https://github.com/fzaninotto/Faker/pull/1375) ([carusogabriel](https://github.com/carusogabriel)) +- Added link in readme to provider FakerRestaurant [\#1374](https://github.com/fzaninotto/Faker/pull/1374) ([jzonta](https://github.com/jzonta)) +- Remove obsolete currency codes [\#1373](https://github.com/fzaninotto/Faker/pull/1373) ([tpraxl](https://github.com/tpraxl)) +- \[ru\_RU\] Updated countries and added source link [\#1372](https://github.com/fzaninotto/Faker/pull/1372) ([ilyahoilik](https://github.com/ilyahoilik)) +- Test against PHP 7.2 [\#1371](https://github.com/fzaninotto/Faker/pull/1371) ([carusogabriel](https://github.com/carusogabriel)) +- Feature: nl\_BE text provider [\#1370](https://github.com/fzaninotto/Faker/pull/1370) ([rauwebieten](https://github.com/rauwebieten)) +- default value for Payment::iban\(\) country code [\#1369](https://github.com/fzaninotto/Faker/pull/1369) ([madmanmax](https://github.com/madmanmax)) +- skip test failing on bigendian [\#1365](https://github.com/fzaninotto/Faker/pull/1365) ([remicollet](https://github.com/remicollet)) +- Update Person.php [\#1364](https://github.com/fzaninotto/Faker/pull/1364) ([majamusan](https://github.com/majamusan)) +- Prevent errors on private methods [\#1363](https://github.com/fzaninotto/Faker/pull/1363) ([petecoop](https://github.com/petecoop)) +- adds rijksregisternummer [\#1361](https://github.com/fzaninotto/Faker/pull/1361) ([ppelgrims](https://github.com/ppelgrims)) +- Add secondary address to fr\_FR provider [\#1356](https://github.com/fzaninotto/Faker/pull/1356) ([nicodmf](https://github.com/nicodmf)) +- Add company provider for tr\_TR [\#1355](https://github.com/fzaninotto/Faker/pull/1355) ([yuks](https://github.com/yuks)) +- nb\_NO provider updates [\#1350](https://github.com/fzaninotto/Faker/pull/1350) ([alexqhj](https://github.com/alexqhj)) +- only test available date range on 32-bit [\#1348](https://github.com/fzaninotto/Faker/pull/1348) ([remicollet](https://github.com/remicollet)) +- Bump PHPUnit version for namespace compatibility [\#1345](https://github.com/fzaninotto/Faker/pull/1345) ([carusogabriel](https://github.com/carusogabriel)) +- Use PSR-1 for PHPUnit TestCase [\#1344](https://github.com/fzaninotto/Faker/pull/1344) ([carusogabriel](https://github.com/carusogabriel)) +- Fix FR\_fr 07 prefix mobile number generation [\#1343](https://github.com/fzaninotto/Faker/pull/1343) ([svanpoeck](https://github.com/svanpoeck)) +- Update Text.php [\#1339](https://github.com/fzaninotto/Faker/pull/1339) ([gulaandrij](https://github.com/gulaandrij)) +- Add two new company type in the Swiss Provider [\#1336](https://github.com/fzaninotto/Faker/pull/1336) ([pvullioud](https://github.com/pvullioud)) +- Change symbol 'minus' with code 226 to 'minus' with code 45 [\#1333](https://github.com/fzaninotto/Faker/pull/1333) ([Negasus](https://github.com/Negasus)) +- \[sl\_SI\] Created provider for Company [\#1331](https://github.com/fzaninotto/Faker/pull/1331) ([alesvaupotic](https://github.com/alesvaupotic)) +- Update city name [\#1328](https://github.com/fzaninotto/Faker/pull/1328) ([s9801077](https://github.com/s9801077)) +- Fix \#1305 realText in some cases breaks last character [\#1326](https://github.com/fzaninotto/Faker/pull/1326) ([iamraccoon](https://github.com/iamraccoon)) +- Real Dutch postal codes [\#1323](https://github.com/fzaninotto/Faker/pull/1323) ([ametad](https://github.com/ametad)) +- Added male and female titles for the en\_ZA locale [\#1321](https://github.com/fzaninotto/Faker/pull/1321) ([ViGouRCanberra](https://github.com/ViGouRCanberra)) +- Add German Email Providers [\#1320](https://github.com/fzaninotto/Faker/pull/1320) ([Stoffo](https://github.com/Stoffo)) +- Fix "Resource temporarily unavailable" [\#1319](https://github.com/fzaninotto/Faker/pull/1319) ([eberkund](https://github.com/eberkund)) +- Introduced the ability to specify a default timezone... [\#1316](https://github.com/fzaninotto/Faker/pull/1316) ([telkins](https://github.com/telkins)) +- South African licence codes [\#1315](https://github.com/fzaninotto/Faker/pull/1315) ([royalmitten](https://github.com/royalmitten)) +- Fix with incorrect name city. [\#1309](https://github.com/fzaninotto/Faker/pull/1309) ([zzenmate](https://github.com/zzenmate)) +- Fixed type-o in readme under section about Language specific formatters [\#1302](https://github.com/fzaninotto/Faker/pull/1302) ([espenkn](https://github.com/espenkn)) +- Update Person.php [\#1298](https://github.com/fzaninotto/Faker/pull/1298) ([yappkahowe](https://github.com/yappkahowe)) +- Allow children classes to access self::$suffix [\#1296](https://github.com/fzaninotto/Faker/pull/1296) ([greg0ire](https://github.com/greg0ire)) +- Fix with namespace payment provider for uk\_UA [\#1293](https://github.com/fzaninotto/Faker/pull/1293) ([zzenmate](https://github.com/zzenmate)) +- Update zh\_TW text provider [\#1292](https://github.com/fzaninotto/Faker/pull/1292) ([s9801077](https://github.com/s9801077)) +- Fix CURL status code in ImageTest.php [\#1290](https://github.com/fzaninotto/Faker/pull/1290) ([Sanfra1407](https://github.com/Sanfra1407)) +- Tax Id for companies and new formats for es\_VE [\#1287](https://github.com/fzaninotto/Faker/pull/1287) ([DIOHz0r](https://github.com/DIOHz0r)) +- Added idNumber for nl\_NL [\#1283](https://github.com/fzaninotto/Faker/pull/1283) ([artorozenga](https://github.com/artorozenga)) +- Feature/en us company ein [\#1273](https://github.com/fzaninotto/Faker/pull/1273) ([zachflower](https://github.com/zachflower)) + 2017-08-15, v1.7.0 ------------------ diff --git a/vendor/fzaninotto/faker/composer.json b/vendor/fzaninotto/faker/composer.json index d3bfd6c6..e52016ee 100644 --- a/vendor/fzaninotto/faker/composer.json +++ b/vendor/fzaninotto/faker/composer.json @@ -13,7 +13,7 @@ "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0", + "phpunit/phpunit": "^4.8.35 || ^5.7", "squizlabs/php_codesniffer": "^1.5", "ext-intl": "*" }, diff --git a/vendor/fzaninotto/faker/readme.md b/vendor/fzaninotto/faker/readme.md index 6e75ce77..c3754901 100644 --- a/vendor/fzaninotto/faker/readme.md +++ b/vendor/fzaninotto/faker/readme.md @@ -180,17 +180,17 @@ Each of the generator properties (like `name`, `address`, and `lorem`) are calle ### `Faker\Provider\DateTime` unixTime($max = 'now') // 58781813 - dateTime($max = 'now', $timezone = date_default_timezone_get()) // DateTime('2008-04-25 08:37:17', 'UTC') - dateTimeAD($max = 'now', $timezone = date_default_timezone_get()) // DateTime('1800-04-29 20:38:49', 'Europe/Paris') + dateTime($max = 'now', $timezone = null) // DateTime('2008-04-25 08:37:17', 'UTC') + dateTimeAD($max = 'now', $timezone = null) // DateTime('1800-04-29 20:38:49', 'Europe/Paris') iso8601($max = 'now') // '1978-12-09T10:10:29+0000' date($format = 'Y-m-d', $max = 'now') // '1979-06-09' time($format = 'H:i:s', $max = 'now') // '20:49:42' - dateTimeBetween($startDate = '-30 years', $endDate = 'now', $timezone = date_default_timezone_get()) // DateTime('2003-03-15 02:00:49', 'Africa/Lagos') - dateTimeInInterval($startDate = '-30 years', $interval = '+ 5 days', $timezone = date_default_timezone_get()) // DateTime('2003-03-15 02:00:49', 'Antartica/Vostok') - dateTimeThisCentury($max = 'now', $timezone = date_default_timezone_get()) // DateTime('1915-05-30 19:28:21', 'UTC') - dateTimeThisDecade($max = 'now', $timezone = date_default_timezone_get()) // DateTime('2007-05-29 22:30:48', 'Europe/Paris') - dateTimeThisYear($max = 'now', $timezone = date_default_timezone_get()) // DateTime('2011-02-27 20:52:14', 'Africa/Lagos') - dateTimeThisMonth($max = 'now', $timezone = date_default_timezone_get()) // DateTime('2011-10-23 13:46:23', 'Antarctica/Vostok') + dateTimeBetween($startDate = '-30 years', $endDate = 'now', $timezone = null) // DateTime('2003-03-15 02:00:49', 'Africa/Lagos') + dateTimeInInterval($startDate = '-30 years', $interval = '+ 5 days', $timezone = null) // DateTime('2003-03-15 02:00:49', 'Antartica/Vostok') + dateTimeThisCentury($max = 'now', $timezone = null) // DateTime('1915-05-30 19:28:21', 'UTC') + dateTimeThisDecade($max = 'now', $timezone = null) // DateTime('2007-05-29 22:30:48', 'Europe/Paris') + dateTimeThisYear($max = 'now', $timezone = null) // DateTime('2011-02-27 20:52:14', 'Africa/Lagos') + dateTimeThisMonth($max = 'now', $timezone = null) // DateTime('2011-10-23 13:46:23', 'Antarctica/Vostok') amPm($max = 'now') // 'pm' dayOfMonth($max = 'now') // '04' dayOfWeek($max = 'now') // 'Friday' @@ -200,6 +200,8 @@ Each of the generator properties (like `name`, `address`, and `lorem`) are calle century // 'VI' timezone // 'Europe/Paris' +Methods accepting a `$timezone` argument default to `date_default_timezone_get()`. You can pass a custom timezone string to each method, or define a custom timezone for all time methods at once using `$faker::setDefaultTimezone($timezone)`. + ### `Faker\Provider\Internet` email // 'tkshlerin@collins.com' @@ -369,6 +371,12 @@ try { } ``` +If you would like to use a modifier with a value not generated by Faker, use the `passthrough()` method. `passthrough()` simply returns whatever value it was given. + +```php +$faker->optional()->passthrough(mt_rand(5, 15)); +``` + ## Localization `Faker\Factory` can take a locale as an argument, to return localized data. If no localized provider is found, the factory fallbacks to the default locale (en_US). @@ -926,6 +934,15 @@ echo $faker->tollFreeNumber; // "0800 123 456" echo $faker->areaCode; // "03" ``` +### `Faker\Provider\en_US\Company` + +```php +ein; // '12-3456789' +``` + ### `Faker\Provider\en_US\Payment` ```php @@ -960,6 +977,9 @@ echo $faker->companyNumber; // 1999/789634/01 // Generates a random national identification number echo $faker->idNumber; // 6606192211041 + +// Generates a random valid licence code +echo $faker->licenceCode; // EB ``` ### `Faker\Provider\en_ZA\PhoneNumber` @@ -981,6 +1001,9 @@ echo $faker->mobileNumber; // 082 123 5555 // Generates a Documento Nacional de Identidad (DNI) number echo $faker->dni; // '77446565E' + +// Generates a random valid licence code +echo $faker->licenceCode; // B ``` ### `Faker\Provider\es_ES\Payment` @@ -1051,6 +1074,24 @@ echo $faker->vat; // "BE 0123456789" - Belgian Value Added Tax number echo $faker->vat(false); // "BE0123456789" - unspaced Belgian Value Added Tax number ``` +### `Faker\Provider\es_VE\Person` + +```php +nationalId; // 'V11223344' +``` + +### `Faker\Provider\es_VE\Company` + +```php +taxpayerIdentificationNumber; // 'J1234567891' +``` + ### `Faker\Provider\fr_FR\Address` ```php @@ -1067,6 +1108,9 @@ $faker->department; // array('18' => 'Cher'); // Generates a random region echo $faker->region; // "Saint-Pierre-et-Miquelon" + +// Generates a random appartement,stair +echo $faker->secondaryAddress; // "Bat. 961" ``` ### `Faker\Provider\fr_FR\Company` @@ -1099,6 +1143,18 @@ echo $faker->vat; // FR 12 123 456 789 echo $faker->nir; // 1 88 07 35 127 571 - 19 ``` +### `Faker\Provider\fr_FR\PhoneNumber` + +```php +phoneNumber; // +33 (0)1 67 97 01 31 +echo $faker->mobileNumber; // +33 6 21 12 72 84 +echo $faker->serviceNumber // 08 98 04 84 46 +``` + + ### `Faker\Provider\he_IL\Payment` ```php @@ -1229,6 +1285,18 @@ echo $faker->metropolitanCity; // "서울특별시" echo $faker->borough; // "강남구" ``` +### `Faker\Provider\ko_KR\PhoneNumber` + +```php +localAreaPhoneNumber; // "02-1234-4567" + +// Generates a cell phone number +echo $faker->cellPhoneNumber; // "010-9876-5432" +``` + ### `Faker\Provider\lt_LT\Payment` ```php @@ -1246,6 +1314,69 @@ echo $faker->bankAccountNumber // "LT300848876740317118" echo $faker->personalIdentityNumber; // "140190-12301" ``` +### `Faker\Provider\ms_MY\Address` + +```php +township; // "Taman Bahagia" + +// Generates a random Malaysian town address with matching postcode and state +echo $faker->townState; // "55100 Bukit Bintang, Kuala Lumpur" +``` + +### `Faker\Provider\ms_MY\Miscellaneous` + +```php +jpjNumberPlate; // "WPL 5169" +``` + +### `Faker\Provider\ms_MY\Payment` + +```php +bank; // "Maybank" + +// Generates a random Malaysian bank account number (10-16 digits) +echo $faker->bankAccountNumber; // "1234567890123456" + +// Generates a random Malaysian insurance company +echo $faker->insurance; // "AIA Malaysia" + +// Generates a random Malaysian bank SWIFT Code +echo $faker->swiftCode; // "MBBEMYKLXXX" +``` + +### `Faker\Provider\ms_MY\Person` + +```php +myKadNumber($gender = null|'male'|'female', $hyphen = null|true|false); // "710703471796" +``` + +### `Faker\Provider\ms_MY\PhoneNumber` + +```php +mobileNumber($countryCodePrefix = null|true|false, $formatting = null|true|false); // "+6012-705 3767" + +// Generates a random Malaysian landline number +echo $faker->fixedLineNumber($countryCodePrefix = null|true|false, $formatting = null|true|false); // "03-7112 0455" + +// Generates a random Malaysian voip number +echo $faker->voipNumber($countryCodePrefix = null|true|false, $formatting = null|true|false); // "015-458 7099" +``` + ### `Faker\Provider\ne_NP\Address` ```php @@ -1267,6 +1398,15 @@ echo $faker->vat; // "BE 0123456789" - Belgian Value Added Tax number echo $faker->vat(false); // "BE0123456789" - unspaced Belgian Value Added Tax number ``` +### `Faker\Provider\nl_BE\Person` + +```php +rrn(); // "83051711784" - Belgian Rijksregisternummer +echo $faker->rrn('female'); // "50032089858" - Belgian Rijksregisternummer for a female +``` + ### `Faker\Provider\nl_NL\Company` ```php @@ -1276,7 +1416,15 @@ echo $faker->vat; // "NL123456789B01" - Dutch Value Added Tax number echo $faker->btw; // "NL123456789B01" - Dutch Value Added Tax number (alias) ``` -### `Faker\Provider\no_NO\Payment` +### `Faker\Provider\nl_NL\Person` + +```php +idNumber; // "111222333" - Dutch Personal identification number (BSN) +``` + +### `Faker\Provider\nb_NO\Payment` ```php name; // 'Sr. Luis Adriano Sepúlveda Filho' echo $faker->cpf; // '145.343.345-76' echo $faker->cpf(false); // '45623467866' echo $faker->rg; // '84.405.736-3' +echo $faker->rg(false); // '844057363' ``` ### `Faker\Provider\pt_BR\Company` @@ -1479,6 +1628,15 @@ echo $faker->personalIdentityNumber() // '950910-0799' //Since the numbers are different for male and female persons, optionally you can specify gender. echo $faker->personalIdentityNumber('female') // '950910-0781' ``` +### `Faker\Provider\tr_TR\Person` + +```php +tcNo // '55300634882' + +``` ### `Faker\Provider\zh_CN\Payment` @@ -1540,6 +1698,9 @@ echo $faker->VAT; //23456789 * [pattern-lab/plugin-php-faker](https://github.com/pattern-lab/plugin-php-faker): Pattern Lab is a Styleguide, Component Library, and Prototyping tool. This creates unique content each time Pattern Lab is generated. * [guidocella/eloquent-populator](https://github.com/guidocella/eloquent-populator): Adapter for Laravel's Eloquent ORM. * [tamperdata/exiges](https://github.com/tamperdata/exiges): Faker provider for generating random temperatures +* [jzonta/FakerRestaurant](https://github.com/jzonta/FakerRestaurant): Faker for Food and Beverage names generate +* [aalaap/faker-youtube](https://github.com/aalaap/faker-youtube): Faker for YouTube URLs in various formats +* [pelmered/fake-car](https://github.com/pelmered/fake-car): Faker for cars and car data ## License diff --git a/vendor/fzaninotto/faker/src/Faker/Calculator/TCNo.php b/vendor/fzaninotto/faker/src/Faker/Calculator/TCNo.php new file mode 100644 index 00000000..392d4552 --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Calculator/TCNo.php @@ -0,0 +1,52 @@ + $digit) { + if ($index % 2 == 0) { + $evenSum += $digit; + } else { + $oddSum += $digit; + } + } + + $tenthDigit = (7 * $evenSum - $oddSum) % 10; + $eleventhDigit = ($evenSum + $oddSum + $tenthDigit) % 10; + + return $tenthDigit . $eleventhDigit; + } + + /** + * Checks whether an TCNo has a valid checksum + * + * @param string $tcNo + * @return boolean + */ + public static function isValid($tcNo) + { + return self::checksum(substr($tcNo, 0, -2)) === substr($tcNo, -2, 2); + } +} diff --git a/vendor/fzaninotto/faker/src/Faker/Generator.php b/vendor/fzaninotto/faker/src/Faker/Generator.php index 01158704..0a4e0502 100644 --- a/vendor/fzaninotto/faker/src/Faker/Generator.php +++ b/vendor/fzaninotto/faker/src/Faker/Generator.php @@ -94,12 +94,12 @@ namespace Faker; * @property \DateTime $dateTimeThisYear * @property \DateTime $dateTimeThisMonth * @property string $amPm - * @property int $dayOfMonth - * @property int $dayOfWeek - * @property int $month + * @property string $dayOfMonth + * @property string $dayOfWeek + * @property string $month * @property string $monthName - * @property int $year - * @property int $century + * @property string $year + * @property string $century * @property string $timezone * @method string amPm($max = 'now') * @method string date($format = 'Y-m-d', $max = 'now') @@ -109,7 +109,7 @@ namespace Faker; * @method string month($max = 'now') * @method string monthName($max = 'now') * @method string time($format = 'H:i:s', $max = 'now') - * @method string unixTime($max = 'now') + * @method int unixTime($max = 'now') * @method string year($max = 'now') * @method \DateTime dateTime($max = 'now', $timezone = null) * @method \DateTime dateTimeAd($max = 'now', $timezone = null) diff --git a/vendor/fzaninotto/faker/src/Faker/ORM/Doctrine/EntityPopulator.php b/vendor/fzaninotto/faker/src/Faker/ORM/Doctrine/EntityPopulator.php index 31c8125b..bc703e54 100644 --- a/vendor/fzaninotto/faker/src/Faker/ORM/Doctrine/EntityPopulator.php +++ b/vendor/fzaninotto/faker/src/Faker/ORM/Doctrine/EntityPopulator.php @@ -211,7 +211,7 @@ class EntityPopulator } // Try a standard setter if it's available, otherwise fall back on reflection $setter = sprintf("set%s", ucfirst($field)); - if (method_exists($obj, $setter)) { + if (is_callable(array($obj, $setter))) { $obj->$setter($value); } else { $this->class->reflFields[$field]->setValue($obj, $value); diff --git a/vendor/fzaninotto/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php b/vendor/fzaninotto/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php index ac9cdb42..1df70494 100644 --- a/vendor/fzaninotto/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php +++ b/vendor/fzaninotto/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php @@ -29,11 +29,11 @@ class ColumnTypeGuesser return function () use ($generator) { return $generator->dateTime; }; - } else { - return function () use ($generator) { - return $generator->dateTimeAD; - }; } + + return function () use ($generator) { + return $generator->dateTimeAD; + }; } $type = $column->getType(); switch ($type) { diff --git a/vendor/fzaninotto/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php b/vendor/fzaninotto/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php index 13e4ee40..024965a7 100644 --- a/vendor/fzaninotto/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php +++ b/vendor/fzaninotto/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php @@ -29,11 +29,11 @@ class ColumnTypeGuesser return function () use ($generator) { return $generator->dateTime; }; - } else { - return function () use ($generator) { - return $generator->dateTimeAD; - }; } + + return function () use ($generator) { + return $generator->dateTimeAD; + }; } $type = $column->getType(); switch ($type) { diff --git a/vendor/fzaninotto/faker/src/Faker/ORM/Spot/EntityPopulator.php b/vendor/fzaninotto/faker/src/Faker/ORM/Spot/EntityPopulator.php index d59cf56f..ba5bddb5 100644 --- a/vendor/fzaninotto/faker/src/Faker/ORM/Spot/EntityPopulator.php +++ b/vendor/fzaninotto/faker/src/Faker/ORM/Spot/EntityPopulator.php @@ -151,23 +151,23 @@ class EntityPopulator $formatters[$fieldName] = function ($inserted) use ($required, $entityName, $locator) { if (!empty($inserted[$entityName])) { - return $inserted[$entityName][mt_rand(0, count($inserted[$entityName]) - 1)]->getId(); - } else { - if ($required && $this->useExistingData) { - // We did not add anything like this, but it's required, - // So let's find something existing in DB. - $mapper = $this->locator->mapper($entityName); - $records = $mapper->all()->limit(self::RELATED_FETCH_COUNT)->toArray(); - if (empty($records)) { - return null; - } - $id = $records[mt_rand(0, count($records) - 1)]['id']; + return $inserted[$entityName][mt_rand(0, count($inserted[$entityName]) - 1)]->get('id'); + } - return $id; - } else { + if ($required && $this->useExistingData) { + // We did not add anything like this, but it's required, + // So let's find something existing in DB. + $mapper = $locator->mapper($entityName); + $records = $mapper->all()->limit(self::RELATED_FETCH_COUNT)->toArray(); + if (empty($records)) { return null; } + $id = $records[mt_rand(0, count($records) - 1)]['id']; + + return $id; } + + return null; }; } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Base.php b/vendor/fzaninotto/faker/src/Faker/Provider/Base.php index d314be71..fa321ee0 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/Base.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/Base.php @@ -139,6 +139,18 @@ class Base $max = $int1 < $int2 ? $int2 : $int1; return mt_rand($min, $max); } + + /** + * Returns the passed value + * + * @param mixed $value + * + * @return mixed + */ + public static function passthrough($value) + { + return $value; + } /** * Returns a random letter from a to z @@ -168,9 +180,19 @@ class Base * * @return array New array with $count elements from $array */ - public static function randomElements(array $array = array('a', 'b', 'c'), $count = 1, $allowDuplicates = false) + public static function randomElements($array = array('a', 'b', 'c'), $count = 1, $allowDuplicates = false) { - $allKeys = array_keys($array); + $traversables = array(); + + if ($array instanceof \Traversable) { + foreach ($array as $element) { + $traversables[] = $element; + } + } + + $arr = count($traversables) ? $traversables : $array; + + $allKeys = array_keys($arr); $numKeys = count($allKeys); if (!$allowDuplicates && $numKeys < $count) { @@ -191,7 +213,7 @@ class Base $keys[$num] = true; } - $elements[] = $array[$allKeys[$num]]; + $elements[] = $arr[$allKeys[$num]]; $numElements++; } @@ -206,7 +228,7 @@ class Base */ public static function randomElement($array = array('a', 'b', 'c')) { - if (!$array) { + if (!$array || ($array instanceof \Traversable && !count($array))) { return null; } $elements = static::randomElements($array, 1); diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php b/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php index 3bbdd1cc..fb0f474b 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php @@ -6,6 +6,12 @@ class DateTime extends Base { protected static $century = array('I','II','III','IV','V','VI','VII','VIII','IX','X','XI','XII','XIII','XIV','XV','XVI','XVII','XVIII','XIX','XX','XXI'); + protected static $defaultTimezone = null; + + /** + * @param string|float|int $max + * @return int|false + */ protected static function getMaxTimestamp($max = 'now') { if (is_numeric($max)) { @@ -36,7 +42,7 @@ class DateTime extends Base * Get a datetime object for a date between January 1, 1970 and now * * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example DateTime('2005-08-16 20:39:21') * @return \DateTime * @see http://php.net/manual/en/timezones.php @@ -46,7 +52,7 @@ class DateTime extends Base { return static::setTimezone( new \DateTime('@' . static::unixTime($max)), - (null === $timezone ? date_default_timezone_get() : $timezone) + $timezone ); } @@ -54,7 +60,7 @@ class DateTime extends Base * Get a datetime object for a date between January 1, 001 and now * * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example DateTime('1265-03-22 21:15:52') * @return \DateTime * @see http://php.net/manual/en/timezones.php @@ -65,7 +71,7 @@ class DateTime extends Base $min = (PHP_INT_SIZE>4 ? -62135597361 : -PHP_INT_MAX); return static::setTimezone( new \DateTime('@' . mt_rand($min, static::getMaxTimestamp($max))), - (null === $timezone ? date_default_timezone_get() : $timezone) + $timezone ); } @@ -113,7 +119,7 @@ class DateTime extends Base * * @param \DateTime|string $startDate Defaults to 30 years ago * @param \DateTime|string $endDate Defaults to "now" - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example DateTime('1999-02-02 11:42:52') * @return \DateTime * @see http://php.net/manual/en/timezones.php @@ -132,7 +138,7 @@ class DateTime extends Base return static::setTimezone( new \DateTime('@' . $timestamp), - (null === $timezone ? date_default_timezone_get() : $timezone) + $timezone ); } @@ -143,7 +149,7 @@ class DateTime extends Base * * @param string $date Defaults to 30 years ago * @param string $interval Defaults to 5 days after - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example dateTimeInInterval('1999-02-02 11:42:52', '+ 5 days') * @return \DateTime * @see http://php.net/manual/en/timezones.php @@ -162,13 +168,13 @@ class DateTime extends Base return static::dateTimeBetween( $begin, $end, - (null === $timezone ? date_default_timezone_get() : $timezone) + $timezone ); } /** * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example DateTime('1964-04-04 11:02:02') * @return \DateTime */ @@ -179,7 +185,7 @@ class DateTime extends Base /** * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example DateTime('2010-03-10 05:18:58') * @return \DateTime */ @@ -190,7 +196,7 @@ class DateTime extends Base /** * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example DateTime('2011-09-19 09:24:37') * @return \DateTime */ @@ -201,7 +207,7 @@ class DateTime extends Base /** * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string $timezone time zone in which the date time should be set, default to result of `date_default_timezone_get` + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` * @example DateTime('2011-10-05 12:51:46') * @return \DateTime */ @@ -262,8 +268,8 @@ class DateTime extends Base /** * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @return int - * @example 1673 + * @return string + * @example '1673' */ public static function year($max = 'now') { @@ -292,12 +298,43 @@ class DateTime extends Base * Internal method to set the time zone on a DateTime. * * @param \DateTime $dt - * @param string $timezone + * @param string|null $timezone * - * @return $this + * @return \DateTime */ private static function setTimezone(\DateTime $dt, $timezone) { - return $dt->setTimezone(new \DateTimeZone($timezone)); + return $dt->setTimezone(new \DateTimeZone(static::resolveTimezone($timezone))); + } + + /** + * Sets default time zone. + * + * @param string $timezone + * + * @return void + */ + public static function setDefaultTimezone($timezone = null) + { + static::$defaultTimezone = $timezone; + } + + /** + * Gets default time zone. + * + * @return string|null + */ + public static function getDefaultTimezone() + { + return static::$defaultTimezone; + } + + /** + * @param string|null $timezone + * @return null|string + */ + private static function resolveTimezone($timezone) + { + return ((null === $timezone) ? ((null === static::$defaultTimezone) ? date_default_timezone_get() : static::$defaultTimezone) : $timezone); } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Image.php b/vendor/fzaninotto/faker/src/Faker/Provider/Image.php index 404a45a0..0458ceb9 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/Image.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/Image.php @@ -84,14 +84,15 @@ class Image extends Base $ch = curl_init($url); curl_setopt($ch, CURLOPT_FILE, $fp); $success = curl_exec($ch) && curl_getinfo($ch, CURLINFO_HTTP_CODE) === 200; - - if ($success) { - fclose($fp); - } else { - unlink($filepath); - } - + fclose($fp); curl_close($ch); + + if (!$success) { + unlink($filepath); + + // could not contact the distant URL or HTTP error - fail silently. + return false; + } } elseif (ini_get('allow_url_fopen')) { // use remote fopen() via copy() $success = copy($url, $filepath); @@ -99,11 +100,6 @@ class Image extends Base return new \RuntimeException('The image formatter downloads an image from a remote HTTP server. Therefore, it requires that PHP can request remote hosts, either via cURL or fopen()'); } - if (!$success) { - // could not contact the distant URL or HTTP error - fail silently. - return false; - } - return $fullPath ? $filepath : $filename; } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php b/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php index b15b0e79..55586d11 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php @@ -203,6 +203,10 @@ class Miscellaneous extends Base /** * @link https://en.wikipedia.org/wiki/ISO_4217 * On date of 2017-07-07 + * + * With the following exceptions: + * SVC has been replaced by the USD in 2001: https://en.wikipedia.org/wiki/Salvadoran_col%C3%B3n + * ZWL has been suspended since 2009: https://en.wikipedia.org/wiki/Zimbabwean_dollar */ protected static $currencyCode = array( 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', @@ -217,10 +221,10 @@ class Miscellaneous extends Base 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', - 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SVC', 'SYP', - 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', - 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', - 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWL', + 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', + 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', + 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', + 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', ); /** diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/Payment.php index 27ce838c..c4c08581 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/Payment.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/Payment.php @@ -12,7 +12,7 @@ class Payment extends Base protected static $cardVendors = array( 'Visa', 'Visa', 'Visa', 'Visa', 'Visa', 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', - 'American Express', 'Discover Card' + 'American Express', 'Discover Card', 'Visa Retired' ); /** @@ -22,25 +22,27 @@ class Payment extends Base */ protected static $cardParams = array( 'Visa' => array( - "4539########", "4539###########", - "4556########", "4556###########", - "4916########", "4916###########", - "4532########", "4532###########", - "4929########", "4929###########", - "40240071####", "40240071#######", - "4485########", "4485###########", - "4716########", "4716###########", - "4###########", "4##############" ), + 'Visa Retired' => array( + "4539########", + "4556########", + "4916########", + "4532########", + "4929########", + "40240071####", + "4485########", + "4716########", + "4###########", + ), 'MasterCard' => array( "2221###########", "23#############", @@ -222,7 +224,7 @@ class Payment extends Base * @param integer $length total length without country code and 2 check digits * @return string */ - public static function iban($countryCode, $prefix = '', $length = null) + public static function iban($countryCode = null, $prefix = '', $length = null) { $countryCode = is_null($countryCode) ? self::randomKey(self::$ibanFormats) : strtoupper($countryCode); diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Text.php b/vendor/fzaninotto/faker/src/Faker/Provider/Text.php index 36fafe35..db8c800a 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/Text.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/Text.php @@ -136,6 +136,6 @@ abstract class Text extends Base protected static function appendEnd($text) { - return rtrim($text, ',— ').'.'; + return preg_replace("/([ ,-:;\x{2013}\x{2014}]+$)/us", '', $text).'.'; } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Internet.php b/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Internet.php index 2f5cd2cd..ec96ea21 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Internet.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Internet.php @@ -4,6 +4,14 @@ namespace Faker\Provider\de_CH; class Internet extends \Faker\Provider\Internet { - protected static $freeEmailDomain = array('gmail.com', 'hotmail.com', 'yahoo.com', 'googlemail.com', 'gmx.ch', 'bluewin.ch', 'swissonline.ch'); + protected static $freeEmailDomain = array( + 'gmail.com', + 'hotmail.com', + 'yahoo.com', + 'googlemail.com', + 'gmx.ch', + 'bluewin.ch', + 'swissonline.ch' + ); protected static $tld = array('com', 'com', 'com', 'net', 'org', 'li', 'ch', 'ch'); } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Address.php index 8f30322d..eff738d0 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Address.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Address.php @@ -25,7 +25,7 @@ class Address extends \Faker\Provider\Address 'Calw', 'Castrop-Rauxel', 'Celle', 'Chemnitz', 'Cloppenburg', 'Coburg', 'Coesfeld', 'Coswig', 'Cottbus', 'Crailsheim', 'Cuxhaven', 'Dachau', 'Darmstadt', 'Datteln', 'Deggendorf', 'Delbrück', 'Delitzsch', 'Delmenhorst', 'Dessau-Roßlau', 'Detmold', 'Dietzenbach', 'Dillenburg', 'Dillingen/Saar', 'Dinslaken', 'Ditzingen', 'Döbeln', 'Donaueschingen', 'Dormagen', 'Dorsten', 'Dortmund', 'Dreieich', 'Dresden', 'Duderstadt', 'Duisburg', 'Dülmen', 'Düren', 'Düsseldorf', - 'Eberswalde', 'Eckernförde', 'Edewecht', 'Ehingen', 'Einbeck', 'Eisenach', 'Eisenhüttenstadt', 'Eisleben, Lutherstadt', 'Eislingen/Fils', 'Ellwangen (Jagst)', 'Elmshorn', 'Elsdorf', 'Emden', 'Emmendingen', 'Emmerich am Rhein', 'Emsdetten', 'Enger', 'Ennepetal', 'Ennigerloh', 'Eppingen', 'Erding', 'Erftstadt', 'Erfurt', 'Erkelenz', 'Erkrath', 'Erlangen', 'Eschborn', 'Eschweiler', 'Espelkamp', 'Essen', 'Esslingen am Neckar', 'Ettlingen', 'Euskirchen', + 'Eberswalde', 'Eckernförde', 'Edewecht', 'Ehingen', 'Einbeck', 'Eisenach', 'Eisenhüttenstadt', 'Lutherstadt Eisleben', 'Eislingen/Fils', 'Ellwangen (Jagst)', 'Elmshorn', 'Elsdorf', 'Emden', 'Emmendingen', 'Emmerich am Rhein', 'Emsdetten', 'Enger', 'Ennepetal', 'Ennigerloh', 'Eppingen', 'Erding', 'Erftstadt', 'Erfurt', 'Erkelenz', 'Erkrath', 'Erlangen', 'Eschborn', 'Eschweiler', 'Espelkamp', 'Essen', 'Esslingen am Neckar', 'Ettlingen', 'Euskirchen', 'Falkensee', 'Fellbach', 'Filderstadt', 'Flensburg', 'Flörsheim am Main', 'Forchheim', 'Frankenthal (Pfalz)', 'Frankfurt (Oder)', 'Frankfurt am Main', 'Frechen', 'Freiberg', 'Freiburg im Breisgau', 'Freising', 'Freital', 'Freudenstadt', 'Friedberg', 'Friedberg (Hessen)', 'Friedrichsdorf', 'Friedrichshafen', 'Friesoythe', 'Fröndenberg/Ruhr', 'Fulda', 'Fürstenfeldbruck', 'Fürstenwalde/Spree', 'Fürth', 'Gaggenau', 'Ganderkesee', 'Garbsen', 'Gardelegen', 'Garmisch-Partenkirchen', 'Gauting', 'Geesthacht', 'Geestland', 'Geilenkirchen', 'Geislingen an der Steige', 'Geldern', 'Gelnhausen', 'Gelsenkirchen', 'Georgsmarienhütte', 'Gera', 'Geretsried', 'Germering', 'Germersheim', 'Gersthofen', 'Geseke', 'Gevelsberg', 'Gießen', 'Gifhorn', 'Gladbeck', 'Glauchau', 'Goch', 'Göppingen', 'Görlitz', 'Goslar', 'Gotha', 'Göttingen', 'Greifswald', 'Greiz', 'Greven', 'Grevenbroich', 'Griesheim', 'Grimma', 'Gronau (Westf.)', 'Groß-Gerau', 'Groß-Umstadt', 'Gummersbach', 'Günzburg', 'Güstrow', 'Gütersloh', 'Haan', 'Haar', 'Hagen', 'Halberstadt', 'Halle (Saale)', 'Halle (Westf.)', 'Haltern am See', 'Hamburg', 'Hameln', 'Hamm', 'Hamminkeln', 'Hanau', 'Hann. Münden', 'Hannover', 'Haren (Ems)', 'Harsewinkel', 'Haßloch', 'Hattersheim am Main', 'Hattingen', 'Heide', 'Heidelberg', 'Heidenheim an der Brenz', 'Heilbronn', 'Heiligenhaus', 'Heinsberg', 'Helmstedt', 'Hemer', 'Hennef (Sieg)', 'Hennigsdorf', 'Henstedt-Ulzburg', 'Heppenheim (Bergstraße)', 'Herborn', 'Herdecke', 'Herford', 'Herne', 'Herrenberg', 'Herten', 'Herzogenaurach', 'Herzogenrath', 'Hilden', 'Hildesheim', 'Hockenheim', 'Hof', 'Hofheim am Taunus', 'Hohen Neuendorf', 'Holzminden', 'Homburg', 'Horb am Neckar', 'Höxter', 'Hoyerswerda', 'Hückelhoven', 'Hürth', 'Husum', @@ -44,7 +44,7 @@ class Address extends \Faker\Provider\Address 'Übach-Palenberg', 'Überlingen', 'Uelzen', 'Uetze', 'Ulm', 'Unna', 'Unterhaching', 'Unterschleißheim', 'Vaihingen an der Enz', 'Varel', 'Vaterstetten', 'Vechta', 'Velbert', 'Verden (Aller)', 'Verl', 'Versmold', 'Viernheim', 'Viersen', 'Villingen-Schwenningen', 'Voerde (Niederrhein)', 'Völklingen', 'Vreden', - 'Wachtberg', 'Waghäusel', 'Waiblingen', 'Waldkirch', 'Waldkraiburg', 'Waldshut-Tiengen', 'Wallenhorst', 'Walsrode', 'Waltrop', 'Wandlitz', 'Wangen im Allgäu', 'Warburg', 'Waren (Müritz)', 'Warendorf', 'Warstein', 'Wedel', 'Wedemark', 'Wegberg', 'Weiden in der Oberpfalz', 'Weil am Rhein', 'Weilheim in Oberbayern', 'Weimar', 'Weingarten', 'Weinheim', 'Weinstadt', 'Weißenfels', 'Weiterstadt', 'Werdau', 'Werder (Havel)', 'Werl', 'Wermelskirchen', 'Werne', 'Wernigerode', 'Wertheim', 'Wesel', 'Wesseling', 'Westerstede', 'Westoverledingen', 'Wetter (Ruhr)', 'Wetzlar', 'Weyhe', 'Wiehl', 'Wiesbaden', 'Wiesloch', 'Wilhelmshaven', 'Willich', 'Wilnsdorf', 'Winnenden', 'Winsen (Luhe)', 'Wipperfürth', 'Wismar', 'Witten', 'Wittenberg, Lutherstadt', 'Wittmund', 'Wolfenbüttel', 'Wolfsburg', 'Worms', 'Wülfrath', 'Wunstorf', 'Wuppertal', 'Würselen', 'Würzburg', + 'Wachtberg', 'Waghäusel', 'Waiblingen', 'Waldkirch', 'Waldkraiburg', 'Waldshut-Tiengen', 'Wallenhorst', 'Walsrode', 'Waltrop', 'Wandlitz', 'Wangen im Allgäu', 'Warburg', 'Waren (Müritz)', 'Warendorf', 'Warstein', 'Wedel', 'Wedemark', 'Wegberg', 'Weiden in der Oberpfalz', 'Weil am Rhein', 'Weilheim in Oberbayern', 'Weimar', 'Weingarten', 'Weinheim', 'Weinstadt', 'Weißenfels', 'Weiterstadt', 'Werdau', 'Werder (Havel)', 'Werl', 'Wermelskirchen', 'Werne', 'Wernigerode', 'Wertheim', 'Wesel', 'Wesseling', 'Westerstede', 'Westoverledingen', 'Wetter (Ruhr)', 'Wetzlar', 'Weyhe', 'Wiehl', 'Wiesbaden', 'Wiesloch', 'Wilhelmshaven', 'Willich', 'Wilnsdorf', 'Winnenden', 'Winsen (Luhe)', 'Wipperfürth', 'Wismar', 'Witten', 'Lutherstadt Wittenberg', 'Wittmund', 'Wolfenbüttel', 'Wolfsburg', 'Worms', 'Wülfrath', 'Wunstorf', 'Wuppertal', 'Würselen', 'Würzburg', 'Xanten', 'Zeitz', 'Zerbst/Anhalt', 'Zirndorf', 'Zittau', 'Zülpich', 'Zweibrücken', 'Zwickau', ); diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Internet.php b/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Internet.php index 7dc33358..2e99de33 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Internet.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Internet.php @@ -4,6 +4,23 @@ namespace Faker\Provider\de_DE; class Internet extends \Faker\Provider\Internet { - protected static $freeEmailDomain = array('web.de', 'gmail.com', 'hotmail.de', 'yahoo.de', 'googlemail.com', 'aol.de', 'gmx.de'); + /** + * @link https://www.statista.com/statistics/446418/most-popular-e-mail-providers-germany/ + * @link http://blog.shuttlecloud.com/the-10-most-popular-email-providers-in-germany + */ + protected static $freeEmailDomain = array( + 'web.de', + 'gmail.com', + 'hotmail.de', + 'yahoo.de', + 'googlemail.com', + 'aol.de', + 'gmx.de', + 'freenet.de', + 'posteo.de', + 'mail.de', + 'live.de', + 't-online.de' + ); protected static $tld = array('com', 'com', 'com', 'net', 'org', 'de', 'de', 'de'); } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/el_GR/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/el_GR/Company.php index 24b621fe..5801cafa 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/el_GR/Company.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/el_GR/Company.php @@ -42,7 +42,7 @@ class Company extends \Faker\Provider\Company ); - protected static $οbject = array( + protected static $object = array( 'Προγραμματιστής', 'Δικηγόρος', 'Γιατρός', @@ -79,6 +79,6 @@ class Company extends \Faker\Provider\Company */ public static function object() { - return static::randomElement(static::$οbject); + return static::randomElement(static::$object); } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_NZ/Internet.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_NZ/Internet.php index b32e6685..8a9af3ad 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/en_NZ/Internet.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_NZ/Internet.php @@ -5,10 +5,12 @@ namespace Faker\Provider\en_NZ; class Internet extends \Faker\Provider\Internet { /** - * An array of common en_NZ (New Zeland) TLD's + * An array of New Zealand TLDs. + * + * @link https://en.wikipedia.org/wiki/.nz * @var array */ protected static $tld = array( - 'com', 'co.nz', 'ac.nz', 'geek.nz', 'gen.nz', 'kiwi.nz', 'maori.nz', 'net.nz', 'org.nz', 'school.nz', 'govt.nz', 'iwi.nz', 'mil.nz', 'health.nz', 'parliment.nz' + 'com', 'nz', 'ac.nz', 'co.nz', 'geek.nz', 'gen.nz', 'kiwi.nz', 'maori.nz', 'net.nz', 'org.nz', 'school.nz', 'cri.nz', 'govt.nz', 'health.nz', 'iwi.nz', 'mil.nz', 'parliament.nz', ); } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Company.php index 3aaf2a31..dff1635e 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Company.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Company.php @@ -18,7 +18,7 @@ class Company extends \Faker\Provider\Company '24hour', '24/7', '3rdgeneration', '4thgeneration', '5thgeneration', '6thgeneration', 'actuating', 'analyzing', 'assymetric', 'asynchronous', 'attitude-oriented', 'background', 'bandwidth-monitored', 'bi-directional', 'bifurcated', 'bottom-line', 'clear-thinking', 'client-driven', 'client-server', 'coherent', 'cohesive', 'composite', 'context-sensitive', 'contextually-based', 'content-based', 'dedicated', 'demand-driven', 'didactic', 'directional', 'discrete', 'disintermediate', 'dynamic', 'eco-centric', 'empowering', 'encompassing', 'even-keeled', 'executive', 'explicit', 'exuding', 'fault-tolerant', 'foreground', 'fresh-thinking', 'full-range', 'global', 'grid-enabled', 'heuristic', 'high-level', 'holistic', 'homogeneous', 'human-resource', 'hybrid', 'impactful', 'incremental', 'intangible', 'interactive', 'intermediate', 'leadingedge', 'local', 'logistical', 'maximized', 'methodical', 'mission-critical', 'mobile', 'modular', 'motivating', 'multimedia', 'multi-state', 'multi-tasking', 'national', 'needs-based', 'neutral', 'nextgeneration', 'non-volatile', 'object-oriented', 'optimal', 'optimizing', 'radical', 'real-time', 'reciprocal', 'regional', 'responsive', 'scalable', 'secondary', 'solution-oriented', 'stable', 'static', 'systematic', 'systemic', 'system-worthy', 'tangible', 'tertiary', 'transitional', 'uniform', 'upward-trending', 'user-facing', 'value-added', 'web-enabled', 'well-modulated', 'zeroadministration', 'zerodefect', 'zerotolerance', ), array( - 'ability', 'access', 'adapter', 'algorithm', 'alliance', 'analyzer', 'application', 'approach', 'architecture', 'archive', 'artificialintelligence', 'array', 'attitude', 'benchmark', 'budgetarymanagement', 'capability', 'capacity', 'challenge', 'circuit', 'collaboration', 'complexity', 'concept', 'conglomeration', 'contingency', 'core', 'customerloyalty', 'database', 'data-warehouse', 'definition', 'emulation', 'encoding', 'encryption', 'extranet', 'firmware', 'flexibility', 'focusgroup', 'forecast', 'frame', 'framework', 'function', 'functionalities', 'GraphicInterface', 'groupware', 'GraphicalUserInterface', 'hardware', 'help-desk', 'hierarchy', 'hub', 'implementation', 'info-mediaries', 'infrastructure', 'initiative', 'installation', 'instructionset', 'interface', 'internetsolution', 'intranet', 'knowledgeuser', 'knowledgebase', 'localareanetwork', 'leverage', 'matrices', 'matrix', 'methodology', 'middleware', 'migration', 'model', 'moderator', 'monitoring', 'moratorium', 'neural-net', 'openarchitecture', 'opensystem', 'orchestration', 'paradigm', 'parallelism', 'policy', 'portal', 'pricingstructure', 'processimprovement', 'product', 'productivity', 'project', 'projection', 'protocol', 'securedline', 'service-desk', 'software', 'solution', 'standardization', 'strategy', 'structure', 'success', 'superstructure', 'support', 'synergy', 'systemengine', 'task-force', 'throughput', 'time-frame', 'toolset', 'utilisation', 'website', 'workforce', + 'ability', 'access', 'adapter', 'algorithm', 'alliance', 'analyzer', 'application', 'approach', 'architecture', 'archive', 'artificialintelligence', 'array', 'attitude', 'benchmark', 'blockchain', 'budgetarymanagement', 'capability', 'capacity', 'challenge', 'circuit', 'collaboration', 'complexity', 'concept', 'conglomeration', 'contingency', 'core', 'customerloyalty', 'database', 'data-warehouse', 'definition', 'emulation', 'encoding', 'encryption', 'extranet', 'firmware', 'flexibility', 'focusgroup', 'forecast', 'frame', 'framework', 'function', 'functionalities', 'GraphicInterface', 'groupware', 'GraphicalUserInterface', 'hardware', 'help-desk', 'hierarchy', 'hub', 'implementation', 'info-mediaries', 'infrastructure', 'initiative', 'installation', 'instructionset', 'interface', 'internetsolution', 'intranet', 'knowledgeuser', 'knowledgebase', 'localareanetwork', 'leverage', 'matrices', 'matrix', 'methodology', 'middleware', 'migration', 'model', 'moderator', 'monitoring', 'moratorium', 'neural-net', 'openarchitecture', 'opensystem', 'orchestration', 'paradigm', 'parallelism', 'policy', 'portal', 'pricingstructure', 'processimprovement', 'product', 'productivity', 'project', 'projection', 'protocol', 'securedline', 'service-desk', 'software', 'solution', 'standardization', 'strategy', 'structure', 'success', 'superstructure', 'support', 'synergy', 'systemengine', 'task-force', 'throughput', 'time-frame', 'toolset', 'utilisation', 'website', 'workforce', ), ); @@ -65,6 +65,15 @@ class Company extends \Faker\Provider\Company protected static $companySuffix = array('Inc', 'and Sons', 'LLC', 'Group', 'PLC', 'Ltd'); + /** + * @link https://www.irs.gov/businesses/small-businesses-self-employed/how-eins-are-assigned-and-valid-ein-prefixes + */ + protected static $einPrefixes = array( + 01, 02, 03, 04, 05, 06, 10, 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, + 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, + 66, 67, 68, 71, 72, 73, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 98, 99 + ); + /** * @example 'Robust full-range hub' */ @@ -90,4 +99,18 @@ class Company extends \Faker\Provider\Company return join($result, ' '); } + + /** + * Employer Identification Number (EIN) + * + * @link https://en.wikipedia.org/wiki/Employer_Identification_Number + * @example '12-3456789' + */ + public static function ein() + { + $prefix = static::randomElement(static::$einPrefixes); + $suffix = static::numberBetween(0, 9999999); + + return sprintf("%02d-%07d", $prefix, $suffix); + } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Person.php index edfd6351..47054ffb 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Person.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_US/Person.php @@ -88,7 +88,7 @@ class Person extends \Faker\Provider\Person 'Ebert', 'Effertz', 'Eichmann', 'Emard', 'Emmerich', 'Erdman', 'Ernser', 'Fadel', 'Fahey', 'Farrell', 'Fay', 'Feeney', 'Feest', 'Feil', 'Ferry', 'Fisher', 'Flatley', 'Frami', 'Franecki', 'Friesen', 'Fritsch', 'Funk', 'Gaylord', 'Gerhold', 'Gerlach', 'Gibson', 'Gislason', 'Gleason', 'Gleichner', 'Glover', 'Goldner', 'Goodwin', 'Gorczany', 'Gottlieb', 'Goyette', 'Grady', 'Graham', 'Grant', 'Green', 'Greenfelder', 'Greenholt', 'Grimes', 'Gulgowski', 'Gusikowski', 'Gutkowski', 'Gutmann', - 'Haag', 'Hackett', 'Hagenes', 'Hahn', 'Haley', 'Halvorson', 'Hamill', 'Hammes', 'Hand', 'Hane', 'Hansen', 'Harber', 'Harris', 'Hartmann', 'Harvey', 'Hauck', 'Hayes', 'Heaney', 'Heathcote', 'Hegmann', 'Heidenreich', 'Heller', 'Herman', 'Hermann', 'Hermiston', 'Herzog', 'Hessel', 'Hettinger', 'Hickle', 'Hilll', 'Hills', 'Hilpert', 'Hintz', 'Hirthe', 'Hodkiewicz', 'Hoeger', 'Homenick', 'Hoppe', 'Howe', 'Howell', 'Hudson', 'Huel', 'Huels', 'Hyatt', + 'Haag', 'Hackett', 'Hagenes', 'Hahn', 'Haley', 'Halvorson', 'Hamill', 'Hammes', 'Hand', 'Hane', 'Hansen', 'Harber', 'Harris', 'Hartmann', 'Harvey', 'Hauck', 'Hayes', 'Heaney', 'Heathcote', 'Hegmann', 'Heidenreich', 'Heller', 'Herman', 'Hermann', 'Hermiston', 'Herzog', 'Hessel', 'Hettinger', 'Hickle', 'Hill', 'Hills', 'Hilpert', 'Hintz', 'Hirthe', 'Hodkiewicz', 'Hoeger', 'Homenick', 'Hoppe', 'Howe', 'Howell', 'Hudson', 'Huel', 'Huels', 'Hyatt', 'Jacobi', 'Jacobs', 'Jacobson', 'Jakubowski', 'Jaskolski', 'Jast', 'Jenkins', 'Jerde', 'Johns', 'Johnson', 'Johnston', 'Jones', 'Kassulke', 'Kautzer', 'Keebler', 'Keeling', 'Kemmer', 'Kerluke', 'Kertzmann', 'Kessler', 'Kiehn', 'Kihn', 'Kilback', 'King', 'Kirlin', 'Klein', 'Kling', 'Klocko', 'Koch', 'Koelpin', 'Koepp', 'Kohler', 'Konopelski', 'Koss', 'Kovacek', 'Kozey', 'Krajcik', 'Kreiger', 'Kris', 'Kshlerin', 'Kub', 'Kuhic', 'Kuhlman', 'Kuhn', 'Kulas', 'Kunde', 'Kunze', 'Kuphal', 'Kutch', 'Kuvalis', 'Labadie', 'Lakin', 'Lang', 'Langosh', 'Langworth', 'Larkin', 'Larson', 'Leannon', 'Lebsack', 'Ledner', 'Leffler', 'Legros', 'Lehner', 'Lemke', 'Lesch', 'Leuschke', 'Lind', 'Lindgren', 'Littel', 'Little', 'Lockman', 'Lowe', 'Lubowitz', 'Lueilwitz', 'Luettgen', 'Lynch', @@ -107,7 +107,7 @@ class Person extends \Faker\Provider\Person 'Zboncak', 'Zemlak', 'Ziemann', 'Zieme', 'Zulauf' ); - private static $suffix = array('Jr.', 'Sr.', 'I', 'II', 'III', 'IV', 'V', 'MD', 'DDS', 'PhD', 'DVM'); + protected static $suffix = array('Jr.', 'Sr.', 'I', 'II', 'III', 'IV', 'V', 'MD', 'DDS', 'PhD', 'DVM'); /** * @example 'PhD' diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_ZA/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_ZA/Person.php index 97492511..d44d4731 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/en_ZA/Person.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_ZA/Person.php @@ -3,7 +3,6 @@ namespace Faker\Provider\en_ZA; use Faker\Calculator\Luhn; -use Faker\Provider\DateTime; class Person extends \Faker\Provider\Person { @@ -127,13 +126,18 @@ class Person extends \Faker\Provider\Person 'Pule', 'Hlophe', 'Miya', 'Moagi', ); + protected static $titleMale = array('Mr.', 'Dr.', 'Prof.', 'Rev.', 'Hon.'); + + protected static $titleFemale = array('Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.', 'Rev.', 'Hon.'); + + protected static $licenceCodes = array('A', 'A1', 'B', 'C', 'C1', 'C2', 'EB', 'EC', 'EC1', 'I', 'L', 'L1'); + /** * @link https://en.wikipedia.org/wiki/National_identification_number#South_Africa * - * @param int $minAge - * @param int $maxAge - * @param bool $citizen - * @param string $gender + * @param \DateTime $birthdate + * @param bool $citizen + * @param string $gender * * @return string */ @@ -155,10 +159,20 @@ class Person extends \Faker\Provider\Person } $sequenceDigits = str_pad(self::randomNumber(3), 3, 0, STR_PAD_BOTH); $citizenDigit = ($citizen === true) ? '0' : '1'; - $raceDigit = self::randomNumber(1); + $raceDigit = self::numberBetween(8, 9); $partialIdNumber = $birthDateString . $genderDigit . $sequenceDigits . $citizenDigit . $raceDigit; return $partialIdNumber . Luhn::computeCheckDigit($partialIdNumber); } + + /** + * @see https://en.wikipedia.org/wiki/Driving_licence_in_South_Africa + * + * @return string + */ + public function licenceCode() + { + return static::randomElement(static::$licenceCodes); + } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/es_ES/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/es_ES/Person.php index 2ee0c393..9787bf92 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/es_ES/Person.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/es_ES/Person.php @@ -63,6 +63,8 @@ class Person extends \Faker\Provider\Person private static $suffix = array('Hijo', 'Segundo', 'Tercero'); + protected static $licenceCodes = array('AM', 'A1', 'A2', 'A','B', 'B+E', 'C1', 'C1+E', 'C', 'C+E', 'D1', 'D1+E', 'D', 'D+E'); + /** * @example 'Hijo' */ @@ -85,4 +87,14 @@ class Person extends \Faker\Provider\Person return $number . $letter; } + + /** + * @see https://sede.dgt.gob.es/es/tramites-y-multas/permiso-de-conduccion/obtencion-permiso-licencia-conduccion/clases-permiso-conduccion-edad.shtml + * + * @return string + */ + public function licenceCode() + { + return static::randomElement(static::$licenceCodes); + } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Company.php index 7793842d..e2e57383 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Company.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Company.php @@ -27,4 +27,14 @@ class Company extends \Faker\Provider\Company { return static::randomElement(static::$companyPrefix); } + + /** + * Generate random Taxpayer Identification Number (RIF in Venezuela). Ex J-123456789-1 + * @param string $separator + * @return string + */ + public function taxpayerIdentificationNumber($separator = '') + { + return static::randomElement(array('J', 'G', 'V', 'E', 'P', 'C')) . $separator . static::numerify('########') . $separator . static::numerify('#'); + } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Person.php index b1da57c1..93e6c9fa 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Person.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/es_VE/Person.php @@ -137,7 +137,7 @@ class Person extends \Faker\Provider\Person protected static $titleFemale = array('Sra.', 'Srita.', 'Dra.', 'Lcda.', 'Ing.'); private static $suffix = array('Hijo'); - + private static $nationalityId = array('V', 'E'); /** @@ -149,18 +149,19 @@ class Person extends \Faker\Provider\Person } /** - * Generate random national identification number including nationalized foreigns. Ex V-8756432 or E-82803827 - * @return string + * Generate random national identification number (cédula de identidad). Ex V-8756432 + * @param string $separator + * @return string CNE is the official national election registry org. * CNE is the official national election registry org. * @link http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php */ - public function nationalId() + public function nationalId($separator = '') { $id = static::randomElement(static::$nationalityId); if ($id == 'V') { - return $id.$this->numberBetween(10000, 100000000); - } else { - return $id.$this->numberBetween(80000000, 100000000); + return $id . $separator . $this->numberBetween(10000, 100000000); } + + return $id . $separator . $this->numberBetween(80000000, 100000000); } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Address.php index 9dfe4470..4930b54f 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Address.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Address.php @@ -76,7 +76,7 @@ class Address extends \Faker\Provider\fr_FR\Address protected static $secondaryAddressFormats = array('Apt. ###', 'Suite ###', 'Bureau ###'); protected static $state = array( - 'Alberta', 'Colombie-Brittanique', 'Manitoba', 'Nouveau-Brunswick', 'Terre-Neuve-et-Labrador', 'Nouvelle-Écosse', 'Ontario', 'Île-du-Prince-Édouard', 'Québec', 'Saskatchewan' + 'Alberta', 'Colombie-Britannique', 'Manitoba', 'Nouveau-Brunswick', 'Terre-Neuve-et-Labrador', 'Nouvelle-Écosse', 'Ontario', 'Île-du-Prince-Édouard', 'Québec', 'Saskatchewan' ); protected static $stateAbbr = array( diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_CH/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_CH/Company.php index e2b4d4e8..a4e91eaf 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/fr_CH/Company.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_CH/Company.php @@ -11,5 +11,5 @@ class Company extends \Faker\Provider\fr_FR\Company '{{lastName}}', ); - protected static $companySuffix = array('AG', 'Sàrl'); + protected static $companySuffix = array('AG', 'Sàrl', 'SA', 'GmbH'); } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Address.php index 537a9932..5cd1f4e5 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Address.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Address.php @@ -75,6 +75,16 @@ class Address extends \Faker\Provider\Address array('971' => 'Guadeloupe'), array('972' => 'Martinique'), array('973' => 'Guyane'), array('974' => 'La Réunion'), array('976' => 'Mayotte') ); + protected static $secondaryAddressFormats = array('Apt. ###', 'Suite ###', 'Étage ###', "Bât. ###", "Chambre ###"); + + /** + * @example 'Appt. 350' + */ + public static function secondaryAddress() + { + return static::numerify(static::randomElement(static::$secondaryAddressFormats)); + } + /** * @example 'rue' */ diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Company.php index e1aca223..9112802c 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Company.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Company.php @@ -112,7 +112,7 @@ class Company extends \Faker\Provider\Company */ public function siret($formatted = true) { - $siret = $this->siren(false); + $siret = self::siren(false); $nicFormat = static::randomElement(static::$siretNicFormats); $siret .= $this->numerify($nicFormat); $siret .= Luhn::computeCheckDigit($siret); @@ -129,9 +129,9 @@ class Company extends \Faker\Provider\Company * @see http://fr.wikipedia.org/wiki/Syst%C3%A8me_d%27identification_du_r%C3%A9pertoire_des_entreprises * @return string */ - public function siren($formatted = true) + public static function siren($formatted = true) { - $siren = $this->numerify('%#######'); + $siren = self::numerify('%#######'); $siren .= Luhn::computeCheckDigit($siren); if ($formatted) { $siren = substr($siren, 0, 3) . ' ' . substr($siren, 3, 3) . ' ' . substr($siren, 6, 3); diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Payment.php index 5d5ff895..d436dfe3 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Payment.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/Payment.php @@ -19,9 +19,14 @@ class Payment extends \Faker\Provider\Payment */ public function vat($spacedNationalPrefix = true) { - $prefix = ($spacedNationalPrefix) ? "FR " : "FR"; - - return sprintf("%s%s%s%s", $prefix, self::randomNumber(2, true), $this->siren($spacedNationalPrefix)); + $siren = Company::siren(false); + $key = (12 + 3 * ($siren % 97)) % 97; + $pattern = "%s%'.02d%s"; + if ($spacedNationalPrefix) { + $siren = trim(chunk_split($siren, 3, ' ')); + $pattern = "%s %'.02d %s"; + } + return sprintf($pattern, 'FR', $key, $siren); } /** diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/PhoneNumber.php index 52736050..7c0bd9d5 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/PhoneNumber.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_FR/PhoneNumber.php @@ -15,7 +15,7 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber '+33 (0)5 ## ## ## ##', '+33 (0)6 ## ## ## ##', '+33 (0)7 {{phoneNumber07WithSeparator}}', - '+33 (0)8 ## ## ## ##', + '+33 (0)8 {{phoneNumber08WithSeparator}}', '+33 (0)9 ## ## ## ##', '+33 1 ## ## ## ##', '+33 1 ## ## ## ##', @@ -25,7 +25,7 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber '+33 5 ## ## ## ##', '+33 6 ## ## ## ##', '+33 7 {{phoneNumber07WithSeparator}}', - '+33 8 ## ## ## ##', + '+33 8 {{phoneNumber08WithSeparator}}', '+33 9 ## ## ## ##', '01########', '01########', @@ -35,7 +35,7 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber '05########', '06########', '07{{phoneNumber07}}', - '08########', + '08{{phoneNumber08}}', '09########', '01 ## ## ## ##', '01 ## ## ## ##', @@ -45,19 +45,28 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber '05 ## ## ## ##', '06 ## ## ## ##', '07 {{phoneNumber07WithSeparator}}', - '08 ## ## ## ##', + '08 {{phoneNumber08WithSeparator}}', '09 ## ## ## ##', ); // Mobile phone numbers start by 06 and 07 // 06 is the most common prefix protected static $mobileFormats = array( + '+33 (0)6 ## ## ## ##', '+33 6 ## ## ## ##', + '+33 (0)7 {{phoneNumber07WithSeparator}}', '+33 7 {{phoneNumber07WithSeparator}}', '06########', - '07########', + '07{{phoneNumber07}}', '06 ## ## ## ##', - '07 ## ## ## ##', + '07 {{phoneNumber07WithSeparator}}', + ); + + protected static $serviceFormats = array( + '+33 (0)8 {{phoneNumber08WithSeparator}}', + '+33 8 {{phoneNumber08WithSeparator}}', + '08 {{phoneNumber08WithSeparator}}', + '08{{phoneNumber08}}', ); public function phoneNumber07() @@ -79,11 +88,54 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber return $phoneNumber; } + public function phoneNumber08() + { + $phoneNumber = $this->phoneNumber08WithSeparator(); + $phoneNumber = str_replace(' ', '', $phoneNumber); + return $phoneNumber; + } + + /** + * Valid formats for 08: + * + * 0# ## ## ## + * 1# ## ## ## + * 2# ## ## ## + * 91 ## ## ## + * 92 ## ## ## + * 93 ## ## ## + * 97 ## ## ## + * 98 ## ## ## + * 99 ## ## ## + * + * Formats 089(4|6)## ## ## are valid, but will be + * attributed when other 089 resource ranges are exhausted. + * + * @see https://www.arcep.fr/index.php?id=8146#c9625 + * @see https://issuetracker.google.com/u/1/issues/73269839 + */ + public function phoneNumber08WithSeparator() + { + $regex = '([012]{1}\d{1}|(9[1-357-9])( \d{2}){3}'; + return $this->regexify($regex); + } + /** * @example '0601020304' */ - public static function mobileNumber() + public function mobileNumber() { - return static::numerify(static::randomElement(static::$mobileFormats)); + $format = static::randomElement(static::$mobileFormats); + + return static::numerify($this->generator->parse($format)); + } + /** + * @example '0891951357' + */ + public function serviceNumber() + { + $format = static::randomElement(static::$serviceFormats); + + return static::numerify($this->generator->parse($format)); } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/hu_HU/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/hu_HU/Address.php index 7c4f4903..47abe74e 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/hu_HU/Address.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/hu_HU/Address.php @@ -120,8 +120,8 @@ class Address extends \Faker\Provider\Address * Source: https://hu.wikipedia.org/wiki/Magyarorsz%C3%A1g_v%C3%A1rosainak_list%C3%A1ja */ protected static $capitals = array('Budapest'); - protected static $bigCities = array(' - Békéscsaba', 'Debrecen', 'Dunaújváros', 'Eger', 'Érd', 'Győr', 'Hódmezővásárhely', 'Kaposvár', 'Kecskemét', 'Miskolc', 'Nagykanizsa', 'Nyíregyháza', 'Pécs', 'Salgótarján', 'Sopron', 'Szeged', 'Székesfehérvár', 'Szekszárd', 'Szolnok', 'Szombathely', 'Tatabánya', 'Veszprém', 'Zalaegerszeg' + protected static $bigCities = array( + 'Békéscsaba', 'Debrecen', 'Dunaújváros', 'Eger', 'Érd', 'Győr', 'Hódmezővásárhely', 'Kaposvár', 'Kecskemét', 'Miskolc', 'Nagykanizsa', 'Nyíregyháza', 'Pécs', 'Salgótarján', 'Sopron', 'Szeged', 'Székesfehérvár', 'Szekszárd', 'Szolnok', 'Szombathely', 'Tatabánya', 'Veszprém', 'Zalaegerszeg' ); protected static $smallerCities = array( 'Ajka', 'Aszód', 'Bácsalmás', diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/it_IT/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/it_IT/Company.php index f27499a3..6acb6daa 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/it_IT/Company.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/it_IT/Company.php @@ -2,6 +2,8 @@ namespace Faker\Provider\it_IT; +use Faker\Calculator\Luhn; + class Company extends \Faker\Provider\Company { protected static $formats = array( @@ -69,6 +71,8 @@ class Company extends \Faker\Provider\Company */ public static function vatId() { - return static::numerify('IT###########'); + $code = sprintf('%s%03d', static::numerify('#######'), static::numberBetween(1, 121)); + + return sprintf('IT%s%d', $code, Luhn::computeCheckDigit($code)); } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/kk_KZ/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/kk_KZ/Person.php index 7e52f74b..4e1e6811 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/kk_KZ/Person.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/kk_KZ/Person.php @@ -209,14 +209,17 @@ class Person extends \Faker\Provider\Person $birthDate = DateTime::dateTimeBetween(); } - $population = mt_rand(1000, 2000); - $century = self::getCenturyByYear((int) $birthDate->format('Y')); + do { + $population = mt_rand(1000, 2000); + $century = self::getCenturyByYear((int) $birthDate->format('Y')); - $iin = $birthDate->format('ymd'); - $iin .= (string) self::$genderCenturyMap[$gender][$century]; - $iin .= (string) $population; + $iin = $birthDate->format('ymd'); + $iin .= (string) self::$genderCenturyMap[$gender][$century]; + $iin .= (string) $population; + $checksum = self::checkSum($iin); + } while ($checksum === 10); - return $iin . (string) self::checkSum($iin); + return $iin . (string) $checksum; } /** diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ko_KR/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/ko_KR/PhoneNumber.php index c1c0a2e9..6008bbf3 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/ko_KR/PhoneNumber.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ko_KR/PhoneNumber.php @@ -4,14 +4,39 @@ namespace Faker\Provider\ko_KR; class PhoneNumber extends \Faker\Provider\PhoneNumber { + //reference : https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%A0%84%ED%99%94%EB%B2%88%ED%98%B8_%EC%B2%B4%EA%B3%84 + protected static $formats = array( - '010-####-####', + //local area phone format '070-####-####', '02-####-####', '03#-####-####', '04#-####-####', '05#-####-####', '06#-####-####', - '1588-####', + + //cell phone format + '010-####-####', + + //others: Intelligent Network(기간통신사업자) + '15##-####', + '16##-####', + '18##-####', ); + + public function localAreaPhoneNumber() + { + $format = self::randomElement(array_slice(static::$formats, 0, 6)); + + return self::numerify($this->generator->parse($format)); + } + + + + public function cellPhoneNumber() + { + $format = self::randomElement(array_slice(static::$formats, 6, 1)); + + return self::numerify($this->generator->parse($format)); + } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/lv_LV/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/lv_LV/Address.php index 9b098491..6f53770b 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/lv_LV/Address.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/lv_LV/Address.php @@ -13,32 +13,35 @@ class Address extends \Faker\Provider\Address protected static $buildingNumber = array('##'); protected static $postcode = array('LV ####'); + + /** + * @link https://lv.wikipedia.org/wiki/Suver%C4%93no_valstu_uzskait%C4%ABjums + */ protected static $country = array( - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica (the territory South of 60 deg S)', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'British Virgin Islands', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Congo', 'Cook Islands', 'Costa Rica', 'Cote d\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', - 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', - 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', - 'Faroe Islands', 'Falkland Islands (Malvinas)', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', - 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Isle of Man', 'Israel', 'Italy', - 'Jamaica', 'Japan', 'Jersey', 'Jordan', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Korea', 'Kuwait', 'Kyrgyz Republic', - 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', - 'Oman', - 'Pakistan', 'Palau', 'Palestinian Territories', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Islands', 'Poland', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', - 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia (Slovak Republic)', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'United States Minor Outlying Islands', 'United States Virgin Islands', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe' + 'Afganistāna', 'Albānija', 'Alžīrija', 'Amerikas Savienotās Valstis', 'Andora', 'Angola', 'Antigva un Barbuda', + 'Apvienotie Arābu Emirāti', 'Argentīna', 'Armēnija', 'Austrālija', 'Austrija', 'Austrumtimora', 'Azerbaidžāna', + 'Bahamas', 'Bahreina', 'Baltkrievija', 'Bangladeša', 'Barbadosa', 'Beliza', 'Beļģija', 'Benina', 'Bolīvija', + 'Bosnija un Hercegovina', 'Botsvana', 'Brazīlija', 'Bruneja', 'Bulgārija', 'Burkinafaso', 'Burundi', 'Butāna', + 'Centrālāfrikas Republika', 'Čada', 'Čehija', 'Čīle', 'Dānija', 'Dienvidāfrikas Republika', 'Dienvidkoreja', + 'Dienvidsudāna', 'Dominika', 'Dominikāna', 'Džibutija', 'Ekvadora', 'Ekvatoriālā Gvineja', 'Eritreja', + 'Etiopija', 'Ēģipte', 'Fidži', 'Filipīnas', 'Francija', 'Gabona', 'Gajāna', 'Gambija', 'Gana', 'Grenada', + 'Grieķija', 'Gruzija', 'Gvatemala', 'Gvineja', 'Gvineja-Bisava', 'Haiti', 'Hondurasa', 'Horvātija', 'Igaunija', + 'Indija', 'Indonēzija', 'Irāka', 'Irāna', 'Islande', 'Itālija', 'Izraēla', 'Īrija', 'Jamaika', 'Japāna', + 'Jaunzēlande', 'Jemena', 'Jordānija', 'Kaboverde', 'Kambodža', 'Kamerūna', 'Kanāda', 'Katara', 'Kazahstāna', + 'Kenija', 'Kipra', 'Kirgizstāna', 'Kiribati', 'Kolumbija', 'Komoru Salas', 'Kongo', 'Kongo DR', 'Kostarika', + 'Kotdivuāra', 'Krievija', 'Kuba', 'Kuveita', 'Ķīna', 'Laosa', 'Latvija', 'Lesoto', 'Libāna', 'Libērija', + 'Lībija', 'Lielbritānija', 'Lietuva', 'Lihtenšteina', 'Luksemburga', 'Madagaskara', 'Maķedonijas Republika', + 'Malaizija', 'Malāvija', 'Maldīvija', 'Mali', 'Malta', 'Maroka', 'Māršala Salas', 'Maurīcija', 'Mauritānija', + 'Meksika', 'Melnkalne', 'Mikronēzija', 'Mjanma', 'Moldova', 'Monako', 'Mongolija', 'Mozambika', 'Namībija', + 'Nauru', 'Nepāla', 'Nīderlande', 'Nigēra', 'Nigērija', 'Nikaragva', 'Norvēģija', 'Omāna', 'Pakistāna', 'Palau', + 'Panama', 'Papua-Jaungvineja', 'Paragvaja', 'Peru', 'Polija', 'Portugāle', 'Ruanda', 'Rumānija', 'Salvadora', + 'Samoa', 'Sanmarīno', 'Santome un Prinsipi', 'Saūda Arābija', 'Seišelu Salas', 'Senegāla', + 'Sentkitsa un Nevisa', 'Sentlūsija', 'Sentvinsenta un Grenadīnas', 'Serbija', 'Singapūra', 'Sīrija', + 'Sjerraleone', 'Slovākija', 'Slovēnija', 'Somālija', 'Somija', 'Spānija', 'Sudāna', 'Surinama', 'Svazilenda', + 'Šrilanka', 'Šveice', 'Tadžikistāna', 'Taizeme', 'Tanzānija', 'Togo', 'Tonga', 'Trinidāda un Tobāgo', + 'Tunisija', 'Turcija', 'Turkmenistāna', 'Tuvalu', 'Uganda', 'Ukraina', 'Ungārija', 'Urugvaja', 'Uzbekistāna', + 'Vācija', 'Vanuatu', 'Vatikāns', 'Venecuēla', 'Vjetnama', 'Zālamana Salas', 'Zambija', 'Ziemeļkoreja', + 'Zimbabve', 'Zviedrija', ); protected static $region = array( diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php new file mode 100644 index 00000000..5ec2f751 --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php @@ -0,0 +1,708 @@ + Townships + * @link https://en.wikipedia.org/wiki/Template:Johor > Townships + * @link https://en.wikipedia.org/wiki/Template:Kedah > Townships + * @link https://en.wikipedia.org/wiki/Template:Kelantan > Townships + * @link https://en.wikipedia.org/wiki/Template:Melaka > Townships + * @link https://en.wikipedia.org/wiki/Template:Negeri_Sembilan > Townships + * @link https://en.wikipedia.org/wiki/Template:Perak > Townships + * @link https://en.wikipedia.org/wiki/Template:Penang > Townships + * @link https://en.wikipedia.org/wiki/Template:Selangor > Townships + * @link https://en.wikipedia.org/wiki/Template:Terengganu > Townships + */ + protected static $townshipPrefix = array( + 'Alam','Apartment','Ara', + 'Bandar','Bandar','Bandar','Bandar','Bandar','Bandar', + 'Bandar Bukit','Bandar Seri','Bandar Sri','Bandar Baru','Batu','Bukit', + 'Desa','Damansara', + 'Kampung','Kampung Baru','Kampung Baru','Kondominium','Kota', + 'Laman','Lembah', + 'Medan', + 'Pandan','Pangsapuri','Petaling','Puncak', + 'Seri','Sri', + 'Taman','Taman','Taman','Taman','Taman','Taman', + 'Taman Desa', + ); + protected static $townshipSuffix = array( + 'Aman','Amanjaya','Anggerik','Angkasa','Antarabangsa','Awan', + 'Bahagia','Bangsar','Baru','Belakong','Bendahara','Bestari','Bintang','Brickfields', + 'Casa','Changkat','Country Heights', + 'Damansara','Damai','Dato Harun','Delima','Duta', + 'Flora', + 'Gembira','Genting', + 'Harmoni','Hartamas', + 'Impian','Indah','Intan', + 'Jasa','Jaya', + 'Keramat','Kerinchi','Kiara','Kinrara','Kuchai', + 'Laksamana', + 'Mahkota','Maluri','Manggis','Maxwell','Medan','Melawati','Menjalara','Meru','Mulia','Mutiara', + 'Pahlawan','Perdana','Pertama','Permai','Pelangi','Petaling','Pinang','Puchong','Puteri','Putra', + 'Rahman','Rahmat','Raya','Razak','Ria', + 'Saujana','Segambut','Selamat','Selatan','Semarak','Sentosa','Seputeh','Setapak','Setia Jaya','Sinar','Sungai Besi','Sungai Buaya','Sungai Long','Suria', + 'Tasik Puteri','Tengah','Timur','Tinggi','Tropika','Tun Hussein Onn','Tun Perak','Tunku', + 'Ulu','Utama','Utara', + 'Wangi', + ); + + /** + * @link https://en.wikipedia.org/wiki/Template:Greater_Kuala_Lumpur + * @link https://en.wikipedia.org/wiki/Template:Johor + * @link https://en.wikipedia.org/wiki/Template:Kedah + * @link https://en.wikipedia.org/wiki/Template:Kelantan + * @link https://en.wikipedia.org/wiki/Template:Labuan + * @link https://en.wikipedia.org/wiki/Template:Melaka + * @link https://en.wikipedia.org/wiki/Template:Negeri_Sembilan + * @link https://en.wikipedia.org/wiki/Template:Pahang + * @link https://en.wikipedia.org/wiki/Template:Perak + * @link https://en.wikipedia.org/wiki/Template:Perlis + * @link https://en.wikipedia.org/wiki/Template:Penang + * @link https://en.wikipedia.org/wiki/Template:Sabah + * @link https://en.wikipedia.org/wiki/Template:Sarawak + * @link https://en.wikipedia.org/wiki/Template:Selangor + * @link https://en.wikipedia.org/wiki/Template:Terengganu + */ + protected static $towns = array( + 'johor' => array( + 'Ayer Hitam', + 'Batu Pahat','Bukit Gambir','Bukit Kepong','Bukit Naning', + 'Desaru', + 'Endau', + 'Gelang Patah','Gemas Baharu', + 'Iskandar Puteri', + 'Jementah','Johor Lama','Johor Bahru', + 'Kempas','Kluang','Kota Iskandar','Kota Tinggi','Kukup','Kulai', + 'Labis ','Larkin','Layang-Layang', + 'Mersing','Muar', + 'Pagoh','Paloh','Parit Jawa','Pasir Gudang','Pekan Nanas','Permas Jaya','Pontian Kechil', + 'Renggam', + 'Segamat','Senai','Simpang Renggam','Skudai','Sri Gading', + 'Tangkak','Tebrau', + 'Ulu Tiram', + 'Yong Peng', + ), + 'kedah' => array( + 'Alor Setar', + 'Baling','Bukit Kayu Hitam', + 'Changlun', + 'Durian Burung', + 'Gurun', + 'Jitra', + 'Kepala Batas','Kuah','Kuala Kedah','Kuala Ketil','Kulim', + 'Langgar','Lunas', + 'Merbok', + 'Padang Serai','Pendang', + 'Serdang','Sintok','Sungai Petani', + 'Tawar, Baling', + 'Yan', + ), + 'kelantan' => array( + 'Bachok','Bunut Payong', + 'Dabong', + 'Gua Musang', + 'Jeli', + 'Ketereh','Kota Bharu','Kuala Krai', + 'Lojing', + 'Machang', + 'Pasir Mas','Pasir Puteh', + 'Rantau Panjang', + 'Salor', + 'Tok Bali', + 'Wakaf Bharu','Wakaf Che Yeh', + ), + 'kl' => array( + 'Ampang', + 'Bandar Tasik Selatan','Bandar Tun Razak','Bangsar','Batu','Brickfields','Bukit Bintang','Bukit Jalil','Bukit Tunku', + 'Cheras','Chow Kit', + 'Damansara Town Centre','Dang Wangi','Desa Petaling','Desa Tun Hussein Onn', + 'Jinjang', + 'Kampung Baru','Kampung Kasipillay','Kampung Pandan','Kampung Sungai Penchala','Kepong','KLCC','Kuchai Lama', + 'Lake Gardens','Lembah Pantai', + 'Medan Tuanku','Mid Valley City','Mont Kiara', + 'Pantai Dalam','Pudu', + 'Salak South','Segambut','Semarak','Sentul','Setapak','Setiawangsa','Seputeh','Sri Hartamas','Sri Petaling','Sungai Besi', + 'Taman Desa','Taman Melawati','Taman OUG','Taman Tun Dr Ismail','Taman U-Thant','Taman Wahyu','Titiwangsa','Tun Razak Exchange', + 'Wangsa Maju', + ), + 'labuan' => array( + 'Batu Manikar', + 'Kiamsam', + 'Layang-Layang', + 'Rancha-Rancha' + ), + 'melaka' => array( + 'Alor Gajah', + 'Bandaraya Melaka','Batu Berendam','Bukit Beruang','Bukit Katil', + 'Cheng', + 'Durian Tunggal', + 'Hang Tuah Jaya', + 'Jasin', + 'Klebang', + 'Lubuk China', + 'Masjid Tanah', + 'Naning', + 'Pekan Asahan', + 'Ramuan China', + 'Simpang Ampat', + 'Tanjung Bidara','Telok Mas', + 'Umbai', + ), + 'nsembilan' => array( + 'Ayer Kuning','Ampangan', + 'Bahau','Batang Benar', + 'Chembong', + 'Dangi', + 'Gemas', + 'Juasseh', + 'Kuala Pilah', + 'Labu','Lenggeng','Linggi', + 'Mantin', + 'Nilai', + 'Pajam','Pedas','Pengkalan Kempas','Port Dickson', + 'Rantau','Rompin', + 'Senawang','Seremban','Sungai Gadut', + 'Tampin','Tiroi', + ), + 'pahang' => array( + 'Bandar Tun Razak','Bentong','Brinchang','Bukit Fraser','Bukit Tinggi', + 'Chendor', + 'Gambang','Genting Highlands','Genting Sempah', + 'Jerantut', + 'Karak','Kemayan','Kota Shahbandar','Kuala Lipis','Kuala Pahang','Kuala Rompin','Kuantan', + 'Lanchang','Lubuk Paku', + 'Maran','Mengkuang','Mentakab', + 'Nenasi', + 'Panching', + 'Pekan','Penor', + 'Raub', + 'Sebertak','Sungai Lembing', + 'Tanah Rata','Tanjung Sepat','Tasik Chini','Temerloh','Teriang','Tringkap', + ), + 'penang' => array( + 'Air Itam', + 'Balik Pulau','Batu Ferringhi','Batu Kawan','Bayan Lepas','Bukit Mertajam','Butterworth', + 'Gelugor','George Town', + 'Jelutong', + 'Kepala Batas', + 'Nibong Tebal', + 'Permatang Pauh','Pulau Tikus', + 'Simpang Ampat', + 'Tanjung Bungah','Tanjung Tokong', + ), + 'perak' => array( + 'Ayer Tawar', + 'Bagan Serai','Batu Gajah','Behrang','Bidor','Bukit Gantang','Bukit Merah', + 'Changkat Jering','Chemor','Chenderiang', + 'Damar Laut', + 'Gerik','Gopeng','Gua Tempurung', + 'Hutan Melintang', + 'Ipoh', + 'Jelapang', + 'Kamunting','Kampar','Kuala Kangsar', + 'Lekir','Lenggong','Lumut', + 'Malim Nawar','Manong','Menglembu', + 'Pantai Remis','Parit','Parit Buntar','Pasir Salak','Proton City', + 'Simpang Pulai','Sitiawan','Slim River','Sungai Siput','Sungkai', + 'Taiping','Tambun','Tanjung Malim','Tanjung Rambutan','Tapah','Teluk Intan', + 'Ulu Bernam', + ), + 'perlis' => array( + 'Arau', + 'Beseri', + 'Chuping', + 'Kaki Bukit','Kangar','Kuala Perlis', + 'Mata Ayer', + 'Padang Besar', + 'Sanglang','Simpang Empat', + 'Wang Kelian', + ), + 'putrajaya' => array( + 'Precinct 1','Precinct 4','Precinct 5', + 'Precinct 6','Precinct 8','Precinct 10', + 'Precinct 11','Precinct 12','Precinct 13', + 'Precinct 16','Precinct 18','Precinct 19', + ), + 'sabah' => array( + 'Beaufort','Bingkor', + 'Donggongon', + 'Inanam', + 'Kinabatangan','Kota Belud','Kota Kinabalu','Kuala Penyu','Kimanis','Kundasang', + 'Lahad Datu','Likas','Lok Kawi', + 'Manggatal', + 'Nabawan', + 'Papar','Pitas', + 'Ranau', + 'Sandakan','Sapulut','Semporna','Sepanggar', + 'Tambunan','Tanjung Aru','Tawau','Tenom','Tuaran', + 'Weston', + ), + 'sarawak' => array( + 'Asajaya', + 'Ba\'kelalan','Bario','Batu Kawa','Batu Niah','Betong','Bintulu', + 'Dalat','Daro', + 'Engkilili', + 'Julau', + 'Kapit','Kota Samarahan','Kuching', + 'Lawas','Limbang','Lubok Antu', + 'Marudi','Matu','Miri', + 'Oya', + 'Pakan', + 'Sadong Jaya','Sematan','Sibu','Siburan','Song','Sri Aman','Sungai Tujoh', + 'Tanjung Kidurong','Tanjung Manis','Tatau', + ), + 'selangor' => array( + 'Ampang','Assam Jawa', + 'Balakong','Bandar Baru Bangi','Bandar Baru Selayang','Bandar Sunway','Bangi','Banting','Batang Kali','Batu Caves','Bestari Jaya','Bukit Lanjan', + 'Cheras','Cyberjaya', + 'Damansara','Dengkil', + 'Ijok', + 'Jenjarom', + 'Kajang','Kelana Jaya','Klang','Kuala Kubu Bharu','Kuala Selangor','Kuang', + 'Lagong', + 'Morib', + 'Pandamaran','Paya Jaras','Petaling Jaya','Port Klang','Puchong', + 'Rasa','Rawang', + 'Salak Tinggi','Sekinchan','Selayang','Semenyih','Sepang','Serendah','Seri Kembangan','Shah Alam','Subang','Subang Jaya','Sungai Buloh', + 'Tanjung Karang','Tanjung Sepat', + 'Ulu Klang','Ulu Yam', + ), + 'terengganu' => array( + 'Ajil', + 'Bandar Ketengah Jaya','Bandar Permaisuri','Bukit Besi','Bukit Payong', + 'Chukai', + 'Jerteh', + 'Kampung Raja','Kerteh','Kijal','Kuala Besut','Kuala Berang','Kuala Dungun','Kuala Terengganu', + 'Marang','Merchang', + 'Pasir Raja', + 'Rantau Abang', + 'Teluk Kalung', + 'Wakaf Tapai', + ) + ); + + /** + * @link https://en.wikipedia.org/wiki/States_and_federal_territories_of_Malaysia + */ + protected static $states = array( + 'johor' => array( + 'Johor Darul Ta\'zim', + 'Johor' + ), + 'kedah' => array( + 'Kedah Darul Aman', + 'Kedah' + ), + 'kelantan' => array( + 'Kelantan Darul Naim', + 'Kelantan' + ), + 'kl' => array( + 'KL', + 'Kuala Lumpur', + 'WP Kuala Lumpur' + ), + 'labuan' => array( + 'Labuan' + ), + 'melaka' => array( + 'Malacca', + 'Melaka' + ), + 'nsembilan' => array( + 'Negeri Sembilan Darul Khusus', + 'Negeri Sembilan' + ), + 'pahang' => array( + 'Pahang Darul Makmur', + 'Pahang' + ), + 'penang' => array( + 'Penang', + 'Pulau Pinang' + ), + 'perak' => array( + 'Perak Darul Ridzuan', + 'Perak' + ), + 'perlis' => array( + 'Perlis Indera Kayangan', + 'Perlis' + ), + 'putrajaya' => array( + 'Putrajaya' + ), + 'sabah' => array( + 'Sabah' + ), + 'sarawak' => array( + 'Sarawak' + ), + 'selangor' => array( + 'Selangor Darul Ehsan', + 'Selangor' + ), + 'terengganu' => array( + 'Terengganu Darul Iman', + 'Terengganu' + ) + ); + + /** + * @link https://ms.wikipedia.org/wiki/Senarai_negara_berdaulat + */ + protected static $country = array( + 'Abkhazia','Afghanistan','Afrika Selatan','Republik Afrika Tengah','Akrotiri dan Dhekelia','Albania','Algeria','Amerika Syarikat','Andorra','Angola','Antigua dan Barbuda','Arab Saudi','Argentina','Armenia','Australia','Austria','Azerbaijan', + 'Bahamas','Bahrain','Bangladesh','Barbados','Belanda','Belarus','Belgium','Belize','Benin','Bhutan','Bolivia','Bonaire','Bosnia dan Herzegovina','Botswana','Brazil','Brunei Darussalam','Bulgaria','Burkina Faso','Burundi', + 'Cameroon','Chad','Chile','Republik Rakyat China','Republik China di Taiwan','Colombia','Comoros','Republik Demokratik Congo','Republik Congo','Kepulauan Cook','Costa Rica','Côte d\'Ivoire (Ivory Coast)','Croatia','Cuba','Curaçao','Cyprus','Republik Turki Cyprus Utara','Republik Czech', + 'Denmark','Djibouti','Dominika','Republik Dominika', + 'Ecuador','El Salvador','Emiriah Arab Bersatu','Eritrea','Estonia', + 'Kepulauan Faroe','Fiji','Filipina','Finland', + 'Gabon','Gambia','Georgia','Ghana','Grenada','Greece (Yunani)','Guatemala','Guinea','Guinea-Bissau','Guinea Khatulistiwa','Guiana Perancis','Guyana', + 'Habsyah (Etiopia)','Haiti','Honduras','Hungary', + 'Iceland','India','Indonesia','Iran','Iraq','Ireland','Israel','Itali', + 'Jamaika','Jepun','Jerman','Jordan', + 'Kanada','Kazakhstan','Kemboja','Kenya','Kiribati','Korea Selatan','Korea Utara','Kosovo','Kuwait','Kyrgyzstan', + 'Laos','Latvia','Lesotho','Liberia','Libya','Liechtenstein','Lithuania','Lubnan','Luxembourg', + 'Macedonia','Madagaskar','Maghribi','Malawi','Malaysia','Maldives','Mali','Malta','Kepulauan Marshall','Mauritania','Mauritius','Mesir','Mexico','Persekutuan Micronesia','Moldova','Monaco','Montenegro','Mongolia','Mozambique','Myanmar', + 'Namibia','Nauru','Nepal','New Zealand','Nicaragua','Niger','Nigeria','Niue','Norway', + 'Oman','Ossetia Selatan', + 'Pakistan','Palau','Palestin','Panama','Papua New Guinea','Paraguay','Perancis','Peru','Poland','Portugal', + 'Qatar', + 'Romania','Russia','Rwanda', + 'Sahara Barat','Saint Kitts dan Nevis','Saint Lucia','Saint Vincent dan Grenadines','Samoa','San Marino','São Tomé dan Príncipe','Scotland','Senegal','Sepanyol','Serbia','Seychelles','Sierra Leone','Singapura','Slovakia','Slovenia','Kepulauan Solomon','Somalia','Somaliland','Sri Lanka','Sudan','Sudan Selatan','Suriname','Swaziland','Sweden','Switzerland','Syria', + 'Tajikistan','Tanjung Verde','Tanzania','Thailand','Timor Leste','Togo','Tonga','Transnistria','Trinidad dan Tobago','Tunisia','Turki','Turkmenistan','Tuvalu', + 'Uganda','Ukraine','United Kingdom','Uruguay','Uzbekistan', + 'Vanuatu','Kota Vatican','Venezuela','Vietnam', + 'Yaman', + 'Zambia','Zimbabwe', + ); + + /** + * Return a building prefix + * + * @example 'No.' + * + * @return @string + */ + public static function buildingPrefix() + { + return static::randomElement(static::$buildingPrefix); + } + + /** + * Return a building number + * + * @example '123' + * + * @return @string + */ + public static function buildingNumber() + { + return static::toUpper(static::lexify(static::numerify(static::randomElement(static::$buildingNumber)))); + } + + /** + * Return a street prefix + * + * @example 'Jalan' + */ + public function streetPrefix() + { + $format = static::randomElement(static::$streetPrefix); + + return $this->generator->parse($format); + } + + /** + * Return a complete streename + * + * @example 'Jalan Utama 7' + * + * @return @string + */ + public function streetName() + { + $format = static::toUpper(static::lexify(static::numerify(static::randomElement(static::$streetNameFormats)))); + + return $this->generator->parse($format); + } + + /** + * Return a randown township + * + * @example Taman Bahagia + * + * @return @string + */ + public function township() + { + $format = static::toUpper(static::lexify(static::numerify(static::randomElement(static::$townshipFormats)))); + + return $this->generator->parse($format); + } + + /** + * Return a township prefix abbreviation + * + * @example 'USJ' + * + * @return @string + */ + public function townshipPrefixAbbr() + { + return static::randomElement(static::$townshipPrefixAbbr); + } + + /** + * Return a township prefix + * + * @example 'Taman' + * + * @return @string + */ + public function townshipPrefix() + { + return static::randomElement(static::$townshipPrefix); + } + + /** + * Return a township suffix + * + * @example 'Bahagia' + */ + public function townshipSuffix() + { + return static::randomElement(static::$townshipSuffix); + } + + /** + * Return a postcode based on state + * + * @example '55100' + * @link https://en.wikipedia.org/wiki/Postal_codes_in_Malaysia#States + * + * @param null|string $state 'state' or null + * + * @return @string + */ + public static function postcode($state = null) + { + $format = array( + 'perlis' => array( // (01000 - 02800) + '0' . mt_rand(1000, 2800) + ), + 'kedah' => array( // (05000 - 09810) + '0' . mt_rand(5000, 9810) + ), + 'penang' => array( // (10000 - 14400) + mt_rand(10000, 14400) + ), + 'kelantan' => array( // (15000 - 18500) + mt_rand(15000, 18500) + ), + 'terengganu' => array( // (20000 - 24300) + mt_rand(20000, 24300) + ), + 'pahang' => array( // (25000 - 28800 | 39000 - 39200 | 49000, 69000) + mt_rand(25000, 28800), + mt_rand(39000, 39200), + mt_rand(49000, 69000) + ), + 'perak' => array( // (30000 - 36810) + mt_rand(30000, 36810) + ), + 'selangor' => array( // (40000 - 48300 | 63000 - 68100) + mt_rand(40000, 48300), + mt_rand(63000, 68100) + ), + 'kl' => array( // (50000 - 60000) + mt_rand(50000, 60000), + ), + 'putrajaya' => array( // (62000 - 62988) + mt_rand(62000, 62988) + ), + 'nsembilan' => array( // (70000 - 73509) + mt_rand(70000, 73509) + ), + 'melaka' => array( // (75000 - 78309) + mt_rand(75000, 78309) + ), + 'johor' => array( // (79000 - 86900) + mt_rand(79000, 86900) + ), + 'labuan' => array( // (87000 - 87033) + mt_rand(87000, 87033) + ), + 'sabah' => array( // (88000 - 91309) + mt_rand(88000, 91309) + ), + 'sarawak' => array( // (93000 - 98859) + mt_rand(93000, 98859) + ) + ); + + $postcode = is_null($state) ? static::randomElement($format) : $format[$state]; + return (string)static::randomElement($postcode); + } + + /** + * Return the complete town address with matching postcode and state + * + * @example 55100 Bukit Bintang, Kuala Lumpur + * + * @return @string + */ + public function townState() + { + $state = static::randomElement(array_keys(static::$states)); + $postcode = static::postcode($state); + $town = static::randomElement(static::$towns[$state]); + $state = static::randomElement(static::$states[$state]); + + return $postcode . ' ' . $town . ', ' . $state; + } + + /** + * Return a random city (town) + * + * @example 'Ampang' + * + * @return @string + */ + public function city() + { + $state = static::randomElement(array_keys(static::$towns)); + return static::randomElement(static::$towns[$state]); + } + + /** + * Return a random state + * + * @example 'Johor' + * + * @return @string + */ + public function state() + { + $state = static::randomElement(array_keys(static::$states)); + return static::randomElement(static::$states[$state]); + } +} diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Company.php new file mode 100644 index 00000000..f2e2f5f4 --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Company.php @@ -0,0 +1,105 @@ +generator->parse($formats); + } + + /** + * Return Peninsular prefix alphabet + * + * @example 'W' + * + * @return @string + */ + public static function peninsularPrefix() + { + return static::randomElement(static::$peninsularPrefix); + } + + /** + * Return Sarawak state prefix alphabet + * + * @example 'QA' + * + * @return @string + */ + public static function sarawakPrefix() + { + return static::randomElement(static::$sarawakPrefix); + } + + /** + * Return Sabah state prefix alphabet + * + * @example 'SA' + * + * @return @string + */ + public static function sabahPrefix() + { + return static::randomElement(static::$sabahPrefix); + } + + /** + * Return specialty licence plate prefix + * + * @example 'G1M' + * + * @return @string + */ + public static function specialPrefix() + { + return static::randomElement(static::$specialPrefix); + } + + /** + * Return a valid license plate alphabet + * + * @example 'A' + * + * @return @string + */ + public static function validAlphabet() + { + return static::randomElement(static::$validAlphabets); + } + + /** + * Return a valid number sequence between 1 and 9999 + * + * @example '1234' + * + * @return @integer + */ + public static function numberSequence() + { + return mt_rand(1, 9999); + } +} diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php new file mode 100644 index 00000000..b70a590f --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php @@ -0,0 +1,244 @@ +generator->parse($formats); + } + + /** + * Return a Malaysian Bank account number + * + * @example '1234567890123456' + * + * @return @string + */ + public function bankAccountNumber() + { + $formats = static::randomElement(static::$bankAccountNumberFormats); + + return static::numerify($formats); + } + + /** + * Return a Malaysian Local Bank + * + * @example 'Public Bank' + * + * @return @string + */ + public static function localBank() + { + return static::randomElement(static::$localBanks); + } + + /** + * Return a Malaysian Foreign Bank + * + * @example 'Citibank Berhad' + * + * @return @string + */ + public static function foreignBank() + { + return static::randomElement(static::$foreignBanks); + } + + /** + * Return a Malaysian Government Bank + * + * @example 'Bank Simpanan Nasional' + * + * @return @string + */ + public static function governmentBank() + { + return static::randomElement(static::$governmentBanks); + } + + /** + * Return a Malaysian insurance company + * + * @example 'AIA Malaysia' + * + * @return @string + */ + public static function insurance() + { + return static::randomElement(static::$insuranceCompanies); + } + + /** + * Return a Malaysian Bank SWIFT Code + * + * @example 'MBBEMYKLXXX' + * + * @return @string + */ + public static function swiftCode() + { + return static::toUpper(static::lexify(static::randomElement(static::$swiftCodes))); + } + + /** + * Return the Malaysian currency symbol + * + * @example 'RM' + * + * @return @string + */ + public static function currencySymbol() + { + return static::randomElement(static::$currencySymbol); + } +} diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Person.php new file mode 100644 index 00000000..7dfaaac5 --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Person.php @@ -0,0 +1,813 @@ +generator->parse(static::randomElement($formats)); + } + + /** + * Return a Malaysian I.C. No. + * + * @example '890123-45-6789' + * + * @link https://en.wikipedia.org/wiki/Malaysian_identity_card#Structure_of_the_National_Registration_Identity_Card_Number_(NRIC) + * + * @param string|null $gender 'male', 'female' or null for any + * @param bool|string|null $hyphen true, false, or any separator characters + * + * @return string + */ + public static function myKadNumber($gender = null, $hyphen = false) + { + // year of birth + $yy = mt_rand(0, 99); + + // month of birth + $mm = DateTime::month(); + + // day of birth + $dd = DateTime::dayOfMonth(); + + // place of birth (1-59 except 17-20) + while (in_array(($pb = mt_rand(1, 59)), array(17, 18, 19, 20))) { + }; + + // random number + $nnn = mt_rand(0, 999); + + // gender digit. Odd = MALE, Even = FEMALE + $g = mt_rand(0, 9); + //Credit: https://gist.github.com/mauris/3629548 + if ($gender === static::GENDER_MALE) { + $g = $g | 1; + } elseif ($gender === static::GENDER_FEMALE) { + $g = $g & ~1; + } + + // formatting with hyphen + if ($hyphen === true) { + $hyphen = "-"; + } else if ($hyphen === false) { + $hyphen = ""; + } + + return sprintf("%02d%02d%02d%s%02d%s%03d%01d", $yy, $mm, $dd, $hyphen, $pb, $hyphen, $nnn, $g); + } +} diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php new file mode 100644 index 00000000..ad199c0d --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php @@ -0,0 +1,217 @@ +generator->parse($format)); + } else { + return static::numerify($this->generator->parse($format)); + } + } + + /** + * Return prefix digits for 011 numbers + * + * @example '10' + * + * @return string + */ + public static function zeroOneOnePrefix() + { + return static::numerify(static::randomElement(static::$zeroOneOnePrefix)); + } + + /** + * Return prefix digits for 014 numbers + * + * @example '2' + * + * @return string + */ + public static function zeroOneFourPrefix() + { + return static::numerify(static::randomElement(static::$zeroOneFourPrefix)); + } + + /** + * Return prefix digits for 015 numbers + * + * @example '1' + * + * @return string + */ + public static function zeroOneFivePrefix() + { + return static::numerify(static::randomElement(static::$zeroOneFivePrefix)); + } + + /** + * Return a Malaysian Fixed Line Phone Number. + * + * @example '+603-4567-8912' + * + * @param bool $countryCodePrefix true, false + * @param bool $formatting true, false + * + * @return string + */ + public function fixedLineNumber($countryCodePrefix = true, $formatting = true) + { + if ($formatting) { + $format = static::randomElement(static::$fixedLineNumberFormatsWithFormatting); + } else { + $format = static::randomElement(static::$fixedLineNumberFormats); + } + + if ($countryCodePrefix) { + return static::countryCodePrefix($formatting) . static::numerify($this->generator->parse($format)); + } else { + return static::numerify($this->generator->parse($format)); + } + } + + /** + * Return a Malaysian VoIP Phone Number. + * + * @example '+6015-678-9234' + * + * @param bool $countryCodePrefix true, false + * @param bool $formatting true, false + * + * @return string + */ + public function voipNumber($countryCodePrefix = true, $formatting = true) + { + if ($formatting) { + $format = static::randomElement(static::$voipNumberWithFormatting); + } else { + $format = static::randomElement(static::$voipNumber); + } + + if ($countryCodePrefix) { + return static::countryCodePrefix($formatting) . static::numerify($this->generator->parse($format)); + } else { + return static::numerify($this->generator->parse($format)); + } + } + + /** + * Return a Malaysian Country Code Prefix. + * + * @example '+6' + * + * @param bool $formatting true, false + * + * @return string + */ + public static function countryCodePrefix($formatting = true) + { + if ($formatting) { + return static::randomElement(static::$plusSymbol) . static::randomElement(static::$countryCodePrefix); + } else { + return static::randomElement(static::$countryCodePrefix); + } + } +} diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Company.php index 027cc9b1..ac9a2a00 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Company.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Company.php @@ -15,5 +15,41 @@ class Company extends \Faker\Provider\Company '{{lastName}} og {{lastName}} {{companySuffix}}' ); - protected static $companySuffix = array('AS', 'DA', 'NUF'); + /** + * Common suffixes + * @link https://www.brreg.no/bedrift/organisasjonsformer/ + */ + protected static $companySuffix = array('ANS', 'AS', 'ASA', 'BA', 'DA', 'ENK', 'GFS', 'KTRF', 'NUF', 'PK', 'SA', 'SPA', 'STI', 'VIFE'); + + /** + * 1500 random job titles from Statistisk Sentralbyrå + * @link http://www.ssb.no/a/yrke/yrke.csv + */ + protected static $jobTitleFormat = array( + 'Administrasjonsdirektør', 'Administrasjonskonsulent', 'Administrasjonssekretær', 'Administrasjonssjef', 'Administrerende Overlege', 'Admiral', 'Advokatassistent', 'Aerobicinstruktør', 'Afis-Fullmektig', 'Agrotekniker', 'Ais-Fullmektig', 'Akrobat', 'Aktivitør', 'Akupunktør', 'Alarmoperatør', 'Allmenningbestyrer', 'Allmennpraktiserende Lege', 'Amanuensis', 'Ambassaderåd', 'Ambassadesekretær', 'Ambulansemedhjelper', 'Ambulansesjef', 'Ambulerende Vaktmester', 'Ammoniakkoker', 'Anestesilege', 'Animatør', 'Anleggsdykker', 'Anleggsgartnermester', 'Anleggsmaskinkjører', 'Anleggsmaskinmekaniker', 'Anleggsoperatør', 'Annenflyger', 'Annonseakkvisitør', 'Annonsebehandler', 'Annonsekonsulent', 'Annonseselger', 'Annonsesjef', 'Anretningshjelp', 'Apotekmedarbeider', 'Arbeidsmedisiner', 'Arbeidssjef', 'Arbeidsstudieingeniør', 'Arbeidsterapeut', 'Arbeidstilrettelegger', 'Arbeidstilsynskontrollør', 'Arbeidstilsynsrådgiver', 'Arkivassistent', 'Arkivmedarbeider', 'Arrestforvarer', 'Asfaltarbeider', 'Asfaltverkarbeider', 'Asfaltør', 'Assistentfotograf', 'Assisterende Administrerende Direktør', 'Assisterende Banksjef', 'Assisterende Bestyrer', 'Assisterende Borer', 'Assisterende Byfogd', 'Assisterende Fylkeshelsesjef', 'Assisterende Fylkeslege', 'Assisterende Fylkesmann', 'Assisterende Helsedirektør', 'Assisterende Kjøkkensjef', 'Assisterende Kommunegartner', 'Assisterende Sjefflygeleder', 'Assisterende Sjefspsykolog', 'Assisterende Sykepleiesjef', 'Assisterende Vaktmester', 'Astrofysiker', 'Astronom', 'Atomfysiker', 'Attache', 'Autoklavoperatør', 'Autoklavpasser', 'Automasjonsingeniør', 'Automatiker', 'Automatiseringsmontør', 'Avdelingsarkitekt', 'Avdelingsbanksjef', 'Avdelingsbetjent', 'Avdelingsdirektør', 'Avdelingsergoterapeut', 'Avdelingsingeniør', 'Avdelingsleder/fysioterapeut', 'Avdelingspsykolog', 'Avdelingssekretær', 'Avdelingssjef', 'Avdelingssjef Akvakultur Mv.', 'Avdelingssjef Restaurant', 'Avdelingssykepleier', 'Avlaster', 'Avlskonsulent', 'Avløser', + 'Babysvømmeinstruktør', 'Badeassistent', 'Badebetjent', 'Bakermester', 'Bakteriolog', 'Banearbeider', 'Bankassistent', 'Bankkonsulent', 'Banksjef', 'Barkeeper', 'Barmedarbeider', 'Barne- Og Ungdomssekretær', 'Barnehageassistent', 'Barnehjemsbestyrer', 'Barnepasser', 'Barnevernskonsulent', 'Bartender', 'Basketballtrener', 'Bedriftskonsulent', 'Bedriftspsykolog', 'Bedriftsrevisor', 'Bedriftsøkonom', 'Befrakter', 'Begravelsesbyråassistent', 'Begravelsesbyråmedarbeider', 'Begravelsesbyråsjåfør', 'Beleggskjærer', 'Bemanningskonsulent', 'Benkesnekker', 'Beregner', 'Bergmester', 'Bergverksarbeider', 'Beskjærer', 'Bestyrer Helsetjenester', 'Betjent', 'Betongindustriarbeider', 'Betongvarearbeider', 'Bibliotekleder', 'Biblioteksjef', 'Bilagskontrollør', 'Bilelektriker', 'Bilgummiarbeider', 'Bilinspektør', 'Bilklargjører', 'Billedkonsulent', 'Billedtekniker', 'Billettekspeditør', 'Billettkonsulent', 'Billettkontrollør', 'Billettselger', 'Billettør', 'Bilmegler', 'Bilmekaniker', 'Bilmottaker', 'Bilpleier', 'Bilrenser', 'Bilsakkyndig', 'Biltilsyninspektør', 'Biopat', 'Blandemaskinoperatør', 'Blander', 'Blogger', 'Blomsterdekoratør', 'Blåseinstrumentmaker', 'Bokbinder', 'Bokbinderassistent', 'Bokbussassistent', 'Bokbussfører', 'Bokhandlermedarbeider', 'Bokhandlermedhjelper', 'Bokholderassistent', 'Bokollektivmedarbeider', 'Boligleder', 'Boligsjef', 'Bomringvakt', 'Bomvakt', 'Bookingansvarlig', 'Bookingmedarbeider', 'Bookingsekretær', 'Borearbeider', 'Boredekksarbeider', 'Boreingeniør', 'Boreoperasjonsleder', 'Borer', 'Boresjef', 'Borevæskeingeniør', 'Botaniker', 'Boveileder', 'Bowlingvert', 'Branninspektør', 'Brannisolatør', 'Brannkonstabel', 'Brannmester', 'Brannvakt', 'Brannvarslerinstallatør', 'Brenner', 'Brolegger', 'Bromaler', 'Brooperatør', 'Brukskunstner', 'Brygger', 'Bryggeriformann', 'Bryggerimester', 'Brønnborer', 'Budsjåfør', 'Bukker', 'Bulldoserkjører', 'Bunadmedarbeider', 'Bunnlærstanser', 'Buntmaker', 'Business Controller', 'Bussfører', 'Butikkinnehaver', 'Butikkinspektør', 'Butikkmedarbeider', 'Butikkonsulent', 'Butikksjef', 'Butikkslakter', 'Byarkitekt', 'Bydelsdirektør', 'Byfogd', 'Byggekranfører', 'Byggesaksbehandler', 'Byggesjef', 'Byggtapetserer', 'Byggtapetsermester', 'Bygningsarbeider', 'Bygningskontrollør', 'Byplanlegger', 'Byplansjef', 'Byrettsdommer', 'Byråd', 'Byssegutt', 'Byssepike', 'Båndsager', 'Båtfører', 'Båtmekaniker', 'Bærplukker', 'Børsdirektør', 'Børsemakermester', 'Børstemaker', 'Bøter', + 'Cabin Chief', 'Cafemedarbeider', 'Campingplassmedarbeider', 'Cash Management Controller', 'Cellulosearbeider', 'Charge D\'affaires', 'Cirkustekniker', 'Cnc-Operatør', 'Coach', 'Controller', 'Croupier', 'Cruiseassistent', + 'Daglig Leder', 'Dagsenterleder', 'Damefrisør', 'Danselærer', 'Danser', 'Dataadministrator', 'Datamaskinoperatør', 'Dataservicetekniker', 'Datasjef', 'Datatekniker', 'Dekkbygger', 'Dekorkonsulent', 'Deleekspeditør', 'Delesjef', 'Departementsråd', 'Designer', 'Desksjef', 'Diakoniarbeider', 'Diettkokk', 'Direksjonssekretær', 'Dirigent', 'Discjockey', 'Distribusjonssjåfør', 'Distributør', 'Distriktsarbeidssjef', 'Distriktsbanksjef', 'Distriktsdirektør', 'Distriktsmusiker', 'Distriktsrevisor', 'Distriktstannlege', 'Divisjonsdirektør Akvakultur Mv.', 'Divisjonssjef Akavkultur Mv.', 'Dokumentarfilmfotograf', 'Dommer', 'Domorganist', 'Dp-Operatør', 'Dramalærer', 'Dramatiker', 'Driftsansvarlig Flyfrakt', 'Driftsfullmektig', 'Driftskonsulent', 'Driftskonsulent It', 'Driftskoordinator', 'Driftsplantekniker', 'Driftstekniker', 'Driftsøkonom', 'Droneoperatør', 'Drosjesjåfør', 'Dykkerleder', 'Dyrlege', 'Dørselger', 'Dørvert', 'Døvekapellan', 'Døveprest', + 'Edb-Leder', 'Ekspedent', 'Ekspedisjonssjef', 'Eksportagent', 'Eksportkonsulent', 'Eldreomsorgssjef', 'Elektriker', 'Elektrikerformann', 'Elektrisk Kabeloperasjonstekniker', 'Elektroautomasjonstekniker', 'Elektroingeniør', 'Elektromontør', 'Elkraftingeniør', 'Elverksmontør', 'Emaljebrenner', 'Emaljør', 'Energisjef', 'Engasjementssjef', 'Enhetsleder', 'Entomolog', 'Entreprenør', 'Ergoterapeut', 'Etatsjef', 'Etterforsker', + 'Fagbokforfatter', 'Faglaborant', 'Faglærer', 'Fagopplæringssjef', 'Fagsjef Skogbruk', 'Fagspesialist', 'Fagutdanningskonsulent', 'Faktureringssekretær', 'Familierådgiver', 'Fargekoker', 'Fargeriarbeider', 'Fasademontør', 'Fatter', 'Feierlærling', 'Feltarbeider', 'Feltassistent', 'Feltprest', 'Fengselsavdelingsbetjent', 'Fengselsbetjent', 'Fengselsinspektør', 'Fengselsoverbetjent', 'Fenrik', 'Ferdigstiller', 'Filetarbeider', 'Filialsjef', 'Filminspisient', 'Filmkontrollsjef', 'Filosof', 'Finansanalytiker', 'Finansråd', 'Finansrådgiver', 'Finanstilsynsdirektør', 'Fiolinbygger', 'Fiskehandler', 'Fiskeridirektør', 'Fiskerikonsulent', 'Fiskeriråd', 'Fiskeritekniker', 'Fiskerøkter', 'Fiskeskipper', 'Fiskeslakter', 'Fiskevraker', 'Fjøsmester', 'Flaskesorterer', 'Flekker', 'Flisarbeider', 'Fly-Radiotekniker', 'Flyattache', 'Flyeksportmedarbeider', 'Flyelektrotekniker', 'Flygeleder', 'Flygelederassistent', 'Flyinstruktør', 'Flymekaniker', 'Flyplassekspeditør', 'Flysystemavioniker', 'Flyteknisk Inspektør', 'Flytrafikkassistent', 'Flyvertinne', 'Fms-Operatør', 'Folklorist', 'Forbundssekretær', 'Forhandlingssjef', 'Forkynner', 'Forlagsmedarbeider', 'Formgiver', 'Formstøper', 'Formuesforvalter', 'Forsikringsassistent', 'Forsikringsrådgiver', 'Forsikringsselger', 'Forskalingsbas', 'Forsker', 'Forskjærer', 'Forskningsassistent', 'Forskningssjef', 'Forskningstekniker', 'Forstander', 'Forstkandidat', 'Forsvarsråd', 'Forsøksleder', 'Forvaltningsassistent', 'Forvaltningsingeniør', 'Forvaltningssjef', 'Fosterfar', 'Fotograf', 'Fotolaboratorieassistent', 'Fraktsjef', 'Freelancejournalist', 'Frisørlærling', 'Fritidsassistent', 'Fritidssjef', 'Frivillighetssentralleder', 'Fruktpressearbeider', 'Fruktprodusent', 'Fryseriarbeider', 'Fugearbeider', 'Fylkesagronom', 'Fylkesarkitekt', 'Fylkesbarnevernsjef', 'Fylkesbyggesjef', 'Fylkesingeniør', 'Fylkeskartsjef', 'Fylkeskontorsjef', 'Fylkeskoordinator I Fylkesarbeidskontoret', 'Fylkesmann', 'Fylkespersonalsjef', 'Fylkesstyrerepresentant', 'Fyrmester', 'Fyrtjenestermann', 'Fysiker', 'Fysiokjemiker', 'Fører', 'Førsteamanuensis', 'Førstefarmasøyt', 'Førstefotograf', 'Førstekonservator', 'Førstelagmann', 'Førstelektor', 'Førstemaskinist', 'Førstemeteorologifullmektig', 'Førstepasser', 'Førstepostbetjent', 'Førstepostfullmektig', 'Førstepreparant', 'Førsteprovisor', 'Førsterevisor', 'Førstesekretær', 'Førstestatsadvokat', 'Førstestyrmann', 'Førstetollinspektør', + 'Gallerivakt', 'Garderobebetjening', 'Garnfisker', 'Garnisonstannlege', 'Gartnerassistent', 'Gartnerformann', 'Gassverksjef', 'Gateselger', 'General', 'Generalinspektør For Heimevernet', 'Generalinspektør For Hæren', 'Geodet', 'Geolog', 'Geomatiker', 'Geotekniker', 'Gjærhusarbeider', 'Glasiolog', 'Glassarbeider', 'Glassblåser', 'Glassblåsermester', 'Glasshåndverker', 'Glasurarbeider', 'Godstrafikkleder', 'Grafikerlærling', 'Grafisk Formgiver', 'Grafisk Ingeniør', 'Grafisk Trykkermester', 'Granitthogger', 'Grensekontrollør', 'Grovsliper', 'Gruppeleder I Arbeidsmarkedsetaten', 'Gruvemåler', 'Guide', 'Gullarbeider', 'Gullsmedmester', 'Gummivarearbeider', 'Gynekolog', 'Gårdbruker', 'Gårdsarbeider', 'Gårdshjelp', + 'Hammerarbeider', 'Handelsagent', 'Handelsråd', 'Handlevognrydder', 'Hanskesyer', 'Hartskoker', 'Hattemaker', 'Havarisekretær', 'Havneassistent', 'Havnefogd', 'Havnekontrollør', 'Havnesjef', 'Havnetrafikkleder', 'Heisinstallatør', 'Heismontør', 'Heismontørlærling', 'Helse- Og Miljørådgiver', 'Helseinformatiker', 'Helseinspektør', 'Helsesøster', 'Herrefrisør', 'Hjelpekokk', 'Hjelpepleier', 'Hjelpepleiermedarbeider', 'Hjemmehjelper', 'Hjemmehjelpsleder', 'Hjemmekonsulent', 'Hjemmesykepleier', 'Hjullastersjåfør', 'Hms-Leder', 'Hoffmarskalk', 'Hollenderifører', 'Hostess', 'Hotellarbeider', 'Hotellmedarbeider', 'Hotellsjef', 'Hovedforvalter', 'Hovmester', 'Hr-Direktør', 'Hudarbeider', 'Hudterapeut', 'Hundefører', 'Husdyrkonsulent', 'Husholdsassistent', 'Husmorvikar', 'Hustrykker', 'Hvalfanger', 'Hydrograf', 'Hydrolog', 'Hylsemaker', 'Håndballtrener', 'Håndvever', 'Hørselsassistent', 'Høvelmester', + 'Idrettsinstruktør', 'Idrettsseksjonsleder', 'Idrettstrener', 'Ikt-Lærling', 'Illustratør', 'Importsjef', 'Impregnerer', 'Industribokbinder', 'Industrimontør', 'Industripsykolog', 'Industrirørlegger', 'Industrisnekker', 'Industrisyer', 'Informasjonskonsulent', 'Informasjonsleder', 'Informasjonsmedarbeider', 'Informasjonsskrankemedarbeider', 'Inkassoassistent', 'Inkassokonsulent', 'Inkassoleder', 'Inkassosjef', 'Inneselger', 'Innkjøpsansvarlig', 'Innkjøpsingeniør', 'Innkjøpskonsulent', 'Innreder', 'Innredningskonsulent', 'Innredningsmontør', 'Innsjekkingsmedarbeider', 'Innspillingsleder', 'Inspeksjonsingeniør', 'Inspisient', 'Installasjonsingeniør', 'Instituttsjef', 'Instruktør', 'Instruktørtannlege', 'Instrumentavioniker', 'Instrumentmaker', 'Instrumentrørlegger', 'Interiørarkitekt', 'Internatgruppeassistent', 'Internatgruppeleder', 'Internatleder', 'Iskremarbeider', 'It-Ansvarlig', 'It-Konsulent', 'It-Koordinator', 'It-Leder', 'It-Medarbeider', 'It-Prosjektleder', 'It-Selger/account Manager', 'It-Sjef', 'It-Systemingeniør', 'It-Teknisk Konsulent', + 'Jernbaneekspeditør', 'Jernbinderbas', 'Jordbrukssjef', 'Jordmor', 'Jordregistertekniker', 'Jordskifteassistent', 'Jordskiftedommer', 'Jordskifteingeniør', 'Jordskifteoverdommer', 'Jordskifterettsleder', 'Journalist', 'Juksafisker', 'Juridisk Rådgiver', 'Jurist', 'Juvelèr', + 'Kabelarbeider', 'Kabelbanefører', 'Kabinettsekretær', 'Kafemedarbeider', 'Kaiarbeider', 'Kaibetjent', 'Kalanderarbeider', 'Kammeroperatørleder', 'Kanselist', 'Kapitalforvalter', 'Kapsler', 'Kaptein', 'Kapteinløytnant', 'Kardiolog', 'Karosserimekaniker', 'Kartsjef', 'Kasseleder', 'Kennelleder', 'Keramiker', 'Keramisk Former', 'Kinokontrollør', 'Kinomaskinist', 'Kinosjef', 'Kirkegårdsarbeider', 'Kiropraktor', 'Kjellermester', 'Kjemikaliedykker', 'Kjemiker', 'Kjevekirurg', 'Kjeveortoped', 'Kjole- Og Draktsyermester', 'Kjøkkenbestyrer', 'Kjølemaskinist', 'Kjølemaskinkjører', 'Kjørelærer', 'Kjøreskolelærer', 'Kjøttskjærer', 'Klinikkassistent', 'Klinisk Ernærinsfysiolog', 'Klinisk Sosionom', 'Klinisk Vernepleier', 'Klokkedykker', 'Klokker', 'Klubbarbeider', 'Klubbleder', 'Klubbtillitsmann', 'Koder', 'Kokillestøper', 'Koksbrenner', 'Koldkjøkkenassistent', 'Kolonialhandler', 'Komiker', 'Kommunaldirektør', 'Kommunalsjef', 'Kommuneadvokat', 'Kommuneergoterapeut', 'Kommunekasserer', 'Kommuneplansjef', 'Kommunestyrerepresentant', 'Kommunikasjonsrådgiver', 'Kommunikasjonsrådmann', 'Kommunikatør', 'Kompressoroperatør', 'Konditor', 'Konduktør', 'Konfektmaker', 'Konferansevert', 'Konferansevertinne', 'Konkurransedirektør', 'Konserndirektør', 'Konsernregnskapssjef', 'Konservator', 'Konstruksjonstegner', 'Kontaktmann', 'Kontoraspirant', 'Kontormedarbeider', 'Kontorrengjører', 'Kontraktsleder', 'Kontrollflyger', 'Kontrolloperatør', 'Kontrollromsassistent', 'Kontrollsjef', 'Kontrollveterinær', 'Kontrollør', 'Kopperslager', 'Koranlærer', 'Koreolog', 'Korrespondent', 'Korrosjonsbehandler', 'Kostholdskonsulent', 'Kostnadsingeniør', 'Kostymeformann', 'Kraftmegler', 'Kraftverksdirektør', 'Kraftverksoperatør', 'Kredittleder', 'Kreftsykepleier', 'Krematoriebetjent', 'Kretskortmontør', 'Kringkastingssjef', 'Kulturhussjef', 'Kulturkonsulent', 'Kulturminnekonsulent', 'Kundemegler', 'Kundesuppertleder', 'Kunststopper', 'Kurator', 'Kursmedarbeider', 'Kursveileder', 'Kurvfletter', 'Kurvmaker', 'Kurvmakermester', 'Kusk', 'Kvalitetsbedømmer', 'Kvalitetsmedarbeider', 'Kvalitetssikringsassistent', 'Kvalitetssikringsinspektør', 'Kvalitetssikringskoordinator', 'Kvalitetssikringsleder', 'Kybernetiker', 'Kystdirektør', + 'Laboratorieleder', 'Laboratorierådgiver', 'Laboratorietekniker', 'Lagerformann', 'Lagerforvalter', 'Lagerfunksjonær', 'Lagerleder', 'Lagersjef', 'Lakkerer', 'Lakkoker', 'Landbruksdirektør', 'Landbruksmaskinmekaniker', 'Landbruksveileder', 'Landskapsarkitekt', 'Landssekretær', 'Landsstyremedlem', 'Ledende Aktivitør', 'Ledende Legesekretær', 'Leder', 'Leder It Brukerstøtte', 'Lege I Spesialisering', 'Legemiddelinspektør', 'Legesekretær', 'Legpredikant', 'Leigeskjærer', 'Lekotekleder', 'Lektor', 'Lensmannsbetjent', 'Lensmannsfullmektig', 'Leveransekoordinator', 'Ligningsrevisor', 'Ligningssekretær', 'Limarbeider', 'Limnolog', 'Lineegner', 'Linjeleder', 'Linjemontør', 'Litteraturagent', 'Litteraturkritiker', 'Location Scout', 'Locationassistent', 'Loddselger', 'Logistikkdirektør', 'Logistikkkoordinator', 'Logistikkleder', 'Logistikkmedarbeider', 'Logistikkonsulent', 'Logistikksjef', 'Logoped', 'Lokomotivfører', 'Lokomotivkontrollør', 'Losbåtfører', 'Losbåtsmann', 'Losinspektør', 'Lufthavnbetjent', 'Lufttrafikksjef', 'Lugarpike', 'Lydingeniør', 'Lydmester', 'Lydtekniker', 'Lysrigger', 'Lystekniker', 'Låsemontør', 'Lærervikar', 'Lærling', 'Lønningssekretær', 'Lønningssjef', 'Løypekjører', 'Løytnant', + 'Malerlærling', 'Manikyrist', 'Mannekeng', 'Marinamedarbeider', 'Mariningeniør', 'Maritim Sjef', 'Markedsassistent', 'Markedsfører', 'Markedskoordinator', 'Markedsmedarbeider', 'Markedsovervåker', 'Markedssjef', 'Marketingsekretær', 'Marketingsjef', 'Marketingsplanlegger', 'Markisemontør', 'Maskinassistent', 'Maskinfører', 'Maskiningeniør', 'Maskininnbinder', 'Maskinmekaniker', 'Maskinoffiser', 'Maskinpakker', 'Maskinpasser', 'Maskintegner', 'Maskør', 'Masseoppløser', 'Matematikkinstruktør', 'Materialadministrasjonssjef', 'Materialforvalter', 'Medhjelper', 'Medisinalråd', 'Meglerassistent', 'Meierikonsulent', 'Mekaniker', 'Mekanisk Kabeloperasjonstekniker', 'Mengeblander', 'Menger', 'Menig', 'Menighetsarbeider', 'Menighetssekretær', 'Mensendiecker', 'Merkevaresjef', 'Messepike', 'Messeplanlegger', 'Metalliserer', 'Metallpusser', 'Meteorologikonsulent', 'Mikrofilmfotograf', 'Mikseoperatør', 'Militærattache', 'Militærpsykolog', 'Miljøsaneringsarbeider', 'Miljøvernsjef', 'Miljøvernsjef På Svalbard', 'Mineralvannarbeider', 'Minerer', 'Minerydder', 'Minigraverfører', 'Misjonsprest', 'Misjonssekretær', 'Mobilkranfører', 'Modellsnekker', 'Modellør', 'Molekylærbiolog', 'Montasjeingeniør', 'Montasjesjef', 'Moseplukker', 'Motormann', 'Motormannlærling', 'Motormekaniker', 'Motorsykkelbud', 'Motorsykkelreparatør', 'Mub Ingeniør', 'Multimediedesigner', 'Museumsdirektør', 'Museumstekniker', 'Musikkinstrumentreparatør', 'Musikkpedagog', 'Musikkprodusent', 'Musikkterapeut', 'Mykolog', 'Myntarbeider', 'Møbelmontør', 'Møbelsnekker', 'Møbeltapetserer', 'Møllemester', 'Mølleoperatør', 'Møller', 'Mønsteroperatør', 'Mønstersliper', + 'Namsfullmektig', 'Natler', 'Nattportier', 'Nautisk Instrumentmaker', 'Ndt-Kontrollør', 'Neglskulptør', 'Nemndleder', 'Nestleder', 'Nettmann', 'Nettverksanalytiker', 'Nettverkstekniker', 'Notfisker', 'Nupper', 'Nyhetsredaktør', 'Nyhetsreporter', 'Nyhetssjef', 'Næringsmiddelkandidat', 'Næringsmiddelkontrollør', 'Næringsmiddelteknolog', 'Næringssjef', + 'Odontolog', 'Odontologisk Forsker', 'Offentlig Godkjent Sykepleier', 'Offisersaspirant', 'Offshore Installation Manager', 'Oldfrue', 'Oljeanalytiker', 'Oljedestillatør', 'Oljedirektør', 'Oljekontraktkjøper', 'Oljekontraktmegler', 'Oljepressearbeider', 'Oljeraffinerer', 'Oljeseparatør', 'Ombud', 'Ombudsmann For Forsvaret', 'Områdebanksjef', 'Områdesjef', 'Omsorgsarbeider', 'Onkolog', 'Onkologisykepleier', 'Operatør', 'Operatør Av Pakkemaskiner', 'Opplæringsfarmasøyt', 'Opplæringskonsulent', 'Opplæringsleder', 'Opplæringssjef', 'Oppmålingstekniker', 'Oppredningsarbeider', 'Oppsynssjef', 'Oppvekstsjef', 'Opsjonsmegler', 'Optikermedarbeider', 'Ordensvakt', 'Ordreplukker', 'Organisasjonskonsulent', 'Organisasjonsleder', 'Organisasjonssekretær', 'Orgelbygger', 'Ortoped', 'Ortopeditekniker', 'Ortopediteknisk Sjef', 'Ortoptist', 'Oseanograf', 'Ostemaker', 'Overgartner', 'Overingeniør', 'Overinspektør', 'Overjordmor', 'Overkokk', 'Overlærskjærer', 'Overpleier', 'Overpostbetjent', 'Overpostmester', 'Overradiograf', 'Oversetter', 'Overstiger', 'Oversykepleier', + 'Pantelåner', 'Pappsalarbeider', 'Paraplymaker', 'Parkettlegger', 'Parkettsliper', 'Parksjef', 'Parlamentarisk Leder', 'Partisekretær', 'Parykkmaker', 'Parykkmakermester', 'Passkontrollør', 'Pater', 'Patolog', 'Pedagog', 'Pedagogisk Psykolog', 'Pelsbereder', 'Pelsdyroppdretter', 'Pelsmaker', 'Pengeutlåner', 'Perforerer', 'Perfusjonist', 'Personal-Og Økonomidirektør', 'Personalassistent', 'Personalleder', 'Petrofysiker', 'Petroleumsarkitekt', 'Phytoterapeut', 'Pianoreparatør', 'Pianostemmer', 'Piping Ingeniør', 'Pizzabaker', 'Pizzasjåfør', 'Planlegger', 'Planleggingssjef', 'Planner', 'Plasseringsrådgiver', 'Pleiemedarbeider', 'Pleier', 'Poet', 'Polaritetsterapeut', 'Poliklinikksykepleier', 'Poliseprodusent', 'Politiadvokat', 'Politiavdelingssjef', 'Politiførstebetjent', 'Politimester', 'Politioverkonstabel', 'Politisk Sekretær', 'Popmusiker', 'Porteføljeforvalter', 'Porteføljeselger', 'Post Doc.', 'Postdoktor', 'Postfortoller', 'Postfullmektig', 'Postinspektør', 'Postmester', 'Poståpner', 'Preparantassistent', 'Preserveringstekniker', 'Pressebas', 'Pressefotograf', 'Presser', 'Privatassurandør', 'Prodekan', 'Production Supervisor', 'Produksjonsingeniør', 'Produksjonskoordinator', 'Produksjonsmedarbeider', 'Produksjonsoperatør', 'Produksjonsteknisk Leder', 'Produktsekretær', 'Produkttester', 'Produktutviklingskoordinator', 'Programleder', 'Programmerer', 'Programmeringssjef', 'Programsjef', 'Programvaretester', 'Programvareutvikler', 'Promotionkonsulent', 'Promotionmedarbeider', 'Prorektor', 'Prosjektmegler', 'Prosjektoppfølger', 'Prosjektstyringssjef', 'Prosjektøkonom', 'Protesetekniker', 'Protokollfører', 'Protokollsekretær', 'Pubvert', 'Purserassistent', 'Påkleder', 'Pølsemaker', + 'Rabbiner', 'Radarreparatør', 'Radioingeniør', 'Radioleder', 'Radiosondeleder', 'Radiotekniker', 'Radiotelefonist', 'Raffinerer', 'Rammemaker', 'Redaksjonssekretær', 'Redaktør', 'Regionsekretær', 'Regionsjef', 'Regissør', 'Registrert Legemiddelkonsulent', 'Regningsinnkrever', 'Regnskapsansvarlig', 'Rehabiliteringsterapeut', 'Reineier', 'Reklamefotograf', 'Reklamekonsulent', 'Reklamesekretær', 'Rekrutteringskonsulent', 'Rektor', 'Rekvisitamaker', 'Rekvisittleder', 'Rembursjef', 'Renholdsbetjent', 'Renholdsinspektør', 'Renholdskonsulent', 'Renholdsleder', 'Renovasjonskjører', 'Renseriarbeider', 'Renseribestyrer', 'Renserimaskinarbeider', 'Reparatør', 'Resepsjonsfullmektig', 'Resepsjonsleder', 'Reservedelsekspeditør', 'Reservedykker', 'Reservesjåfør', 'Ressurskoordinator', 'Restaurantinspektør', 'Restaureringsassistent', 'Restaureringstekniker', 'Rettsgenetiker', 'Rettsskriver', 'Revisjonsleder', 'Revisjonsrådgiver', 'Revisjonssjef', 'Revisor', 'Revisormedarbeider', 'Ridelærer', 'Rigger', 'Riksantikvar', 'Riksarkivar', 'Riksbibliotekar', 'Risiko Controller', 'Rockemusiker', 'Rockesanger', 'Rodeleder', 'Romanforfatter', 'Rosenterapeut', 'Roughneck', 'Rullestolreparatør', 'Ryddehjelp', 'Rådgivende Overlege', 'Røkter', 'Røntgenassistent', 'Røringeniør', 'Rørsveiser', + 'Sagbladstiller', 'Sagbruks- Og Høvleriarbeider', 'Sagsliper', 'Salatbarmedarbeider', 'Salgsanalytiker', 'Salgsassistent', 'Salgsingeniør', 'Salgskontrollør', 'Salgsrådgiver', 'Salgssekretær', 'Sambandsoffiser', 'Sametingspresident', 'Samfunnsgeograf', 'Saneringsarbeider', 'Scanner', 'Sceneinstruktør', 'Scenemester', 'Seismisk Personell', 'Sekretær', 'Seksjonsoverlege', 'Sektorsjef/assisterende Leder Av Politistyrke', 'Selfanger', 'Selger', 'Sementarbeider', 'Sementeringstekniker', 'Seminarholder', 'Senior Ingeniør', 'Senior Maskiningeniør', 'Senior Operatør', 'Senior Planleggsingsingeniør', 'Senior Økonomikonsulent', 'Senioranalytiker', 'Seniorinnkjøper', 'Seniorinspektør', 'Seniormetallurg', 'Seniorserviceingeniør', 'Senterleder', 'Sentralbanksjef', 'Sentralbordleder', 'Serigraf', 'Service Manager', 'Servicemontør', 'Servitør', 'Shopper', 'Shoveldoserkjører', 'Signalmann', 'Sikkerhetsansvarlig', 'Sikkerhetsdirektør', 'Sikkerhetsleder', 'Silketrykker', 'Sivilforsvarsinspektør', 'Sivilombud', 'Siviløkonom', 'Sjefbioingeniør', 'Sjeflege', 'Sjefsfysioterapeut', 'Sjefsingeniør', 'Sjefskokk', 'Sjefslandskapsarkitekt', 'Sjefssykepleier', 'Sjefsøkonom', 'Sjåfør Klasse B', 'Skadedyrkontrollør', 'Skadekonsulent', 'Skademedarbeider', 'Skaderegulerer', 'Skadesjef', 'Skatteregnskapssjef', 'Skatterevisor', 'Skiftekontrollør', 'Skiftingeniør', 'Skiftleder', 'Skilærer', 'Skimaker', 'Skinnsorterer', 'Skippingmedarbeider', 'Skipsradiomontør', 'Skipsreperatør', 'Skipsrørlegger', 'Skipssmed', 'Skjenkekontrollør', 'Skogbestyrer', 'Skogbruksplanlegger', 'Skogdirektør', 'Skogformann', 'Skogforvalter', 'Skogfullmektig', 'Skogsmaskinfører', 'Skogtaksator', 'Skoleassistent', 'Skoledirektør', 'Skolefritidsleder', 'Skoleinspektør', 'Skolepsykolog', 'Skolerådgiver', 'Skomakerlærling', 'Skopusser', 'Skoreparatør', 'Skrankeekspeditør', 'Skrankemedarbeider', 'Skredder', 'Skribent', 'Skript', 'Skuespiller', 'Skummer', 'Skøyteinstruktør', 'Slaktermester', 'Slankekonsulent', 'Sminkeassistent', 'Småbruker', 'Smører', 'Snekkermester', 'Snurrevadfisker', 'Snømåker', 'Snørelager', 'Soknediakon', 'Soneterapeut', 'Sortbytter', 'Sorterer', 'Sorteringsleder', 'Sortersalarbeider', 'Sosialfaglig Leder', 'Sosialinspektør', 'Sosialrådmann', 'Sosialsekretær', 'Sparklingsarbeider', 'Speditør', 'Spesialbioingeniør', 'Spesialergoterapeut', 'Spesialfysioterapeut', 'Spesiallærer', 'Spesialpedagog', 'Spesialpsykolog', 'Spesialrevisor', 'Spesialrådgiver', 'Spesialsykepleier', 'Spesialtannlege', 'Spoler', 'Sporveisdirektør', 'Spregningsarbeider', 'Spritdestillatør', 'Sprøytelakkerer', 'Spåkone/-Mann', 'Stabssjef', 'Staffcaptain', 'Stallkar', 'Stallmann', 'Stallpike', 'Stasjonsbetjent', 'Stasjonssjef', 'Statslosaspirant', 'Statsmeteorolog', 'Statsmykolog', 'Statssekretær', 'Statsskogsjef', 'Steinbruddsarbeider', 'Steinfagmester', 'Steward', 'Stillasbygger', 'Stipendiat', 'Stopper', 'Store Manager', 'Storkundeansvarlig', 'Stortingspresident', 'Storurmaker', 'Strategirådgiver', 'Stråleterapeut', 'Studieinspektør', 'Studieleder', 'Studiobetjent', 'Studioformann', 'Stuert', 'Styreleder', 'Styremedlem', 'Støttekontakt', 'Surveyer', 'Svakstrømsmontør', 'Sveiseinspektør', 'Sveiserlærling', 'Sykehusdirektør', 'Sykehusfarmasøyt', 'Sykehuslaborant', 'Sykehusprest', 'Sykehussjef', 'Sysselmann', 'Systemanalytiker', 'Systemarkitekt', 'Systemerer', 'Systemingeniør', 'Systemsjef', 'Systemtekniker', 'Systemtester', 'Systemutvikler', 'Sølvsiselør', 'Sølvsmed', 'Sølvtrykker', 'Søppelkjører', + 'Taksteinlegger', 'Takstmann', 'Takstøkonom', 'Taktekker', 'Tallmagiker', 'Tannhelsesekretær', 'Tannhygieniker', 'Tannlegeassistent', 'Tannteknikermester', 'Tapper', 'Tapperiformann', 'Taubanefører', 'Taxisjåfør', 'Teglsorterer', 'Tegneassistent', 'Teknisk Ansvarlig', 'Teknisk Direktør', 'Teknisk Rådmann', 'Tekstilkonservator', 'Tekstilkunstner', 'Tekstiloperatør', 'Tekstiltrykker', 'Teleekspeditør', 'Telefonsentralmontør', 'Telefullmektig', 'Telegrafbetjent', 'Telekommunikasjonsingeniør', 'Telesjef', 'Teolog', 'Teppelegger', 'Terminalansvarlig', 'Terminalarbeider', 'Terminalleder', 'Termisk Sprøyter', 'Tilrettelegger', 'Tilsynslege', 'Tilsynsveterinær', 'Tiltakssjef', 'Tivoliarbeider', 'Togelektriker', 'Togkontrollør', 'Togsjef', 'Tolldistriktssjef', 'Tollkasserer', 'Tollstedsjef', 'Topograf', 'Torghandler', 'Total Service Manager', 'Totalisatorfunksjonær', 'Trafikkflyger', 'Trafikklærer', 'Trafikksjef', 'Trailersjåfør', 'Transformatormontør', 'Transportformann', 'Transportleder', 'Transportmedarbeider', 'Transportsjef', 'Transportør', 'Tredreier', 'Trepleier', 'Trikkefører', 'Truckfører', 'Trygdedirektør', 'Trygderevisor', 'Trygdesjef', 'Trykker', 'Trykktester', 'Trålbas', 'Turistvert', 'Turoperatør', 'Tvisteløseleder', 'Tvisteløser', 'Tårnarbeider', 'Tårnkranfører', 'Tårnmann', 'Tømmerberegner', 'Tømmerfløter', 'Tømmerhogger', 'Tømmermåler', 'Tømmermålingsinspektør', 'Tømmersjef', 'Tømmersorterer', 'Tørkepasser', 'Tørker', 'Tørrfisktilvirker', 'Tørrstoffkoker', + 'Ullklassifisør', 'Undervisningsassistent', 'Underwriter', 'Utbyggingssjef', 'Utenrikskorrespondent', 'Utenriksredaktør', 'Utenriksråd', 'Utmarkstekniker', 'Utreder', 'Utredningsingeniør', 'Utrykningsleder', 'Utstyrsoperatør', 'Utviklingsdirektør', 'Utviklingssjef', + 'Va-Ingeniør', 'Vakt', 'Vaktbetjent', 'Vaktmann', 'Vaktmesterassistent', 'Valutakoordinator', 'Valutasjef', 'Vannverkssjef', 'Varabrannmester', 'Vareautomatoperatør', 'Varemegler', 'Varmebehandler', 'Vaskeriassistent', 'Vedlikeholdsingeniør', 'Vedlikeholdstekniker', 'Vegvalsekjører', 'Vekterlærling', 'Vektkontrollør', 'Velferdssekretær', 'Velferdssjef', 'Verftssjef', 'Verkstedansvarlig', 'Verkstedarbeider', 'Verkstedformann', 'Verkstedingeniør', 'Verkstedmedarbeider', 'Verkstedsjef', 'Verktøyinnstiller', 'Verktøykonstruktør', 'Verktøymaker', 'Verktøysliper', 'Verneingeniør', 'Verneombud', 'Vervet', 'Veterinærinspektør', 'Vever', 'Vikarbyråkonsulent', 'Viltforvalter', 'Viltkonsulent', 'Vinduspusser', 'Viseadmiral', 'Visekonsernsjef', 'Visekonsul', 'Visesanger', 'Voksenopplæringssjef', 'Vraker', 'Vytnesjæjja', 'Værelsesbetjent', 'Værvarslingssjef', + 'Web-Publisher', 'Webdesigner', 'Webmaster', 'Webredaktør', + 'Yrkesfaglærer', 'Yrkesopplæringsleder', 'Yster', + 'Økonom', 'Økonomiarbeider', + 'Øre-Nese-Hals-Spesialist', + ); } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Person.php index c9ac865b..bde3bf64 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Person.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Person.php @@ -2,6 +2,8 @@ namespace Faker\Provider\nl_BE; +use Faker\Provider\DateTime; + class Person extends \Faker\Provider\Person { protected static $firstNameMale = array( @@ -69,4 +71,36 @@ class Person extends \Faker\Provider\Person 'Vermeersch', 'Vermeiren', 'Vermeulen', 'Verschueren', 'Verstraete', 'Verstraeten', 'Vervoort', 'Wauters', 'Willems', 'Wouters', 'Wuyts', 'Yildirim', 'Yilmaz' ); + + /** + * Belgian Rijksregister numbers are used to identify each citizen, + * it consists of three parts, the person's day of birth, in the + * format 'ymd', followed by a number between 1 and 997, odd for + * males, even for females. The last part is used to check if it's + * a valid number. + * + * @link https://nl.wikipedia.org/wiki/Rijksregisternummer + * + * @param string|null $gender 'male', 'female' or null for any + * @return string + */ + public static function rrn($gender = null) + { + $middle = self::numberBetween(1, 997); + if ($gender === static::GENDER_MALE) { + $middle = $middle %2 === 1 ? $middle : $middle+1; + } elseif ($gender === static::GENDER_FEMALE) { + $middle = $middle %2 === 0 ? $middle : $middle+1; + } + $middle = sprintf('%03d', $middle); + + $date = DateTime::dateTimeThisCentury(); + $dob = sprintf('%06d', $date->format('ymd')); + $help = $date->format('Y') >= 2000 ? 2 : null; + + $check = intval($help.$dob.$middle); + $rest = sprintf('%02d', 97 - ($check % 97)); + + return $dob.$middle.$rest; + } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Text.php b/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Text.php new file mode 100644 index 00000000..d41104d1 --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Text.php @@ -0,0 +1,25347 @@ + 9) { + if ($nr[1] > 0) { + $nr[0] = 8; + $nr[1]--; + } else { + $nr[0] = 1; + $nr[1]++; + + } + } + return implode('', array_reverse($nr)); + } } diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Payment.php index cc5f9581..ffd0cb6a 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Payment.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Payment.php @@ -5,81 +5,76 @@ namespace Faker\Provider\pl_PL; class Payment extends \Faker\Provider\Payment { /** - * @var array list of Polish banks, source: http://www.nbp.pl/banki_w_polsce/ewidencja/ewidencja.html + * @var array list of Polish banks, source: https://ewib.nbp.pl/ */ protected static $banks = array( - '251' => 'Aareal Bank Aktiengesellschaft (Spółka Akcyjna) - Oddział w Polsce', - '249' => 'Alior Bank SA', - '247' => 'Banco Espirito Santo de Investimento, S.A. Spółka Akcyjna Oddział w Polsce', - '238' => 'Banco Mais S.A. (SA) Oddział w Polsce', - '106' => 'Bank BPH SA', - '219' => 'Bank DnB NORD Polska SA', - '203' => 'Bank Gospodarki Żywnościowej SA', - '113' => 'Bank Gospodarstwa Krajowego', - '122' => 'Bank Handlowo - Kredytowy SA (w likwidacji 31.03.92)', - '103' => 'Bank Handlowy w Warszawie SA', - '116' => 'Bank Millennium SA', - '154' => 'Bank Ochrony Środowiska SA', - '260' => 'Bank of China (Luxembourg)S.A. Spółka Akcyjna Oddział w Polsce', - '221' => 'Bank of Tokyo-Mitsubishi UFJ (Polska) SA', - '132' => 'Bank Pocztowy SA', - '124' => 'Bank Polska Kasa Opieki SA', - '193' => 'BANK POLSKIEJ SPÓŁDZIELCZOŚCI SA', - '109' => 'Bank Zachodni WBK SA', - '224' => 'Banque PSA Finance SA Oddział w Polsce', - '160' => 'BNP PARIBAS BANK POLSKA SA', - '235' => 'BNP PARIBAS SA Oddział w Polsce', - '243' => 'BNP Paribas Securities Services SKAOddział w Polsce', - '229' => 'BPI Bank Polskich Inwestycji SA', - '215' => 'BRE Bank Hipoteczny SA', - '114' => 'BRE Bank SA', - '239' => 'CAIXABANK, S.A. (SPÓŁKA AKCYJNA)ODDZIAŁ W POLSCE', - '254' => 'Citibank Europe plc (Publiczna Spółka Akcyjna) Oddział w Polsce', - '194' => 'Credit Agricole Bank Polska SA', - '252' => 'CREDIT SUISSE (LUXEMBOURG) S.A. Spółka Akcyjna, Oddział w Polsce', - '236' => 'Danske Bank A/S SA Oddział w Polsce', - '191' => 'Deutsche Bank PBC SA', - '188' => 'Deutsche Bank Polska SA', - '174' => 'DZ BANK Polska SA', - '241' => 'Elavon Financial Services Limited (Spółka z ograniczoną odpowiedzialnością) Oddział w Polsce', - '147' => 'Euro Bank SA', - '265' => 'EUROCLEAR Bank SA/NV (Spółka Akcyjna) - Oddział w Polsce', - '207' => 'FCE Bank Polska SA', - '214' => 'Fiat Bank Polska SA', - '253' => 'FM Bank SA', - '248' => 'Getin Noble Bank SA', - '128' => 'HSBC Bank Polska SA', - '195' => 'Idea Bank SA', - '255' => 'Ikano Bank GmbH (Sp. z o.o.) Oddział w Polsce', - '262' => 'Industrial and Commercial Bank of China (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce', - '105' => 'ING Bank Śląski SA', - '266' => 'Intesa Sanpaolo S.p.A. Spółka Akcyjna Oddział w Polsce', - '168' => 'INVEST - BANK SA', - '258' => 'J.P. Morgan Europe Limited Sp. z o.o. Oddział w Polsce', - '158' => 'Mercedes-Benz Bank Polska SA', - '130' => 'Meritum Bank ICB SA', '101' => 'Narodowy Bank Polski', - '256' => 'Nordea Bank AB SA Oddział w Polsce', - '144' => 'NORDEA BANK POLSKA SA', - '232' => 'Nykredit Realkredit A/S SA - Oddział w Polsce', - '189' => 'Pekao Bank Hipoteczny SA', - '187' => 'Polski Bank Przedsiębiorczości SA', '102' => 'Powszechna Kasa Oszczędności Bank Polski SA', - '200' => 'Rabobank Polska SA', - '175' => 'Raiffeisen Bank Polska SA', - '167' => 'RBS Bank (Polska) SA', - '264' => 'RCI Banque Spółka Akcyjna Oddział w Polsce', - '212' => 'Santander Consumer Bank SA', - '263' => 'Saxo Bank A/S Spółka Akcyjna Oddział w Polsce', + '103' => 'Bank Handlowy w Warszawie SA', + '105' => 'ING Bank Śląski SA', + '106' => 'Bank BPH SA', + '109' => 'Bank Zachodni WBK SA', + '113' => 'Bank Gospodarstwa Krajowego', + '114' => 'mBank SA', + '116' => 'Bank Millennium SA', + '122' => 'Bank Handlowo-Kredytowy Spółka Akcyjna w Katowicach w likwidacji', + '124' => 'Bank Polska Kasa Opieki SA', + '128' => 'HSBC Bank Polska SA', + '132' => 'Bank Pocztowy SA', + '147' => 'Euro Bank SA', + '154' => 'Bank Ochrony Środowiska SA', + '158' => 'Mercedes-Benz Bank Polska SA', '161' => 'SGB-Bank SA', - '237' => 'Skandinaviska Enskilda Banken AB (SA) - Oddział w Polsce', + '167' => 'RBS Bank (Polska) SA', + '168' => 'PLUS BANK SA', + '175' => 'Raiffeisen Bank Polska SA', '184' => 'Societe Generale SA Oddział w Polsce', - '225' => 'Svenska Handelsbanken AB SA Oddział w Polsce', - '227' => 'Sygma Banque Societe Anonyme (SA) Oddział w Polsce', - '216' => 'Toyota Bank Polska SA', - '257' => 'UBS Limited (spółka z ograniczoną odpowiedzialnością) Oddział w Polsce', - '261' => 'Vanquis Bank Limited (spółka z ograniczoną odpowiedzialnością) Oddział w Polsce', + '187' => 'Nest Bank S.A.', + '189' => 'Pekao Bank Hipoteczny SA', + '191' => 'Deutsche Bank Polska SA', + '193' => 'BANK POLSKIEJ SPÓŁDZIELCZOŚCI SA', + '194' => 'Credit Agricole Bank Polska SA', + '195' => 'Idea Bank SA', + '203' => 'Bank BGŻ BNP Paribas SA', + '212' => 'Santander Consumer Bank SA', '213' => 'VOLKSWAGEN BANK POLSKA SA', + '214' => 'FCA-Group Bank Polska SA', + '215' => 'mBank Hipoteczny SA', + '216' => 'Toyota Bank Polska SA', + '219' => 'DNB Bank Polska SA', + '224' => 'Banque PSA Finance SA Oddział w Polsce', + '225' => 'Svenska Handelsbanken AB SA Oddział w Polsce', + '229' => 'BPI Bank Polskich Inwestycji SA', + '232' => 'Nykredit Realkredit A/S SA - Oddział w Polsce', + '235' => 'BNP PARIBAS SA Oddział w Polsce', + '236' => 'Danske Bank A/S SA Oddział w Polsce', + '237' => 'Skandinaviska Enskilda Banken AB (SA) - Oddział w Polsce', + '239' => 'CAIXABANK, S.A. (SPÓŁKA AKCYJNA)ODDZIAŁ W POLSCE', + '241' => 'Elavon Financial Services Designated Activity Company (spółka z o.o. o wyznaczonym przedmiocie działalności) Oddział w Polsce', + '243' => 'BNP Paribas Securities Services SKA Oddział w Polsce', + '247' => 'HAITONG BANK, S.A. Spółka Akcyjna Oddział w Polsce', + '248' => 'Getin Noble Bank SA', + '249' => 'Alior Bank SA', + '251' => 'Aareal Bank Aktiengesellschaft (Spółka Akcyjna) - Oddział w Polsce', + '254' => 'Citibank Europe plc (Publiczna Spółka Akcyjna) Oddział w Polsce', + '255' => 'Ikano Bank AB (publ) Spółka Akcyjna Oddział w Polsce', + '256' => 'Nordea Bank AB SA Oddział w Polsce', + '257' => 'UBS Limited (spółka z ograniczoną odpowiedzialnością) Oddział w Polsce', + '258' => 'J.P. Morgan Europe Limited Sp. z o.o. Oddział w Polsce', + '260' => 'Bank of China (Luxembourg) S.A. Spółka Akcyjna Oddział w Polsce', + '262' => 'Industrial and Commercial Bank of China (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce', + '263' => 'Saxo Bank A/S Spółka Akcyjna Oddział w Polsce w likwidacji', + '264' => 'RCI Banque Spółka Akcyjna Oddział w Polsce', + '265' => 'EUROCLEAR Bank SA/NV (Spółka Akcyjna) - Oddział w Polsce', + '266' => 'Intesa Sanpaolo S.p.A. Spółka Akcyjna Oddział w Polsce', + '267' => 'Western Union International Bank GmbH, Sp. z o.o. Oddział w Polsce', + '269' => 'PKO Bank Hipoteczny SA', + '270' => 'TF BANK AB (Spółka z ograniczoną odpowiedzialnością) Oddział w Polsce', + '271' => 'FCE Bank Spółka Akcyjna Oddział w Polsce', + '272' => 'AS Inbank Spółka Akcyjna - Oddział w Polsce', + '273' => 'China Construction Bank (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce', + '274' => 'MUFG Bank (Europe) N.V. S.A. Oddział w Polsce', + '275' => 'John Deere Bank S.A. Spółka Akcyjna Oddział w Polsce', ); /** @@ -105,7 +100,7 @@ class Payment extends \Faker\Provider\Payment protected static function addBankCodeChecksum($iban, $countryCode = 'PL') { - if ($countryCode != "PL" || strlen($iban) <= 8) { + if ($countryCode != 'PL' || strlen($iban) <= 8) { return $iban; } $checksum = 0; diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Person.php index c6b2402e..380f4d9f 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Person.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/pl_PL/Person.php @@ -159,11 +159,12 @@ class Person extends \Faker\Provider\Person for ($i = 6; $i < $length; $i++) { $result[$i] = static::randomDigit(); } - if ($sex == "M") { - $result[$length - 1] |= 1; - } elseif ($sex == "F") { - $result[$length - 1] ^= 1; + + $result[$length - 1] |= 1; + if ($sex == "F") { + $result[$length - 1] -= 1; } + $checksum = 0; for ($i = 0; $i < $length; $i++) { $checksum += $weights[$i] * $result[$i]; diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/PhoneNumber.php index 9224b08e..4949eef3 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/PhoneNumber.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/PhoneNumber.php @@ -4,18 +4,31 @@ namespace Faker\Provider\pt_BR; class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $landlineFormats = array('2###-####', '3###-####', '4###-####'); - protected static $landlineFormats = array('2###-####', '3###-####'); - + /** + * Since december 2016 all mobile phone numbers in brazil begin with 9 and landlines 2, 3 or 4. + * @link http://www.anatel.gov.br/Portal/exibirPortalPaginaEspecial.do?org.apache.struts.taglib.html.TOKEN=9594e1d11fbc996d52bda44e608bb744&codItemCanal=1794&pastaSelecionada=2984 + */ protected static $cellphoneFormats = array('9####-####'); /** * Generates a 2-digit area code not composed by zeroes. + * @link http://www.anatel.gov.br/legislacao/resolucoes/16-2001/383-resolucao-263. * @return string */ public static function areaCode() { - return static::randomDigitNotNull().static::randomDigitNotNull(); + $areaCodes = array( + '11', '12', '13', '14', '15', '16', '17', '18', '19', '21', '22', '24', + '27', '28', '31', '32', '33', '34', '35', '37', '38', '41', '42', '43', + '44', '45', '46', '47', '48', '49', '51', '53', '54', '55', '61', '62', + '63', '64', '65', '66', '67', '68', '69', '71', '73', '74', '75', '77', + '79', '81', '82', '83', '84', '85', '86', '87', '88', '89', '91', '92', + '93', '94', '95', '96', '97', '98', '99' + ); + + return self::randomElement($areaCodes); } /** diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Address.php index 6174cedd..aa0d4088 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Address.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Address.php @@ -14,55 +14,38 @@ class Address extends \Faker\Provider\Address protected static $buildingNumber = array('##'); protected static $postcode = array('######'); + + /** + * @link https://ru.wikipedia.org/wiki/Общероссийский_классификатор_стран_мира#Список_стран_согласно_Классификатору + */ protected static $country = array( - 'Украина', 'Российская Федерация', 'США', 'Канада', 'Австралия', 'Австрия', - 'Азербайджан', 'Аландские острова', 'Албания', 'Алжир', 'Американские острова Самоа', 'Ангилья', - 'Ангола', 'Андорра', 'Антарктика', 'Антигуа и Барбуда', 'Аргентина', 'Армения', - 'Аруба', 'Афганистан, Исламская Республика', 'Багамы', 'Бангладеш', 'Барбадос', 'Бахрейн', - 'Белиз', 'Белоруссия', 'Бельгия', 'Бермудские Острова', 'Болгария', 'Боливия', - 'Босния и Герцеговина', 'Ботсвана', 'Бразилия', 'Британская территория Индийского океана', - 'Бруней Даруссалам', 'Буркина Фасо', 'Бурунди', 'Бутан', 'Вануату', - 'Великобритания', 'Венгрия', 'Венесуэла', 'Виргинские о-ва, Великобритания', 'Виргинские о-ва, США', - 'Восточный Тимор', 'Вьетнам', 'Габон', 'Гаити', 'Гайана', - 'Гамбия', 'Гана', 'Гваделупа', 'Гватемала', 'Гвинея', - 'Гвинея-Биссау', 'Германия', 'Гибралтар', 'Гонгконг', 'Гондурас', - 'Государство-город Ватикан', 'Гренада', 'Гренландия', 'Греция', 'Грузия', - 'Гуам', 'Дания', 'Джерси', 'Джибути', 'Доминиканская Республика', - 'Египет', 'Замбия', 'Западная Сахара', 'Зимбабве', 'Израиль', - 'Индия', 'Индонезия', 'Иордания', 'Ирак', 'Иран', - 'Ирландия', 'Исландия', 'Испания', 'Италия', 'Йемен', - 'Казахстан, Республика', 'Каймановы Острова', 'Камбоджа', 'Камерун', 'Катар', - 'Кения', 'Кипр', 'Кирибати', 'Китай', 'Кокосовые острова', - 'Колумбия', 'Коморские Острова', 'Конго, Демократическая Республика', 'Конго, Республика', 'Коста-Рика', - 'Кот-д’Ивуар', 'Куба', 'Кувейт', 'Кыргызстан', 'Лаос', - 'Латвия', 'Лесото', 'Либерия', 'Ливан', 'Ливия', - 'Литва', 'Лихтенштейн', 'Люксембург', 'Маврикий', 'Мавритания', - 'Мадагаскар, Республика', 'Майотта', 'Макао', 'Македония, Республика', 'Малави', - 'Малайзия', 'Мали', 'Мальдивы', 'Мальта', 'Марокко', - 'Мартиник', 'Маршалловы Острова', 'Мексика', 'Мелкие отдаленные острова США', 'Мозамбик', - 'Молдова', 'Монако', 'Монголия', 'Монтсеррат', 'Мьянма', - 'Намибия', 'Науру', 'Непал', 'Нигер', 'Нигерия', - 'Нидерландские Антильские острова', 'Нидерланды', 'Никарагуа', 'Ниуэ', 'Новая Зеландия', - 'Новая Каледония', 'Норвегия', 'Объединённые Арабские Эмираты', 'О. Гернси', 'Оман', - 'Острова Зеленого Мыса', 'Острова Кука', 'Острова Теркс И Кайкос', 'Острова Уоллис и Футуна', 'Острова Херд и Макдональд', - 'Остров Буве', 'Остров Доминика', 'Остров Мэн', 'Остров Норфолк', 'Остров Святого Мартина', - 'Остров Святой Елены', 'О. Южная Георгия И Южные Сандвичевы Острова', 'Пакистан', 'Палау', 'Палестина', - 'Панама', 'Папуа-Новая Гвинея', 'Парагвай', 'Перу', 'Питкерн', - 'Польша', 'Португалия', 'Пуэрто-Рико', 'Реюньон', 'Рождественские острова', - 'Руанда', 'Румыния', 'Сальвадор', 'Самоа', 'Сан-Марино', - 'Сан-Томе и Принсипи', 'Саудовская Аравия', 'Свазиленд', 'Северная Корея', 'Северные Марианские Острова', - 'Сейшельские Острова', 'Сен-Бартельми', 'Сенегал', 'Сен-Пьер и Микелон', 'Сент-Винсент и Гренадины', - 'Сент-Киттс и Невис', 'Сент-Люсия', 'Сербия', 'Сербия и Черногория, Государственный Союз', 'Сингапур', - 'Сирия', 'Словацкая республика', 'Словения', 'Соломонские острова', 'Сомали', - 'Судан', 'Суринам', 'Сьерра-Леоне', 'Таджикистан', 'Тайвань', - 'Тайланд', 'Танзания', 'Того', 'Токелау', 'Тонга', - 'Тринидад и Тобаго', 'Тувалу', 'Тунис', 'Туркмения', 'Турция', - 'Уганда', 'Узбекистан', 'Уругвай', 'Фарерские острова', 'Федеративные Штаты Микронезии', - 'Фиджи', 'Филиппины', 'Финляндия', 'Фолклендские о-ва', 'Франция', - 'Французская Гвинея', 'Французская Полинезия', 'Французские Южные Территории', 'Хорватия', 'Чад', - 'Черногория', 'Чешская Республика', 'Чили', 'Швейцария', 'Швеция', - 'Шпицберген и Ян-Майен', 'Шри-Ланка', 'Эквадор', 'Экваториальная Гвинея', 'Эритрея', - 'Эстония', 'Эфиопия', 'Южная Корея', 'Южно-Африканская Республика', 'Ямайка', 'Япония', + 'Абхазия', 'Австралия', 'Австрия', 'Азербайджан', 'Албания', 'Алжир', 'Американское Самоа', 'Ангилья', 'Ангола', 'Андорра', 'Антарктида', 'Антигуа и Барбуда', 'Аргентина', 'Армения', 'Аруба', 'Афганистан', + 'Багамы', 'Бангладеш', 'Барбадос', 'Бахрейн', 'Беларусь', 'Белиз', 'Бельгия', 'Бенин', 'Бермуды', 'Болгария', 'Боливия', 'Бонэйр, Синт-Эстатиус и Саба', 'Босния и Герцеговина', 'Ботсвана', 'Бразилия', 'Британская Территория в Индийском Океане', 'Британские Виргинские Острова', 'Бруней', 'Буркина-Фасо', 'Бурунди', 'Бутан', + 'Вануату', 'Ватикан', 'Венгрия', 'Венесуэла', 'Великобритания', 'Виргинские Острова Соединённых Штатов', 'Вьетнам', + 'Габон', 'Гаити', 'Гайана', 'Гамбия', 'Гана', 'Гваделупа', 'Гватемала', 'Гвинея', 'Гвинея-Бисау', 'Германия', 'Гернси', 'Гибралтар', 'Гондурас', 'Гонконг', 'Гренада', 'Гренландия', 'Греция', 'Грузия', 'Гуам', + 'Дания', 'Демократическая Республика Конго', 'Джерси', 'Джибути', 'Доминика', 'Доминиканская Республика', + 'Египет', + 'Замбия', 'Западная Сахара', 'Зимбабве', + 'Израиль', 'Индия', 'Индонезия', 'Иордания', 'Ирак', 'Иран', 'Ирландия', 'Исландия', 'Испания', 'Италия', + 'Йемен', + 'Кабо-Верде', 'Казахстан', 'Камбоджа', 'Камерун', 'Канада', 'Катар', 'Кения', 'Кипр', 'Киргизия', 'Кирибати', 'Китай', 'Кокосовые острова', 'Колумбия', 'Коморы', 'Конго', 'Корейская Народно-Демократическая Республика', 'Корея', 'Коста-Рика', 'Кот-д\'Ивуар', 'Куба', 'Кувейт', 'Кюрасао', + 'Лаос', 'Латвия', 'Лесото', 'Либерия', 'Ливан', 'Ливия', 'Литва', 'Лихтенштейн', 'Люксембург', + 'Маврикий', 'Мавритания', 'Мадагаскар', 'Майотта', 'Макао', 'Малави', 'Малайзия', 'Мали', 'Малые Тихоокеанские Отдаленные Острова Соединенных Штатов', 'Мальдивы', 'Мальта', 'Марокко', 'Мартиника', 'Маршалловы Острова', 'Мексика', 'Микронезия', 'Мозамбик', 'Молдова', 'Монако', 'Монголия', 'Монтсеррат', 'Мьянма', + 'Намибия', 'Науру', 'Непал', 'Нигер', 'Нигерия', 'Нидерланды', 'Никарагуа', 'Ниуэ', 'Новая Зеландия', 'Новая Каледония', 'Норвегия', + 'Объединенные Арабские Эмираты', 'Оман', 'Острова Кайман', 'Острова Кука', 'Острова Теркс и Кайкос', 'Остров Буве', 'Остров Мэн', 'Остров Норфолк', 'Остров Рождества', 'Остров Херд и Острова Макдональд', + 'Пакистан', 'Палау', 'Палестина', 'Панама', 'Папуа-Новая Гвинея', 'Парагвай', 'Перу', 'Питкерн', 'Польша', 'Португалия', 'Пуэрто-Рико', + 'Республика Македония', 'Реюньон', 'Россия', 'Руанда', 'Румыния', + 'Самоа', 'Сан-Марино', 'Сан-Томе и Принсипи', 'Саудовская Аравия', 'Свазиленд', 'Святая Елена, Остров Вознесения, Тристан-да-кунья', 'Северные Марианские Острова', 'Сейшелы', 'Сен-Бартелеми', 'Сен-Мартен', 'Сенегал', 'Сент-Винсент и Гренадины', 'Сент-Китс и Невис', 'Сент-Люсия', 'Сент-Пьер и Микелон', 'Сербия', 'Сингапур', 'Сирийская Арабская Республика', 'Словакия', 'Словения', 'Соединенные Штаты Америки', 'Соломоновы Острова', 'Сомали', 'Судан', 'Суринам', 'Сьерра-Леоне', + 'Таджикистан', 'Таиланд', 'Тайвань', 'Танзания', 'Тимор-лесте', 'Того', 'Токелау', 'Тонга', 'Тринидад и Тобаго', 'Тувалу', 'Тунис', 'Туркмения', 'Турция', + 'Уганда', 'Узбекистан', 'Украина', 'Уоллис и Футуна', 'Уругвай', + 'Фарерские острова', 'Фиджи', 'Филиппины', 'Финляндия', 'Фолклендские острова', 'Франция', 'Французская Гвиана', 'Французская Полинезия', 'Французские Южные Территории', + 'Хорватия', + 'Центрально-Африканская Республика', + 'Чад', 'Черногория', 'Чехия', 'Чили', + 'Швейцария', 'Швеция', 'Шпицберген и Ян-Майен', 'Шри-Ланка', + 'Эквадор', 'Экваториальная Гвинея', 'Эландские Острова', 'Эль-Сальвадор', 'Эритрея', 'Эстония', 'Эфиопия', + 'Южная Африка', 'Южная Джорджия и Южные Сандвичевы Острова', 'Южная Осетия', 'Южный Судан', + 'Ямайка', 'Япония', ); protected static $region = array( diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Text.php b/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Text.php index b785cfbc..7a989c28 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Text.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/ru_RU/Text.php @@ -4,6 +4,13 @@ namespace Faker\Provider\ru_RU; class Text extends \Faker\Provider\Text { + public function realText($maxNbChars = 200, $indexSize = 2) + { + $realText = parent::realText($maxNbChars, $indexSize); + + return iconv('UTF-8', 'UTF-8//IGNORE', $realText); + } + /** * From ru.wikisource.org * diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/sl_SI/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/sl_SI/Company.php new file mode 100644 index 00000000..0e899bfe --- /dev/null +++ b/vendor/fzaninotto/faker/src/Faker/Provider/sl_SI/Company.php @@ -0,0 +1,14 @@ + array( - '桃園市', '中壢市', '大溪鎮', '楊梅鎮', '蘆竹鄉', - '大園鄉', '龜山鄉', '八德市', '龍潭鄉', '平鎮市', - '新屋鄉', '觀音鄉', '復興鄉', + '桃園市' => array( + '桃園區', '中壢區', '大溪區', '楊梅區', '蘆竹區', + '大園區', '龜山區', '八德區', '龍潭區', '平鎮區', + '新屋區', '觀音區', '復興區', ), '新竹縣' => array( '竹北市', '竹東鎮', '新埔鎮', '關西鎮', '湖口鄉', diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/zh_TW/Text.php b/vendor/fzaninotto/faker/src/Faker/Provider/zh_TW/Text.php index ea34445f..887d12bb 100644 --- a/vendor/fzaninotto/faker/src/Faker/Provider/zh_TW/Text.php +++ b/vendor/fzaninotto/faker/src/Faker/Provider/zh_TW/Text.php @@ -15,85 +15,787 @@ class Text extends \Faker\Provider\Text protected static $notBeginPunct = array('、', '。', '」', '』', '!', '?', 'ー', ',', ':', ';'); /** - * Title: 三國演義 Romance of the Three Kingdoms - * Author: 羅貫中 Luo Guanzhong + * Title: 吶喊 Call to Arms (1922) + * Author: 魯迅 Lu Xun * Language: Traditional Chinese - * - * @see http://cls.hs.yzu.edu.tw/san/bin/body.asp?CHNO=001 + * @see https://zh.wikisource.org/wiki/%E5%90%B6%E5%96%8A * @var string */ protected static $baseText = <<<'EOT' -第一回:宴桃園豪傑三結義,斬黃巾英雄首立功 -詞曰:滾滾長江東逝水,浪花淘盡英雄。是非成敗轉頭空:青山依舊在,幾度夕陽紅。白髮漁樵江渚上,慣看秋月春風。一壺濁酒喜相逢:古今多少事, -都付笑談中。話說天下大勢,分久必合,合久必分:周末七國分爭,并入於秦。及秦滅之後,楚、漢分爭,又并入於漢。漢朝自高祖斬白蛇而起義,一統天下。 -後來光武中興,傳至獻帝,遂分為三國。推其致亂之由,殆始於桓、靈二帝。桓帝禁錮善類,崇信宦官。及桓帝崩,靈帝即位,大將軍竇武、太傅陳蕃,共相輔佐。 -時有宦官曹節等弄權,竇武、陳蕃謀誅之,作事不密,反為所害。中涓自此愈橫。建寧二年四月望日,帝御溫德殿。方陞座,殿角狂風驟起,只見一條大青蛇, -從梁上飛將下來,蟠於椅上。帝驚倒,左右急救入宮,百官俱奔避。須臾,蛇不見了。忽然大雷大雨,加以冰雹,落到半夜方止,壞卻房屋無數。建寧四年二月, -洛陽地震;又海水泛溢,沿海居民,盡被大浪捲入海中。光和元年,雌雞化雄。六月朔,黑氣十餘丈,飛入溫德殿中。秋七月,有虹見於玉堂;五原山岸, -盡皆崩裂。種種不祥,非止一端。帝下詔問群臣以災異之由,議郎蔡邕上疏,以為蜺墮雞化,乃婦寺干政之所致,言頗切直。帝覽奏歎息,因起更衣。 -曹節在後竊視,悉宣告左右,遂以他事陷邕於罪,放歸田里。後張讓,趙忠,封諝,段珪,曹節,候覽,蹇碩,程曠,夏惲,郭勝十人朋比為奸,號為「十常侍」。 -帝尊信張讓,呼為「阿父」,朝政日非,以致天下人心思亂,盜賊蜂起。時鉅鹿郡有兄弟三人:一名張角,一名張寶,一名張梁。那張角本是個不第秀才。 -因入山採藥,遇一老人,碧眼童顏,手執藜杖,喚角至一洞中,以天書三卷授之,曰:「此名太平要術。汝得之,當代天宣化,普救世人;若萌異心,必獲惡報。」 -角拜問姓名。老人曰:「吾乃南華老仙也。」言訖,化陣清風而去。角得此書,曉夜攻習,能呼風喚雨,號為太平道人。中平元年正月內,疫氣流行, -張角散施符水,為人治病,自稱大賢良師。角有徒弟五百餘人,雲游四方,皆能書符念咒。次後徒眾日多,角乃立三十六方,ー大方萬餘人,小方六七千ー, -各立渠帥,稱為將軍。訛言「蒼天已死,黃天當立。」又云「歲在甲子,天下大吉。」令人各以白土,書「甲子」二字於家中大門上。青、幽、徐、冀、荊、揚、 -兗、豫八州之人,家家侍奉大賢良師張角名字。角遣其黨馬元義,暗齎金帛,結交中涓封諝,以為內應。角與二弟商議曰:「至難得者,民心也。今民心已順, -若不乘勢取天下,誠為可惜。」遂一面私造黃旗,約期舉事;一面使弟子唐州,馳書報封諝。唐州乃逕赴省中告變。帝召大將軍何進調兵擒馬元義,斬之; -次收封諝等一干人下獄。張角聞知事露,星夜舉兵,自稱天公將軍,ー張寶稱地公將軍,張梁稱人公將軍ー。申言於眾曰:「今漢運將終,大聖人出; -汝等皆宜順從天意,以槳太平。」四方百姓,裹黃巾從張角反者,四五十萬。賊勢浩大,官軍望風而靡。何進奏帝火速降詔,令各處備禦,討賊立功; -一面遣中郎將盧植,皇甫嵩,朱雋,各引精兵,分三路討之。且說張角一軍,前犯幽州界分。幽州太守劉焉,乃江夏竟陵人氏,漢魯恭王之後也; -當時聞得賊兵將至,召校尉鄒靖計議。靖曰:「賊兵眾,我兵寡,明公宜作速招軍應敵。」劉焉然其說,隨即出榜招募義兵。榜文行到涿縣, -乃引出涿縣中一個英雄。那人不甚好讀書;性寬和,寡言語,喜怒不形於色;素有大志,專好結交天下豪傑;生得身長七尺五寸,兩耳垂肩,雙手過膝, -目能自顧其耳,面如冠玉,脣若塗脂;中山靖王劉勝之後,漢景帝閣下玄孫;姓劉,名備,字玄德。昔劉勝之子劉貞,漢武時封涿鹿亭侯,後坐酬金失侯, -因此遺這一枝在涿縣。玄德祖劉雄,父劉弘。弘曾舉孝廉,亦嘗作吏,早喪。玄德幼孤,事母至孝;家貧,販屨織蓆為業。家住本縣樓桑村。其家之東南, -有一大桑樹,高五丈餘,遙望之,童童如車蓋。相者云:「此家必出貴人。」玄德幼時,與鄉中小兒戲於樹下,曰:「我為天子,當乘此車蓋。」 -叔父劉元起奇其言,曰:「此兒非常人也!」因見玄德家貧,常資給之。年十五歲,母使游學,嘗師事鄭玄、盧植;與公孫瓚等為友。及劉焉發榜招軍時, -玄德年己二十八歲矣。當日見了榜文,慨然長歎。隨後一人厲聲言曰:「大丈夫不與國家出力,何故長歎?」玄德回視其人:身長八尺,豹頭環眼,燕頷虎鬚, -聲若巨雷,勢如奔馬。玄德見他形貌異常,問其姓名。其人曰:「某姓張,名飛,字翼德。世居涿郡,頗有莊田,賣酒屠豬,專好結交天下豪傑。 -適纔見公看榜而歎,故此相問。」玄德曰:「我本漢室宗親,姓劉,名備。今聞黃巾倡亂,有志欲破賊安民;恨力不能,故長歎耳。」飛曰:「吾頗有資財, -當招募鄉勇,與公同舉大事,如何?」玄德甚喜,遂與同入村店中飲酒。正飲間,見一大漢,推著一輛車子,到店門首歇了;入店坐下,便喚酒保:「快斟酒來吃, -我待趕入城去投軍。」玄德看其人:身長九尺,髯長二尺:面如重棗,脣若塗脂;丹鳳眼,臥蠶眉:相貌堂堂,威風凜凜。玄德就邀他同坐,叩其姓名。 -其人曰:「吾姓關,名羽,字壽長,後改雲長,河東解良人也。因本處勢豪,倚勢凌人,被吾殺了;逃難江湖,五六年矣。今聞此處招軍破賊,特來應募。」 -玄德遂以己志告之。雲長大喜。同到張飛莊上,共議大事。飛曰:「吾莊後有一桃園,花開正盛;明日當於園中祭告天地,我三人結為兄弟,協力同心, -然後可圖大事。」玄德、雲長、齊聲應曰:「如此甚好。」次日,於桃園中,備下烏牛白馬祭禮等項,三人焚香,再拜而說誓曰:「念劉備、關羽、張飛, -雖然異姓,既結為兄弟,則同心協力,救困扶危;上報國家,下安黎庶;不求同年同月同日生,但願同年同月同日死。皇天后土,實鑒此心。背義忘恩, -天人共戮。」誓畢,拜玄德為兄,關羽次之,張飛為弟。祭罷天地,復宰牛設酒,聚鄉中勇士,得三百餘人,就桃園中痛飲一醉。來日收拾軍器,但恨無馬匹可乘。 -正思慮間,人報「有兩個客人,引一夥伴儅,趕一群馬,投莊上來。」玄德曰:「此天佑我也!」三人出莊迎接。原來二客乃中山大商:一名張世平,一名蘇雙, -每年往北販馬,近因寇發而回。玄德請二人到莊,置酒管待,訴說欲討賊安民之意。二客大喜,願將良馬五十匹相送;又贈金銀五百兩,鑌鐵一千斤,以資器用。 -玄德謝別二客,便命良匠打造雙股劍。雲長造青龍偃月刀,又名冷豔鋸,重八十二斤。張飛造丈八點鋼矛。各置全身鎧甲。共聚鄉勇五百餘人,來見鄒靖。 -鄒靖引見太守劉焉。三人參見畢,各通姓名。玄德說起宗派,劉焉大喜,遂認玄德為姪。不數日,人報黃巾賊將程遠志統兵五萬來犯涿郡。 -劉焉令鄒靖引玄德等三人,統兵五百,前去破敵。玄德等欣然領軍前進,直至大興山下,與賊相見。賊眾皆披髮,以黃巾抹額。當下兩軍相對,玄德出馬, -ー左有雲長,右有翼德ー,揚鞭大罵:「反國逆賊,何不早降!」程遠志大怒,遣副將鄧茂出戰。張飛挺丈八蛇矛直出,手起處,刺中鄧茂心窩,翻身落馬。 -程遠志見折了鄧茂,拍馬舞刀,直取張飛。雲長舞動大刀,縱馬飛迎。程遠志見了,早吃一驚;措手不及,被雲長刀起處,揮為兩段。 -後人有詩讚二人曰:英雄發穎在今朝,一試矛兮一試刀。初出便將威力展,三分好把姓名標。眾賊見程遠志被斬,皆倒戈而走。玄德揮軍追趕,投降者不計其數, -大勝而回。劉焉親自迎接,賞勞軍士。次日,接得青州太守龔景牒文,言黃巾賊圍城將陷,乞賜救援。劉焉與玄德商議。玄德曰:「備願往救之。」 -劉焉令鄒靖將兵五千,同玄德,關,張,投青州來。賊眾見救軍至,分兵混戰。玄德兵寡不勝,退三十里下寨。玄德謂關、張曰、「賊眾我寡,必出奇兵, -方可取勝。」乃分關公引一千軍伏山左,張飛引一千軍伏山右,鳴金為號,齊出接應。次日,玄德與鄒靖,引軍鼓譟而進。賊眾迎戰,玄德引軍便退。 -賊眾乘勢追趕,方過山嶺,玄德軍中一齊鳴金,左右兩軍齊出,玄德麾軍回身復殺。三路夾攻,賊眾大潰。直趕至青州城下,太守龔景亦率民兵出城助戰。 -賊勢大敗,剿戮極多,遂解青州之圍。後人有詩讚玄德曰:運籌決算有神功,二虎還須遜一龍。初出便能垂偉績,自應分鼎在孤窮。龔景犒軍畢,鄒靖欲回。 -玄德曰:「近聞中郎將盧植與賊首張角戰於廣宗,備昔曾師事盧植,欲往助之。」於是鄒靖引軍自回,玄德與關、張引本部五百人投廣宗來。至盧植軍中, -入帳施禮,具道來意。盧植大喜,留在帳前聽調。時張角賊眾十五萬,植兵五萬,相拒於廣宗,未見勝負。植謂玄德曰:「我今圍賊在此,賊弟張梁,張寶在潁川, -與皇甫嵩、朱雋對壘。汝可引本部人馬,我更助汝一千官軍,前去潁川打探消息,約期剿捕。」玄德領命,引軍星夜投潁川來。時皇甫嵩、朱雋領軍拒賊, -賊戰不利,退入長社,依草結營。嵩與雋計曰:「賊依草結營,當用火攻之。」遂令軍士,每人束草一把,暗地埋伏。其夜大風忽起。二更以後,一齊縱火, -嵩與雋各引兵攻擊賊寨,火燄張天,賊眾驚慌,馬不及鞍,人不及甲,四散奔走。殺到天明,張梁、張寶引敗殘軍士,奪路而走。忽見一彪軍馬,盡打紅旗, -當頭來到,截往去路。為首閃出一將,身長七尺,細眼長髯;官拜騎都尉;沛國譙郡人也:姓曹,名操,字孟德。操父曹嵩,本姓夏侯氏;因為中常侍曹騰之養子, -故冒姓曹。曹嵩生操,小字阿瞞,一名吉利。操幼時,好游獵,喜歌舞;有權謀,多機變。操有叔父,見操游蕩無度,嘗怒之,言於曹嵩。嵩責操。 -操忽心生一計:見叔父來,詐倒於地,作中風之狀。叔父驚告嵩,嵩急視之,操故無恙。嵩曰:「叔言汝中風,今己愈乎?」操曰:「兒自來無此病; -因失愛於叔父,故見罔耳。」嵩信其言。後叔父但言操過,嵩並不聽。因此,操得恣意放蕩。時人有橋玄者,謂操曰:「天下將亂,非命世之才,不能濟。 -能安之者,其在君乎?」南陽何顒見操,言:「漢室將亡,安天下者,必此人也。」汝南許劭,有知人之名。操往見之,問曰:「我何如人?」劭不答。 -又問,劭曰:「子治世之能臣,亂世之奸雄也。」操聞言大喜。年二十,舉孝廉,為郎,除洛陽北都尉。初到任,即設五色棒十餘條於縣之四門。有犯禁者, -不避豪貴,皆責之。中常侍蹇碩之叔,提刀夜行,操巡夜拏住,就棒責之。由是,內外莫敢犯者,威名頗震。後為頓丘令。因黃巾起,拜為騎都尉,引馬步軍五千, -前來潁川助戰。正值張梁、張寶敗走,曹操攔住,大殺一陣,斬首萬餘級,奪得旗旛、金鼓馬匹極多。張梁、張寶死戰得脫。操見過皇甫嵩,朱雋, -隨即引兵追襲張梁、張寶去了。卻說玄德引關、張來潁川,聽得喊殺之聲,又望見火光燭天,急引兵來時,賊已敗散。玄德見皇甫嵩,朱雋,其道盧植之意。 -嵩曰:「張梁、張寶勢窮力乏,必投廣宗去依張角。玄德可即星夜往助。」玄德領命,遂引兵復回。到得半路,只見一簇軍馬,護送一輛檻車,車中之囚, -乃盧植也。玄德大驚,滾鞍下馬,問其緣故。植曰:「我圍張角,將次可破;因角用妖術,未能即勝。朝廷差黃門左豐前來體探,問我索取賄賂。 -我答曰:『軍糧尚缺,安有餘錢奉承天使?』左豐挾恨,回奏朝廷,說我高壘不戰,惰慢軍心;因此朝廷震怒,遣中郎將董卓來代將我兵,取我回京問罪。」 -張飛聽罷,大怒,要斬護送軍人,以救盧植。玄德急止之曰:「朝廷自有公論,汝豈可造次?」軍士簇擁盧植去了。關公曰:「盧中郎已被逮,別人領兵, -我等去無所依,不如且回涿郡。」玄德從其言,遂引軍北行。行無二日,忽聞山後喊聲大震。玄德引關、張縱馬上高岡望之,見漢軍大敗,後面漫山塞野, -黃巾蓋地而來,旗上大書「天公將軍」。玄德曰:「此張角也!可速戰!」三人飛馬引軍而出。張角正殺敗董卓,乘勢趕來,忽遇三人衝殺,角軍大亂, -敗走五十餘里。三人救了董卓回寨。卓問三人現居何職。玄德曰:「白身。」卓甚輕之,不為禮。玄德出,張飛大怒曰:「我等親赴血戰,救了這廝, -他卻如此無禮;若不殺之,難消我氣!」便要提刀入帳來殺董卓。正是:人情勢利古猶今,誰識英雄是白身?安得快人如翼德,盡誅世上負心人! -畢竟董卓性命如何,且看下文分解。 +我在年青時候也曾經做過許多夢,後來大半忘卻了,但自己也並不以爲可惜。所謂回憶者,雖說可以使人歡欣,有時也不免使人寂寞,使精神的絲縷還牽著已逝的寂寞的時光,又有什麼意味呢,而我偏苦于不能全忘卻,這不能全忘的一部分,到現在便成了《吶喊》的來由。 +我有四年多,曾經常常,——幾乎是每天,出入于質鋪和藥店裏,年紀可是忘卻了,總之是藥店的櫃臺正和我一樣高,質鋪的是比我高一倍,我從一倍高的櫃臺外送上衣服或首飾去,在侮蔑裡接了錢,再到一樣高的櫃臺上給我久病的父親去買藥。回家之後,又須忙別的事了,因爲開方的醫生是最有名的,以此所用的藥引也奇特:冬天的蘆根,經霜三年的甘蔗,蟋蟀要原對的,結子的平地木,……多不是容易辦到的東西。然而我的父親終于日重一日的亡故了。 +有誰從小康人家而墜入困頓的麼,我以爲在這途路中,大概可以看見世人的真面目;我要到N進K學堂去了,仿佛是想走異路,逃異地,去尋求別樣的人們。我的母親沒有法,辦了八元的川資,說是由我的自便;然而伊哭了,這正是情理中的事,因爲那時讀書應試是正路,所謂學洋務,社會上便以爲是一種走投無路的人,只得將靈魂賣給鬼子,要加倍的奚落而且排斥的,而況伊又看不見自己的兒子了。然而我也顧不得這些事,終于到N去進了K學堂了,在這學堂裏,我纔知道世上還有所謂格致,算學,地理,歷史,繪圖和體操。生理學並不教,但我們卻看到些木版的《全體新論》和《化學衛生論》之類了。我還記得先前的醫生的議論和方藥,和現在所知道的比較起來,便漸漸的悟得中醫不過是一種有意的或無意的騙子,同時又很起了對于被騙的病人和他的家族的同情;而且從譯出的歷史上,又知道了日本維新是大半發端于西方醫學的事實。 +因爲這些幼稚的知識,後來便使我的學籍列在日本一個鄉間的醫學專門學校裏了。我的夢很美滿,預備卒業回來,救治像我父親似的被誤的病人的疾苦,戰爭時候便去當軍醫,一面又促進了國人對于維新的信仰。我已不知道教授微生物學的方法,現在又有了怎樣的進步了,總之那時是用了電影,來顯示微生物的形狀的,因此有時講義的一段落已完,而時間還沒有到,教師便映些風景或時事的畫片給學生看,以用去這多餘的光陰。其時正當日俄戰爭的時候,關于戰事的畫片自然也就比較的多了,我在這一個講堂中,便須常常隨喜我那同學們的拍手和喝采。有一回,我竟在畫片上忽然會見我久違的許多中國人了,一個綁在中間,許多站在左右,一樣是強壯的體格,而顯出麻木的神情。據解說,則綁著的是替俄國做了軍事上的偵探,正要被日軍砍下頭顱來示衆,而圍著的便是來賞鑑這示衆的盛舉的人們。 +這一學年沒有完畢,我已經到了東京了,因爲從那一回以後,我便覺得醫學並非一件緊要事,凡是愚弱的國民,卽使體格如何健全,如何茁壯,也只能做毫無意義的示衆的材料和看客,病死多少是不必以爲不幸的。所以我們的第一要著,是在改變他們的精神,而善于改變精神的是,我那時以爲當然要推文藝,于是想提倡文藝運動了。在東京的留學生很有學法政理化以至警察工業的,但沒有人治文學和美術;可是在冷淡的空氣中,也幸而尋到幾個同志了,此外又邀集了必須的幾個人,商量之後,第一步當然是出雜誌,名目是取“新的生命”的意思,因爲我們那時大抵帶些復古的傾向,所以只謂之《新生》。 +《新生》的出版之期接近了,但最先就隱去了若干擔當文字的人,接着又逃走了資本,結果只剩下不名一錢的三個人。創始時候旣已背時,失敗時候當然無可吿語,而其後卻連這三個人也都爲各自的運命所驅策,不能在一處縱談將來的好夢了,這就是我們的並未產生的《新生》的結局。 +我感到未嘗經驗的無聊,是自此以後的事。我當初是不知其所以然的;後來想,凡有一人的主張,得了贊和,是促其前進的,得了反對,是促其奮鬭的,獨有叫喊于生人中,而生人並無反應,既非贊同,也無反對,如置身毫無邊際的荒原,無可措手的了,這是怎樣的悲哀呵,我于是以我所感到者爲寂寞。 +這寂寞又一天一天的長大起來,如大毒蛇,纏住了我的靈魂了。 +然而我雖然自有無端的悲哀,卻也並不憤懣,因爲這經驗使我反省,看見自己了:就是我決不是一個振臂一呼應者雲集的英雄。 +只是我自己的寂寞是不可不驅除的,因爲這于我太痛苦。我于是用了種種法,來麻醉自己的靈魂,使我沈入于國民中,使我回到古代去,後來也親歷或旁觀過幾樣更寂寞更悲哀的事,都爲我所不願追懷,甘心使他們和我的腦一同消滅在泥土裏的,但我的麻醉法卻也似乎已經奏了功,再沒有青年時候的慷慨激昂的意思了。 +S會館裏有三間屋,相傳是往昔曾在院子裏的槐樹上縊死過一個女人的,現在槐樹已經高不可攀了,而這屋還沒有人住;許多年,我便寓在這屋裏鈔古碑。客中少有人來,古碑中也遇不到什麼問題和主義,而我的生命卻居然暗暗的消去了,這也就是我惟一的願望。夏夜,蚊子多了,便搖著蒲扇坐在槐樹下,從密葉縫裡看那一點一點的青天,晚出的槐蠶又每每冰冷的落在頭頸上。 +那時偶或來談的是一個老朋友金心異,將手提的大皮夾放在破桌上,脫下長衫,對面坐下了,因爲怕狗,似乎心房還在怦怦的跳動。 +“你鈔了這些有什麼用?”有一夜,他翻著我那古碑的鈔本,發了研究的質問了。“沒有什麼用。”“那麼,你鈔他是什麼意思呢?”“沒有什麼意思。”“我想,你可以做點文章……” +我懂得他的意思了,他們正辦《新青年》,然而那時仿佛不特沒有人來贊同,並且也還沒有人來反對,我想,他們許是感到寂寞了,但是說: +“假如一間鐵屋子,是絕無窗戶而萬難破毀的,裏面有許多熟睡的人們,不久都要悶死了,然而是從昏睡入死滅,並不感到就死的悲哀。現在你大嚷起來,驚起了較爲清醒的幾個人,使這不幸的少數者來受無可挽救的臨終的苦楚,你倒以爲對得起他們麼?” +“然而幾個人旣然起來,你不能說決沒有毀壞這鐵屋的希望。” +是的,我雖然自有我的確信,然而說到希望,卻是不能抹殺的,因爲希望是在于將來,決不能以我之必無的證明,來折服了他之所謂可有,于是我終于答應他也做文章了,這便是最初的一篇《狂人日記》。從此以後,便一發而不可收,每寫些小說模樣的文章,以敷衍朋友們的囑托,積久就有了十餘篇。 +在我自己,本以爲現在是已經並非一個切迫而不能已于言的人了,但或者也還未能忘懷于當日自己的寂寞的悲哀罷,所以有時候仍不免吶喊幾聲,聊以慰藉那在寂寞裏奔馳的猛士,使他不憚于前驅。至于我的喊聲是勇猛或是悲哀,是可憎或是可笑,那倒是不暇顧及的;但旣然是吶喊,則當然須聽將令的了,所以我往往不恤用了曲筆,在《藥》的瑜兒的墳上平空添上一個花環,在《明天》裏也不敍單四嫂子竟沒有做到看見兒子的夢,因爲那時的主將是不主張消極的。至于自己,卻也並不願將自以爲苦的寂寞,再來傳染給也如我那年青時候似的正做著好夢的青年。 +這樣說來,我的小說和藝術的距離之遠,也就可想而知了,然而到今日還能蒙着小說的名,甚而至于且有成集的機會,無論如何總不能不說是一件徼幸的事,但徼幸雖使我不安于心,而懸揣人間暫時還有讀者,則究竟也仍然是高興的。 +所以我竟將我的短篇小說結集起來,而且付印了,又因爲上面所說的緣由,便稱之爲《吶喊》。 +魯鎭的酒店的格局,是和別處不同的:都是當街一個曲尺形的大櫃臺,櫃裏面豫備着熱水,可以隨時溫酒。做工的人,傍午傍晚散了工,每每花四文銅錢,買一碗酒,——這是二十多年前的事,現在每碗要漲到十文,——靠櫃外站着,熱熱的喝了休息;倘肯多花一文,便可以買一碟鹽煮筍,或者茴香豆,做下酒物了,如果出到十幾文,那就能買一樣葷菜,但這些顧客,多是短衣幫,大抵沒有這樣闊綽。只有穿長衫的,纔踱進店面隔壁的房子裏,要酒要菜,慢慢地坐喝。 +我從十二歲起,便在鎭口的咸亨酒店裏當夥計,掌櫃說,樣子太傻,怕侍候不了長衫主顧,就在外面做點事罷。外面的短衣主顧,雖然容易說話,但嘮嘮叨叨纏夾不清的也很不少。他們往往要親眼看着黃酒從罎子裏舀出,看過壺子底裏有水沒有,又親看將壺子放在熱水裏,然後放心:在這嚴重監督下,羼水也很爲難。所以過了幾天,掌櫃又說我幹不了這事。幸虧薦頭的情面大,辭退不得,便改爲專管溫酒的一種無聊職務了。 +我從此便整天的站在櫃臺裏,專管我的職務。雖然沒有什麼失職,但總覺得有些單調,有些無聊。掌櫃是一副凶臉孔,主顧也沒有好聲氣,教人活潑不得;只有孔乙己到店,纔可以笑幾聲,所以至今還記得。 +孔乙己是站着喝酒而穿長衫的唯一的人。他身材很高大;青白臉色,皺紋間時常夾些傷痕;一部亂蓬蓬的花白的鬍子。穿的雖然是長衫,可是又髒又破,似乎十多年沒有補,也沒有洗。他對人說話,總是滿口之乎者也,教人半懂不懂的。因爲他姓孔,別人便從描紅紙上的「上大人孔乙己」這半懂不懂的話裏,替他取下一個綽號,叫作孔乙己。孔乙己一到店,所有喝酒的人便都看着他笑,有的叫道,「孔乙己,你臉上又添上新傷疤了!」他不回答,對櫃裏說,「溫兩碗酒,要一碟茴香豆。」便排出九文大錢。他們又故意的高聲嚷道,「你一定又偷了人家的東西了!」孔乙己睜大眼睛說,「你怎麼這樣憑空汚人清白……」「什麼清白?我前天親眼見你偷了何家的書,弔着打。」孔乙己便漲紅了臉,額上的青筋條條綻出,爭辯道,「竊書不能算偷……竊書!……讀書人的事,能算偷麼?」接連便是難懂的話,什麼「君子固窮」,什麼「者乎」之類,引得衆人都哄笑起來:店內外充滿了快活的空氣。 +聽人家背地裏談論,孔乙己原來也讀過書,但終于沒有進學,又不會營生;于是愈過愈窮,弄到將要討飯了。幸而寫得一筆好字,便替人家鈔鈔書,換一碗飯喫。可惜他又有一樣壞脾氣,便是好喝嬾做。坐不到幾天,便連人和書籍紙張筆硯,一齊失蹤。如是幾次,叫他鈔書的人也沒有了。孔乙己沒有法,便免不了偶然做些偷竊的事。但他在我們店裏,品行卻比別人都好,就是從不拖欠;雖然間或沒有現錢,暫時記在粉板上,但不出一月,定然還清,從粉板上拭去了孔乙己的名字。 +孔乙己喝過半碗酒,漲紅的臉色漸漸復了原,旁人便又問道,「孔乙己,你當眞認識字麼?」孔乙己看着問他的人,顯出不屑置辯的神氣。他們便接着說道,「你怎的連半個秀才也撈不到呢?」孔乙己立刻顯出頹唐不安模樣,臉上籠上了一層灰色,嘴裏說些話;這回可是全是之乎者也之類,一些不懂了。在這時候,衆人也都哄笑起來:店內外充滿了快活的空氣。 +在這些時候,我可以附和着笑,掌櫃是決不責備的。而且掌櫃見了孔乙己,也每每這樣問他,引人發笑。孔乙己自己知道不能和他們談天,便只好向孩子說話。有一回對我說道,「你讀過書麼?」我略略點一點頭。他說,「讀過書,……我便考你一考。茴香豆的茴字,怎樣寫的?」我想,討飯一樣的人,也配考我麼?便回過臉去,不再理會。孔乙己等了許久,很懇切的說道,「不能寫罷?……我教給你,記着!這些字應該記着。將來做掌櫃的時候,寫賬要用。」我暗想我和掌櫃的等級還很遠呢,而且我們掌櫃也從不將茴香豆上賬;又好笑,又不耐煩,嬾嬾的答他道,「誰要你教,不是草頭底下一個來回的回字麼?」孔乙己顯出極高興的樣子,將兩個指頭的長指甲敲着櫃臺,點頭說,「對呀對呀!……回字有四樣寫法,你知道麼?」我愈不耐煩了,努着嘴走遠。孔乙己剛用指甲蘸了酒,想在櫃上寫字,見我毫不熱心,便又歎一口氣,顯出極惋惜的樣子。 +有幾回,鄰舍孩子聽得笑聲,也趕熱鬧,圍住了孔乙己。他便給他們茴香豆喫,一人一顆。孩子喫完豆,仍然不散,眼睛都望着碟子。孔乙己着了慌,伸開五指將碟子罩住,彎腰下去說道,「不多了,我已經不多了。」直起身又看一看豆,自己搖頭說,「不多不多!多乎哉?不多也。」於是這一羣孩子都在笑聲裏走散了。 +孔乙己是這樣的使人快活,可是沒有他,別人也便這麼過。 +有一天,大約是中秋前的兩三天,掌櫃正在慢慢的結賬,取下粉板,忽然說,「孔乙己長久沒有來了。還欠十九個錢呢!」我纔也覺得他的確長久沒有來了。一個喝酒的人說道,「他怎麼會來?……他打折了腿了。」掌櫃說,「哦!」「他總仍舊是偷。這一回,是自己發昏,竟偷到丁舉人家裏去了。他家的東西,偷得的麼?」「後來怎麼樣?」「怎麼樣?先寫服辯,後來是打,打了大半夜,再打折了腿。」「後來呢?」「後來打折了腿了。」「打折了怎樣呢?」「怎樣?……誰曉得?許是死了。」掌櫃也不再問,仍然慢慢的算他的賬。 +中秋之後,秋風是一天涼比一天,看看將近初冬;我整天的靠着火,也須穿上棉襖了。一天的下半天,沒有一個顧客,我正合了眼坐着。忽然間聽得一個聲音,「溫一碗酒。」這聲音雖然極低,卻很耳熟。看時又全沒有人。站起來向外一望,那孔乙己便在櫃臺下對了門檻坐着。他臉上黑而且瘦,已經不成樣子;穿一件破夾襖,盤着兩腿,下面墊一個蒲包,用草繩在肩上掛住;見了我,又說道,「溫一碗酒。」掌櫃也伸出頭去,一面說,「孔乙己麼?你還欠十九個錢呢!」孔乙己很頹唐的仰面答道,「這……下回還清罷。這一回是現錢,酒要好。」掌櫃仍然同平常一樣,笑着對他說,「孔乙己,你又偷了東西了!」但他這回卻不十分分辯,單說了一句「不要取笑!」「取笑?要是不偷,怎麼會打斷腿?」孔乙己低聲說道,「跌斷,跌,跌……」他的眼色,很像懇求掌櫃,不要再提。此時已經聚集了幾個人,便和掌櫃都笑了。我溫了酒,端出去,放在門檻上。他從破衣袋裏摸出四文大錢,放在我手裏,見他滿手是泥,原來他便用這手走來的。不一會,他喝完酒,便又在旁人的說笑聲中,坐着用這手慢慢走去了。 +自此以後,又長久沒有看見孔乙己。到了年關,掌櫃取下粉板說,「孔乙己還欠十九個錢呢!」到第二年的端午,又說「孔乙己還欠十九個錢呢!」到中秋可是沒有說,再到年關也沒有看見他。 +我到現在終于沒有見——大約孔乙己的確死了。 +秋天的後半夜,月亮下去了,太陽還沒有出,只剩下一片烏藍的天;除了夜遊的東西,什麽都睡著。華老栓忽然坐起身,擦着火柴,點上遍身油膩的燈盞,茶館的兩間屋子裏,便彌滿了青白的光。 +「小栓的爹,你就去麽?」是一個老女人的聲音。裏邊的小屋子裏,也發出一陣咳嗽。「唔。」老栓一面聽,一面應,一面扣上衣服;伸手過去說,「你給我罷。」 +華大媽在枕頭底下掏了半天,掏出一包洋錢,交給老栓,老栓接了,抖抖的裝入衣袋,又在外面按了兩下;便點上燈籠,吹熄燈盞,走向裏屋子去了。那屋子裏面,正在窸窸窣窣的響,接著便是一通咳嗽。老栓候他平靜下去,才低低的叫道,「小栓……你不要起來。……店麽?你娘會安排的。」 +老栓聽得兒子不再說話,料他安心睡了;便出了門,走到街上。街上黑沈沈的一無所有,只有一條灰白的路,看得分明。燈光照着他的兩腳,一前一後的走。有時也遇到幾隻狗,可是一隻也沒有叫。天氣比屋子裏冷多了;老栓倒覺爽快,彷彿一旦變了少年,得了神通,有給人生命的本領似的,跨步格外高遠。而且路也愈走愈分明,天也愈走愈亮了。 +老栓正在專心走路,忽然吃了一驚,遠遠裏看見一條丁字街,明明白白橫著。他便退了幾步,尋到一家關着門的鋪子,蹩進簷下,靠門立住了。好一會,身上覺得有些發冷。「哼,老頭子。」「倒高興……。」 +老栓又喫一驚,睜眼看時,幾個人從他面前過去了。一個還回頭看他,樣子不甚分明,但很像久餓的人見了食物一般,眼裏閃出一種攫取的光。老栓看看燈籠,已經熄了。按一按衣袋,硬硬的還在。仰起頭兩面一望,只見許多古怪的人,三三兩兩,鬼似的在那裏徘徊;定睛再看,卻也看不出什麼別的奇怪。 +沒有多久,又見幾個兵,在那邊走動;衣服前後的一個大白圓圈,遠地裏也看得清楚,走過面前的,並且看出號衣上暗紅的鑲邊。——一陣腳步聲響,一眨眼,已經擁過了一大簇人。那三三兩兩的人,也忽然合作一堆,潮一般向前趕;將到丁字街口,便突然立住,簇成一個半圓。 +老栓也向那邊看,卻只見一堆人的後背;頸項都伸得很長,彷彿許多鴨,被無形的手揑住了的,向上提着。靜了一會,似乎有點聲音,便又動搖起來,轟的一聲,都向後退;一直散到老栓立着的地方,幾乎將他擠倒了。 +「喂!一手交錢,一手交貨!」一個渾身黑色的人,站在老栓面前,眼光正像兩把刀,刺得老栓縮小了一半。那人一隻大手,向他攤着;一隻手卻撮着一個鮮紅的饅頭,那紅的還是一點一點的往下滴。 +老栓慌忙摸出洋錢,抖抖的想交給他,卻又不敢去接他的東西。那人便焦急起來,嚷道,「怕什麼?怎的不拿!」老栓還躊躇着;黑的人便搶過燈籠,一把扯下紙罩,裹了饅頭,塞與老栓;一手抓過洋錢,揑一揑,轉身去了。嘴裏哼着說,「這老東西……。」 +「這給誰治病的呀?」老栓也似乎聽得有人問他,但他並不答應;他的精神,現在只在一個包上,彷彿抱着一個十世單傳的嬰兒,別的事情,都已置之度外了。他現在要將這包裏的新的生命,移植到他家裏,收穫許多幸福。太陽也出來了;在他面前,顯出一條大道,直到他家中,後面也照見丁字街頭破匾上「古口亭口」這四個黯淡的金字。 +老栓走到家,店面早經收拾乾淨,一排一排的茶桌,滑溜溜的發光。但是沒有客人;只有小栓坐在裏排的桌前吃飯,大粒的汗,從額上滾下,夾襖也帖住了脊心,兩塊肩胛骨高高凸出,印成一個陽文的「八字」。老栓見這樣子,不免皺一皺展開的眉心。他的女人,從竈下急急走出,睜着眼睛,嘴唇有些發抖。「得了麼?」「得了。」 +兩個人一齊走進竈下,商量了一會;華大媽便出去了,不多時,拏着一片老荷葉回來,攤在桌上。老栓也打開燈籠罩,用荷葉重新包了那紅的饅頭。小栓也吃完飯,他的母親慌忙說:「小栓——你坐着,不要到這裏來。」一面整頓了竈火,老栓便把一個碧綠的包,一個紅紅白白的破燈籠,一同塞在竈裏;一陣紅黑的火焰過去時,店屋裏散滿了一種奇怪的香味。 +「好香!你們吃什麼點心呀?」這是駝背五少爺到了。這人每天總在茶館裏過日,來得最早,去得最遲,此時恰恰蹩到臨街的壁角的桌邊,便坐下問話,然而沒有人答應他。「炒米粥麽?」仍然沒有人應。老栓匆匆走出,給他泡上茶。 +「小栓進來罷!」華大媽叫小栓進了裏面的屋子,中間放好一條凳,小栓坐了。他的母親端過一碟烏黑的圓東西,輕輕說:——「喫下去罷,——病便好了。」 +小栓撮起這黑東西,看了一會,似乎拏着自己的性命一般,心裏說不出的奇怪。十分小心的拗開了,焦皮裏面竄出一道白氣,白氣散了,是兩半個白麵的饅頭。——不多工夫,已經全在肚裏了,卻全忘了什麼味;面前只剩下一張空盤。他的旁邊,一面立着他的父親,一面立着他的母親,兩人的眼光,都彷彿要在他身裏注進什麽又要取出什麽似的;便禁不住心跳起來,按着胸膛,又是一陣咳嗽。 +「睡一會罷,——便好了。」 +小栓依他母親的話,咳着睡了。華大媽候他喘氣平靜,才輕輕的給他蓋上了滿幅補釘的夾被。 +店裏坐着許多人,老栓也忙了,提着大銅壺,一趟一趟的給客人沖茶;兩個眼眶,都圍着一圈黑線。 +「老栓,你有些不舒服麽?——你生病麽?」一個花白鬍子的人說。「沒有。」 +「沒有?——我想笑嘻嘻的,原也不像……」花白鬍子便取消了自己的話。 +「老栓只是忙。要是他的兒子……」駝背五少爺話還未完,突然闖進了一個滿臉橫肉的人,披一件玄色布衫,散着紐扣,用很寬的玄色腰帶,胡亂捆在腰間。剛進門,便對老栓嚷道: +「吃了麽?好了麽?老栓,就是運氣了你!你運氣,要不是我信息靈……。」 +老栓一手提了茶壺,一手恭恭敬敬的垂着;笑嘻嘻的聽。滿座的人,也都恭恭敬敬的聽。華大媽也黑着眼眶,笑嘻嘻的送出茶碗茶葉來,加上一個橄欖,老栓便去沖了水。 +「這是包好!這是與眾不同的。你想,趁熱的拏來,趁熱吃下。」橫肉的人只是嚷。 +「真的呢,要沒有康大叔照顧,怎麽會這樣……」華大媽也很感激的謝他。 +「包好,包好!這樣的趁熱吃下。這樣的人血饅頭,什麽癆病都包好!」 +華大媽聽到「癆病」這兩個字,變了一點臉色,似乎有些不高興;但又立刻堆上笑,搭訕着走開了。這康大叔卻沒有覺察,仍然提高了喉嚨只是嚷,嚷得裏面睡着的小栓也合夥咳嗽起來。 +「原來你家小栓碰到了這樣的好運氣了。這病自然一定全好;怪不得老栓整天的笑着呢。」花白鬍子一面說,一面走到康大叔面前,低聲下氣的問道,「康大叔——聽說今天結果的一個犯人,便是夏家的孩子,那是誰的孩子?究竟是什麼事?」 +「誰的?不就是夏四奶奶的兒子麽?那個小傢伙!」康大叔見眾人都聳起耳朵聽他,便格外高興,橫肉塊塊飽綻,越發大聲說,「這小東西不要命,不要就是了。我可是這一回一點沒有得到好處;連剝下來的衣服,都給管牢的紅眼睛阿義拏去了。——第一要算我們栓叔運氣;第二是夏三爺賞了二十五兩雪白的銀子,獨自落腰包,一文不花。」 +小栓慢慢的從小屋子裏走出,兩手按了胸口,不住的咳嗽;走到竈下,盛出一碗冷飯,泡上熱水,坐下便吃。華大媽跟着他走,輕輕的問道,「小栓,你好些麽?——你仍舊只是肚餓?……」 +「包好,包好!」康大叔瞥了小栓一眼,仍然回過臉,對眾人說,「夏三爺真是乖角兒,要是他不先告官,連他滿門抄斬。現在怎樣?銀子!——這小東西也真不成東西!關在牢裏,還要勸牢頭造反。」 +「阿呀,那還了得。」坐在後排的一個二十多歲的人,很現出氣憤模樣。 +「你要曉得紅眼睛阿義是去盤盤底細的,他卻和他攀談了。他說:這大清的天下是我們大家的。你想:這是人話麽?紅眼睛原知道他家裏只有一個老娘,可是沒有料到他竟會那麽窮,搾不出一點油水,已經氣破肚皮了。他還要老虎頭上搔癢,便給他兩個嘴巴!」 +「義哥是一手好拳棒,這兩下,一定夠他受用了。」壁角的駝背忽然高興起來。 +「他這賤骨頭打不怕,還要說可憐可憐哩。」 +花白鬍子的人說,「打了這種東西,有什麽可憐呢?」 +康大叔顯出看他不上的樣子,冷笑着說,「你沒有聽清我的話;看他神氣,是說阿義可憐哩!」 +聽着的人的眼光,忽然有些板滯;話也停頓了。小栓已經吃完飯,吃得滿身流汗,頭上都冒出蒸氣來。 +「阿義可憐——瘋話,簡直是發了瘋了。」花白鬍子恍然大悟似的說。 +「發了瘋了。」二十多歲的人也恍然大悟的說。 +店裏的坐客,便又現出活氣,談笑起來。小栓也趁着熱鬧,拚命咳嗽;康大叔走上前,拍他肩膀說: +「包好!小栓——你不要這麼咳。包好!」 +「瘋了。」駝背五少爺點着頭說。 +西關外靠着城根的地面,本是一塊官地;中間歪歪斜斜一條細路,是貪走便道的人,用鞋底造成的,但卻成了自然的界限。路的左邊,都埋着死刑和瘐斃的人,右邊是窮人的叢塚。兩面都已埋到層層疊疊,宛然闊人家裏祝壽時候的饅頭。 +這一年的清明,分外寒冷;楊柳才吐出半粒米大的新芽。天明未久,華大媽已在右邊的一坐新墳前面,排出四碟菜,一碗飯,哭了一場。化過紙,呆呆的坐在地上;彷彿等候什麽似的,但自己也說不出等候什麽。微風起來,吹動他短髮,確乎比去年白得多了。 +小路上又來了一個女人,也是半白頭髮,襤褸的衣裙;提一個破舊的朱漆圓籃,外掛一串紙錠,三步一歇的走。忽然見華大媽坐在地上看他,便有些躊躇,慘白的臉上,現出些羞愧的顏色;但終於硬着頭皮,走到左邊的一坐墳前,放下了籃子。 +那墳與小栓的墳,一字兒排着,中間只隔一條小路。華大媽看他排好四碟菜,一碗飯,立着哭了一通,化過紙錠;心裏暗暗地想,「這墳裏的也是兒子了。」那老女人徘徊觀望了一回,忽然手腳有些發抖,蹌蹌踉踉退下幾步,瞪着眼只是發怔。 +華大媽見這樣子,生怕他傷心到快要發狂了;便忍不住立起身,跨過小路,低聲對他說,「你這位老奶奶不要傷心了,——我們還是回去罷。」 +那人點一點頭,眼睛仍然向上瞪着;也低聲吃吃的說道,「你看,——看這是什麽呢?」 +華大媽跟了他指頭看去,眼光便到了前面的墳,這墳上草根還沒有全合,露出一塊一塊的黃土,煞是難看。再往上仔細看時,卻不覺也吃一驚;——分明有一圈紅白的花,圍着那尖圓的墳頂。 +他們的眼睛都已老花多年了,但望這紅白的花,卻還能明白看見。花也不很多,圓圓的排成一個圈,不很精神,倒也整齊。華大媽忙看他兒子和別人的墳,卻只有不怕冷的幾點青白小花,零星開着;便覺得心裏忽然感到一種不足和空虛,不願意根究。那老女人又走近幾步,細看了一遍,自言自語的說,「這沒有根,不像自己開的。——這地方有誰來呢?孩子不會來玩;——親戚本家早不來了。——這是怎麼一回事呢?」他想了又想,忽又流下淚來,大聲說道: +「瑜兒,他們都冤枉了你,你還是忘不了,傷心不過,今天特意顯點靈,要我知道麽?」他四面一看,只見一隻烏鴉,站在一株沒有葉的樹上,便接着說,「我知道了。——瑜兒,可憐他們坑了你,他們將來總有報應,天都知道;你閉了眼睛就是了。——你如果真在這裏,聽到我的話,——便教這烏鴉飛上你的墳頂,給我看罷。」 +微風早經停息了;枯草支支直立,有如銅絲。一絲發抖的聲音,在空氣中愈顫愈細,細到沒有,周圍便都是死一般靜。兩人站在枯草叢裏,仰面看那烏鴉;那烏鴉也在筆直的樹枝間,縮着頭,鐵鑄一般站著。 +許多的工夫過去了;上墳的人漸漸增多,幾個老的小的,在土墳間出沒。 +華大媽不知怎的,似乎卸下了一挑重擔,便想到要走;一面勸着說,「我們還是回去罷。」 +那老女人嘆一口氣,無精打采的收起飯菜;又遲疑了一刻,終於慢慢地走了。嘴裏自言自語的說,「這是怎麼一回事呢?……」 +他們走不上二三十步遠,忽聽得背後「啞——」的一聲大叫;兩個人都竦然的回過頭,只見那烏鴉張開兩翅,一挫身,直向着遠處的天空,箭也似的飛去了。 +住在我們後進院子裏的三太太,在夏間買了一對白兔,是給伊的孩子們看的。 +這一對白兔,似乎離娘並不久,雖然是異類,也可以看出他們的天真爛熳來。但也豎直了小小的通紅的長耳朵,動著鼻子,眼睛裏頗現些驚疑的神色,大約究竟覺得人地生疏,沒有在老家時候的安心了。這種東西,倘到廟會日期自己出去買,每個至多不過兩弔錢,而三太太卻花了一元,因為是叫小使上店買來的。 +孩子們自然大得意了,嚷著圍住了看;大人也都圍著看;還有一匹小狗名叫S的也跑來,闖過去一嗅,打了一個噴嚏,退了幾步。三太太吆喝道,「S,聽著,不准你咬他!」於是在他頭上打了一拳,S便退開了,從此並不咬。 +這一對兔總是關在後窗後面的小院子裏的時候多,聽說是因為太喜歡撕壁紙,也常常啃木器腳。這小院子裏有一株野桑樹,桑子落地,他們最愛吃,便連喂他們的菠菜也不吃了。烏鴉喜鵲想要下來時,他們便躬著身子用後腳在地上使勁的一彈,砉的一聲直跳上來,像飛起了一團雪,鴉鵲嚇得趕緊走,這樣的幾回,再也不敢近來了。三太太說,鴉鵲到不打緊,至多也不過搶吃一點食料,可惡的是一匹大黑貓,常在矮牆上惡狠狠的看,這卻要防的,幸而S和貓是對頭,或者還不至於有什麼罷。 +孩子們時時捉他們來玩耍;他們很和氣,豎起耳朵,動著鼻子,馴良的站在小手的圈子裏,但一有空,卻也就溜開去了。他們夜裏的臥榻是一個小木箱,裏面鋪些稻草,就在後窗的房檐下。 +這樣的幾個月之後,他們忽而自己掘土了,掘得非常快,前腳一抓,後腳一踢,不到半天,已經掘成一個深洞。大家都奇怪,後來仔細看時,原來一個的肚子比別一個的大得多了。他們第二天便將乾草和樹葉銜進洞裏去,忙了大半天。 +大家都高興,說又有小兔可看了;三太太便對孩子們下了戒嚴令,從此不許再去捉。我的母親也很喜歡他們家族的繁榮,還說待生下來的離了乳,也要去討兩匹來養在自己的窗外面。 +他們從此便住在自造的洞府裏,有時也出來吃些食,後來不見了,可不知道他們是預先運糧存在裏面呢還是竟不吃。過了十多天,三太太對我說,那兩匹又出來了,大約小兔是生下來又都死掉了,因為雌的一匹的奶非常多,卻並不見有進去哺養孩子的形跡。伊言語之間頗氣憤,然而也沒有法。 +有一天,太陽很溫暖,也沒有風,樹葉都不動,我忽聽得許多人在那裏笑,尋聲看時,卻見許多人都靠著三太太的後窗看:原來有一個小兔,在院子裏跳躍了。這比他的父母買來的時候還小得遠,但也已經能用後腳一彈地,迸跳起來了。孩子們爭著告訴我說,還看見一個小兔到洞口來探一探頭,但是即刻便縮回去了,那該是他的弟弟罷。 +那小的也撿些草葉吃,然而大的似乎不許他,往往夾口的搶去了,而自己並不吃。孩子們笑得響,那小的終於吃驚了,便跳著鑽進洞裏去;大的也跟到洞門口,用前腳推著他的孩子的脊樑,推進之後,又爬開泥土來封了洞。 +從此小院子裏更熱鬧,窗口也時時有人窺探了。 +然而竟又全不見了那小的和大的。這時是連日的陰天,三太太又慮到遭了那大黑貓的毒手的事去。我說不然,那是天氣冷,當然都躲著,太陽一齣,一定出來的。 +太陽出來了,他們卻都不見。於是大家就忘卻了。 +惟有三太太是常在那裏喂他們菠菜的,所以常想到。伊有一回走進窗後的小院子去,忽然在牆角發見了一個別的洞,再看舊洞口,卻依稀的還見有許多爪痕。這爪痕倘說是大兔的,爪該不會有這樣大,伊又疑心到那常在牆上的大黑貓去了,伊於是也就不能不定下發掘的決心了。伊終於出來取了鋤子,一路掘下去,雖然疑心,卻也希望著意外的見了小白兔的,但是待到底,卻只見一堆爛草夾些兔毛,怕還是臨蓐時候所鋪的罷,此外是冷清清的,全沒有什麼雪白的小兔的蹤跡,以及他那隻一探頭未出洞外的弟弟了。 +氣憤和失望和淒涼,使伊不能不再掘那牆角上的新洞了。一動手,那大的兩匹便先竄出洞外面。伊以為他們搬了家了,很高興,然而仍然掘,待見底,那裏面也鋪著草葉和兔毛,而上面卻睡著七個很小的兔,遍身肉紅色,細看時,眼睛全都沒有開。 +一切都明白了,三太太先前的預料果不錯。伊為預防危險起見,便將七個小的都裝在木箱中,搬進自己的房裏,又將大的也捺進箱裏面,勒令伊去哺乳。 +三太太從此不但深恨黑貓,而且頗不以大兔為然了。據說當初那兩個被害之先,死掉的該還有,因為他們生一回,決不至於只兩個,但為了哺乳不勻,不能爭食的就先死了。這大概也不錯的,現在七個之中,就有兩個很瘦弱。所以三太太一有閑空,便捉住母兔,將小兔一個一個輪流的擺在肚子上來喝奶,不准有多少。 +母親對我說,那樣麻煩的養兔法,伊歷來連聽也未曾聽到過,恐怕是可以收入《無雙譜》的。 +白兔的家族更繁榮;大家也又都高興了。 +但自此之後,我總覺得淒涼。夜半在燈下坐著想,那兩條小性命,竟是人不知鬼不覺的早在不知什麼時候喪失了,生物史上不著一些痕跡,並S也不叫一聲。我於是記起舊事來,先前我住在會館裏,清早起身,只見大槐樹下一片散亂的鴿子毛,這明明是膏於鷹吻的了,上午長班來一打掃,便什麼都不見,誰知道曾有一個生命斷送在這裏呢?我又曾路過西四牌樓,看見一匹小狗被馬車軋得快死,待回來時,什麼也不見了,搬掉了罷,過往行人憧憧的走著,誰知道曾有一個生命斷送在這裏呢?夏夜,窗外面,常聽到蒼蠅的悠長的吱吱的叫聲,這一定是給蠅虎咬住了,然而我向來無所容心於其間,而別人並且不聽到…… +假使造物也可以責備,那麼,我以為他實在將生命造得太濫了,毀得太濫了。 +嗥的一聲,又是兩條貓在窗外打起架來。「迅兒!你又在那裏打貓了?」「不,他們自己咬。他那裏會給我打呢。」 +我的母親是素來很不以我的虐待貓為然的,現在大約疑心我要替小兔抱不平,下什麼辣手,便起來探問了。而我在全家的口碑上,卻的確算一個貓敵。我曾經害過貓,平時也常打貓,尤其是在他們配合的時候。但我之所以打的原因並非因為他們配合,是因為他們嚷,嚷到使我睡不著,我以為配合是不必這樣大嚷而特嚷的。 +況且黑貓害了小兔,我更是「師出有名」的了。我覺得母親實在太修善,於是不由的就說出模棱的近乎不以為然的答話來。 +造物太胡鬧,我不能不反抗他了,雖然也許是倒是幫他的忙…… +那黑貓是不能久在矮牆上高視闊步的了,我決定的想,於是又不由的一瞥那藏在書箱裏的一瓶青酸鉀。 +我在倒數上去的二十年中,只看過兩回中國戲,前十年是絕不看,因為沒有看戲的意思和機會,那兩回全在後十年,然而都沒有看出什麼來就走了。 +第一回是民國元年我初到北京的時候,當時一個朋友對我說,北京戲最好,你不去見見世面麽?我想,看戲是有味的,而況在北京呢。於是都興緻勃勃的跑到什麼園,戲文已經開場了,在外面也早聽到鼕鼕地響。我們挨進門,幾個紅的綠的在我的眼前一閃爍,便又看見戲臺下滿是許多頭,再定神四面看,卻見中間也還有幾個空座,擠過去要坐時,又有人對我發議論,我因為耳朵已經喤的響著了,用了心,纔聽到他是說「有人,不行!」。 +我們退到後面,一個辮子很光的卻來領我們到了側面,指出一個地位來。這所謂地位者,原來是一條長凳,然而他那坐板比我的上腿要狹到四分之三,他的腳比我的下腿要長過三分之二。我先是沒有爬上去的勇氣,接著便聯想到私刑拷打的刑具,不由的毛骨悚然的走出了。 +走了許多路,忽聽得我的朋友的聲音道,「究竟怎的?」我回過臉去,原來他也被我帶出來了。他很詫異的說,「怎麼總是走,不答應?」我說,「朋友,對不起,我耳朵只在鼕鼕喤喤的響,並沒有聽到你的話。」 +後來我每一想到,便很以為奇怪,似乎這戲太不好,——否則便是我近來在戲臺下不適於生存了。 +第二回忘記了那一年,總之是募集湖北水災捐而譚叫天還沒有死。捐法是兩元錢買一張戲票,可以到第一舞臺去看戲,扮演的多是名角,其一就是小叫天。我買了一張票,本是對於勸募人聊以塞責的,然而似乎又有好事家乘機對我說了些叫天不可不看的大法要了。我於是忘了前幾年的鼕鼕喤喤之災,竟到第一舞臺去了,但大約一半也因為重價購來的寶票,總得使用了纔舒服。我打聽得叫天出臺是遲的,而第一舞臺卻是新式構造,用不著爭座位,便放了心,延宕到九點鐘纔去,誰料照例,人都滿了,連立足也難,我只得擠在遠處的人叢中看一個老旦在臺上唱。那老旦嘴邊插著兩個點火的紙撚子,旁邊有一個鬼卒,我費盡思量,纔疑心他或者是目連的母親,因為後來又出來了一個和尚。然而我又不知道那名角是誰,就去問擠小在我的左邊的一位胖紳士。他很看不起似的斜瞥了我一眼,說道, 「龔雲甫!」我深愧淺陋而且粗疏,臉上一熱,同時腦裡也制出了決不再問的定章,於是看小旦唱,看花旦唱,看老生唱,看不知什麼角色唱,看一大班人亂打,看兩三個人互打,從九點多到十點,從十點到十一點,從十一點到十一點半,從十一點半到十二點,——然而叫天竟還沒有來。 +我向來沒有這樣忍耐的等待過什麼事物,而況這身邊的胖紳士的吁吁的喘氣,這臺上的鼕鼕喤喤的敲打,紅紅綠綠的晃蕩,加之以十二點,忽而使我省誤到在這裡不適於生存了。我同時便機械的擰轉身子,用力往外只一擠,覺得背後便已滿滿的,大約那彈性的胖紳士早在我的空處胖開了他的右半身了。我後無迴路,自然擠而又擠,終於出了大門。街上除了專等看客的車輛之外,幾乎沒有什麼行人了,大門口卻還有十幾個人昂著頭看戲目,別有一堆人站著並不看什麼,我想:他們大概是看散戲之後出來的女人們的,而叫天卻還沒有來…… +然而夜氣很清爽,真所謂「沁人心脾」,我在北京遇著這樣的好空氣,仿佛這是第一遭了。 +這一夜,就是我對於中國戲告了別的一夜,此後再沒有想到他,即使偶而經過戲園,我們也漠不相關,精神上早已一在天之南一在地之北了。 +但是前幾天,我忽在無意之中看到一本日本文的書,可惜忘記了書名和著者,總之是關於中國戲的。其中有一篇,大意仿佛說,中國戲是大敲,大叫,大跳,使看客頭昏腦眩,很不適於劇場,但若在野外散漫的所在,遠遠的看起來,也自有他的風致。我當時覺著這正是說了在我意中而未曾想到的話,因為我確記得在野外看過很好的戲,到北京以後的連進兩回戲園去,也許還是受了那時的影響哩。可惜我不知道怎麼一來,竟將書名忘卻了。 +至於我看好戲的時候,卻實在已經是「遠哉遙遙」的了,其時恐怕我還不過十一二歲。我們魯鎮的習慣,本來是凡有出嫁的女兒,倘自己還未當家,夏間便大抵回到母家去消夏。那時我的祖母雖然還康建,但母親也已分擔了些家務,所以夏期便不能多日的歸省了,只得在掃墓完畢之後,抽空去住幾天,這時我便每年跟了我的母親住在外祖母的家裡。那地方叫平橋村,是一個離海邊不遠,極偏僻的,臨河的小村莊;住戶不滿三十家,都種田,打魚,只有一家很小的雜貨店。但在我是樂土:因為我在這裡不但得到優待,又可以免念「秩秩斯乾幽幽南山」了。 +和我一同玩的是許多小朋友,因為有了遠客,他們也都從父母那裡得了減少工作的許可,伴我來遊戲。在小村裡,一家的客,幾乎也就是公共的。我們年紀都相仿,但論起行輩來,卻至少是叔子,有幾個還是太公,因為他們合村都同姓,是本家。然而我們是朋友,即使偶而吵鬧起來,打了太公,一村的老老少少,也決沒有一個會想出「犯上」這兩個字來,而他們也百分之九十九不識字。 +我們每天的事情大概是掘蚯蚓,掘來穿在銅絲做的小鉤上,伏在河沿上去釣蝦。蝦是水世界裡的呆子,決不憚用了自己的兩個鉗捧著鉤尖送到嘴裡去的,所以不半天便可以釣到一大碗。這蝦照例是歸我吃的。其次便是一同去放牛,但或者因為高等動物了的緣故罷,黃牛水牛都欺生,敢於欺侮我,因此我也總不敢走近身,只好遠遠地跟著,站著。這時候,小朋友們便不再原諒我會讀「秩秩斯干」,卻全都嘲笑起來了。 +至於我在那裡所第一盼望的,卻在到趙莊去看戲。趙莊是離平橋村五里的較大的村莊;平橋村太小,自己演不起戲,每年總付給趙莊多少錢,算作合做的。當時我並不想到他們為什麼年年要演戲。現在想,那或者是春賽,是社戲了。 +就在我十一二歲時候的這一年,這日期也看看等到了。不料這一年真可惜,在早上就叫不到船。平橋村只有一隻早出晚歸的航船是大船,決沒有留用的道理。其餘的都是小船,不合用;央人到鄰村去問,也沒有,早都給別人定下了。外祖母很氣惱,怪家裡的人不早定,絮叨起來。母親便寬慰伊,說我們魯鎮的戲比小村裡的好得多,一年看幾回,今天就算了。只有我急得要哭,母親卻竭力的囑咐我,說萬不能裝模裝樣,怕又招外祖母生氣,又不准和別人一同去,說是怕外祖母要擔心。 +總之,是完了。到下午,我的朋友都去了,戲已經開場了,我似乎聽到鑼鼓的聲音,而且知道他們在戲臺下買豆漿喝。 +這一天我不釣蝦,東西也少吃。母親很為難,沒有法子想。到晚飯時候,外祖母也終於覺察了,並且說我應當不高興,他們太怠慢,是待客的禮數裡從來沒有的。吃飯之後,看過戲的少年們也都聚攏來了,高高興興的來講戲。只有我不開口;他們都嘆息而且表同情。忽然間,一個最聰明的雙喜大悟似的提議了,他說,「大船?八叔的航船不是回來了麽?」十幾個別的少年也大悟,立刻攛掇起來,說可以坐了這航船和我一同去。我高興了。然而外祖母又怕都是孩子,不可靠;母親又說是若叫大人一同去,他們白天全有工作,要他熬夜,是不合情理的。在這遲疑之中,雙喜可又看出底細來了,便又大聲的說道,「我寫包票!船又大;迅哥兒向來不亂跑;我們又都是識水性的!」 +誠然!這十多個少年,委實沒有一個不會鳧水的,而且兩三個還是弄潮的好手。 +外祖母和母親也相信,便不再駁回,都微笑了。我們立刻一哄的出了門。 +我的很重的心忽而輕鬆了,身體也似乎舒展到說不出的大。一出門,便望見月下的平橋內泊著一隻白篷的航船,大家跳下船,雙喜拔前篙,阿發拔後篙,年幼的都陪我坐在艙中,較大的聚在船尾。母親送出來吩咐「要小心」的時候,我們已經點開船,在橋石上一磕,退後幾尺,即又上前出了橋。於是架起兩支櫓,一支兩人,一里一換,有說笑的,有嚷的,夾著潺潺的船頭激水的聲音,在左右都是碧綠的豆麥田地的河流中,飛一般徑向趙莊前進了。 +兩岸的豆麥和河底的水草所發散出來的清香,夾雜在水氣中撲面的吹來;月色便朦朧在這水氣裡。淡黑的起伏的連山,仿佛是踴躍的鐵的獸脊似的,都遠遠的向船尾跑去了,但我卻還以為船慢。他們換了四回手,漸望見依稀的趙莊,而且似乎聽到歌吹了,還有幾點火,料想便是戲臺,但或者也許是漁火。 +那聲音大概是橫笛,宛轉,悠揚,使我的心也沉靜,然而又自失起來,覺得要和他彌散在含著豆麥蘊藻之香的夜氣裡。 +那火接近了,果然是漁火;我纔記得先前望見的也不是趙莊。那是正對船頭的一叢松柏林,我去年也曾經去遊玩過,還看見破的石馬倒在地下,一個石羊蹲在草裡呢。過了那林,船便彎進了叉港,於是趙莊便真在眼前了。 +最惹眼的是屹立在莊外臨河的空地上的一座戲臺,模胡在遠處的月夜中,和空間幾乎分不出界限,我疑心畫上見過的仙境,就在這裡出現了。這時船走得更快,不多時,在臺上顯出人物來,紅紅綠綠的動,近臺的河裡一望烏黑的是看戲的人家的船篷。 +「近臺沒有什麼空了,我們遠遠的看罷。」阿發說。 +這時船慢了,不久就到,果然近不得台旁,大家只能下了篙,比那正對戲臺的神棚還要遠。其實我們這白篷的航船,本也不願意和烏篷的船在一處,而況沒有空地呢…… +在停船的匆忙中,看見臺上有一個黑的長鬍子的背上插著四張旗,捏著長槍,和一群赤膊的人正打仗。雙喜說,那就是有名的鐵頭老生,能連翻八十四個筋斗,他日裡親自數過的。 +我們便都擠在船頭上看打仗,但那鐵頭老生卻又並不翻筋斗,只有幾個赤膊的人翻,翻了一陣,都進去了,接著走出一個小旦來,咿咿呀呀的唱。雙喜說,「晚上看客少,鐵頭老生也懈了,誰肯顯本領給白地看呢?」我相信這話對,因為其時臺下已經不很有人,鄉下人為了明天的工作,熬不得夜,早都睡覺去了,疏疏朗朗的站著的不過是幾十個本村和鄰村的閑漢。烏篷船裡的那些土財主的家眷固然在,然而他們也不在乎看戲,多半是專到戲臺下來吃糕餅水果和瓜子的。所以簡直可以算白地。 +然而我的意思卻也並不在乎看翻筋斗。我最願意看的是一個人蒙了白布,兩手在頭上捧著一支棒似的蛇頭的蛇精,其次是套了黃布衣跳老虎。但是等了許多時都不見,小旦雖然進去了,立刻又出來了一個很老的小生。我有些疲倦了,託桂生買豆漿去。他去了一刻,回來說,「沒有。賣豆漿的聾子也回去了。日裡倒有,我還喝了兩碗呢。現在去舀一瓢水來給你喝罷。」 +我不喝水,支撐著仍然看,也說不出見了些什麼,只覺得戲子的臉都漸漸的有些稀奇了,那五官漸不明顯,似乎融成一片的再沒有什麼高低。年紀小的幾個多打呵欠了,大的也各管自己談話。忽而一個紅衫的小丑被綁在臺柱子上,給一個花白鬍子的用馬鞭打起來了,大家纔又振作精神的笑著看。在這一夜裡,我以為這實在要算是最好的一折。 +然而老旦終於出臺了。老旦本來是我所最怕的東西,尤其是怕他坐下了唱。這時候,看見大家也都很掃興,纔知道他們的意見是和我一致的。那老旦當初還只是踱來踱去的唱,後來竟在中間的一把交椅上坐下了。我很擔心;雙喜他們卻就破口喃喃的罵。我忍耐的等著,許多工夫,只見那老旦將手一抬,我以為就要站起來了,不料他卻又慢慢的放下在原地方,仍舊唱。全船裡幾個人不住的吁氣,其餘的也打起哈欠來。雙喜終於熬不住了,說道,怕他會唱到天明還不完,還是我們走的好罷。大家立刻都贊成,和開船時候一樣踴躍,三四人徑奔船尾,拔了篙,點退幾丈,迴轉船頭,駕起櫓,罵著老旦,又向那松柏林前進了。 +月還沒有落,仿佛看戲也並不很久似的,而一離趙莊,月光又顯得格外的皎潔。回望戲臺在燈火光中,卻又如初來未到時候一般,又漂渺得像一座仙山樓閣,滿被紅霞罩著了。吹到耳邊來的又是橫笛,很悠揚;我疑心老旦已經進去了,但也不好意思說再回去看。 +不多久,松柏林早在船後了,船行也並不慢,但周圍的黑暗只是濃,可知已經到了深夜。他們一面議論著戲子,或罵,或笑,一面加緊的搖船。這一次船頭的激水聲更其響亮了,那航船,就像一條大白魚背著一群孩子在浪花裡躥,連夜漁的幾個老漁父,也停了艇子看著喝采起來。 +離平橋村還有一里模樣,船行卻慢了,搖船的都說很疲乏,因為太用力,而且許久沒有東西吃。這回想出來的是桂生,說是羅漢豆正旺相,柴火又現成,我們可以偷一點來煮吃。大家都贊成,立刻近岸停了船;岸上的田裡,烏油油的都是結實的羅漢豆。 +「阿阿,阿發,這邊是你家的,這邊是老六一家的,我們偷那一邊的呢?」雙喜先跳下去了,在岸上說。 +我們也都跳上岸。阿發一面跳,一面說道,「且慢,讓我來看一看罷,」他於是往來的摸了一回,直起身來說道,「偷我們的罷,我們的大得多呢。」一聲答應,大家便散開在阿發家的豆田裡,各摘了一大捧,拋入船艙中。雙喜以為再多偷,倘給阿發的娘知道是要哭罵的,於是各人便到六一公公的田裡又各偷了一大捧。 +我們中間幾個年長的仍然慢慢的搖著船,幾個到後艙去生火,年幼的和我都剝豆。不久豆熟了,便任憑航船浮在水面上,都圍起來用手撮著吃。吃完豆,又開船,一面洗器具,豆莢豆殼全拋在河水裡,什麼痕跡也沒有了。雙喜所慮的是用了八公公船上的鹽和柴,這老頭子很細心,一定要知道,會罵的。然而大家議論之後,歸結是不怕。他如果罵,我們便要他歸還去年在岸邊拾去的一枝枯桕樹,而且當面叫他「八癩子」。 +「都回來了!那裡會錯。我原說過寫包票的!」雙喜在船頭上忽而大聲的說。 +我向船頭一望,前面已經是平橋。橋腳上站著一個人,卻是我的母親,雙喜便是對伊說著話。我走出前艙去,船也就進了平橋了,停了船,我們紛紛都上岸。母親頗有些生氣,說是過了三更了,怎麼回來得這樣遲,但也就高興了,笑著邀大家去吃炒米。 +大家都說已經吃了點心,又渴睡,不如及早睡的好,各自回去了。 +第二天,我向午纔起來,並沒有聽到什麼關係八公公鹽柴事件的糾葛,下午仍然去釣蝦。 +「雙喜,你們這班小鬼,昨天偷了我的豆了罷?又不肯好好的摘,蹋壞了不少。」 我抬頭看時,是六一公公棹著小船,賣了豆回來了,船肚裡還有剩下的一堆豆。 +「是的。我們請客。我們當初還不要你的呢。你看,你把我的蝦嚇跑了!」雙喜說。 +六一公公看見我,便停了楫,笑道,「請客?——這是應該的。」於是對我說, 「迅哥兒,昨天的戲可好麽?」 +我點一點頭,說道,「好。」「豆可中吃呢?」我又點一點頭,說道,「很好。」 +不料六一公公竟非常感激起來,將大拇指一翹,得意的說道,「這真是大市鎮裡出來的讀過書的人纔識貨!我的豆種是粒粒挑選過的,鄉下人不識好歹,還說我的豆比不上別人的呢。我今天也要送些給我們的姑奶奶嘗嘗去……」他於是打著楫子過去了。 +待到母親叫我回去吃晚飯的時候,桌上便有一大碗煮熟了的羅漢豆,就是六一公公送給母親和我吃的。聽說他還對母親極口誇獎我,說「小小年紀便有見識,將來一定要中狀元。姑奶奶,你的福氣是可以寫包票的了。」但我吃了豆,卻並沒有昨夜的豆那麼好。 +真的,一直到現在,我實在再沒有吃到那夜似的好豆,——也不再看到那夜似的好戲了。 +方玄綽近來愛說「差不多」這一句話,幾乎成了「口頭禪」似的;而且不但說,的確也盤據在他腦裏了。他最初說的是「都一樣」,後來大約覺得欠穩當了,便改為「差不多」,一直使用到現在。 +他自從發見了這一句平凡的警句以後,雖然引起了不少的新感慨,同時卻也到許多新慰安。譬如看見老輩威壓青年,在先是要憤憤的,但現在卻就轉念道,將來這少年有了兒孫時,大抵也要擺這架子的罷,便再沒有什麼不平了。又如看見兵士打車夫,在先也要憤憤的,但現在也就轉念道,倘使這車夫當了兵,這兵拉了車,大抵也就這麼打,便再也不放在心上了。他這樣想著的時候,有時也疑心是因為自己沒有和惡社會奮鬥的勇氣,所以瞞心昧己的故意造出來的一條逃路,很近於「無是非之心」,遠不如改正了好。然而這意見總反而在他腦裏生長起來。 +他將這「差不多說」最初公表的時候是在北京首善學校的講堂上,其時大概是提起關於歷史上的事情來,於是說到「古今人不相遠」,說到各色人等的「性相近」,終於牽扯到學生和官僚身上,大發其議論道: +「現在社會上時髦的都通行罵官僚,而學生罵得尤利害。然而官僚並不是天生的特別種族,就是平民變就的。現在學生出身的官僚就不少,和老官僚有什麼兩樣呢?『易地則皆然』,思想言論舉動豐采都沒有什麼大區別……便是學生團體新辦的許多事業,不是也已經難免出弊病,大半煙消火滅了麽?差不多的。但中國將來之可慮就在此……」 +散坐在講堂裏的二十多個聽講者,有的悵然了,或者是以為這話對;有的勃然了,大約是以為侮辱了神聖的青年;有幾個卻對他微笑了,大約以為這是他替自己的辯解:因為方玄綽就是兼做官僚的。 +而其實卻是都錯誤。這不過是他的一種新不平;雖說不平,又只是他的一種安分的空論。他自己雖然不知道是因為懶,還是因為無用,總之覺得是一個不肯運動,十分安分守己的人。總長冤他有神經病,只要地位還不至於動搖,他決不開一開口;教員的薪水欠到大半年了,只要別有官俸支持,他也決不開一開口。不但不開口,當教員聯合索薪的時候,他還暗地裏以為欠斟酌,太嚷嚷;直到聽得同寮過分的奚落他們了,這纔略有些小感慨,後來一轉念,這或者因為自己正缺錢,而別的官並不兼做教員的緣故罷,於是就釋然了。 +他雖然也缺錢,但從沒有加入教員的團體內,大家議決罷課,可是不去上課了。政府說「上了課纔給錢」,他纔略恨他們的類乎用果子耍猴子;一個大教育家說道「教員一手挾書包一手要錢不高尚」,他纔對於他的太太正式的發牢騷了。 +「喂,怎麼只有兩盤?」聽了「不高尚說」這一日的晚餐時候,他看著菜蔬說。 +他們是沒有受過新教育的,太太並無學名或雅號,所以也就沒有什麼稱呼了,照老例雖然也可以叫「太太」但他又不願意太守舊,於是就發明瞭一個「喂」字。太太對他卻連「喂」字也沒有,只要臉向著他說話,依據習慣法,他就知道這話是對他而發的。 +「可是上月領來的一成半都完了……昨天的米,也還是好容易纔賒來的呢。」伊站在桌旁臉對著他說。 +「你看,還說教書的要薪水是卑鄙哩。這種東西似乎連人要吃飯,飯要米做,米要錢買這一點粗淺事情都不知道……」 +「對啦。沒有錢怎麼買米,沒有米怎麼煮……」 +他兩頰都鼓起來了,仿佛氣惱這答案正和他的議論「差不多」,近乎隨聲附和模樣;接著便將頭轉向別一面去了,依據習慣法,這是宣告討論中止的表示。 +待到淒風冷雨這一天,教員們因為向政府去索欠薪,在新華門前爛泥裏被國軍打得頭破血出之後,倒居然也發了一點薪水。方玄綽不費舉手之勞的領了錢,酌還些舊債,卻還缺一大筆款,這是因為官俸也頗有些拖欠了。當是時,便是廉吏清官們也漸以為薪之不可不索,而況兼做教員的方玄綽,自然更表同情於學界起來,所以大家主張繼續罷課的時候,他雖然仍未到場,事後卻尤其心悅誠服的確守了公共的決議。 +然而政府竟又付錢,學校也就開課了。但在前幾天,卻有學生總會上一個呈文給政府,說「教員倘若不上課,便要付欠薪。」這雖然並無效,而方玄綽卻忽而記起前回政府所說的「上了課纔給錢」的話來,「差不多」這一個影子在他眼前又一幌,而且並不消滅,於是他便在講堂上公表了。 +準此,可見如果將「差不多說」鍛煉羅織起來,自然也可以判作一種挾帶私心的不平,但總不能說是專為自己做官的辯解。只是每到這些時,他又常常喜歡拉上中國將來的命運之類的問題,一不小心,便連自己也以為是一個憂國的志士;人們是每苦於沒有「自知之明」的。 +但是「差不多」的事實又發生了,政府當初雖只不理那些招人頭痛的教員,後來竟不理到無關痛癢的官吏,欠而又欠,終於逼得先前鄙薄教員要錢的好官,也很有幾員化為索薪大會裏的驍將了。惟有幾種日報上卻很發了些鄙薄譏笑他們的文字。方玄綽也毫不為奇,毫不介意,因為他根據了他的「差不多說」,知道這是新聞記者還未缺少潤筆的緣故,萬一政府或是闊人停了津貼,他們多半也要開大會的。 +他既已表同情於教員的索薪,自然也贊成同寮的索俸,然而他仍安坐在衙門中,照例的並不一同去討債。至於有人疑心他孤高,那可也不過是一種誤解罷了。他自己說,他是自從出世以來,只有人向他來要債,他從沒有向人去討過債,所以這一端是「非其所長」。而且他是不敢見手握經經濟之權的人物,這種人待到失了權勢之後,捧著一本《大乘起信論》講佛學的時候,固然也很是「藹然可親」的了,但還在寶座上時,卻總是一副閻王臉,將別人都當奴才看自以為手操著你們這些窮小子們的生殺之權。他因此不敢見,也不願見他們。這種脾氣,雖然有時連自己也覺得是孤高,但往往同時也疑心這其實是沒本領。 +大家左索右索,總自一節一節的挨過去了,但比起先前來,方玄綽究竟是萬分的拮据,所以使用的小廝和交易的店家不消說,便是方太太對於他也漸漸的缺了敬意,只要看伊近來不很附和,而且常常提出獨創的意見,有些唐突的舉動,也就可以瞭然了。到了陰曆五月初四的午前,他一回來,伊便將一疊賬單塞在他的鼻子跟前,這也是往常所沒有的。 +「一總總得一百八十塊錢纔夠開消……發了麽?」伊並不對著他看的說。 +「哼,我明天不做官了。錢的支票是領來的了,可是索薪大會的代表不發放,先說是沒有同去的人都不發,後來又說是要到他們跟前去親領。他們今天單捏著支票,就變了閻王臉了,我實在怕看見……我錢也不要了,官也不做了,這樣無限量的卑屈……」 +方太太見了這少見的義憤,倒有些愕然了,但也就沉靜下來。 +「我想,還不如去親領罷,這算什麼呢。」伊看著他的臉說。 +「我不去!這是官俸,不是賞錢,照例應該由會計科送來的。」 +「可是不送來又怎麼好呢……哦,昨夜忘記說了,孩子們說那學費,學校裏已經催過好幾次了,說是倘若再不繳……」 +「胡說!做老子的辦事教書都不給錢,兒子去念幾句書倒要錢?」 +伊覺得他已經不很顧忌道理,似乎就要將自己當作校長來出氣,犯不上,便不再言語了。 +兩個默默的吃了午飯。他想了一會,又懊惱的出去了。 +照舊例,近年是每逢節根或年關的前一天,他一定須在夜裏的十二點鐘纔回家,一面走,一面掏著懷中,一面大聲的叫道,「喂,領來了!」於是遞給伊一疊簇新的中交票,臉上很有些得意的形色。誰知道初四這一天卻破了例,他不到七點鐘便回家來。方太太很驚疑,以為他竟已辭了職了,但暗暗地察看他臉上,卻也並不見有什麼格外倒運的神情。「怎麼了?……這樣早?……」伊看定了他說。「發不及了,領不出了,銀行已經關了門,得等初八。」「親領?……」伊惴惴的問。 +「親領這一層也已經取消了,聽說仍舊由會計科分送。可是銀行今天已經關了門,休息三天,得等到初八的上午。」他坐下,眼睛看著地面了,喝過一口茶,纔又慢慢的開口說,「幸而衙門裏也沒有什麼問題了,大約到初八就準有錢……向不相干的親戚朋友去借錢,實在是一件煩難事。我午後硬著頭皮去尋金永生,談了一會,他先恭維我不去索薪,不肯親領,非常之清高,一個人正應該這樣做;待到知道我想要向他通融五十元,就像我在他嘴裏塞了一大把鹽似的,凡有臉上可以打皺的地迫都打起皺來,說房租怎樣的收不起,買賣怎樣的賠本,在同事面前親身領款,也不算什麼的,即刻將我支使出來了。」 +「這樣緊急的節根,誰還肯借出錢去呢。」方太太卻只淡淡的說,並沒有什麼慨然。 +方玄綽低下頭來了,覺得這也無怪其然的,況且自己和金永生本來很疏遠。他接著就記起去年年關的事來,那時有一個同鄉來借十塊錢,他其時明明已經收到了衙門的領款憑單的了,因為死怕這人將來未必會還錢,便裝了副為難的神色,說道衙門裏既然領不到俸錢,學校裏又不發薪水,實在「愛莫能助」,將他空手送走了。他雖然自已並不看見裝了怎樣的臉,但此時卻覺得很局促,嘴唇微微一動,又搖一搖頭。 +然而不多久,他忽而恍然大悟似的發命令了:叫小廝即刻上街去賒一瓶蓮花白。他知道店家希圖明天多還帳,大抵是不敢不賒的,假如不賒,則明天分文不還,正是他們應得的懲罰。蓮花白竟賒來了,他喝了兩杯,青白色的臉上泛了紅,吃完飯,又頗有些高興了,他點上一枝大號哈德門香煙,從桌上抓起一本《嘗試集》來,躺在床上就要看。 +「那麼明天怎麼對付店家呢?」方太太追上去,站在床面前看著他的臉說。「店家?……教他們初八的下半天來。」「我可不能這麼說。他們不相信,不答應的。」「有什麼不相信。他們可以問去,全衙門裏什麼人也沒有領到,都得初八!」他戟著第二個指頭在帳子裏的空中畫了一個半圓,方太太跟著指頭也看了一個半圓,只見這手便去翻開了《嘗試集》。 +方太太見他強橫到出乎情理之外了,也暫時開不得口。 +「我想,這模樣是鬧不下去的,將來總得想點法,做點什麼別的事……」伊終於尋到了別的路,說。「什麼法呢?我『文不像謄錄生,武不像救火兵』,別的做什麼?」「你不是給上海的書鋪子做過文章麽?」 +「上海的書鋪子?買稿要一個一個的算字,空格不算數。你看我做在那裏的白話詩去,空白有多少,怕只值三百大錢一本罷。收版權稅又半年六月沒消息,『遠水救不得近火』,誰耐煩。」「那麼,給這裏的報館裏……」 +「給報館裏?便在這裏很大的報館裏,我靠著一個學生在那裏做編輯的大情面,一千字也就是這幾個錢,即使一早做到夜,能夠養活你們麽?況且我肚子裏也沒有這許多文章。」 +「那麼,過了節怎麼辦呢?」「過了節麽?——仍舊做官……明天店家來要錢,你只要說初八的下午。」 +他又要看《嘗試集》了。方太太怕失了機會,連忙吞吞吐吐的說:「我想,過了節,到了初八,我們……倒不如去買一張彩票……」「胡說!會說出這樣無教育的……」 +這時候,他忽而又記起被金永生支使出來以後的事了。那時他惘惘的走過稻香村,看店門口豎著許多斗大的字的廣告道「頭彩幾萬元」,仿佛記得心裏也一動,或者也許放慢了腳步的罷,但似乎因為捨不得皮夾裏僅存的六角錢,所以竟也毅然決然的走遠了。他臉色一變,方太太料想他是在惱著伊的無教育,便趕緊退開,沒有說完話。方玄綽也沒有說完話,將腰一伸,咿咿嗚嗚的就念《嘗試集》。 +我冒了嚴寒,回到相隔二千餘里,別了二十餘年的故鄉去。 +時候既然是深冬;漸近故鄉時,天氣又陰晦了,冷風吹進船艙中,嗚嗚的響,從蓬隙向外一望,蒼黃的天底下,遠近橫著幾個蕭索的荒村,沒有一些活氣。我的心禁不住悲涼起來了。 +阿!這不是我二十年來時時記得的故鄉? +我所記得的故鄉全不如此。我的故鄉好得多了。但要我記起他的美麗,說出他的佳處來,卻又沒有影像,沒有言辭了。仿佛也就如此。於是我自己解釋說:故鄉本也如此,——雖然沒有進步,也未必有如我所感的悲涼,這只是我自己心情的改變罷了,因為我這次回鄉,本沒有什麼好心緒。 +我這次是專為了別他而來的。我們多年聚族而居的老屋,已經公同賣給別姓了,交屋的期限,只在本年,所以必須趕在正月初一以前,永別了熟識的老屋,而且遠離了熟識的故鄉,搬家到我在謀食的異地去。 +第二日清早晨我到了我家的門口了。瓦楞上許多枯草的斷莖當風抖著,正在說明這老屋難免易主的原因。幾房的本家大約已經搬走了,所以很寂靜。我到了自家的房外,我的母親早已迎著出來了,接著便飛出了八歲的侄兒宏兒。 +我的母親很高興,但也藏著許多淒涼的神情,教我坐下,歇息,喝茶,且不談搬家的事。宏兒沒有見過我,遠遠的對面站著只是看。 +但我們終於談到搬家的事。我說外間的寓所已經租定了,又買了幾件傢具,此外須將家裡所有的木器賣去,再去增添。母親也說好,而且行李也略已齊集,木器不便搬運的,也小半賣去了,只是收不起錢來。 +「你休息一兩天,去拜望親戚本家一回,我們便可以走了。」母親說。 +「是的。」 +「還有閏土,他每到我家來時,總問起你,很想見你一回面。我已經將你到家的大約日期通知他,他也許就要來了。」 +這時候,我的腦裡忽然閃出一幅神異的圖畫來:深藍的天空中掛著一輪金黃的圓月,下麵是海邊的沙地,都種著一望無際的碧綠的西瓜,其間有一個十一二歲的少年,項帶銀圈,手捏一柄鋼叉,向一匹猹盡力的刺去,那猹卻將身一扭,反從他的胯下逃走了。 +這少年便是閏土。我認識他時,也不過十多歲,離現在將有三十年了;那時我的父親還在世,家景也好,我正是一個少爺。那一年,我家是一件大祭祀的值年。這祭祀,說是三十多年才能輪到一回,所以很鄭重;正月裡供祖像,供品很多,祭器很講究,拜的人也很多,祭器也很要防偷去。我家只有一個忙月(我們這裡給人做工的分三種:整年給一定人家做工的叫長工;按日給人做工的叫短工;自己也種地,只在過年過節以及收租時候來給一定人家做工的稱忙月),忙不過來,他便對父親說,可以叫他的兒子閏土來管祭器的。 +我的父親允許了;我也很高興,因為我早聽到閏土這名字,而且知道他和我仿佛年紀,閏月生的,五行缺土,所以他的父親叫他閏土。他是能裝弶捉小鳥雀的。 +我於是日日盼望新年,新年到,閏土也就到了。好容易到了年末,有一日,母親告訴我,閏土來了,我便飛跑的去看。他正在廚房裡,紫色的圓臉,頭戴一頂小氈帽,頸上套一個明晃晃的銀項圈,這可見他的父親十分愛他,怕他死去,所以在神佛面前許下願心,用圈子將他套住了。他見人很怕羞,只是不怕我,沒有旁人的時候,便和我說話,於是不到半日,我們便熟識了。 +我們那時候不知道談些什麼,只記得閏土很高興,說是上城之後,見了許多沒有見過的東西。 +第二日,我便要他捕鳥。他說: +"這不能。須大雪下了才好。我們沙地上,下了雪,我掃出一塊空地來,用短棒支起一個大竹匾,撒下秕穀,看鳥雀來吃時,我遠遠地將縛在棒上的繩子只一拉,那鳥雀就罩在竹匾下了。什麼都有:稻雞,角雞,鵓鴣,藍背……" +我於是又很盼望下雪。 +閏土又對我說: +"現在太冷,你夏天到我們這裡來。我們日裡到海邊撿貝殼去,紅的綠的都有,鬼見怕也有,觀音手也有。晚上我和爹管西瓜去,你也去。" +"管賊麽?" +"不是。走路的人口渴了摘一個瓜吃,我們這裡是不算偷的。要管的是獾豬,刺蝟,猹。月亮底下,你聽,啦啦的響了,猹在咬瓜了。你便捏了胡叉,輕輕地走去……" +我那時並不知道這所謂猹的是怎麼一件東西——便是現在也沒有知道——只是無端的覺得狀如小狗而很兇猛。 +"他不人麽?" +"有胡叉呢。走到了,看見猹了,你便刺。這畜生很伶俐,倒向你奔來,反從胯下竄了。他的皮毛是油一般的滑……" +我素不知道天下有這許多新鮮事:海邊有如許五色的貝殼;西瓜有這樣危險的經歷,我先前單知道他在水果店裡出賣罷了。 +"我們沙地裡,潮汛要來的時候,就有許多跳魚兒只是跳,都有青蛙似的兩個腳……" +阿!閏土的心裡有無窮無盡的希奇的事,都是我往常的朋友所不知道的。他們不知道一些事,閏土在海邊時,他們都和我一樣只看見院子裡高牆上的四角的天空。 +可惜正月過去了,閏土須回家裡去,我急得大哭,他也躲到廚房裡,哭著不肯出門,但終於被他父親帶走了。他後來還托他的父親帶給我一包貝殼和幾支很好看的鳥毛,我也曾送他一兩次東西,但從此沒有再見面。 +現在我的母親提起了他,我這兒時的記憶,忽而全都閃電似的蘇生過來,似乎看到了我的美麗的故鄉了。我應聲說: +"這好極!他,——怎樣?……" +"他?……他景況也很不如意……"母親說著,便向房外看,"這些人又來了。說是買木器,順手也就隨便拿走的,我得去看看。" +母親站起身,出去了。門外有幾個女人的聲音。我便招宏兒走近面前,和他閑話:問他可會寫字,可願意出門。 +"我們坐火車去麽?" +"我們坐火車去。" +"船呢?" +"先坐船,……" +"哈!這模樣了!鬍子這麼長了!"一種尖利的怪聲突然大叫起來。 +我吃了一嚇,趕忙抬起頭,卻見一個凸顴骨,薄嘴唇,五十歲上下的女人站在我面前,兩手搭在髀間,沒有系裙,張著兩腳,正像一個畫圖儀器裡細腳伶仃的圓規。 +我愕然了。 +"不認識了麽?我還抱過你咧!" +我愈加愕然了。幸而我的母親也就進來,從旁說: +"他多年出門,統忘卻了。你該記得罷,"便向著我說,"這是斜對門的楊二嫂,……開豆腐店的。" +哦,我記得了。我孩子時候,在斜對門的豆腐店裡確乎終日坐著一個楊二嫂,人都叫伊"豆腐西施"⑹。但是擦著白粉,顴骨沒有這麼高,嘴唇也沒有這麼薄,而且終日坐著,我也從沒有見過這圓規式的姿勢。那時人說:因為伊,這豆腐店的買賣非常好。但這大約因為年齡的關係,我卻並未蒙著一毫感化,所以竟完全忘卻了。然而圓規很不平,顯出鄙夷的神色,仿佛嗤笑法國人不知道拿破侖,美國人不知道華盛頓似的,冷笑說: +"忘了?這真是貴人眼高……" +"那有這事……我……"我惶恐著,站起來說。 +"那麼,我對你說。迅哥兒,你闊了,搬動又笨重,你還要什麼這些破爛木器,讓我拿去罷。我們小戶人家,用得著。" +"我並有闊哩。我須賣了這些,再去……" +"阿呀呀,你放了道台了,還說不闊?你現在有三房姨太太;出門便是八抬的大轎,還說不闊?嚇,什麼都瞞不過我。" +我知道無話可說了,便閉了口,默默的站著。 +"阿呀阿呀,真是愈有錢,便愈是一毫不肯放鬆,愈是一毫不肯放鬆,便愈有錢……"圓規一面憤憤的迴轉身,一面絮絮的說,慢慢向外走,順便將我母親的一副手套塞在褲腰裡,出去了。 +此後又有近處的本家和親戚來訪問我。我一面應酬,偷空便收拾些行李,這樣的過了三四天。 +一日是天氣很冷的午後,我吃過午飯,坐著喝茶,覺得外面有人進來了,便回頭去看。我看時,不由的非常出驚,慌忙站起身,迎著走去。 +這來的便是閏土。雖然我一見便知道是閏土,但又不是我這記憶上的閏土了。他身材增加了一倍;先前的紫色的圓臉,已經變作灰黃,而且加上了很深的皺紋;眼睛也像他父親一樣,周圍都腫得通紅,這我知道,在海邊種地的人,終日吹著海風,大抵是這樣的。他頭上是一頂破氈帽,身上只一件極薄的棉衣,渾身瑟索著;手裡提著一個紙包和一支長煙管,那手也不是我所記得的紅活圓實的手,卻又粗又笨而且開裂,像是松樹皮了。 +我這時很興奮,但不知道怎麼說才好,只是說: + +"阿!閏土哥,——你來了?……" + +我接著便有許多話,想要連珠一般湧出:角雞,跳魚兒,貝殼,猹,……但又總覺得被什麼擋著似的,單在腦裡面迴旋,吐不出口外去。 + +他站住了,臉上現出歡喜和淒涼的神情;動著嘴唇,卻沒有作聲。他的態度終於恭敬起來了,分明的叫道: +"老爺!……" +我似乎打了一個寒噤;我就知道,我們之間已經隔了一層可悲的厚障壁了。我也說不出話。 +他回過頭去說,"水生,給老爺磕頭。"便拖出躲在背後的孩子來,這正是一個廿年前的閏土,只是黃瘦些,頸子上沒有銀圈罷了。"這是第五個孩子,沒有見過世面,躲躲閃閃……" +母親和宏兒樓來了,他們大約也聽到了聲音。 +"老太太。信是早收到了。我實在喜歡的不得了,知道老爺回來……"閏土說。 +"阿,你怎的這樣客氣起來。你們先前不是哥弟稱呼麽?還是照舊:迅哥兒。"母親高興的說。 +"阿呀,老太太真是……這成什麼規矩。那時是孩子,不懂事……"閏土說著,又叫水生上來打拱,那孩子卻害羞,緊緊的只貼在他背後。 +"他就是水生?第五個?都是生人,怕生也難怪的;還是宏兒和他去走走。"母親說。 +宏兒聽得這話,便來招水生,水生卻鬆鬆爽爽同他一路出去了。母親叫閏土坐,他遲疑了一回,終於就了坐,將長煙管靠在桌旁,遞過紙包來,說: +"冬天沒什麼東西了。這一點乾青豆倒是自家曬在那裡的,請老爺……" +我問問他的景況。他只是搖頭。 +"非常難。第六個孩子也會幫忙了,卻總是吃不夠……又不太平……什麼地方都要錢,沒有規定……收成又壞。種出東西來,挑去賣,總要捐幾回錢,折了本;不去賣,又只能爛掉……" +他只是搖頭;臉上雖然刻著許多皺紋,卻全然不動,仿佛石像一般。他大約只是覺得苦,卻又形容不出,沉默了片時,便拿起煙管來默默的吸煙了。 +母親問他,知道他的家裡事務忙,明天便得回去;又沒有吃過午飯,便叫他自己到廚下炒飯吃去。 +他出去了;母親和我都嘆息他的景況:多子,饑荒,苛稅,兵,匪,官,紳,都苦得他像一個木偶人了。母親對我說,凡是不必搬走的東西,盡可以送他,可以聽他自己去揀擇。 +下午,他揀好了幾件東西:兩條長桌,四個椅子,一副香爐和燭臺,一桿抬秤。他又要所有的草灰(我們這裡煮飯是燒稻草的,那灰,可以做沙地的肥料),待我們啟程的時候,他用船來載去。 +夜間,我們又談些閑天,都是無關緊要的話;第二天早晨,他就領了水生回去了。 +又過了九日,是我們啟程的日期。閏土早晨便到了,水生沒有同來,卻只帶著一個五歲的女兒管船隻。我們終日很忙碌,再沒有談天的工夫。來客也不少,有送行的,有拿東西的,有送行兼拿東西的。待到傍晚我們上船的時候,這老屋裡的所有破舊大小粗細東西,已經一掃而空了。 +我們的船向前走,兩岸的青山在黃昏中,都裝成了深黛顏色,連著退向船後梢去。 +宏兒和我靠著船窗,同看外面模糊的風景,他忽然問道: +"大伯!我們什麼時候回來?" +"回來?你怎麼還沒有走就想回來了。" +"可是,水生約我到他家玩去咧……"他睜著大的黑眼睛,癡癡的想。 +我和母親也都有些惘然,於是又提起閏土來。母親說,那豆腐西施的楊二嫂,自從我家收拾行李以來,本是每日必到的,前天伊在灰堆裡,掏出十多個碗碟來,議論之後,便定說是閏土埋著的,他可以在運灰的時候,一齊搬回家裡去;楊二嫂發見了這件事,自己很以為功,便拿了那狗氣殺(這是我們這裡養雞的器具,木盤上面有著柵欄,內盛食料,雞可以伸進頸子去啄,狗卻不能,只能看著氣死),飛也似的跑了,虧伊裝著這麼高低的小腳,竟跑得這樣快。 +老屋離我愈遠了;故鄉的山水也都漸漸遠離了我,但我卻並不感到怎樣的留戀。我只覺得我四面有看不見的高牆,將我隔成孤身,使我非常氣悶;那西瓜地上的銀項圈的小英雄的影像,我本來十分清楚,現在卻忽地模糊了,又使我非常的悲哀。 +母親和宏兒都睡著了。 +我躺著,聽船底潺潺的水聲,知道我在走我的路。我想:我竟與閏土隔絕到這地步了,但我們的後輩還是一氣,宏兒不是正在想念水生麽。我希望他們不再像我,又大家隔膜起來……然而我又不願意他們因為要一氣,都如我的辛苦展轉而生活,也不願意他們都如閏土的辛苦麻木而生活,也不願意都如別人的辛苦恣睢而生活。他們應該有新的生活,為我們所未經生活過的。 +我想到希望,忽然害怕起來了。閏土要香爐和燭臺的時候,我還暗地裡笑他,以為他總是崇拜偶像,什麼時候都不忘卻。現在我所謂希望,不也是我自己手製的偶像麽?只是他的願望切近,我的願望茫遠罷了。 +我在朦朧中,眼前展開一片海邊碧綠的沙地來,上面深藍的天空中掛著一輪金黃的圓月。我想:希望本是無所謂有,無所謂無的。這正如地上的路;其實地上本沒有路,走的人多了,也便成了路。 +臨河的土場上,太陽漸漸的收了他通黃的光線了。場邊靠河的烏桕樹葉,乾巴巴的纔喘過氣來,幾個花腳蚊子在下面哼著飛舞。面河的農家的煙突裏,逐漸減少了炊煙,女人孩子們都在自己門口的土場上波些水,放下小桌子和矮凳;人知道,這已經是晚飯的時候了。 +老人男人坐在矮凳上,搖著大芭蕉扇閑談,孩子飛也似的跑,或者蹲在烏桕樹下賭玩石子。女人端出烏黑的蒸乾菜和松花黃的米飯,熱蓬蓬冒煙。河裏駛過文人的酒船,文豪見了,大發詩興,說:「無思無慮,這真是田家樂呵!」 +但文豪的話有些不合事實,就因為他們沒有聽到九斤老太的話。這時候,九斤老太正在大怒,拿破芭蕉扇敲著凳腳說: +「我活到七十九歲了,活夠了,不願意眼見這些敗家相,——還是死的好。立刻就要喫飯了,還喫炒豆子,喫窮了一家子!」 +伊的曾孫女兒六斤捏著一把豆,正從對面跑來,見這情形,便直奔河邊,藏在烏桕樹後,伸出雙丫角的小頭,大聲說,「這老不死的!」 +九斤老太雖然高壽,耳朵卻還不很聾,但也沒有聽到孩子的話,仍舊自己說,「這真是一代不如一代!」 +這村莊的習慣有點特別,女人生下孩子,多喜歡用秤稱了輕重,便用斤數當作小名。九斤老太自從慶祝了五十大壽以後,便漸漸的變了不平家,常說伊年青的時候,天氣沒有現在這般熱,豆子也沒有現在這般硬;總之現在的時世是不對了。何況六斤比伊的曾祖,少了三斤,比伊父親七斤,又少了一斤,這真是一條顛撲不破的實例。所以伊又用勁說,「這真是一代不如一代!」 +伊的兒媳七斤嫂子正捧著飯籃走到桌邊,便將飯籃在桌上一摔,憤憤的說,「你老人家又這麼說了。六斤生下來的時候,不是六斤五兩麽?你家的秤又是私秤,加重稱,十八兩秤;用了準十六,我們的六斤該有七斤多哩。我想便是太公和公公,也不見得正是九斤八斤十足,用的秤也許是十四兩……」 +「一代不如一代!」 +七斤嫂還沒有答話,忽然看見七斤從小巷口轉出,便移了方向,對他嚷道,「你這死屍怎麼這時候纔回來,死到那裏去了!不管人家等著你開飯!」 +七斤雖然住在農村,卻早有些飛黃騰達的意思。從他的祖父到他,三代不捏鋤頭柄了;他也照例的幫人撐著航船,每日一回,早晨從魯鎮進城,傍晚又回到魯鎮,因此很知道些時事:例如什麼地方,雷公劈死了蜈蚣精;什麼地方,閨女生了一個夜叉之類。他在村人裏面,的確已經是一名出場人物了。但夏天喫飯不點燈,卻還守著農家習慣,所以回家太遲,是該罵的。 +七斤一手捏著象牙嘴白銅斗六尺多長的湘妃竹煙管,低著頭,慢慢地走來,坐在矮凳上。六斤也趁勢溜出,坐在他身邊,叫他爹爹。七斤沒有應。 +「一代不如一代!」九斤老太說。 +七斤慢慢地抬起頭來,嘆一口氣說,「皇帝坐了龍庭了。」 +七斤嫂呆了一刻,忽而恍然大悟的道,「這可好了,這不是又要皇恩大赦了麽!」 +七斤又嘆一口氣,說,「我沒有辮子。」 +「皇帝要辮子麽?」 +「皇帝要辮子。」 +「你怎麼知道呢?」七斤嫂有些著急,趕忙的問。 +「咸亨酒店裏的人,都說要的。」 +七斤嫂這時從直覺上覺得事情似乎有些不妙了,因為咸亨酒店是消息靈通的所在。伊一轉眼瞥見七斤的光頭,便忍不住動怒,怪他恨他怨他;忽然又絕望起來,裝好一碗飯,搡在七斤的面前道,「還是趕快喫你的飯罷!哭喪著臉,就會長出辮子來麽?」 +太陽收盡了他最末的光線了,水面暗暗地回覆過涼氣來;土場上一片碗筷聲響,人人的脊樑上又都吐出汗粒。七斤嫂喫完三碗飯,偶然抬起頭,心坎裏便禁不住突突地發跳。伊透過烏桕葉,看見又矮又胖的趙七爺正從獨木橋上走來,而且穿著寶藍色竹布的長衫。 +趙七爺是鄰村茂源酒店的主人,又是這三十裏方圓以內的唯一的出色人物兼學問家;因為有學問,所以又有些遺老的臭味。他有十多本金聖嘆批評的《三國志》,時常坐著一個字一個字的讀;他不但能說出五虎將姓名,甚而至於還知道黃忠表字漢昇和馬超表字孟起。革命以後,他便將辮子盤在頂上,像道士一般;常常嘆息說,倘若趙子龍在世,天下便不會亂到這地步了。七斤嫂眼睛好,早望見今天的趙七爺已經不是道士,卻變成光滑頭皮,烏黑髮頂;伊便知道這一定是皇帝坐了龍庭,而且一定須有辮子,而且七斤一定是非常危險。因為趙七爺的這件竹布長衫,輕易是不常穿的,三年以來,只穿過兩次:一次是和他嘔氣的麻子阿四病了的時候,一次是曾經砸爛他酒店的魯大爺死了的時候;現在是第三次了,這一定又是於他有慶,於他的仇家有殃了。 +七斤嫂記得,兩年前七斤喝醉了酒,曾經罵過趙七爺是「賤胎」,所以這時便立刻直覺到七斤的危險,心坎裏突突地發起跳來。 +趙七爺一路走來,坐著喫飯的人都站起身,拿筷子點著自己的飯碗說,「七爺,請在我們這裏用飯!」七爺也一路點頭,說道「請請」,卻一徑走到七斤家的桌旁。七斤們連忙招呼,七爺也微笑著說「請請」,一面細細的研究他們的飯菜。 +「好香的菜乾,——聽到了風聲了麽?」趙七爺站在七斤的後面七斤嫂的對面說。 +「皇帝坐了龍庭了。」七斤說。 +七斤嫂看著七爺的臉,竭力陪笑道,「皇帝已經坐了龍庭,幾時皇恩大赦呢?」 +「皇恩大赦?——大赦是慢慢的總要大赦罷。」七爺說到這裏,聲色忽然嚴厲起來,「但是你家七斤的辮子呢,辮子?這倒是要緊的事。你們知道:長毛時候,留髮不留頭,留頭不留髮,……」 +七斤和他的女人沒有讀過書,不很懂得這古典的奧妙,但覺得有學問的七爺這麼說,事情自然非常重大,無可輓回,便仿佛受了死刑宣告似的,耳朵裏嗡的一聲,再也說不出一句話。 +「一代不如一代,——」九斤老太正在不平,趁這機會,便對趙七爺說,「現在的長毛,只是剪人家的辮子,僧不僧,道不道的。從前的長毛,這樣的麽?我活到七十九歲了,活夠了。從前的長毛是——整匹的紅緞子裹頭,拖下去,拖下去,一直拖到腳跟;王爺是黃緞子,拖下去,黃緞子;紅緞子,黃緞子,—— 我活夠了,七十九歲了。」 +七斤嫂站起身,自言自語的說,「這怎麼好呢?這樣的一班老小,都靠他養活的人,……」 +趙七爺搖頭道,「那也沒法。沒有辮子,該當何罪,書上都一條一條明明白白寫著的。不管他家裏有些什麼人。」 +七斤嫂聽到書上寫著,可真是完全絕望了;自己急得沒法,便忽然又恨到七斤。伊用筷子指著他的鼻尖說,「這死屍自作自受!造反的時候,我本來說,不要撐船了,不要上城了。他偏要死進城去,滾進城去,進城便被人剪去了辮子。從前是絹光烏黑的辮子,現在弄得僧不僧道不道的。這囚徒自作自受,帶累了我們又怎麼說呢?這活死屍的囚徒……」 +村人看見趙七爺到村,都趕緊喫完飯,聚在七斤家飯桌的周圍。七斤自己知道是出場人物,被女人當大眾這樣辱罵,很不雅觀,便只得抬起頭,慢慢地說道: +「你今天說現成話,那時你……」 +「你這活死屍的囚徒……」 +看客中間,八一嫂是心腸最好的人,抱著伊的兩周歲的遺腹子,正在七斤嫂身邊看熱鬧;這時過意不去,連忙解勸說,「七斤嫂,算了罷。人不是神仙,誰知道未來事呢?便是七斤嫂,那時不也說,沒有辮子倒也沒有什麼醜麽?況且衙門裏的大老爺也還沒有告示,……」 +七斤嫂沒有聽完,兩個耳朵早通紅了;便將筷子轉過向來,指著八一嫂的鼻子,說,「阿呀,這是什麼話呵!八一嫂,我自己看來倒還是一個人,會說出這樣昏誕胡塗話麽?那時我是,整整哭了三天,誰都看見;連六斤這小鬼也都哭,……」六斤剛喫完一大碗飯,拿了空碗,伸手去嚷著要添。七斤嫂正沒好氣,便用筷子在伊的雙丫角中間,直紮下去,大喝道,「誰要你來多嘴!你這偷漢的小寡婦!」 +撲的一聲,六斤手裏的空碗落在地上了,恰巧又碰著一塊磚角,立刻破成一個很大的缺口。七斤直跳起來,撿起破碗,合上檢查一回,也喝道,「入娘的!」一巴掌打倒了六斤。六斤躺著哭,九斤老太拉了伊的手,連說著「一代不如一代」,一同走了。 +八一嫂也發怒,大聲說,「七斤嫂,你『恨棒打人』……」 +趙七爺本來是笑著旁觀的;但自從八一嫂說了「衙門裏的大老爺沒有告示」這話以後,卻有些生氣了。這時他已經繞出桌旁,接著說,「『恨棒打人』,算什麼呢。大兵是就要到的。你可知道,這回保駕的是張大帥,張大帥就是燕人張翼德的後代,他一支丈八蛇矛,就有萬夫不當之勇,誰能抵擋他?」他兩手同時捏起空拳,仿佛握著無形的蛇矛模樣,向八一嫂搶進幾步道,「你能抵擋他麽!」 +八一嫂正氣得抱著孩子發抖,忽然見趙七爺滿臉油汗,瞪著眼,準對伊衝過來,便十分害怕,不敢說完話,回身走了。趙七爺也跟著走去,眾人一面怪八一嫂多事,一面讓開路,幾個剪過辮子重新留起的便趕快躲在人叢後面,怕他看見。趙七爺也不細心察訪,通過人叢,忽然轉入烏桕樹後,說道「你能抵擋他麽!」 跨上獨木橋,揚長去了。 +村人們呆呆站著,心裏計算,都覺得自己確乎抵不住張翼德,因此也決定七斤便要沒有性命。七斤既然犯了皇法,想起他往常對人談論城中的新聞的時候,就不該含著長煙管顯出那般驕傲模樣,所以對七斤的犯法,也覺得有些暢快。他們也仿佛想發些議論,卻又覺得沒有什麼議論可發。嗡嗡的一陣亂嚷,蚊子都撞過赤膊身子,闖到烏桕樹下去做市;他們也就慢慢地走散回家,關上門去睡覺。七斤嫂咕噥著,也收了傢伙和桌子矮凳回家,關上門睡覺了。 +七斤將破碗拿回家裏,坐在門檻上吸煙;但非常憂愁,忘卻了吸煙,象牙嘴六尺多長湘妃竹煙管的白銅鬥裏的火光,漸漸發黑了。他心裏但覺得事情似乎十分危急,也想想些方法,想些計畫,但總是非常模糊,貫穿不得:「辮子呢辮子?丈八蛇矛。一代不如一代!皇帝坐龍庭。破的碗須得上城去釘好。誰能抵擋他?書上一條一條寫著。入娘的!……」 +第二日清晨,七斤依舊從魯鎮撐航船進城,傍晚回到魯鎮,又拿著六尺多長的湘妃竹煙管和一個飯碗回村。他在晚飯席上,對九斤老太說,這碗是在城內釘合的,因為缺口大,所以要十六個銅釘,三文一個,一總用了四十八文小錢。 +九斤老太很不高興的說,「一代不如一代,我是活夠了。三文錢一個釘;從前的釘,這樣的麽?從前的釘是……我活了七十九歲了,——」 +此後七斤雖然是照例日日進城,但家景總有些黯淡,村人大抵迴避著,不再來聽他從城內得來的新聞。七斤嫂也沒有好聲氣,還時常叫他「囚徒」。 +過了十多日,七斤從城內回家,看見他的女人非常高興,問他說,「你在城裏可聽到些什麼?」 +「沒有聽到些什麼。」 +「皇帝坐了龍庭沒有呢?」 +「他沒有說。」 +「咸亨酒店裏也沒有人說麽?」 +「也沒人說。」 +「我想皇帝一定是不坐龍庭了。我今天走過趙七爺的店前,看見他又坐著念書了,辮子又盤在頂上了,也沒有穿長衫。」 +「…………」 +「你想,不坐龍庭了罷?」 +「我想,不坐了罷。」 +現在的七斤,是七斤嫂和村人又都早給他相當的尊敬,相當的待遇了。到夏天,他們仍舊在自家門口的土場上喫飯;大家見了,都笑嘻嘻的招呼。九斤老太早已做過八十大壽,仍然不平而且健康。六斤的雙丫角,已經變成一支大辮子了;伊雖然新近裹腳,卻還能幫同七斤嫂做事,捧著十八個銅釘的飯碗,在土場上一瘤一拐的往來。 +星期日的早晨,我揭去一張隔夜的日曆,向著新的那一張上看了又看的說: +“啊,十月十日,——今天原來正是雙十節。這裏卻一點沒有記載!” +我的一位前輩先生N,正走到我的寓裏來談閑天,一聽這話,便很不高興的對我說: +“他們對!他們不記得,你怎樣他;你記得,又怎樣呢?” +這位N先生本來脾氣有點乖張,時常生些無謂的氣,說些不通世故的話。當這時候,我大抵任他自言自語,不贊一辭;他獨自發完議論,也就算了。 +他說: +“我最佩服北京雙十節的情形。早晨,員警到門,吩咐道:『掛旗!』『是,掛旗!』”各家大半懶洋洋的踱出一個國民來,撅起一塊斑駁陸離的洋布。這樣一直到夜,——收了旗關門;幾家偶然忘卻的,便掛到第二天的上午。 +“他們忘卻了紀念,紀念也忘卻了他們!” +“我也是忘卻了紀念的一個人。倘使紀念起來,那第一個雙十節前後的事,便都上我的心頭,使我坐立不穩了。” +“多少故人的臉,都浮在我眼前。幾個少年辛苦奔走了十多年,暗地裏一顆彈丸要了他的性命;幾個少年一擊不中,在監牢裏身受一個多月的苦刑;幾個少年懷著遠志,忽然蹤影全無,連屍首也不知那裏去了。——” +“他們都在社會的冷笑惡罵迫害傾陷裏過了一生;現在他們的墳墓也早在忘卻裏漸漸平塌下去了。” +“我不堪紀念這些事。” +“我們還是記起一點得意的事來談談吧。” +N忽然現出笑容,伸手在自己頭上一摸,高聲說: +“我最得意的是自從第一個雙十節以後,我在路上走,不再被人笑駡了。” +“老兄,你可知道頭髮是我們中國人的寶貝和冤家,古今來多少人在這上頭吃些毫無價值的苦呵!” +“我們的很古的古人,對於頭髮似乎也還看輕。據刑法看來,最要緊的自然是腦袋,所以大辟是上刑;次要便是生殖器了,所以宮刑和幽閉也是一件嚇人的罰;至於髡,那是微乎其微了,然而推想起來,正不知道曾有多少人們因為光著頭皮便被社會踐踏了一生世。” +“我們講革命的時候,大談什麼揚州三日,嘉定屠城,其實也不過一種手段;老實說:那時中國人的反抗,何嘗因為亡國,只是因為拖辮子。” +“頑殺盡了,遺老都壽終了,辮子早留定了,洪楊又鬧起來了。我的祖母曾對我說,那時做百姓才難哩,全留著頭髮的被官兵殺,還是辮子的便被長毛殺!” +“我不知道有多少中國人只因為這不痛不癢的頭髮而吃苦,受難,滅亡。” +N兩眼望著屋樑,似乎想些事,仍然說: +“誰知道頭髮的苦輪到我了。” +“我出去留學,便剪掉了辮子,這並沒有別的奧妙,只為他不太便當罷了。不料有幾位辮子盤在頭頂上的同學們便很厭惡我;監督也大怒,說要停了我的官費,送回中國去。” +“不幾天,這位監督卻自己被人剪去辮子逃走了。去剪的人們裏面,一個便是做《革命軍》的鄒容,這人也因此不能再留學,回到上海來,後來死在西牢裏。你也早忘卻了罷?” +“過了幾年,我的家景大不如前了,非謀點事做便要受餓,只得也回到中國來。我一到上海,便買定一條假辮子,那時是二元的市價,帶著回家。我的母親倒也不說什麼,然而旁人一見面,便都首先研究這辮子,待到知道是假,就一聲冷笑,將我擬為殺頭的罪名;有一位本家,還預備去告官,但後來因為恐怕革命黨的造反或者要成功,這才中止了。” +“我想,假的不如真的直截爽快,我便索性廢了假辮子,穿著西裝在街上走。” +“一路走去,一路便是笑駡的聲音,有的還跟在後面罵:『這冒失鬼!』『假洋鬼子!』” +“我於是不穿洋服了,改了大衫,他們罵得更厲害。” +“在這日暮途窮的時候,我的手裏才添出一支手杖來,拚命的打了幾回,他們漸漸的不罵了。只是走到沒有打過的生地方還是罵。” +“這件事很使我悲哀,至今還時時記得哩。我在留學的時候,曾經看見日報上登載一個遊歷南洋和中國的本多博士的事;這位博士是不懂中國和馬來語的,人問他,你不懂話,怎麼走路呢?他拿起手杖來說,這便是他們的話,他們都懂!我因此氣憤了好幾天,誰知道我竟不知不覺的自己也做了,而且那些人都懂了。……” +“宣統初年,我在本地的中學校做監學,同事是避之惟恐不遠,官僚是防之惟恐不嚴,我終日如坐在冰窖子裏,如站在刑場旁邊,其實並非別的,只因為缺少了一條辮子!” +“有一日,幾個學生忽然走到我的房裏來,說:『先生,我們要剪辮子了。』我說:『不行!』『有辮子好呢,沒有辮子好呢?』『沒有辮子好……』『你怎麼說不行呢?』『犯不上,你們還是不剪上算,——等一等罷。』”他們不說什麼,撅著嘴唇走出房去,然而終於剪掉了。 +“呵!不得了了,人言嘖嘖了;我卻只裝作不知道,一任他們光著頭皮,和許多辮子一齊上講堂。” +“然而這剪辮病傳染了;第三天,師範學堂的學生忽然也剪下了六條辮子,晚上便開除了六個學生。這六個人,留校不能,回家不得,一直挨到第一個雙十節之後又一個多月,才消去了犯罪的火烙印。” +“我呢?也一樣,只是元年冬天到北京,還被人罵過幾次,後來罵我的人也被員警剪去了辮子,我就不再被人辱駡了;但我沒有到鄉間去。”N顯出非常得意模樣,忽而又沉下臉來:“現在你們這些理想家,又在那裏嚷什麼女子剪髮了,又要造出許多毫無所得而痛苦的人!”“現在不是已經有剪掉頭發的女人,因此考不進學校去,或者被學校除了名麼?”“改革嘛,武器在那裏?工讀麼,工廠在那裏?”“仍然留起,嫁給人家做媳婦去:忘卻了一切還是幸福,倘使伊記著些平等自由的話,便要苦痛一生世!”“我要借了阿爾志跋綏夫的話問你們:『你們將黃金時代的出現豫約給這些人們的子孫了,但有什麼給這些人們自己呢?』”“啊,造物的皮鞭沒有到中國的脊樑上時,中國便永遠是這一樣的中國,絕不肯自己改變一隻毫毛!”“你們的嘴裏既然並無毒牙,何以偏要在額上帖起『蝮蛇』兩個大字,引乞丐來打殺?……”N愈說愈離奇了,但一見到我不很願聽的神情,便立刻閉了口,站起來取帽子。我說:“回去麼?”他答道:“是的,天要下雨了。”我默默的送他到門口。他戴上帽子說:“再見!請你恕我打攪,好在明天便不是雙十節,我們統可以忘卻了。” +我從鄉下跑到京城裏,一轉眼已經六年了。其間耳聞目睹的所謂國家大事,算起來也很不少;但在我心裏,都不留什麼痕跡,倘要我尋出這些事的影響來說,便只是增長了我的壞脾氣,——老實說,便是教我一天比一天的看不起人。 +但有一件小事,卻於我有意義,將我從壞脾氣裏拖開,使我至今忘記不得。 +這是民國六年的冬天,大北風颳得正猛,我因為生計關係,不得不一早在路上走。一路幾乎遇不見人,好容易才雇定了一輛人力車,教他拉到S門去。不一會,北風小了,路上浮塵早已刮淨,剩下一條潔白的大道來,車夫也跑得更快。剛近S門,忽而車把上帶著一個人,慢慢地倒了。 +跌倒的是一個女人,花白頭髮,衣服都很破爛。伊從馬路上突然向車前橫截過來;車夫已經讓開道,但伊的破棉背心沒有上扣,微風吹著,向外展開,所以終於兜著車把。幸而車夫早有點停步,否則伊定要栽一個大斤斗,跌到頭破血出了。 +伊伏在地上;車夫便也立住腳。我料定這老女人並沒有傷,又沒有別人看見,便很怪他多事,要自己惹出是非,也誤了我的路。 +我便對他說,"沒有什麼的。走你的罷!" +車夫毫不理會,——或者並沒有聽到,——卻放下車子,扶那老女人慢慢起來,攙著臂膊立定,問伊說:"你怎麼啦?""我摔壞了。" +我想,我眼見你慢慢倒地,怎麼會摔壞呢,裝腔作勢罷了,這真可憎惡。車夫多事,也正是自討苦吃,現在你自己想法去。 +車夫聽了這老女人的話,卻毫不躊躇,仍然攙著伊的臂膊,便一步一步的向前走。我有些詫異,忙看前面,是一所巡警分駐所,大風之後,外面也不見人。這車夫扶著那老女人,便正是向那大門走去。 +我這時突然感到一種異樣的感覺,覺得他滿身灰塵的後影,剎時高大了,而且愈走愈大,須仰視才見。而且他對於我,漸漸的又幾乎變成一種威壓,甚而至於要榨出皮袍下面藏著的"小"來。 +我的活力這時大約有些凝滯了,坐著沒有動,也沒有想,直到看見分駐所裏走出一個巡警,才下了車。 +巡警走近我說,"你自己雇車罷,他不能拉你了。" +我沒有思索的從外套袋裏抓出一大把銅元,交給巡警,說,"請你給他……" +風全住了,路上還很靜。我走著,一面想,幾乎怕敢想到自己。以前的事姑且擱起,這一大把銅元又是什麼意思?獎他麼?我還能裁判車夫麼?我不能回答自己。 +這事到了現在,還是時時記起。我因此也時時煞了苦痛,努力的要想到我自己。幾年來的文治武力,在我早如幼小時候所讀過的"子曰詩云"一般,背不上半句了。獨有這一件小事,卻總是浮在我眼前,有時反更分明,教我慚愧,催我自新,並且增長我的勇氣和希望。 +「沒有聲音,——小東西怎了?」紅鼻子老拱手裏擎了一碗黃酒,說著,向間壁努一努嘴。藍皮阿五便放下酒碗,在他脊梁上用死勁的打了一掌,含含糊糊嚷道:「你……你你又在想心思。……」 +原來魯鎮是僻靜地方,還有些古風:不上一更,大家便都關門睡覺。深更半夜沒有睡的只有兩家:一家是咸亨酒店,幾個酒肉朋友圍著櫃臺,吃喝得正高興;一家便是間壁的單四嫂子,他自從前年守了寡,便須專靠著自己的一雙手紡出綿紗來,養活他自己和他三歲的兒子,所以睡的也遲。 +這幾天,確鑿沒有紡紗的聲音了。但夜深沒有睡的既然只有兩家,這單四嫂子家有聲音,便自然只有老拱們聽到,沒有聲音,也只有老拱們聽到。 +老拱挨了打,仿佛很舒服似的喝了一大口酒,嗚嗚的唱起小曲來。 +這時候,單四嫂子正抱著他的寶兒,坐在床沿上,紡車靜靜的立在地上。黑沉沉的燈光,照著寶兒的臉,緋紅裏帶一點青。單四嫂子心裏計算:神簽也求過了,願心也許過了,單方也吃過了,要是還不見效,怎麼好?——那隻有去診何小仙了。但寶兒也許是日輕夜重,到了明天,太陽一出,熱也會退,氣喘也會平的:這實在是病人常有的事。 +單四嫂子是一個粗笨女人,不明白這「但」字的可怕:許多壞事固然幸虧有了他才變好,許多好事卻也因為有了他都弄糟。夏天夜短,老拱們嗚嗚的唱完了不多時,東方已經發白;不一會,窗縫裏透進了銀白色的曙光。 +單四嫂子等候天明,卻不像別人這樣容易,覺得非常之慢,寶兒的一呼吸,幾乎長過一年。現在居然明亮了;天的明亮,壓倒了燈光,——看見寶兒的鼻翼,已經一放一收的扇動。 +單四嫂子知道不妙,暗暗叫一聲「阿呀!」心裏計算:怎麼好?只有去診何小仙這一條路了。他雖然是粗笨女人,心裏卻有決斷,便站起身,從木柜子里掏出每天節省下來的十三個小銀元和一百八十銅錢,都裝在衣袋里,鎖上門,抱著寶兒直向何家奔過去。 +天氣還早,何家已經坐著四個病人了。他摸出四角銀元,買了號簽,第五個輪到寶兒。何小仙伸開兩個指頭按脈,指甲足有四寸多長,單四嫂子暗地納罕,心裏計算:寶兒該有活命了。但總免不了著急,忍不住要問,便局局促促的說: +「先生,——我家的寶兒什麼病呀?」「他中焦塞著。」「不妨事麽?他……」「先去吃兩帖。」「他喘不過氣來,鼻翅子都扇著呢。」這是火克金……」 +何小仙說了半句話,便閉上眼睛;單四嫂子也不好意思再問。在何小仙對面坐著的一個三十多歲的人,此時已經開好一張藥方,指著紙角上的幾個字說道: +「這第一味保嬰活命丸,須是賈家濟世老店才有!」單四嫂子接過藥方,一面走,一面想。他雖是粗笨女人,卻知道何家與濟世老店與自己的家,正是一個三角點;自然是買了藥回去便宜了。於是又徑向濟世老店奔過去。店夥也翹了長指甲慢慢的看方,慢慢的包藥。單四嫂子抱了寶兒等著;寶兒忽然擎起小手來,用力拔他散亂著的一綹頭髮,這是從來沒有的舉動,單四嫂子怕得發怔。 +太陽早出了。單四嫂子抱了孩子,帶著藥包,越走覺得越重;孩子又不住的掙扎,路也覺得越長。沒奈何坐在路旁一家公館的門檻上,休息了一會,衣服漸漸的冰著肌膚,才知道自己出了一身汗;寶兒卻仿佛睡著了。他再起來慢慢地走,仍然支撐不得,耳朵邊忽然聽得人說: +「單四嫂子,我替你抱勃羅!」似乎是藍皮阿五的聲音。 +他抬頭看時,正是藍皮阿五,睡眼朦朧的跟著他走。 +單四嫂子在這時候,雖然很希望降下一員天將,助他一臂之力,卻不願是阿五。但阿五有些俠氣,無論如何,總是偏要幫忙,所以推讓了一會,終於得了許可了。他便伸開臂膊,從單四嫂子的乳房和孩子之間,直伸下去,抱去了孩子。單四嫂子便覺乳房上發了一條熱,剎時間直熱到臉上和耳根。 +他們兩人離開了二尺五寸多地,一同走著。阿五說些話,單四嫂子卻大半沒有答。走了不多時候,阿五又將孩子還給他,說是昨天與朋友約定的吃飯時候到了;單四嫂子便接了孩子。幸而不遠便是家,早看見對門的王九媽在街邊坐著,遠遠地說話: +「單四嫂子,孩子怎了?——看過先生了麽?」「看是看了。——王九媽,你有年紀,見的多,不如請你老法眼看一看,怎樣……」「唔……」「怎樣……?」「唔……」王九媽端詳了一番,把頭點了兩點,搖了兩搖。 +寶兒吃下藥,已經是午後了。單四嫂子留心看他神情,似乎仿佛平穩了不少;到得下午,忽然睜開眼叫一聲「媽!」又仍然合上眼,像是睡去了。他睡了一刻,額上鼻尖都沁出一粒一粒的汗珠,單四嫂子輕輕一摸,膠水般粘著手;慌忙去摸胸口,便禁不住嗚咽起來。 +寶兒的呼吸從平穩到沒有,單四嫂子的聲音也就從嗚咽變成號啕。這時聚集了幾堆人:門內是王九媽藍皮阿五之類,門外是咸亨的掌柜和紅鼻老拱之類。王九媽便發命令,燒了一串紙錢;又將兩條板凳和五件衣服作抵,替單四嫂子借了兩塊洋錢,給幫忙的人備飯。 +第一個問題是棺木。單四嫂子還有一副銀耳環和一支裹金的銀簪,都交給了咸亨的掌柜,托他作一個保,半現半賒的買一具棺木。藍皮阿五也伸出手來,很願意自告奮勇;王九媽卻不許他,只准他明天抬棺材的差使,阿五罵了一聲「老畜生」,怏怏的努了嘴站著。掌柜便自去了;晚上回來,說棺木須得現做,後半夜才成功。 +掌柜回來的時候,幫忙的人早吃過飯;因為魯鎮還有些古風,所以不上一更,便都回家睡覺了。只有阿五還靠著咸亨的櫃臺喝酒,老拱也嗚嗚的唱。 +這時候,單四嫂子坐在床沿上哭著,寶兒在床上躺著,紡車靜靜的在地上立著。許多工夫,單四嫂子的眼淚宣告完結了,眼睛張得很大,看看四面的情形,覺得奇怪:所有的都是不會有的事。他心裏計算:不過是夢罷了,這些事都是夢。明天醒過來,自己好好的睡在床上,寶兒也好好的睡在自己身邊。他也醒過來,叫一聲「媽」,生龍活虎似的跳去玩了。 +老拱的歌聲早經寂靜,咸亨也熄了燈。單四嫂子張著眼,總不信所有的事。——雞也叫了;東方漸漸發白,窗縫裏透進了銀白色的曙光。 +銀白的曙光又漸漸顯出緋紅,太陽光接著照到屋脊。單四嫂子張著眼,呆呆坐著;聽得打門聲音,才吃了一嚇,跑出去開門。門外一個不認識的人,背了一件東西;後面站著王九媽。 +哦,他們背了棺材來了。 +下半天,棺木才合上蓋:因為單四嫂子哭一回,看一回,總不肯死心塌地的蓋上;幸虧王九媽等得不耐煩,氣憤憤的跑上前,一把拖開他,才七手八腳的蓋上了。 +但單四嫂子待他的寶兒,實在已經盡了心,再沒有什麼缺陷。昨天燒過一串紙錢,上午又燒了四十九捲《大悲咒》;收斂的時候,給他穿上頂新的衣裳,平日喜歡的玩意兒,——一個泥人,兩個小木碗,兩個玻璃瓶,——都放在枕頭旁邊。後來王九媽掐著指頭子細推敲,也終於想不出一些什麼缺陷。 +這日里,藍皮阿五簡直整天沒有到;咸亨掌柜便替單四嫂子雇了兩名腳夫,每名二百另十個大錢,抬棺木到義冢地上安放。王九媽又幫他煮了飯,凡是動過手開過口的人都吃了飯。太陽漸漸顯出要落山的顏色;吃過飯的人也不覺都顯出要回家的顏色,——於是他們終於都回了家。 +單四嫂子很覺得頭眩,歇息了一會,倒居然有點平穩了。但他接連著便覺得很異樣:遇到了平生沒有遇到過的事,不像會有的事,然而的確出現了。他越想越奇,又感到一件異樣的事——這屋子忽然太靜了。 +他站起身,點上燈火,屋子越顯得靜。他昏昏的走去關上門,回來坐在床沿上,紡車靜靜的立在地上。他定一定神,四面一看,更覺得坐立不得,屋子不但太靜,而且也太大了,東西也太空了。太大的屋子四麵包圍著他,太空的東西四面壓著他,叫他喘氣不得。 +他現在知道他的寶兒確乎死了;不願意見這屋子,吹熄了燈,躺著。他一面哭,一面想:想那時候,自己紡著棉紗,寶兒坐在身邊吃茴香豆,瞪著一雙小黑眼睛想了一刻,便說,「媽!爹賣餛飩,我大了也賣餛飩,賣許多許多錢,——我都給你。」那時候,真是連紡出的棉紗,也仿佛寸寸都有意思,寸寸都活著。但現在怎麼了?現在的事,單四嫂子卻實在沒有想到什麼。——我早經說過:他是粗笨女人。他能想出什麼呢?他單覺得這屋子太靜,太大,太空罷了。 +但單四嫂子雖然粗笨,卻知道還魂是不能有的事,他的寶兒也的確不能再見了。嘆一口氣,自言自語的說,「寶兒,你該還在這裏,你給我夢裏見見罷。」於是合上眼,想趕快睡去,會他的寶兒,苦苦的呼吸通過了靜和大和空虛,自己聽得明白。 +單四嫂子終於朦朦朧朧的走入睡鄉,全屋子都很靜。這時紅鼻子老拱的小曲,也早經唱完;蹌蹌踉踉出了咸亨,卻又提尖了喉嚨,唱道: +「我的冤家呀!——可憐你,——孤另另的……」 +藍皮阿五便伸手揪住了老拱的肩頭,兩個人七歪八斜的笑著擠著走去。 +單四嫂子早睡著了,老拱們也走了,咸亨也關上門了。這時的魯鎮,便完全落在寂靜里。只有那暗夜為想變成明天,卻仍在這寂靜里奔波;另有幾條狗,也躲在暗地裏嗚嗚的叫。 +陳士成看過縣考的榜、回到家裏的時候,已經是下午了。他去得本很早,一見榜,便先在這上面尋陳字。陳字也不少,似乎也都爭先恐後的跳進他眼睛裏來,然而接著的卻全不是士成這兩個字。他於是重新再在十二張榜的圓圖裏細細地搜尋,看的人全已散盡了,而陳士成在榜上終於沒有見,單站在試院的照壁的面前。 +涼風雖然拂拂的吹動他斑白的短髮,初冬的太陽卻還是很溫和的來曬他。但他似乎被太陽曬得頭暈了,臉色越加變成灰白,從勞乏的紅腫的兩眼裏,發出古怪的閃光。這時他其實早已不看到什麼牆上的榜文了,只見有許多烏黑的圓圈,在眼前泛泛的遊走。 +雋了秀才,上省去鄉試,一徑聯捷上去,……紳士們既然千方百計的來攀親,人們又都像看見神明似的敬畏,深悔先前的輕薄,發昏,……趕走了租住在自己破宅門裏的雜姓——那是不勞說趕,自己就搬的,——屋宇全新了,門口是旗竿和扁額,……要清高可以做京官,否則不如謀外放。……他平日安排停當的前程,這時候又像受潮的糖塔一般,剎時倒塌,只剩下一堆碎片了。他不自覺的旋轉了覺得渙散了身軀,惘惘的走向歸家的路。 +他剛到自己的房門口,七個學童便一齊放開喉嚨,吱的念起書來。他大吃一驚,耳朵邊似乎敲了一聲磬,只見七個頭拖了小辮子在眼前幌,幌得滿房,黑圈子也夾著跳舞。他坐下了,他們送上晚課來,臉上都顯出小覷他的神色。 +「回去罷。」他遲疑了片時,這才悲慘的說。 +他們胡亂的包了書包,挾著,一溜煙跑走了。 +陳士成還看見許多小頭夾著黑圓圈在眼前跳舞,有時雜亂,有時也擺成異樣的陣圖,然而漸漸的減少了,模胡了。 +「這回又完了!」 +他大吃一驚,直跳起來,分明就在耳邊的話,回過頭去卻並沒有什麼人,仿佛又聽得嗡的敲了一聲磬,自己的嘴也說道: +「這回又完了!」 +他忽而舉起一隻手來,屈指計數著想,十一,十三回,連今年是十六回,竟沒有一個考官懂得文章,有眼無珠,也是可憐的事,便不由嘻嘻的失了笑。然而他憤然了,驀地從書包布底下抽出謄真的制藝和試帖來,拿著往外走,剛近房門,卻看見滿眼都明亮,連一群雞也正在笑他,便禁不住心頭突突的狂跳,只好縮回裏面了。 +他又就了坐,眼格外的閃爍;他目睹著許多東西,然而很模胡,——是倒塌了的糖塔一般的前程躺在他面前,這前程又只是廣大起來,阻住了他的一切路。 +別家的炊煙早消歇了,碗筷也洗過了,而陳士成還不去做飯。寓在這裏的雜姓是知道老例的,凡遇到縣考的年頭,看見發榜後的這樣的眼光,不如及早關了門,不要多管事。最先就絕了人聲,接著是陸續的熄了燈火,獨有月亮,卻緩緩的出現在寒夜的空中。 +空中青碧到如一片海,略有些浮雲,仿佛有誰將粉筆洗在筆洗裏似的搖曳。月亮對著陳士成註下寒冷的光波來,當初也不過像是一面新磨的鐵鏡罷了,而這鏡卻詭秘的照透了陳士成的全身,就在他身上映出鐵的月亮的影。 +他還在房外的院子裏徘徊,眼裏頗清靜了,四近也寂靜。但這寂靜忽又無端的紛擾起來,他耳邊又確鑿聽到急促的低聲說: +「左彎右彎……」 +他聳然了,傾耳聽時,那聲音卻又提高的複述道:「右彎!」 +他記得了。這院子,是他家還未如此雕零的時候,一到夏天的夜間,夜夜和他的祖母在此納涼的院子。那時他不過十歲有零的孩子,躺在竹榻上,祖母便坐在榻旁邊,講給他有趣的故事聽。伊說是曾經聽得伊的祖母說,陳氏的祖宗是巨富的,這屋子便是祖基,祖宗埋著無數的銀子,有福氣的子孫一定會得到的罷,然而至今還沒有現。至於處所,那是藏在一個謎語的中間: +「左彎右彎,前走後走,量金量銀不論斗。」 +對於這謎語,陳士成便在平時,本也常常暗地裏加以揣測的,可惜大抵剛以為可以通,卻又立刻覺得不合了。有一回,他確有把握,知道這是在租給唐家的房底下的了,然而總沒有前去發掘的勇氣;過了幾時,可又覺得太不相像了。至於他自己房子裏的幾個掘過的舊痕跡,那卻全是先前幾回下第以後的發了怔忡的舉動,後來自己一看到,也還感到慚愧而且羞人。 +但今天鐵的光罩住了陳士成,又軟軟的來勸他了,他或者偶一遲疑,便給他正經的證明,又加上陰森的摧逼,使他不得不又向自己的房裏轉過眼光去。 +白光如一柄白團扇,搖搖擺擺的閃起在他房裏了。 +「也終於在這裏!」 +他說著,獅子似的趕快走進那房裏去,但跨進裏面的時候,便不見了白光的影蹤,只有莽蒼蒼的一間舊房,和幾個破書桌都沒在昏暗裏。他爽然的站著,慢慢的再定睛,然而白光卻分明的又起來了,這回更廣大,比硫黃火更白凈,比朝霧更霏微,而且便在靠東牆的一張書桌下。 +陳士成獅子似的奔到門後邊,伸手去摸鋤頭,撞著一條黑影。他不知怎的有些怕了,張惶的點了燈,看鋤頭無非倚著。他移開桌子,用鋤頭一氣掘起四塊大方磚,蹲身一看,照例是黃澄澄的細沙,揎了袖爬開細沙,便露出下面的黑土來。他極小心的,幽靜的,一鋤一鋤往下掘,然而深夜究竟太寂靜了,尖鐵觸土的聲音,總是鈍重的不肯瞞人的發響。 +土坑深到二尺多了,並不見有甕口,陳士成正心焦,一聲脆響,頗震得手腕痛,鋤尖碰到什麼堅硬的東西了;他急忙拋下鋤頭,摸索著看時,一塊大方磚在下麵。他的心抖得很利害,聚精會神的挖起那方磚來,下麵也滿是先前一樣的黑土,爬鬆了許多土,下麵似乎還無窮。但忽而又觸著堅硬的小東西了,圓的,大約是一個銹銅錢;此外也還有幾片破碎的磁片。 +陳士成心裏仿佛覺得空虛了,渾身流汗,急躁的只爬搔;這其間,心在空中一抖動,又觸著一種古怪的小東西了,這似乎約略有些馬掌形的,但觸手很鬆脆。他又聚精會神的挖起那東西來,謹慎的撮著,就燈光下仔細看時,那東西斑斑剝剝的像是爛骨頭,上面還帶著一排零落不全的牙齒。他已經誤到這許是下巴骨了,而那下巴骨也便在他手裏索索的動彈起來,而且笑吟吟的顯出笑影,終於聽得他開口道: +「這回又完了!」 +他慄然的發了大冷,同時也放了手,下巴骨輕飄飄的回到坑底裏不多久,他也就逃到院子裏了。他偷看房裏面,燈火如此輝煌,下巴骨如此嘲笑,異乎尋常的怕人,便再不敢向那邊看。他躲在遠處的簷下的陰影裏,覺得較為安全了;但在這平安中,忽而耳朵邊又聽得竊竊的低聲說: +「這裏沒有……到山裏去……」 +陳士成似乎記得白天在街上也曾聽得有人說這種話,他不待再聽完,已經恍然大悟了。他突然仰面向天,月亮已向西高峰這方面隱去,遠想離城三十五里的西高峰正在眼前,朝笏一般黑魆魆的挺立著,周圍便放出浩大閃爍的白光來。 +而且這白光又遠遠的就在前面了。 +「是的,到山裏去!」 +他決定的想,慘然的奔出去了。幾回的開門之後,門裏面便再不聞一些聲息。燈火結了大燈花照著空屋和坑洞,畢畢剝剝的炸了幾聲之後,便漸漸的縮小以至於無有,那是殘油已經燒盡了。 +「開城門來~~」 +含著大希望的恐怖的悲聲,遊絲似的在西關門前的黎明中,戰戰兢兢的叫喊。 +第二天的日中,有人在離西門十五里的萬流湖裏看見一個浮屍,當即傳揚開去,終於傳到地保的耳朵裏了,便叫鄉下人撈將上來。那是一個男屍,五十多歲,「身中面白無鬚」,渾身也沒有什麼衣褲。或者說這就是陳士成。但鄰居懶得去看,也並無屍親認領,於是經縣委員相驗之後,便由地保埋了。至於死因,那當然是沒有問題的,剝取死屍的衣服本來是常有的事,夠不上疑心到謀害去:而且仵作也證明是生前的落水,因為他確鑿曾在水底裏掙命,所以十個指甲裏都滿嵌著河底泥。 +有鬼似的。 +然而要做這一篇速朽的文章,纔下筆,便感到萬分的困難了。第一是文章的名目。孔子曰,“名不正則言不順”。這原是應該極註意的。傳的名目很繁多:列傳,自傳,內傳,外傳,別傳,家傳,小傳……,而可惜都不合。“列傳”麽,這一篇並非和許多闊人排在“正史”裏;“自傳”麽,我又並非就是阿Q。說是“外傳”,“內傳”在那裏呢?倘用“內傳”,阿Q又決不是神仙。“別傳”呢,阿Q實在未曾有大總統上諭宣付國史館立“本傳”——雖說英國正史上並無“博徒列傳”,而文豪迭更司也做過《博徒別傳》這一部書,但文豪則可,在我輩卻不可。其次是“家傳”,則我既不知與阿Q是否同宗,也未曾受他子孫的拜託;或“小傳”,則阿Q又更無別的“大傳”了。總而言之,這一篇也便是“本傳”,但從我的文章著想,因為文體卑下,是“引車賣漿者流”所用的話,所以不敢僭稱,便從不入三教九流的小說家所謂“閑話休題言歸正傳”這一句套話裏,取出“正傳”兩個字來,作為名目,即使與古人所撰《書法正傳》的“正傳”字面上很相混,也顧不得了。 +第二,立傳的通例,開首大抵該是“某,字某,某地人也”,而我並不知道阿Q姓什麼。有一回,他似乎是姓趙,但第二日便模糊了。那是趙太爺的兒子進了秀才的時候,鑼聲鏜鏜的報到村裏來,阿Q正喝了兩碗黃酒,便手舞足蹈的說,這於他也很光采,因為他和趙太爺原來是本家,細細的排起來他還比秀才長三輩呢。其時幾個旁聽人倒也肅然的有些起敬了。那知道第二天,地保便叫阿Q到趙太爺家裏去;太爺一見,滿臉濺朱,喝道: +“阿Q,你這渾小子!你說我是你的本家麽?”阿Q不開口。趙太爺愈看愈生氣了,搶進幾步說:“你敢胡說!我怎麼會有你這樣的本家?你姓趙麽?”阿Q不開口,想往後退了;趙太爺跳過去,給了他一個嘴巴。 +“你怎麼會姓趙!——你那裏配姓趙!” +阿Q並沒有抗辯他確鑿姓趙,只用手摸著左頰,和地保退出去了;外面又被地保訓斥了一番,謝了地保二百文酒錢。知道的人都說阿Q太荒唐,自己去招打;他大約未必姓趙,即使真姓趙,有趙太爺在這裏,也不該如此胡說的。此後便再沒有人提起他的氏族來,所以我終於不知道阿Q究竟什麼姓。 +第三,我又不知道阿Q的名字是怎麼寫的。他活著的時候,人都叫他阿Quei,死了以後,便沒有一個人再叫阿Quei了,那裏還會有“著之竹帛”的事。若論“著之竹帛”,這篇文章要算第一次,所以先遇著了這第一個難關。我曾仔細想:阿Quei,阿桂還是阿貴呢?倘使他號月亭,或者在八月間做過生日,那一定是阿桂了;而他既沒有號——也許有號,只是沒有人知道他,——又未嘗散過生日徵文的帖子:寫作阿桂,是武斷的。又倘使他有一位老兄或令弟叫阿富,那一定是阿貴了;而他又只是一個人:寫作阿貴,也沒有佐證的。其餘音Quei的偏僻字樣,更加湊不上了。先前,我也曾問過趙太爺的兒子茂才先生,誰料博雅如此公,竟也茫然,但據結論說,是因為陳獨秀辦了《新青年》提倡洋字,所以國粹淪亡,無可查考了。我的最後的手段,只有托一個同鄉去查阿Q犯事的案卷,八個月之後纔有回信,說案卷裏並無與阿Quei的聲音相近的人。我雖不知道是真沒有,還是沒有查,然而也再沒有別的方法了。生怕註音字母還未通行,只好用了“洋字”,照英國流行的拼法寫他為阿Quei,略作阿Q。這近於盲從《新青年》,自己也很抱歉,但茂才公尚且不知,我還有什麼好辦法呢。 +第四,是阿Q的籍貫了。倘他姓趙,則據現在好稱郡望的老例,可以照《郡名百家姓》上的註解,說是“隴西天水人也”,但可惜這姓是不甚可靠的,因此籍貫也就有些決不定。他雖然多住未莊,然而也常常宿在別處,不能說是未莊人,即使說是“未莊人也”,也仍然有乖史法的。 +我所聊以自慰的,是還有一個“阿”字非常正確,絕無附會假借的缺點,頗可以就正於通人。至於其餘,卻都非淺學所能穿鑿,只希望有“歷史癖與考據癖”的胡適之先生的門人們,將來或者能夠尋出許多新端緒來,但是我這《阿Q正傳》到那時卻又怕早經消滅了。 +阿Q不獨是姓名籍貫有些渺茫,連他先前的“行狀”也渺茫。因為未莊的人們之於阿Q,只要他幫忙,只拿他玩笑,從來沒有留心他的“行狀”的。而阿Q自己也不說,獨有和別人口角的時候,間或瞪著眼睛道: +“我先前——比你闊的多啦!你算是什麼東西!” +阿Q沒有家,住在未莊的土穀祠裏;也沒有固定的職業,只給人家做短工,割麥便割麥,舂米便舂米,撐船便撐船。工作略長久時,他也或住在臨時主人的家裏,但一完就走了。所以,人們忙碌的時候,也還記起阿Q來,然而記起的是做工,並不是“行狀”;一閑空,連阿Q都早忘卻,更不必說“行狀”了。只是有一回,有一個老頭子頌揚說:“阿Q真能做!”這時阿Q赤著膊,懶洋洋的瘦伶仃的正在他面前,別人也摸不著這話是真心還是譏笑,然而阿Q很喜歡。 +阿Q又很自尊,所有未莊的居民,全不在他眼神裏,甚而至於對於兩位“文童”也有以為不值一笑的神情。夫文童者,將來恐怕要變秀才者也;趙太爺錢太爺大受居民的尊敬,除有錢之外,就因為都是文童的爹爹,而阿Q在精神上獨不表格外的崇奉,他想:我的兒子會闊得多啦!加以進了幾回城,阿Q自然更自負,然而他又很鄙薄城裏人,譬如用三尺三寸寬的木板做成的凳子,未莊人叫“長凳”,他也叫“長凳”,城裏人卻叫“條凳”,他想:這是錯的,可笑!油煎大頭魚,未莊都加上半寸長的蔥葉,城裏卻加上切細的蔥絲,他想:這也是錯的,可笑!然而未莊人真是不見世面的可笑的鄉下人呵,他們沒有見過城裏的煎魚! +阿Q“先前闊”,見識高,而且“真能做”,本來幾乎是一個“完人”了,但可惜他體質上還有一些缺點。最惱人的是在他頭皮上,頗有幾處不知於何時的癩瘡疤。這雖然也在他身上,而看阿Q的意思,倒也似乎以為不足貴的,因為他諱說“癩”以及一切近於“賴”的音,後來推而廣之,“光”也諱,“亮”也諱,再後來,連“燈”“燭”都諱了。一犯諱,不問有心與無心,阿Q便全疤通紅的發起怒來,估量了對手,口訥的他便罵,氣力小的他便打;然而不知怎麼一回事,總還是阿Q吃虧的時候多。於是他漸漸的變換了方針,大抵改為怒目而視了。 +誰知道阿Q採用怒目主義之後,未莊的閑人們便愈喜歡玩笑他。一見面,他們便假作吃驚的說: +“噲,亮起來了。” +阿Q照例的發了怒,他怒目而視了。 +“原來有保險燈在這裏!”他們並不怕。 +阿Q沒有法,只得另外想出報複的話來: +“你還不配……”這時候,又仿佛在他頭上的是一種高尚的光容的癩頭瘡,並非平常的癩頭瘡了;但上文說過,阿Q是有見識的,他立刻知道和“犯忌”有點抵觸,便不再往底下說。 +閒人還不完,只撩他,於是終而至於打。阿Q在形式上打敗了,被人揪住黃辮子,在壁上碰了四五個響頭,閒人這纔心滿意足的得勝的走了,阿Q站了一刻,心裏想,“我總算被兒子打了,現在的世界真不像樣……”於是也心滿意足的得勝的走了。 +阿Q想在心裏的,後來每每說出口來,所以凡是和阿Q玩笑的人們,幾乎全知道他有這一種精神上的勝利法,此後每逢揪住他黃辮子的時候,人就先一著對他說: +“阿Q,這不是兒子打老子,是人打畜生。自己說:人打畜生!” +阿Q兩隻手都捏住了自己的辮根,歪著頭,說道: +“打蟲豸,好不好?我是蟲豸——還不放麽?” +但雖然是蟲豸,閒人也並不放,仍舊在就近什麼地方給他碰了五六個響頭,這纔心滿意足的得勝的走了,他以為阿Q這回可遭了瘟。然而不到十秒鐘,阿Q也心滿意足的得勝的走了,他覺得他是第一個能夠自輕自賤的人,除了“自輕自賤”不算外,餘下的就是“第一個”。狀元不也是“第一個”麽?“你算是什麼東西”呢!? +阿Q以如是等等妙法剋服怨敵之後,便愉快的跑到酒店裏喝幾碗酒,又和別人調笑一通,口角一通,又得了勝,愉快的回到土穀祠,放倒頭睡著了。假使有錢,他便去押牌寶,一堆人蹲在地面上,阿Q即汗流滿面的夾在這中間,聲音他最響: +“青龍四百!” +“咳~~開~~啦!”樁家揭開盒子蓋,也是汗流滿面的唱。“天門啦~~角回啦~~!人和穿堂空在那裏啦~~!阿Q的銅錢拿過來~~! +“穿堂一百——一百五十!” +阿Q的錢便在這樣的歌吟之下,漸漸的輸入別個汗流滿面的人物的腰間。他終於只好擠出堆外,站在後面看,替別人著急,一直到散場,然後戀戀的回到土穀祠,第二天,腫著眼睛去工作。 +但真所謂“塞翁失馬安知非福”罷,阿Q不幸而贏了一回,他倒幾乎失敗了。 +這是未莊賽神的晚上。這晚上照例有一臺戲,戲臺左近,也照例有許多的賭攤。做戲的鑼鼓,在阿Q耳朵裏仿佛在十里之外;他只聽得樁家的歌唱了。他贏而又贏,銅錢變成角洋,角洋變成大洋,大洋又成了疊。他興高采烈得非常:“天門兩塊!” +他不知道誰和誰為什麼打起架來了。罵聲打聲腳步聲,昏頭昏腦的一大陣,他纔爬起來,賭攤不見了,人們也不見了,身上有幾處很似乎有些痛,似乎也挨了幾拳幾腳似的,幾個人詫異的對他看。他如有所失的走進土穀祠,定一定神,知道他的一堆洋錢不見了。趕賽會的賭攤多不是本村人,還到那裏去尋根柢呢? +很白很亮的一堆洋錢!而且是他的——現在不見了!說是算被兒子拿去了罷,總還是忽忽不樂;說自己是蟲豸罷,也還是忽忽不樂:他這回纔有些感到失敗的苦痛了。 +但他立刻轉敗為勝了。他擎起右手,用力的在自己臉上連打了兩個嘴巴,熱剌剌的有些痛;打完之後,便心平氣和起來,似乎打的是自己,被打的是別一個自己,不久也就仿佛是自己打了別個一般,——雖然還有些熱剌剌,——心滿意足的得勝的躺下了。他睡著了。 +然而阿Q雖然常優勝,卻直待蒙趙太爺打他嘴巴之後,這纔出了名。 +他付過地保二百文酒錢,憤憤的躺下了,後來想:“現在的世界太不成話,兒子打老子……”於是忽而想到趙太爺的威風,而現在是他的兒子了,便自己也漸漸的得意起來,爬起身,唱著《小孤孀上墳》到酒店去。這時候,他又覺得趙太爺高人一等了。 +說也怪,從此之後,果然大家也仿佛格外尊敬他。這在阿Q,或者以為因為他是趙太爺的父親,而其實也不然。未莊通例,倘如阿七打阿八,或者李四打張三,向來本不算口碑。一上口碑,則打的既有名,被打的也就托庇有了名。至於錯在阿Q,那自然是不必說。所以者何?就因為趙太爺是不會錯的。但他既然錯,為什麼大家又仿佛格外尊敬他呢?這可難解,穿鑿起來說,或者因為阿Q說是趙太爺的本家,雖然挨了打,大家也還怕有些真,總不如尊敬一些穩當。否則,也如孔廟裏的太牢一般,雖然與豬羊一樣,同是畜生,但既經聖人下箸,先儒們便不敢妄動了。 +阿Q此後倒得意了許多年。 +有一年的春天,他醉醺醺的在街上走,在牆根的日光下,看見王胡在那裏赤著膊捉蝨子,他忽然覺得身上也癢起來了。這王胡,又癩又胡,別人都叫他王癩胡,阿Q卻刪去了一個癩字,然而非常渺視他。阿Q的意思,以為癩是不足為奇的,只有這一部絡腮鬍子,實在太新奇,令人看不上眼。他於是併排坐下去了。倘是別的閑人們,阿Q本不敢大意坐下去。但這王胡旁邊,他有什麼怕呢?老實說:他肯坐下去,簡直還是抬舉他。 +阿Q也脫下破夾襖來,翻檢了一回,不知道因為新洗呢還是因為粗心,許多工夫,只捉到三四個。他看那王胡,卻是一個又一個,兩個又三個,只放在嘴裏畢畢剝剝的響。 +阿Q最初是失望,後來卻不平了:看不上眼的王胡尚且那麼多,自己倒反這樣少,這是怎樣的大失體統的事呵!他很想尋一兩個大的,然而竟沒有,好容易纔捉到一個中的,恨恨的塞在厚嘴唇裏,狠命一咬,劈的一聲,又不及王胡的響。 +他癩瘡疤塊塊通紅了,將衣服摔在地上,吐一口唾沫,說: +“這毛蟲!” +“癩皮狗,你罵誰?”王胡輕蔑的抬起眼來說。 +阿Q近來雖然比較的受人尊敬,自己也更高傲些,但和那些打慣的閑人們見面還膽怯,獨有這回卻非常武勇了。這樣滿臉鬍子的東西,也敢出言無狀麽? +“誰認便罵誰!”他站起來,兩手叉在腰間說。 +“你的骨頭癢了麽?”王胡也站起來,披上衣服說。 +阿Q以為他要逃了,搶進去就是一拳。這拳頭還未達到身上,已經被他抓住了,只一拉,阿Q蹌蹌踉踉的跌進去,立刻又被王胡扭住了辮子,要拉到牆上照例去碰頭。 +“‘君子動口不動手’!”阿Q歪著頭說。 +王胡似乎不是君子,並不理會,一連給他碰了五下,又用力的一推,至於阿Q跌出六尺多遠,這纔滿足的去了。 +在阿Q的記憶上,這大約要算是生平第一件的屈辱,因為王胡以絡腮鬍子的缺點,向來只被他奚落,從沒有奚落他,更不必說動手了。而他現在竟動手,很意外,難道真如市上所說,皇帝已經停了,不要秀才和舉人了,因此趙家減了威風,因此他們也便小覷了他麽? +阿Q無可適從的站著。 +遠遠的走來了一個人,他的對頭又到了。這也是阿Q最厭惡的一個人,就是錢太爺的大兒子。他先前跑上城裏去進洋學堂,不知怎麼又跑到東洋去了,半年之後他回到家裏來,腿也直了,辮子也不見了,他的母親大哭了十幾場,他的老婆跳了三回井。後來,他的母親到處說,“這辮子是被壞人灌醉了酒剪去了。本來可以做大官,現在只好等留長再說了。”然而阿Q不肯信,偏稱他“假洋鬼子”,也叫作“裏通外國的人”,一見他,一定在肚子裏暗暗的咒罵。 +阿Q尤其“深惡而痛絕之”的,是他的一條假辮子。辮子而至於假,就是沒有了做人的資格;他的老婆不跳第四回井,也不是好女人。 +這“假洋鬼子”近來了。 +“禿兒。驢……”阿Q歷來本只在肚子裏罵,沒有出過聲,這回因為正氣忿,因為要報仇,便不由的輕輕的說出來了。 +不料這禿兒卻拿著一支黃漆的棍子——就是阿Q所謂哭喪棒——大蹋步走了過來。阿Q在這剎那,便知道大約要打了,趕緊抽緊筋骨,聳了肩膀等候著,果然,拍的一聲,似乎確鑿打在自己頭上了。 +“我說他!”阿Q指著近旁的一個孩子,分辯說。 +拍!拍拍! +在阿Q的記憶上,這大約要算是生平第二件的屈辱。幸而拍拍的響了之後,於他倒似乎完結了一件事,反而覺得輕鬆些,而且“忘卻”這一件祖傳的寶貝也發生了效力,他慢慢的走,將到酒店門口,早已有些高興了。 +但對面走來了靜修庵裏的小尼姑。阿Q便在平時,看見伊也一定要唾罵,而況在屈辱之後呢?他於是發生了回憶,又發生了敵愾了。 +“我不知道我今天為什麼這樣晦氣,原來就因為見了你!”他想。 +他迎上去,大聲的吐一口唾沫: +“咳,呸!” +小尼姑全不睬,低了頭只是走。阿Q走近伊身旁,突然伸出手去摩著伊新剃的頭皮,呆笑著,說: +“禿兒!快回去,和尚等著你……” +“你怎麼動手動腳……”尼姑滿臉通紅的說,一面趕快走。 +酒店裏的人大笑了。阿Q看見自己的勛業得了賞識,便愈加興高采烈起來: +“和尚動得,我動不得?”他扭住伊的面頰。 +酒店裏的人大笑了。阿Q更得意,而且為了滿足那些賞鑒家起見,再用力的一擰,纔放手。 +他這一戰,早忘卻了王胡,也忘卻了假洋鬼子,似乎對於今天的一切“晦氣”都報了仇;而且奇怪,又仿佛全身比拍拍的響了之後輕鬆,飄飄然的似乎要飛去了。 +“這斷子絕孫的阿Q!”遠遠地聽得小尼姑的帶哭的聲音。 +“哈哈哈!”阿Q十分得意的笑。 +“哈哈哈!”酒店裏的人也九分得意的笑。 +有人說:有些勝利者,願意敵手如虎,如鷹,他纔感得勝利的歡喜;假使如羊,如小雞,他便反覺得勝利的無聊。又有些勝利者,當剋服一切之後,看見死的死了,降的降了,“臣誠惶誠恐死罪死罪”,他於是沒有了敵人,沒有了對手,沒有了朋友,只有自己在上,一個,孤另另,淒涼,寂寞,便反而感到了勝利的悲哀。然而我們的阿Q卻沒有這樣乏,他是永遠得意的:這或者也是中國精神文明冠於全球的一個證據了。 +看那,他飄飄然的似乎要飛去了! +然而這一次的勝利,卻又使他有些異樣。他飄飄然的飛了大半天,飄進土穀祠,照例應該躺下便打鼾。誰知道這一晚,他很不容易合眼,他覺得自己的大拇指和第二指有點古怪:仿佛比平常滑膩些。不知道是小尼姑的臉上有一點滑膩的東西粘在他指上,還是他的指頭在小尼姑臉上磨得滑膩了?…… +“斷子絕孫的阿Q!” +阿Q的耳朵裏又聽到這句話。他想:不錯,應該有一個女人,斷子絕孫便沒有人供一碗飯,……應該有一個女人。夫“不孝有三無後為大”,而“若敖之鬼餒而”,也是一件人生的大哀,所以他那思想,其實是樣樣合於聖經賢傳的,只可惜後來有些“不能收其放心”了。 +“女人,女人!……”他想。 +“……和尚動得……女人,女人!……女人!”他又想。 +我們不能知道這晚上阿Q在什麼時候纔打鼾。但大約他從此總覺得指頭有些滑膩,所以他從此總有些飄飄然;“女……”他想。 +即此一端,我們便可以知道女人是害人的東西。 +中國的男人,本來大半都可以做聖賢,可惜全被女人毀掉了。商是妲己鬧亡的;周是褒姒弄壞的;秦……雖然史無明文,我們也假定他因為女人,大約未必十分錯;而董卓可是的確給貂蟬害死了。 +阿Q本來也是正人,我們雖然不知道他曾蒙什麼明師指授過,但他對於“男女之大防”卻歷來非常嚴;也很有排斥異端——如小尼姑及假洋鬼子之類——的正氣。他的學說是:凡尼姑,一定與和尚私通;一個女人在外面走,一定想引誘野男人;一男一女在那裏講話,一定要有勾當了。為懲治他們起見,所以他往往怒目而視,或者大聲說幾句“誅心”話,或者在冷僻處,便從後面擲一塊小石頭。 +誰知道他將到“而立”之年,竟被小尼姑害得飄飄然了。這飄飄然的精神,在禮教上是不應該有的,——所以女人真可惡,假使小尼姑的臉上不滑膩,阿Q便不至於被蠱,又假使小尼姑的臉上蓋一層布,阿Q便也不至於被蠱了,——他五六年前,曾在戲臺下的人叢中擰過一個女人的大腿,但因為隔一層褲,所以此後並不飄飄然,——而小尼姑並不然,這也足見異端之可惡。 +“女……”阿Q想。 +他對於以為“一定想引誘野男人”的女人,時常留心看,然而伊並不對他笑。他對於和他講話的女人,也時常留心聽,然而伊又並不提起關於什麼勾當的話來。哦,這也是女人可惡之一節:伊們全都要裝“假正經”的。 +這一天,阿Q在趙太爺家裏舂了一天米,吃過晚飯,便坐在廚房裏吸旱煙。倘在別家,吃過晚飯本可以回去的了,但趙府上晚飯早,雖說定例不准掌燈,一吃完便睡覺,然而偶然也有一些例外:其一,是趙大爺未進秀才的時候,准其點燈讀文章;其二,便是阿Q來做短工的時候,准其點燈舂米。因為這一條例外,所以阿Q在動手舂米之前,還坐在廚房裏吸旱煙。 +吳媽,是趙太爺家裏唯一的女僕,洗完了碗碟,也就在長凳上坐下了,而且和阿Q談閑天: +“太太兩天沒有吃飯哩,因為老爺要買一個小的……” +女人……吳媽……這小孤孀……”阿Q想。 +“我們的少奶奶是八月裏要生孩子了……” +“女人……”阿Q想。 +阿Q放下煙管,站了起來。 +“我們的少奶奶……”吳媽還嘮叨說。 +“我和你困覺,我和你困覺!”阿Q忽然搶上去,對伊跪下了。 +一剎時中很寂然。 +“阿呀!”吳媽楞了一息,突然發抖,大叫著往外跑,且跑且嚷,似乎後來帶哭了。 +阿Q對了牆壁跪著也發楞,於是兩手扶著空板凳,慢慢的站起來,仿佛覺得有些糟。他這時確也有些忐忑了,慌張的將煙管插在褲帶上,就想去舂米。蓬的一聲,頭上著了很粗的一下,他急忙迴轉身去,那秀才便拿了一支大竹杠站在他面前。 +“你反了,……你這……” +大竹杠又向他劈下來了。阿Q兩手去抱頭,拍的正打在指節上,這可很有些痛。他衝出廚房門,仿佛背上又著了一下似的。 +“忘八蛋!”秀才在後面用了官話這樣罵。 +阿Q奔入舂米場,一個人站著,還覺得指頭痛,還記得“忘八蛋”,因為這話是未莊的鄉下人從來不用,專是見過官府的闊人用的,所以格外怕,而印象也格外深。但這時,他那“女……”的思想卻也沒有了。而且打罵之後,似乎一件事也已經收束,倒反覺得一無掛礙似的,便動手去舂米。舂了一會,他熱起來了,又歇了手脫衣服。 +脫下衣服的時候,他聽得外面很熱鬧,阿Q生平本來最愛看熱鬧,便即尋聲走出去了。尋聲漸漸的尋到趙太爺的內院裏,雖然在昏黃中,卻辨得出許多人,趙府一家連兩日不吃飯的太太也在內,還有間壁的鄒七嫂,真正本家的趙白眼,趙司晨。 +少奶奶正拖著吳媽走出下房來,一面說: +“你到外面來,……不要躲在自己房裏想……” +“誰不知道你正經,……短見是萬萬尋不得的。”鄒七嫂也從旁說。 +吳媽只是哭,夾些話,卻不甚聽得分明。 +阿Q想:“哼,有趣,這小孤孀不知道鬧著什麼玩意兒了?”他想打聽,走近趙司晨的身邊。這時他猛然間看見趙大爺向他奔來,而且手裏捏著一支大竹杠。他看見這一支大竹杠,便猛然間悟到自己曾經被打,和這一場熱鬧似乎有點相關。他翻身便走,想逃回舂米場,不圖這支竹杠阻了他的去路,於是他又翻身便走,自然而然的走出後門,不多工夫,已在土穀祠內了。 +阿Q坐了一會,皮膚有些起粟,他覺得冷了,因為雖在春季,而夜間頗有餘寒,尚不宜於赤膊。他也記得布衫留在趙家,但倘若去取,又深怕秀才的竹杠。然而地保進來了。 +“阿Q,你的媽媽的!你連趙家的用人都調戲起來,簡直是造反。害得我晚上沒有覺睡,你的媽媽的!……” +如是云云的教訓了一通,阿Q自然沒有話。臨末,因為在晚上,應該送地保加倍酒錢四百文,阿Q正沒有現錢,便用一頂氈帽做抵押,並且訂定了五條件: +一 明天用紅燭——要一斤重的——一對,香一封,到趙府上去賠罪。 +二 趙府上請道士祓除縊鬼,費用由阿Q負擔。 +三 阿Q從此不准踏進趙府的門檻。四 吳媽此後倘有不測,惟阿Q是問。 +五 阿Q不准再去索取工錢和布衫。 +阿Q自然都答應了,可惜沒有錢。幸而已經春天,棉被可以無用,便質了二千大錢,履行條約。赤膊磕頭之後,居然還剩幾文,他也不再贖氈帽,統統喝了酒了。但趙家也並不燒香點燭,因為太太拜佛的時候可以用,留著了。那破布衫是大半做了少奶奶八月間生下來的孩子的襯尿布,那小半破爛的便都做了吳媽的鞋底。 +第五章 生計問題[编辑 +阿Q禮畢之後,仍舊回到土穀祠,太陽下去了,漸漸覺得世上有些古怪。他仔細一想,終於省悟過來:其原因蓋在自己的赤膊。他記得破夾襖還在,便披在身上,躺倒了,待張開眼睛,原來太陽又已經照在西牆上頭了。他坐起身,一面說道,“媽媽的……” +他起來之後,也仍舊在街上逛,雖然不比赤膊之有切膚之痛,卻又漸漸的覺得世上有些古怪了。仿佛從這一天起,未莊的女人們忽然都怕了羞,伊們一見阿Q走來,便個個躲進門裏去。甚而至於將近五十歲的鄒七嫂,也跟著別人亂鑽,而且將十一歲的女兒都叫進去了。阿Q很以為奇,而且想:“這些東西忽然都學起小姐模樣來了。這娼婦們……” +,卻是許多日以後的事。其一,酒店不肯賒欠了;其二,管土穀祠的老頭子說些廢話,似乎叫他走;其三,他雖然記不清多少日,但確乎有許多日,沒有一個人來叫他做短工。酒店不賒,熬著也罷了;老頭子催他走,嚕囌一通也就算了;只是沒有人來叫他做短工,卻使阿Q肚子餓:這委實是一件非常“媽媽的”的事情。 +阿Q忍不下去了,他只好到老主顧的家裏去探問,——但獨不許踏進趙府的門檻,——然而情形也異樣:一定走出一個男人來,現了十分煩厭的相貌,像回覆乞丐一般的搖手道: +“沒有沒有!你出去!” +阿Q愈覺得稀奇了。他想,這些人家向來少不了要幫忙,不至於現在忽然都無事,這總該有些蹊蹺在裏面了。他留心打聽,纔知道他們有事都去叫小Don。這小D,是一個窮小子,又瘦又乏,在阿Q的眼睛裏,位置是在王胡之下的,誰料這小子竟謀了他的飯碗去。所以阿Q這一氣,更與平常不同,當氣憤憤的走著的時候,忽然將手一揚,唱道: +“我手執鋼鞭將你打!……” +幾天之後,他竟在錢府的照壁前遇見了小D。“仇人相見分外眼明”,阿Q便迎上去,小D也站住了。 +“畜生!”阿Q怒目而視的說,嘴角上飛出唾沫來。 +“我是蟲豸,好麽?……”小D說。 +這謙遜反使阿Q更加憤怒起來,但他手裏沒有鋼鞭,於是只得撲上去,伸手去拔小D的辮子。小D一手護住了自己的辮根,一手也來拔阿Q的辮子,阿Q便也將空著的一隻手護住了自己的辮根。從先前的阿Q看來,,小D本來是不足齒數的,但他近來挨了餓,又瘦又乏已經不下於小D,所以便成了勢均力敵的現象,四隻手拔著兩顆頭,都彎了腰,在錢家粉牆上映出一個藍色的虹形,至於半點鐘之久了。 +“好了,好了!”看的人們說,大約是解勸的。 +“好,好!”看的人們說,不知道是解勸,是頌揚,還是煽動。 +然而他們都不聽。阿Q進三步,小D便退三步,都站著;小D進三步,阿Q便退三步,又都站著。大約半點鐘,——未莊少有自鳴鐘,所以很難說,或者二十分,——他們的頭髮裏便都冒煙,額上便都流汗,阿Q的手放鬆了,在同一瞬間,小D的手也正放鬆了,同時直起,同時退開,都擠出人叢去。 +“記著罷,媽媽的……”阿Q回過頭去說。 +“媽媽的,記著罷……”小D也回過頭來說。 +這一場“龍虎鬥”似乎並無勝敗,也不知道看的人可滿足,都沒有發什麼議論,而阿Q卻仍然沒有人來叫他做短工。 +有一日很溫和,微風拂拂的頗有些夏意了,阿Q卻覺得寒冷起來,但這還可擔當,第一倒是肚子餓。棉被,氈帽,布衫,早已沒有了,其次就賣了棉襖;現在有褲子,卻萬不可脫的;有破夾襖,又除了送人做鞋底之外,決定賣不出錢。他早想在路上拾得一註錢,但至今還沒有見;他想在自己的破屋裏忽然尋到一註錢,慌張的四顧,但屋內是空虛而且瞭然。於是他決計出門求食去了。 +他在路上走著要“求食”,看見熟識的酒店,看見熟識的饅頭,但他都走過了,不但沒有暫停,而且並不想要。他所求的不是這類東西了;他求的是什麼東西,他自己不知道。 +未莊本不是大村鎮,不多時便走盡了。村外多是水田,滿眼是新秧的嫩綠,夾著幾個圓形的活動的黑點,便是耕田的農夫。阿Q並不賞鑒這田家樂,卻只是走,因為他直覺的知道這與他的“求食”之道是很遼遠的。但他終於走到靜修庵的牆外了。 +庵周圍也是水田,粉牆突出在新綠裏,後面的低土牆裏是菜園。阿Q遲疑了一會,四面一看,並沒有人。他便爬上這矮牆去,扯著何首烏藤,但泥土仍然簌簌的掉,阿Q的腳也索索的抖;終於攀著桑樹枝,跳到裏面了。裏面真是鬱鬱蔥蔥,但似乎並沒有黃酒饅頭,以及此外可吃的之類。靠西牆是竹叢,下麵許多筍,只可惜都是並未煮熟的,還有油菜早經結子,芥菜已將開花,小白菜也很老了。 +阿Q仿佛文童落第似的覺得很冤屈,他慢慢走近園門去,忽而非常驚喜了,這分明是一畦老蘿蔔。他於是蹲下便拔,而門口突然伸出一個很圓的頭來,又即縮回去了,這分明是小尼姑。小尼姑之流是阿Q本來視若草芥的,但世事須“退一步想”,所以他便趕緊拔起四個蘿蔔,擰下青葉,兜在大襟裏。然而老尼姑已經出來了。 +“阿彌陀佛,阿Q,你怎麼跳進園裏來偷蘿蔔!……阿呀,罪過呵,阿唷,阿彌陀佛!……” +“我什麼時候跳進你的園裏來偷蘿蔔?”阿Q且看且走的說。 +“現在……這不是?”老尼姑指著他的衣兜。 +“這是你的?你能叫得他答應你麽?你……” +阿Q沒有說完話,拔步便跑;追來的是一匹很肥大的黑狗。這本來在前門的,不知怎的到後園來了。黑狗哼而且追,已經要咬著阿Q的腿,幸而從衣兜裏落下一個蘿蔔來,那狗給一嚇,略略一停,阿Q已經爬上桑樹,跨到土牆,連人和蘿蔔都滾出牆外面了。只剩著黑狗還在對著桑樹嗥,老尼姑念著佛。 +阿Q怕尼姑又放出黑狗來,拾起蘿蔔便走,沿路又撿了幾塊小石頭,但黑狗卻並不再現。阿Q於是拋了石塊,一面走一面吃,而且想道,這裏也沒有什麼東西尋,不如進城去…… +待三個蘿蔔吃完時,他已經打定了進城的主意了。 +第六章 從中興到末路[编辑] +在未莊再看見阿Q出現的時候,是剛過了這年的中秋。人們都驚異,說是阿Q回來了,於是又回上去想道,他先前那裏去了呢?阿Q前幾回的上城,大抵早就興高采烈的對人說,但這一次卻並不,所以也沒有一個人留心到。他或者也曾告訴過管土穀祠的老頭子,然而未莊老例,只有趙太爺、錢太爺和秀才大爺上城纔算一件事。假洋鬼子尚且不足數,何況是阿Q:因此老頭子也就不替他宣傳,而未莊的社會上也就無從知道了。 +但阿Q這回的回來,卻與先前大不同,確乎很值得驚異。天色將黑,他睡眼蒙朧的在酒店門前出現了,他走近櫃臺,從腰間伸出手來,滿把是銀的和銅的,在櫃上一扔說,“現錢!打酒來!”穿的是新夾襖,看去腰間還掛著一個大搭連,沉鈿鈿的將褲帶墜成了很彎很彎的弧線。未莊老例,看見略有些醒目的人物,是與其慢也寧敬的,現在雖然明知道是阿Q,但因為和破夾襖的阿Q有些兩樣了,古人云,“士別三日便當刮目相待”,所以堂倌,掌櫃,酒客,路人,便自然顯出一種凝而且敬的形態來。掌櫃既先之以點頭,又繼之以談話: +“豁,阿Q,你回來了!” +“回來了。” +“發財發財,你是——在……” +“上城去了!” +這一件新聞,第二天便傳遍了全未莊。人人都願意知道現錢和新夾襖的阿Q的中興史,所以在酒店裏,茶館裏,廟簷下,便漸漸的探聽出來了。這結果,是阿Q得了新敬畏。 +據阿Q說,他是在舉人老爺家裏幫忙。這一節,聽的人都肅然了。這老爺本姓白,但因為合城裏只有他一個舉人,所以不必再冠姓,說起舉人來就是他。這也不獨在未莊是如此,便是一百里方圓之內也都如此,人們幾乎多以為他的姓名就叫舉人老爺的了。在這人的府上幫忙,那當然是可敬的。但據阿Q又說,他卻不高興再幫忙了,因為這舉人老爺實在太“媽媽的”了。這一節,聽的人都嘆息而且快意,因為阿Q本不配在舉人老爺家裏幫忙,而不幫忙是可惜的。 +據阿Q說,他的回來,似乎也由於不滿意城裏人,這就在他們將長凳稱為條凳,而且煎魚用蔥絲,加以最近觀察所得的缺點,是女人的走路也扭得不很好。然而也偶有大可佩服的地方,即如未莊的鄉下人不過打三十二張的竹牌,只有假洋鬼子能夠叉“麻醬”,城裏卻連小烏龜子都叉得精熟的。什麼假洋鬼子,只要放在城裏的十幾歲的小烏龜子的手裏,也就立刻是“小鬼見閻王”。這一節,聽的人都赧然了。 +“你們可看見過殺頭麽?”阿Q說,“咳,好看。殺革命黨。唉,好看好看,……”他搖搖頭,將唾沫飛在正對面的趙司晨的臉上。這一節,聽的人都凜然了。但阿Q又四面一看,忽然揚起右手,照著伸長脖子聽得出神的王胡的後項窩上直劈下去道: +“嚓!” +王胡驚得一跳,同時電光石火似的趕快縮了頭,而聽的人又都悚然而且欣然了。從此王胡瘟頭瘟腦的許多日,並且再不敢走近阿Q的身邊;別的人也一樣。 +阿Q這時在未莊人眼睛裏的地位,雖不敢說超過趙太爺,但謂之差不多,大約也就沒有什麼語病的了。 +然而不多久,這阿Q的大名忽又傳遍了未莊的閨中。雖然未莊只有錢趙兩姓是大屋,此外十之九都是淺閨,但閨中究竟是閨中,所以也算得一件神異。女人們見面時一定說,鄒七嫂在阿Q那裏買了一條藍綢裙,舊固然是舊的,但只化了九角錢。還有趙白眼的母親,——一說是趙司晨的母親,待考,——也買了一件孩子穿的大紅洋紗衫,七成新,只用三百大錢九二串。於是伊們都眼巴巴的想見阿Q,缺綢裙的想問他買綢裙,要洋紗衫的想問他買洋紗衫,不但見了不逃避,有時阿Q已經走過了,也還要追上去叫住他,問道: +“阿Q,你還有綢裙麽?沒有?紗衫也要的,有罷?” +後來這終於從淺閨傳進深閨裏去了。因為鄒七嫂得意之餘,將伊的綢裙請趙太太去鑒賞,趙太太又告訴了趙太爺而且著實恭維了一番。趙太爺便在晚飯桌上,和秀才大爺討論,以為阿Q實在有些古怪,我們門窗應該小心些;但他的東西,不知道可還有什麼可買,也許有點好東西罷。加以趙太太也正想買一件價廉物美的皮背心。於是家族決議,便托鄒七嫂即刻去尋阿Q,而且為此新闢了第三種的例外:這晚上也姑且特准點油燈。 +油燈幹了不少了,阿Q還不到。趙府的全眷都很焦急,打著呵欠,或恨阿Q太飄忽,或怨鄒七嫂不上緊。趙太太還怕他因為春天的條件不敢來,而趙太爺以為不足慮:因為這是“我”去叫他的。果然,到底趙太爺有見識,阿Q終於跟著鄒七嫂進來了。“他只說沒有沒有,我說你自己當面說去,他還要說,我說……”鄒七嫂氣喘吁吁的走著說。 +“太爺!”阿Q似笑非笑的叫了一聲,在簷下站住了。 +“阿Q,聽說你在外面發財,”趙太爺踱開去,眼睛打量著他的全身,一面說。“那很好,那很好的。這個,……聽說你有些舊東西,……可以都拿來看一看,……這也並不是別的,因為我倒要……”“我對鄒七嫂說過了。都完了。”“完了?”趙太爺不覺失聲的說,“那裏會完得這樣快呢?”“那是朋友的,本來不多。他們買了些,……”“總該還有一點罷。”“現在,只剩了一張門幕了。”“就拿門幕來看看罷。”趙太太慌忙說。 +“那麼,明天拿來就是,”趙太爺卻不甚熱心了。“阿Q,你以後有什麼東西的時候,你儘先送來給我們看,……” +“價錢決不會比別家出得少!”秀才說。秀才娘子忙一瞥阿Q的臉,看他感動了沒有。 +“我要一件皮背心。”趙太太說。 +阿Q雖然答應著,卻懶洋洋的出去了,也不知道他是否放在心上。這使趙太爺很失望,氣憤而且擔心,至於停止了打呵欠。秀才對於阿Q的態度也很不平,於是說,這忘八蛋要提防,或者不如吩咐地保,不許他住在未莊。但趙太爺以為不然,說這也怕要結怨,況且做這路生意的大概是“老鷹不吃窩下食”,本村倒不必擔心的;只要自己夜裏警醒點就是了。秀才聽了這“庭訓”,非常之以為然,便即刻撤銷了驅逐阿Q的提議,而且叮囑鄒七嫂,請伊千萬不要向人提起這一段話。 +但第二日,鄒七嫂便將那藍裙去染了皂,又將阿Q可疑之點傳揚出去了,可是確沒有提起秀才要驅逐他這一節。然而這已經於阿Q很不利。最先,地保尋上門了,取了他的門幕去,阿Q說是趙太太要看的,而地保也不還並且要議定每月的孝敬錢。其次,是村人對於他的敬畏忽而變相了,雖然還不敢來放肆,卻很有遠避的神情,而這神情和先前的防他來“嚓”的時候又不同,頗混著“敬而遠之”的分子了。 +只有一班閑人們卻還要尋根究底的去探阿Q的底細。阿Q也並不諱飾,傲然的說出他的經驗來。從此他們纔知道,他不過是一個小腳色,不但不能上牆,並且不能進洞,只站在洞外接東西。有一夜,他剛纔接到一個包,正手再進去,不一會,只聽得裏面大嚷起來,他便趕緊跑,連夜爬出城,逃回未莊來了,從此不敢再去做。然而這故事卻於阿Q更不利,村人對於阿Q的“敬而遠之”者,本因為怕結怨,誰料他不過是一個不敢再偷的偷兒呢?這實在是“斯亦不足畏也矣”。 +第七章 革命[编辑] +宣統三年九月十四日——即阿Q將搭連賣給趙白眼的這一天——三更四點,有一隻大烏篷船到了趙府上的河埠頭。這船從黑魆魆中盪來,鄉下人睡得熟,都沒有知道;出去時將近黎明,卻很有幾個看見的了。據探頭探腦的調查來的結果,知道那竟是舉人老爺的船! +那船便將大不安載給了未莊,不到正午,全村的人心就很動搖。船的使命,趙家本來是很秘密的,但茶坊酒肆裏卻都說,革命黨要進城,舉人老爺到我們鄉下來逃難了。惟有鄒七嫂不以為然,說那不過是幾口破衣箱,舉人老爺想來寄存的,卻已被趙太爺回覆轉去。其實舉人老爺和趙秀才素不相能,在理本不能有“共患難”的情誼,況且鄒七嫂又和趙家是鄰居,見聞較為切近,所以大概該是伊對的。 +阿Q的耳朵裏,本來早聽到過革命黨這一句話,今年又親眼見過殺掉革命黨。但他有一種不知從那裏來的意見,以為革命黨便是造反,造反便是與他為難,所以一向是“深惡而痛絕之”的。殊不料這卻使百里聞名的舉人老爺有這樣怕,於是他未免也有些“神往”了,況且未莊的一群鳥男女的慌張的神情,也使阿Q更快意。 +“革命也好罷,”阿Q想,“革這夥媽媽的的命,太可惡!太可恨!……便是我,也要投降革命黨了。” +阿Q近來用度窘,大約略略有些不平;加以午間喝了兩碗空肚酒,愈加醉得快,一面想一面走,便又飄飄然起來。不知怎麼一來,忽而似乎革命黨便是自己,未莊人卻都是他的俘虜了。他得意之餘,禁不住大聲的嚷道: +“造反了!造反了!” +未莊人都用了驚懼的眼光對他看。這一種可憐的眼光,是阿Q從來沒有見過的,一見之下,又使他舒服得如六月裏喝了雪水。他更加高興的走而且喊道: +“好,……我要什麼就是什麼,我歡喜誰就是誰。得得,鏘鏘!悔不該,酒醉錯斬了鄭賢弟,悔不該,呀呀呀……得得,鏘鏘,得,鏘令鏘!我手執鋼鞭將你打……” +趙府上的兩位男人和兩個真本家,也正站在大門口論革命。阿Q沒有見,昂了頭直唱過去。“得得,……” +“老Q,”趙太爺怯怯的迎著低聲的叫。“鏘鏘,”阿Q料不到他的名字會和“老”字聯結起來,以為是一句別的話,與己無幹,只是唱。“得,鏘,鏘令鏘,鏘!”“老Q。”“悔不該……” +“阿Q!”秀才只得直呼其名了。 +阿Q這纔站住,歪著頭問道,“什麼?” +“老Q,…現在……”趙太爺卻又沒有話,“現在……發財麽?” +“發財?自然。要什麼就是什麼……” +“阿……Q哥,像我們這樣窮朋友是不要緊的……”趙白眼惴惴的說,似乎想探革命黨的口風。 +“窮朋友?你總比我有錢。”阿Q說著自去了。 +大家都憮然,沒有話。趙太爺父子回家,晚上商量到點燈。趙白眼回家,便從腰間扯下搭連來,交給他女人藏在箱底裏。 +阿Q飄飄然的飛了一通,回到土穀祠,酒已經醒透了。這晚上,管祠的老頭子也意外的和氣,請他喝茶;阿Q便向他要了兩個餅,吃完之後,又要了一支點過的四兩燭和一個樹燭臺,點起來,獨自躺在自己的小屋裏。他說不出的新鮮而且高興,燭火像元夜似的閃閃的跳,他的思想也迸跳起來了: +“造反?有趣,……來了一陣白盔白甲的革命黨,都拿著板刀,鋼鞭,炸彈,洋炮,三尖兩刃刀,鉤鐮槍,走過土穀祠,叫道,‘阿Q!同去同去!’於是一同去。…… +“這時未莊的一夥鳥男女纔好笑哩,跪下叫道,‘阿Q,饒命!’誰聽他!第一個該死的是小D和趙太爺,還有秀才,還有假洋鬼子,……留幾條麽?王胡本來還可留,但也不要了。…… +“東西,……直走進去打開箱子來:元寶,洋錢,洋紗衫,……秀才娘子的一張寧式床先搬到土穀祠,此外便擺了錢家的桌椅,——或者也就用趙家的罷。自己是不動手的了,叫小D來搬,要搬得快,搬得不快打嘴巴。…… +“趙司晨的妹子真醜。鄒七嫂的女兒過幾年再說。假洋鬼子的老婆會和沒有辮子的男人睡覺,嚇,不是好東西!秀才的老婆是眼胞上有疤的。……吳媽長久不見了,不知道在那裏,——可惜腳太大。” +阿Q沒有想得十分停當,已經發了鼾聲,四兩燭還只點去了小半寸,紅焰焰的光照著他張開的嘴。 +“荷荷!”阿Q忽而大叫起來,抬了頭倉皇的四顧,待到看見四兩燭,卻又倒頭睡去了。 +第二天他起得很遲,走出街上看時,樣樣都照舊。他也仍然肚餓,他想著,想不起什麼來;但他忽而似乎有了主意了,慢慢的跨開步,有意無意的走到靜修庵。 +庵和春天時節一樣靜,白的牆壁和漆黑的門。他想了一想,前去打門,一隻狗在裏面叫。他急急拾了幾塊斷磚,再上去較為用力的打,打到黑門上生出許多麻點的時候,纔聽得有人來開門。 +阿Q連忙捏好磚頭,擺開馬步,準備和黑狗來開戰。但庵門只開了一條縫,並無黑狗從中衝出,望進去只有一個老尼姑。 +“你又來什麼事?”伊大吃一驚的說。 +“革命了……你知道?……”阿Q說得很含糊。 +“革命革命,革過一革的,……你們要革得我們怎麼樣呢?”老尼姑兩眼通紅的說。 +“什麼?……”阿Q詫異了。 +“你不知道,他們已經來革過了!” +“誰?……”阿Q更其詫異了。 +“那秀才和洋鬼子!” +阿Q很出意外,不由的一錯愕;老尼姑見他失了銳氣,便飛速的關了門,阿Q再推時,牢不可開,再打時,沒有回答了。 +那還是上午的事。趙秀才消息靈,一知道革命黨已在夜間進城,便將辮子盤在頂上,一早去拜訪那歷來也不相能的錢洋鬼子。這是“咸與維新”的時候了,所以他們便談得很投機,立刻成了情投意合的同志,也相約去革命。他們想而又想,纔想出靜修庵裏有一塊“皇帝萬歲萬萬歲”的龍牌,是應該趕緊革掉的,於是又立刻同到庵裏去革命。因為老尼姑來阻擋,說了三句話,他們便將伊當作滿政府,在頭上很給了不少的棍子和栗鑿。尼姑待他們走後,定了神來檢點,龍牌固然已經碎在地上了,而且又不見了觀音娘娘座前的一個宣德爐。 +這事阿Q後來纔知道。他頗悔自己睡著,但也深怪他們不來招呼他。他又退一步想道: +“難道他們還沒有知道我已經投降了革命黨麽?” +第八章 不准革命[编辑] +未莊的人心日見其安靜了。據傳來的消息,知道革命黨雖然進了城,倒還沒有什麼大異樣。知縣大老爺還是原官,不過改稱了什麼,而且舉人老爺也做了什麼——這些名目,未莊人都說不明白——官,帶兵的也還是先前的老把總。只有一件可怕的事是另有幾個不好的革命黨夾在裏面搗亂,第二天便動手剪辮子,聽說那鄰村的航船七斤便著了道兒,弄得不像人樣子了。但這卻還不算大恐怖,因為未莊人本來少上城,即使偶有想進城的,也就立刻變了計,碰不著這危險。阿Q本也想進城去尋他的老朋友,一得這消息,也只得作罷了。 +但未莊也不能說是無改革。幾天之後,將辮子盤在頂上的逐漸增加起來了,早經說過,最先自然是茂才公,其次便是趙司晨和趙白眼,後來是阿Q。倘在夏天,大家將辮子盤在頭頂上或者打一個結,本不算什麼稀奇事,但現在是暮秋,所以這“秋行夏令”的情形,在盤辮家不能不說是萬分的英斷,而在未莊也不能說無關於改革了。 +趙司晨腦後空蕩盪的走來,看見的人大嚷說, +“豁,革命黨來了!” +阿Q聽到了很羡慕。他雖然早知道秀才盤辮的大新聞,但總沒有想到自己可以照樣做,現在看見趙司晨也如此,纔有了學樣的意思,定下實行的決心。他用一支竹筷將辮子盤在頭頂上,遲疑多時,這纔放膽的走去。 +他在街上走,人也看他,然而不說什麼話,阿Q當初很不快,後來便很不平。他近來很容易鬧脾氣了;其實他的生活,倒也並不比造反之前反艱難,人見他也客氣,店鋪也不說要現錢。而阿Q總覺得自己太失意:既然革了命,不應該只是這樣的。況且有一回看見小D,愈使他氣破肚皮了。 +小D也將辮子盤在頭頂上了,而且也居然用一支竹筷。阿Q萬料不到他也敢這樣做,自己也決不准他這樣做!小D是什麼東西呢?他很想即刻揪住他,拗斷他的竹筷,放下他的辮子,並且批他幾個嘴巴,聊且懲罰他忘了生辰八字,也敢來做革命黨的罪。但他終於饒放了,單是怒目而視的吐一口唾沫道“呸!” +這幾日裏,進城去的只有一個假洋鬼子。趙秀才本也想靠著寄存箱子的淵源,親身去拜訪舉人老爺的,但因為有剪辮的危險,所以也中止了。他寫了一封“黃傘格”的信,托假洋鬼子帶上城,而且托他給自己紹介紹介,去進自由黨。假洋鬼子回來時,向秀才討還了四塊洋錢,秀才便有一塊銀桃子掛在大襟上了;未莊人都驚服,說這是柿油黨的頂子,抵得一個翰林;趙太爺因此也驟然大闊,遠過於他兒子初雋秀才的時候,所以目空一切,見了阿Q,也就很有些不放在眼裏了。 +阿Q正在不平,又時時刻刻感著冷落,一聽得這銀桃子的傳說,他立即悟出自己之所以冷落的原因了:要革命,單說投降,是不行的;盤上辮子,也不行的;第一著仍然要和革命黨去結識。他生平所知道的革命黨只有兩個,城裏的一個早已“嚓”的殺掉了,現在只剩了一個假洋鬼子。他除卻趕緊去和假洋鬼子商量之外,再沒有別的道路了。 +錢府的大門正開著,阿Q便怯怯的躄進去。他一到裏面,很吃了驚,只見假洋鬼子正站在院子的中央,一身烏黑的大約是洋衣,身上也掛著一塊銀桃子,手裏是阿Q曾經領教過的棍子,已經留到一尺多長的辮子都拆開了披在肩背上,蓬頭散髮的像一個劉海仙。對面挺直的站著趙白眼和三個閑人,正在必恭必敬的聽說話。 +阿Q輕輕的走近了,站在趙白眼的背後,心裏想招呼,卻不知道怎麼說纔好:叫他假洋鬼子固然是不行的了,洋人也不妥,革命黨也不妥,或者就應該叫洋先生了罷。 +洋先生卻沒有見他,因為白著眼睛講得正起勁: +“我是性急的,所以我們見面,我總是說:洪哥!我們動手罷!他卻總說道No!——這是洋話,你們不懂的。否則早已成功了。然而這正是他做事小心的地方。他再三再四的請我上湖北,我還沒有肯。誰願意在這小縣城裏做事情。……” +“唔,……這個……”阿Q候他略停,終於用十二分的勇氣開口了,但不知道因為什麼,又並不叫他洋先生。 +聽著說話的四個人都吃驚的回顧他。洋先生也纔看見: +“什麼?” +“我……” +“出去!” +“我要投……” +“滾出去!”洋先生揚起哭喪棒來了。 +趙白眼和閑人們便都吆喝道:“先生叫你滾出去,你還不聽麽!” +阿Q將手向頭上一遮,不自覺的逃出門外;洋先生倒也沒有追。他快跑了六十多步,這纔慢慢的走,於是心裏便湧起了憂愁:洋先生不准他革命,他再沒有別的路;從此決不能望有白盔白甲的人來叫他,他所有的抱負,志向,希望,前程,全被一筆勾銷了。至於閑人們傳揚開去,給小D王胡等輩笑話,倒是還在其次的事。 +他似乎從來沒有經驗過這樣的無聊。他對於自己的盤辮子,仿佛也覺得無意味,要侮蔑;為報仇起見,很想立刻放下辮子來,但也沒有竟放。他遊到夜間,賒了兩碗酒,喝下肚去,漸漸的高興起來了,思想裏纔又出現白盔白甲的碎片。 +有一天,他照例的混到夜深,待酒店要關門,纔踱回土穀祠去。 +拍,吧~~! +他忽而聽得一種異樣的聲音,又不是爆竹。阿Q本來是愛看熱鬧,愛管閑事的,便在暗中直尋過去。似乎前面有些腳步聲;他正聽,猛然間一個人從對面逃來了。阿Q一看見,便趕緊翻身跟著逃。那人轉彎,阿Q也轉彎,那人站住了,阿Q也站住。他看後面並無什麼,看那人便是小D。 +“什麼?”阿Q不平起來了。 +“趙……趙家遭搶了!”小D氣喘吁吁的說。 +阿Q的心怦怦的跳了。小D說了便走;阿Q卻逃而又停的兩三回。但他究竟是做過“這路生意”,格外膽大,於是躄出路角,仔細的聽,似乎有些嚷嚷,又仔細的看,似乎許多白盔白甲的人,絡繹的將箱子抬出了,器具抬出了,秀才娘子的寧式床也抬出了,但是不分明,他還想上前,兩隻腳卻沒有動。 +這一夜沒有月,未莊在黑暗裏很寂靜,寂靜到像羲皇時候一般太平。阿Q站著看到自己發煩,也似乎還是先前一樣,在那裏來來往往的搬,箱子抬出了,器具抬出了,秀才娘子的寧式床也抬出了,……抬得他自己有些不信他的眼睛了。但他決計不再上前,卻回到自己的祠裏去了。 +土穀祠裏更漆黑;他關好大門,摸進自己的屋子裏。他躺了好一會,這纔定了神,而且發出關於自己的思想來:白盔白甲的人明明到了,並不來打招呼,搬了許多好東西,又沒有自己的份,——這全是假洋鬼子可惡,不准我造反,否則,這次何至於沒有我的份呢?阿Q越想越氣,終於禁不住滿心痛恨起來,毒毒的點一點頭:“不准我造反,只准你造反?媽媽的假洋鬼子,——好,你造反!造反是殺頭的罪名呵,我總要告一狀,看你抓進縣裏去殺頭,——滿門抄斬,——嚓!嚓!” +第九章 大團圓[编辑] +趙家遭搶之後,未莊人大抵很快意而且恐慌,阿Q也很快意而且恐慌。但四天之後,阿Q在半夜裏忽被抓進縣城裏去了。那時恰是暗夜,一隊兵,一隊團丁,一隊員警,五個偵探,悄悄地到了未莊,乘昏暗圍住土穀祠,正對門架好機關槍;然而阿Q不衝出。許多時沒有動靜,把總焦急起來了,懸了二十千的賞,纔有兩個團丁冒了險,逾垣進去,裏應外合,一擁而入,將阿Q抓出來;直待擒出祠外面的機關槍左近,他纔有些清醒了。 +到進城,已經是正午,阿Q見自己被攙進一所破衙門,轉了五六個彎,便推在一間小屋裏。他剛剛一蹌踉,那用整株的木料做成的柵欄門便跟著他的腳跟闔上了,其餘的三面都是牆壁,仔細看時,屋角上還有兩個人。 +阿Q雖然有些忐忑,卻並不很苦悶,因為他那土穀祠裏的臥室,也並沒有比這間屋子更高明。那兩個也仿佛是鄉下人,漸漸和他兜搭起來了,一個說是舉人老爺要追他祖父欠下來的陳租,一個不知道為了什麼事。他們問阿Q,阿Q爽利的答道,“因為我想造反。” +他下半天便又被抓出柵欄門去了,到得大堂,上面坐著一個滿頭剃得精光的老頭子。阿Q疑心他是和尚,但看見下麵站著一排兵,兩旁又站著十幾個長衫人物,也有滿頭剃得精光像這老頭子的,也有將一尺來長的頭髮披在背後像那假洋鬼子的,都是一臉橫肉,怒目而視的看他;他便知道這人一定有些來歷,膝關節立刻自然而然的寬鬆,便跪了下去了。 +“站著說!不要跪!”長衫人物都吆喝說。 +阿Q雖然似乎懂得,但總覺得站不住,身不由己的蹲了下去,而且終於趁勢改為跪下了。 +“奴隸性!……”長衫人物又鄙夷似的說,但也沒有叫他起來。 +“你從實招來罷,免得吃苦。我早都知道了。招了可以放你。”那光頭的老頭子看定了阿Q的臉,沉靜的清楚的說。 +“招罷!”長衫人物也大聲說。 +“我本來要……來投……”阿Q胡裏胡塗的想了一通,這纔斷斷續續的說。 +“那麼,為什麼不來的呢?”老頭子和氣的問。 +“假洋鬼子不准我!” +“胡說此刻說,也遲了。現在你的同黨在那裏?” +“什麼?…… +“那一晚打劫趙家的一夥人。” +“他們沒有來叫我。他們自己搬走了。”阿Q提起來便憤憤。 +“走到那裏去了呢?說出來便放你了。”老頭子更和氣了。 +“我不知道,……他們沒有來叫我……” +然而老頭子使了一個眼色,阿Q便又被抓進柵欄門裏了。他第二次抓出柵欄門,是第二天的上午。 +大堂的情形都照舊。上面仍然坐著光頭的老頭子,阿Q也仍然下了跪。 +老頭子和氣的問道,“你還有什麼話說麽?” +阿Q一想,沒有話,便回答說,“沒有。” +於是一個長衫人物拿了一張紙,並一支筆送到阿Q的面前,要將筆塞在他手裏。阿Q這時很吃驚,幾乎“魂飛魄散”了:因為他的手和筆相關,這回是初次。他正不知怎樣拿;那人卻又指著一處地方教他畫花押。 +“我……我……不認得字。”阿Q一把抓住了筆,惶恐而且慚愧的說。 +“那麼,便宜你,畫一個圓圈!” +阿Q要畫圓圈了,那手捏著筆卻只是抖。於是那人替他將紙鋪在地上,阿Q伏下去,使盡了平生的力氣畫圓圈。他生怕被人笑話,立志要畫得圓,但這可惡的筆不但很沉重,並且不聽話,剛剛一抖一抖的幾乎要合縫,卻又向外一聳,畫成瓜子模樣了。 +阿Q正羞愧自己畫得不圓,那人卻不計較,早已掣了紙筆去,許多人又將他第二次抓進柵欄門。 +他第二次進了柵欄,倒也並不十分懊惱。他以為人生天地之間,大約本來有時要抓進抓出,有時要在紙上畫圓圈的,惟有圈而不圓,卻是他“行狀”上的一個汙點。但不多時也就釋然了,他想:孫子纔畫得很圓的圓圈呢。於是他睡著了。 +然而這一夜,舉人老爺反而不能睡:他和把總嘔了氣了。舉人老爺主張第一要追贓,把總主張第一要示眾。把總近來很不將舉人老爺放在眼裏了,拍案打凳的說道,“懲一儆百!你看,我做革命黨還不上二十天,搶案就是十幾件,全不破案,我的面子在那裏?破了案,你又來迂。不成!這是我管的!”舉人老爺窘急了,然而還堅持,說是倘若不追贓,他便立刻辭了幫辦民政的職務。而把總卻道,“請便罷!”於是舉人老爺在這一夜竟沒有睡,但幸第二天倒也沒有辭。 +阿Q第三次抓出柵欄門的時候,便是舉人老爺睡不著的那一夜的明天的上午了。他到了大堂,上面還坐著照例的光頭老頭子;阿Q也照例的下了跪。 +老頭子很和氣的問道,“你還有什麼話麽?” +阿Q一想,沒有話,便回答說,“沒有。” +許多長衫和短衫人物,忽然給他穿上一件洋布的白背心,上面有些黑字。阿Q很氣苦:因為這很像是帶孝,而帶孝是晦氣的。然而同時他的兩手反縛了,同時又被一直抓出衙門外去了。 +阿Q被抬上了一輛沒有蓬的車,幾個短衣人物也和他同坐在一處。這車立刻走動了,前面是一班背著洋炮的兵們和團丁,兩旁是許多張著嘴的看客,後面怎樣,阿Q沒有見。但他突然覺到了:這豈不是去殺頭麽?他一急,兩眼發黑,耳朵裏喤的一聲,似乎發昏了。然而他又沒有全發昏,有時雖然著急,有時卻也泰然;他意思之間,似乎覺得人生天地間,大約本來有時也未免要殺頭的。 +他還認得路,於是有些詫異了:怎麼不向著法場走呢?他不知道這是在遊街,在示眾。但即使知道也一樣,他不過便以為人生天地間,大約本來有時也未免要遊街要示眾罷了 +他省悟了,這是繞到法場去的路,這一定是“嚓”的去殺頭。他惘惘的向左右看,全跟著馬蟻似的人,而在無意中,卻在路旁的人叢中發見了一個吳媽。很久違,伊原來在城裏做工了。阿Q忽然很羞愧自己沒志氣:竟沒有唱幾句戲。他的思想仿佛旋風似的在腦裏一迴旋:《小孤孀上墳》欠堂皇,《龍虎鬥》裏的“悔不該……”也太乏,還是“手執鋼鞭將你打”罷。他同時想手一揚,纔記得這兩手原來都捆著,於是“手執鋼鞭”也不唱了。 +“過了二十年又是一個……”阿Q在百忙中,“無師自通”的說出半句從來不說的話。 +“好!!!”從人叢裏,便發出豺狼的嗥叫一般的聲音來。 +車子不住的前行,阿Q在喝采聲中,輪轉眼睛去看吳媽,似乎伊一向並沒有見他,卻只是出神的看著兵們背上的洋炮。 +阿Q於是再看那些喝采的人們 +這剎那中,他的思想又仿佛旋風似的在腦裏一迴旋了。四年之前,他曾在山腳下遇見一隻餓狼,永是不近不遠的跟定他,要吃他的肉。他那時嚇得幾乎要死,幸而手裏有一柄斫柴刀,纔得仗這壯了膽,支持到未莊;可是永遠記得那狼眼睛,又凶又怯,閃閃的像兩顆鬼火,似乎遠遠的來穿透了他的皮肉。而這回他又看見從來沒有見過的更可怕的眼睛了,又鈍又鋒利,不但已經咀嚼了他的話,並且還要咀嚼他皮肉以外的東西,永是不近不遠的跟他走。 +這些睛們似乎連成一氣,已經在那裏咬他的靈魂。 +“救命,……” +然而阿Q沒有說。他早就兩眼發黑,耳朵裏嗡的一聲,覺得全身仿佛微塵似的迸散了。 +至於當時的影響,最大的倒反在舉人老爺,因為終於沒有追贓,他全家都號啕了。其次是趙府,非特秀才因為上城去報官,被不好的革命黨剪了辮子,而且又破費了二十千的賞錢,所以全家也號啕了。從這一天以來,他們便漸漸的都發生了遺老的氣味。 +至於輿論,在未莊是無異議,自然都說阿Q壞,被槍斃便是他的壞的證據:不壞又何至於被槍斃呢?而城裏的輿論卻不佳,他們多半不滿足,以為槍斃並無殺頭這般好看;而且那是怎樣的一個可笑的死囚呵,游了那麼久的街,竟沒有唱一句戲:他們白跟一趟了。 EOT; protected static $encoding = 'UTF-8'; diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/IbanTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/IbanTest.php index 12fe8e6d..197048e5 100644 --- a/vendor/fzaninotto/faker/test/Faker/Calculator/IbanTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Calculator/IbanTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Calculator; use Faker\Calculator\Iban; +use PHPUnit\Framework\TestCase; -class IbanTest extends \PHPUnit_Framework_TestCase +class IbanTest extends TestCase { public function checksumProvider() diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/InnTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/InnTest.php index 4dfb8802..71d9193f 100644 --- a/vendor/fzaninotto/faker/test/Faker/Calculator/InnTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Calculator/InnTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Calculator; use Faker\Calculator\Inn; +use PHPUnit\Framework\TestCase; -class InnTest extends \PHPUnit_Framework_TestCase +class InnTest extends TestCase { public function checksumProvider() diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/LuhnTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/LuhnTest.php index 9eb30b5d..2e814144 100644 --- a/vendor/fzaninotto/faker/test/Faker/Calculator/LuhnTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Calculator/LuhnTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Calculator; use Faker\Calculator\Luhn; +use PHPUnit\Framework\TestCase; -class LuhnTest extends \PHPUnit_Framework_TestCase +class LuhnTest extends TestCase { public function checkDigitProvider() diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/TCNoTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/TCNoTest.php new file mode 100644 index 00000000..9e40d794 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Calculator/TCNoTest.php @@ -0,0 +1,54 @@ +assertEquals($checksum, TCNo::checksum($tcNo), $tcNo); + } + + public function validatorProvider() + { + return array( + array('22978160678', true), + array('26480045324', true), + array('47278360658', true), + array('34285002510', true), + array('19874561012', true), + + array('11111111111', false), + array('11234567899', false), + ); + } + + /** + * @dataProvider validatorProvider + * @param $tcNo + * @param $isValid + */ + public function testIsValid($tcNo, $isValid) + { + $this->assertEquals($isValid, TCNo::isValid($tcNo), $tcNo); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/DefaultGeneratorTest.php b/vendor/fzaninotto/faker/test/Faker/DefaultGeneratorTest.php index 262243d1..fa9eb852 100644 --- a/vendor/fzaninotto/faker/test/Faker/DefaultGeneratorTest.php +++ b/vendor/fzaninotto/faker/test/Faker/DefaultGeneratorTest.php @@ -3,20 +3,21 @@ namespace Faker\Test; use Faker\DefaultGenerator; +use PHPUnit\Framework\TestCase; -class DefaultGeneratorTest extends \PHPUnit_Framework_TestCase +class DefaultGeneratorTest extends TestCase { public function testGeneratorReturnsNullByDefault() { $generator = new DefaultGenerator; - $this->assertSame(null, $generator->value); + $this->assertNull($generator->value); } public function testGeneratorReturnsDefaultValueForAnyPropertyGet() { $generator = new DefaultGenerator(123); $this->assertSame(123, $generator->foo); - $this->assertNotSame(null, $generator->bar); + $this->assertNotNull($generator->bar); } public function testGeneratorReturnsDefaultValueForAnyMethodCall() diff --git a/vendor/fzaninotto/faker/test/Faker/GeneratorTest.php b/vendor/fzaninotto/faker/test/Faker/GeneratorTest.php index e437292a..f15df441 100644 --- a/vendor/fzaninotto/faker/test/Faker/GeneratorTest.php +++ b/vendor/fzaninotto/faker/test/Faker/GeneratorTest.php @@ -3,8 +3,9 @@ namespace Faker\Test; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class GeneratorTest extends \PHPUnit_Framework_TestCase +class GeneratorTest extends TestCase { public function testAddProviderGivesPriorityToNewlyAddedProvider() { @@ -19,7 +20,7 @@ class GeneratorTest extends \PHPUnit_Framework_TestCase $generator = new Generator; $provider = new FooProvider(); $generator->addProvider($provider); - $this->assertTrue(is_callable($generator->getFormatter('fooFormatter'))); + $this->assertInternalType('callable', $generator->getFormatter('fooFormatter')); } public function testGetFormatterReturnsCorrectFormatter() diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/AddressTest.php index 5a5f66d4..c7f1814c 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider; use Faker\Generator; use Faker\Provider\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { private $faker; diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/BarcodeTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/BarcodeTest.php index 1373b2b5..16ca3cd8 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/BarcodeTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/BarcodeTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider; use Faker\Generator; use Faker\Provider\Barcode; +use PHPUnit\Framework\TestCase; -class BarcodeTest extends \PHPUnit_Framework_TestCase +class BarcodeTest extends TestCase { private $faker; diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/BaseTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/BaseTest.php index 313b0021..e619d5be 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/BaseTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/BaseTest.php @@ -3,33 +3,35 @@ namespace Faker\Test\Provider; use Faker\Provider\Base as BaseProvider; +use PHPUnit\Framework\TestCase; +use Traversable; -class BaseTest extends \PHPUnit_Framework_TestCase +class BaseTest extends TestCase { public function testRandomDigitReturnsInteger() { - $this->assertTrue(is_integer(BaseProvider::randomDigit())); + $this->assertInternalType('integer', BaseProvider::randomDigit()); } public function testRandomDigitReturnsDigit() { - $this->assertTrue(BaseProvider::randomDigit() >= 0); - $this->assertTrue(BaseProvider::randomDigit() < 10); + $this->assertGreaterThanOrEqual(0, BaseProvider::randomDigit()); + $this->assertLessThan(10, BaseProvider::randomDigit()); } public function testRandomDigitNotNullReturnsNotNullDigit() { - $this->assertTrue(BaseProvider::randomDigitNotNull() > 0); - $this->assertTrue(BaseProvider::randomDigitNotNull() < 10); + $this->assertGreaterThan(0, BaseProvider::randomDigitNotNull()); + $this->assertLessThan(10, BaseProvider::randomDigitNotNull()); } public function testRandomDigitNotReturnsValidDigit() { for ($i = 0; $i <= 9; $i++) { - $this->assertTrue(BaseProvider::randomDigitNot($i) >= 0); - $this->assertTrue(BaseProvider::randomDigitNot($i) < 10); - $this->assertTrue(BaseProvider::randomDigitNot($i) !== $i); + $this->assertGreaterThanOrEqual(0, BaseProvider::randomDigitNot($i)); + $this->assertLessThan(10, BaseProvider::randomDigitNot($i)); + $this->assertNotSame(BaseProvider::randomDigitNot($i), $i); } } @@ -51,14 +53,14 @@ class BaseTest extends \PHPUnit_Framework_TestCase public function testRandomNumberReturnsInteger() { - $this->assertTrue(is_integer(BaseProvider::randomNumber())); - $this->assertTrue(is_integer(BaseProvider::randomNumber(5, false))); + $this->assertInternalType('integer', BaseProvider::randomNumber()); + $this->assertInternalType('integer', BaseProvider::randomNumber(5, false)); } public function testRandomNumberReturnsDigit() { - $this->assertTrue(BaseProvider::randomNumber(3) >= 0); - $this->assertTrue(BaseProvider::randomNumber(3) < 1000); + $this->assertGreaterThanOrEqual(0, BaseProvider::randomNumber(3)); + $this->assertLessThan(1000, BaseProvider::randomNumber(3)); } public function testRandomNumberAcceptsStrictParamToEnforceNumberSize() @@ -98,7 +100,7 @@ class BaseTest extends \PHPUnit_Framework_TestCase public function testRandomLetterReturnsString() { - $this->assertTrue(is_string(BaseProvider::randomLetter())); + $this->assertInternalType('string', BaseProvider::randomLetter()); } public function testRandomLetterReturnsSingleLetter() @@ -109,12 +111,12 @@ class BaseTest extends \PHPUnit_Framework_TestCase public function testRandomLetterReturnsLowercaseLetter() { $lowercaseLetters = 'abcdefghijklmnopqrstuvwxyz'; - $this->assertTrue(strpos($lowercaseLetters, BaseProvider::randomLetter()) !== false); + $this->assertNotFalse(strpos($lowercaseLetters, BaseProvider::randomLetter())); } public function testRandomAsciiReturnsString() { - $this->assertTrue(is_string(BaseProvider::randomAscii())); + $this->assertInternalType('string', BaseProvider::randomAscii()); } public function testRandomAsciiReturnsSingleCharacter() @@ -125,7 +127,7 @@ class BaseTest extends \PHPUnit_Framework_TestCase public function testRandomAsciiReturnsAsciiCharacter() { $lowercaseLetters = '!"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'; - $this->assertTrue(strpos($lowercaseLetters, BaseProvider::randomAscii()) !== false); + $this->assertNotFalse(strpos($lowercaseLetters, BaseProvider::randomAscii())); } public function testRandomElementReturnsNullWhenArrayEmpty() @@ -133,6 +135,11 @@ class BaseTest extends \PHPUnit_Framework_TestCase $this->assertNull(BaseProvider::randomElement(array())); } + public function testRandomElementReturnsNullWhenCollectionEmpty() + { + $this->assertNull(BaseProvider::randomElement(new Collection(array()))); + } + public function testRandomElementReturnsElementFromArray() { $elements = array('23', 'e', 32, '#'); @@ -145,6 +152,12 @@ class BaseTest extends \PHPUnit_Framework_TestCase $this->assertContains(BaseProvider::randomElement($elements), $elements); } + public function testRandomElementReturnsElementFromCollection() + { + $collection = new Collection(array('one', 'two', 'three')); + $this->assertContains(BaseProvider::randomElement($collection), $collection); + } + public function testShuffleReturnsStringWhenPassedAStringArgument() { $this->assertInternalType('string', BaseProvider::shuffle('foo')); @@ -553,3 +566,7 @@ class BaseTest extends \PHPUnit_Framework_TestCase $this->assertContainsOnly('string', $allowDuplicates); } } + +class Collection extends \ArrayObject +{ +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/BiasedTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/BiasedTest.php index 1f7a99ac..cce3dc0a 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/BiasedTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/BiasedTest.php @@ -3,14 +3,15 @@ namespace Faker\Test\Provider; use Faker\Provider\Biased; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class BiasedTest extends \PHPUnit_Framework_TestCase +class BiasedTest extends TestCase { const MAX = 10; const NUMBERS = 25000; protected $generator; protected $results = array(); - + protected function setUp() { $this->generator = new Generator(); @@ -18,14 +19,14 @@ class BiasedTest extends \PHPUnit_Framework_TestCase $this->results = array_fill(1, self::MAX, 0); } - + public function performFake($function) { for($i = 0; $i < self::NUMBERS; $i++) { $this->results[$this->generator->biasedNumberBetween(1, self::MAX, $function)]++; } } - + public function testUnbiased() { $this->performFake(array('\Faker\Provider\Biased', 'unbiased')); @@ -40,7 +41,7 @@ class BiasedTest extends \PHPUnit_Framework_TestCase $this->assertLessThan(self::NUMBERS * $assumed * 1.05, $amount, "Value was more than 5 percent over the expected value"); } } - + public function testLinearHigh() { $this->performFake(array('\Faker\Provider\Biased', 'linearHigh')); @@ -54,7 +55,7 @@ class BiasedTest extends \PHPUnit_Framework_TestCase $this->assertLessThan(self::NUMBERS * $assumed * 1.1, $amount, "Value was more than 10 percent over the expected value"); } } - + public function testLinearLow() { $this->performFake(array('\Faker\Provider\Biased', 'linearLow')); diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ColorTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ColorTest.php index f73831b1..ff5edac2 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ColorTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ColorTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider; use Faker\Provider\Color; +use PHPUnit\Framework\TestCase; -class ColorTest extends \PHPUnit_Framework_TestCase +class ColorTest extends TestCase { public function testHexColor() diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/CompanyTest.php index ac26c5a0..28ce0eb4 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/CompanyTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider; use Faker\Generator; use Faker\Provider\Company; use Faker\Provider\Lorem; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/DateTimeTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/DateTimeTest.php index 91b17f81..ec3ad867 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/DateTimeTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/DateTimeTest.php @@ -3,27 +3,77 @@ namespace Faker\Test\Provider; use Faker\Provider\DateTime as DateTimeProvider; +use PHPUnit\Framework\TestCase; -class DateTimeTest extends \PHPUnit_Framework_TestCase +class DateTimeTest extends TestCase { public function setUp() { - $this->originalTz = date_default_timezone_get(); $this->defaultTz = 'UTC'; - date_default_timezone_set($this->defaultTz); + DateTimeProvider::setDefaultTimezone($this->defaultTz); } public function tearDown() { - date_default_timezone_set($this->originalTz); + DateTimeProvider::setDefaultTimezone(); + } + + public function testPreferDefaultTimezoneOverSystemTimezone() + { + /** + * Set the system timezone to something *other* than the timezone used + * in setUp(). + */ + $originalSystemTimezone = date_default_timezone_get(); + $systemTimezone = 'Antarctica/Vostok'; + date_default_timezone_set($systemTimezone); + + /** + * Get a new date/time value and assert that it prefers the default + * timezone over the system timezone. + */ + $date = DateTimeProvider::dateTime(); + $this->assertNotSame($systemTimezone, $date->getTimezone()->getName()); + $this->assertSame($this->defaultTz, $date->getTimezone()->getName()); + + /** + * Restore the system timezone. + */ + date_default_timezone_set($originalSystemTimezone); + } + + public function testUseSystemTimezoneWhenDefaultTimezoneIsNotSet() + { + /** + * Set the system timezone to something *other* than the timezone used + * in setUp() *and* reset the default timezone. + */ + $originalSystemTimezone = date_default_timezone_get(); + $originalDefaultTimezone = DateTimeProvider::getDefaultTimezone(); + $systemTimezone = 'Antarctica/Vostok'; + date_default_timezone_set($systemTimezone); + DateTimeProvider::setDefaultTimezone(); + + /** + * Get a new date/time value and assert that it uses the system timezone + * and not the system timezone. + */ + $date = DateTimeProvider::dateTime(); + $this->assertSame($systemTimezone, $date->getTimezone()->getName()); + $this->assertNotSame($this->defaultTz, $date->getTimezone()->getName()); + + /** + * Restore the system timezone. + */ + date_default_timezone_set($originalSystemTimezone); } public function testUnixTime() { $timestamp = DateTimeProvider::unixTime(); $this->assertInternalType('int', $timestamp); - $this->assertTrue($timestamp >= 0); - $this->assertTrue($timestamp <= time()); + $this->assertGreaterThanOrEqual(0, $timestamp); + $this->assertLessThanOrEqual(time(), $timestamp); } public function testDateTime() @@ -186,7 +236,7 @@ class DateTimeTest extends \PHPUnit_Framework_TestCase public function testFixedSeedWithMaximumTimestamp() { - $max = '2018-03-01 12:00:00'; + $max = '2118-03-01 12:00:00'; mt_srand(1); $unixTime = DateTimeProvider::unixTime($max); diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/HtmlLoremTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/HtmlLoremTest.php index f40e0a28..f7814faf 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/HtmlLoremTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/HtmlLoremTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider; use Faker\Generator; use Faker\Provider\HtmlLorem; +use PHPUnit\Framework\TestCase; -class HtmlLoremTest extends \PHPUnit_Framework_TestCase +class HtmlLoremTest extends TestCase { public function testProvider() diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ImageTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ImageTest.php index 12109d19..c73992ce 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ImageTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ImageTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider; use Faker\Provider\Image; +use PHPUnit\Framework\TestCase; -class ImageTest extends \PHPUnit_Framework_TestCase +class ImageTest extends TestCase { public function testImageUrlUses640x680AsTheDefaultSize() { @@ -45,7 +46,7 @@ class ImageTest extends \PHPUnit_Framework_TestCase public function testDownloadWithDefaults() { - $url = "http://www.lorempixel.com/"; + $url = "http://lorempixel.com/"; $curlPing = curl_init($url); curl_setopt($curlPing, CURLOPT_TIMEOUT, 5); curl_setopt($curlPing, CURLOPT_CONNECTTIMEOUT, 5); diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/InternetTest.php index 11ad2c6e..93fe7b48 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/InternetTest.php @@ -7,8 +7,9 @@ use Faker\Provider\Company; use Faker\Provider\Internet; use Faker\Provider\Lorem; use Faker\Provider\Person; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/LocalizationTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/LocalizationTest.php index 347b1351..6cfcc891 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/LocalizationTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/LocalizationTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider; use Faker\Factory; +use PHPUnit\Framework\TestCase; -class LocalizationTest extends \PHPUnit_Framework_TestCase +class LocalizationTest extends TestCase { public function testLocalizedNameProvidersDoNotThrowErrors() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/LoremTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/LoremTest.php index 62785d43..16d98891 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/LoremTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/LoremTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider; use Faker\Provider\Lorem; +use PHPUnit\Framework\TestCase; -class LoremTest extends \PHPUnit_Framework_TestCase +class LoremTest extends TestCase { /** * @expectedException \InvalidArgumentException diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/MiscellaneousTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/MiscellaneousTest.php index 8e39eb2c..6a29cd55 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/MiscellaneousTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/MiscellaneousTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider; use Faker\Provider\Miscellaneous; +use PHPUnit\Framework\TestCase; -class MiscellaneousTest extends \PHPUnit_Framework_TestCase +class MiscellaneousTest extends TestCase { public function testBoolean() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/PaymentTest.php index 773b7227..966b9d63 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/PaymentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/PaymentTest.php @@ -9,8 +9,9 @@ use Faker\Provider\Base as BaseProvider; use Faker\Provider\DateTime as DateTimeProvider; use Faker\Provider\Payment as PaymentProvider; use Faker\Provider\Person as PersonProvider; +use PHPUnit\Framework\TestCase; -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { private $faker; @@ -47,14 +48,15 @@ class PaymentTest extends \PHPUnit_Framework_TestCase public function testCreditCardTypeReturnsValidVendorName() { - $this->assertTrue(in_array($this->faker->creditCardType, array('Visa', 'MasterCard', 'American Express', 'Discover Card'))); + $this->assertContains($this->faker->creditCardType, array('Visa', 'Visa Retired', 'MasterCard', 'American Express', 'Discover Card')); } public function creditCardNumberProvider() { return array( array('Discover Card', '/^6011\d{12}$/'), - array('Visa', '/^4\d{12,15}$/'), + array('Visa', '/^4\d{15}$/'), + array('Visa Retired', '/^4\d{12}$/'), array('MasterCard', '/^(5[1-5]|2[2-7])\d{14}$/') ); } diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/PersonTest.php index a8d1c0f2..f53076f7 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider; use Faker\Provider\Person; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** * @dataProvider firstNameProvider diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/PhoneNumberTest.php index f73bda88..520ecea3 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/PhoneNumberTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider; use Faker\Generator; use Faker\Calculator\Luhn; use Faker\Provider\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php index 7fa046ba..61d7d63a 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php @@ -6,6 +6,7 @@ namespace Faker\Test\Provider; use Faker; +use PHPUnit\Framework\TestCase; /** * Class ProviderOverrideTest @@ -16,7 +17,7 @@ use Faker; * locale specific provider (can) has specific implementations. The goal of this test is to test the common denominator * and to try to catch possible invalid multi-byte sequences. */ -class ProviderOverrideTest extends \PHPUnit_Framework_TestCase +class ProviderOverrideTest extends TestCase { /** * Constants with regular expression patterns for testing the output. diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/TextTest.php index 3baf49f3..a43d8d43 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/TextTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/TextTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider; use Faker\Provider\en_US\Text; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class TextTest extends \PHPUnit_Framework_TestCase +class TextTest extends TestCase { public function testTextMaxLength() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/UserAgentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/UserAgentTest.php index b45b9f86..5ba2459c 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/UserAgentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/UserAgentTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider; use Faker\Provider\UserAgent; +use PHPUnit\Framework\TestCase; -class UserAgentTest extends \PHPUnit_Framework_TestCase +class UserAgentTest extends TestCase { public function testRandomUserAgent() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/UuidTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/UuidTest.php index 22f9efb7..5c639cac 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/UuidTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/UuidTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider; use Faker\Generator; use Faker\Provider\Uuid as BaseProvider; +use PHPUnit\Framework\TestCase; -class UuidTest extends \PHPUnit_Framework_TestCase +class UuidTest extends TestCase { public function testUuidReturnsUuid() { @@ -15,6 +16,9 @@ class UuidTest extends \PHPUnit_Framework_TestCase public function testUuidExpectedSeed() { + if (pack('L', 0x6162797A) == pack('N', 0x6162797A)) { + $this->markTestSkipped('Big Endian'); + } $faker = new Generator(); $faker->seed(123); $this->assertEquals("8e2e0c84-50dd-367c-9e66-f3ab455c78d6", BaseProvider::uuid()); diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ar_JO/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ar_JO/InternetTest.php index d323f1e7..33d70c43 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ar_JO/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ar_JO/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\fi_FI\Person; use Faker\Provider\fi_FI\Internet; use Faker\Provider\fi_FI\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ar_SA/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ar_SA/InternetTest.php index 3765a107..8059f000 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ar_SA/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ar_SA/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\ar_SA\Person; use Faker\Provider\ar_SA\Internet; use Faker\Provider\ar_SA\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/at_AT/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/at_AT/PaymentTest.php index afc8c27b..f62dae81 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/at_AT/PaymentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/at_AT/PaymentTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\at_AT; use Faker\Generator; use Faker\Provider\at_AT\Payment; +use PHPUnit\Framework\TestCase; -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/bg_BG/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/bg_BG/PaymentTest.php index 31c6325c..b5645f9b 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/bg_BG/PaymentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/bg_BG/PaymentTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\bg_BG; use Faker\Generator; use Faker\Provider\bg_BG\Payment; +use PHPUnit\Framework\TestCase; -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/bn_BD/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/bn_BD/PersonTest.php index 606599ff..e82fe8b7 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/bn_BD/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/bn_BD/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\bn_BD; use Faker\Generator; use Faker\Provider\bn_BD\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function setUp() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/cs_CZ/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/cs_CZ/PersonTest.php index 40023cfe..0b198725 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/cs_CZ/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/cs_CZ/PersonTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\cs_CZ; use Faker\Generator; use Faker\Provider\cs_CZ\Person; use Faker\Provider\Miscellaneous; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function testBirthNumber() { @@ -14,7 +15,7 @@ class PersonTest extends \PHPUnit_Framework_TestCase $faker->addProvider(new Person($faker)); $faker->addProvider(new Miscellaneous($faker)); - for ($i = 0; $i < 1000; $i++) { + for ($i = 0; $i < 1000; $i++) { $birthNumber = $faker->birthNumber(); $birthNumber = str_replace('/', '', $birthNumber); diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/da_DK/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/da_DK/InternetTest.php index ddbdd7af..43c09be4 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/da_DK/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/da_DK/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\da_DK\Person; use Faker\Provider\da_DK\Internet; use Faker\Provider\da_DK\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/InternetTest.php index 91ce5ca5..1d778eea 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\de_AT\Person; use Faker\Provider\de_AT\Internet; use Faker\Provider\de_AT\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/PhoneNumberTest.php index 2d61ad5e..7cc6e6b1 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\de_AT; use Faker\Generator; use Faker\Provider\de_AT\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/AddressTest.php index 2f2de276..668f2117 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/AddressTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\de_CH; use Faker\Generator; use Faker\Provider\de_CH\Address; use Faker\Provider\de_CH\Person; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/InternetTest.php index 907af210..31dcc552 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\de_CH\Person; use Faker\Provider\de_CH\Internet; use Faker\Provider\de_CH\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/PhoneNumberTest.php index 0c5f9379..5102297c 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\de_CH; use Faker\Generator; use Faker\Provider\de_CH\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_DE/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_DE/InternetTest.php index 8d39ff08..a15f3664 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/de_DE/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/de_DE/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\de_DE\Person; use Faker\Provider\de_DE\Internet; use Faker\Provider\de_DE\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/el_GR/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/el_GR/TextTest.php new file mode 100644 index 00000000..3f03dd3a --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/el_GR/TextTest.php @@ -0,0 +1,57 @@ +textClass = new \ReflectionClass('Faker\Provider\el_GR\Text'); + } + + protected function getMethod($name) { + $method = $this->textClass->getMethod($name); + + $method->setAccessible(true); + + return $method; + } + + /** @test */ + function testItShouldAppendEndPunctToTheEndOfString() + { + $this->assertSame( + 'Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ ')) + ); + + $this->assertSame( + 'Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ—')) + ); + + $this->assertSame( + 'Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ,')) + ); + + $this->assertSame( + 'Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ!.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ! ')) + ); + + $this->assertSame( + 'Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ; ')) + ); + + $this->assertSame( + 'Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Και δεν άκουσες το κλοπακλόπ, κλοπακλόπ, κλοπακλόπ: ')) + ); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_AU/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_AU/AddressTest.php index ef8e9f2e..b2f72e8b 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_AU/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_AU/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Provider\en_AU; use Faker\Generator; use Faker\Provider\en_AU\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_CA/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_CA/AddressTest.php index fb17c09f..6b1ece72 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_CA/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_CA/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Provider\en_CA; use Faker\Generator; use Faker\Provider\en_CA\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_GB/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_GB/AddressTest.php index 0bad562e..762e11a8 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_GB/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_GB/AddressTest.php @@ -3,8 +3,9 @@ namespace Faker\Provider\en_GB; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_IN/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_IN/AddressTest.php index a5e965b2..125cbdf0 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_IN/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_IN/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Provider\en_IN; use Faker\Generator; use Faker\Provider\en_IN\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/AddressTest.php index 912de541..27c591b7 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Provider\ng_NG; use Faker\Generator; use Faker\Provider\en_NG\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** @@ -53,4 +54,4 @@ class AddressTest extends \PHPUnit_Framework_TestCase $this->assertInternalType('string', $region); } -} \ No newline at end of file +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/InternetTest.php index fd1a0e76..6ebc620f 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/InternetTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\ng_NG; use Faker\Generator; use Faker\Provider\en_NG\Person; use Faker\Provider\en_NG\Internet; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PersonTest.php index 50760a43..2180e36e 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\ng_NG; use Faker\Generator; use Faker\Provider\en_NG\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PhoneNumberTest.php index a8997e6c..c591b8ab 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\ng_NG; use Faker\Generator; use Faker\Provider\en_NG\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { public function setUp() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NZ/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NZ/PhoneNumberTest.php index f8a8f6cf..14b145c7 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NZ/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_NZ/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_NZ; use Faker\Generator; use Faker\Provider\en_NZ\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_PH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_PH/AddressTest.php index d3b4682b..19367a49 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_PH/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_PH/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_PH; use Faker\Generator; use Faker\Provider\en_PH\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/AddressTest.php index a62e1c6d..abc62aac 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_SG; use Faker\Factory; use Faker\Provider\en_SG\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { public function setUp() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/PhoneNumberTest.php index 9b72d14a..c8bb13f8 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_SG; use Faker\Factory; use Faker\Provider\en_SG\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { private $faker; diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_UG/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_UG/AddressTest.php index 484b125b..571d93fb 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_UG/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_UG/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_UG; use Faker\Generator; use Faker\Provider\en_UG\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/CompanyTest.php new file mode 100644 index 00000000..735d8339 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/CompanyTest.php @@ -0,0 +1,33 @@ +addProvider(new Company($faker)); + $this->faker = $faker; + } + + /** + * @link https://stackoverflow.com/questions/4242433/regex-for-ein-number-and-ssn-number-format-in-jquery/35471665#35471665 + */ + public function testEin() + { + $number = $this->faker->ein; + + // should be in the format ##-#######, with a valid prefix + $this->assertRegExp('/^(0[1-6]||1[0-6]|2[0-7]|[35]\d|[468][0-8]|7[1-7]|9[0-58-9])-\d{7}$/', $number); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PaymentTest.php index d17593fe..ec82691b 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PaymentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PaymentTest.php @@ -4,8 +4,9 @@ namespace Faker\Provider\en_US; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PersonTest.php index 544a7b38..3ddb38b2 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_US; use Faker\Provider\en_US\Person; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PhoneNumberTest.php index ae2951a5..a54ff882 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_US; use Faker\Generator; use Faker\Provider\en_US\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/CompanyTest.php index 678a3886..0e51d492 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/CompanyTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_ZA; use Faker\Generator; use Faker\Provider\en_ZA\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { private $faker; @@ -23,4 +24,4 @@ class CompanyTest extends \PHPUnit_Framework_TestCase $this->assertEquals(14, strlen($companyRegNo)); $this->assertRegExp('#^\d{4}/\d{6}/\d{2}$#', $companyRegNo); } -} \ No newline at end of file +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/InternetTest.php index 7edd63f9..02c29404 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\en_ZA\Person; use Faker\Provider\en_ZA\Internet; use Faker\Provider\en_ZA\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PersonTest.php index 557ec8fc..d7973e72 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PersonTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\en_ZA; use Faker\Generator; use Faker\Provider\en_ZA\Person; use Faker\Provider\DateTime; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { private $faker; @@ -44,4 +45,25 @@ class PersonTest extends \PHPUnit_Framework_TestCase $this->assertContains($genderDigit, array('0', '1', '2', '3', '4')); } + + public function testLicenceCode() + { + $validLicenceCodes = array('A', 'A1', 'B', 'C', 'C1', 'C2', 'EB', 'EC', 'EC1', 'I', 'L', 'L1'); + + $this->assertContains($this->faker->licenceCode, $validLicenceCodes); + } + + public function testMaleTitles() + { + $validMaleTitles = array('Mr.', 'Dr.', 'Prof.', 'Rev.', 'Hon.'); + + $this->assertContains(Person::titleMale(), $validMaleTitles); + } + + public function testFemaleTitles() + { + $validateFemaleTitles = array('Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.', 'Rev.', 'Hon.'); + + $this->assertContains(Person::titleFemale(), $validateFemaleTitles); + } } diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PhoneNumberTest.php index bfb516a4..37b781b5 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\en_ZA; use Faker\Generator; use Faker\Provider\en_ZA\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { private $faker; @@ -62,4 +63,4 @@ class PhoneNumberTest extends \PHPUnit_Framework_TestCase $this->assertRegExp('/^(\+27|27)?(\()?0?([6][0-4]|[7][1-9]|[8][1-9])(\))?( |-|\.|_)?(\d{3})( |-|\.|_)?(\d{4})/', $number); } } -} \ No newline at end of file +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PaymentTest.php index 344ce236..e636544b 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PaymentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PaymentTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\es_ES; use Faker\Generator; use Faker\Provider\es_ES\Payment; +use PHPUnit\Framework\TestCase; -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PersonTest.php index 55360bac..e29f3f90 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\es_ES; use Faker\Generator; use Faker\Provider\es_ES\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function setUp() { @@ -35,4 +36,11 @@ class PersonTest extends \PHPUnit_Framework_TestCase return strtoupper($letter) === $map[((int) $number) % 23]; } + + public function testLicenceCode() + { + $validLicenceCodes = array('AM', 'A1', 'A2', 'A','B', 'B+E', 'C1', 'C1+E', 'C', 'C+E', 'D1', 'D1+E', 'D', 'D+E'); + + $this->assertContains($this->faker->licenceCode, $validLicenceCodes); + } } diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/TextTest.php index 75bfee5f..a8ae3486 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/TextTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/TextTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\es_ES; use Faker\Generator; use Faker\Provider\es_ES\Text; +use PHPUnit\Framework\TestCase; -class TextTest extends \PHPUnit_Framework_TestCase +class TextTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_PE/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_PE/PersonTest.php index 666ed2bf..60149387 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/es_PE/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/es_PE/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\es_PE; use Faker\Generator; use Faker\Provider\es_PE\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/CompanyTest.php new file mode 100644 index 00000000..3c9b162a --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/CompanyTest.php @@ -0,0 +1,43 @@ + for Faker + * Date: 01/09/2017 + * Time: 09:45 PM + */ + +namespace Faker\Test\Provider\es_VE; + +use Faker\Generator; +use Faker\Provider\es_VE\Company; +use PHPUnit\Framework\TestCase; + +class CompanyTest extends TestCase +{ + /** + * @var Generator + */ + private $faker; + + public function setUp() + { + $faker = new Generator(); + $faker->seed(1); + $faker->addProvider(new Company($faker)); + $this->faker = $faker; + } + + /** + * national Id format validator + */ + public function testNationalId() + { + $pattern = '/^[VJGECP]-?\d{8}-?\d$/'; + $rif = $this->faker->taxpayerIdentificationNumber; + $this->assertRegExp($pattern, $rif); + + $rif = $this->faker->taxpayerIdentificationNumber('-'); + $this->assertRegExp($pattern, $rif); + } + + +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/PersonTest.php new file mode 100644 index 00000000..bb42cd75 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/PersonTest.php @@ -0,0 +1,43 @@ +seed(1); + $faker->addProvider(new Person($faker)); + $this->faker = $faker; + } + + /** + * national Id format validator + */ + public function testNationalId() + { + $pattern = '/(?:^V-?\d{5,9}$)|(?:^E-?\d{8,9}$)/'; + + $cedula = $this->faker->nationalId; + $this->assertRegExp($pattern, $cedula); + + $cedula = $this->faker->nationalId('-'); + $this->assertRegExp($pattern, $cedula); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/InternetTest.php index 3f0e5067..6009bbd1 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\fi_FI\Person; use Faker\Provider\fi_FI\Internet; use Faker\Provider\fi_FI\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/PersonTest.php index 6c77097e..b979666e 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/PersonTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\fi_FI; use Faker\Generator; use Faker\Provider\DateTime; use Faker\Provider\fi_FI\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** @var Generator */ protected $faker; @@ -43,18 +44,25 @@ class PersonTest extends \PHPUnit_Framework_TestCase public function testPersonalIdentityNumberGeneratesCompliantNumbers() { - for ($i = 0; $i < 10; $i++) { - $birthdate = $this->faker->dateTimeBetween('1800-01-01 00:00:00', '1899-12-31 23:59:59'); - $pin = $this->faker->personalIdentityNumber($birthdate); - $this->assertRegExp('/^[0-9]{6}\+[0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/', $pin); + if (strtotime('1800-01-01 00:00:00')) { + $min="1900"; + $max="2099"; + for ($i = 0; $i < 10; $i++) { + $birthdate = $this->faker->dateTimeBetween('1800-01-01 00:00:00', '1899-12-31 23:59:59'); + $pin = $this->faker->personalIdentityNumber($birthdate, NULL, true); + $this->assertRegExp('/^[0-9]{6}\+[0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/', $pin); + } + } else { // timestamp limit for 32-bit computer + $min="1902"; + $max="2037"; } for ($i = 0; $i < 10; $i++) { - $birthdate = $this->faker->dateTimeBetween('1900-01-01 00:00:00', '1999-12-31 23:59:59'); + $birthdate = $this->faker->dateTimeBetween("$min-01-01 00:00:00", '1999-12-31 23:59:59'); $pin = $this->faker->personalIdentityNumber($birthdate); $this->assertRegExp('/^[0-9]{6}-[0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/', $pin); } for ($i = 0; $i < 10; $i++) { - $birthdate = $this->faker->dateTimeBetween('2000-01-01 00:00:00', '2099-12-31 23:59:59'); + $birthdate = $this->faker->dateTimeBetween('2000-01-01 00:00:00', "$max-12-31 23:59:59"); $pin = $this->faker->personalIdentityNumber($birthdate); $this->assertRegExp('/^[0-9]{6}A[0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/', $pin); } diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_BE/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_BE/PaymentTest.php index 46c1cd77..6944c55f 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_BE/PaymentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_BE/PaymentTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\fr_BE; use Faker\Generator; use Faker\Provider\fr_BE\Payment; +use PHPUnit\Framework\TestCase; -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/AddressTest.php index f589c1f8..217ac9f6 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/AddressTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\fr_CH; use Faker\Generator; use Faker\Provider\fr_CH\Address; use Faker\Provider\fr_CH\Person; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/InternetTest.php index 2f20871a..f4e94848 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\fr_CH\Person; use Faker\Provider\fr_CH\Internet; use Faker\Provider\fr_CH\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/PhoneNumberTest.php index 1f3fc20f..7bfcca76 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\fr_CH; use Faker\Generator; use Faker\Provider\fr_CH\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/AddressTest.php new file mode 100644 index 00000000..50b40f4b --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/AddressTest.php @@ -0,0 +1,33 @@ +addProvider(new Address($faker)); + $this->faker = $faker; + } + + /** + * @test + */ + public function testSecondaryAddress() + { + $secondaryAdress = $this->faker->secondaryAddress(); + $this->assertNotEmpty($secondaryAdress); + $this->assertInternalType('string', $secondaryAdress); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/CompanyTest.php index 5486cf9d..83e54d92 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/CompanyTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\fr_FR; use Faker\Calculator\Luhn; use Faker\Generator; use Faker\Provider\fr_FR\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { private $faker; diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PaymentTest.php new file mode 100644 index 00000000..d00a7c83 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PaymentTest.php @@ -0,0 +1,49 @@ +addProvider(new Payment($faker)); + $this->faker = $faker; + } + + public function testFormattedVat() + { + $vat = $this->faker->vat(true); + $this->assertRegExp("/^FR\s\w{2}\s\d{3}\s\d{3}\s\d{3}$/", $vat); + + $vat = str_replace(' ', '', $vat); + $siren = substr($vat, 4, 12); + $this->assertTrue(Luhn::isValid($siren)); + + $key = (int) substr($siren, 2, 2); + if ($key === 0) { + $this->assertEqual($key, (12 + 3 * ($siren % 97)) % 97); + } + } + + public function testUnformattedVat() + { + $vat = $this->faker->vat(false); + $this->assertRegExp("/^FR\w{2}\d{9}$/", $vat); + + $siren = substr($vat, 4, 12); + $this->assertTrue(Luhn::isValid($siren)); + + $key = (int) substr($siren, 2, 2); + if ($key === 0) { + $this->assertEqual($key, (12 + 3 * ($siren % 97)) % 97); + } + } +} \ No newline at end of file diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PersonTest.php index b5bc8056..8c5fc654 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\fr_FR; use Faker\Generator; use Faker\Provider\fr_FR\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { private $faker; @@ -21,13 +22,13 @@ class PersonTest extends \PHPUnit_Framework_TestCase $nir = $this->faker->nir(\Faker\Provider\Person::GENDER_MALE); $this->assertStringStartsWith('1', $nir); } - + public function testNIRReturnsTheRightPattern() { $nir = $this->faker->nir; $this->assertRegExp("/^[12]\d{5}[0-9A-B]\d{8}$/", $nir); } - + public function testNIRFormattedReturnsTheRightPattern() { $nir = $this->faker->nir(null, true); diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PhoneNumberTest.php new file mode 100644 index 00000000..d4179709 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PhoneNumberTest.php @@ -0,0 +1,57 @@ +addProvider(new PhoneNumber($faker)); + $this->faker = $faker; + } + + public function testMobileNumber() + { + $mobileNumber = $this->faker->mobileNumber(); + $this->assertRegExp('/^(\+33 |\+33 \(0\)|0)(6|7)(?:(\s{1})?\d{2}){4}$/', $mobileNumber); + } + + public function testMobileNumber07Format() + { + $mobileNumberFormat = $this->faker->phoneNumber07(); + $this->assertRegExp('/^([3-9]{1})\d(\d{2}){3}$/', $mobileNumberFormat); + } + + public function testMobileNumber07WithSeparatorFormat() + { + $mobileNumberFormat = $this->faker->phoneNumber07WithSeparator(); + $this->assertRegExp('/^([3-9]{1})\d( \d{2}){3}$/', $mobileNumberFormat); + } + + public function testServiceNumber() + { + $serviceNumber = $this->faker->serviceNumber(); + $this->assertRegExp('/^(\+33 |\+33 \(0\)|0)8(?:(\s{1})?\d{2}){4}$/', $serviceNumber); + } + + public function testServiceNumberFormat() + { + $serviceNumberFormat = $this->faker->phoneNumber08(); + $this->assertRegExp('/^((0|1|2)\d{1}|9[^46])\d{6}$/', $serviceNumberFormat); + } + + public function testServiceNumberWithSeparatorFormat() + { + $serviceNumberFormat = $this->faker->phoneNumber08WithSeparator(); + $this->assertRegExp('/^((0|1|2)\d{1}|9[^46])( \d{2}){3}$/', $serviceNumberFormat); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/TextTest.php new file mode 100644 index 00000000..c9c7a4ff --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/TextTest.php @@ -0,0 +1,57 @@ +textClass = new \ReflectionClass('Faker\Provider\fr_FR\Text'); + } + + protected function getMethod($name) { + $method = $this->textClass->getMethod($name); + + $method->setAccessible(true); + + return $method; + } + + /** @test */ + function testItShouldAppendEndPunctToTheEndOfString() + { + $this->assertSame( + 'Que faisaient-elles maintenant? À.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Que faisaient-elles maintenant? À ')) + ); + + $this->assertSame( + 'Que faisaient-elles maintenant? À.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Que faisaient-elles maintenant? À— ')) + ); + + $this->assertSame( + 'Que faisaient-elles maintenant? À.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Que faisaient-elles maintenant? À,')) + ); + + $this->assertSame( + 'Que faisaient-elles maintenant? À!.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Que faisaient-elles maintenant? À! ')) + ); + + $this->assertSame( + 'Que faisaient-elles maintenant? À.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Que faisaient-elles maintenant? À: ')) + ); + + $this->assertSame( + 'Que faisaient-elles maintenant? À.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Que faisaient-elles maintenant? À; ')) + ); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/id_ID/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/id_ID/PersonTest.php index abd039f0..5ebfeee4 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/id_ID/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/id_ID/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\id_ID; use Faker\Generator; use Faker\Provider\id_ID\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function setUp() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/AddressTest.php index 76122532..0f0df5e9 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/AddressTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\it_CH; use Faker\Generator; use Faker\Provider\it_CH\Address; use Faker\Provider\it_CH\Person; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/InternetTest.php index 16616c70..d46f6b7d 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/InternetTest.php @@ -6,8 +6,9 @@ use Faker\Generator; use Faker\Provider\it_CH\Person; use Faker\Provider\it_CH\Internet; use Faker\Provider\it_CH\Company; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/PhoneNumberTest.php index d3f17b8a..5cda5345 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\it_CH; use Faker\Generator; use Faker\Provider\it_CH\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/CompanyTest.php index 7bef3fae..33977e13 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/CompanyTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\it_IT; use Faker\Generator; use Faker\Provider\it_IT\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { public function setUp() { @@ -19,5 +20,5 @@ class CompanyTest extends \PHPUnit_Framework_TestCase $vatId = $this->faker->vatId(); $this->assertRegExp('/^IT[0-9]{11}$/', $vatId); } - + } diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/PersonTest.php index 5d0dc231..3e7b1a4f 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\it_IT; use Faker\Generator; use Faker\Provider\it_IT\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function setUp() { @@ -19,5 +20,5 @@ class PersonTest extends \PHPUnit_Framework_TestCase $taxId = $this->faker->taxId(); $this->assertRegExp('/^[a-zA-Z]{6}[0-9]{2}[a-zA-Z][0-9]{2}[a-zA-Z][0-9]{3}[a-zA-Z]$/', $taxId); } - + } diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/InternetTest.php index 355567a5..b4a19fde 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/InternetTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/InternetTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\ja_JP; use Faker\Generator; use Faker\Provider\ja_JP\Internet; +use PHPUnit\Framework\TestCase; -class InternetTest extends \PHPUnit_Framework_TestCase +class InternetTest extends TestCase { public function testUserName() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PersonTest.php index d64ac043..e7854826 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\ja_JP; use Faker\Generator; use Faker\Provider\ja_JP\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function testKanaNameMaleReturns() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PhoneNumberTest.php index d90d9743..158718a7 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\ja_JP; use Faker\Generator; use Faker\Provider\ja_JP\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { public function testPhoneNumber() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ka_GE/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ka_GE/TextTest.php new file mode 100644 index 00000000..0201ceee --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ka_GE/TextTest.php @@ -0,0 +1,57 @@ +textClass = new \ReflectionClass('Faker\Provider\el_GR\Text'); + } + + protected function getMethod($name) { + $method = $this->textClass->getMethod($name); + + $method->setAccessible(true); + + return $method; + } + + /** @test */ + function testItShouldAppendEndPunctToTheEndOfString() + { + $this->assertSame( + 'ჭეშმარიტია. ჩვენც ისე.', + $this->getMethod('appendEnd')->invokeArgs(null, array('ჭეშმარიტია. ჩვენც ისე ')) + ); + + $this->assertSame( + 'ჭეშმარიტია. ჩვენც ისე.', + $this->getMethod('appendEnd')->invokeArgs(null, array('ჭეშმარიტია. ჩვენც ისე— ')) + ); + + $this->assertSame( + 'ჭეშმარიტია. ჩვენც ისე.', + $this->getMethod('appendEnd')->invokeArgs(null, array('ჭეშმარიტია. ჩვენც ისე, ')) + ); + + $this->assertSame( + 'ჭეშმარიტია. ჩვენც ისე!.', + $this->getMethod('appendEnd')->invokeArgs(null, array('ჭეშმარიტია. ჩვენც ისე! ')) + ); + + $this->assertSame( + 'ჭეშმარიტია. ჩვენც ისე.', + $this->getMethod('appendEnd')->invokeArgs(null, array('ჭეშმარიტია. ჩვენც ისე; ')) + ); + + $this->assertSame( + 'ჭეშმარიტია. ჩვენც ისე.', + $this->getMethod('appendEnd')->invokeArgs(null, array('ჭეშმარიტია. ჩვენც ისე: ')) + ); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/CompanyTest.php index 779e73a6..b6a3c061 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/CompanyTest.php @@ -3,8 +3,9 @@ namespace Faker\Test\Provider\kk_KZ; use Faker\Generator; use Faker\Provider\kk_KZ\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/PersonTest.php index 0f2f981c..c5657352 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\kk_KZ; use Faker\Generator; use Faker\Provider\DateTime; use Faker\Provider\kk_KZ\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** @@ -24,6 +25,6 @@ class PersonTest extends \PHPUnit_Framework_TestCase $individualIdentificationNumber = $this->faker->individualIdentificationNumber($birthDate); $controlDigit = Person::checkSum($individualIdentificationNumber); - $this->assertTrue($controlDigit === (int)substr($individualIdentificationNumber, 11, 1)); + $this->assertSame($controlDigit, (int)substr($individualIdentificationNumber, 11, 1)); } } diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/TextTest.php new file mode 100644 index 00000000..2c780506 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/TextTest.php @@ -0,0 +1,57 @@ +textClass = new \ReflectionClass('Faker\Provider\kk_KZ\Text'); + } + + protected function getMethod($name) { + $method = $this->textClass->getMethod($name); + + $method->setAccessible(true); + + return $method; + } + + /** @test */ + function testItShouldAppendEndPunctToTheEndOfString() + { + $this->assertSame( + 'Арыстан баб кесенесі - көне Отырар.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Арыстан баб кесенесі - көне Отырар ')) + ); + + $this->assertSame( + 'Арыстан баб кесенесі - көне Отырар.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Арыстан баб кесенесі - көне Отырар— ')) + ); + + $this->assertSame( + 'Арыстан баб кесенесі - көне Отырар.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Арыстан баб кесенесі - көне Отырар, ')) + ); + + $this->assertSame( + 'Арыстан баб кесенесі - көне Отырар!.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Арыстан баб кесенесі - көне Отырар! ')) + ); + + $this->assertSame( + 'Арыстан баб кесенесі - көне Отырар.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Арыстан баб кесенесі - көне Отырар: ')) + ); + + $this->assertSame( + 'Арыстан баб кесенесі - көне Отырар.', + $this->getMethod('appendEnd')->invokeArgs(null, array('Арыстан баб кесенесі - көне Отырар; ')) + ); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ko_KR/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ko_KR/TextTest.php new file mode 100644 index 00000000..336acc8a --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ko_KR/TextTest.php @@ -0,0 +1,57 @@ +textClass = new \ReflectionClass('Faker\Provider\el_GR\Text'); + } + + protected function getMethod($name) { + $method = $this->textClass->getMethod($name); + + $method->setAccessible(true); + + return $method; + } + + /** @test */ + function testItShouldAppendEndPunctToTheEndOfString() + { + $this->assertSame( + '최석(崔晳)으로부터 최후의 편지가.', + $this->getMethod('appendEnd')->invokeArgs(null, array('최석(崔晳)으로부터 최후의 편지가 ')) + ); + + $this->assertSame( + '최석(崔晳)으로부터 최후의 편지가.', + $this->getMethod('appendEnd')->invokeArgs(null, array('최석(崔晳)으로부터 최후의 편지가—')) + ); + + $this->assertSame( + '최석(崔晳)으로부터 최후의 편지가.', + $this->getMethod('appendEnd')->invokeArgs(null, array('최석(崔晳)으로부터 최후의 편지가,')) + ); + + $this->assertSame( + '최석(崔晳)으로부터 최후의 편지가!.', + $this->getMethod('appendEnd')->invokeArgs(null, array('최석(崔晳)으로부터 최후의 편지가! ')) + ); + + $this->assertSame( + '최석(崔晳)으로부터 최후의 편지가.', + $this->getMethod('appendEnd')->invokeArgs(null, array('최석(崔晳)으로부터 최후의 편지가: ')) + ); + + $this->assertSame( + '최석(崔晳)으로부터 최후의 편지가.', + $this->getMethod('appendEnd')->invokeArgs(null, array('최석(崔晳)으로부터 최후의 편지가; ')) + ); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/mn_MN/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/mn_MN/PersonTest.php index f3c9572e..232f8f4b 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/mn_MN/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/mn_MN/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\mn_MN; use Faker\Generator; use Faker\Provider\mn_MN\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function testName() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ms_MY/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ms_MY/PersonTest.php new file mode 100644 index 00000000..c35c698d --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ms_MY/PersonTest.php @@ -0,0 +1,50 @@ +addProvider(new Person($faker)); + $this->faker = $faker; + } + + /** + * @link https://en.wikipedia.org/wiki/Malaysian_identity_card#Structure_of_the_National_Registration_Identity_Card_Number_(NRIC) + */ + public function testPersonalIdentityCardNumber() + { + $myKadNumber = $this->faker->myKadNumber; + + $yy = substr($myKadNumber, 0, 2); + //match any year from 00-99 + $this->assertRegExp("/^[0-9]{2}$/", $yy); + + $mm = substr($myKadNumber, 2, 2); + //match any month from 01-12 + $this->assertRegExp("/^0[1-9]|1[0-2]$/", $mm); + + $dd = substr($myKadNumber, 4, 2); + //match any date from 01-31 + $this->assertRegExp("/^0[1-9]|1[0-9]|2[0-9]|3[0-1]$/", $dd); + + $pb = substr($myKadNumber, 6, 2); + //match any valid place of birth code from 01-59 except 17-20 + $this->assertRegExp("/^(0[1-9]|1[0-6])|(2[1-9]|3[0-9]|4[0-9]|5[0-9])$/", $pb); + + $nnnn = substr($myKadNumber, 8, 4); + //match any number from 0000-9999 + $this->assertRegExp("/^[0-9]{4}$/", $nnnn); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PaymentTest.php index 9216de75..e8441033 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PaymentTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PaymentTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\nl_BE; use Faker\Generator; use Faker\Provider\nl_BE\Payment; +use PHPUnit\Framework\TestCase; -class PaymentTest extends \PHPUnit_Framework_TestCase +class PaymentTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PersonTest.php new file mode 100644 index 00000000..4885cc3d --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PersonTest.php @@ -0,0 +1,54 @@ +addProvider(new Person($faker)); + $this->faker = $faker; + } + + public function testRrnIsValid() + { + $rrn = $this->faker->rrn(); + + $this->assertEquals(11, strlen($rrn)); + + $ctrlNumber = substr($rrn, 9, 2); + $calcCtrl = 97 - (substr($rrn, 0, 9) % 97); + $altcalcCtrl = 97 - ((2 . substr($rrn, 0, 9)) % 97); + $this->assertContains($ctrlNumber, array($calcCtrl, $altcalcCtrl)); + + $middle = substr($rrn, 6, 3); + $this->assertGreaterThan(1, $middle); + $this->assertLessThan(997, $middle); + } + + public function testRrnIsMale() + { + $rrn = $this->faker->rrn('male'); + $this->assertEquals(substr($rrn, 6, 3) % 2, 1); + } + + public function testRrnIsFemale() + { + $rrn = $this->faker->rrn('female'); + $this->assertEquals(substr($rrn, 6, 3) % 2, 0); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/CompanyTest.php index 4775b14e..6d5484ce 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/CompanyTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\nl_NL; use Faker\Generator; use Faker\Provider\nl_NL\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { private $faker; diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/PersonTest.php new file mode 100644 index 00000000..c8735f5f --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/PersonTest.php @@ -0,0 +1,33 @@ +addProvider(new Person($faker)); + $this->faker = $faker; + } + + public function testGenerateValidIdNumber() + { + $idNumber = $this->faker->idNumber(); + $this->assertEquals(9, strlen($idNumber)); + + + $sum = -1 * $idNumber % 10; + for ($multiplier = 2; $idNumber > 0; $multiplier++) { + $val = ($idNumber /= 10) % 10; + $sum += $multiplier * $val; + } + $this->assertTrue($sum != 0 && $sum % 11 == 0); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/AddressTest.php index 9bdc0515..bbfdf4d3 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/AddressTest.php @@ -3,8 +3,9 @@ namespace Faker\Provider\pl_PL; use Faker\Generator; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/PersonTest.php new file mode 100644 index 00000000..e5e0edc1 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/PersonTest.php @@ -0,0 +1,101 @@ +addProvider(new Person($faker)); + $this->faker = $faker; + } + + public function testPeselLenght() + { + $pesel = $this->faker->pesel(); + + $this->assertEquals(11, strlen($pesel)); + } + + public function testPeselDate() + { + $date = new DateTime('1990-01-01'); + $pesel = $this->faker->pesel($date); + + $this->assertEquals('90', substr($pesel, 0, 2)); + $this->assertEquals('01', substr($pesel, 2, 2)); + $this->assertEquals('01', substr($pesel, 4, 2)); + } + + public function testPeselDateWithYearAfter2000() + { + $date = new DateTime('2001-01-01'); + $pesel = $this->faker->pesel($date); + + $this->assertEquals('01', substr($pesel, 0, 2)); + $this->assertEquals('21', substr($pesel, 2, 2)); + $this->assertEquals('01', substr($pesel, 4, 2)); + } + + public function testPeselDateWithYearAfter2100() + { + $date = new DateTime('2101-01-01'); + $pesel = $this->faker->pesel($date); + + $this->assertEquals('01', substr($pesel, 0, 2)); + $this->assertEquals('41', substr($pesel, 2, 2)); + $this->assertEquals('01', substr($pesel, 4, 2)); + } + + public function testPeselDateWithYearAfter2200() + { + $date = new DateTime('2201-01-01'); + $pesel = $this->faker->pesel($date); + + $this->assertEquals('01', substr($pesel, 0, 2)); + $this->assertEquals('61', substr($pesel, 2, 2)); + $this->assertEquals('01', substr($pesel, 4, 2)); + } + + public function testPeselDateWithYearBefore1900() + { + $date = new DateTime('1801-01-01'); + $pesel = $this->faker->pesel($date); + + $this->assertEquals('01', substr($pesel, 0, 2)); + $this->assertEquals('81', substr($pesel, 2, 2)); + $this->assertEquals('01', substr($pesel, 4, 2)); + } + + public function testPeselSex() + { + $male = $this->faker->pesel(null, 'M'); + $female = $this->faker->pesel(null, 'F'); + + $this->assertEquals(1, $male[9] % 2); + $this->assertEquals(0, $female[9] % 2); + } + + public function testPeselCheckSum() + { + $pesel = $this->faker->pesel(); + $weights = array(1, 3, 7, 9, 1, 3, 7, 9, 1, 3, 1); + $sum = 0; + + foreach ($weights as $key => $weight) { + $sum += $pesel[$key] * $weight; + } + + $this->assertEquals(0, $sum % 10); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/CompanyTest.php index f59142bd..b0feecac 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/CompanyTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\pt_BR; use Faker\Generator; use Faker\Provider\pt_BR\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { public function setUp() diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/PersonTest.php index 767c1887..0b8318dd 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\pt_BR; use Faker\Generator; use Faker\Provider\pt_BR\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function setUp() diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/AddressTest.php index 7db5b68f..3783fd52 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/AddressTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\pt_PT; use Faker\Generator; use Faker\Provider\pt_PT\Address; use Faker\Provider\pt_PT\Person; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PersonTest.php index 9bfb7a2f..662f12a7 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\pt_PT; use Faker\Generator; use Faker\Provider\pt_PT\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function setUp() diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php index 04b2f63d..fd5d3194 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\pt_PT; use Faker\Generator; use Faker\Provider\pt_PT\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { public function setUp() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PersonTest.php index 2777f770..2c7fadce 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PersonTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\ro_RO; use Faker\Generator; use Faker\Provider\DateTime; use Faker\Provider\ro_RO\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { const TEST_CNP_REGEX = '/^[1-9][0-9]{2}(?:0[1-9]|1[012])(?:0[1-9]|[12][0-9]|3[01])(?:0[1-9]|[123][0-9]|4[0-6]|5[12])[0-9]{3}[0-9]$/'; @@ -15,22 +16,19 @@ class PersonTest extends \PHPUnit_Framework_TestCase * */ protected $faker; - protected $originalTz; public function setUp() { - $this->originalTz = @date_default_timezone_get(); - date_default_timezone_set('Europe/Bucharest'); - $faker = new Generator(); $faker->addProvider(new DateTime($faker)); $faker->addProvider(new Person($faker)); + $faker->setDefaultTimezone('Europe/Bucharest'); $this->faker = $faker; } public function tearDown() { - date_default_timezone_set($this->originalTz); + $this->faker->setDefaultTimezone(); } public function invalidGenderProvider() diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php index 8a406da9..b7965cd8 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\ro_RO; use Faker\Generator; use Faker\Provider\ro_RO\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { public function setUp() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/CompanyTest.php index 08dd2477..8fbcf265 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/CompanyTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\ru_RU; use Faker\Generator; use Faker\Provider\ru_RU\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/TextTest.php new file mode 100644 index 00000000..bbb0eae6 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/TextTest.php @@ -0,0 +1,57 @@ +textClass = new \ReflectionClass('Faker\Provider\ru_RU\Text'); + } + + protected function getMethod($name) { + $method = $this->textClass->getMethod($name); + + $method->setAccessible(true); + + return $method; + } + + /** @test */ + function testItShouldAppendEndPunctToTheEndOfString() + { + $this->assertSame( + 'На другой день Чичиков отправился на обед и вечер.', + $this->getMethod('appendEnd')->invokeArgs(null, array('На другой день Чичиков отправился на обед и вечер ')) + ); + + $this->assertSame( + 'На другой день Чичиков отправился на обед и вечер.', + $this->getMethod('appendEnd')->invokeArgs(null, array('На другой день Чичиков отправился на обед и вечер—')) + ); + + $this->assertSame( + 'На другой день Чичиков отправился на обед и вечер.', + $this->getMethod('appendEnd')->invokeArgs(null, array('На другой день Чичиков отправился на обед и вечер,')) + ); + + $this->assertSame( + 'На другой день Чичиков отправился на обед и вечер!.', + $this->getMethod('appendEnd')->invokeArgs(null, array('На другой день Чичиков отправился на обед и вечер! ')) + ); + + $this->assertSame( + 'На другой день Чичиков отправился на обед и вечер.', + $this->getMethod('appendEnd')->invokeArgs(null, array('На другой день Чичиков отправился на обед и вечер; ')) + ); + + $this->assertSame( + 'На другой день Чичиков отправился на обед и вечер.', + $this->getMethod('appendEnd')->invokeArgs(null, array('На другой день Чичиков отправился на обед и вечер: ')) + ); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/sv_SE/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/sv_SE/PersonTest.php index 623723a6..584998da 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/sv_SE/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/sv_SE/PersonTest.php @@ -5,8 +5,9 @@ namespace Faker\Test\Provider\sv_SE; use Faker\Calculator\Luhn; use Faker\Generator; use Faker\Provider\sv_SE\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** @var Generator */ protected $faker; diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/CompanyTest.php new file mode 100644 index 00000000..badf905f --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/CompanyTest.php @@ -0,0 +1,28 @@ +addProvider(new Company($faker)); + $this->faker = $faker; + } + + public function testCompany() + { + $company = $this->faker->companyField; + $this->assertNotNull($company); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PaymentTest.php new file mode 100644 index 00000000..7c8ffdb2 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PaymentTest.php @@ -0,0 +1,29 @@ +addProvider(new Payment($faker)); + $this->faker = $faker; + } + + public function testBankAccountNumber() + { + $accNo = $this->faker->bankAccountNumber; + $this->assertEquals(substr($accNo, 0, 2), 'TR'); + $this->assertEquals(26, strlen($accNo)); + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PersonTest.php new file mode 100644 index 00000000..ad9db9c7 --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PersonTest.php @@ -0,0 +1,34 @@ +addProvider(new Person($faker)); + $this->faker = $faker; + } + + public function testTCNo() + { + for ($i = 0; $i < 100; $i++) { + $number = $this->faker->tcNo; + + $this->assertEquals(11, strlen($number)); + $this->assertTrue(TCNo::isValid($number)); + } + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PhoneNumberTest.php new file mode 100644 index 00000000..0971d04b --- /dev/null +++ b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PhoneNumberTest.php @@ -0,0 +1,34 @@ +addProvider(new PhoneNumber($faker)); + $this->faker = $faker; + } + + public function testPhoneNumber() + { + for ($i = 0; $i < 100; $i++) { + $number = $this->faker->phoneNumber; + $baseNumber = preg_replace('/ *x.*$/', '', $number); // Remove possible extension + $digits = array_values(array_filter(str_split($baseNumber), 'ctype_digit')); + + $this->assertGreaterThan(10, count($digits)); + } + } +} diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/AddressTest.php index a3e38d73..4c4a0612 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/AddressTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/AddressTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\uk_UA; use Faker\Generator; use Faker\Provider\uk_UA\Address; +use PHPUnit\Framework\TestCase; -class AddressTest extends \PHPUnit_Framework_TestCase +class AddressTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PersonTest.php index 5d73d725..a8d70f69 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\uk_UA; use Faker\Generator; use Faker\Provider\uk_UA\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { public function testFirstNameMaleReturns() { diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php index 13620c72..f7f9f14b 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\uk_UA; use Faker\Generator; use Faker\Provider\uk_UA\PhoneNumber; +use PHPUnit\Framework\TestCase; -class PhoneNumberTest extends \PHPUnit_Framework_TestCase +class PhoneNumberTest extends TestCase { /** diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/CompanyTest.php index 329c3a8a..f2134b9b 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/CompanyTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/CompanyTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\zh_TW; use Faker\Generator; use Faker\Provider\zh_TW\Company; +use PHPUnit\Framework\TestCase; -class CompanyTest extends \PHPUnit_Framework_TestCase +class CompanyTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/PersonTest.php index 1ba05a53..167d0fa0 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/PersonTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/PersonTest.php @@ -4,8 +4,9 @@ namespace Faker\Test\Provider\zh_TW; use Faker\Generator; use Faker\Provider\zh_TW\Person; +use PHPUnit\Framework\TestCase; -class PersonTest extends \PHPUnit_Framework_TestCase +class PersonTest extends TestCase { /** * @var Generator diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/TextTest.php index 5bcabe44..ab56f83c 100644 --- a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/TextTest.php +++ b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/TextTest.php @@ -2,7 +2,9 @@ namespace Faker\Test\Provider\zh_TW; -class TextTest extends \PHPUnit_Framework_TestCase +use PHPUnit\Framework\TestCase; + +class TextTest extends TestCase { private $textClass; diff --git a/vendor/jakub-onderka/php-console-color/.travis.yml b/vendor/jakub-onderka/php-console-color/.travis.yml index 4671dca5..49175a99 100644 --- a/vendor/jakub-onderka/php-console-color/.travis.yml +++ b/vendor/jakub-onderka/php-console-color/.travis.yml @@ -1,15 +1,24 @@ language: php php: - - 5.3.3 - 5.4 - 5.5 + - 5.6 + - 7.0 + - 7.1 + - 7.2 + +sudo: false + +cache: + directories: + - vendor + - $HOME/.composer/cache before_script: - - composer self-update - - composer install --no-interaction --prefer-source --dev + - composer install --no-interaction --prefer-source script: - ant phplint - ant phpcs - - ant phpunit \ No newline at end of file + - ant phpunit diff --git a/vendor/jakub-onderka/php-console-color/LICENSE b/vendor/jakub-onderka/php-console-color/LICENSE new file mode 100644 index 00000000..0954fc94 --- /dev/null +++ b/vendor/jakub-onderka/php-console-color/LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2014-2018, Jakub Onderka +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/vendor/jakub-onderka/php-console-color/README.md b/vendor/jakub-onderka/php-console-color/README.md new file mode 100644 index 00000000..39e55d92 --- /dev/null +++ b/vendor/jakub-onderka/php-console-color/README.md @@ -0,0 +1,10 @@ +PHP Console Color +================= + +[![Build Status](https://travis-ci.org/JakubOnderka/PHP-Console-Color.svg?branch=master)](https://travis-ci.org/JakubOnderka/PHP-Console-Color) + +Simple library for creating colored console ouput. + +See `example.php` how to use this library. + +![Example from Windows 10](https://user-images.githubusercontent.com/89590/40762008-687f909a-646c-11e8-88d6-e268a064be4c.png) \ No newline at end of file diff --git a/vendor/jakub-onderka/php-console-color/composer.json b/vendor/jakub-onderka/php-console-color/composer.json index 0721abca..6481cb51 100644 --- a/vendor/jakub-onderka/php-console-color/composer.json +++ b/vendor/jakub-onderka/php-console-color/composer.json @@ -1,7 +1,6 @@ { "name": "jakub-onderka/php-console-color", "license": "BSD-2-Clause", - "version": "0.1", "authors": [ { "name": "Jakub Onderka", @@ -9,16 +8,16 @@ } ], "autoload": { - "psr-0": {"JakubOnderka\\PhpConsoleColor": "src/"} + "psr-4": {"JakubOnderka\\PhpConsoleColor\\": "src/"} }, "require": { - "php": ">=5.3.2" + "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "3.7.*", - "jakub-onderka/php-parallel-lint": "0.*", + "phpunit/phpunit": "~4.3", + "jakub-onderka/php-parallel-lint": "1.0", "jakub-onderka/php-var-dump-check": "0.*", "squizlabs/php_codesniffer": "1.*", "jakub-onderka/php-code-style": "1.0" } -} \ No newline at end of file +} diff --git a/vendor/jakub-onderka/php-console-color/phpunit.xml b/vendor/jakub-onderka/php-console-color/phpunit.xml index 74011d9d..f1105cc4 100644 --- a/vendor/jakub-onderka/php-console-color/phpunit.xml +++ b/vendor/jakub-onderka/php-console-color/phpunit.xml @@ -1,8 +1,9 @@ - + - tests/* + tests @@ -12,4 +13,4 @@ vendor - \ No newline at end of file + diff --git a/vendor/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/ConsoleColor.php b/vendor/jakub-onderka/php-console-color/src/ConsoleColor.php similarity index 90% rename from vendor/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/ConsoleColor.php rename to vendor/jakub-onderka/php-console-color/src/ConsoleColor.php index c367a765..90fd1252 100644 --- a/vendor/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/ConsoleColor.php +++ b/vendor/jakub-onderka/php-console-color/src/ConsoleColor.php @@ -201,10 +201,15 @@ class ConsoleColor public function isSupported() { if (DIRECTORY_SEPARATOR === '\\') { - return getenv('ANSICON') !== false || getenv('ConEmuANSI') === 'ON'; + if (function_exists('sapi_windows_vt100_support') && @sapi_windows_vt100_support(STDOUT)) { + return true; + } elseif (getenv('ANSICON') !== false || getenv('ConEmuANSI') === 'ON') { + return true; + } + return false; + } else { + return function_exists('posix_isatty') && @posix_isatty(STDOUT); } - - return function_exists('posix_isatty') && @posix_isatty(STDOUT); } /** @@ -212,7 +217,11 @@ class ConsoleColor */ public function are256ColorsSupported() { - return DIRECTORY_SEPARATOR === '/' && strpos(getenv('TERM'), '256color') !== false; + if (DIRECTORY_SEPARATOR === '\\') { + return function_exists('sapi_windows_vt100_support') && @sapi_windows_vt100_support(STDOUT); + } else { + return strpos(getenv('TERM'), '256color') !== false; + } } /** @@ -225,8 +234,7 @@ class ConsoleColor /** * @param string $name - * @return string - * @throws InvalidStyleException + * @return string[] */ private function themeSequence($name) { @@ -240,7 +248,6 @@ class ConsoleColor /** * @param string $style * @return string - * @throws InvalidStyleException */ private function styleSequence($style) { @@ -277,4 +284,4 @@ class ConsoleColor { return "\033[{$value}m"; } -} \ No newline at end of file +} diff --git a/vendor/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/InvalidStyleException.php b/vendor/jakub-onderka/php-console-color/src/InvalidStyleException.php similarity index 100% rename from vendor/jakub-onderka/php-console-color/src/JakubOnderka/PhpConsoleColor/InvalidStyleException.php rename to vendor/jakub-onderka/php-console-color/src/InvalidStyleException.php diff --git a/vendor/jakub-onderka/php-console-color/tests/JakubOnderka/PhpConsoleColor/ConsoleColorTest.php b/vendor/jakub-onderka/php-console-color/tests/ConsoleColorTest.php similarity index 100% rename from vendor/jakub-onderka/php-console-color/tests/JakubOnderka/PhpConsoleColor/ConsoleColorTest.php rename to vendor/jakub-onderka/php-console-color/tests/ConsoleColorTest.php diff --git a/vendor/jakub-onderka/php-console-color/tests/bootstrap.php b/vendor/jakub-onderka/php-console-color/tests/bootstrap.php deleted file mode 100644 index 7500417e..00000000 --- a/vendor/jakub-onderka/php-console-color/tests/bootstrap.php +++ /dev/null @@ -1,2 +0,0 @@ -getWholeFile($fileContent); ------ +[![Downloads this Month](https://img.shields.io/packagist/dm/jakub-onderka/php-console-highlighter.svg)](https://packagist.org/packages/jakub-onderka/php-console-highlighter) [![Build Status](https://travis-ci.org/JakubOnderka/PHP-Console-Highlighter.svg?branch=master)](https://travis-ci.org/JakubOnderka/PHP-Console-Highlighter) +[![License](https://poser.pugx.org/jakub-onderka/php-console-highlighter/license.svg)](https://packagist.org/packages/jakub-onderka/php-console-highlighter) diff --git a/vendor/jakub-onderka/php-console-highlighter/composer.json b/vendor/jakub-onderka/php-console-highlighter/composer.json index bd2f47a2..21c29f71 100644 --- a/vendor/jakub-onderka/php-console-highlighter/composer.json +++ b/vendor/jakub-onderka/php-console-highlighter/composer.json @@ -1,5 +1,6 @@ { "name": "jakub-onderka/php-console-highlighter", + "description": "Highlight PHP code in terminal", "type": "library", "license": "MIT", "authors": [ @@ -10,15 +11,16 @@ } ], "autoload": { - "psr-0": {"JakubOnderka\\PhpConsoleHighlighter": "src/"} + "psr-4": {"JakubOnderka\\PhpConsoleHighlighter\\": "src/"} }, "require": { - "php": ">=5.3.0", - "jakub-onderka/php-console-color": "~0.1" + "php": ">=5.4.0", + "ext-tokenizer": "*", + "jakub-onderka/php-console-color": "~0.2" }, "require-dev": { "phpunit/phpunit": "~4.0", - "jakub-onderka/php-parallel-lint": "~0.5", + "jakub-onderka/php-parallel-lint": "~1.0", "jakub-onderka/php-var-dump-check": "~0.1", "squizlabs/php_codesniffer": "~1.5", "jakub-onderka/php-code-style": "~1.0" diff --git a/vendor/jakub-onderka/php-console-highlighter/phpunit.xml b/vendor/jakub-onderka/php-console-highlighter/phpunit.xml index 74011d9d..9c653a68 100644 --- a/vendor/jakub-onderka/php-console-highlighter/phpunit.xml +++ b/vendor/jakub-onderka/php-console-highlighter/phpunit.xml @@ -1,8 +1,8 @@ - + - tests/* + tests @@ -12,4 +12,4 @@ vendor - \ No newline at end of file + diff --git a/vendor/jakub-onderka/php-console-highlighter/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php b/vendor/jakub-onderka/php-console-highlighter/src/Highlighter.php similarity index 94% rename from vendor/jakub-onderka/php-console-highlighter/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php rename to vendor/jakub-onderka/php-console-highlighter/src/Highlighter.php index b908e931..47ce30d2 100644 --- a/vendor/jakub-onderka/php-console-highlighter/src/JakubOnderka/PhpConsoleHighlighter/Highlighter.php +++ b/vendor/jakub-onderka/php-console-highlighter/src/Highlighter.php @@ -31,6 +31,7 @@ class Highlighter /** * @param ConsoleColor $color + * @throws \JakubOnderka\PhpConsoleColor\InvalidStyleException */ public function __construct(ConsoleColor $color) { @@ -118,20 +119,6 @@ class Highlighter foreach ($tokens as $token) { if (is_array($token)) { switch ($token[0]) { - case T_INLINE_HTML: - $newType = self::TOKEN_HTML; - break; - - case T_COMMENT: - case T_DOC_COMMENT: - $newType = self::TOKEN_COMMENT; - break; - - case T_ENCAPSED_AND_WHITESPACE: - case T_CONSTANT_ENCAPSED_STRING: - $newType = self::TOKEN_STRING; - break; - case T_WHITESPACE: break; @@ -151,17 +138,26 @@ class Highlighter case T_LINE: case T_CLASS_C: case T_FUNC_C: - //case T_TRAIT_C: + case T_TRAIT_C: $newType = self::TOKEN_DEFAULT; break; + case T_COMMENT: + case T_DOC_COMMENT: + $newType = self::TOKEN_COMMENT; + break; + + case T_ENCAPSED_AND_WHITESPACE: + case T_CONSTANT_ENCAPSED_STRING: + $newType = self::TOKEN_STRING; + break; + + case T_INLINE_HTML: + $newType = self::TOKEN_HTML; + break; + default: - // Compatibility with PHP 5.3 - if (defined('T_TRAIT_C') && $token[0] === T_TRAIT_C) { - $newType = self::TOKEN_DEFAULT; - } else { - $newType = self::TOKEN_KEYWORD; - } + $newType = self::TOKEN_KEYWORD; } } else { $newType = $token === '"' ? self::TOKEN_STRING : self::TOKEN_KEYWORD; @@ -171,7 +167,7 @@ class Highlighter $currentType = $newType; } - if ($currentType != $newType) { + if ($currentType !== $newType) { $output[] = array($currentType, $buffer); $buffer = ''; $currentType = $newType; diff --git a/vendor/jakub-onderka/php-console-highlighter/tests/JakubOnderka/PhpConsoleHighligter/HigligterTest.php b/vendor/jakub-onderka/php-console-highlighter/tests/HigligterTest.php similarity index 93% rename from vendor/jakub-onderka/php-console-highlighter/tests/JakubOnderka/PhpConsoleHighligter/HigligterTest.php rename to vendor/jakub-onderka/php-console-highlighter/tests/HigligterTest.php index 269d03da..187beb67 100644 --- a/vendor/jakub-onderka/php-console-highlighter/tests/JakubOnderka/PhpConsoleHighligter/HigligterTest.php +++ b/vendor/jakub-onderka/php-console-highlighter/tests/HigligterTest.php @@ -8,7 +8,9 @@ class HighlighterTest extends \PHPUnit_Framework_TestCase protected function getConsoleColorMock() { - $mock = $this->getMock('\JakubOnderka\PhpConsoleColor\ConsoleColor'); + $mock = method_exists($this, 'createMock') + ? $this->createMock('\JakubOnderka\PhpConsoleColor\ConsoleColor') + : $this->getMock('\JakubOnderka\PhpConsoleColor\ConsoleColor'); $mock->expects($this->any()) ->method('apply') @@ -260,4 +262,13 @@ EOL '' ); } -} \ No newline at end of file + + public function testWhitespace() + { + $this->compare( + ' ' + , + ' ' + ); + } +} diff --git a/vendor/jakub-onderka/php-console-highlighter/tests/bootstrap.php b/vendor/jakub-onderka/php-console-highlighter/tests/bootstrap.php deleted file mode 100644 index 7500417e..00000000 --- a/vendor/jakub-onderka/php-console-highlighter/tests/bootstrap.php +++ /dev/null @@ -1,2 +0,0 @@ -=7.0", + "php": "^7.1.3", "ext-mbstring": "*", "ext-openssl": "*", - "doctrine/inflector": "~1.1", - "erusev/parsedown": "~1.7", + "doctrine/inflector": "^1.1", + "dragonmantank/cron-expression": "^2.0", + "erusev/parsedown": "^1.7", "league/flysystem": "^1.0.8", - "monolog/monolog": "~1.12", - "mtdowling/cron-expression": "~1.0", - "nesbot/carbon": "^1.24.1", - "psr/container": "~1.0", + "monolog/monolog": "^1.12", + "nesbot/carbon": "^1.26.3", + "opis/closure": "^3.1", + "psr/container": "^1.0", "psr/simple-cache": "^1.0", - "ramsey/uuid": "~3.0", - "swiftmailer/swiftmailer": "~6.0", - "symfony/console": "~3.3", - "symfony/debug": "~3.3", - "symfony/finder": "~3.3", - "symfony/http-foundation": "~3.3", - "symfony/http-kernel": "~3.3", - "symfony/process": "~3.3", - "symfony/routing": "~3.3", - "symfony/var-dumper": "~3.3", - "tijsverkoyen/css-to-inline-styles": "~2.2", - "vlucas/phpdotenv": "~2.2" + "ramsey/uuid": "^3.7", + "swiftmailer/swiftmailer": "^6.0", + "symfony/console": "^4.1", + "symfony/debug": "^4.1", + "symfony/finder": "^4.1", + "symfony/http-foundation": "^4.1", + "symfony/http-kernel": "^4.1", + "symfony/process": "^4.1", + "symfony/routing": "^4.1", + "symfony/var-dumper": "^4.1", + "tijsverkoyen/css-to-inline-styles": "^2.2.1", + "vlucas/phpdotenv": "^2.2" }, "replace": { "illuminate/auth": "self.version", @@ -67,20 +68,25 @@ "illuminate/support": "self.version", "illuminate/translation": "self.version", "illuminate/validation": "self.version", - "illuminate/view": "self.version", + "illuminate/view": "self.version" + }, + "conflict": { "tightenco/collect": "<5.5.33" }, "require-dev": { - "aws/aws-sdk-php": "~3.0", - "doctrine/dbal": "~2.5", + "aws/aws-sdk-php": "^3.0", + "doctrine/dbal": "^2.6", "filp/whoops": "^2.1.4", - "mockery/mockery": "~1.0", - "orchestra/testbench-core": "3.5.*", - "pda/pheanstalk": "~3.0", - "phpunit/phpunit": "~6.0", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "^1.0", + "moontoast/math": "^1.1", + "orchestra/testbench-core": "3.7.*", + "pda/pheanstalk": "^3.0", + "phpunit/phpunit": "^7.0", "predis/predis": "^1.1.1", - "symfony/css-selector": "~3.3", - "symfony/dom-crawler": "~3.3" + "symfony/css-selector": "^4.1", + "symfony/dom-crawler": "^4.1", + "true/punycode": "^2.1" }, "autoload": { "files": [ @@ -101,27 +107,29 @@ }, "extra": { "branch-alias": { - "dev-master": "5.5-dev" + "dev-master": "5.7-dev" } }, "suggest": { "ext-pcntl": "Required to use all features of the queue worker.", "ext-posix": "Required to use all features of the queue worker.", - "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (~3.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.5).", - "fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).", - "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).", - "laravel/tinker": "Required to use the tinker console command (~1.0).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).", - "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).", - "league/flysystem-cached-adapter": "Required to use Flysystem caching (~1.0).", - "nexmo/client": "Required to use the Nexmo transport (~1.0).", - "pda/pheanstalk": "Required to use the beanstalk queue driver (~3.0).", - "predis/predis": "Required to use the redis cache and queue drivers (~1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~3.0).", - "symfony/css-selector": "Required to use some of the crawler integration testing tools (~3.3).", - "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (~3.3).", - "symfony/psr-http-message-bridge": "Required to psr7 bridging features (~1.0)." + "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (^3.0).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", + "fzaninotto/faker": "Required to use the eloquent factory builder (^1.4).", + "guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (^6.0).", + "laravel/tinker": "Required to use the tinker console command (^1.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", + "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (^1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0).", + "moontoast/math": "Required to use ordered UUIDs (^1.1).", + "nexmo/client": "Required to use the Nexmo transport (^1.0).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^3.0).", + "predis/predis": "Required to use the redis cache and queue drivers (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^3.0).", + "symfony/css-selector": "Required to use some of the crawler integration testing tools (^4.1).", + "symfony/dom-crawler": "Required to use most of the crawler integration testing tools (^4.1).", + "symfony/psr-http-message-bridge": "Required to psr7 bridging features (^1.0)." }, "config": { "sort-packages": true diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php b/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php index dfc72cf0..e7a3f9cc 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php @@ -2,6 +2,9 @@ namespace Illuminate\Auth\Access; +use Exception; +use ReflectionClass; +use ReflectionFunction; use Illuminate\Support\Arr; use Illuminate\Support\Str; use InvalidArgumentException; @@ -108,7 +111,7 @@ class Gate implements GateContract { if (is_callable($callback)) { $this->abilities[$ability] = $callback; - } elseif (is_string($callback) && Str::contains($callback, '@')) { + } elseif (is_string($callback)) { $this->abilities[$ability] = $this->buildAbilityCallback($ability, $callback); } else { throw new InvalidArgumentException("Callback must be a callable or a 'Class@method' string."); @@ -122,7 +125,7 @@ class Gate implements GateContract * * @param string $name * @param string $class - * @param array $abilities + * @param array|null $abilities * @return $this */ public function resource($name, $class, array $abilities = null) @@ -151,7 +154,11 @@ class Gate implements GateContract protected function buildAbilityCallback($ability, $callback) { return function () use ($ability, $callback) { - list($class, $method) = Str::parseCallback($callback); + if (Str::contains($callback, '@')) { + [$class, $method] = Str::parseCallback($callback); + } else { + $class = $callback; + } $policy = $this->resolvePolicy($class); @@ -167,7 +174,9 @@ class Gate implements GateContract return $result; } - return $policy->{$method}(...func_get_args()); + return isset($method) + ? $policy->{$method}(...func_get_args()) + : $policy(...func_get_args()); }; } @@ -294,14 +303,12 @@ class Gate implements GateContract * @param array|mixed $arguments * @return mixed */ - protected function raw($ability, $arguments = []) + public function raw($ability, $arguments = []) { - if (! $user = $this->resolveUser()) { - return false; - } - $arguments = Arr::wrap($arguments); + $user = $this->resolveUser(); + // First we will call the "before" callbacks for the Gate. If any of these give // back a non-null response, we will immediately return that result in order // to let the developers override all checks for some authorization cases. @@ -316,17 +323,94 @@ class Gate implements GateContract // After calling the authorization callback, we will call the "after" callbacks // that are registered with the Gate, which allows a developer to do logging // if that is required for this application. Then we'll return the result. - $this->callAfterCallbacks( + return $this->callAfterCallbacks( $user, $ability, $arguments, $result ); + } - return $result; + /** + * Determine whether the callback/method can be called with the given user. + * + * @param \Illuminate\Contracts\Auth\Authenticatable|null $user + * @param \Closure|string|array $class + * @param string|null $method + * @return bool + */ + protected function canBeCalledWithUser($user, $class, $method = null) + { + if (! is_null($user)) { + return true; + } + + if (! is_null($method)) { + return $this->methodAllowsGuests($class, $method); + } + + if (is_array($class)) { + $className = is_string($class[0]) ? $class[0] : get_class($class[0]); + + return $this->methodAllowsGuests($className, $class[1]); + } + + return $this->callbackAllowsGuests($class); + } + + /** + * Determine if the given class method allows guests. + * + * @param string $class + * @param string $method + * @return bool + */ + protected function methodAllowsGuests($class, $method) + { + try { + $reflection = new ReflectionClass($class); + + $method = $reflection->getMethod($method); + } catch (Exception $e) { + return false; + } + + if ($method) { + $parameters = $method->getParameters(); + + return isset($parameters[0]) && $this->parameterAllowsGuests($parameters[0]); + } + + return false; + } + + /** + * Determine if the callback allows guests. + * + * @param callable $callback + * @param array $arguments + * @return bool + */ + protected function callbackAllowsGuests($callback) + { + $parameters = (new ReflectionFunction($callback))->getParameters(); + + return isset($parameters[0]) && $this->parameterAllowsGuests($parameters[0]); + } + + /** + * Determine if the given parameter allows guests. + * + * @param \ReflectionParameter $parameter + * @return bool + */ + protected function parameterAllowsGuests($parameter) + { + return ($parameter->getClass() && $parameter->allowsNull()) || + ($parameter->isDefaultValueAvailable() && is_null($parameter->getDefaultValue())); } /** * Resolve and call the appropriate authorization callback. * - * @param \Illuminate\Contracts\Auth\Authenticatable $user + * @param \Illuminate\Contracts\Auth\Authenticatable|null $user * @param string $ability * @param array $arguments * @return bool @@ -341,7 +425,7 @@ class Gate implements GateContract /** * Call all of the before callbacks and return if a result is given. * - * @param \Illuminate\Contracts\Auth\Authenticatable $user + * @param \Illuminate\Contracts\Auth\Authenticatable|null $user * @param string $ability * @param array $arguments * @return bool|null @@ -351,6 +435,10 @@ class Gate implements GateContract $arguments = array_merge([$user, $ability], [$arguments]); foreach ($this->beforeCallbacks as $before) { + if (! $this->canBeCalledWithUser($user, $before)) { + continue; + } + if (! is_null($result = $before(...$arguments))) { return $result; } @@ -368,17 +456,23 @@ class Gate implements GateContract */ protected function callAfterCallbacks($user, $ability, array $arguments, $result) { - $arguments = array_merge([$user, $ability, $result], [$arguments]); - foreach ($this->afterCallbacks as $after) { - $after(...$arguments); + if (! $this->canBeCalledWithUser($user, $after)) { + continue; + } + + $afterResult = $after($user, $ability, $result, $arguments); + + $result = $result ?? $afterResult; } + + return $result; } /** * Resolve the callable for the given ability and arguments. * - * @param \Illuminate\Contracts\Auth\Authenticatable $user + * @param \Illuminate\Contracts\Auth\Authenticatable|null $user * @param string $ability * @param array $arguments * @return callable @@ -391,12 +485,13 @@ class Gate implements GateContract return $callback; } - if (isset($this->abilities[$ability])) { + if (isset($this->abilities[$ability]) && + $this->canBeCalledWithUser($user, $this->abilities[$ability])) { return $this->abilities[$ability]; } return function () { - return false; + return null; }; } @@ -468,18 +563,9 @@ class Gate implements GateContract return $result; } - $ability = $this->formatAbilityToMethod($ability); + $method = $this->formatAbilityToMethod($ability); - // If this first argument is a string, that means they are passing a class name - // to the policy. We will remove the first argument from this argument array - // because this policy already knows what type of models it can authorize. - if (isset($arguments[0]) && is_string($arguments[0])) { - array_shift($arguments); - } - - return is_callable([$policy, $ability]) - ? $policy->{$ability}($user, ...$arguments) - : false; + return $this->callPolicyMethod($policy, $method, $user, $arguments); }; } @@ -494,11 +580,42 @@ class Gate implements GateContract */ protected function callPolicyBefore($policy, $user, $ability, $arguments) { - if (method_exists($policy, 'before')) { + if (! method_exists($policy, 'before')) { + return null; + } + + if ($this->canBeCalledWithUser($user, $policy, 'before')) { return $policy->before($user, $ability, ...$arguments); } } + /** + * Call the appropriate method on the given policy. + * + * @param mixed $policy + * @param string $method + * @param \Illuminate\Contracts\Auth\Authenticatable|null $user + * @param array $arguments + * @return mixed + */ + protected function callPolicyMethod($policy, $method, $user, array $arguments) + { + // If this first argument is a string, that means they are passing a class name + // to the policy. We will remove the first argument from this argument array + // because this policy already knows what type of models it can authorize. + if (isset($arguments[0]) && is_string($arguments[0])) { + array_shift($arguments); + } + + if (! is_callable([$policy, $method])) { + return null; + } + + if ($this->canBeCalledWithUser($user, $policy, $method)) { + return $policy->{$method}($user, ...$arguments); + } + } + /** * Format the policy ability into a method name. * diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php b/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php index a2baff36..7fab01ef 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php @@ -39,6 +39,6 @@ class Response */ public function __toString() { - return $this->message(); + return (string) $this->message(); } } diff --git a/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php b/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php index 49825fae..05fefe17 100755 --- a/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php @@ -94,7 +94,7 @@ class AuthManager implements FactoryContract return $this->{$driverMethod}($name, $config); } - throw new InvalidArgumentException("Auth guard driver [{$name}] is not defined."); + throw new InvalidArgumentException("Auth driver [{$config['driver']}] for guard [{$name}] is not defined."); } /** diff --git a/vendor/laravel/framework/src/Illuminate/Auth/AuthenticationException.php b/vendor/laravel/framework/src/Illuminate/Auth/AuthenticationException.php index 3445b23a..ef7dbee6 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/AuthenticationException.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/AuthenticationException.php @@ -13,18 +13,27 @@ class AuthenticationException extends Exception */ protected $guards; + /** + * The path the user should be redirected to. + * + * @var string + */ + protected $redirectTo; + /** * Create a new authentication exception. * * @param string $message * @param array $guards + * @param string|null $redirectTo * @return void */ - public function __construct($message = 'Unauthenticated.', array $guards = []) + public function __construct($message = 'Unauthenticated.', array $guards = [], $redirectTo = null) { parent::__construct($message); $this->guards = $guards; + $this->redirectTo = $redirectTo; } /** @@ -36,4 +45,14 @@ class AuthenticationException extends Exception { return $this->guards; } + + /** + * Get the path the user should be redirected to. + * + * @return string + */ + public function redirectTo() + { + return $this->redirectTo; + } } diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Console/AuthMakeCommand.php b/vendor/laravel/framework/src/Illuminate/Auth/Console/AuthMakeCommand.php index 52041fa3..cfe95977 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Console/AuthMakeCommand.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/Console/AuthMakeCommand.php @@ -33,6 +33,7 @@ class AuthMakeCommand extends Command protected $views = [ 'auth/login.stub' => 'auth/login.blade.php', 'auth/register.stub' => 'auth/register.blade.php', + 'auth/verify.stub' => 'auth/verify.blade.php', 'auth/passwords/email.stub' => 'auth/passwords/email.blade.php', 'auth/passwords/reset.stub' => 'auth/passwords/reset.blade.php', 'layouts/app.stub' => 'layouts/app.blade.php', diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub b/vendor/laravel/framework/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub index 07924ce6..47e3f530 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub +++ b/vendor/laravel/framework/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub @@ -2,61 +2,63 @@ @section('content')
-
-
-
-
Login
+
+
+
+
{{ __('Login') }}
-
-
- {{ csrf_field() }} +
+ + @csrf -
- +
+
- + @if ($errors->has('email')) - + {{ $errors->first('email') }} @endif
-
- +
+
- + @if ($errors->has('password')) - + {{ $errors->first('password') }} @endif
-
-
-
-