diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index 7e2563a8..c18c43cc 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -2,8 +2,8 @@
namespace App\Exceptions;
-use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
+use Throwable;
class Handler extends ExceptionHandler
{
@@ -22,32 +22,20 @@ class Handler extends ExceptionHandler
* @var array
*/
protected $dontFlash = [
+ 'current_password',
'password',
'password_confirmation',
];
/**
- * Report or log an exception.
+ * Register the exception handling callbacks for the application.
*
- * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
- *
- * @param \Exception $exception
* @return void
*/
- public function report(Exception $exception)
+ public function register()
{
- parent::report($exception);
- }
-
- /**
- * Render an exception into an HTTP response.
- *
- * @param \Illuminate\Http\Request $request
- * @param \Exception $exception
- * @return \Illuminate\Http\Response
- */
- public function render($request, Exception $exception)
- {
- return parent::render($request, $exception);
+ $this->reportable(function (Throwable $e) {
+ //
+ });
}
}
diff --git a/app/Helper.php b/app/Helper.php
index 86cf5e8a..aaa16ac3 100644
--- a/app/Helper.php
+++ b/app/Helper.php
@@ -1,5 +1,7 @@
user();
if (!is_null($setting)) {
- $data = Setting::getInput();
+ $data = Setting::getInput($request);
$setting_value = null;
diff --git a/app/Setting.php b/app/Setting.php
index e1f8bf40..cb613522 100644
--- a/app/Setting.php
+++ b/app/Setting.php
@@ -8,6 +8,7 @@ use Form;
use Illuminate\Support\Facades\Auth;
use App\User;
use App\Search;
+use Illuminate\Http\Request;
class Setting extends Model
{
@@ -39,11 +40,11 @@ class Setting extends Model
/**
* @return array
*/
- public static function getInput()
+ public static function getInput(Request $request)
{
return (object) [
- 'value' => Input::get('value'),
- 'image' => Input::file('value'),
+ 'value' => $request->input('value'),
+ 'image' => $request->file('value'),
];
}
diff --git a/composer.json b/composer.json
index c3357a22..a5d91983 100644
--- a/composer.json
+++ b/composer.json
@@ -7,12 +7,12 @@
"require": {
"php": ">=7.1.3",
"fideloper/proxy": "^4.0",
- "graham-campbell/github": "^7.5",
- "guzzlehttp/guzzle": "^6.3",
- "laravel/framework": "5.7.*",
- "laravel/tinker": "~1.0",
- "laravelcollective/html": "^5.5",
- "php-http/guzzle6-adapter": "^1.1"
+ "graham-campbell/github": "^10.5",
+ "guzzlehttp/guzzle": "^7.4",
+ "laravel/framework": "^7.0",
+ "laravel/tinker": "^2.0",
+ "laravel/ui": "^2.4",
+ "laravelcollective/html": "^6.0"
},
"require-dev": {
"filp/whoops": "~2.0",
@@ -59,6 +59,10 @@
"config": {
"preferred-install": "dist",
"sort-packages": true,
- "optimize-autoloader": true
+ "optimize-autoloader": true,
+ "allow-plugins": {
+ "kylekatarnls/update-helper": true,
+ "symfony/thanks": true
+ }
}
}
diff --git a/composer.lock b/composer.lock
index a5141f9d..9cf5f08f 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1,39 +1,99 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "375f1aa6db349f949ad13cdbe9ddb275",
+ "content-hash": "7c2e9180811d1213f10aedcef74bf8dd",
"packages": [
{
- "name": "clue/stream-filter",
- "version": "v1.4.1",
+ "name": "brick/math",
+ "version": "0.9.3",
"source": {
"type": "git",
- "url": "https://github.com/clue/php-stream-filter.git",
- "reference": "5a58cc30a8bd6a4eb8f856adf61dd3e013f53f71"
+ "url": "https://github.com/brick/math.git",
+ "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/clue/php-stream-filter/zipball/5a58cc30a8bd6a4eb8f856adf61dd3e013f53f71",
- "reference": "5a58cc30a8bd6a4eb8f856adf61dd3e013f53f71",
+ "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae",
+ "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "php-coveralls/php-coveralls": "^2.2",
+ "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0",
+ "vimeo/psalm": "4.9.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Brick\\Math\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Arbitrary-precision arithmetic library",
+ "keywords": [
+ "Arbitrary-precision",
+ "BigInteger",
+ "BigRational",
+ "arithmetic",
+ "bigdecimal",
+ "bignum",
+ "brick",
+ "math"
+ ],
+ "support": {
+ "issues": "https://github.com/brick/math/issues",
+ "source": "https://github.com/brick/math/tree/0.9.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/BenMorel",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/brick/math",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-15T20:50:18+00:00"
+ },
+ {
+ "name": "clue/stream-filter",
+ "version": "v1.6.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/clue/stream-filter.git",
+ "reference": "d6169430c7731d8509da7aecd0af756a5747b78e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/clue/stream-filter/zipball/d6169430c7731d8509da7aecd0af756a5747b78e",
+ "reference": "d6169430c7731d8509da7aecd0af756a5747b78e",
"shasum": ""
},
"require": {
"php": ">=5.3"
},
"require-dev": {
- "phpunit/phpunit": "^5.0 || ^4.8"
+ "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36"
},
"type": "library",
"autoload": {
- "psr-4": {
- "Clue\\StreamFilter\\": "src/"
- },
"files": [
"src/functions_include.php"
- ]
+ ],
+ "psr-4": {
+ "Clue\\StreamFilter\\": "src/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -42,7 +102,7 @@
"authors": [
{
"name": "Christian Lück",
- "email": "christian@lueck.tv"
+ "email": "christian@clue.engineering"
}
],
"description": "A simple and modern approach to stream filtering in PHP",
@@ -56,70 +116,51 @@
"stream_filter_append",
"stream_filter_register"
],
- "time": "2019-04-09T12:31:48+00:00"
- },
- {
- "name": "dnoegel/php-xdg-base-dir",
- "version": "0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/dnoegel/php-xdg-base-dir.git",
- "reference": "265b8593498b997dc2d31e75b89f053b5cc9621a"
+ "support": {
+ "issues": "https://github.com/clue/stream-filter/issues",
+ "source": "https://github.com/clue/stream-filter/tree/v1.6.0"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/265b8593498b997dc2d31e75b89f053b5cc9621a",
- "reference": "265b8593498b997dc2d31e75b89f053b5cc9621a",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "require-dev": {
- "phpunit/phpunit": "@stable"
- },
- "type": "project",
- "autoload": {
- "psr-4": {
- "XdgBaseDir\\": "src/"
+ "funding": [
+ {
+ "url": "https://clue.engineering/support",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/clue",
+ "type": "github"
}
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
],
- "description": "implementation of xdg base directory specification for php",
- "time": "2014-10-24T07:27:01+00:00"
+ "time": "2022-02-21T13:15:14+00:00"
},
{
"name": "doctrine/inflector",
- "version": "v1.3.0",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/doctrine/inflector.git",
- "reference": "5527a48b7313d15261292c149e55e26eae771b0a"
+ "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/inflector/zipball/5527a48b7313d15261292c149e55e26eae771b0a",
- "reference": "5527a48b7313d15261292c149e55e26eae771b0a",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89",
+ "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": "^7.2 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.2"
+ "doctrine/coding-standard": "^8.2",
+ "phpstan/phpstan": "^0.12",
+ "phpstan/phpstan-phpunit": "^0.12",
+ "phpstan/phpstan-strict-rules": "^0.12",
+ "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
+ "vimeo/psalm": "^4.10"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3.x-dev"
- }
- },
"autoload": {
"psr-4": {
- "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector"
+ "Doctrine\\Inflector\\": "lib/Doctrine/Inflector"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -127,6 +168,10 @@
"MIT"
],
"authors": [
+ {
+ "name": "Guilherme Blanco",
+ "email": "guilhermeblanco@gmail.com"
+ },
{
"name": "Roman Borschel",
"email": "roman@code-factory.org"
@@ -135,10 +180,6 @@
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
},
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com"
@@ -148,42 +189,64 @@
"email": "schmittjoh@gmail.com"
}
],
- "description": "Common String Manipulations with regard to casing and singular/plural rules.",
- "homepage": "http://www.doctrine-project.org",
+ "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.",
+ "homepage": "https://www.doctrine-project.org/projects/inflector.html",
"keywords": [
"inflection",
- "pluralize",
- "singularize",
- "string"
+ "inflector",
+ "lowercase",
+ "manipulation",
+ "php",
+ "plural",
+ "singular",
+ "strings",
+ "uppercase",
+ "words"
],
- "time": "2018-01-09T20:05:19+00:00"
+ "support": {
+ "issues": "https://github.com/doctrine/inflector/issues",
+ "source": "https://github.com/doctrine/inflector/tree/2.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-10-22T20:16:43+00:00"
},
{
"name": "doctrine/lexer",
- "version": "1.0.2",
+ "version": "1.2.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/lexer.git",
- "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8"
+ "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/lexer/zipball/1febd6c3ef84253d7c815bed85fc622ad207a9f8",
- "reference": "1febd6c3ef84253d7c815bed85fc622ad207a9f8",
+ "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229",
+ "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229",
"shasum": ""
},
"require": {
- "php": ">=5.3.2"
+ "php": "^7.1 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.5"
+ "doctrine/coding-standard": "^9.0",
+ "phpstan/phpstan": "^1.3",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "vimeo/psalm": "^4.11"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer"
@@ -194,14 +257,14 @@
"MIT"
],
"authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
{
"name": "Guilherme Blanco",
"email": "guilhermeblanco@gmail.com"
},
+ {
+ "name": "Roman Borschel",
+ "email": "roman@code-factory.org"
+ },
{
"name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com"
@@ -216,27 +279,45 @@
"parser",
"php"
],
- "time": "2019-06-08T11:03:04+00:00"
+ "support": {
+ "issues": "https://github.com/doctrine/lexer/issues",
+ "source": "https://github.com/doctrine/lexer/tree/1.2.3"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-02-28T11:07:21+00:00"
},
{
"name": "dragonmantank/cron-expression",
- "version": "v2.3.0",
+ "version": "v2.3.1",
"source": {
"type": "git",
"url": "https://github.com/dragonmantank/cron-expression.git",
- "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27"
+ "reference": "65b2d8ee1f10915efb3b55597da3404f096acba2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/72b6fbf76adb3cf5bc0db68559b33d41219aba27",
- "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27",
+ "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/65b2d8ee1f10915efb3b55597da3404f096acba2",
+ "reference": "65b2d8ee1f10915efb3b55597da3404f096acba2",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": "^7.0|^8.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.4|^7.0"
+ "phpunit/phpunit": "^6.4|^7.0|^8.0|^9.0"
},
"type": "library",
"extra": {
@@ -270,29 +351,40 @@
"cron",
"schedule"
],
- "time": "2019-03-31T00:38:28+00:00"
+ "support": {
+ "issues": "https://github.com/dragonmantank/cron-expression/issues",
+ "source": "https://github.com/dragonmantank/cron-expression/tree/v2.3.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/dragonmantank",
+ "type": "github"
+ }
+ ],
+ "time": "2020-10-13T00:52:37+00:00"
},
{
"name": "egulias/email-validator",
- "version": "2.1.8",
+ "version": "2.1.25",
"source": {
"type": "git",
"url": "https://github.com/egulias/EmailValidator.git",
- "reference": "c26463ff9241f27907112fbcd0c86fa670cfef98"
+ "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/c26463ff9241f27907112fbcd0c86fa670cfef98",
- "reference": "c26463ff9241f27907112fbcd0c86fa670cfef98",
+ "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/0dbf5d78455d4d6a41d186da50adc1122ec066f4",
+ "reference": "0dbf5d78455d4d6a41d186da50adc1122ec066f4",
"shasum": ""
},
"require": {
"doctrine/lexer": "^1.0.1",
- "php": ">= 5.5"
+ "php": ">=5.5",
+ "symfony/polyfill-intl-idn": "^1.10"
},
"require-dev": {
- "dominicsayers/isemail": "dev-master",
- "phpunit/phpunit": "^4.8.35||^5.7||^6.0",
+ "dominicsayers/isemail": "^3.0.7",
+ "phpunit/phpunit": "^4.8.36|^7.5.15",
"satooshi/php-coveralls": "^1.0.1"
},
"suggest": {
@@ -301,12 +393,12 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-master": "2.1.x-dev"
}
},
"autoload": {
"psr-4": {
- "Egulias\\EmailValidator\\": "EmailValidator"
+ "Egulias\\EmailValidator\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -327,75 +419,39 @@
"validation",
"validator"
],
- "time": "2019-05-16T22:02:54+00:00"
- },
- {
- "name": "erusev/parsedown",
- "version": "1.7.3",
- "source": {
- "type": "git",
- "url": "https://github.com/erusev/parsedown.git",
- "reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7"
+ "support": {
+ "issues": "https://github.com/egulias/EmailValidator/issues",
+ "source": "https://github.com/egulias/EmailValidator/tree/2.1.25"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/erusev/parsedown/zipball/6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
- "reference": "6d893938171a817f4e9bc9e86f2da1e370b7bcd7",
- "shasum": ""
- },
- "require": {
- "ext-mbstring": "*",
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.35"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Parsedown": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
+ "funding": [
{
- "name": "Emanuil Rusev",
- "email": "hello@erusev.com",
- "homepage": "http://erusev.com"
+ "url": "https://github.com/egulias",
+ "type": "github"
}
],
- "description": "Parser for Markdown.",
- "homepage": "http://parsedown.org",
- "keywords": [
- "markdown",
- "parser"
- ],
- "time": "2019-03-17T18:48:37+00:00"
+ "time": "2020-12-29T14:50:06+00:00"
},
{
"name": "fideloper/proxy",
- "version": "4.1.0",
+ "version": "4.4.1",
"source": {
"type": "git",
"url": "https://github.com/fideloper/TrustedProxy.git",
- "reference": "177c79a2d1f9970f89ee2fb4c12b429af38b6dfb"
+ "reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/177c79a2d1f9970f89ee2fb4c12b429af38b6dfb",
- "reference": "177c79a2d1f9970f89ee2fb4c12b429af38b6dfb",
+ "url": "https://api.github.com/repos/fideloper/TrustedProxy/zipball/c073b2bd04d1c90e04dc1b787662b558dd65ade0",
+ "reference": "c073b2bd04d1c90e04dc1b787662b558dd65ade0",
"shasum": ""
},
"require": {
- "illuminate/contracts": "~5.0",
+ "illuminate/contracts": "^5.0|^6.0|^7.0|^8.0|^9.0",
"php": ">=5.4.0"
},
"require-dev": {
- "illuminate/http": "~5.6",
- "mockery/mockery": "~1.0",
+ "illuminate/http": "^5.0|^6.0|^7.0|^8.0|^9.0",
+ "mockery/mockery": "^1.0",
"phpunit/phpunit": "^6.0"
},
"type": "library",
@@ -427,42 +483,40 @@
"proxy",
"trusted proxy"
],
- "time": "2019-01-10T14:06:47+00:00"
+ "support": {
+ "issues": "https://github.com/fideloper/TrustedProxy/issues",
+ "source": "https://github.com/fideloper/TrustedProxy/tree/4.4.1"
+ },
+ "time": "2020-10-22T13:48:01+00:00"
},
{
- "name": "graham-campbell/cache-plugin",
- "version": "v1.1.0",
+ "name": "graham-campbell/bounded-cache",
+ "version": "v1.1.3",
"source": {
"type": "git",
- "url": "https://github.com/GrahamCampbell/Cache-Plugin.git",
- "reference": "7090dd5e4a07f5c9c8e8a4ff65c3c57dab536b78"
+ "url": "https://github.com/GrahamCampbell/Bounded-Cache.git",
+ "reference": "cbb12c2d7b2f93f4d8c2a1e46e16fb1e5842c92b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/GrahamCampbell/Cache-Plugin/zipball/7090dd5e4a07f5c9c8e8a4ff65c3c57dab536b78",
- "reference": "7090dd5e4a07f5c9c8e8a4ff65c3c57dab536b78",
+ "url": "https://api.github.com/repos/GrahamCampbell/Bounded-Cache/zipball/cbb12c2d7b2f93f4d8c2a1e46e16fb1e5842c92b",
+ "reference": "cbb12c2d7b2f93f4d8c2a1e46e16fb1e5842c92b",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "php-http/cache-plugin": "^1.6",
- "php-http/client-common": "^1.9|^2.0",
- "php-http/message-factory": "^1.0",
- "psr/cache": "^1.0"
+ "php": "^7.2.5 || ^8.0",
+ "psr/simple-cache": "^1.0"
},
"require-dev": {
- "graham-campbell/analyzer": "^2.1",
- "phpunit/phpunit": "^6.5|^7.0"
+ "graham-campbell/analyzer": "^3.0",
+ "graham-campbell/testbench-core": "^3.1",
+ "mockery/mockery": "^1.3.2",
+ "phpunit/phpunit": "^8.5.8 || ^9.3.7"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
"autoload": {
"psr-4": {
- "GrahamCampbell\\CachePlugin\\": "src/"
+ "GrahamCampbell\\BoundedCache\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -472,58 +526,73 @@
"authors": [
{
"name": "Graham Campbell",
- "email": "graham@alt-three.com"
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
}
],
- "description": "Provides A Simple HTTP Cache Plugin With Good Defaults",
+ "description": "A Bounded TTL PSR-16 Cache Implementation",
"keywords": [
- "Cache Plugin",
- "Cache-Plugin",
+ "Bounded Cache",
+ "Bounded-Cache",
"Graham Campbell",
"GrahamCampbell",
+ "bounded",
"cache",
- "http"
+ "psr16"
],
- "time": "2019-01-27T13:36:25+00:00"
+ "support": {
+ "issues": "https://github.com/GrahamCampbell/Bounded-Cache/issues",
+ "source": "https://github.com/GrahamCampbell/Bounded-Cache/tree/v1.1.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/graham-campbell/bounded-cache",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-11-21T20:48:45+00:00"
},
{
"name": "graham-campbell/github",
- "version": "v7.7.0",
+ "version": "v10.5.0",
"source": {
"type": "git",
"url": "https://github.com/GrahamCampbell/Laravel-GitHub.git",
- "reference": "eb61a055a03a5151cbbeedb3b0a357c4eeb2640d"
+ "reference": "b88f6737bcc088a84ce3ec863a50afbc3ab8e867"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/GrahamCampbell/Laravel-GitHub/zipball/eb61a055a03a5151cbbeedb3b0a357c4eeb2640d",
- "reference": "eb61a055a03a5151cbbeedb3b0a357c4eeb2640d",
+ "url": "https://api.github.com/repos/GrahamCampbell/Laravel-GitHub/zipball/b88f6737bcc088a84ce3ec863a50afbc3ab8e867",
+ "reference": "b88f6737bcc088a84ce3ec863a50afbc3ab8e867",
"shasum": ""
},
"require": {
- "graham-campbell/cache-plugin": "^1.0",
- "graham-campbell/manager": "^4.2",
- "illuminate/contracts": "5.5.*|5.6.*|5.7.*|5.8.*",
- "illuminate/support": "5.5.*|5.6.*|5.7.*|5.8.*",
- "knplabs/github-api": "2.11.*",
- "php": "^7.1.3"
+ "graham-campbell/bounded-cache": "^1.1",
+ "graham-campbell/manager": "^4.7",
+ "illuminate/contracts": "^6.0 || ^7.0 || ^8.0 || ^9.0",
+ "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0",
+ "knplabs/github-api": "3.5.*",
+ "php": "^7.2.5 || ^8.0",
+ "symfony/cache": "^4.3 || ^5.0 || ^6.0"
},
"require-dev": {
- "graham-campbell/analyzer": "^2.1",
- "graham-campbell/testbench": "^5.2",
- "madewithlove/illuminate-psr-cache-bridge": "^1.0",
- "mockery/mockery": "^1.0",
- "php-http/guzzle6-adapter": "^1.0",
- "phpunit/phpunit": "^6.5|^7.0|^8.0"
+ "graham-campbell/analyzer": "^3.0",
+ "graham-campbell/testbench": "^5.7",
+ "guzzlehttp/guzzle": "^7.4",
+ "http-interop/http-factory-guzzle": "^1.0",
+ "lcobucci/jwt": "^3.4 || ^4.0",
+ "mockery/mockery": "^1.3.1",
+ "phpunit/phpunit": "^8.5.8 || ^9.3.7"
},
"suggest": {
- "madewithlove/illuminate-psr-cache-bridge": "Allows caching GitHub HTTP requests"
+ "lcobucci/jwt": "Allows using the private key authenticator (^3.4 || ^4.0)"
},
"type": "library",
"extra": {
- "branch-alias": {
- "dev-master": "7.7-dev"
- },
"laravel": {
"providers": [
"GrahamCampbell\\GitHub\\GitHubServiceProvider"
@@ -542,10 +611,11 @@
"authors": [
{
"name": "Graham Campbell",
- "email": "graham@alt-three.com"
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
}
],
- "description": "GitHub Is A GitHub Bridge For Laravel 5",
+ "description": "GitHub Is A GitHub Bridge For Laravel",
"keywords": [
"Bridge",
"Graham Campbell",
@@ -559,39 +629,48 @@
"laravel",
"php-github-api"
],
- "time": "2019-04-07T11:08:44+00:00"
+ "support": {
+ "issues": "https://github.com/GrahamCampbell/Laravel-GitHub/issues",
+ "source": "https://github.com/GrahamCampbell/Laravel-GitHub/tree/v10.5.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/graham-campbell/github",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-24T03:22:38+00:00"
},
{
"name": "graham-campbell/manager",
- "version": "v4.2.1",
+ "version": "v4.7.0",
"source": {
"type": "git",
"url": "https://github.com/GrahamCampbell/Laravel-Manager.git",
- "reference": "ba3e236392665425723b2b967196aeeabc7f929f"
+ "reference": "b4cafa6491b9c92ecf7ce17521580050a27b8308"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/GrahamCampbell/Laravel-Manager/zipball/ba3e236392665425723b2b967196aeeabc7f929f",
- "reference": "ba3e236392665425723b2b967196aeeabc7f929f",
+ "url": "https://api.github.com/repos/GrahamCampbell/Laravel-Manager/zipball/b4cafa6491b9c92ecf7ce17521580050a27b8308",
+ "reference": "b4cafa6491b9c92ecf7ce17521580050a27b8308",
"shasum": ""
},
"require": {
- "illuminate/contracts": "5.5.*|5.6.*|5.7.*|5.8.*",
- "illuminate/support": "5.5.*|5.6.*|5.7.*|5.8.*",
- "php": "^7.1.3"
+ "illuminate/contracts": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
+ "illuminate/support": "^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
+ "php": "^7.1.3 || ^8.0"
},
"require-dev": {
- "graham-campbell/analyzer": "^2.1",
- "graham-campbell/testbench-core": "^3.0",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.5|^7.0|^8.0"
+ "graham-campbell/analyzer": "^2.4 || ^3.0",
+ "graham-campbell/testbench-core": "^3.4",
+ "mockery/mockery": "^1.3.1",
+ "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.7"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
"autoload": {
"psr-4": {
"GrahamCampbell\\Manager\\": "src/"
@@ -604,10 +683,11 @@
"authors": [
{
"name": "Graham Campbell",
- "email": "graham@alt-three.com"
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
}
],
- "description": "Manager Provides Some Manager Functionality For Laravel 5",
+ "description": "Manager Provides Some Manager Functionality For Laravel",
"keywords": [
"Graham Campbell",
"GrahamCampbell",
@@ -619,39 +699,63 @@
"laravel",
"manager"
],
- "time": "2019-02-16T14:23:38+00:00"
+ "support": {
+ "issues": "https://github.com/GrahamCampbell/Laravel-Manager/issues",
+ "source": "https://github.com/GrahamCampbell/Laravel-Manager/tree/v4.7.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/graham-campbell/manager",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-24T01:59:19+00:00"
},
{
"name": "guzzlehttp/guzzle",
- "version": "6.3.3",
+ "version": "7.4.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
+ "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
- "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ee0a041b1760e6a53d2a39c8c34115adc2af2c79",
+ "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79",
"shasum": ""
},
"require": {
- "guzzlehttp/promises": "^1.0",
- "guzzlehttp/psr7": "^1.4",
- "php": ">=5.5"
+ "ext-json": "*",
+ "guzzlehttp/promises": "^1.5",
+ "guzzlehttp/psr7": "^1.8.3 || ^2.1",
+ "php": "^7.2.5 || ^8.0",
+ "psr/http-client": "^1.0",
+ "symfony/deprecation-contracts": "^2.2 || ^3.0"
+ },
+ "provide": {
+ "psr/http-client-implementation": "1.0"
},
"require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
"ext-curl": "*",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
- "psr/log": "^1.0"
+ "php-http/client-integration-tests": "^3.0",
+ "phpunit/phpunit": "^8.5.5 || ^9.3.5",
+ "psr/log": "^1.1 || ^2.0 || ^3.0"
},
"suggest": {
+ "ext-curl": "Required for CURL handler support",
+ "ext-intl": "Required for Internationalized Domain Name (IDN) support",
"psr/log": "Required for using the Log middleware"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "6.3-dev"
+ "dev-master": "7.4-dev"
}
},
"autoload": {
@@ -667,100 +771,93 @@
"MIT"
],
"authors": [
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
+ },
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "Jeremy Lindblom",
+ "email": "jeremeamia@gmail.com",
+ "homepage": "https://github.com/jeremeamia"
+ },
+ {
+ "name": "George Mponos",
+ "email": "gmponos@gmail.com",
+ "homepage": "https://github.com/gmponos"
+ },
+ {
+ "name": "Tobias Nyholm",
+ "email": "tobias.nyholm@gmail.com",
+ "homepage": "https://github.com/Nyholm"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com",
+ "homepage": "https://github.com/sagikazarmark"
+ },
+ {
+ "name": "Tobias Schultze",
+ "email": "webmaster@tubo-world.de",
+ "homepage": "https://github.com/Tobion"
}
],
"description": "Guzzle is a PHP HTTP client library",
- "homepage": "http://guzzlephp.org/",
"keywords": [
"client",
"curl",
"framework",
"http",
"http client",
+ "psr-18",
+ "psr-7",
"rest",
"web service"
],
- "time": "2018-04-22T15:46:56+00:00"
+ "support": {
+ "issues": "https://github.com/guzzle/guzzle/issues",
+ "source": "https://github.com/guzzle/guzzle/tree/7.4.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-12-06T18:43:05+00:00"
},
{
"name": "guzzlehttp/promises",
- "version": "v1.3.1",
+ "version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
+ "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
- "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
+ "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
"shasum": ""
},
"require": {
- "php": ">=5.5.0"
+ "php": ">=5.5"
},
"require-dev": {
- "phpunit/phpunit": "^4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- },
- "files": [
- "src/functions_include.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "time": "2016-12-20T10:07:11+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "1.5.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "9f83dded91781a01c63574e387eaa769be769115"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/9f83dded91781a01c63574e387eaa769be769115",
- "reference": "9f83dded91781a01c63574e387eaa769be769115",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0",
- "psr/http-message": "~1.0",
- "ralouphie/getallheaders": "^2.0.5"
- },
- "provide": {
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
+ "symfony/phpunit-bridge": "^4.4 || ^5.1"
},
"type": "library",
"extra": {
@@ -769,28 +866,147 @@
}
},
"autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- },
"files": [
"src/functions_include.php"
- ]
+ ],
+ "psr-4": {
+ "GuzzleHttp\\Promise\\": "src/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
+ },
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
+ {
+ "name": "Tobias Nyholm",
+ "email": "tobias.nyholm@gmail.com",
+ "homepage": "https://github.com/Nyholm"
+ },
{
"name": "Tobias Schultze",
+ "email": "webmaster@tubo-world.de",
"homepage": "https://github.com/Tobion"
}
],
+ "description": "Guzzle promises library",
+ "keywords": [
+ "promise"
+ ],
+ "support": {
+ "issues": "https://github.com/guzzle/promises/issues",
+ "source": "https://github.com/guzzle/promises/tree/1.5.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-10-22T20:56:57+00:00"
+ },
+ {
+ "name": "guzzlehttp/psr7",
+ "version": "2.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/guzzle/psr7.git",
+ "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/089edd38f5b8abba6cb01567c2a8aaa47cec4c72",
+ "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.2.5 || ^8.0",
+ "psr/http-factory": "^1.0",
+ "psr/http-message": "^1.0",
+ "ralouphie/getallheaders": "^3.0"
+ },
+ "provide": {
+ "psr/http-factory-implementation": "1.0",
+ "psr/http-message-implementation": "1.0"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "http-interop/http-factory-tests": "^0.9",
+ "phpunit/phpunit": "^8.5.8 || ^9.3.10"
+ },
+ "suggest": {
+ "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "GuzzleHttp\\Psr7\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
+ },
+ {
+ "name": "Michael Dowling",
+ "email": "mtdowling@gmail.com",
+ "homepage": "https://github.com/mtdowling"
+ },
+ {
+ "name": "George Mponos",
+ "email": "gmponos@gmail.com",
+ "homepage": "https://github.com/gmponos"
+ },
+ {
+ "name": "Tobias Nyholm",
+ "email": "tobias.nyholm@gmail.com",
+ "homepage": "https://github.com/Nyholm"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com",
+ "homepage": "https://github.com/sagikazarmark"
+ },
+ {
+ "name": "Tobias Schultze",
+ "email": "webmaster@tubo-world.de",
+ "homepage": "https://github.com/Tobion"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com",
+ "homepage": "https://sagikazarmark.hu"
+ }
+ ],
"description": "PSR-7 message implementation that also provides common utility methods",
"keywords": [
"http",
@@ -802,131 +1018,72 @@
"uri",
"url"
],
- "time": "2018-12-04T20:46:45+00:00"
- },
- {
- "name": "jakub-onderka/php-console-color",
- "version": "v0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Console-Color.git",
- "reference": "d5deaecff52a0d61ccb613bb3804088da0307191"
+ "support": {
+ "issues": "https://github.com/guzzle/psr7/issues",
+ "source": "https://github.com/guzzle/psr7/tree/2.1.0"
},
- "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.*"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "JakubOnderka\\PhpConsoleColor\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
+ "funding": [
{
- "name": "Jakub Onderka",
- "email": "jakub.onderka@gmail.com"
- }
- ],
- "time": "2018-09-29T17:23:10+00:00"
- },
- {
- "name": "jakub-onderka/php-console-highlighter",
- "version": "v0.4",
- "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"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "JakubOnderka\\PhpConsoleHighlighter\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
{
- "name": "Jakub Onderka",
- "email": "acci@acci.cz",
- "homepage": "http://www.acci.cz/"
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
+ "type": "tidelift"
}
],
- "description": "Highlight PHP code in terminal",
- "time": "2018-09-29T18:48:56+00:00"
+ "time": "2021-10-06T17:43:30+00:00"
},
{
"name": "knplabs/github-api",
- "version": "2.11.0",
+ "version": "v3.5.1",
"source": {
"type": "git",
"url": "https://github.com/KnpLabs/php-github-api.git",
- "reference": "7e67b4ccf9ef62fbd6321a314c61d3202c07b855"
+ "reference": "37b167998e8e1f318b3d99633675cfa007540565"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/7e67b4ccf9ef62fbd6321a314c61d3202c07b855",
- "reference": "7e67b4ccf9ef62fbd6321a314c61d3202c07b855",
+ "url": "https://api.github.com/repos/KnpLabs/php-github-api/zipball/37b167998e8e1f318b3d99633675cfa007540565",
+ "reference": "37b167998e8e1f318b3d99633675cfa007540565",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0",
- "php-http/cache-plugin": "^1.4",
- "php-http/client-common": "^1.6",
- "php-http/client-implementation": "^1.0",
- "php-http/discovery": "^1.0",
- "php-http/httplug": "^1.1",
- "psr/cache": "^1.0",
- "psr/http-message": "^1.0"
+ "ext-json": "*",
+ "php": "^7.2.5 || ^8.0",
+ "php-http/cache-plugin": "^1.7.1",
+ "php-http/client-common": "^2.3",
+ "php-http/discovery": "^1.12",
+ "php-http/httplug": "^2.2",
+ "php-http/multipart-stream-builder": "^1.1.2",
+ "psr/cache": "^1.0|^2.0|^3.0",
+ "psr/http-client-implementation": "^1.0",
+ "psr/http-factory-implementation": "^1.0",
+ "psr/http-message": "^1.0",
+ "symfony/deprecation-contracts": "^2.2|^3.0",
+ "symfony/polyfill-php80": "^1.17"
},
"require-dev": {
- "cache/array-adapter": "^0.4",
- "guzzlehttp/psr7": "^1.2",
- "php-http/guzzle6-adapter": "^1.0",
- "php-http/mock-client": "^1.0",
- "phpunit/phpunit": "^5.5 || ^6.0"
+ "guzzlehttp/guzzle": "^7.2",
+ "guzzlehttp/psr7": "^1.7",
+ "http-interop/http-factory-guzzle": "^1.0",
+ "php-http/mock-client": "^1.4.1",
+ "phpstan/extension-installer": "^1.0.5",
+ "phpstan/phpstan": "^0.12.57",
+ "phpstan/phpstan-deprecation-rules": "^0.12.5",
+ "phpunit/phpunit": "^8.5 || ^9.4",
+ "symfony/cache": "^5.1.8",
+ "symfony/phpunit-bridge": "^5.2"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.11.x-dev"
+ "dev-2.x": "2.20.x-dev",
+ "dev-master": "3.4.x-dev"
}
},
"autoload": {
@@ -939,14 +1096,14 @@
"MIT"
],
"authors": [
+ {
+ "name": "KnpLabs Team",
+ "homepage": "http://knplabs.com"
+ },
{
"name": "Thibault Duplessis",
"email": "thibault.duplessis@gmail.com",
"homepage": "http://ornicar.github.com"
- },
- {
- "name": "KnpLabs Team",
- "homepage": "http://knplabs.com"
}
],
"description": "GitHub API v3 client",
@@ -957,98 +1114,69 @@
"gist",
"github"
],
- "time": "2019-01-28T19:31:35+00:00"
- },
- {
- "name": "kylekatarnls/update-helper",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/kylekatarnls/update-helper.git",
- "reference": "b34a46d7f5ec1795b4a15ac9d46b884377262df9"
+ "support": {
+ "issues": "https://github.com/KnpLabs/php-github-api/issues",
+ "source": "https://github.com/KnpLabs/php-github-api/tree/v3.5.1"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/kylekatarnls/update-helper/zipball/b34a46d7f5ec1795b4a15ac9d46b884377262df9",
- "reference": "b34a46d7f5ec1795b4a15ac9d46b884377262df9",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.1.0",
- "php": ">=5.3.0"
- },
- "require-dev": {
- "codeclimate/php-test-reporter": "dev-master",
- "composer/composer": "^2.0.x-dev",
- "phpunit/phpunit": ">=4.8.35 <6.0"
- },
- "type": "composer-plugin",
- "extra": {
- "class": "UpdateHelper\\ComposerPlugin"
- },
- "autoload": {
- "psr-0": {
- "UpdateHelper\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
+ "funding": [
{
- "name": "Kyle",
- "email": "kylekatarnls@gmail.com"
+ "url": "https://github.com/acrobat",
+ "type": "github"
}
],
- "description": "Update helper",
- "time": "2019-06-05T08:34:23+00:00"
+ "time": "2022-02-19T11:15:46+00:00"
},
{
"name": "laravel/framework",
- "version": "v5.7.28",
+ "version": "v7.30.6",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "8e69728f1c80a024588adbd24c65c4fcf9aa9192"
+ "reference": "ecdafad1dda3c790af186a6d18479ea4757ef9ee"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/8e69728f1c80a024588adbd24c65c4fcf9aa9192",
- "reference": "8e69728f1c80a024588adbd24c65c4fcf9aa9192",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/ecdafad1dda3c790af186a6d18479ea4757ef9ee",
+ "reference": "ecdafad1dda3c790af186a6d18479ea4757ef9ee",
"shasum": ""
},
"require": {
- "doctrine/inflector": "^1.1",
- "dragonmantank/cron-expression": "^2.0",
- "erusev/parsedown": "^1.7",
+ "doctrine/inflector": "^1.4|^2.0",
+ "dragonmantank/cron-expression": "^2.3.1",
+ "egulias/email-validator": "^2.1.10",
+ "ext-json": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
- "laravel/nexmo-notification-channel": "^1.0",
- "laravel/slack-notification-channel": "^1.0",
- "league/flysystem": "^1.0.8",
- "monolog/monolog": "^1.12",
- "nesbot/carbon": "^1.26.3",
- "opis/closure": "^3.1",
- "php": "^7.1.3",
+ "league/commonmark": "^1.3",
+ "league/flysystem": "^1.1",
+ "monolog/monolog": "^2.0",
+ "nesbot/carbon": "^2.31",
+ "opis/closure": "^3.6",
+ "php": "^7.2.5|^8.0",
"psr/container": "^1.0",
"psr/simple-cache": "^1.0",
- "ramsey/uuid": "^3.7",
+ "ramsey/uuid": "^3.7|^4.0",
"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"
+ "symfony/console": "^5.0",
+ "symfony/error-handler": "^5.0",
+ "symfony/finder": "^5.0",
+ "symfony/http-foundation": "^5.0",
+ "symfony/http-kernel": "^5.0",
+ "symfony/mime": "^5.0",
+ "symfony/polyfill-php73": "^1.17",
+ "symfony/process": "^5.0",
+ "symfony/routing": "^5.0",
+ "symfony/var-dumper": "^5.0",
+ "tijsverkoyen/css-to-inline-styles": "^2.2.2",
+ "vlucas/phpdotenv": "^4.0",
+ "voku/portable-ascii": "^1.4.8"
},
"conflict": {
"tightenco/collect": "<5.5.33"
},
+ "provide": {
+ "psr/container-implementation": "1.0"
+ },
"replace": {
"illuminate/auth": "self.version",
"illuminate/broadcasting": "self.version",
@@ -1075,52 +1203,58 @@
"illuminate/routing": "self.version",
"illuminate/session": "self.version",
"illuminate/support": "self.version",
+ "illuminate/testing": "self.version",
"illuminate/translation": "self.version",
"illuminate/validation": "self.version",
"illuminate/view": "self.version"
},
"require-dev": {
- "aws/aws-sdk-php": "^3.0",
+ "aws/aws-sdk-php": "^3.155",
"doctrine/dbal": "^2.6",
- "filp/whoops": "^2.1.4",
- "guzzlehttp/guzzle": "^6.3",
+ "filp/whoops": "^2.8",
+ "guzzlehttp/guzzle": "^6.3.1|^7.0.1",
"league/flysystem-cached-adapter": "^1.0",
- "mockery/mockery": "^1.0",
+ "mockery/mockery": "~1.3.3|^1.4.2",
"moontoast/math": "^1.1",
- "orchestra/testbench-core": "3.7.*",
- "pda/pheanstalk": "^3.0|^4.0",
- "phpunit/phpunit": "^7.5",
+ "orchestra/testbench-core": "^5.8",
+ "pda/pheanstalk": "^4.0",
+ "phpunit/phpunit": "^8.4|^9.3.3",
"predis/predis": "^1.1.1",
- "symfony/css-selector": "^4.1",
- "symfony/dom-crawler": "^4.1",
- "true/punycode": "^2.1"
+ "symfony/cache": "^5.0"
},
"suggest": {
- "aws/aws-sdk-php": "Required to use the SQS queue driver and SES mail driver (^3.0).",
+ "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).",
+ "ext-ftp": "Required to use the Flysystem FTP driver.",
+ "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",
+ "ext-memcached": "Required to use the memcache cache driver.",
"ext-pcntl": "Required to use all features of the queue worker.",
"ext-posix": "Required to use all features of the queue worker.",
- "filp/whoops": "Required for friendly error pages in development (^2.1.4).",
- "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).",
+ "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",
+ "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
+ "filp/whoops": "Required for friendly error pages in development (^2.8).",
+ "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.3.1|^7.0.1).",
+ "laravel/tinker": "Required to use the tinker console command (^2.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).",
+ "mockery/mockery": "Required to use mocking (~1.3.3|^1.4.2).",
"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|^4.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)."
+ "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).",
+ "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).",
+ "phpunit/phpunit": "Required to use assertions and run tests (^8.4|^9.3.3).",
+ "predis/predis": "Required to use the predis connector (^1.1.2).",
+ "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
+ "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).",
+ "symfony/cache": "Required to PSR-6 cache bridge (^5.0).",
+ "symfony/filesystem": "Required to create relative storage directory symbolic links (^5.0).",
+ "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).",
+ "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)."
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.7-dev"
+ "dev-master": "7.x-dev"
}
},
"autoload": {
@@ -1148,154 +1282,45 @@
"framework",
"laravel"
],
- "time": "2019-02-26T15:41:34+00:00"
- },
- {
- "name": "laravel/nexmo-notification-channel",
- "version": "v1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/laravel/nexmo-notification-channel.git",
- "reference": "03edd42a55b306ff980c9950899d5a2b03260d48"
+ "support": {
+ "issues": "https://github.com/laravel/framework/issues",
+ "source": "https://github.com/laravel/framework"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/laravel/nexmo-notification-channel/zipball/03edd42a55b306ff980c9950899d5a2b03260d48",
- "reference": "03edd42a55b306ff980c9950899d5a2b03260d48",
- "shasum": ""
- },
- "require": {
- "nexmo/client": "^1.0",
- "php": "^7.1.3"
- },
- "require-dev": {
- "illuminate/notifications": "~5.7",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- },
- "laravel": {
- "providers": [
- "Illuminate\\Notifications\\NexmoChannelServiceProvider"
- ]
- }
- },
- "autoload": {
- "psr-4": {
- "Illuminate\\Notifications\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
- }
- ],
- "description": "Nexmo Notification Channel for laravel.",
- "keywords": [
- "laravel",
- "nexmo",
- "notifications"
- ],
- "time": "2018-12-04T12:57:08+00:00"
- },
- {
- "name": "laravel/slack-notification-channel",
- "version": "v1.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/laravel/slack-notification-channel.git",
- "reference": "6e164293b754a95f246faf50ab2bbea3e4923cc9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/laravel/slack-notification-channel/zipball/6e164293b754a95f246faf50ab2bbea3e4923cc9",
- "reference": "6e164293b754a95f246faf50ab2bbea3e4923cc9",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "^6.0",
- "php": "^7.1.3"
- },
- "require-dev": {
- "illuminate/notifications": "~5.7",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- },
- "laravel": {
- "providers": [
- "Illuminate\\Notifications\\SlackChannelServiceProvider"
- ]
- }
- },
- "autoload": {
- "psr-4": {
- "Illuminate\\Notifications\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
- }
- ],
- "description": "Slack Notification Channel for laravel.",
- "keywords": [
- "laravel",
- "notifications",
- "slack"
- ],
- "time": "2018-12-12T13:12:06+00:00"
+ "time": "2021-12-07T14:56:47+00:00"
},
{
"name": "laravel/tinker",
- "version": "v1.0.8",
+ "version": "v2.7.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/tinker.git",
- "reference": "cafbf598a90acde68985660e79b2b03c5609a405"
+ "reference": "5f2f9815b7631b9f586a3de7933c25f9327d4073"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/tinker/zipball/cafbf598a90acde68985660e79b2b03c5609a405",
- "reference": "cafbf598a90acde68985660e79b2b03c5609a405",
+ "url": "https://api.github.com/repos/laravel/tinker/zipball/5f2f9815b7631b9f586a3de7933c25f9327d4073",
+ "reference": "5f2f9815b7631b9f586a3de7933c25f9327d4073",
"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"
+ "illuminate/console": "^6.0|^7.0|^8.0|^9.0",
+ "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0",
+ "illuminate/support": "^6.0|^7.0|^8.0|^9.0",
+ "php": "^7.2.5|^8.0",
+ "psy/psysh": "^0.10.4|^0.11.1",
+ "symfony/var-dumper": "^4.3.4|^5.0|^6.0"
},
"require-dev": {
- "phpunit/phpunit": "~4.0|~5.0"
+ "mockery/mockery": "~1.3.3|^1.4.2",
+ "phpunit/phpunit": "^8.5.8|^9.3.3"
},
"suggest": {
- "illuminate/database": "The Illuminate Database package (~5.1)."
+ "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0)."
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0-dev"
+ "dev-master": "2.x-dev"
},
"laravel": {
"providers": [
@@ -1325,39 +1350,98 @@
"laravel",
"psysh"
],
- "time": "2018-10-12T19:39:35+00:00"
+ "support": {
+ "issues": "https://github.com/laravel/tinker/issues",
+ "source": "https://github.com/laravel/tinker/tree/v2.7.0"
+ },
+ "time": "2022-01-10T08:52:49+00:00"
},
{
- "name": "laravelcollective/html",
- "version": "v5.7.1",
+ "name": "laravel/ui",
+ "version": "v2.5.0",
"source": {
"type": "git",
- "url": "https://github.com/LaravelCollective/html.git",
- "reference": "777b6d390811ba249255ed5750bf17a019cd88a5"
+ "url": "https://github.com/laravel/ui.git",
+ "reference": "d01a705763c243b07be795e9d1bb47f89260f73d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/LaravelCollective/html/zipball/777b6d390811ba249255ed5750bf17a019cd88a5",
- "reference": "777b6d390811ba249255ed5750bf17a019cd88a5",
+ "url": "https://api.github.com/repos/laravel/ui/zipball/d01a705763c243b07be795e9d1bb47f89260f73d",
+ "reference": "d01a705763c243b07be795e9d1bb47f89260f73d",
"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"
+ "illuminate/console": "^7.0",
+ "illuminate/filesystem": "^7.0",
+ "illuminate/support": "^7.0",
+ "php": "^7.2.5|^8.0"
+ },
+ "type": "library",
+ "extra": {
+ "laravel": {
+ "providers": [
+ "Laravel\\Ui\\UiServiceProvider"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Laravel\\Ui\\": "src/",
+ "Illuminate\\Foundation\\Auth\\": "auth-backend/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Taylor Otwell",
+ "email": "taylor@laravel.com"
+ }
+ ],
+ "description": "Laravel UI utilities and presets.",
+ "keywords": [
+ "laravel",
+ "ui"
+ ],
+ "support": {
+ "issues": "https://github.com/laravel/ui/issues",
+ "source": "https://github.com/laravel/ui/tree/v2.5.0"
+ },
+ "time": "2020-11-03T19:45:19+00:00"
+ },
+ {
+ "name": "laravelcollective/html",
+ "version": "v6.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/LaravelCollective/html.git",
+ "reference": "78c3cb516ac9e6d3d76cad9191f81d217302dea6"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/LaravelCollective/html/zipball/78c3cb516ac9e6d3d76cad9191f81d217302dea6",
+ "reference": "78c3cb516ac9e6d3d76cad9191f81d217302dea6",
+ "shasum": ""
+ },
+ "require": {
+ "illuminate/http": "^6.0|^7.0|^8.0|^9.0",
+ "illuminate/routing": "^6.0|^7.0|^8.0|^9.0",
+ "illuminate/session": "^6.0|^7.0|^8.0|^9.0",
+ "illuminate/support": "^6.0|^7.0|^8.0|^9.0",
+ "illuminate/view": "^6.0|^7.0|^8.0|^9.0",
+ "php": ">=7.2.5"
},
"require-dev": {
- "illuminate/database": "5.7.*",
+ "illuminate/database": "^6.0|^7.0|^8.0|^9.0",
"mockery/mockery": "~1.0",
- "phpunit/phpunit": "~7.1"
+ "phpunit/phpunit": "~8.5|^9.5.10"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.7-dev"
+ "dev-master": "6.x-dev"
},
"laravel": {
"providers": [
@@ -1370,66 +1454,76 @@
}
},
"autoload": {
- "psr-4": {
- "Collective\\Html\\": "src/"
- },
"files": [
"src/helpers.php"
- ]
+ ],
+ "psr-4": {
+ "Collective\\Html\\": "src/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
- {
- "name": "Taylor Otwell",
- "email": "taylorotwell@gmail.com"
- },
{
"name": "Adam Engebretson",
"email": "adam@laravelcollective.com"
+ },
+ {
+ "name": "Taylor Otwell",
+ "email": "taylorotwell@gmail.com"
}
],
"description": "HTML and Form Builders for the Laravel Framework",
"homepage": "https://laravelcollective.com",
- "time": "2018-09-05T18:32:53+00:00"
+ "support": {
+ "issues": "https://github.com/LaravelCollective/html/issues",
+ "source": "https://github.com/LaravelCollective/html"
+ },
+ "time": "2022-02-08T21:02:54+00:00"
},
{
- "name": "lcobucci/jwt",
- "version": "3.3.1",
+ "name": "league/commonmark",
+ "version": "1.6.7",
"source": {
"type": "git",
- "url": "https://github.com/lcobucci/jwt.git",
- "reference": "a11ec5f4b4d75d1fcd04e133dede4c317aac9e18"
+ "url": "https://github.com/thephpleague/commonmark.git",
+ "reference": "2b8185c13bc9578367a5bf901881d1c1b5bbd09b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/lcobucci/jwt/zipball/a11ec5f4b4d75d1fcd04e133dede4c317aac9e18",
- "reference": "a11ec5f4b4d75d1fcd04e133dede4c317aac9e18",
+ "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/2b8185c13bc9578367a5bf901881d1c1b5bbd09b",
+ "reference": "2b8185c13bc9578367a5bf901881d1c1b5bbd09b",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
- "ext-openssl": "*",
- "php": "^5.6 || ^7.0"
+ "php": "^7.1 || ^8.0"
+ },
+ "conflict": {
+ "scrutinizer/ocular": "1.7.*"
},
"require-dev": {
- "mikey179/vfsstream": "~1.5",
- "phpmd/phpmd": "~2.2",
- "phpunit/php-invoker": "~1.1",
- "phpunit/phpunit": "^5.7 || ^7.3",
- "squizlabs/php_codesniffer": "~2.3"
+ "cebe/markdown": "~1.0",
+ "commonmark/commonmark.js": "0.29.2",
+ "erusev/parsedown": "~1.0",
+ "ext-json": "*",
+ "github/gfm": "0.29.0",
+ "michelf/php-markdown": "~1.4",
+ "mikehaertl/php-shellcommand": "^1.4",
+ "phpstan/phpstan": "^0.12.90",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.2",
+ "scrutinizer/ocular": "^1.5",
+ "symfony/finder": "^4.2"
},
+ "bin": [
+ "bin/commonmark"
+ ],
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1-dev"
- }
- },
"autoload": {
"psr-4": {
- "Lcobucci\\JWT\\": "src"
+ "League\\CommonMark\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1438,45 +1532,77 @@
],
"authors": [
{
- "name": "Luís Otávio Cobucci Oblonczyk",
- "email": "lcobucci@gmail.com",
- "role": "Developer"
+ "name": "Colin O'Dell",
+ "email": "colinodell@gmail.com",
+ "homepage": "https://www.colinodell.com",
+ "role": "Lead Developer"
}
],
- "description": "A simple library to work with JSON Web Token and JSON Web Signature",
+ "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and Github-Flavored Markdown (GFM)",
+ "homepage": "https://commonmark.thephpleague.com",
"keywords": [
- "JWS",
- "jwt"
+ "commonmark",
+ "flavored",
+ "gfm",
+ "github",
+ "github-flavored",
+ "markdown",
+ "md",
+ "parser"
],
- "time": "2019-05-24T18:30:49+00:00"
+ "support": {
+ "docs": "https://commonmark.thephpleague.com/",
+ "issues": "https://github.com/thephpleague/commonmark/issues",
+ "rss": "https://github.com/thephpleague/commonmark/releases.atom",
+ "source": "https://github.com/thephpleague/commonmark"
+ },
+ "funding": [
+ {
+ "url": "https://www.colinodell.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.paypal.me/colinpodell/10.00",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/colinodell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/league/commonmark",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-13T17:18:13+00:00"
},
{
"name": "league/flysystem",
- "version": "1.0.52",
+ "version": "1.1.9",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "c5a5097156387970e6f0ccfcdf03f752856f3391"
+ "reference": "094defdb4a7001845300334e7c1ee2335925ef99"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/c5a5097156387970e6f0ccfcdf03f752856f3391",
- "reference": "c5a5097156387970e6f0ccfcdf03f752856f3391",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99",
+ "reference": "094defdb4a7001845300334e7c1ee2335925ef99",
"shasum": ""
},
"require": {
"ext-fileinfo": "*",
- "php": ">=5.5.9"
+ "league/mime-type-detection": "^1.3",
+ "php": "^7.2.5 || ^8.0"
},
"conflict": {
"league/flysystem-sftp": "<1.0.6"
},
"require-dev": {
- "phpspec/phpspec": "^3.4",
- "phpunit/phpunit": "^5.7.10"
+ "phpspec/prophecy": "^1.11.1",
+ "phpunit/phpunit": "^8.5.8"
},
"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",
@@ -1532,59 +1658,132 @@
"sftp",
"storage"
],
- "time": "2019-05-20T20:21:14+00:00"
+ "support": {
+ "issues": "https://github.com/thephpleague/flysystem/issues",
+ "source": "https://github.com/thephpleague/flysystem/tree/1.1.9"
+ },
+ "funding": [
+ {
+ "url": "https://offset.earth/frankdejonge",
+ "type": "other"
+ }
+ ],
+ "time": "2021-12-09T09:40:50+00:00"
},
{
- "name": "monolog/monolog",
- "version": "1.24.0",
+ "name": "league/mime-type-detection",
+ "version": "1.9.0",
"source": {
"type": "git",
- "url": "https://github.com/Seldaek/monolog.git",
- "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266"
+ "url": "https://github.com/thephpleague/mime-type-detection.git",
+ "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
- "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
+ "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc927863d47309b4c23e69",
+ "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69",
"shasum": ""
},
"require": {
- "php": ">=5.3.0",
- "psr/log": "~1.0"
+ "ext-fileinfo": "*",
+ "php": "^7.2 || ^8.0"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^3.2",
+ "phpstan/phpstan": "^0.12.68",
+ "phpunit/phpunit": "^8.5.8 || ^9.3"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "League\\MimeTypeDetection\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Frank de Jonge",
+ "email": "info@frankdejonge.nl"
+ }
+ ],
+ "description": "Mime-type detection for Flysystem",
+ "support": {
+ "issues": "https://github.com/thephpleague/mime-type-detection/issues",
+ "source": "https://github.com/thephpleague/mime-type-detection/tree/1.9.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/frankdejonge",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/league/flysystem",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-11-21T11:48:40+00:00"
+ },
+ {
+ "name": "monolog/monolog",
+ "version": "2.3.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Seldaek/monolog.git",
+ "reference": "fd4380d6fc37626e2f799f29d91195040137eba9"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9",
+ "reference": "fd4380d6fc37626e2f799f29d91195040137eba9",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2",
+ "psr/log": "^1.0.1 || ^2.0 || ^3.0"
},
"provide": {
- "psr/log-implementation": "1.0.0"
+ "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0"
},
"require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
"doctrine/couchdb": "~1.0@dev",
- "graylog2/gelf-php": "~1.0",
- "jakub-onderka/php-parallel-lint": "0.9",
- "php-amqplib/php-amqplib": "~2.4",
+ "elasticsearch/elasticsearch": "^7",
+ "graylog2/gelf-php": "^1.4.2",
+ "mongodb/mongodb": "^1.8",
+ "php-amqplib/php-amqplib": "~2.4 || ^3",
"php-console/php-console": "^3.1.3",
- "phpunit/phpunit": "~4.5",
- "phpunit/phpunit-mock-objects": "2.3.0",
- "ruflin/elastica": ">=0.90 <3.0",
- "sentry/sentry": "^0.13",
+ "phpspec/prophecy": "^1.6.1",
+ "phpstan/phpstan": "^0.12.91",
+ "phpunit/phpunit": "^8.5",
+ "predis/predis": "^1.1",
+ "rollbar/rollbar": "^1.3",
+ "ruflin/elastica": ">=0.90@dev",
"swiftmailer/swiftmailer": "^5.3|^6.0"
},
"suggest": {
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
"doctrine/couchdb": "Allow sending log messages to a CouchDB server",
+ "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
- "ext-mongo": "Allow sending log messages to a MongoDB server",
+ "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler",
+ "ext-mbstring": "Allow to work properly with unicode symbols",
+ "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
+ "ext-openssl": "Required to send log messages using SSL",
+ "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)",
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
- "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
+ "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
"php-console/php-console": "Allow sending log messages to Google Chrome",
"rollbar/rollbar": "Allow sending log messages to Rollbar",
- "ruflin/elastica": "Allow sending log messages to an Elastic Search server",
- "sentry/sentry": "Allow sending log messages to a Sentry server"
+ "ruflin/elastica": "Allow sending log messages to an Elastic Search server"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0.x-dev"
+ "dev-main": "2.x-dev"
}
},
"autoload": {
@@ -1600,57 +1799,87 @@
{
"name": "Jordi Boggiano",
"email": "j.boggiano@seld.be",
- "homepage": "http://seld.be"
+ "homepage": "https://seld.be"
}
],
"description": "Sends your logs to files, sockets, inboxes, databases and various web services",
- "homepage": "http://github.com/Seldaek/monolog",
+ "homepage": "https://github.com/Seldaek/monolog",
"keywords": [
"log",
"logging",
"psr-3"
],
- "time": "2018-11-05T09:00:11+00:00"
+ "support": {
+ "issues": "https://github.com/Seldaek/monolog/issues",
+ "source": "https://github.com/Seldaek/monolog/tree/2.3.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/Seldaek",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/monolog/monolog",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-10-01T21:08:31+00:00"
},
{
"name": "nesbot/carbon",
- "version": "1.38.4",
+ "version": "2.57.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "8dd4172bfe1784952c4d58c4db725d183b1c23ad"
+ "reference": "4a54375c21eea4811dbd1149fe6b246517554e78"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8dd4172bfe1784952c4d58c4db725d183b1c23ad",
- "reference": "8dd4172bfe1784952c4d58c4db725d183b1c23ad",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4a54375c21eea4811dbd1149fe6b246517554e78",
+ "reference": "4a54375c21eea4811dbd1149fe6b246517554e78",
"shasum": ""
},
"require": {
- "kylekatarnls/update-helper": "^1.1",
- "php": ">=5.3.9",
- "symfony/translation": "~2.6 || ~3.0 || ~4.0"
+ "ext-json": "*",
+ "php": "^7.1.8 || ^8.0",
+ "symfony/polyfill-mbstring": "^1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
- "composer/composer": "^1.2",
- "friendsofphp/php-cs-fixer": "~2",
- "phpunit/phpunit": "^4.8.35 || ^5.7"
+ "doctrine/dbal": "^2.0 || ^3.0",
+ "doctrine/orm": "^2.7",
+ "friendsofphp/php-cs-fixer": "^3.0",
+ "kylekatarnls/multi-tester": "^2.0",
+ "phpmd/phpmd": "^2.9",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12.54 || ^1.0",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.14",
+ "squizlabs/php_codesniffer": "^3.4"
},
"bin": [
- "bin/upgrade-carbon"
+ "bin/carbon"
],
"type": "library",
"extra": {
- "update-helper": "Carbon\\Upgrade",
+ "branch-alias": {
+ "dev-3.x": "3.x-dev",
+ "dev-master": "2.x-dev"
+ },
"laravel": {
"providers": [
"Carbon\\Laravel\\ServiceProvider"
]
+ },
+ "phpstan": {
+ "includes": [
+ "extension.neon"
+ ]
}
},
"autoload": {
"psr-4": {
- "": "src/"
+ "Carbon\\": "src/Carbon/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -1661,78 +1890,49 @@
{
"name": "Brian Nesbitt",
"email": "brian@nesbot.com",
- "homepage": "http://nesbot.com"
+ "homepage": "https://markido.com"
+ },
+ {
+ "name": "kylekatarnls",
+ "homepage": "https://github.com/kylekatarnls"
}
],
- "description": "A simple API extension for DateTime.",
- "homepage": "http://carbon.nesbot.com",
+ "description": "An API extension for DateTime that supports 281 different languages.",
+ "homepage": "https://carbon.nesbot.com",
"keywords": [
"date",
"datetime",
"time"
],
- "time": "2019-06-03T15:41:40+00:00"
- },
- {
- "name": "nexmo/client",
- "version": "1.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/Nexmo/nexmo-php.git",
- "reference": "182d41a02ebd3e4be147baea45458ccfe2f528c4"
+ "support": {
+ "docs": "https://carbon.nesbot.com/docs",
+ "issues": "https://github.com/briannesbitt/Carbon/issues",
+ "source": "https://github.com/briannesbitt/Carbon"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Nexmo/nexmo-php/zipball/182d41a02ebd3e4be147baea45458ccfe2f528c4",
- "reference": "182d41a02ebd3e4be147baea45458ccfe2f528c4",
- "shasum": ""
- },
- "require": {
- "lcobucci/jwt": "^3.2",
- "php": ">=5.6",
- "php-http/client-implementation": "^1.0",
- "php-http/guzzle6-adapter": "^1.0",
- "zendframework/zend-diactoros": "^1.8.4 || ^2.0"
- },
- "require-dev": {
- "estahn/phpunit-json-assertions": "^1.0.0",
- "php-http/mock-client": "^0.3.0",
- "phpunit/phpunit": "^5.7",
- "squizlabs/php_codesniffer": "^3.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Nexmo\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
+ "funding": [
{
- "name": "Tim Lytle",
- "email": "tim@nexmo.com",
- "homepage": "http://twitter.com/tjlytle",
- "role": "Developer"
+ "url": "https://opencollective.com/Carbon",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon",
+ "type": "tidelift"
}
],
- "description": "PHP Client for using Nexmo's API.",
- "time": "2019-05-13T20:27:43+00:00"
+ "time": "2022-02-13T18:13:33+00:00"
},
{
"name": "nikic/php-parser",
- "version": "v4.2.2",
+ "version": "v4.13.2",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "1bd73cc04c3843ad8d6b0bfc0956026a151fc420"
+ "reference": "210577fe3cf7badcc5814d99455df46564f3c077"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bd73cc04c3843ad8d6b0bfc0956026a151fc420",
- "reference": "1bd73cc04c3843ad8d6b0bfc0956026a151fc420",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077",
+ "reference": "210577fe3cf7badcc5814d99455df46564f3c077",
"shasum": ""
},
"require": {
@@ -1740,7 +1940,8 @@
"php": ">=7.0"
},
"require-dev": {
- "phpunit/phpunit": "^6.5 || ^7.0"
+ "ircmaxell/php-yacc": "^0.0.7",
+ "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
},
"bin": [
"bin/php-parse"
@@ -1748,7 +1949,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.2-dev"
+ "dev-master": "4.9-dev"
}
},
"autoload": {
@@ -1770,42 +1971,46 @@
"parser",
"php"
],
- "time": "2019-05-25T20:07:01+00:00"
+ "support": {
+ "issues": "https://github.com/nikic/PHP-Parser/issues",
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2"
+ },
+ "time": "2021-11-30T19:35:32+00:00"
},
{
"name": "opis/closure",
- "version": "3.3.0",
+ "version": "3.6.3",
"source": {
"type": "git",
"url": "https://github.com/opis/closure.git",
- "reference": "f846725591203098246276b2e7b9e8b7814c4965"
+ "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/opis/closure/zipball/f846725591203098246276b2e7b9e8b7814c4965",
- "reference": "f846725591203098246276b2e7b9e8b7814c4965",
+ "url": "https://api.github.com/repos/opis/closure/zipball/3d81e4309d2a927abbe66df935f4bb60082805ad",
+ "reference": "3d81e4309d2a927abbe66df935f4bb60082805ad",
"shasum": ""
},
"require": {
- "php": "^5.4 || ^7.0"
+ "php": "^5.4 || ^7.0 || ^8.0"
},
"require-dev": {
"jeremeamia/superclosure": "^2.0",
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.3.x-dev"
+ "dev-master": "3.6.x-dev"
}
},
"autoload": {
- "psr-4": {
- "Opis\\Closure\\": "src/"
- },
"files": [
"functions.php"
- ]
+ ],
+ "psr-4": {
+ "Opis\\Closure\\": "src/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -1831,77 +2036,35 @@
"serialization",
"serialize"
],
- "time": "2019-05-31T20:04:32+00:00"
- },
- {
- "name": "paragonie/random_compat",
- "version": "v9.99.99",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95"
+ "support": {
+ "issues": "https://github.com/opis/closure/issues",
+ "source": "https://github.com/opis/closure/tree/3.6.3"
},
- "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",
- "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"
- ],
- "time": "2018-07-02T15:55:56+00:00"
+ "time": "2022-01-27T09:35:39+00:00"
},
{
"name": "php-http/cache-plugin",
- "version": "1.6.0",
+ "version": "1.7.5",
"source": {
"type": "git",
"url": "https://github.com/php-http/cache-plugin.git",
- "reference": "8e2505d2090316fac7cce637b39b6bbb5249c5a8"
+ "reference": "63bc3f7242825c9a817db8f78e4c9703b0c471e2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-http/cache-plugin/zipball/8e2505d2090316fac7cce637b39b6bbb5249c5a8",
- "reference": "8e2505d2090316fac7cce637b39b6bbb5249c5a8",
+ "url": "https://api.github.com/repos/php-http/cache-plugin/zipball/63bc3f7242825c9a817db8f78e4c9703b0c471e2",
+ "reference": "63bc3f7242825c9a817db8f78e4c9703b0c471e2",
"shasum": ""
},
"require": {
- "php": "^5.4 || ^7.0",
+ "php": "^7.1 || ^8.0",
"php-http/client-common": "^1.9 || ^2.0",
"php-http/message-factory": "^1.0",
- "psr/cache": "^1.0",
- "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
+ "psr/cache": "^1.0 || ^2.0 || ^3.0",
+ "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
},
"require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.5"
+ "phpspec/phpspec": "^5.1 || ^6.0"
},
"type": "library",
"extra": {
@@ -1932,34 +2095,48 @@
"httplug",
"plugin"
],
- "time": "2019-01-23T16:51:58+00:00"
+ "support": {
+ "issues": "https://github.com/php-http/cache-plugin/issues",
+ "source": "https://github.com/php-http/cache-plugin/tree/1.7.5"
+ },
+ "time": "2022-01-18T12:24:56+00:00"
},
{
"name": "php-http/client-common",
- "version": "1.9.1",
+ "version": "2.5.0",
"source": {
"type": "git",
"url": "https://github.com/php-http/client-common.git",
- "reference": "0e156a12cc3e46f590c73bf57592a2252fc3dc48"
+ "reference": "d135751167d57e27c74de674d6a30cef2dc8e054"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-http/client-common/zipball/0e156a12cc3e46f590c73bf57592a2252fc3dc48",
- "reference": "0e156a12cc3e46f590c73bf57592a2252fc3dc48",
+ "url": "https://api.github.com/repos/php-http/client-common/zipball/d135751167d57e27c74de674d6a30cef2dc8e054",
+ "reference": "d135751167d57e27c74de674d6a30cef2dc8e054",
"shasum": ""
},
"require": {
- "php": "^5.4 || ^7.0",
- "php-http/httplug": "^1.1",
+ "php": "^7.1 || ^8.0",
+ "php-http/httplug": "^2.0",
"php-http/message": "^1.6",
"php-http/message-factory": "^1.0",
- "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0"
+ "psr/http-client": "^1.0",
+ "psr/http-factory": "^1.0",
+ "psr/http-message": "^1.0",
+ "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0",
+ "symfony/polyfill-php80": "^1.17"
},
"require-dev": {
+ "doctrine/instantiator": "^1.1",
"guzzlehttp/psr7": "^1.4",
- "phpspec/phpspec": "^2.5 || ^3.4 || ^4.2"
+ "nyholm/psr7": "^1.2",
+ "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1",
+ "phpspec/prophecy": "^1.10.2",
+ "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3"
},
"suggest": {
+ "ext-json": "To detect JSON responses with the ContentTypePlugin",
+ "ext-libxml": "To detect XML responses with the ContentTypePlugin",
"php-http/cache-plugin": "PSR-6 Cache plugin",
"php-http/logger-plugin": "PSR-3 Logger plugin",
"php-http/stopwatch-plugin": "Symfony Stopwatch plugin"
@@ -1967,7 +2144,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.9.x-dev"
+ "dev-master": "2.3.x-dev"
}
},
"autoload": {
@@ -1993,42 +2170,46 @@
"http",
"httplug"
],
- "time": "2019-02-02T07:03:15+00:00"
+ "support": {
+ "issues": "https://github.com/php-http/client-common/issues",
+ "source": "https://github.com/php-http/client-common/tree/2.5.0"
+ },
+ "time": "2021-11-26T15:01:24+00:00"
},
{
"name": "php-http/discovery",
- "version": "1.6.1",
+ "version": "1.14.1",
"source": {
"type": "git",
"url": "https://github.com/php-http/discovery.git",
- "reference": "684855f2c2e9d0a61868b8f8d6bd0295c8a4b651"
+ "reference": "de90ab2b41d7d61609f504e031339776bc8c7223"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-http/discovery/zipball/684855f2c2e9d0a61868b8f8d6bd0295c8a4b651",
- "reference": "684855f2c2e9d0a61868b8f8d6bd0295c8a4b651",
+ "url": "https://api.github.com/repos/php-http/discovery/zipball/de90ab2b41d7d61609f504e031339776bc8c7223",
+ "reference": "de90ab2b41d7d61609f504e031339776bc8c7223",
"shasum": ""
},
"require": {
- "php": "^5.5 || ^7.0"
+ "php": "^7.1 || ^8.0"
},
"conflict": {
"nyholm/psr7": "<1.0"
},
"require-dev": {
+ "graham-campbell/phpspec-skip-example-extension": "^5.0",
"php-http/httplug": "^1.0 || ^2.0",
"php-http/message-factory": "^1.0",
- "phpspec/phpspec": "^2.4",
+ "phpspec/phpspec": "^5.1 || ^6.1",
"puli/composer-plugin": "1.0.0-beta10"
},
"suggest": {
- "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories",
- "puli/composer-plugin": "Sets up Puli which is recommended for Discovery to work. Check http://docs.php-http.org/en/latest/discovery.html for more details."
+ "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.5-dev"
+ "dev-master": "1.9-dev"
}
},
"autoload": {
@@ -2057,95 +2238,40 @@
"message",
"psr7"
],
- "time": "2019-02-23T07:42:53+00:00"
- },
- {
- "name": "php-http/guzzle6-adapter",
- "version": "v1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/php-http/guzzle6-adapter.git",
- "reference": "a56941f9dc6110409cfcddc91546ee97039277ab"
+ "support": {
+ "issues": "https://github.com/php-http/discovery/issues",
+ "source": "https://github.com/php-http/discovery/tree/1.14.1"
},
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-http/guzzle6-adapter/zipball/a56941f9dc6110409cfcddc91546ee97039277ab",
- "reference": "a56941f9dc6110409cfcddc91546ee97039277ab",
- "shasum": ""
- },
- "require": {
- "guzzlehttp/guzzle": "^6.0",
- "php": ">=5.5.0",
- "php-http/httplug": "^1.0"
- },
- "provide": {
- "php-http/async-client-implementation": "1.0",
- "php-http/client-implementation": "1.0"
- },
- "require-dev": {
- "ext-curl": "*",
- "php-http/adapter-integration-tests": "^0.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Http\\Adapter\\Guzzle6\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- },
- {
- "name": "David de Boer",
- "email": "david@ddeboer.nl"
- }
- ],
- "description": "Guzzle 6 HTTP Adapter",
- "homepage": "http://httplug.io",
- "keywords": [
- "Guzzle",
- "http"
- ],
- "time": "2016-05-10T06:13:32+00:00"
+ "time": "2021-09-18T07:57:46+00:00"
},
{
"name": "php-http/httplug",
- "version": "v1.1.0",
+ "version": "2.3.0",
"source": {
"type": "git",
"url": "https://github.com/php-http/httplug.git",
- "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018"
+ "reference": "f640739f80dfa1152533976e3c112477f69274eb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-http/httplug/zipball/1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
- "reference": "1c6381726c18579c4ca2ef1ec1498fdae8bdf018",
+ "url": "https://api.github.com/repos/php-http/httplug/zipball/f640739f80dfa1152533976e3c112477f69274eb",
+ "reference": "f640739f80dfa1152533976e3c112477f69274eb",
"shasum": ""
},
"require": {
- "php": ">=5.4",
- "php-http/promise": "^1.0",
+ "php": "^7.1 || ^8.0",
+ "php-http/promise": "^1.1",
+ "psr/http-client": "^1.0",
"psr/http-message": "^1.0"
},
"require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4"
+ "friends-of-phpspec/phpspec-code-coverage": "^4.1",
+ "phpspec/phpspec": "^5.1 || ^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-master": "2.x-dev"
}
},
"autoload": {
@@ -2164,7 +2290,8 @@
},
{
"name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
+ "email": "mark.sagikazar@gmail.com",
+ "homepage": "https://sagikazarmark.hu"
}
],
"description": "HTTPlug, the HTTP client abstraction for PHP",
@@ -2173,25 +2300,29 @@
"client",
"http"
],
- "time": "2016-08-31T08:30:17+00:00"
+ "support": {
+ "issues": "https://github.com/php-http/httplug/issues",
+ "source": "https://github.com/php-http/httplug/tree/2.3.0"
+ },
+ "time": "2022-02-21T09:52:22+00:00"
},
{
"name": "php-http/message",
- "version": "1.7.2",
+ "version": "1.13.0",
"source": {
"type": "git",
"url": "https://github.com/php-http/message.git",
- "reference": "b159ffe570dffd335e22ef0b91a946eacb182fa1"
+ "reference": "7886e647a30a966a1a8d1dad1845b71ca8678361"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-http/message/zipball/b159ffe570dffd335e22ef0b91a946eacb182fa1",
- "reference": "b159ffe570dffd335e22ef0b91a946eacb182fa1",
+ "url": "https://api.github.com/repos/php-http/message/zipball/7886e647a30a966a1a8d1dad1845b71ca8678361",
+ "reference": "7886e647a30a966a1a8d1dad1845b71ca8678361",
"shasum": ""
},
"require": {
- "clue/stream-filter": "^1.4",
- "php": "^5.4 || ^7.0",
+ "clue/stream-filter": "^1.5",
+ "php": "^7.1 || ^8.0",
"php-http/message-factory": "^1.0.2",
"psr/http-message": "^1.0"
},
@@ -2199,34 +2330,32 @@
"php-http/message-factory-implementation": "1.0"
},
"require-dev": {
- "akeneo/phpspec-skip-example-extension": "^1.0",
- "coduo/phpspec-data-provider-extension": "^1.0",
+ "ergebnis/composer-normalize": "^2.6",
"ext-zlib": "*",
"guzzlehttp/psr7": "^1.0",
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4",
- "slim/slim": "^3.0",
- "zendframework/zend-diactoros": "^1.0"
+ "laminas/laminas-diactoros": "^2.0",
+ "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1",
+ "slim/slim": "^3.0"
},
"suggest": {
"ext-zlib": "Used with compressor/decompressor streams",
"guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories",
- "slim/slim": "Used with Slim Framework PSR-7 implementation",
- "zendframework/zend-diactoros": "Used with Diactoros Factories"
+ "laminas/laminas-diactoros": "Used with Diactoros Factories",
+ "slim/slim": "Used with Slim Framework PSR-7 implementation"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.6-dev"
+ "dev-master": "1.10-dev"
}
},
"autoload": {
- "psr-4": {
- "Http\\Message\\": "src/"
- },
"files": [
"src/filters.php"
- ]
+ ],
+ "psr-4": {
+ "Http\\Message\\": "src/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -2245,7 +2374,11 @@
"message",
"psr-7"
],
- "time": "2018-11-01T09:32:41+00:00"
+ "support": {
+ "issues": "https://github.com/php-http/message/issues",
+ "source": "https://github.com/php-http/message/tree/1.13.0"
+ },
+ "time": "2022-02-11T13:41:14+00:00"
},
{
"name": "php-http/message-factory",
@@ -2295,25 +2428,94 @@
"stream",
"uri"
],
+ "support": {
+ "issues": "https://github.com/php-http/message-factory/issues",
+ "source": "https://github.com/php-http/message-factory/tree/master"
+ },
"time": "2015-12-19T14:08:53+00:00"
},
{
- "name": "php-http/promise",
- "version": "v1.0.0",
+ "name": "php-http/multipart-stream-builder",
+ "version": "1.2.0",
"source": {
"type": "git",
- "url": "https://github.com/php-http/promise.git",
- "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980"
+ "url": "https://github.com/php-http/multipart-stream-builder.git",
+ "reference": "11c1d31f72e01c738bbce9e27649a7cca829c30e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-http/promise/zipball/dc494cdc9d7160b9a09bd5573272195242ce7980",
- "reference": "dc494cdc9d7160b9a09bd5573272195242ce7980",
+ "url": "https://api.github.com/repos/php-http/multipart-stream-builder/zipball/11c1d31f72e01c738bbce9e27649a7cca829c30e",
+ "reference": "11c1d31f72e01c738bbce9e27649a7cca829c30e",
"shasum": ""
},
+ "require": {
+ "php": "^7.1 || ^8.0",
+ "php-http/discovery": "^1.7",
+ "php-http/message-factory": "^1.0.2",
+ "psr/http-factory": "^1.0",
+ "psr/http-message": "^1.0"
+ },
"require-dev": {
- "henrikbjorn/phpspec-code-coverage": "^1.0",
- "phpspec/phpspec": "^2.4"
+ "nyholm/psr7": "^1.0",
+ "php-http/message": "^1.5",
+ "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Http\\Message\\MultipartStream\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Tobias Nyholm",
+ "email": "tobias.nyholm@gmail.com"
+ }
+ ],
+ "description": "A builder class that help you create a multipart stream",
+ "homepage": "http://php-http.org",
+ "keywords": [
+ "factory",
+ "http",
+ "message",
+ "multipart stream",
+ "stream"
+ ],
+ "support": {
+ "issues": "https://github.com/php-http/multipart-stream-builder/issues",
+ "source": "https://github.com/php-http/multipart-stream-builder/tree/1.2.0"
+ },
+ "time": "2021-05-21T08:32:01+00:00"
+ },
+ {
+ "name": "php-http/promise",
+ "version": "1.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-http/promise.git",
+ "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-http/promise/zipball/4c4c1f9b7289a2ec57cde7f1e9762a5789506f88",
+ "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "friends-of-phpspec/phpspec-code-coverage": "^4.3.2",
+ "phpspec/phpspec": "^5.1.2 || ^6.2"
},
"type": "library",
"extra": {
@@ -2331,13 +2533,13 @@
"MIT"
],
"authors": [
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com"
- },
{
"name": "Joel Wurtz",
"email": "joel.wurtz@gmail.com"
+ },
+ {
+ "name": "Márk Sági-Kazár",
+ "email": "mark.sagikazar@gmail.com"
}
],
"description": "Promise used for asynchronous HTTP requests",
@@ -2345,7 +2547,82 @@
"keywords": [
"promise"
],
- "time": "2016-01-26T13:27:02+00:00"
+ "support": {
+ "issues": "https://github.com/php-http/promise/issues",
+ "source": "https://github.com/php-http/promise/tree/1.1.0"
+ },
+ "time": "2020-07-07T09:29:14+00:00"
+ },
+ {
+ "name": "phpoption/phpoption",
+ "version": "1.8.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/schmittjoh/php-option.git",
+ "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15",
+ "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.0 || ^8.0"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.8-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PhpOption\\": "src/PhpOption/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "Apache-2.0"
+ ],
+ "authors": [
+ {
+ "name": "Johannes M. Schmitt",
+ "email": "schmittjoh@gmail.com",
+ "homepage": "https://github.com/schmittjoh"
+ },
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
+ }
+ ],
+ "description": "Option Type for PHP",
+ "keywords": [
+ "language",
+ "option",
+ "php",
+ "type"
+ ],
+ "support": {
+ "issues": "https://github.com/schmittjoh/php-option/issues",
+ "source": "https://github.com/schmittjoh/php-option/tree/1.8.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-12-04T23:24:31+00:00"
},
{
"name": "psr/cache",
@@ -2391,31 +2668,29 @@
"psr",
"psr-6"
],
+ "support": {
+ "source": "https://github.com/php-fig/cache/tree/master"
+ },
"time": "2016-08-06T20:24:11+00:00"
},
{
"name": "psr/container",
- "version": "1.0.0",
+ "version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
- "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": ">=7.4.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Psr\\Container\\": "src/"
@@ -2428,7 +2703,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common Container Interface (PHP FIG PSR-11)",
@@ -2440,7 +2715,113 @@
"container-interop",
"psr"
],
- "time": "2017-02-14T16:28:37+00:00"
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/1.1.2"
+ },
+ "time": "2021-11-05T16:50:12+00:00"
+ },
+ {
+ "name": "psr/event-dispatcher",
+ "version": "1.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/event-dispatcher.git",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\EventDispatcher\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Standard interfaces for event handling.",
+ "keywords": [
+ "events",
+ "psr",
+ "psr-14"
+ ],
+ "support": {
+ "issues": "https://github.com/php-fig/event-dispatcher/issues",
+ "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"
+ },
+ "time": "2019-01-08T18:20:26+00:00"
+ },
+ {
+ "name": "psr/http-client",
+ "version": "1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-fig/http-client.git",
+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
+ "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.0 || ^8.0",
+ "psr/http-message": "^1.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Psr\\Http\\Client\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "PHP-FIG",
+ "homepage": "http://www.php-fig.org/"
+ }
+ ],
+ "description": "Common interface for HTTP clients",
+ "homepage": "https://github.com/php-fig/http-client",
+ "keywords": [
+ "http",
+ "http-client",
+ "psr",
+ "psr-18"
+ ],
+ "support": {
+ "source": "https://github.com/php-fig/http-client/tree/master"
+ },
+ "time": "2020-06-29T06:28:15+00:00"
},
{
"name": "psr/http-factory",
@@ -2492,6 +2873,9 @@
"request",
"response"
],
+ "support": {
+ "source": "https://github.com/php-fig/http-factory/tree/master"
+ },
"time": "2019-04-30T12:38:16+00:00"
},
{
@@ -2542,20 +2926,23 @@
"request",
"response"
],
+ "support": {
+ "source": "https://github.com/php-fig/http-message/tree/master"
+ },
"time": "2016-08-06T14:39:51+00:00"
},
{
"name": "psr/log",
- "version": "1.1.0",
+ "version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd"
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
- "reference": "6c001f1daafa3a3ac1d8ff69ee4db8e799a654dd",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
@@ -2564,7 +2951,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "1.1.x-dev"
}
},
"autoload": {
@@ -2579,7 +2966,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
@@ -2589,7 +2976,10 @@
"psr",
"psr-3"
],
- "time": "2018-11-20T15:27:04+00:00"
+ "support": {
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
+ },
+ "time": "2021-05-03T11:20:27+00:00"
},
{
"name": "psr/simple-cache",
@@ -2637,36 +3027,39 @@
"psr-16",
"simple-cache"
],
+ "support": {
+ "source": "https://github.com/php-fig/simple-cache/tree/master"
+ },
"time": "2017-10-23T01:57:42+00:00"
},
{
"name": "psy/psysh",
- "version": "v0.9.9",
+ "version": "v0.11.2",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
- "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e"
+ "reference": "7f7da640d68b9c9fec819caae7c744a213df6514"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9aaf29575bb8293206bb0420c1e1c87ff2ffa94e",
- "reference": "9aaf29575bb8293206bb0420c1e1c87ff2ffa94e",
+ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/7f7da640d68b9c9fec819caae7c744a213df6514",
+ "reference": "7f7da640d68b9c9fec819caae7c744a213df6514",
"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"
+ "nikic/php-parser": "^4.0 || ^3.1",
+ "php": "^8.0 || ^7.0.8",
+ "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4",
+ "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4"
+ },
+ "conflict": {
+ "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4"
},
"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"
+ "hoa/console": "3.17.05.02"
},
"suggest": {
"ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
@@ -2681,7 +3074,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-develop": "0.9.x-dev"
+ "dev-main": "0.11.x-dev"
}
},
"autoload": {
@@ -2711,28 +3104,32 @@
"interactive",
"shell"
],
- "time": "2018-10-13T15:16:03+00:00"
+ "support": {
+ "issues": "https://github.com/bobthecow/psysh/issues",
+ "source": "https://github.com/bobthecow/psysh/tree/v0.11.2"
+ },
+ "time": "2022-02-28T15:28:54+00:00"
},
{
"name": "ralouphie/getallheaders",
- "version": "2.0.5",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa"
+ "reference": "120b605dfeb996808c31b6477290a714d356e822"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
- "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa",
+ "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
+ "reference": "120b605dfeb996808c31b6477290a714d356e822",
"shasum": ""
},
"require": {
- "php": ">=5.3"
+ "php": ">=5.6"
},
"require-dev": {
- "phpunit/phpunit": "~3.7.0",
- "satooshi/php-coveralls": ">=1.0"
+ "php-coveralls/php-coveralls": "^2.1",
+ "phpunit/phpunit": "^5 || ^6.5"
},
"type": "library",
"autoload": {
@@ -2751,60 +3148,53 @@
}
],
"description": "A polyfill for getallheaders.",
- "time": "2016-02-11T07:05:27+00:00"
+ "support": {
+ "issues": "https://github.com/ralouphie/getallheaders/issues",
+ "source": "https://github.com/ralouphie/getallheaders/tree/develop"
+ },
+ "time": "2019-03-08T08:55:37+00:00"
},
{
- "name": "ramsey/uuid",
- "version": "3.8.0",
+ "name": "ramsey/collection",
+ "version": "1.2.2",
"source": {
"type": "git",
- "url": "https://github.com/ramsey/uuid.git",
- "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3"
+ "url": "https://github.com/ramsey/collection.git",
+ "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ramsey/uuid/zipball/d09ea80159c1929d75b3f9c60504d613aeb4a1e3",
- "reference": "d09ea80159c1929d75b3f9c60504d613aeb4a1e3",
+ "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a",
+ "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a",
"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"
+ "php": "^7.3 || ^8",
+ "symfony/polyfill-php81": "^1.23"
},
"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."
+ "captainhook/captainhook": "^5.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
+ "ergebnis/composer-normalize": "^2.6",
+ "fakerphp/faker": "^1.5",
+ "hamcrest/hamcrest-php": "^2",
+ "jangregor/phpstan-prophecy": "^0.8",
+ "mockery/mockery": "^1.3",
+ "phpspec/prophecy-phpunit": "^2.0",
+ "phpstan/extension-installer": "^1",
+ "phpstan/phpstan": "^0.12.32",
+ "phpstan/phpstan-mockery": "^0.12.5",
+ "phpstan/phpstan-phpunit": "^0.12.11",
+ "phpunit/phpunit": "^8.5 || ^9",
+ "psy/psysh": "^0.10.4",
+ "slevomat/coding-standard": "^6.3",
+ "squizlabs/php_codesniffer": "^3.5",
+ "vimeo/psalm": "^4.4"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
"autoload": {
"psr-4": {
- "Ramsey\\Uuid\\": "src/"
+ "Ramsey\\Collection\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -2812,57 +3202,162 @@
"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",
+ "description": "A PHP library for representing and manipulating collections.",
+ "keywords": [
+ "array",
+ "collection",
+ "hash",
+ "map",
+ "queue",
+ "set"
+ ],
+ "support": {
+ "issues": "https://github.com/ramsey/collection/issues",
+ "source": "https://github.com/ramsey/collection/tree/1.2.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/ramsey",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/ramsey/collection",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-10-10T03:01:02+00:00"
+ },
+ {
+ "name": "ramsey/uuid",
+ "version": "4.2.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/ramsey/uuid.git",
+ "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df",
+ "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df",
+ "shasum": ""
+ },
+ "require": {
+ "brick/math": "^0.8 || ^0.9",
+ "ext-json": "*",
+ "php": "^7.2 || ^8.0",
+ "ramsey/collection": "^1.0",
+ "symfony/polyfill-ctype": "^1.8",
+ "symfony/polyfill-php80": "^1.14"
+ },
+ "replace": {
+ "rhumsaa/uuid": "self.version"
+ },
+ "require-dev": {
+ "captainhook/captainhook": "^5.10",
+ "captainhook/plugin-composer": "^5.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
+ "doctrine/annotations": "^1.8",
+ "ergebnis/composer-normalize": "^2.15",
+ "mockery/mockery": "^1.3",
+ "moontoast/math": "^1.1",
+ "paragonie/random-lib": "^2",
+ "php-mock/php-mock": "^2.2",
+ "php-mock/php-mock-mockery": "^1.3",
+ "php-parallel-lint/php-parallel-lint": "^1.1",
+ "phpbench/phpbench": "^1.0",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12",
+ "phpstan/phpstan-mockery": "^0.12",
+ "phpstan/phpstan-phpunit": "^0.12",
+ "phpunit/phpunit": "^8.5 || ^9",
+ "slevomat/coding-standard": "^7.0",
+ "squizlabs/php_codesniffer": "^3.5",
+ "vimeo/psalm": "^4.9"
+ },
+ "suggest": {
+ "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
+ "ext-ctype": "Enables faster processing of character classification using ctype functions.",
+ "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.",
+ "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.",
+ "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter",
+ "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type."
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "4.x-dev"
+ },
+ "captainhook": {
+ "force-install": true
+ }
+ },
+ "autoload": {
+ "files": [
+ "src/functions.php"
+ ],
+ "psr-4": {
+ "Ramsey\\Uuid\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).",
"keywords": [
"guid",
"identifier",
"uuid"
],
- "time": "2018-07-19T23:38:55+00:00"
+ "support": {
+ "issues": "https://github.com/ramsey/uuid/issues",
+ "source": "https://github.com/ramsey/uuid/tree/4.2.3"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/ramsey",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-09-25T23:10:38+00:00"
},
{
"name": "swiftmailer/swiftmailer",
- "version": "v6.2.1",
+ "version": "v6.3.0",
"source": {
"type": "git",
"url": "https://github.com/swiftmailer/swiftmailer.git",
- "reference": "5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a"
+ "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a",
- "reference": "5397cd05b0a0f7937c47b0adcb4c60e5ab936b6a",
+ "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/8a5d5072dca8f48460fce2f4131fcc495eec654c",
+ "reference": "8a5d5072dca8f48460fce2f4131fcc495eec654c",
"shasum": ""
},
"require": {
- "egulias/email-validator": "~2.0",
+ "egulias/email-validator": "^2.0|^3.1",
"php": ">=7.0.0",
"symfony/polyfill-iconv": "^1.0",
"symfony/polyfill-intl-idn": "^1.10",
"symfony/polyfill-mbstring": "^1.0"
},
"require-dev": {
- "mockery/mockery": "~0.9.1",
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8"
+ "mockery/mockery": "^1.0",
+ "symfony/phpunit-bridge": "^4.4|^5.4"
},
"suggest": {
- "ext-intl": "Needed to support internationalized email addresses",
- "true/punycode": "Needed to support internationalized email addresses, if ext-intl is not installed"
+ "ext-intl": "Needed to support internationalized email addresses"
},
"type": "library",
"extra": {
@@ -2895,44 +3390,241 @@
"mail",
"mailer"
],
- "time": "2019-04-21T09:21:45+00:00"
+ "support": {
+ "issues": "https://github.com/swiftmailer/swiftmailer/issues",
+ "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.3.0"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer",
+ "type": "tidelift"
+ }
+ ],
+ "abandoned": "symfony/mailer",
+ "time": "2021-10-18T15:26:12+00:00"
},
{
- "name": "symfony/console",
- "version": "v4.3.1",
+ "name": "symfony/cache",
+ "version": "v5.4.6",
"source": {
"type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "d50bbeeb0e17e6dd4124ea391eff235e932cbf64"
+ "url": "https://github.com/symfony/cache.git",
+ "reference": "c0718d0e01ac14251a45cc9c8b93716ec41ae64b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/d50bbeeb0e17e6dd4124ea391eff235e932cbf64",
- "reference": "d50bbeeb0e17e6dd4124ea391eff235e932cbf64",
+ "url": "https://api.github.com/repos/symfony/cache/zipball/c0718d0e01ac14251a45cc9c8b93716ec41ae64b",
+ "reference": "c0718d0e01ac14251a45cc9c8b93716ec41ae64b",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
- "symfony/polyfill-mbstring": "~1.0",
- "symfony/polyfill-php73": "^1.8",
- "symfony/service-contracts": "^1.1"
+ "php": ">=7.2.5",
+ "psr/cache": "^1.0|^2.0",
+ "psr/log": "^1.1|^2|^3",
+ "symfony/cache-contracts": "^1.1.7|^2",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-php73": "^1.9",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/service-contracts": "^1.1|^2|^3",
+ "symfony/var-exporter": "^4.4|^5.0|^6.0"
},
"conflict": {
- "symfony/dependency-injection": "<3.4",
- "symfony/event-dispatcher": "<4.3",
- "symfony/process": "<3.3"
+ "doctrine/dbal": "<2.13.1",
+ "symfony/dependency-injection": "<4.4",
+ "symfony/http-kernel": "<4.4",
+ "symfony/var-dumper": "<4.4"
},
"provide": {
- "psr/log-implementation": "1.0"
+ "psr/cache-implementation": "1.0|2.0",
+ "psr/simple-cache-implementation": "1.0|2.0",
+ "symfony/cache-implementation": "1.0|2.0"
},
"require-dev": {
- "psr/log": "~1.0",
- "symfony/config": "~3.4|~4.0",
- "symfony/dependency-injection": "~3.4|~4.0",
- "symfony/event-dispatcher": "^4.3",
- "symfony/lock": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0",
- "symfony/var-dumper": "^4.3"
+ "cache/integration-tests": "dev-master",
+ "doctrine/cache": "^1.6|^2.0",
+ "doctrine/dbal": "^2.13.1|^3.0",
+ "predis/predis": "^1.1",
+ "psr/simple-cache": "^1.0|^2.0",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^4.4|^5.0|^6.0",
+ "symfony/filesystem": "^4.4|^5.0|^6.0",
+ "symfony/http-kernel": "^4.4|^5.0|^6.0",
+ "symfony/messenger": "^4.4|^5.0|^6.0",
+ "symfony/var-dumper": "^4.4|^5.0|^6.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Cache\\": ""
+ },
+ "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": "Provides an extended PSR-6, PSR-16 (and tags) implementation",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "caching",
+ "psr6"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/cache/tree/v5.4.6"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-02T12:56:28+00:00"
+ },
+ {
+ "name": "symfony/cache-contracts",
+ "version": "v2.5.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/cache-contracts.git",
+ "reference": "ac2e168102a2e06a2624f0379bde94cd5854ced2"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/ac2e168102a2e06a2624f0379bde94cd5854ced2",
+ "reference": "ac2e168102a2e06a2624f0379bde94cd5854ced2",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/cache": "^1.0|^2.0|^3.0"
+ },
+ "suggest": {
+ "symfony/cache-implementation": ""
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Contracts\\Cache\\": ""
+ }
+ },
+ "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": "Generic abstractions related to caching",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/cache-contracts/tree/v2.5.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-17T14:20:01+00:00"
+ },
+ {
+ "name": "symfony/console",
+ "version": "v5.4.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/console.git",
+ "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/console/zipball/d8111acc99876953f52fe16d4c50eb60940d49ad",
+ "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php73": "^1.9",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/service-contracts": "^1.1|^2|^3",
+ "symfony/string": "^5.1|^6.0"
+ },
+ "conflict": {
+ "psr/log": ">=3",
+ "symfony/dependency-injection": "<4.4",
+ "symfony/dotenv": "<5.1",
+ "symfony/event-dispatcher": "<4.4",
+ "symfony/lock": "<4.4",
+ "symfony/process": "<4.4"
+ },
+ "provide": {
+ "psr/log-implementation": "1.0|2.0"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^4.4|^5.0|^6.0",
+ "symfony/event-dispatcher": "^4.4|^5.0|^6.0",
+ "symfony/lock": "^4.4|^5.0|^6.0",
+ "symfony/process": "^4.4|^5.0|^6.0",
+ "symfony/var-dumper": "^4.4|^5.0|^6.0"
},
"suggest": {
"psr/log": "For using the console logger",
@@ -2941,11 +3633,6 @@
"symfony/process": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Console\\": ""
@@ -2968,33 +3655,52 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Console Component",
+ "description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
- "time": "2019-06-05T13:25:51+00:00"
+ "keywords": [
+ "cli",
+ "command line",
+ "console",
+ "terminal"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/console/tree/v5.4.5"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-02-24T12:45:35+00:00"
},
{
"name": "symfony/css-selector",
- "version": "v4.3.1",
+ "version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
- "reference": "105c98bb0c5d8635bea056135304bd8edcc42b4d"
+ "reference": "b0a190285cd95cb019237851205b8140ef6e368e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/105c98bb0c5d8635bea056135304bd8edcc42b4d",
- "reference": "105c98bb0c5d8635bea056135304bd8edcc42b4d",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/b0a190285cd95cb019237851205b8140ef6e368e",
+ "reference": "b0a190285cd95cb019237851205b8140ef6e368e",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\CssSelector\\": ""
@@ -3008,56 +3714,138 @@
"MIT"
],
"authors": [
- {
- "name": "Jean-François Simon",
- "email": "jeanfrancois.simon@sensiolabs.com"
- },
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
+ {
+ "name": "Jean-François Simon",
+ "email": "jeanfrancois.simon@sensiolabs.com"
+ },
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony CssSelector Component",
+ "description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com",
- "time": "2019-01-16T21:53:39+00:00"
+ "support": {
+ "source": "https://github.com/symfony/css-selector/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
},
{
- "name": "symfony/debug",
- "version": "v4.3.1",
+ "name": "symfony/deprecation-contracts",
+ "version": "v2.5.0",
"source": {
"type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "4e025104f1f9adb1f7a2d14fb102c9986d6e97c6"
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/4e025104f1f9adb1f7a2d14fb102c9986d6e97c6",
- "reference": "4e025104f1f9adb1f7a2d14fb102c9986d6e97c6",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8",
+ "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8",
"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"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.3-dev"
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
+ "autoload": {
+ "files": [
+ "function.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": "A generic function and convention to trigger deprecation notices",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-07-12T14:48:14+00:00"
+ },
+ {
+ "name": "symfony/error-handler",
+ "version": "v5.4.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/error-handler.git",
+ "reference": "c4ffc2cd919950d13c8c9ce32a70c70214c3ffc5"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/error-handler/zipball/c4ffc2cd919950d13c8c9ce32a70c70214c3ffc5",
+ "reference": "c4ffc2cd919950d13c8c9ce32a70c70214c3ffc5",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "psr/log": "^1|^2|^3",
+ "symfony/var-dumper": "^4.4|^5.0|^6.0"
+ },
+ "require-dev": {
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/http-kernel": "^4.4|^5.0|^6.0",
+ "symfony/serializer": "^4.4|^5.0|^6.0"
+ },
+ "bin": [
+ "Resources/bin/patch-type-declarations"
+ ],
+ "type": "library",
"autoload": {
"psr-4": {
- "Symfony\\Component\\Debug\\": ""
+ "Symfony\\Component\\ErrorHandler\\": ""
},
"exclude-from-classmap": [
"/Tests/"
@@ -3077,54 +3865,69 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Debug Component",
+ "description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
- "time": "2019-05-30T16:10:05+00:00"
+ "support": {
+ "source": "https://github.com/symfony/error-handler/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v4.3.1",
+ "version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "4e6c670af81c4fb0b6c08b035530a9915d0b691f"
+ "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/4e6c670af81c4fb0b6c08b035530a9915d0b691f",
- "reference": "4e6c670af81c4fb0b6c08b035530a9915d0b691f",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/dec8a9f58d20df252b9cd89f1c6c1530f747685d",
+ "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
- "symfony/event-dispatcher-contracts": "^1.1"
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/event-dispatcher-contracts": "^2|^3",
+ "symfony/polyfill-php80": "^1.16"
},
"conflict": {
- "symfony/dependency-injection": "<3.4"
+ "symfony/dependency-injection": "<4.4"
},
"provide": {
"psr/event-dispatcher-implementation": "1.0",
- "symfony/event-dispatcher-implementation": "1.1"
+ "symfony/event-dispatcher-implementation": "2.0"
},
"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/http-foundation": "^3.4|^4.0",
- "symfony/service-contracts": "^1.1",
- "symfony/stopwatch": "~3.4|~4.0"
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^4.4|^5.0|^6.0",
+ "symfony/error-handler": "^4.4|^5.0|^6.0",
+ "symfony/expression-language": "^4.4|^5.0|^6.0",
+ "symfony/http-foundation": "^4.4|^5.0|^6.0",
+ "symfony/service-contracts": "^1.1|^2|^3",
+ "symfony/stopwatch": "^4.4|^5.0|^6.0"
},
"suggest": {
"symfony/dependency-injection": "",
"symfony/http-kernel": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\EventDispatcher\\": ""
@@ -3147,35 +3950,56 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony EventDispatcher Component",
+ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
- "time": "2019-05-30T16:10:05+00:00"
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
- "version": "v1.1.1",
+ "version": "v2.5.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
- "reference": "8fa2cf2177083dd59cf8e44ea4b6541764fbda69"
+ "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8fa2cf2177083dd59cf8e44ea4b6541764fbda69",
- "reference": "8fa2cf2177083dd59cf8e44ea4b6541764fbda69",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/66bea3b09be61613cd3b4043a65a8ec48cfa6d2a",
+ "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.2.5",
+ "psr/event-dispatcher": "^1"
},
"suggest": {
- "psr/event-dispatcher": "",
"symfony/event-dispatcher-implementation": ""
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -3207,31 +4031,45 @@
"interoperability",
"standards"
],
- "time": "2019-05-22T12:23:29+00:00"
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-07-12T14:48:14+00:00"
},
{
"name": "symfony/finder",
- "version": "v4.3.1",
+ "version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "b3d4f4c0e4eadfdd8b296af9ca637cfbf51d8176"
+ "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/b3d4f4c0e4eadfdd8b296af9ca637cfbf51d8176",
- "reference": "b3d4f4c0e4eadfdd8b296af9ca637cfbf51d8176",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/231313534dded84c7ecaa79d14bc5da4ccb69b7d",
+ "reference": "231313534dded84c7ecaa79d14bc5da4ccb69b7d",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-php80": "^1.16"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Finder\\": ""
@@ -3254,39 +4092,57 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Finder Component",
+ "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
- "time": "2019-05-26T20:47:49+00:00"
+ "support": {
+ "source": "https://github.com/symfony/finder/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-26T16:34:36+00:00"
},
{
"name": "symfony/http-foundation",
- "version": "v4.3.1",
+ "version": "v5.4.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
- "reference": "b7e4945dd9b277cd24e93566e4da0a87956392a9"
+ "reference": "34e89bc147633c0f9dd6caaaf56da3b806a21465"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-foundation/zipball/b7e4945dd9b277cd24e93566e4da0a87956392a9",
- "reference": "b7e4945dd9b277cd24e93566e4da0a87956392a9",
+ "url": "https://api.github.com/repos/symfony/http-foundation/zipball/34e89bc147633c0f9dd6caaaf56da3b806a21465",
+ "reference": "34e89bc147633c0f9dd6caaaf56da3b806a21465",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
- "symfony/mime": "^4.3",
- "symfony/polyfill-mbstring": "~1.1"
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.1",
+ "symfony/polyfill-php80": "^1.16"
},
"require-dev": {
"predis/predis": "~1.0",
- "symfony/expression-language": "~3.4|~4.0"
+ "symfony/cache": "^4.4|^5.0|^6.0",
+ "symfony/expression-language": "^4.4|^5.0|^6.0",
+ "symfony/mime": "^4.4|^5.0|^6.0"
+ },
+ "suggest": {
+ "symfony/mime": "To use the file extension guesser"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\HttpFoundation\\": ""
@@ -3309,76 +4165,96 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony HttpFoundation Component",
+ "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
- "time": "2019-06-06T10:05:02+00:00"
+ "support": {
+ "source": "https://github.com/symfony/http-foundation/tree/v5.4.6"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-05T21:03:43+00:00"
},
{
"name": "symfony/http-kernel",
- "version": "v4.3.1",
+ "version": "v5.4.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "738ad561cd6a8d1c44ee1da941b2e628e264c429"
+ "reference": "d41f29ae9af1b5f40c7ebcddf09082953229411d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/738ad561cd6a8d1c44ee1da941b2e628e264c429",
- "reference": "738ad561cd6a8d1c44ee1da941b2e628e264c429",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d41f29ae9af1b5f40c7ebcddf09082953229411d",
+ "reference": "d41f29ae9af1b5f40c7ebcddf09082953229411d",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
- "psr/log": "~1.0",
- "symfony/debug": "~3.4|~4.0",
- "symfony/event-dispatcher": "^4.3",
- "symfony/http-foundation": "^4.1.1",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-php73": "^1.9"
+ "php": ">=7.2.5",
+ "psr/log": "^1|^2",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/error-handler": "^4.4|^5.0|^6.0",
+ "symfony/event-dispatcher": "^5.0|^6.0",
+ "symfony/http-foundation": "^5.3.7|^6.0",
+ "symfony/polyfill-ctype": "^1.8",
+ "symfony/polyfill-php73": "^1.9",
+ "symfony/polyfill-php80": "^1.16"
},
"conflict": {
- "symfony/browser-kit": "<4.3",
- "symfony/config": "<3.4",
- "symfony/dependency-injection": "<4.3",
- "symfony/translation": "<4.2",
- "symfony/var-dumper": "<4.1.1",
- "twig/twig": "<1.34|<2.4,>=2"
+ "symfony/browser-kit": "<5.4",
+ "symfony/cache": "<5.0",
+ "symfony/config": "<5.0",
+ "symfony/console": "<4.4",
+ "symfony/dependency-injection": "<5.3",
+ "symfony/doctrine-bridge": "<5.0",
+ "symfony/form": "<5.0",
+ "symfony/http-client": "<5.0",
+ "symfony/mailer": "<5.0",
+ "symfony/messenger": "<5.0",
+ "symfony/translation": "<5.0",
+ "symfony/twig-bridge": "<5.0",
+ "symfony/validator": "<5.0",
+ "twig/twig": "<2.13"
},
"provide": {
- "psr/log-implementation": "1.0"
+ "psr/log-implementation": "1.0|2.0"
},
"require-dev": {
- "psr/cache": "~1.0",
- "symfony/browser-kit": "^4.3",
- "symfony/config": "~3.4|~4.0",
- "symfony/console": "~3.4|~4.0",
- "symfony/css-selector": "~3.4|~4.0",
- "symfony/dependency-injection": "^4.3",
- "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": "~4.2",
- "symfony/translation-contracts": "^1.1",
- "symfony/var-dumper": "^4.1.1",
- "twig/twig": "^1.34|^2.4"
+ "psr/cache": "^1.0|^2.0|^3.0",
+ "symfony/browser-kit": "^5.4|^6.0",
+ "symfony/config": "^5.0|^6.0",
+ "symfony/console": "^4.4|^5.0|^6.0",
+ "symfony/css-selector": "^4.4|^5.0|^6.0",
+ "symfony/dependency-injection": "^5.3|^6.0",
+ "symfony/dom-crawler": "^4.4|^5.0|^6.0",
+ "symfony/expression-language": "^4.4|^5.0|^6.0",
+ "symfony/finder": "^4.4|^5.0|^6.0",
+ "symfony/http-client-contracts": "^1.1|^2|^3",
+ "symfony/process": "^4.4|^5.0|^6.0",
+ "symfony/routing": "^4.4|^5.0|^6.0",
+ "symfony/stopwatch": "^4.4|^5.0|^6.0",
+ "symfony/translation": "^4.4|^5.0|^6.0",
+ "symfony/translation-contracts": "^1.1|^2|^3",
+ "twig/twig": "^2.13|^3.0.4"
},
"suggest": {
"symfony/browser-kit": "",
"symfony/config": "",
"symfony/console": "",
- "symfony/dependency-injection": "",
- "symfony/var-dumper": ""
+ "symfony/dependency-injection": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\HttpKernel\\": ""
@@ -3401,39 +4277,63 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony HttpKernel Component",
+ "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
- "time": "2019-06-06T13:23:34+00:00"
+ "support": {
+ "source": "https://github.com/symfony/http-kernel/tree/v5.4.6"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-05T21:14:51+00:00"
},
{
"name": "symfony/mime",
- "version": "v4.3.1",
+ "version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
- "reference": "ec2c5565de60e03f33d4296a655e3273f0ad1f8b"
+ "reference": "e1503cfb5c9a225350f549d3bb99296f4abfb80f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mime/zipball/ec2c5565de60e03f33d4296a655e3273f0ad1f8b",
- "reference": "ec2c5565de60e03f33d4296a655e3273f0ad1f8b",
+ "url": "https://api.github.com/repos/symfony/mime/zipball/e1503cfb5c9a225350f549d3bb99296f4abfb80f",
+ "reference": "e1503cfb5c9a225350f549d3bb99296f4abfb80f",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
"symfony/polyfill-intl-idn": "^1.10",
- "symfony/polyfill-mbstring": "^1.0"
+ "symfony/polyfill-mbstring": "^1.0",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "conflict": {
+ "egulias/email-validator": "~3.0.0",
+ "phpdocumentor/reflection-docblock": "<3.2.2",
+ "phpdocumentor/type-resolver": "<1.4.0",
+ "symfony/mailer": "<4.4"
},
"require-dev": {
- "egulias/email-validator": "^2.0",
- "symfony/dependency-injection": "~3.4|^4.1"
+ "egulias/email-validator": "^2.1.10|^3.1",
+ "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
+ "symfony/dependency-injection": "^4.4|^5.0|^6.0",
+ "symfony/property-access": "^4.4|^5.1|^6.0",
+ "symfony/property-info": "^4.4|^5.1|^6.0",
+ "symfony/serializer": "^5.2|^6.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Mime\\": ""
@@ -3456,37 +4356,52 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "A library to manipulate MIME messages",
+ "description": "Allows manipulating MIME messages",
"homepage": "https://symfony.com",
"keywords": [
"mime",
"mime-type"
],
- "time": "2019-06-04T09:22:54+00:00"
+ "support": {
+ "source": "https://github.com/symfony/mime/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/options-resolver",
- "version": "v4.3.1",
+ "version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/options-resolver.git",
- "reference": "914e0edcb7cd0c9f494bc023b1d47534f4542332"
+ "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/options-resolver/zipball/914e0edcb7cd0c9f494bc023b1d47534f4542332",
- "reference": "914e0edcb7cd0c9f494bc023b1d47534f4542332",
+ "url": "https://api.github.com/repos/symfony/options-resolver/zipball/cc1147cb11af1b43f503ac18f31aa3bec213aba8",
+ "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-php73": "~1.0",
+ "symfony/polyfill-php80": "^1.16"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\OptionsResolver\\": ""
@@ -3509,31 +4424,51 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony OptionsResolver Component",
+ "description": "Provides an improved replacement for the array_replace PHP function",
"homepage": "https://symfony.com",
"keywords": [
"config",
"configuration",
"options"
],
- "time": "2019-05-10T05:38:46+00:00"
+ "support": {
+ "source": "https://github.com/symfony/options-resolver/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.11.0",
+ "version": "v1.25.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "82ebae02209c21113908c229e9883c419720738a"
+ "reference": "30885182c981ab175d4d034db0f6f469898070ab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/82ebae02209c21113908c229e9883c419720738a",
- "reference": "82ebae02209c21113908c229e9883c419720738a",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab",
+ "reference": "30885182c981ab175d4d034db0f6f469898070ab",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-ctype": "*"
},
"suggest": {
"ext-ctype": "For best performance"
@@ -3541,29 +4476,33 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
"files": [
"bootstrap.php"
- ]
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Ctype\\": ""
+ }
},
"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"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for ctype functions",
@@ -3574,24 +4513,44 @@
"polyfill",
"portable"
],
- "time": "2019-02-06T07:57:58+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-10-20T20:35:02+00:00"
},
{
"name": "symfony/polyfill-iconv",
- "version": "v1.11.0",
+ "version": "v1.25.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-iconv.git",
- "reference": "f037ea22acfaee983e271dd9c3b8bb4150bd8ad7"
+ "reference": "f1aed619e28cb077fc83fac8c4c0383578356e40"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/f037ea22acfaee983e271dd9c3b8bb4150bd8ad7",
- "reference": "f037ea22acfaee983e271dd9c3b8bb4150bd8ad7",
+ "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/f1aed619e28cb077fc83fac8c4c0383578356e40",
+ "reference": "f1aed619e28cb077fc83fac8c4c0383578356e40",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-iconv": "*"
},
"suggest": {
"ext-iconv": "For best performance"
@@ -3599,16 +4558,20 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Iconv\\": ""
- },
"files": [
"bootstrap.php"
- ]
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Iconv\\": ""
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -3633,26 +4596,41 @@
"portable",
"shim"
],
- "time": "2019-02-06T07:57:58+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-iconv/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-04T09:04:05+00:00"
},
{
- "name": "symfony/polyfill-intl-idn",
- "version": "v1.11.0",
+ "name": "symfony/polyfill-intl-grapheme",
+ "version": "v1.25.0",
"source": {
"type": "git",
- "url": "https://github.com/symfony/polyfill-intl-idn.git",
- "reference": "c766e95bec706cdd89903b1eda8afab7d7a6b7af"
+ "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
+ "reference": "81b86b50cf841a64252b439e738e97f4a34e2783"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c766e95bec706cdd89903b1eda8afab7d7a6b7af",
- "reference": "c766e95bec706cdd89903b1eda8afab7d7a6b7af",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783",
+ "reference": "81b86b50cf841a64252b439e738e97f4a34e2783",
"shasum": ""
},
"require": {
- "php": ">=5.3.3",
- "symfony/polyfill-mbstring": "^1.3",
- "symfony/polyfill-php72": "^1.9"
+ "php": ">=7.1"
},
"suggest": {
"ext-intl": "For best performance"
@@ -3660,29 +4638,120 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.9-dev"
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Intl\\Idn\\": ""
- },
"files": [
"bootstrap.php"
- ]
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
+ }
},
"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 intl's grapheme_* functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "grapheme",
+ "intl",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
},
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-11-23T21:10:46+00:00"
+ },
+ {
+ "name": "symfony/polyfill-intl-idn",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-intl-idn.git",
+ "reference": "749045c69efb97c70d25d7463abba812e91f3a44"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/749045c69efb97c70d25d7463abba812e91f3a44",
+ "reference": "749045c69efb97c70d25d7463abba812e91f3a44",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1",
+ "symfony/polyfill-intl-normalizer": "^1.10",
+ "symfony/polyfill-php72": "^1.10"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Idn\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
{
"name": "Laurent Bassin",
"email": "laurent@bassin.info"
+ },
+ {
+ "name": "Trevor Rowbotham",
+ "email": "trevor.rowbotham@pm.me"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions",
@@ -3695,24 +4764,128 @@
"portable",
"shim"
],
- "time": "2019-03-04T13:44:35+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-09-14T14:02:44+00:00"
},
{
- "name": "symfony/polyfill-mbstring",
- "version": "v1.11.0",
+ "name": "symfony/polyfill-intl-normalizer",
+ "version": "v1.25.0",
"source": {
"type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "fe5e94c604826c35a32fa832f35bd036b6799609"
+ "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fe5e94c604826c35a32fa832f35bd036b6799609",
- "reference": "fe5e94c604826c35a32fa832f35bd036b6799609",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
+ },
+ "suggest": {
+ "ext-intl": "For best performance"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
+ },
+ "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 for intl's Normalizer class and related functions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "intl",
+ "normalizer",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-02-19T12:13:01+00:00"
+ },
+ {
+ "name": "symfony/polyfill-mbstring",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825",
+ "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "provide": {
+ "ext-mbstring": "*"
},
"suggest": {
"ext-mbstring": "For best performance"
@@ -3720,16 +4893,20 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- },
"files": [
"bootstrap.php"
- ]
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Mbstring\\": ""
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -3754,38 +4931,59 @@
"portable",
"shim"
],
- "time": "2019-02-06T07:57:58+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-11-30T18:21:41+00:00"
},
{
"name": "symfony/polyfill-php72",
- "version": "v1.11.0",
+ "version": "v1.25.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
- "reference": "ab50dcf166d5f577978419edd37aa2bb8eabce0c"
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/ab50dcf166d5f577978419edd37aa2bb8eabce0c",
- "reference": "ab50dcf166d5f577978419edd37aa2bb8eabce0c",
+ "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976",
+ "reference": "9a142215a36a3888e30d0a9eeea9766764e96976",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php72\\": ""
- },
"files": [
"bootstrap.php"
- ]
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php72\\": ""
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -3809,38 +5007,59 @@
"portable",
"shim"
],
- "time": "2019-02-06T07:57:58+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-05-27T09:17:38+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.11.0",
+ "version": "v1.25.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "d1fb4abcc0c47be136208ad9d68bf59f1ee17abd"
+ "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/d1fb4abcc0c47be136208ad9d68bf59f1ee17abd",
- "reference": "d1fb4abcc0c47be136208ad9d68bf59f1ee17abd",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5",
+ "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5",
"shasum": ""
},
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.11-dev"
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php73\\": ""
- },
"files": [
"bootstrap.php"
],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php73\\": ""
+ },
"classmap": [
"Resources/stubs"
]
@@ -3867,31 +5086,206 @@
"portable",
"shim"
],
- "time": "2019-02-06T07:57:58+00:00"
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-06-05T21:20:04+00:00"
},
{
- "name": "symfony/process",
- "version": "v4.3.1",
+ "name": "symfony/polyfill-php80",
+ "version": "v1.25.0",
"source": {
"type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "856d35814cf287480465bb7a6c413bb7f5f5e69c"
+ "url": "https://github.com/symfony/polyfill-php80.git",
+ "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/856d35814cf287480465bb7a6c413bb7f5f5e69c",
- "reference": "856d35814cf287480465bb7a6c413bb7f5f5e69c",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c",
+ "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.3-dev"
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
}
},
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php80\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ion Bazan",
+ "email": "ion.bazan@gmail.com"
+ },
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-04T08:16:47+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php81",
+ "version": "v1.25.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php81.git",
+ "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f",
+ "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.23-dev"
+ },
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php81\\": ""
+ },
+ "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 8.1+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php81/tree/v1.25.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-09-13T13:58:11+00:00"
+ },
+ {
+ "name": "symfony/process",
+ "version": "v5.4.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/process.git",
+ "reference": "95440409896f90a5f85db07a32b517ecec17fa4c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/process/zipball/95440409896f90a5f85db07a32b517ecec17fa4c",
+ "reference": "95440409896f90a5f85db07a32b517ecec17fa4c",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Process\\": ""
@@ -3914,54 +5308,68 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Process Component",
+ "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
- "time": "2019-05-30T16:10:05+00:00"
+ "support": {
+ "source": "https://github.com/symfony/process/tree/v5.4.5"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-30T18:16:22+00:00"
},
{
"name": "symfony/routing",
- "version": "v4.3.1",
+ "version": "v5.4.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "9b31cd24f6ad2cebde6845f6daa9c6d69efe2465"
+ "reference": "44b29c7a94e867ccde1da604792f11a469958981"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/9b31cd24f6ad2cebde6845f6daa9c6d69efe2465",
- "reference": "9b31cd24f6ad2cebde6845f6daa9c6d69efe2465",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/44b29c7a94e867ccde1da604792f11a469958981",
+ "reference": "44b29c7a94e867ccde1da604792f11a469958981",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-php80": "^1.16"
},
"conflict": {
- "symfony/config": "<4.2",
- "symfony/dependency-injection": "<3.4",
- "symfony/yaml": "<3.4"
+ "doctrine/annotations": "<1.12",
+ "symfony/config": "<5.3",
+ "symfony/dependency-injection": "<4.4",
+ "symfony/yaml": "<4.4"
},
"require-dev": {
- "doctrine/annotations": "~1.2",
- "psr/log": "~1.0",
- "symfony/config": "~4.2",
- "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"
+ "doctrine/annotations": "^1.12",
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^5.3|^6.0",
+ "symfony/dependency-injection": "^4.4|^5.0|^6.0",
+ "symfony/expression-language": "^4.4|^5.0|^6.0",
+ "symfony/http-foundation": "^4.4|^5.0|^6.0",
+ "symfony/yaml": "^4.4|^5.0|^6.0"
},
"suggest": {
- "doctrine/annotations": "For using the annotation loader",
"symfony/config": "For using the all-in-one router or any loader",
"symfony/expression-language": "For using expression matching",
"symfony/http-foundation": "For using a Symfony Request object",
"symfony/yaml": "For using the YAML loader"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Routing\\": ""
@@ -3984,7 +5392,7 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Routing Component",
+ "description": "Maps an HTTP request to a set of configuration variables",
"homepage": "https://symfony.com",
"keywords": [
"router",
@@ -3992,33 +5400,58 @@
"uri",
"url"
],
- "time": "2019-06-05T09:16:20+00:00"
+ "support": {
+ "source": "https://github.com/symfony/routing/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/service-contracts",
- "version": "v1.1.2",
+ "version": "v2.5.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0"
+ "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/191afdcb5804db960d26d8566b7e9a2843cab3a0",
- "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc",
+ "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.2.5",
+ "psr/container": "^1.1",
+ "symfony/deprecation-contracts": "^2.1"
+ },
+ "conflict": {
+ "ext-psr": "<1.1|>=2"
},
"suggest": {
- "psr/container": "",
"symfony/service-implementation": ""
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -4050,46 +5483,155 @@
"interoperability",
"standards"
],
- "time": "2019-05-28T07:50:59+00:00"
+ "support": {
+ "source": "https://github.com/symfony/service-contracts/tree/v2.5.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-11-04T16:48:04+00:00"
},
{
- "name": "symfony/translation",
- "version": "v4.3.1",
+ "name": "symfony/string",
+ "version": "v5.4.3",
"source": {
"type": "git",
- "url": "https://github.com/symfony/translation.git",
- "reference": "5dda505e5f65d759741dfaf4e54b36010a4b57aa"
+ "url": "https://github.com/symfony/string.git",
+ "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/5dda505e5f65d759741dfaf4e54b36010a4b57aa",
- "reference": "5dda505e5f65d759741dfaf4e54b36010a4b57aa",
+ "url": "https://api.github.com/repos/symfony/string/zipball/92043b7d8383e48104e411bc9434b260dbeb5a10",
+ "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": ">=7.2.5",
+ "symfony/polyfill-ctype": "~1.8",
+ "symfony/polyfill-intl-grapheme": "~1.0",
+ "symfony/polyfill-intl-normalizer": "~1.0",
"symfony/polyfill-mbstring": "~1.0",
- "symfony/translation-contracts": "^1.1.2"
+ "symfony/polyfill-php80": "~1.15"
},
"conflict": {
- "symfony/config": "<3.4",
- "symfony/dependency-injection": "<3.4",
- "symfony/yaml": "<3.4"
- },
- "provide": {
- "symfony/translation-implementation": "1.0"
+ "symfony/translation-contracts": ">=3.0"
},
"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/http-kernel": "~3.4|~4.0",
- "symfony/intl": "~3.4|~4.0",
- "symfony/service-contracts": "^1.1.2",
- "symfony/var-dumper": "~3.4|~4.0",
- "symfony/yaml": "~3.4|~4.0"
+ "symfony/error-handler": "^4.4|^5.0|^6.0",
+ "symfony/http-client": "^4.4|^5.0|^6.0",
+ "symfony/translation-contracts": "^1.1|^2",
+ "symfony/var-exporter": "^4.4|^5.0|^6.0"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "Resources/functions.php"
+ ],
+ "psr-4": {
+ "Symfony\\Component\\String\\": ""
+ },
+ "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": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "grapheme",
+ "i18n",
+ "string",
+ "unicode",
+ "utf-8",
+ "utf8"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/string/tree/v5.4.3"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-02T09:53:40+00:00"
+ },
+ {
+ "name": "symfony/translation",
+ "version": "v5.4.6",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/translation.git",
+ "reference": "a7ca9fdfffb0174209440c2ffa1dee228e15d95b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/a7ca9fdfffb0174209440c2ffa1dee228e15d95b",
+ "reference": "a7ca9fdfffb0174209440c2ffa1dee228e15d95b",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-mbstring": "~1.0",
+ "symfony/polyfill-php80": "^1.16",
+ "symfony/translation-contracts": "^2.3"
+ },
+ "conflict": {
+ "symfony/config": "<4.4",
+ "symfony/console": "<5.3",
+ "symfony/dependency-injection": "<5.0",
+ "symfony/http-kernel": "<5.0",
+ "symfony/twig-bundle": "<5.0",
+ "symfony/yaml": "<4.4"
+ },
+ "provide": {
+ "symfony/translation-implementation": "2.3"
+ },
+ "require-dev": {
+ "psr/log": "^1|^2|^3",
+ "symfony/config": "^4.4|^5.0|^6.0",
+ "symfony/console": "^5.4|^6.0",
+ "symfony/dependency-injection": "^5.0|^6.0",
+ "symfony/finder": "^4.4|^5.0|^6.0",
+ "symfony/http-client-contracts": "^1.1|^2.0|^3.0",
+ "symfony/http-kernel": "^5.0|^6.0",
+ "symfony/intl": "^4.4|^5.0|^6.0",
+ "symfony/polyfill-intl-icu": "^1.21",
+ "symfony/service-contracts": "^1.1.2|^2|^3",
+ "symfony/yaml": "^4.4|^5.0|^6.0"
},
"suggest": {
"psr/log-implementation": "To use logging capability in translator",
@@ -4097,12 +5639,10 @@
"symfony/yaml": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
+ "files": [
+ "Resources/functions.php"
+ ],
"psr-4": {
"Symfony\\Component\\Translation\\": ""
},
@@ -4124,26 +5664,43 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Translation Component",
+ "description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
- "time": "2019-06-03T20:27:40+00:00"
+ "support": {
+ "source": "https://github.com/symfony/translation/tree/v5.4.6"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-02T12:56:28+00:00"
},
{
"name": "symfony/translation-contracts",
- "version": "v1.1.2",
+ "version": "v2.5.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation-contracts.git",
- "reference": "93597ce975d91c52ebfaca1253343cd9ccb7916d"
+ "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/93597ce975d91c52ebfaca1253343cd9ccb7916d",
- "reference": "93597ce975d91c52ebfaca1253343cd9ccb7916d",
+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671fc2620a98aae1b1e",
+ "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e",
"shasum": ""
},
"require": {
- "php": "^7.1.3"
+ "php": ">=7.2.5"
},
"suggest": {
"symfony/translation-implementation": ""
@@ -4151,7 +5708,11 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.1-dev"
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
@@ -4183,36 +5744,54 @@
"interoperability",
"standards"
],
- "time": "2019-05-27T08:16:38+00:00"
+ "support": {
+ "source": "https://github.com/symfony/translation-contracts/tree/v2.5.0"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-08-17T14:20:01+00:00"
},
{
"name": "symfony/var-dumper",
- "version": "v4.3.1",
+ "version": "v5.4.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
- "reference": "f974f448154928d2b5fb7c412bd23b81d063f34b"
+ "reference": "294e9da6e2e0dd404e983daa5aa74253d92c05d0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/var-dumper/zipball/f974f448154928d2b5fb7c412bd23b81d063f34b",
- "reference": "f974f448154928d2b5fb7c412bd23b81d063f34b",
+ "url": "https://api.github.com/repos/symfony/var-dumper/zipball/294e9da6e2e0dd404e983daa5aa74253d92c05d0",
+ "reference": "294e9da6e2e0dd404e983daa5aa74253d92c05d0",
"shasum": ""
},
"require": {
- "php": "^7.1.3",
+ "php": ">=7.2.5",
"symfony/polyfill-mbstring": "~1.0",
- "symfony/polyfill-php72": "~1.5"
+ "symfony/polyfill-php80": "^1.16"
},
"conflict": {
- "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
- "symfony/console": "<3.4"
+ "phpunit/phpunit": "<5.4.3",
+ "symfony/console": "<4.4"
},
"require-dev": {
"ext-iconv": "*",
- "symfony/console": "~3.4|~4.0",
- "symfony/process": "~3.4|~4.0",
- "twig/twig": "~1.34|~2.4"
+ "symfony/console": "^4.4|^5.0|^6.0",
+ "symfony/process": "^4.4|^5.0|^6.0",
+ "symfony/uid": "^5.1|^6.0",
+ "twig/twig": "^2.13|^3.0.4"
},
"suggest": {
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
@@ -4223,11 +5802,6 @@
"Resources/bin/var-dump-server"
],
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.3-dev"
- }
- },
"autoload": {
"files": [
"Resources/functions/dump.php"
@@ -4253,34 +5827,126 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony mechanism for exploring and dumping PHP variables",
+ "description": "Provides mechanisms for walking through any arbitrary PHP variable",
"homepage": "https://symfony.com",
"keywords": [
"debug",
"dump"
],
- "time": "2019-06-05T02:08:12+00:00"
+ "support": {
+ "source": "https://github.com/symfony/var-dumper/tree/v5.4.6"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-02T12:42:23+00:00"
},
{
- "name": "tijsverkoyen/css-to-inline-styles",
- "version": "2.2.1",
+ "name": "symfony/var-exporter",
+ "version": "v5.4.6",
"source": {
"type": "git",
- "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
- "reference": "0ed4a2ea4e0902dac0489e6436ebcd5bbcae9757"
+ "url": "https://github.com/symfony/var-exporter.git",
+ "reference": "49e2355fe6f59ea30c18ebb68edf13b7e20582e5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0ed4a2ea4e0902dac0489e6436ebcd5bbcae9757",
- "reference": "0ed4a2ea4e0902dac0489e6436ebcd5bbcae9757",
+ "url": "https://api.github.com/repos/symfony/var-exporter/zipball/49e2355fe6f59ea30c18ebb68edf13b7e20582e5",
+ "reference": "49e2355fe6f59ea30c18ebb68edf13b7e20582e5",
"shasum": ""
},
"require": {
- "php": "^5.5 || ^7.0",
- "symfony/css-selector": "^2.7 || ^3.0 || ^4.0"
+ "php": ">=7.2.5",
+ "symfony/polyfill-php80": "^1.16"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
+ "symfony/var-dumper": "^4.4.9|^5.0.9|^6.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\VarExporter\\": ""
+ },
+ "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": "Allows exporting any serializable PHP data structure to plain PHP code",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "clone",
+ "construct",
+ "export",
+ "hydrate",
+ "instantiate",
+ "serialize"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/var-exporter/tree/v5.4.6"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-02T12:42:23+00:00"
+ },
+ {
+ "name": "tijsverkoyen/css-to-inline-styles",
+ "version": "2.2.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",
+ "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c",
+ "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c",
+ "shasum": ""
+ },
+ "require": {
+ "ext-dom": "*",
+ "ext-libxml": "*",
+ "php": "^5.5 || ^7.0 || ^8.0",
+ "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10"
},
"type": "library",
"extra": {
@@ -4306,33 +5972,45 @@
],
"description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
- "time": "2017-11-27T11:13:29+00:00"
+ "support": {
+ "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues",
+ "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4"
+ },
+ "time": "2021-12-08T09:12:39+00:00"
},
{
"name": "vlucas/phpdotenv",
- "version": "v2.6.1",
+ "version": "v4.2.2",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
- "reference": "2a7dcf7e3e02dc5e701004e51a6f304b713107d5"
+ "reference": "77e974614d2ead521f18069dccc571696f52b8dc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2a7dcf7e3e02dc5e701004e51a6f304b713107d5",
- "reference": "2a7dcf7e3e02dc5e701004e51a6f304b713107d5",
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/77e974614d2ead521f18069dccc571696f52b8dc",
+ "reference": "77e974614d2ead521f18069dccc571696f52b8dc",
"shasum": ""
},
"require": {
- "php": ">=5.3.9",
- "symfony/polyfill-ctype": "^1.9"
+ "php": "^5.5.9 || ^7.0 || ^8.0",
+ "phpoption/phpoption": "^1.7.3",
+ "symfony/polyfill-ctype": "^1.17"
},
"require-dev": {
- "phpunit/phpunit": "^4.8.35 || ^5.0"
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "ext-filter": "*",
+ "ext-pcre": "*",
+ "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.21"
+ },
+ "suggest": {
+ "ext-filter": "Required to use the boolean validator.",
+ "ext-pcre": "Required to use most of the library."
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.6-dev"
+ "dev-master": "4.2-dev"
}
},
"autoload": {
@@ -4345,10 +6023,15 @@
"BSD-3-Clause"
],
"authors": [
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
+ },
{
"name": "Vance Lucas",
"email": "vance@vancelucas.com",
- "homepage": "http://www.vancelucas.com"
+ "homepage": "https://github.com/vlucas"
}
],
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
@@ -4357,108 +6040,126 @@
"env",
"environment"
],
- "time": "2019-01-29T11:11:52+00:00"
+ "support": {
+ "issues": "https://github.com/vlucas/phpdotenv/issues",
+ "source": "https://github.com/vlucas/phpdotenv/tree/v4.2.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-12-12T23:07:53+00:00"
},
{
- "name": "zendframework/zend-diactoros",
- "version": "2.1.2",
+ "name": "voku/portable-ascii",
+ "version": "1.6.1",
"source": {
"type": "git",
- "url": "https://github.com/zendframework/zend-diactoros.git",
- "reference": "37bf68b428850ee26ed7c3be6c26236dd95a95f1"
+ "url": "https://github.com/voku/portable-ascii.git",
+ "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/37bf68b428850ee26ed7c3be6c26236dd95a95f1",
- "reference": "37bf68b428850ee26ed7c3be6c26236dd95a95f1",
+ "url": "https://api.github.com/repos/voku/portable-ascii/zipball/87337c91b9dfacee02452244ee14ab3c43bc485a",
+ "reference": "87337c91b9dfacee02452244ee14ab3c43bc485a",
"shasum": ""
},
"require": {
- "php": "^7.1",
- "psr/http-factory": "^1.0",
- "psr/http-message": "^1.0"
- },
- "provide": {
- "psr/http-factory-implementation": "1.0",
- "psr/http-message-implementation": "1.0"
+ "php": ">=7.0.0"
},
"require-dev": {
- "ext-dom": "*",
- "ext-libxml": "*",
- "http-interop/http-factory-tests": "^0.5.0",
- "php-http/psr7-integration-tests": "dev-master",
- "phpunit/phpunit": "^7.0.2",
- "zendframework/zend-coding-standard": "~1.0.0"
+ "phpunit/phpunit": "~6.0 || ~7.0 || ~9.0"
+ },
+ "suggest": {
+ "ext-intl": "Use Intl for transliterator_transliterate() support"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.1.x-dev",
- "dev-develop": "2.2.x-dev",
- "dev-release-1.8": "1.8.x-dev"
- }
- },
"autoload": {
- "files": [
- "src/functions/create_uploaded_file.php",
- "src/functions/marshal_headers_from_sapi.php",
- "src/functions/marshal_method_from_sapi.php",
- "src/functions/marshal_protocol_version_from_sapi.php",
- "src/functions/marshal_uri_from_sapi.php",
- "src/functions/normalize_server.php",
- "src/functions/normalize_uploaded_files.php",
- "src/functions/parse_cookie_header.php"
- ],
"psr-4": {
- "Zend\\Diactoros\\": "src/"
+ "voku\\": "src/voku/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "BSD-3-Clause"
+ "MIT"
],
- "description": "PSR HTTP Message implementations",
+ "authors": [
+ {
+ "name": "Lars Moelleken",
+ "homepage": "http://www.moelleken.org/"
+ }
+ ],
+ "description": "Portable ASCII library - performance optimized (ascii) string functions for php.",
+ "homepage": "https://github.com/voku/portable-ascii",
"keywords": [
- "http",
- "psr",
- "psr-7"
+ "ascii",
+ "clean",
+ "php"
],
- "time": "2019-04-29T21:11:00+00:00"
+ "support": {
+ "issues": "https://github.com/voku/portable-ascii/issues",
+ "source": "https://github.com/voku/portable-ascii/tree/1.6.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.me/moelleken",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/voku",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/portable-ascii",
+ "type": "open_collective"
+ },
+ {
+ "url": "https://www.patreon.com/voku",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-01-24T18:55:24+00:00"
}
],
"packages-dev": [
{
"name": "doctrine/instantiator",
- "version": "1.2.0",
+ "version": "1.4.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/instantiator.git",
- "reference": "a2c590166b2133a4633738648b6b064edae0814a"
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a",
- "reference": "a2c590166b2133a4633738648b6b064edae0814a",
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc",
+ "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": "^7.1 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^6.0",
+ "doctrine/coding-standard": "^9",
"ext-pdo": "*",
"ext-phar": "*",
- "phpbench/phpbench": "^0.13",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-shim": "^0.11",
- "phpunit/phpunit": "^7.0"
+ "phpbench/phpbench": "^0.16 || ^1",
+ "phpstan/phpstan": "^1.4",
+ "phpstan/phpstan-phpunit": "^1",
+ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
+ "vimeo/psalm": "^4.22"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
@@ -4472,7 +6173,7 @@
{
"name": "Marco Pivetta",
"email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
+ "homepage": "https://ocramius.github.io/"
}
],
"description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
@@ -4481,30 +6182,48 @@
"constructor",
"instantiate"
],
- "time": "2019-03-17T17:37:11+00:00"
+ "support": {
+ "issues": "https://github.com/doctrine/instantiator/issues",
+ "source": "https://github.com/doctrine/instantiator/tree/1.4.1"
+ },
+ "funding": [
+ {
+ "url": "https://www.doctrine-project.org/sponsorship.html",
+ "type": "custom"
+ },
+ {
+ "url": "https://www.patreon.com/phpdoctrine",
+ "type": "patreon"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-03T08:28:38+00:00"
},
{
"name": "filp/whoops",
- "version": "2.3.1",
+ "version": "2.14.5",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
- "reference": "bc0fd11bc455cc20ee4b5edabc63ebbf859324c7"
+ "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/filp/whoops/zipball/bc0fd11bc455cc20ee4b5edabc63ebbf859324c7",
- "reference": "bc0fd11bc455cc20ee4b5edabc63ebbf859324c7",
+ "url": "https://api.github.com/repos/filp/whoops/zipball/a63e5e8f26ebbebf8ed3c5c691637325512eb0dc",
+ "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc",
"shasum": ""
},
"require": {
- "php": "^5.5.9 || ^7.0",
- "psr/log": "^1.0.1"
+ "php": "^5.5.9 || ^7.0 || ^8.0",
+ "psr/log": "^1.0.1 || ^2.0 || ^3.0"
},
"require-dev": {
"mockery/mockery": "^0.9 || ^1.0",
- "phpunit/phpunit": "^4.8.35 || ^5.7",
- "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0"
+ "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3",
+ "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0"
},
"suggest": {
"symfony/var-dumper": "Pretty print complex values better with var-dumper available",
@@ -4513,7 +6232,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.2-dev"
+ "dev-master": "2.7-dev"
}
},
"autoload": {
@@ -4542,20 +6261,30 @@
"throwable",
"whoops"
],
- "time": "2018-10-23T09:00:00+00:00"
+ "support": {
+ "issues": "https://github.com/filp/whoops/issues",
+ "source": "https://github.com/filp/whoops/tree/2.14.5"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/denis-sokolov",
+ "type": "github"
+ }
+ ],
+ "time": "2022-01-07T12:00:00+00:00"
},
{
"name": "fzaninotto/faker",
- "version": "v1.8.0",
+ "version": "v1.9.2",
"source": {
"type": "git",
"url": "https://github.com/fzaninotto/Faker.git",
- "reference": "f72816b43e74063c8b10357394b6bba8cb1c10de"
+ "reference": "848d8125239d7dbf8ab25cb7f054f1a630e68c2e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/f72816b43e74063c8b10357394b6bba8cb1c10de",
- "reference": "f72816b43e74063c8b10357394b6bba8cb1c10de",
+ "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/848d8125239d7dbf8ab25cb7f054f1a630e68c2e",
+ "reference": "848d8125239d7dbf8ab25cb7f054f1a630e68c2e",
"shasum": ""
},
"require": {
@@ -4564,12 +6293,12 @@
"require-dev": {
"ext-intl": "*",
"phpunit/phpunit": "^4.8.35 || ^5.7",
- "squizlabs/php_codesniffer": "^1.5"
+ "squizlabs/php_codesniffer": "^2.9.2"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.8-dev"
+ "dev-master": "1.9-dev"
}
},
"autoload": {
@@ -4592,24 +6321,29 @@
"faker",
"fixtures"
],
- "time": "2018-07-12T10:23:15+00:00"
+ "support": {
+ "issues": "https://github.com/fzaninotto/Faker/issues",
+ "source": "https://github.com/fzaninotto/Faker/tree/v1.9.2"
+ },
+ "abandoned": true,
+ "time": "2020-12-11T09:56:16+00:00"
},
{
"name": "hamcrest/hamcrest-php",
- "version": "v2.0.0",
+ "version": "v2.0.1",
"source": {
"type": "git",
"url": "https://github.com/hamcrest/hamcrest-php.git",
- "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad"
+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/776503d3a8e85d4f9a1148614f95b7a608b046ad",
- "reference": "776503d3a8e85d4f9a1148614f95b7a608b046ad",
+ "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
+ "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
"shasum": ""
},
"require": {
- "php": "^5.3|^7.0"
+ "php": "^5.3|^7.0|^8.0"
},
"replace": {
"cordoval/hamcrest-php": "*",
@@ -4617,14 +6351,13 @@
"kodova/hamcrest-php": "*"
},
"require-dev": {
- "phpunit/php-file-iterator": "1.3.3",
- "phpunit/phpunit": "~4.0",
- "satooshi/php-coveralls": "^1.0"
+ "phpunit/php-file-iterator": "^1.4 || ^2.0",
+ "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.0-dev"
+ "dev-master": "2.1-dev"
}
},
"autoload": {
@@ -4634,40 +6367,44 @@
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "BSD"
+ "BSD-3-Clause"
],
"description": "This is the PHP port of Hamcrest Matchers",
"keywords": [
"test"
],
- "time": "2016-01-20T08:20:44+00:00"
+ "support": {
+ "issues": "https://github.com/hamcrest/hamcrest-php/issues",
+ "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"
+ },
+ "time": "2020-07-09T08:09:16+00:00"
},
{
"name": "mockery/mockery",
- "version": "1.2.2",
+ "version": "1.3.5",
"source": {
"type": "git",
"url": "https://github.com/mockery/mockery.git",
- "reference": "0eb0b48c3f07b3b89f5169ce005b7d05b18cf1d2"
+ "reference": "472fa8ca4e55483d55ee1e73c963718c4393791d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/mockery/mockery/zipball/0eb0b48c3f07b3b89f5169ce005b7d05b18cf1d2",
- "reference": "0eb0b48c3f07b3b89f5169ce005b7d05b18cf1d2",
+ "url": "https://api.github.com/repos/mockery/mockery/zipball/472fa8ca4e55483d55ee1e73c963718c4393791d",
+ "reference": "472fa8ca4e55483d55ee1e73c963718c4393791d",
"shasum": ""
},
"require": {
- "hamcrest/hamcrest-php": "~2.0",
+ "hamcrest/hamcrest-php": "^2.0.1",
"lib-pcre": ">=7.0",
"php": ">=5.6.0"
},
"require-dev": {
- "phpunit/phpunit": "~5.7.10|~6.5|~7.0|~8.0"
+ "phpunit/phpunit": "^5.7.10|^6.5|^7.5|^8.5|^9.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-master": "1.3.x-dev"
}
},
"autoload": {
@@ -4705,41 +6442,46 @@
"test double",
"testing"
],
- "time": "2019-02-13T09:37:52+00:00"
+ "support": {
+ "issues": "https://github.com/mockery/mockery/issues",
+ "source": "https://github.com/mockery/mockery/tree/1.3.5"
+ },
+ "time": "2021-09-13T15:33:03+00:00"
},
{
"name": "myclabs/deep-copy",
- "version": "1.9.1",
+ "version": "1.11.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72"
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
- "reference": "e6828efaba2c9b79f4499dae1d66ef8bfa7b2b72",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614",
+ "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614",
"shasum": ""
},
"require": {
- "php": "^7.1"
+ "php": "^7.1 || ^8.0"
},
- "replace": {
- "myclabs/deep-copy": "self.version"
+ "conflict": {
+ "doctrine/collections": "<1.6.8",
+ "doctrine/common": "<2.13.3 || >=3,<3.2.2"
},
"require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
+ "doctrine/collections": "^1.6.8",
+ "doctrine/common": "^2.13.3 || ^3.2.2",
+ "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
},
"type": "library",
"autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
"files": [
"src/DeepCopy/deep_copy.php"
- ]
+ ],
+ "psr-4": {
+ "DeepCopy\\": "src/DeepCopy/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -4753,7 +6495,17 @@
"object",
"object graph"
],
- "time": "2019-04-07T13:18:21+00:00"
+ "support": {
+ "issues": "https://github.com/myclabs/DeepCopy/issues",
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0"
+ },
+ "funding": [
+ {
+ "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2022-03-03T13:19:32+00:00"
},
{
"name": "phar-io/manifest",
@@ -4808,6 +6560,10 @@
}
],
"description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
+ "support": {
+ "issues": "https://github.com/phar-io/manifest/issues",
+ "source": "https://github.com/phar-io/manifest/tree/master"
+ },
"time": "2017-03-05T18:14:27+00:00"
},
{
@@ -4855,39 +6611,38 @@
}
],
"description": "Library for handling version information and constraints",
+ "support": {
+ "issues": "https://github.com/phar-io/version/issues",
+ "source": "https://github.com/phar-io/version/tree/master"
+ },
"time": "2017-03-05T17:38:23+00:00"
},
{
"name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
+ "version": "2.2.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
+ "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
+ "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
"shasum": ""
},
"require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-2.x": "2.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
+ "phpDocumentor\\Reflection\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -4909,44 +6664,46 @@
"reflection",
"static analysis"
],
- "time": "2017-09-11T18:02:19+00:00"
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x"
+ },
+ "time": "2020-06-27T09:03:43+00:00"
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "4.3.1",
+ "version": "5.3.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c"
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
- "reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
"shasum": ""
},
"require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
+ "ext-filter": "*",
+ "php": "^7.2 || ^8.0",
+ "phpdocumentor/reflection-common": "^2.2",
+ "phpdocumentor/type-resolver": "^1.3",
+ "webmozart/assert": "^1.9.1"
},
"require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
+ "mockery/mockery": "~1.3.2",
+ "psalm/phar": "^4.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "4.x-dev"
+ "dev-master": "5.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
+ "phpDocumentor\\Reflection\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -4957,44 +6714,50 @@
{
"name": "Mike van Riel",
"email": "me@mikevanriel.com"
+ },
+ {
+ "name": "Jaap van Otterdijk",
+ "email": "account@ijaap.nl"
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2019-04-30T17:48:53+00:00"
+ "support": {
+ "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
+ },
+ "time": "2021-10-19T17:43:47+00:00"
},
{
"name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
+ "version": "1.6.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
+ "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/93ebd0014cab80c4ea9f5e297ea48672f1b87706",
+ "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706",
"shasum": ""
},
"require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
+ "php": "^7.2 || ^8.0",
+ "phpdocumentor/reflection-common": "^2.0"
},
"require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
+ "ext-tokenizer": "*",
+ "psalm/phar": "^4.8"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.0.x-dev"
+ "dev-1.x": "1.x-dev"
}
},
"autoload": {
"psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
+ "phpDocumentor\\Reflection\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -5007,42 +6770,47 @@
"email": "me@mikevanriel.com"
}
],
- "time": "2017-07-14T14:27:02+00:00"
+ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
+ "support": {
+ "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.0"
+ },
+ "time": "2022-01-04T19:58:01+00:00"
},
{
"name": "phpspec/prophecy",
- "version": "1.8.0",
+ "version": "v1.10.3",
"source": {
"type": "git",
"url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
+ "reference": "451c3cd1418cf640de218914901e51b064abb093"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093",
+ "reference": "451c3cd1418cf640de218914901e51b064abb093",
"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"
+ "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0",
+ "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0",
+ "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0"
},
"require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
+ "phpspec/phpspec": "^2.5 || ^3.2",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.8.x-dev"
+ "dev-master": "1.10.x-dev"
}
},
"autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
+ "psr-4": {
+ "Prophecy\\": "src/Prophecy"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -5070,7 +6838,11 @@
"spy",
"stub"
],
- "time": "2018-08-05T17:53:17+00:00"
+ "support": {
+ "issues": "https://github.com/phpspec/prophecy/issues",
+ "source": "https://github.com/phpspec/prophecy/tree/v1.10.3"
+ },
+ "time": "2020-03-05T15:02:03+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -5133,6 +6905,10 @@
"testing",
"xunit"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/5.3"
+ },
"time": "2018-04-06T15:36:58+00:00"
},
{
@@ -5180,6 +6956,11 @@
"filesystem",
"iterator"
],
+ "support": {
+ "irc": "irc://irc.freenode.net/phpunit",
+ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
+ "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/1.4.5"
+ },
"time": "2017-11-27T13:52:08+00:00"
},
{
@@ -5221,6 +7002,10 @@
"keywords": [
"template"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
+ "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1"
+ },
"time": "2015-06-21T13:50:34+00:00"
},
{
@@ -5270,6 +7055,10 @@
"keywords": [
"timer"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-timer/issues",
+ "source": "https://github.com/sebastianbergmann/php-timer/tree/master"
+ },
"time": "2017-02-26T11:10:40+00:00"
},
{
@@ -5319,6 +7108,11 @@
"keywords": [
"tokenizer"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/php-token-stream/issues",
+ "source": "https://github.com/sebastianbergmann/php-token-stream/tree/master"
+ },
+ "abandoned": true,
"time": "2017-11-27T05:48:46+00:00"
},
{
@@ -5403,6 +7197,10 @@
"testing",
"xunit"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/phpunit/issues",
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/6.5.14"
+ },
"time": "2019-02-01T05:22:47+00:00"
},
{
@@ -5462,27 +7260,32 @@
"mock",
"xunit"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/phpunit-mock-objects/issues",
+ "source": "https://github.com/sebastianbergmann/phpunit-mock-objects/tree/5.0.10"
+ },
+ "abandoned": true,
"time": "2018-08-09T05:50:03+00:00"
},
{
"name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
+ "version": "1.0.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
+ "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/1de8cd5c010cb153fcd68b8d0f64606f523f7619",
+ "reference": "1de8cd5c010cb153fcd68b8d0f64606f523f7619",
"shasum": ""
},
"require": {
- "php": "^5.6 || ^7.0"
+ "php": ">=5.6"
},
"require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
+ "phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
@@ -5507,7 +7310,17 @@
],
"description": "Looks up which function or method a line of code belongs to",
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
+ "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T08:15:22+00:00"
},
{
"name": "sebastian/comparator",
@@ -5571,6 +7384,10 @@
"compare",
"equality"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/comparator/issues",
+ "source": "https://github.com/sebastianbergmann/comparator/tree/master"
+ },
"time": "2018-02-01T13:46:46+00:00"
},
{
@@ -5623,6 +7440,10 @@
"keywords": [
"diff"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/diff/issues",
+ "source": "https://github.com/sebastianbergmann/diff/tree/master"
+ },
"time": "2017-08-03T08:09:46+00:00"
},
{
@@ -5673,29 +7494,33 @@
"environment",
"hhvm"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/environment/issues",
+ "source": "https://github.com/sebastianbergmann/environment/tree/master"
+ },
"time": "2017-07-01T08:51:00+00:00"
},
{
"name": "sebastian/exporter",
- "version": "3.1.0",
+ "version": "3.1.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937"
+ "reference": "0c32ea2e40dbf59de29f3b49bf375176ce7dd8db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937",
+ "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/0c32ea2e40dbf59de29f3b49bf375176ce7dd8db",
+ "reference": "0c32ea2e40dbf59de29f3b49bf375176ce7dd8db",
"shasum": ""
},
"require": {
- "php": "^7.0",
+ "php": ">=7.0",
"sebastian/recursion-context": "^3.0"
},
"require-dev": {
"ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
+ "phpunit/phpunit": "^8.5"
},
"type": "library",
"extra": {
@@ -5713,6 +7538,10 @@
"BSD-3-Clause"
],
"authors": [
+ {
+ "name": "Sebastian Bergmann",
+ "email": "sebastian@phpunit.de"
+ },
{
"name": "Jeff Welch",
"email": "whatthejeff@gmail.com"
@@ -5721,17 +7550,13 @@
"name": "Volker Dusch",
"email": "github@wallbash.com"
},
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
{
"name": "Adam Harvey",
"email": "aharvey@php.net"
+ },
+ {
+ "name": "Bernhard Schussek",
+ "email": "bschussek@gmail.com"
}
],
"description": "Provides the functionality to export PHP variables for visualization",
@@ -5740,7 +7565,17 @@
"export",
"exporter"
],
- "time": "2017-04-03T13:19:02+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/exporter/issues",
+ "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2021-11-11T13:51:24+00:00"
},
{
"name": "sebastian/global-state",
@@ -5791,24 +7626,28 @@
"keywords": [
"global state"
],
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/global-state/issues",
+ "source": "https://github.com/sebastianbergmann/global-state/tree/2.0.0"
+ },
"time": "2017-04-27T15:39:26+00:00"
},
{
"name": "sebastian/object-enumerator",
- "version": "3.0.3",
+ "version": "3.0.4",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
+ "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
+ "reference": "e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2",
"shasum": ""
},
"require": {
- "php": "^7.0",
+ "php": ">=7.0",
"sebastian/object-reflector": "^1.1.1",
"sebastian/recursion-context": "^3.0"
},
@@ -5838,24 +7677,34 @@
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
+ "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:40:27+00:00"
},
{
"name": "sebastian/object-reflector",
- "version": "1.1.1",
+ "version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
+ "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
+ "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
+ "reference": "9b8772b9cbd456ab45d4a598d2dd1a1bced6363d",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
@@ -5883,24 +7732,34 @@
],
"description": "Allows reflection of object attributes, including inherited and non-public ones",
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
+ "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:37:18+00:00"
},
{
"name": "sebastian/recursion-context",
- "version": "3.0.0",
+ "version": "3.0.1",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
+ "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
+ "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/367dcba38d6e1977be014dc4b22f47a484dac7fb",
+ "reference": "367dcba38d6e1977be014dc4b22f47a484dac7fb",
"shasum": ""
},
"require": {
- "php": "^7.0"
+ "php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
@@ -5921,14 +7780,14 @@
"BSD-3-Clause"
],
"authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de"
},
+ {
+ "name": "Jeff Welch",
+ "email": "whatthejeff@gmail.com"
+ },
{
"name": "Adam Harvey",
"email": "aharvey@php.net"
@@ -5936,7 +7795,17 @@
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
+ "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/sebastianbergmann",
+ "type": "github"
+ }
+ ],
+ "time": "2020-11-30T07:34:24+00:00"
},
{
"name": "sebastian/resource-operations",
@@ -5978,6 +7847,10 @@
],
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/resource-operations/issues",
+ "source": "https://github.com/sebastianbergmann/resource-operations/tree/master"
+ },
"time": "2015-07-28T20:34:47+00:00"
},
{
@@ -6021,30 +7894,34 @@
],
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
"homepage": "https://github.com/sebastianbergmann/version",
+ "support": {
+ "issues": "https://github.com/sebastianbergmann/version/issues",
+ "source": "https://github.com/sebastianbergmann/version/tree/master"
+ },
"time": "2016-10-03T07:35:21+00:00"
},
{
"name": "symfony/thanks",
- "version": "v1.1.0",
+ "version": "v1.2.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/thanks.git",
- "reference": "9474a631b52737c623b6aeba22f00bbc003251da"
+ "reference": "e9c4709560296acbd4fe9e12b8d57a925aa7eae8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/thanks/zipball/9474a631b52737c623b6aeba22f00bbc003251da",
- "reference": "9474a631b52737c623b6aeba22f00bbc003251da",
+ "url": "https://api.github.com/repos/symfony/thanks/zipball/e9c4709560296acbd4fe9e12b8d57a925aa7eae8",
+ "reference": "e9c4709560296acbd4fe9e12b8d57a925aa7eae8",
"shasum": ""
},
"require": {
- "composer-plugin-api": "^1.0",
- "php": "^5.5.9|^7.0.0"
+ "composer-plugin-api": "^1.0|^2.0",
+ "php": ">=5.5.9"
},
"type": "composer-plugin",
"extra": {
"branch-alias": {
- "dev-master": "1.0-dev"
+ "dev-main": "1.2-dev"
},
"class": "Symfony\\Thanks\\Thanks"
},
@@ -6063,28 +7940,46 @@
"email": "p@tchwork.com"
}
],
- "description": "Give thanks (in the form of a GitHub ⭐) to your fellow PHP package maintainers (not limited to Symfony components)!",
- "time": "2018-08-24T14:08:13+00:00"
+ "description": "Encourages sending ⭐ and 💵 to fellow PHP package maintainers (not limited to Symfony components)!",
+ "support": {
+ "issues": "https://github.com/symfony/thanks/issues",
+ "source": "https://github.com/symfony/thanks/tree/v1.2.10"
+ },
+ "funding": [
+ {
+ "url": "https://symfony.com/sponsor",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/fabpot",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-10-14T17:47:37+00:00"
},
{
"name": "theseer/tokenizer",
- "version": "1.1.2",
+ "version": "1.2.1",
"source": {
"type": "git",
"url": "https://github.com/theseer/tokenizer.git",
- "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8"
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/1c42705be2b6c1de5904f8afacef5895cab44bf8",
- "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8",
+ "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
+ "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
"shasum": ""
},
"require": {
"ext-dom": "*",
"ext-tokenizer": "*",
"ext-xmlwriter": "*",
- "php": "^7.0"
+ "php": "^7.2 || ^8.0"
},
"type": "library",
"autoload": {
@@ -6104,34 +7999,47 @@
}
],
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2019-04-04T09:56:43+00:00"
+ "support": {
+ "issues": "https://github.com/theseer/tokenizer/issues",
+ "source": "https://github.com/theseer/tokenizer/tree/1.2.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/theseer",
+ "type": "github"
+ }
+ ],
+ "time": "2021-07-28T10:34:58+00:00"
},
{
"name": "webmozart/assert",
- "version": "1.4.0",
+ "version": "1.10.0",
"source": {
"type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
+ "url": "https://github.com/webmozarts/assert.git",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
+ "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25",
+ "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25",
"shasum": ""
},
"require": {
- "php": "^5.3.3 || ^7.0",
+ "php": "^7.2 || ^8.0",
"symfony/polyfill-ctype": "^1.8"
},
+ "conflict": {
+ "phpstan/phpstan": "<0.12.20",
+ "vimeo/psalm": "<4.6.1 || 4.6.2"
+ },
"require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
+ "phpunit/phpunit": "^8.5.13"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.3-dev"
+ "dev-master": "1.10-dev"
}
},
"autoload": {
@@ -6155,7 +8063,11 @@
"check",
"validate"
],
- "time": "2018-12-25T11:19:39+00:00"
+ "support": {
+ "issues": "https://github.com/webmozarts/assert/issues",
+ "source": "https://github.com/webmozarts/assert/tree/1.10.0"
+ },
+ "time": "2021-03-09T10:59:23+00:00"
}
],
"aliases": [],
@@ -6164,7 +8076,8 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
- "php": ">=7.0.0"
+ "php": ">=7.1.3"
},
- "platform-dev": []
+ "platform-dev": [],
+ "plugin-api-version": "2.2.0"
}
diff --git a/config/app.php b/config/app.php
index cf4738c3..329996ae 100644
--- a/config/app.php
+++ b/config/app.php
@@ -14,7 +14,7 @@ return [
*/
'name' => env('APP_NAME', 'Heimdall'),
- 'version' => '2.2.3',
+ 'version' => '2.2.4',
/*
|--------------------------------------------------------------------------
diff --git a/config/session.php b/config/session.php
index 736fb3c7..e9324843 100644
--- a/config/session.php
+++ b/config/session.php
@@ -164,7 +164,7 @@ return [
|
*/
- 'secure' => env('SESSION_SECURE_COOKIE', false),
+ 'secure' => env('SESSION_SECURE_COOKIE', null),
/*
|--------------------------------------------------------------------------
diff --git a/resources/views/items/preview.blade.php b/resources/views/items/preview.blade.php
index 0a3dc8cb..4c1ab42c 100644
--- a/resources/views/items/preview.blade.php
+++ b/resources/views/items/preview.blade.php
@@ -16,6 +16,7 @@
link_target !!} href="{{ $item->link }}">
+ @if(isset($item->id))
-
+ @endif
diff --git a/vendor/bin/carbon b/vendor/bin/carbon
new file mode 100644
index 00000000..d6da140b
--- /dev/null
+++ b/vendor/bin/carbon
@@ -0,0 +1,117 @@
+#!/usr/bin/env php
+realpath = realpath($opened_path) ?: $opened_path;
+ $opened_path = $this->realpath;
+ $this->handle = fopen($this->realpath, $mode);
+ $this->position = 0;
+
+ return (bool) $this->handle;
+ }
+
+ public function stream_read($count)
+ {
+ $data = fread($this->handle, $count);
+
+ if ($this->position === 0) {
+ $data = preg_replace('{^#!.*\r?\n}', '', $data);
+ }
+
+ $this->position += strlen($data);
+
+ return $data;
+ }
+
+ public function stream_cast($castAs)
+ {
+ return $this->handle;
+ }
+
+ public function stream_close()
+ {
+ fclose($this->handle);
+ }
+
+ public function stream_lock($operation)
+ {
+ return $operation ? flock($this->handle, $operation) : true;
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ if (0 === fseek($this->handle, $offset, $whence)) {
+ $this->position = ftell($this->handle);
+ return true;
+ }
+
+ return false;
+ }
+
+ public function stream_tell()
+ {
+ return $this->position;
+ }
+
+ public function stream_eof()
+ {
+ return feof($this->handle);
+ }
+
+ public function stream_stat()
+ {
+ return array();
+ }
+
+ public function stream_set_option($option, $arg1, $arg2)
+ {
+ return true;
+ }
+
+ public function url_stat($path, $flags)
+ {
+ $path = substr($path, 17);
+ if (file_exists($path)) {
+ return stat($path);
+ }
+
+ return false;
+ }
+ }
+ }
+
+ if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
+ include("phpvfscomposer://" . __DIR__ . '/..'.'/nesbot/carbon/bin/carbon');
+ exit(0);
+ }
+}
+
+include __DIR__ . '/..'.'/nesbot/carbon/bin/carbon';
diff --git a/vendor/bin/carbon.bat b/vendor/bin/carbon.bat
new file mode 100644
index 00000000..806cf153
--- /dev/null
+++ b/vendor/bin/carbon.bat
@@ -0,0 +1,5 @@
+@ECHO OFF
+setlocal DISABLEDELAYEDEXPANSION
+SET BIN_TARGET=%~dp0/carbon
+SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
+php "%BIN_TARGET%" %*
diff --git a/vendor/bin/commonmark b/vendor/bin/commonmark
new file mode 100644
index 00000000..f6895294
--- /dev/null
+++ b/vendor/bin/commonmark
@@ -0,0 +1,117 @@
+#!/usr/bin/env php
+realpath = realpath($opened_path) ?: $opened_path;
+ $opened_path = $this->realpath;
+ $this->handle = fopen($this->realpath, $mode);
+ $this->position = 0;
+
+ return (bool) $this->handle;
+ }
+
+ public function stream_read($count)
+ {
+ $data = fread($this->handle, $count);
+
+ if ($this->position === 0) {
+ $data = preg_replace('{^#!.*\r?\n}', '', $data);
+ }
+
+ $this->position += strlen($data);
+
+ return $data;
+ }
+
+ public function stream_cast($castAs)
+ {
+ return $this->handle;
+ }
+
+ public function stream_close()
+ {
+ fclose($this->handle);
+ }
+
+ public function stream_lock($operation)
+ {
+ return $operation ? flock($this->handle, $operation) : true;
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ if (0 === fseek($this->handle, $offset, $whence)) {
+ $this->position = ftell($this->handle);
+ return true;
+ }
+
+ return false;
+ }
+
+ public function stream_tell()
+ {
+ return $this->position;
+ }
+
+ public function stream_eof()
+ {
+ return feof($this->handle);
+ }
+
+ public function stream_stat()
+ {
+ return array();
+ }
+
+ public function stream_set_option($option, $arg1, $arg2)
+ {
+ return true;
+ }
+
+ public function url_stat($path, $flags)
+ {
+ $path = substr($path, 17);
+ if (file_exists($path)) {
+ return stat($path);
+ }
+
+ return false;
+ }
+ }
+ }
+
+ if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
+ include("phpvfscomposer://" . __DIR__ . '/..'.'/league/commonmark/bin/commonmark');
+ exit(0);
+ }
+}
+
+include __DIR__ . '/..'.'/league/commonmark/bin/commonmark';
diff --git a/vendor/bin/commonmark.bat b/vendor/bin/commonmark.bat
new file mode 100644
index 00000000..dceb0e6b
--- /dev/null
+++ b/vendor/bin/commonmark.bat
@@ -0,0 +1,5 @@
+@ECHO OFF
+setlocal DISABLEDELAYEDEXPANSION
+SET BIN_TARGET=%~dp0/commonmark
+SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
+php "%BIN_TARGET%" %*
diff --git a/vendor/bin/patch-type-declarations b/vendor/bin/patch-type-declarations
new file mode 100644
index 00000000..36cc892e
--- /dev/null
+++ b/vendor/bin/patch-type-declarations
@@ -0,0 +1,117 @@
+#!/usr/bin/env php
+realpath = realpath($opened_path) ?: $opened_path;
+ $opened_path = $this->realpath;
+ $this->handle = fopen($this->realpath, $mode);
+ $this->position = 0;
+
+ return (bool) $this->handle;
+ }
+
+ public function stream_read($count)
+ {
+ $data = fread($this->handle, $count);
+
+ if ($this->position === 0) {
+ $data = preg_replace('{^#!.*\r?\n}', '', $data);
+ }
+
+ $this->position += strlen($data);
+
+ return $data;
+ }
+
+ public function stream_cast($castAs)
+ {
+ return $this->handle;
+ }
+
+ public function stream_close()
+ {
+ fclose($this->handle);
+ }
+
+ public function stream_lock($operation)
+ {
+ return $operation ? flock($this->handle, $operation) : true;
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ if (0 === fseek($this->handle, $offset, $whence)) {
+ $this->position = ftell($this->handle);
+ return true;
+ }
+
+ return false;
+ }
+
+ public function stream_tell()
+ {
+ return $this->position;
+ }
+
+ public function stream_eof()
+ {
+ return feof($this->handle);
+ }
+
+ public function stream_stat()
+ {
+ return array();
+ }
+
+ public function stream_set_option($option, $arg1, $arg2)
+ {
+ return true;
+ }
+
+ public function url_stat($path, $flags)
+ {
+ $path = substr($path, 17);
+ if (file_exists($path)) {
+ return stat($path);
+ }
+
+ return false;
+ }
+ }
+ }
+
+ if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
+ include("phpvfscomposer://" . __DIR__ . '/..'.'/symfony/error-handler/Resources/bin/patch-type-declarations');
+ exit(0);
+ }
+}
+
+include __DIR__ . '/..'.'/symfony/error-handler/Resources/bin/patch-type-declarations';
diff --git a/vendor/bin/patch-type-declarations.bat b/vendor/bin/patch-type-declarations.bat
new file mode 100644
index 00000000..2b070796
--- /dev/null
+++ b/vendor/bin/patch-type-declarations.bat
@@ -0,0 +1,5 @@
+@ECHO OFF
+setlocal DISABLEDELAYEDEXPANSION
+SET BIN_TARGET=%~dp0/patch-type-declarations
+SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
+php "%BIN_TARGET%" %*
diff --git a/vendor/bin/php-parse b/vendor/bin/php-parse
index 062d66a3..80f0e486 120000
--- a/vendor/bin/php-parse
+++ b/vendor/bin/php-parse
@@ -1 +1,117 @@
-../nikic/php-parser/bin/php-parse
\ No newline at end of file
+#!/usr/bin/env php
+realpath = realpath($opened_path) ?: $opened_path;
+ $opened_path = $this->realpath;
+ $this->handle = fopen($this->realpath, $mode);
+ $this->position = 0;
+
+ return (bool) $this->handle;
+ }
+
+ public function stream_read($count)
+ {
+ $data = fread($this->handle, $count);
+
+ if ($this->position === 0) {
+ $data = preg_replace('{^#!.*\r?\n}', '', $data);
+ }
+
+ $this->position += strlen($data);
+
+ return $data;
+ }
+
+ public function stream_cast($castAs)
+ {
+ return $this->handle;
+ }
+
+ public function stream_close()
+ {
+ fclose($this->handle);
+ }
+
+ public function stream_lock($operation)
+ {
+ return $operation ? flock($this->handle, $operation) : true;
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ if (0 === fseek($this->handle, $offset, $whence)) {
+ $this->position = ftell($this->handle);
+ return true;
+ }
+
+ return false;
+ }
+
+ public function stream_tell()
+ {
+ return $this->position;
+ }
+
+ public function stream_eof()
+ {
+ return feof($this->handle);
+ }
+
+ public function stream_stat()
+ {
+ return array();
+ }
+
+ public function stream_set_option($option, $arg1, $arg2)
+ {
+ return true;
+ }
+
+ public function url_stat($path, $flags)
+ {
+ $path = substr($path, 17);
+ if (file_exists($path)) {
+ return stat($path);
+ }
+
+ return false;
+ }
+ }
+ }
+
+ if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
+ include("phpvfscomposer://" . __DIR__ . '/..'.'/nikic/php-parser/bin/php-parse');
+ exit(0);
+ }
+}
+
+include __DIR__ . '/..'.'/nikic/php-parser/bin/php-parse';
diff --git a/vendor/bin/php-parse.bat b/vendor/bin/php-parse.bat
new file mode 100644
index 00000000..2c5096dc
--- /dev/null
+++ b/vendor/bin/php-parse.bat
@@ -0,0 +1,5 @@
+@ECHO OFF
+setlocal DISABLEDELAYEDEXPANSION
+SET BIN_TARGET=%~dp0/php-parse
+SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
+php "%BIN_TARGET%" %*
diff --git a/vendor/bin/psysh b/vendor/bin/psysh
index 3c06b1ae..c10304ba 120000
--- a/vendor/bin/psysh
+++ b/vendor/bin/psysh
@@ -1 +1,117 @@
-../psy/psysh/bin/psysh
\ No newline at end of file
+#!/usr/bin/env php
+realpath = realpath($opened_path) ?: $opened_path;
+ $opened_path = $this->realpath;
+ $this->handle = fopen($this->realpath, $mode);
+ $this->position = 0;
+
+ return (bool) $this->handle;
+ }
+
+ public function stream_read($count)
+ {
+ $data = fread($this->handle, $count);
+
+ if ($this->position === 0) {
+ $data = preg_replace('{^#!.*\r?\n}', '', $data);
+ }
+
+ $this->position += strlen($data);
+
+ return $data;
+ }
+
+ public function stream_cast($castAs)
+ {
+ return $this->handle;
+ }
+
+ public function stream_close()
+ {
+ fclose($this->handle);
+ }
+
+ public function stream_lock($operation)
+ {
+ return $operation ? flock($this->handle, $operation) : true;
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ if (0 === fseek($this->handle, $offset, $whence)) {
+ $this->position = ftell($this->handle);
+ return true;
+ }
+
+ return false;
+ }
+
+ public function stream_tell()
+ {
+ return $this->position;
+ }
+
+ public function stream_eof()
+ {
+ return feof($this->handle);
+ }
+
+ public function stream_stat()
+ {
+ return array();
+ }
+
+ public function stream_set_option($option, $arg1, $arg2)
+ {
+ return true;
+ }
+
+ public function url_stat($path, $flags)
+ {
+ $path = substr($path, 17);
+ if (file_exists($path)) {
+ return stat($path);
+ }
+
+ return false;
+ }
+ }
+ }
+
+ if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
+ include("phpvfscomposer://" . __DIR__ . '/..'.'/psy/psysh/bin/psysh');
+ exit(0);
+ }
+}
+
+include __DIR__ . '/..'.'/psy/psysh/bin/psysh';
diff --git a/vendor/bin/psysh.bat b/vendor/bin/psysh.bat
new file mode 100644
index 00000000..2f47770e
--- /dev/null
+++ b/vendor/bin/psysh.bat
@@ -0,0 +1,5 @@
+@ECHO OFF
+setlocal DISABLEDELAYEDEXPANSION
+SET BIN_TARGET=%~dp0/psysh
+SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
+php "%BIN_TARGET%" %*
diff --git a/vendor/bin/var-dump-server b/vendor/bin/var-dump-server
index 6bd4e93d..527f3ed4 120000
--- a/vendor/bin/var-dump-server
+++ b/vendor/bin/var-dump-server
@@ -1 +1,117 @@
-../symfony/var-dumper/Resources/bin/var-dump-server
\ No newline at end of file
+#!/usr/bin/env php
+realpath = realpath($opened_path) ?: $opened_path;
+ $opened_path = $this->realpath;
+ $this->handle = fopen($this->realpath, $mode);
+ $this->position = 0;
+
+ return (bool) $this->handle;
+ }
+
+ public function stream_read($count)
+ {
+ $data = fread($this->handle, $count);
+
+ if ($this->position === 0) {
+ $data = preg_replace('{^#!.*\r?\n}', '', $data);
+ }
+
+ $this->position += strlen($data);
+
+ return $data;
+ }
+
+ public function stream_cast($castAs)
+ {
+ return $this->handle;
+ }
+
+ public function stream_close()
+ {
+ fclose($this->handle);
+ }
+
+ public function stream_lock($operation)
+ {
+ return $operation ? flock($this->handle, $operation) : true;
+ }
+
+ public function stream_seek($offset, $whence)
+ {
+ if (0 === fseek($this->handle, $offset, $whence)) {
+ $this->position = ftell($this->handle);
+ return true;
+ }
+
+ return false;
+ }
+
+ public function stream_tell()
+ {
+ return $this->position;
+ }
+
+ public function stream_eof()
+ {
+ return feof($this->handle);
+ }
+
+ public function stream_stat()
+ {
+ return array();
+ }
+
+ public function stream_set_option($option, $arg1, $arg2)
+ {
+ return true;
+ }
+
+ public function url_stat($path, $flags)
+ {
+ $path = substr($path, 17);
+ if (file_exists($path)) {
+ return stat($path);
+ }
+
+ return false;
+ }
+ }
+ }
+
+ if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
+ include("phpvfscomposer://" . __DIR__ . '/..'.'/symfony/var-dumper/Resources/bin/var-dump-server');
+ exit(0);
+ }
+}
+
+include __DIR__ . '/..'.'/symfony/var-dumper/Resources/bin/var-dump-server';
diff --git a/vendor/bin/var-dump-server.bat b/vendor/bin/var-dump-server.bat
new file mode 100644
index 00000000..94333da5
--- /dev/null
+++ b/vendor/bin/var-dump-server.bat
@@ -0,0 +1,5 @@
+@ECHO OFF
+setlocal DISABLEDELAYEDEXPANSION
+SET BIN_TARGET=%~dp0/var-dump-server
+SET COMPOSER_RUNTIME_BIN_DIR=%~dp0
+php "%BIN_TARGET%" %*
diff --git a/vendor/brick/math/CHANGELOG.md b/vendor/brick/math/CHANGELOG.md
new file mode 100644
index 00000000..03c3d824
--- /dev/null
+++ b/vendor/brick/math/CHANGELOG.md
@@ -0,0 +1,415 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+## [0.9.3](https://github.com/brick/math/releases/tag/0.9.3) - 2021-08-15
+
+🚀 **Compatibility with PHP 8.1**
+
+- Support for custom object serialization; this removes a warning on PHP 8.1 due to the `Serializable` interface being deprecated (thanks @TRowbotham)
+
+## [0.9.2](https://github.com/brick/math/releases/tag/0.9.2) - 2021-01-20
+
+🐛 **Bug fix**
+
+- Incorrect results could be returned when using the BCMath calculator, with a default scale set with `bcscale()`, on PHP >= 7.2 (#55).
+
+## [0.9.1](https://github.com/brick/math/releases/tag/0.9.1) - 2020-08-19
+
+✨ New features
+
+- `BigInteger::not()` returns the bitwise `NOT` value
+
+🐛 **Bug fixes**
+
+- `BigInteger::toBytes()` could return an incorrect binary representation for some numbers
+- The bitwise operations `and()`, `or()`, `xor()` on `BigInteger` could return an incorrect result when the GMP extension is not available
+
+## [0.9.0](https://github.com/brick/math/releases/tag/0.9.0) - 2020-08-18
+
+👌 **Improvements**
+
+- `BigNumber::of()` now accepts `.123` and `123.` formats, both of which return a `BigDecimal`
+
+💥 **Breaking changes**
+
+- Deprecated method `BigInteger::powerMod()` has been removed - use `modPow()` instead
+- Deprecated method `BigInteger::parse()` has been removed - use `fromBase()` instead
+
+## [0.8.17](https://github.com/brick/math/releases/tag/0.8.17) - 2020-08-19
+
+🐛 **Bug fix**
+
+- `BigInteger::toBytes()` could return an incorrect binary representation for some numbers
+- The bitwise operations `and()`, `or()`, `xor()` on `BigInteger` could return an incorrect result when the GMP extension is not available
+
+## [0.8.16](https://github.com/brick/math/releases/tag/0.8.16) - 2020-08-18
+
+🚑 **Critical fix**
+
+- This version reintroduces the deprecated `BigInteger::parse()` method, that has been removed by mistake in version `0.8.9` and should have lasted for the whole `0.8` release cycle.
+
+✨ **New features**
+
+- `BigInteger::modInverse()` calculates a modular multiplicative inverse
+- `BigInteger::fromBytes()` creates a `BigInteger` from a byte string
+- `BigInteger::toBytes()` converts a `BigInteger` to a byte string
+- `BigInteger::randomBits()` creates a pseudo-random `BigInteger` of a given bit length
+- `BigInteger::randomRange()` creates a pseudo-random `BigInteger` between two bounds
+
+💩 **Deprecations**
+
+- `BigInteger::powerMod()` is now deprecated in favour of `modPow()`
+
+## [0.8.15](https://github.com/brick/math/releases/tag/0.8.15) - 2020-04-15
+
+🐛 **Fixes**
+
+- added missing `ext-json` requirement, due to `BigNumber` implementing `JsonSerializable`
+
+⚡️ **Optimizations**
+
+- additional optimization in `BigInteger::remainder()`
+
+## [0.8.14](https://github.com/brick/math/releases/tag/0.8.14) - 2020-02-18
+
+✨ **New features**
+
+- `BigInteger::getLowestSetBit()` returns the index of the rightmost one bit
+
+## [0.8.13](https://github.com/brick/math/releases/tag/0.8.13) - 2020-02-16
+
+✨ **New features**
+
+- `BigInteger::isEven()` tests whether the number is even
+- `BigInteger::isOdd()` tests whether the number is odd
+- `BigInteger::testBit()` tests if a bit is set
+- `BigInteger::getBitLength()` returns the number of bits in the minimal representation of the number
+
+## [0.8.12](https://github.com/brick/math/releases/tag/0.8.12) - 2020-02-03
+
+🛠️ **Maintenance release**
+
+Classes are now annotated for better static analysis with [psalm](https://psalm.dev/).
+
+This is a maintenance release: no bug fixes, no new features, no breaking changes.
+
+## [0.8.11](https://github.com/brick/math/releases/tag/0.8.11) - 2020-01-23
+
+✨ **New feature**
+
+`BigInteger::powerMod()` performs a power-with-modulo operation. Useful for crypto.
+
+## [0.8.10](https://github.com/brick/math/releases/tag/0.8.10) - 2020-01-21
+
+✨ **New feature**
+
+`BigInteger::mod()` returns the **modulo** of two numbers. The *modulo* differs from the *remainder* when the signs of the operands are different.
+
+## [0.8.9](https://github.com/brick/math/releases/tag/0.8.9) - 2020-01-08
+
+⚡️ **Performance improvements**
+
+A few additional optimizations in `BigInteger` and `BigDecimal` when one of the operands can be returned as is. Thanks to @tomtomsen in #24.
+
+## [0.8.8](https://github.com/brick/math/releases/tag/0.8.8) - 2019-04-25
+
+🐛 **Bug fixes**
+
+- `BigInteger::toBase()` could return an empty string for zero values (BCMath & Native calculators only, GMP calculator unaffected)
+
+✨ **New features**
+
+- `BigInteger::toArbitraryBase()` converts a number to an arbitrary base, using a custom alphabet
+- `BigInteger::fromArbitraryBase()` converts a string in an arbitrary base, using a custom alphabet, back to a number
+
+These methods can be used as the foundation to convert strings between different bases/alphabets, using BigInteger as an intermediate representation.
+
+💩 **Deprecations**
+
+- `BigInteger::parse()` is now deprecated in favour of `fromBase()`
+
+`BigInteger::fromBase()` works the same way as `parse()`, with 2 minor differences:
+
+- the `$base` parameter is required, it does not default to `10`
+- it throws a `NumberFormatException` instead of an `InvalidArgumentException` when the number is malformed
+
+## [0.8.7](https://github.com/brick/math/releases/tag/0.8.7) - 2019-04-20
+
+**Improvements**
+
+- Safer conversion from `float` when using custom locales
+- **Much faster** `NativeCalculator` implementation 🚀
+
+You can expect **at least a 3x performance improvement** for common arithmetic operations when using the library on systems without GMP or BCMath; it gets exponentially faster on multiplications with a high number of digits. This is due to calculations now being performed on whole blocks of digits (the block size depending on the platform, 32-bit or 64-bit) instead of digit-by-digit as before.
+
+## [0.8.6](https://github.com/brick/math/releases/tag/0.8.6) - 2019-04-11
+
+**New method**
+
+`BigNumber::sum()` returns the sum of one or more numbers.
+
+## [0.8.5](https://github.com/brick/math/releases/tag/0.8.5) - 2019-02-12
+
+**Bug fix**: `of()` factory methods could fail when passing a `float` in environments using a `LC_NUMERIC` locale with a decimal separator other than `'.'` (#20).
+
+Thanks @manowark 👍
+
+## [0.8.4](https://github.com/brick/math/releases/tag/0.8.4) - 2018-12-07
+
+**New method**
+
+`BigDecimal::sqrt()` calculates the square root of a decimal number, to a given scale.
+
+## [0.8.3](https://github.com/brick/math/releases/tag/0.8.3) - 2018-12-06
+
+**New method**
+
+`BigInteger::sqrt()` calculates the square root of a number (thanks @peter279k).
+
+**New exception**
+
+`NegativeNumberException` is thrown when calling `sqrt()` on a negative number.
+
+## [0.8.2](https://github.com/brick/math/releases/tag/0.8.2) - 2018-11-08
+
+**Performance update**
+
+- Further improvement of `toInt()` performance
+- `NativeCalculator` can now perform some multiplications more efficiently
+
+## [0.8.1](https://github.com/brick/math/releases/tag/0.8.1) - 2018-11-07
+
+Performance optimization of `toInt()` methods.
+
+## [0.8.0](https://github.com/brick/math/releases/tag/0.8.0) - 2018-10-13
+
+**Breaking changes**
+
+The following deprecated methods have been removed. Use the new method name instead:
+
+| Method removed | Replacement method |
+| --- | --- |
+| `BigDecimal::getIntegral()` | `BigDecimal::getIntegralPart()` |
+| `BigDecimal::getFraction()` | `BigDecimal::getFractionalPart()` |
+
+---
+
+**New features**
+
+`BigInteger` has been augmented with 5 new methods for bitwise operations:
+
+| New method | Description |
+| --- | --- |
+| `and()` | performs a bitwise `AND` operation on two numbers |
+| `or()` | performs a bitwise `OR` operation on two numbers |
+| `xor()` | performs a bitwise `XOR` operation on two numbers |
+| `shiftedLeft()` | returns the number shifted left by a number of bits |
+| `shiftedRight()` | returns the number shifted right by a number of bits |
+
+Thanks to @DASPRiD 👍
+
+## [0.7.3](https://github.com/brick/math/releases/tag/0.7.3) - 2018-08-20
+
+**New method:** `BigDecimal::hasNonZeroFractionalPart()`
+
+**Renamed/deprecated methods:**
+
+- `BigDecimal::getIntegral()` has been renamed to `getIntegralPart()` and is now deprecated
+- `BigDecimal::getFraction()` has been renamed to `getFractionalPart()` and is now deprecated
+
+## [0.7.2](https://github.com/brick/math/releases/tag/0.7.2) - 2018-07-21
+
+**Performance update**
+
+`BigInteger::parse()` and `toBase()` now use GMP's built-in base conversion features when available.
+
+## [0.7.1](https://github.com/brick/math/releases/tag/0.7.1) - 2018-03-01
+
+This is a maintenance release, no code has been changed.
+
+- When installed with `--no-dev`, the autoloader does not autoload tests anymore
+- Tests and other files unnecessary for production are excluded from the dist package
+
+This will help make installations more compact.
+
+## [0.7.0](https://github.com/brick/math/releases/tag/0.7.0) - 2017-10-02
+
+Methods renamed:
+
+- `BigNumber:sign()` has been renamed to `getSign()`
+- `BigDecimal::unscaledValue()` has been renamed to `getUnscaledValue()`
+- `BigDecimal::scale()` has been renamed to `getScale()`
+- `BigDecimal::integral()` has been renamed to `getIntegral()`
+- `BigDecimal::fraction()` has been renamed to `getFraction()`
+- `BigRational::numerator()` has been renamed to `getNumerator()`
+- `BigRational::denominator()` has been renamed to `getDenominator()`
+
+Classes renamed:
+
+- `ArithmeticException` has been renamed to `MathException`
+
+## [0.6.2](https://github.com/brick/math/releases/tag/0.6.2) - 2017-10-02
+
+The base class for all exceptions is now `MathException`.
+`ArithmeticException` has been deprecated, and will be removed in 0.7.0.
+
+## [0.6.1](https://github.com/brick/math/releases/tag/0.6.1) - 2017-10-02
+
+A number of methods have been renamed:
+
+- `BigNumber:sign()` is deprecated; use `getSign()` instead
+- `BigDecimal::unscaledValue()` is deprecated; use `getUnscaledValue()` instead
+- `BigDecimal::scale()` is deprecated; use `getScale()` instead
+- `BigDecimal::integral()` is deprecated; use `getIntegral()` instead
+- `BigDecimal::fraction()` is deprecated; use `getFraction()` instead
+- `BigRational::numerator()` is deprecated; use `getNumerator()` instead
+- `BigRational::denominator()` is deprecated; use `getDenominator()` instead
+
+The old methods will be removed in version 0.7.0.
+
+## [0.6.0](https://github.com/brick/math/releases/tag/0.6.0) - 2017-08-25
+
+- Minimum PHP version is now [7.1](https://gophp71.org/); for PHP 5.6 and PHP 7.0 support, use version `0.5`
+- Deprecated method `BigDecimal::withScale()` has been removed; use `toScale()` instead
+- Method `BigNumber::toInteger()` has been renamed to `toInt()`
+
+## [0.5.4](https://github.com/brick/math/releases/tag/0.5.4) - 2016-10-17
+
+`BigNumber` classes now implement [JsonSerializable](http://php.net/manual/en/class.jsonserializable.php).
+The JSON output is always a string.
+
+## [0.5.3](https://github.com/brick/math/releases/tag/0.5.3) - 2016-03-31
+
+This is a bugfix release. Dividing by a negative power of 1 with the same scale as the dividend could trigger an incorrect optimization which resulted in a wrong result. See #6.
+
+## [0.5.2](https://github.com/brick/math/releases/tag/0.5.2) - 2015-08-06
+
+The `$scale` parameter of `BigDecimal::dividedBy()` is now optional again.
+
+## [0.5.1](https://github.com/brick/math/releases/tag/0.5.1) - 2015-07-05
+
+**New method: `BigNumber::toScale()`**
+
+This allows to convert any `BigNumber` to a `BigDecimal` with a given scale, using rounding if necessary.
+
+## [0.5.0](https://github.com/brick/math/releases/tag/0.5.0) - 2015-07-04
+
+**New features**
+- Common `BigNumber` interface for all classes, with the following methods:
+ - `sign()` and derived methods (`isZero()`, `isPositive()`, ...)
+ - `compareTo()` and derived methods (`isEqualTo()`, `isGreaterThan()`, ...) that work across different `BigNumber` types
+ - `toBigInteger()`, `toBigDecimal()`, `toBigRational`() conversion methods
+ - `toInteger()` and `toFloat()` conversion methods to native types
+- Unified `of()` behaviour: every class now accepts any type of number, provided that it can be safely converted to the current type
+- New method: `BigDecimal::exactlyDividedBy()`; this method automatically computes the scale of the result, provided that the division yields a finite number of digits
+- New methods: `BigRational::quotient()` and `remainder()`
+- Fine-grained exceptions: `DivisionByZeroException`, `RoundingNecessaryException`, `NumberFormatException`
+- Factory methods `zero()`, `one()` and `ten()` available in all classes
+- Rounding mode reintroduced in `BigInteger::dividedBy()`
+
+This release also comes with many performance improvements.
+
+---
+
+**Breaking changes**
+- `BigInteger`:
+ - `getSign()` is renamed to `sign()`
+ - `toString()` is renamed to `toBase()`
+ - `BigInteger::dividedBy()` now throws an exception by default if the remainder is not zero; use `quotient()` to get the previous behaviour
+- `BigDecimal`:
+ - `getSign()` is renamed to `sign()`
+ - `getUnscaledValue()` is renamed to `unscaledValue()`
+ - `getScale()` is renamed to `scale()`
+ - `getIntegral()` is renamed to `integral()`
+ - `getFraction()` is renamed to `fraction()`
+ - `divideAndRemainder()` is renamed to `quotientAndRemainder()`
+ - `dividedBy()` now takes a **mandatory** `$scale` parameter **before** the rounding mode
+ - `toBigInteger()` does not accept a `$roundingMode` parameter any more
+ - `toBigRational()` does not simplify the fraction any more; explicitly add `->simplified()` to get the previous behaviour
+- `BigRational`:
+ - `getSign()` is renamed to `sign()`
+ - `getNumerator()` is renamed to `numerator()`
+ - `getDenominator()` is renamed to `denominator()`
+ - `of()` is renamed to `nd()`, while `parse()` is renamed to `of()`
+- Miscellaneous:
+ - `ArithmeticException` is moved to an `Exception\` sub-namespace
+ - `of()` factory methods now throw `NumberFormatException` instead of `InvalidArgumentException`
+
+## [0.4.3](https://github.com/brick/math/releases/tag/0.4.3) - 2016-03-31
+
+Backport of two bug fixes from the 0.5 branch:
+- `BigInteger::parse()` did not always throw `InvalidArgumentException` as expected
+- Dividing by a negative power of 1 with the same scale as the dividend could trigger an incorrect optimization which resulted in a wrong result. See #6.
+
+## [0.4.2](https://github.com/brick/math/releases/tag/0.4.2) - 2015-06-16
+
+New method: `BigDecimal::stripTrailingZeros()`
+
+## [0.4.1](https://github.com/brick/math/releases/tag/0.4.1) - 2015-06-12
+
+Introducing a `BigRational` class, to perform calculations on fractions of any size.
+
+## [0.4.0](https://github.com/brick/math/releases/tag/0.4.0) - 2015-06-12
+
+Rounding modes have been removed from `BigInteger`, and are now a concept specific to `BigDecimal`.
+
+`BigInteger::dividedBy()` now always returns the quotient of the division.
+
+## [0.3.5](https://github.com/brick/math/releases/tag/0.3.5) - 2016-03-31
+
+Backport of two bug fixes from the 0.5 branch:
+
+- `BigInteger::parse()` did not always throw `InvalidArgumentException` as expected
+- Dividing by a negative power of 1 with the same scale as the dividend could trigger an incorrect optimization which resulted in a wrong result. See #6.
+
+## [0.3.4](https://github.com/brick/math/releases/tag/0.3.4) - 2015-06-11
+
+New methods:
+- `BigInteger::remainder()` returns the remainder of a division only
+- `BigInteger::gcd()` returns the greatest common divisor of two numbers
+
+## [0.3.3](https://github.com/brick/math/releases/tag/0.3.3) - 2015-06-07
+
+Fix `toString()` not handling negative numbers.
+
+## [0.3.2](https://github.com/brick/math/releases/tag/0.3.2) - 2015-06-07
+
+`BigInteger` and `BigDecimal` now have a `getSign()` method that returns:
+- `-1` if the number is negative
+- `0` if the number is zero
+- `1` if the number is positive
+
+## [0.3.1](https://github.com/brick/math/releases/tag/0.3.1) - 2015-06-05
+
+Minor performance improvements
+
+## [0.3.0](https://github.com/brick/math/releases/tag/0.3.0) - 2015-06-04
+
+The `$roundingMode` and `$scale` parameters have been swapped in `BigDecimal::dividedBy()`.
+
+## [0.2.2](https://github.com/brick/math/releases/tag/0.2.2) - 2015-06-04
+
+Stronger immutability guarantee for `BigInteger` and `BigDecimal`.
+
+So far, it would have been possible to break immutability of these classes by calling the `unserialize()` internal function. This release fixes that.
+
+## [0.2.1](https://github.com/brick/math/releases/tag/0.2.1) - 2015-06-02
+
+Added `BigDecimal::divideAndRemainder()`
+
+## [0.2.0](https://github.com/brick/math/releases/tag/0.2.0) - 2015-05-22
+
+- `min()` and `max()` do not accept an `array` any more, but a variable number of parameters
+- **minimum PHP version is now 5.6**
+- continuous integration with PHP 7
+
+## [0.1.1](https://github.com/brick/math/releases/tag/0.1.1) - 2014-09-01
+
+- Added `BigInteger::power()`
+- Added HHVM support
+
+## [0.1.0](https://github.com/brick/math/releases/tag/0.1.0) - 2014-08-31
+
+First beta release.
+
diff --git a/vendor/brick/math/LICENSE b/vendor/brick/math/LICENSE
new file mode 100644
index 00000000..f9b724f0
--- /dev/null
+++ b/vendor/brick/math/LICENSE
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2013-present Benjamin Morel
+
+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/brick/math/SECURITY.md b/vendor/brick/math/SECURITY.md
new file mode 100644
index 00000000..cc8289bb
--- /dev/null
+++ b/vendor/brick/math/SECURITY.md
@@ -0,0 +1,17 @@
+# Security Policy
+
+## Supported Versions
+
+Only the last two release streams are supported.
+
+| Version | Supported |
+| ------- | ------------------ |
+| 0.9.x | :white_check_mark: |
+| 0.8.x | :white_check_mark: |
+| < 0.8 | :x: |
+
+## Reporting a Vulnerability
+
+To report a security vulnerability, please use the
+[Tidelift security contact](https://tidelift.com/security).
+Tidelift will coordinate the fix and disclosure.
diff --git a/vendor/brick/math/composer.json b/vendor/brick/math/composer.json
new file mode 100644
index 00000000..ec196632
--- /dev/null
+++ b/vendor/brick/math/composer.json
@@ -0,0 +1,35 @@
+{
+ "name": "brick/math",
+ "description": "Arbitrary-precision arithmetic library",
+ "type": "library",
+ "keywords": [
+ "Brick",
+ "Math",
+ "Arbitrary-precision",
+ "Arithmetic",
+ "BigInteger",
+ "BigDecimal",
+ "BigRational",
+ "Bignum"
+ ],
+ "license": "MIT",
+ "require": {
+ "php": "^7.1 || ^8.0",
+ "ext-json": "*"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0",
+ "php-coveralls/php-coveralls": "^2.2",
+ "vimeo/psalm": "4.9.2"
+ },
+ "autoload": {
+ "psr-4": {
+ "Brick\\Math\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Brick\\Math\\Tests\\": "tests/"
+ }
+ }
+}
diff --git a/vendor/brick/math/src/BigDecimal.php b/vendor/brick/math/src/BigDecimal.php
new file mode 100644
index 00000000..78246500
--- /dev/null
+++ b/vendor/brick/math/src/BigDecimal.php
@@ -0,0 +1,895 @@
+value = $value;
+ $this->scale = $scale;
+ }
+
+ /**
+ * Creates a BigDecimal of the given value.
+ *
+ * @param BigNumber|int|float|string $value
+ *
+ * @return BigDecimal
+ *
+ * @throws MathException If the value cannot be converted to a BigDecimal.
+ *
+ * @psalm-pure
+ */
+ public static function of($value) : BigNumber
+ {
+ return parent::of($value)->toBigDecimal();
+ }
+
+ /**
+ * Creates a BigDecimal from an unscaled value and a scale.
+ *
+ * Example: `(12345, 3)` will result in the BigDecimal `12.345`.
+ *
+ * @param BigNumber|int|float|string $value The unscaled value. Must be convertible to a BigInteger.
+ * @param int $scale The scale of the number, positive or zero.
+ *
+ * @return BigDecimal
+ *
+ * @throws \InvalidArgumentException If the scale is negative.
+ *
+ * @psalm-pure
+ */
+ public static function ofUnscaledValue($value, int $scale = 0) : BigDecimal
+ {
+ if ($scale < 0) {
+ throw new \InvalidArgumentException('The scale cannot be negative.');
+ }
+
+ return new BigDecimal((string) BigInteger::of($value), $scale);
+ }
+
+ /**
+ * Returns a BigDecimal representing zero, with a scale of zero.
+ *
+ * @return BigDecimal
+ *
+ * @psalm-pure
+ */
+ public static function zero() : BigDecimal
+ {
+ /**
+ * @psalm-suppress ImpureStaticVariable
+ * @var BigDecimal|null $zero
+ */
+ static $zero;
+
+ if ($zero === null) {
+ $zero = new BigDecimal('0');
+ }
+
+ return $zero;
+ }
+
+ /**
+ * Returns a BigDecimal representing one, with a scale of zero.
+ *
+ * @return BigDecimal
+ *
+ * @psalm-pure
+ */
+ public static function one() : BigDecimal
+ {
+ /**
+ * @psalm-suppress ImpureStaticVariable
+ * @var BigDecimal|null $one
+ */
+ static $one;
+
+ if ($one === null) {
+ $one = new BigDecimal('1');
+ }
+
+ return $one;
+ }
+
+ /**
+ * Returns a BigDecimal representing ten, with a scale of zero.
+ *
+ * @return BigDecimal
+ *
+ * @psalm-pure
+ */
+ public static function ten() : BigDecimal
+ {
+ /**
+ * @psalm-suppress ImpureStaticVariable
+ * @var BigDecimal|null $ten
+ */
+ static $ten;
+
+ if ($ten === null) {
+ $ten = new BigDecimal('10');
+ }
+
+ return $ten;
+ }
+
+ /**
+ * Returns the sum of this number and the given one.
+ *
+ * The result has a scale of `max($this->scale, $that->scale)`.
+ *
+ * @param BigNumber|int|float|string $that The number to add. Must be convertible to a BigDecimal.
+ *
+ * @return BigDecimal The result.
+ *
+ * @throws MathException If the number is not valid, or is not convertible to a BigDecimal.
+ */
+ public function plus($that) : BigDecimal
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->value === '0' && $that->scale <= $this->scale) {
+ return $this;
+ }
+
+ if ($this->value === '0' && $this->scale <= $that->scale) {
+ return $that;
+ }
+
+ [$a, $b] = $this->scaleValues($this, $that);
+
+ $value = Calculator::get()->add($a, $b);
+ $scale = $this->scale > $that->scale ? $this->scale : $that->scale;
+
+ return new BigDecimal($value, $scale);
+ }
+
+ /**
+ * Returns the difference of this number and the given one.
+ *
+ * The result has a scale of `max($this->scale, $that->scale)`.
+ *
+ * @param BigNumber|int|float|string $that The number to subtract. Must be convertible to a BigDecimal.
+ *
+ * @return BigDecimal The result.
+ *
+ * @throws MathException If the number is not valid, or is not convertible to a BigDecimal.
+ */
+ public function minus($that) : BigDecimal
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->value === '0' && $that->scale <= $this->scale) {
+ return $this;
+ }
+
+ [$a, $b] = $this->scaleValues($this, $that);
+
+ $value = Calculator::get()->sub($a, $b);
+ $scale = $this->scale > $that->scale ? $this->scale : $that->scale;
+
+ return new BigDecimal($value, $scale);
+ }
+
+ /**
+ * Returns the product of this number and the given one.
+ *
+ * The result has a scale of `$this->scale + $that->scale`.
+ *
+ * @param BigNumber|int|float|string $that The multiplier. Must be convertible to a BigDecimal.
+ *
+ * @return BigDecimal The result.
+ *
+ * @throws MathException If the multiplier is not a valid number, or is not convertible to a BigDecimal.
+ */
+ public function multipliedBy($that) : BigDecimal
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->value === '1' && $that->scale === 0) {
+ return $this;
+ }
+
+ if ($this->value === '1' && $this->scale === 0) {
+ return $that;
+ }
+
+ $value = Calculator::get()->mul($this->value, $that->value);
+ $scale = $this->scale + $that->scale;
+
+ return new BigDecimal($value, $scale);
+ }
+
+ /**
+ * Returns the result of the division of this number by the given one, at the given scale.
+ *
+ * @param BigNumber|int|float|string $that The divisor.
+ * @param int|null $scale The desired scale, or null to use the scale of this number.
+ * @param int $roundingMode An optional rounding mode.
+ *
+ * @return BigDecimal
+ *
+ * @throws \InvalidArgumentException If the scale or rounding mode is invalid.
+ * @throws MathException If the number is invalid, is zero, or rounding was necessary.
+ */
+ public function dividedBy($that, ?int $scale = null, int $roundingMode = RoundingMode::UNNECESSARY) : BigDecimal
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->isZero()) {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ if ($scale === null) {
+ $scale = $this->scale;
+ } elseif ($scale < 0) {
+ throw new \InvalidArgumentException('Scale cannot be negative.');
+ }
+
+ if ($that->value === '1' && $that->scale === 0 && $scale === $this->scale) {
+ return $this;
+ }
+
+ $p = $this->valueWithMinScale($that->scale + $scale);
+ $q = $that->valueWithMinScale($this->scale - $scale);
+
+ $result = Calculator::get()->divRound($p, $q, $roundingMode);
+
+ return new BigDecimal($result, $scale);
+ }
+
+ /**
+ * Returns the exact result of the division of this number by the given one.
+ *
+ * The scale of the result is automatically calculated to fit all the fraction digits.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal.
+ *
+ * @return BigDecimal The result.
+ *
+ * @throws MathException If the divisor is not a valid number, is not convertible to a BigDecimal, is zero,
+ * or the result yields an infinite number of digits.
+ */
+ public function exactlyDividedBy($that) : BigDecimal
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->value === '0') {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ [, $b] = $this->scaleValues($this, $that);
+
+ $d = \rtrim($b, '0');
+ $scale = \strlen($b) - \strlen($d);
+
+ $calculator = Calculator::get();
+
+ foreach ([5, 2] as $prime) {
+ for (;;) {
+ $lastDigit = (int) $d[-1];
+
+ if ($lastDigit % $prime !== 0) {
+ break;
+ }
+
+ $d = $calculator->divQ($d, (string) $prime);
+ $scale++;
+ }
+ }
+
+ return $this->dividedBy($that, $scale)->stripTrailingZeros();
+ }
+
+ /**
+ * Returns this number exponentiated to the given value.
+ *
+ * The result has a scale of `$this->scale * $exponent`.
+ *
+ * @param int $exponent The exponent.
+ *
+ * @return BigDecimal The result.
+ *
+ * @throws \InvalidArgumentException If the exponent is not in the range 0 to 1,000,000.
+ */
+ public function power(int $exponent) : BigDecimal
+ {
+ if ($exponent === 0) {
+ return BigDecimal::one();
+ }
+
+ if ($exponent === 1) {
+ return $this;
+ }
+
+ if ($exponent < 0 || $exponent > Calculator::MAX_POWER) {
+ throw new \InvalidArgumentException(\sprintf(
+ 'The exponent %d is not in the range 0 to %d.',
+ $exponent,
+ Calculator::MAX_POWER
+ ));
+ }
+
+ return new BigDecimal(Calculator::get()->pow($this->value, $exponent), $this->scale * $exponent);
+ }
+
+ /**
+ * Returns the quotient of the division of this number by this given one.
+ *
+ * The quotient has a scale of `0`.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal.
+ *
+ * @return BigDecimal The quotient.
+ *
+ * @throws MathException If the divisor is not a valid decimal number, or is zero.
+ */
+ public function quotient($that) : BigDecimal
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->isZero()) {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ $p = $this->valueWithMinScale($that->scale);
+ $q = $that->valueWithMinScale($this->scale);
+
+ $quotient = Calculator::get()->divQ($p, $q);
+
+ return new BigDecimal($quotient, 0);
+ }
+
+ /**
+ * Returns the remainder of the division of this number by this given one.
+ *
+ * The remainder has a scale of `max($this->scale, $that->scale)`.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal.
+ *
+ * @return BigDecimal The remainder.
+ *
+ * @throws MathException If the divisor is not a valid decimal number, or is zero.
+ */
+ public function remainder($that) : BigDecimal
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->isZero()) {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ $p = $this->valueWithMinScale($that->scale);
+ $q = $that->valueWithMinScale($this->scale);
+
+ $remainder = Calculator::get()->divR($p, $q);
+
+ $scale = $this->scale > $that->scale ? $this->scale : $that->scale;
+
+ return new BigDecimal($remainder, $scale);
+ }
+
+ /**
+ * Returns the quotient and remainder of the division of this number by the given one.
+ *
+ * The quotient has a scale of `0`, and the remainder has a scale of `max($this->scale, $that->scale)`.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigDecimal.
+ *
+ * @return BigDecimal[] An array containing the quotient and the remainder.
+ *
+ * @throws MathException If the divisor is not a valid decimal number, or is zero.
+ */
+ public function quotientAndRemainder($that) : array
+ {
+ $that = BigDecimal::of($that);
+
+ if ($that->isZero()) {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ $p = $this->valueWithMinScale($that->scale);
+ $q = $that->valueWithMinScale($this->scale);
+
+ [$quotient, $remainder] = Calculator::get()->divQR($p, $q);
+
+ $scale = $this->scale > $that->scale ? $this->scale : $that->scale;
+
+ $quotient = new BigDecimal($quotient, 0);
+ $remainder = new BigDecimal($remainder, $scale);
+
+ return [$quotient, $remainder];
+ }
+
+ /**
+ * Returns the square root of this number, rounded down to the given number of decimals.
+ *
+ * @param int $scale
+ *
+ * @return BigDecimal
+ *
+ * @throws \InvalidArgumentException If the scale is negative.
+ * @throws NegativeNumberException If this number is negative.
+ */
+ public function sqrt(int $scale) : BigDecimal
+ {
+ if ($scale < 0) {
+ throw new \InvalidArgumentException('Scale cannot be negative.');
+ }
+
+ if ($this->value === '0') {
+ return new BigDecimal('0', $scale);
+ }
+
+ if ($this->value[0] === '-') {
+ throw new NegativeNumberException('Cannot calculate the square root of a negative number.');
+ }
+
+ $value = $this->value;
+ $addDigits = 2 * $scale - $this->scale;
+
+ if ($addDigits > 0) {
+ // add zeros
+ $value .= \str_repeat('0', $addDigits);
+ } elseif ($addDigits < 0) {
+ // trim digits
+ if (-$addDigits >= \strlen($this->value)) {
+ // requesting a scale too low, will always yield a zero result
+ return new BigDecimal('0', $scale);
+ }
+
+ $value = \substr($value, 0, $addDigits);
+ }
+
+ $value = Calculator::get()->sqrt($value);
+
+ return new BigDecimal($value, $scale);
+ }
+
+ /**
+ * Returns a copy of this BigDecimal with the decimal point moved $n places to the left.
+ *
+ * @param int $n
+ *
+ * @return BigDecimal
+ */
+ public function withPointMovedLeft(int $n) : BigDecimal
+ {
+ if ($n === 0) {
+ return $this;
+ }
+
+ if ($n < 0) {
+ return $this->withPointMovedRight(-$n);
+ }
+
+ return new BigDecimal($this->value, $this->scale + $n);
+ }
+
+ /**
+ * Returns a copy of this BigDecimal with the decimal point moved $n places to the right.
+ *
+ * @param int $n
+ *
+ * @return BigDecimal
+ */
+ public function withPointMovedRight(int $n) : BigDecimal
+ {
+ if ($n === 0) {
+ return $this;
+ }
+
+ if ($n < 0) {
+ return $this->withPointMovedLeft(-$n);
+ }
+
+ $value = $this->value;
+ $scale = $this->scale - $n;
+
+ if ($scale < 0) {
+ if ($value !== '0') {
+ $value .= \str_repeat('0', -$scale);
+ }
+ $scale = 0;
+ }
+
+ return new BigDecimal($value, $scale);
+ }
+
+ /**
+ * Returns a copy of this BigDecimal with any trailing zeros removed from the fractional part.
+ *
+ * @return BigDecimal
+ */
+ public function stripTrailingZeros() : BigDecimal
+ {
+ if ($this->scale === 0) {
+ return $this;
+ }
+
+ $trimmedValue = \rtrim($this->value, '0');
+
+ if ($trimmedValue === '') {
+ return BigDecimal::zero();
+ }
+
+ $trimmableZeros = \strlen($this->value) - \strlen($trimmedValue);
+
+ if ($trimmableZeros === 0) {
+ return $this;
+ }
+
+ if ($trimmableZeros > $this->scale) {
+ $trimmableZeros = $this->scale;
+ }
+
+ $value = \substr($this->value, 0, -$trimmableZeros);
+ $scale = $this->scale - $trimmableZeros;
+
+ return new BigDecimal($value, $scale);
+ }
+
+ /**
+ * Returns the absolute value of this number.
+ *
+ * @return BigDecimal
+ */
+ public function abs() : BigDecimal
+ {
+ return $this->isNegative() ? $this->negated() : $this;
+ }
+
+ /**
+ * Returns the negated value of this number.
+ *
+ * @return BigDecimal
+ */
+ public function negated() : BigDecimal
+ {
+ return new BigDecimal(Calculator::get()->neg($this->value), $this->scale);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function compareTo($that) : int
+ {
+ $that = BigNumber::of($that);
+
+ if ($that instanceof BigInteger) {
+ $that = $that->toBigDecimal();
+ }
+
+ if ($that instanceof BigDecimal) {
+ [$a, $b] = $this->scaleValues($this, $that);
+
+ return Calculator::get()->cmp($a, $b);
+ }
+
+ return - $that->compareTo($this);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getSign() : int
+ {
+ return ($this->value === '0') ? 0 : (($this->value[0] === '-') ? -1 : 1);
+ }
+
+ /**
+ * @return BigInteger
+ */
+ public function getUnscaledValue() : BigInteger
+ {
+ return BigInteger::create($this->value);
+ }
+
+ /**
+ * @return int
+ */
+ public function getScale() : int
+ {
+ return $this->scale;
+ }
+
+ /**
+ * Returns a string representing the integral part of this decimal number.
+ *
+ * Example: `-123.456` => `-123`.
+ *
+ * @return string
+ */
+ public function getIntegralPart() : string
+ {
+ if ($this->scale === 0) {
+ return $this->value;
+ }
+
+ $value = $this->getUnscaledValueWithLeadingZeros();
+
+ return \substr($value, 0, -$this->scale);
+ }
+
+ /**
+ * Returns a string representing the fractional part of this decimal number.
+ *
+ * If the scale is zero, an empty string is returned.
+ *
+ * Examples: `-123.456` => '456', `123` => ''.
+ *
+ * @return string
+ */
+ public function getFractionalPart() : string
+ {
+ if ($this->scale === 0) {
+ return '';
+ }
+
+ $value = $this->getUnscaledValueWithLeadingZeros();
+
+ return \substr($value, -$this->scale);
+ }
+
+ /**
+ * Returns whether this decimal number has a non-zero fractional part.
+ *
+ * @return bool
+ */
+ public function hasNonZeroFractionalPart() : bool
+ {
+ return $this->getFractionalPart() !== \str_repeat('0', $this->scale);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function toBigInteger() : BigInteger
+ {
+ $zeroScaleDecimal = $this->scale === 0 ? $this : $this->dividedBy(1, 0);
+
+ return BigInteger::create($zeroScaleDecimal->value);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function toBigDecimal() : BigDecimal
+ {
+ return $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function toBigRational() : BigRational
+ {
+ $numerator = BigInteger::create($this->value);
+ $denominator = BigInteger::create('1' . \str_repeat('0', $this->scale));
+
+ return BigRational::create($numerator, $denominator, false);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function toScale(int $scale, int $roundingMode = RoundingMode::UNNECESSARY) : BigDecimal
+ {
+ if ($scale === $this->scale) {
+ return $this;
+ }
+
+ return $this->dividedBy(BigDecimal::one(), $scale, $roundingMode);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function toInt() : int
+ {
+ return $this->toBigInteger()->toInt();
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function toFloat() : float
+ {
+ return (float) (string) $this;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function __toString() : string
+ {
+ if ($this->scale === 0) {
+ return $this->value;
+ }
+
+ $value = $this->getUnscaledValueWithLeadingZeros();
+
+ return \substr($value, 0, -$this->scale) . '.' . \substr($value, -$this->scale);
+ }
+
+ /**
+ * This method is required for serializing the object and SHOULD NOT be accessed directly.
+ *
+ * @internal
+ *
+ * @return array{value: string, scale: int}
+ */
+ public function __serialize(): array
+ {
+ return ['value' => $this->value, 'scale' => $this->scale];
+ }
+
+ /**
+ * This method is only here to allow unserializing the object and cannot be accessed directly.
+ *
+ * @internal
+ * @psalm-suppress RedundantPropertyInitializationCheck
+ *
+ * @param array{value: string, scale: int} $data
+ *
+ * @return void
+ *
+ * @throws \LogicException
+ */
+ public function __unserialize(array $data): void
+ {
+ if (isset($this->value)) {
+ throw new \LogicException('__unserialize() is an internal function, it must not be called directly.');
+ }
+
+ $this->value = $data['value'];
+ $this->scale = $data['scale'];
+ }
+
+ /**
+ * This method is required by interface Serializable and SHOULD NOT be accessed directly.
+ *
+ * @internal
+ *
+ * @return string
+ */
+ public function serialize() : string
+ {
+ return $this->value . ':' . $this->scale;
+ }
+
+ /**
+ * This method is only here to implement interface Serializable and cannot be accessed directly.
+ *
+ * @internal
+ * @psalm-suppress RedundantPropertyInitializationCheck
+ *
+ * @param string $value
+ *
+ * @return void
+ *
+ * @throws \LogicException
+ */
+ public function unserialize($value) : void
+ {
+ if (isset($this->value)) {
+ throw new \LogicException('unserialize() is an internal function, it must not be called directly.');
+ }
+
+ [$value, $scale] = \explode(':', $value);
+
+ $this->value = $value;
+ $this->scale = (int) $scale;
+ }
+
+ /**
+ * Puts the internal values of the given decimal numbers on the same scale.
+ *
+ * @param BigDecimal $x The first decimal number.
+ * @param BigDecimal $y The second decimal number.
+ *
+ * @return array{string, string} The scaled integer values of $x and $y.
+ */
+ private function scaleValues(BigDecimal $x, BigDecimal $y) : array
+ {
+ $a = $x->value;
+ $b = $y->value;
+
+ if ($b !== '0' && $x->scale > $y->scale) {
+ $b .= \str_repeat('0', $x->scale - $y->scale);
+ } elseif ($a !== '0' && $x->scale < $y->scale) {
+ $a .= \str_repeat('0', $y->scale - $x->scale);
+ }
+
+ return [$a, $b];
+ }
+
+ /**
+ * @param int $scale
+ *
+ * @return string
+ */
+ private function valueWithMinScale(int $scale) : string
+ {
+ $value = $this->value;
+
+ if ($this->value !== '0' && $scale > $this->scale) {
+ $value .= \str_repeat('0', $scale - $this->scale);
+ }
+
+ return $value;
+ }
+
+ /**
+ * Adds leading zeros if necessary to the unscaled value to represent the full decimal number.
+ *
+ * @return string
+ */
+ private function getUnscaledValueWithLeadingZeros() : string
+ {
+ $value = $this->value;
+ $targetLength = $this->scale + 1;
+ $negative = ($value[0] === '-');
+ $length = \strlen($value);
+
+ if ($negative) {
+ $length--;
+ }
+
+ if ($length >= $targetLength) {
+ return $this->value;
+ }
+
+ if ($negative) {
+ $value = \substr($value, 1);
+ }
+
+ $value = \str_pad($value, $targetLength, '0', STR_PAD_LEFT);
+
+ if ($negative) {
+ $value = '-' . $value;
+ }
+
+ return $value;
+ }
+}
diff --git a/vendor/brick/math/src/BigInteger.php b/vendor/brick/math/src/BigInteger.php
new file mode 100644
index 00000000..f213fbed
--- /dev/null
+++ b/vendor/brick/math/src/BigInteger.php
@@ -0,0 +1,1184 @@
+value = $value;
+ }
+
+ /**
+ * Creates a BigInteger of the given value.
+ *
+ * @param BigNumber|int|float|string $value
+ *
+ * @return BigInteger
+ *
+ * @throws MathException If the value cannot be converted to a BigInteger.
+ *
+ * @psalm-pure
+ */
+ public static function of($value) : BigNumber
+ {
+ return parent::of($value)->toBigInteger();
+ }
+
+ /**
+ * Creates a number from a string in a given base.
+ *
+ * The string can optionally be prefixed with the `+` or `-` sign.
+ *
+ * Bases greater than 36 are not supported by this method, as there is no clear consensus on which of the lowercase
+ * or uppercase characters should come first. Instead, this method accepts any base up to 36, and does not
+ * differentiate lowercase and uppercase characters, which are considered equal.
+ *
+ * For bases greater than 36, and/or custom alphabets, use the fromArbitraryBase() method.
+ *
+ * @param string $number The number to convert, in the given base.
+ * @param int $base The base of the number, between 2 and 36.
+ *
+ * @return BigInteger
+ *
+ * @throws NumberFormatException If the number is empty, or contains invalid chars for the given base.
+ * @throws \InvalidArgumentException If the base is out of range.
+ *
+ * @psalm-pure
+ */
+ public static function fromBase(string $number, int $base) : BigInteger
+ {
+ if ($number === '') {
+ throw new NumberFormatException('The number cannot be empty.');
+ }
+
+ if ($base < 2 || $base > 36) {
+ throw new \InvalidArgumentException(\sprintf('Base %d is not in range 2 to 36.', $base));
+ }
+
+ if ($number[0] === '-') {
+ $sign = '-';
+ $number = \substr($number, 1);
+ } elseif ($number[0] === '+') {
+ $sign = '';
+ $number = \substr($number, 1);
+ } else {
+ $sign = '';
+ }
+
+ if ($number === '') {
+ throw new NumberFormatException('The number cannot be empty.');
+ }
+
+ $number = \ltrim($number, '0');
+
+ if ($number === '') {
+ // The result will be the same in any base, avoid further calculation.
+ return BigInteger::zero();
+ }
+
+ if ($number === '1') {
+ // The result will be the same in any base, avoid further calculation.
+ return new BigInteger($sign . '1');
+ }
+
+ $pattern = '/[^' . \substr(Calculator::ALPHABET, 0, $base) . ']/';
+
+ if (\preg_match($pattern, \strtolower($number), $matches) === 1) {
+ throw new NumberFormatException(\sprintf('"%s" is not a valid character in base %d.', $matches[0], $base));
+ }
+
+ if ($base === 10) {
+ // The number is usable as is, avoid further calculation.
+ return new BigInteger($sign . $number);
+ }
+
+ $result = Calculator::get()->fromBase($number, $base);
+
+ return new BigInteger($sign . $result);
+ }
+
+ /**
+ * Parses a string containing an integer in an arbitrary base, using a custom alphabet.
+ *
+ * Because this method accepts an alphabet with any character, including dash, it does not handle negative numbers.
+ *
+ * @param string $number The number to parse.
+ * @param string $alphabet The alphabet, for example '01' for base 2, or '01234567' for base 8.
+ *
+ * @return BigInteger
+ *
+ * @throws NumberFormatException If the given number is empty or contains invalid chars for the given alphabet.
+ * @throws \InvalidArgumentException If the alphabet does not contain at least 2 chars.
+ *
+ * @psalm-pure
+ */
+ public static function fromArbitraryBase(string $number, string $alphabet) : BigInteger
+ {
+ if ($number === '') {
+ throw new NumberFormatException('The number cannot be empty.');
+ }
+
+ $base = \strlen($alphabet);
+
+ if ($base < 2) {
+ throw new \InvalidArgumentException('The alphabet must contain at least 2 chars.');
+ }
+
+ $pattern = '/[^' . \preg_quote($alphabet, '/') . ']/';
+
+ if (\preg_match($pattern, $number, $matches) === 1) {
+ throw NumberFormatException::charNotInAlphabet($matches[0]);
+ }
+
+ $number = Calculator::get()->fromArbitraryBase($number, $alphabet, $base);
+
+ return new BigInteger($number);
+ }
+
+ /**
+ * Translates a string of bytes containing the binary representation of a BigInteger into a BigInteger.
+ *
+ * The input string is assumed to be in big-endian byte-order: the most significant byte is in the zeroth element.
+ *
+ * If `$signed` is true, the input is assumed to be in two's-complement representation, and the leading bit is
+ * interpreted as a sign bit. If `$signed` is false, the input is interpreted as an unsigned number, and the
+ * resulting BigInteger will always be positive or zero.
+ *
+ * This method can be used to retrieve a number exported by `toBytes()`, as long as the `$signed` flags match.
+ *
+ * @param string $value The byte string.
+ * @param bool $signed Whether to interpret as a signed number in two's-complement representation with a leading
+ * sign bit.
+ *
+ * @return BigInteger
+ *
+ * @throws NumberFormatException If the string is empty.
+ */
+ public static function fromBytes(string $value, bool $signed = true) : BigInteger
+ {
+ if ($value === '') {
+ throw new NumberFormatException('The byte string must not be empty.');
+ }
+
+ $twosComplement = false;
+
+ if ($signed) {
+ $x = \ord($value[0]);
+
+ if (($twosComplement = ($x >= 0x80))) {
+ $value = ~$value;
+ }
+ }
+
+ $number = self::fromBase(\bin2hex($value), 16);
+
+ if ($twosComplement) {
+ return $number->plus(1)->negated();
+ }
+
+ return $number;
+ }
+
+ /**
+ * Generates a pseudo-random number in the range 0 to 2^numBits - 1.
+ *
+ * Using the default random bytes generator, this method is suitable for cryptographic use.
+ *
+ * @psalm-param callable(int): string $randomBytesGenerator
+ *
+ * @param int $numBits The number of bits.
+ * @param callable|null $randomBytesGenerator A function that accepts a number of bytes as an integer, and returns a
+ * string of random bytes of the given length. Defaults to the
+ * `random_bytes()` function.
+ *
+ * @return BigInteger
+ *
+ * @throws \InvalidArgumentException If $numBits is negative.
+ */
+ public static function randomBits(int $numBits, ?callable $randomBytesGenerator = null) : BigInteger
+ {
+ if ($numBits < 0) {
+ throw new \InvalidArgumentException('The number of bits cannot be negative.');
+ }
+
+ if ($numBits === 0) {
+ return BigInteger::zero();
+ }
+
+ if ($randomBytesGenerator === null) {
+ $randomBytesGenerator = 'random_bytes';
+ }
+
+ $byteLength = \intdiv($numBits - 1, 8) + 1;
+
+ $extraBits = ($byteLength * 8 - $numBits);
+ $bitmask = \chr(0xFF >> $extraBits);
+
+ $randomBytes = $randomBytesGenerator($byteLength);
+ $randomBytes[0] = $randomBytes[0] & $bitmask;
+
+ return self::fromBytes($randomBytes, false);
+ }
+
+ /**
+ * Generates a pseudo-random number between `$min` and `$max`.
+ *
+ * Using the default random bytes generator, this method is suitable for cryptographic use.
+ *
+ * @psalm-param (callable(int): string)|null $randomBytesGenerator
+ *
+ * @param BigNumber|int|float|string $min The lower bound. Must be convertible to a BigInteger.
+ * @param BigNumber|int|float|string $max The upper bound. Must be convertible to a BigInteger.
+ * @param callable|null $randomBytesGenerator A function that accepts a number of bytes as an integer,
+ * and returns a string of random bytes of the given length.
+ * Defaults to the `random_bytes()` function.
+ *
+ * @return BigInteger
+ *
+ * @throws MathException If one of the parameters cannot be converted to a BigInteger,
+ * or `$min` is greater than `$max`.
+ */
+ public static function randomRange($min, $max, ?callable $randomBytesGenerator = null) : BigInteger
+ {
+ $min = BigInteger::of($min);
+ $max = BigInteger::of($max);
+
+ if ($min->isGreaterThan($max)) {
+ throw new MathException('$min cannot be greater than $max.');
+ }
+
+ if ($min->isEqualTo($max)) {
+ return $min;
+ }
+
+ $diff = $max->minus($min);
+ $bitLength = $diff->getBitLength();
+
+ // try until the number is in range (50% to 100% chance of success)
+ do {
+ $randomNumber = self::randomBits($bitLength, $randomBytesGenerator);
+ } while ($randomNumber->isGreaterThan($diff));
+
+ return $randomNumber->plus($min);
+ }
+
+ /**
+ * Returns a BigInteger representing zero.
+ *
+ * @return BigInteger
+ *
+ * @psalm-pure
+ */
+ public static function zero() : BigInteger
+ {
+ /**
+ * @psalm-suppress ImpureStaticVariable
+ * @var BigInteger|null $zero
+ */
+ static $zero;
+
+ if ($zero === null) {
+ $zero = new BigInteger('0');
+ }
+
+ return $zero;
+ }
+
+ /**
+ * Returns a BigInteger representing one.
+ *
+ * @return BigInteger
+ *
+ * @psalm-pure
+ */
+ public static function one() : BigInteger
+ {
+ /**
+ * @psalm-suppress ImpureStaticVariable
+ * @var BigInteger|null $one
+ */
+ static $one;
+
+ if ($one === null) {
+ $one = new BigInteger('1');
+ }
+
+ return $one;
+ }
+
+ /**
+ * Returns a BigInteger representing ten.
+ *
+ * @return BigInteger
+ *
+ * @psalm-pure
+ */
+ public static function ten() : BigInteger
+ {
+ /**
+ * @psalm-suppress ImpureStaticVariable
+ * @var BigInteger|null $ten
+ */
+ static $ten;
+
+ if ($ten === null) {
+ $ten = new BigInteger('10');
+ }
+
+ return $ten;
+ }
+
+ /**
+ * Returns the sum of this number and the given one.
+ *
+ * @param BigNumber|int|float|string $that The number to add. Must be convertible to a BigInteger.
+ *
+ * @return BigInteger The result.
+ *
+ * @throws MathException If the number is not valid, or is not convertible to a BigInteger.
+ */
+ public function plus($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '0') {
+ return $this;
+ }
+
+ if ($this->value === '0') {
+ return $that;
+ }
+
+ $value = Calculator::get()->add($this->value, $that->value);
+
+ return new BigInteger($value);
+ }
+
+ /**
+ * Returns the difference of this number and the given one.
+ *
+ * @param BigNumber|int|float|string $that The number to subtract. Must be convertible to a BigInteger.
+ *
+ * @return BigInteger The result.
+ *
+ * @throws MathException If the number is not valid, or is not convertible to a BigInteger.
+ */
+ public function minus($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '0') {
+ return $this;
+ }
+
+ $value = Calculator::get()->sub($this->value, $that->value);
+
+ return new BigInteger($value);
+ }
+
+ /**
+ * Returns the product of this number and the given one.
+ *
+ * @param BigNumber|int|float|string $that The multiplier. Must be convertible to a BigInteger.
+ *
+ * @return BigInteger The result.
+ *
+ * @throws MathException If the multiplier is not a valid number, or is not convertible to a BigInteger.
+ */
+ public function multipliedBy($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '1') {
+ return $this;
+ }
+
+ if ($this->value === '1') {
+ return $that;
+ }
+
+ $value = Calculator::get()->mul($this->value, $that->value);
+
+ return new BigInteger($value);
+ }
+
+ /**
+ * Returns the result of the division of this number by the given one.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger.
+ * @param int $roundingMode An optional rounding mode.
+ *
+ * @return BigInteger The result.
+ *
+ * @throws MathException If the divisor is not a valid number, is not convertible to a BigInteger, is zero,
+ * or RoundingMode::UNNECESSARY is used and the remainder is not zero.
+ */
+ public function dividedBy($that, int $roundingMode = RoundingMode::UNNECESSARY) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '1') {
+ return $this;
+ }
+
+ if ($that->value === '0') {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ $result = Calculator::get()->divRound($this->value, $that->value, $roundingMode);
+
+ return new BigInteger($result);
+ }
+
+ /**
+ * Returns this number exponentiated to the given value.
+ *
+ * @param int $exponent The exponent.
+ *
+ * @return BigInteger The result.
+ *
+ * @throws \InvalidArgumentException If the exponent is not in the range 0 to 1,000,000.
+ */
+ public function power(int $exponent) : BigInteger
+ {
+ if ($exponent === 0) {
+ return BigInteger::one();
+ }
+
+ if ($exponent === 1) {
+ return $this;
+ }
+
+ if ($exponent < 0 || $exponent > Calculator::MAX_POWER) {
+ throw new \InvalidArgumentException(\sprintf(
+ 'The exponent %d is not in the range 0 to %d.',
+ $exponent,
+ Calculator::MAX_POWER
+ ));
+ }
+
+ return new BigInteger(Calculator::get()->pow($this->value, $exponent));
+ }
+
+ /**
+ * Returns the quotient of the division of this number by the given one.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger.
+ *
+ * @return BigInteger
+ *
+ * @throws DivisionByZeroException If the divisor is zero.
+ */
+ public function quotient($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '1') {
+ return $this;
+ }
+
+ if ($that->value === '0') {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ $quotient = Calculator::get()->divQ($this->value, $that->value);
+
+ return new BigInteger($quotient);
+ }
+
+ /**
+ * Returns the remainder of the division of this number by the given one.
+ *
+ * The remainder, when non-zero, has the same sign as the dividend.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger.
+ *
+ * @return BigInteger
+ *
+ * @throws DivisionByZeroException If the divisor is zero.
+ */
+ public function remainder($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '1') {
+ return BigInteger::zero();
+ }
+
+ if ($that->value === '0') {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ $remainder = Calculator::get()->divR($this->value, $that->value);
+
+ return new BigInteger($remainder);
+ }
+
+ /**
+ * Returns the quotient and remainder of the division of this number by the given one.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger.
+ *
+ * @return BigInteger[] An array containing the quotient and the remainder.
+ *
+ * @throws DivisionByZeroException If the divisor is zero.
+ */
+ public function quotientAndRemainder($that) : array
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '0') {
+ throw DivisionByZeroException::divisionByZero();
+ }
+
+ [$quotient, $remainder] = Calculator::get()->divQR($this->value, $that->value);
+
+ return [
+ new BigInteger($quotient),
+ new BigInteger($remainder)
+ ];
+ }
+
+ /**
+ * Returns the modulo of this number and the given one.
+ *
+ * The modulo operation yields the same result as the remainder operation when both operands are of the same sign,
+ * and may differ when signs are different.
+ *
+ * The result of the modulo operation, when non-zero, has the same sign as the divisor.
+ *
+ * @param BigNumber|int|float|string $that The divisor. Must be convertible to a BigInteger.
+ *
+ * @return BigInteger
+ *
+ * @throws DivisionByZeroException If the divisor is zero.
+ */
+ public function mod($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '0') {
+ throw DivisionByZeroException::modulusMustNotBeZero();
+ }
+
+ $value = Calculator::get()->mod($this->value, $that->value);
+
+ return new BigInteger($value);
+ }
+
+ /**
+ * Returns the modular multiplicative inverse of this BigInteger modulo $m.
+ *
+ * @param BigInteger $m
+ *
+ * @return BigInteger
+ *
+ * @throws DivisionByZeroException If $m is zero.
+ * @throws NegativeNumberException If $m is negative.
+ * @throws MathException If this BigInteger has no multiplicative inverse mod m (that is, this BigInteger
+ * is not relatively prime to m).
+ */
+ public function modInverse(BigInteger $m) : BigInteger
+ {
+ if ($m->value === '0') {
+ throw DivisionByZeroException::modulusMustNotBeZero();
+ }
+
+ if ($m->isNegative()) {
+ throw new NegativeNumberException('Modulus must not be negative.');
+ }
+
+ if ($m->value === '1') {
+ return BigInteger::zero();
+ }
+
+ $value = Calculator::get()->modInverse($this->value, $m->value);
+
+ if ($value === null) {
+ throw new MathException('Unable to compute the modInverse for the given modulus.');
+ }
+
+ return new BigInteger($value);
+ }
+
+ /**
+ * Returns this number raised into power with modulo.
+ *
+ * This operation only works on positive numbers.
+ *
+ * @param BigNumber|int|float|string $exp The exponent. Must be positive or zero.
+ * @param BigNumber|int|float|string $mod The modulus. Must be strictly positive.
+ *
+ * @return BigInteger
+ *
+ * @throws NegativeNumberException If any of the operands is negative.
+ * @throws DivisionByZeroException If the modulus is zero.
+ */
+ public function modPow($exp, $mod) : BigInteger
+ {
+ $exp = BigInteger::of($exp);
+ $mod = BigInteger::of($mod);
+
+ if ($this->isNegative() || $exp->isNegative() || $mod->isNegative()) {
+ throw new NegativeNumberException('The operands cannot be negative.');
+ }
+
+ if ($mod->isZero()) {
+ throw DivisionByZeroException::modulusMustNotBeZero();
+ }
+
+ $result = Calculator::get()->modPow($this->value, $exp->value, $mod->value);
+
+ return new BigInteger($result);
+ }
+
+ /**
+ * Returns the greatest common divisor of this number and the given one.
+ *
+ * The GCD is always positive, unless both operands are zero, in which case it is zero.
+ *
+ * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number.
+ *
+ * @return BigInteger
+ */
+ public function gcd($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ if ($that->value === '0' && $this->value[0] !== '-') {
+ return $this;
+ }
+
+ if ($this->value === '0' && $that->value[0] !== '-') {
+ return $that;
+ }
+
+ $value = Calculator::get()->gcd($this->value, $that->value);
+
+ return new BigInteger($value);
+ }
+
+ /**
+ * Returns the integer square root number of this number, rounded down.
+ *
+ * The result is the largest x such that x² ≤ n.
+ *
+ * @return BigInteger
+ *
+ * @throws NegativeNumberException If this number is negative.
+ */
+ public function sqrt() : BigInteger
+ {
+ if ($this->value[0] === '-') {
+ throw new NegativeNumberException('Cannot calculate the square root of a negative number.');
+ }
+
+ $value = Calculator::get()->sqrt($this->value);
+
+ return new BigInteger($value);
+ }
+
+ /**
+ * Returns the absolute value of this number.
+ *
+ * @return BigInteger
+ */
+ public function abs() : BigInteger
+ {
+ return $this->isNegative() ? $this->negated() : $this;
+ }
+
+ /**
+ * Returns the inverse of this number.
+ *
+ * @return BigInteger
+ */
+ public function negated() : BigInteger
+ {
+ return new BigInteger(Calculator::get()->neg($this->value));
+ }
+
+ /**
+ * Returns the integer bitwise-and combined with another integer.
+ *
+ * This method returns a negative BigInteger if and only if both operands are negative.
+ *
+ * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number.
+ *
+ * @return BigInteger
+ */
+ public function and($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ return new BigInteger(Calculator::get()->and($this->value, $that->value));
+ }
+
+ /**
+ * Returns the integer bitwise-or combined with another integer.
+ *
+ * This method returns a negative BigInteger if and only if either of the operands is negative.
+ *
+ * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number.
+ *
+ * @return BigInteger
+ */
+ public function or($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ return new BigInteger(Calculator::get()->or($this->value, $that->value));
+ }
+
+ /**
+ * Returns the integer bitwise-xor combined with another integer.
+ *
+ * This method returns a negative BigInteger if and only if exactly one of the operands is negative.
+ *
+ * @param BigNumber|int|float|string $that The operand. Must be convertible to an integer number.
+ *
+ * @return BigInteger
+ */
+ public function xor($that) : BigInteger
+ {
+ $that = BigInteger::of($that);
+
+ return new BigInteger(Calculator::get()->xor($this->value, $that->value));
+ }
+
+ /**
+ * Returns the bitwise-not of this BigInteger.
+ *
+ * @return BigInteger
+ */
+ public function not() : BigInteger
+ {
+ return $this->negated()->minus(1);
+ }
+
+ /**
+ * Returns the integer left shifted by a given number of bits.
+ *
+ * @param int $distance The distance to shift.
+ *
+ * @return BigInteger
+ */
+ public function shiftedLeft(int $distance) : BigInteger
+ {
+ if ($distance === 0) {
+ return $this;
+ }
+
+ if ($distance < 0) {
+ return $this->shiftedRight(- $distance);
+ }
+
+ return $this->multipliedBy(BigInteger::of(2)->power($distance));
+ }
+
+ /**
+ * Returns the integer right shifted by a given number of bits.
+ *
+ * @param int $distance The distance to shift.
+ *
+ * @return BigInteger
+ */
+ public function shiftedRight(int $distance) : BigInteger
+ {
+ if ($distance === 0) {
+ return $this;
+ }
+
+ if ($distance < 0) {
+ return $this->shiftedLeft(- $distance);
+ }
+
+ $operand = BigInteger::of(2)->power($distance);
+
+ if ($this->isPositiveOrZero()) {
+ return $this->quotient($operand);
+ }
+
+ return $this->dividedBy($operand, RoundingMode::UP);
+ }
+
+ /**
+ * Returns the number of bits in the minimal two's-complement representation of this BigInteger, excluding a sign bit.
+ *
+ * For positive BigIntegers, this is equivalent to the number of bits in the ordinary binary representation.
+ * Computes (ceil(log2(this < 0 ? -this : this+1))).
+ *
+ * @return int
+ */
+ public function getBitLength() : int
+ {
+ if ($this->value === '0') {
+ return 0;
+ }
+
+ if ($this->isNegative()) {
+ return $this->abs()->minus(1)->getBitLength();
+ }
+
+ return \strlen($this->toBase(2));
+ }
+
+ /**
+ * Returns the index of the rightmost (lowest-order) one bit in this BigInteger.
+ *
+ * Returns -1 if this BigInteger contains no one bits.
+ *
+ * @return int
+ */
+ public function getLowestSetBit() : int
+ {
+ $n = $this;
+ $bitLength = $this->getBitLength();
+
+ for ($i = 0; $i <= $bitLength; $i++) {
+ if ($n->isOdd()) {
+ return $i;
+ }
+
+ $n = $n->shiftedRight(1);
+ }
+
+ return -1;
+ }
+
+ /**
+ * Returns whether this number is even.
+ *
+ * @return bool
+ */
+ public function isEven() : bool
+ {
+ return \in_array($this->value[-1], ['0', '2', '4', '6', '8'], true);
+ }
+
+ /**
+ * Returns whether this number is odd.
+ *
+ * @return bool
+ */
+ public function isOdd() : bool
+ {
+ return \in_array($this->value[-1], ['1', '3', '5', '7', '9'], true);
+ }
+
+ /**
+ * Returns true if and only if the designated bit is set.
+ *
+ * Computes ((this & (1< ')
- {
- $markup = $trimmedMarkup;
- $markup = substr($markup, 3);
-
- $position = strpos($markup, " Hello Parsedown!
i');
assert('hi' === $ret);
@@ -223,7 +248,7 @@ may use internal buffers and may emit a final data chunk on close.
The filter function can be closed by invoking without any arguments:
```php
-$fun = Filter\fun('zlib.deflate');
+$fun = Clue\StreamFilter\fun('zlib.deflate');
$ret = $fun('hello') . $fun('world') . $fun();
assert('helloworld' === gzinflate($ret));
@@ -233,7 +258,7 @@ The filter function must not be used anymore after it has been closed.
Doing so will result in a `RuntimeException`:
```php
-$fun = Filter\fun('string.rot13');
+$fun = Clue\StreamFilter\fun('string.rot13');
$fun();
$fun('test'); // throws RuntimeException
@@ -248,40 +273,40 @@ If you feel some test case is missing or outdated, we're happy to accept PRs! :)
### remove()
-The `remove($filter)` function can be used to
+The `remove(resource
i');
+ * assert('hi' === $ret);
+ * ```
+ *
+ * Under the hood, this function allocates a temporary memory stream, so it's
+ * recommended to clean up the filter function after use.
+ * Also, some filter functions (in particular the
+ * [zlib compression filters](https://www.php.net/manual/en/filters.compression.php))
+ * may use internal buffers and may emit a final data chunk on close.
+ * The filter function can be closed by invoking without any arguments:
+ *
+ * ```php
+ * $fun = Clue\StreamFilter\fun('zlib.deflate');
+ *
+ * $ret = $fun('hello') . $fun('world') . $fun();
+ * assert('helloworld' === gzinflate($ret));
+ * ```
+ *
+ * The filter function must not be used anymore after it has been closed.
+ * Doing so will result in a `RuntimeException`:
+ *
+ * ```php
+ * $fun = Clue\StreamFilter\fun('string.rot13');
+ * $fun();
+ *
+ * $fun('test'); // throws RuntimeException
+ * ```
+ *
+ * > Note: If you're using the zlib compression filters, then you should be wary
+ * about engine inconsistencies between different PHP versions and HHVM.
+ * These inconsistencies exist in the underlying PHP engines and there's little we
+ * can do about this in this library.
+ * [Our test suite](tests/) contains several test cases that exhibit these issues.
+ * If you feel some test case is missing or outdated, we're happy to accept PRs! :)
*
* @param string $filter built-in filter name. See stream_get_filters() or http://php.net/manual/en/filters.php
* @param mixed $parameters (optional) parameters to pass to the built-in filter as-is
* @return callable a filter callback which can be append()'ed or prepend()'ed
- * @throws RuntimeException on error
+ * @throws \RuntimeException on error
* @link http://php.net/manual/en/filters.php
* @see stream_get_filters()
* @see append()
*/
function fun($filter, $parameters = null)
{
- $fp = fopen('php://memory', 'w');
- if (func_num_args() === 1) {
- $filter = @stream_filter_append($fp, $filter, STREAM_FILTER_WRITE);
+ $fp = \fopen('php://memory', 'w');
+ if (\func_num_args() === 1) {
+ $filter = @\stream_filter_append($fp, $filter, \STREAM_FILTER_WRITE);
} else {
- $filter = @stream_filter_append($fp, $filter, STREAM_FILTER_WRITE, $parameters);
+ $filter = @\stream_filter_append($fp, $filter, \STREAM_FILTER_WRITE, $parameters);
}
if ($filter === false) {
- fclose($fp);
- $error = error_get_last() + array('message' => '');
- throw new RuntimeException('Unable to access built-in filter: ' . $error['message']);
+ \fclose($fp);
+ $error = \error_get_last() + array('message' => '');
+ throw new \RuntimeException('Unable to access built-in filter: ' . $error['message']);
}
// append filter function which buffers internally
@@ -89,7 +261,7 @@ function fun($filter, $parameters = null)
// always return empty string in order to skip actually writing to stream resource
return '';
- }, STREAM_FILTER_WRITE);
+ }, \STREAM_FILTER_WRITE);
$closed = false;
@@ -100,12 +272,12 @@ function fun($filter, $parameters = null)
if ($chunk === null) {
$closed = true;
$buffer = '';
- fclose($fp);
+ \fclose($fp);
return $buffer;
}
// initialize buffer and invoke filters by attempting to write to stream
$buffer = '';
- fwrite($fp, $chunk);
+ \fwrite($fp, $chunk);
// buffer now contains everything the filter function returned
return $buffer;
@@ -113,22 +285,31 @@ function fun($filter, $parameters = null)
}
/**
- * remove a callback filter from the given stream
+ * Remove a filter previously added via `append()` or `prepend()`.
+ *
+ * ```php
+ * $filter = Clue\StreamFilter\append($stream, function () {
+ * // …
+ * });
+ * Clue\StreamFilter\remove($filter);
+ * ```
*
* @param resource $filter
- * @return boolean true on success or false on error
- * @throws Exception on error
+ * @return bool true on success or false on error
+ * @throws \RuntimeException on error
* @uses stream_filter_remove()
*/
function remove($filter)
{
- if (@stream_filter_remove($filter) === false) {
- throw new RuntimeException('Unable to remove given filter');
+ if (@\stream_filter_remove($filter) === false) {
+ // PHP 8 throws above on type errors, older PHP and memory issues can throw here
+ $error = \error_get_last();
+ throw new \RuntimeException('Unable to remove filter: ' . $error['message']);
}
}
/**
- * registers the callback filter and returns the resulting filter name
+ * Registers the callback filter and returns the resulting filter name
*
* There should be little reason to call this function manually.
*
@@ -140,7 +321,7 @@ function register()
static $registered = null;
if ($registered === null) {
$registered = 'stream-callback';
- stream_filter_register($registered, __NAMESPACE__ . '\CallbackFilter');
+ \stream_filter_register($registered, __NAMESPACE__ . '\CallbackFilter');
}
return $registered;
}
diff --git a/vendor/clue/stream-filter/src/functions_include.php b/vendor/clue/stream-filter/src/functions_include.php
index 346a91bb..4b315ae8 100644
--- a/vendor/clue/stream-filter/src/functions_include.php
+++ b/vendor/clue/stream-filter/src/functions_include.php
@@ -1,5 +1,6 @@
createStream();
-
- StreamFilter\append($stream, function ($chunk) {
- return strtoupper($chunk);
- });
-
- fwrite($stream, 'hello');
- fwrite($stream, 'world');
- rewind($stream);
-
- $this->assertEquals('HELLOWORLD', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testAppendNativePhpFunction()
- {
- $stream = $this->createStream();
-
- StreamFilter\append($stream, 'strtoupper');
-
- fwrite($stream, 'hello');
- fwrite($stream, 'world');
- rewind($stream);
-
- $this->assertEquals('HELLOWORLD', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testAppendChangingChunkSize()
- {
- $stream = $this->createStream();
-
- StreamFilter\append($stream, function ($chunk) {
- return str_replace(array('a','e','i','o','u'), '', $chunk);
- });
-
- fwrite($stream, 'hello');
- fwrite($stream, 'world');
- rewind($stream);
-
- $this->assertEquals('hllwrld', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testAppendReturningEmptyStringWillNotPassThrough()
- {
- $stream = $this->createStream();
-
- StreamFilter\append($stream, function ($chunk) {
- return '';
- });
-
- fwrite($stream, 'hello');
- fwrite($stream, 'world');
- rewind($stream);
-
- $this->assertEquals('', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testAppendEndEventCanBeBufferedOnClose()
- {
- if (PHP_VERSION < 5.4) $this->markTestSkipped('Not supported on legacy PHP');
-
- $stream = $this->createStream();
-
- StreamFilter\append($stream, function ($chunk = null) {
- if ($chunk === null) {
- // this signals the end event
- return '!';
- }
- return $chunk . ' ';
- }, STREAM_FILTER_WRITE);
-
- $buffered = '';
- StreamFilter\append($stream, function ($chunk) use (&$buffered) {
- $buffered .= $chunk;
- return '';
- });
-
- fwrite($stream, 'hello');
- fwrite($stream, 'world');
-
- fclose($stream);
-
- $this->assertEquals('hello world !', $buffered);
- }
-
- public function testAppendEndEventWillBeCalledOnRemove()
- {
- $stream = $this->createStream();
-
- $ended = false;
- $filter = StreamFilter\append($stream, function ($chunk = null) use (&$ended) {
- if ($chunk === null) {
- $ended = true;
- }
- return $chunk;
- }, STREAM_FILTER_WRITE);
-
- $this->assertEquals(0, $ended);
- StreamFilter\remove($filter);
- $this->assertEquals(1, $ended);
- }
-
- public function testAppendEndEventWillBeCalledOnClose()
- {
- $stream = $this->createStream();
-
- $ended = false;
- StreamFilter\append($stream, function ($chunk = null) use (&$ended) {
- if ($chunk === null) {
- $ended = true;
- }
- return $chunk;
- }, STREAM_FILTER_WRITE);
-
- $this->assertEquals(0, $ended);
- fclose($stream);
- $this->assertEquals(1, $ended);
- }
-
- public function testAppendWriteOnly()
- {
- $stream = $this->createStream();
-
- $invoked = 0;
-
- StreamFilter\append($stream, function ($chunk) use (&$invoked) {
- ++$invoked;
-
- return $chunk;
- }, STREAM_FILTER_WRITE);
-
- fwrite($stream, 'a');
- fwrite($stream, 'b');
- fwrite($stream, 'c');
- rewind($stream);
-
- $this->assertEquals(3, $invoked);
- $this->assertEquals('abc', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testAppendReadOnly()
- {
- $stream = $this->createStream();
-
- $invoked = 0;
-
- StreamFilter\append($stream, function ($chunk) use (&$invoked) {
- ++$invoked;
-
- return $chunk;
- }, STREAM_FILTER_READ);
-
- fwrite($stream, 'a');
- fwrite($stream, 'b');
- fwrite($stream, 'c');
- rewind($stream);
-
- $this->assertEquals(0, $invoked);
- $this->assertEquals('abc', stream_get_contents($stream));
- $this->assertEquals(1, $invoked);
-
- fclose($stream);
- }
-
- public function testOrderCallingAppendAfterPrepend()
- {
- $stream = $this->createStream();
-
- StreamFilter\append($stream, function ($chunk) {
- return '[' . $chunk . ']';
- }, STREAM_FILTER_WRITE);
-
- StreamFilter\prepend($stream, function ($chunk) {
- return '(' . $chunk . ')';
- }, STREAM_FILTER_WRITE);
-
- fwrite($stream, 'hello');
- rewind($stream);
-
- $this->assertEquals('[(hello)]', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testRemoveFilter()
- {
- $stream = $this->createStream();
-
- $first = StreamFilter\append($stream, function ($chunk) {
- return $chunk . '?';
- }, STREAM_FILTER_WRITE);
-
- StreamFilter\append($stream, function ($chunk) {
- return $chunk . '!';
- }, STREAM_FILTER_WRITE);
-
- StreamFilter\remove($first);
-
- fwrite($stream, 'hello');
- rewind($stream);
-
- $this->assertEquals('hello!', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testAppendFunDechunk()
- {
- if (defined('HHVM_VERSION')) $this->markTestSkipped('Not supported on HHVM (dechunk filter does not exist)');
-
- $stream = $this->createStream();
-
- StreamFilter\append($stream, StreamFilter\fun('dechunk'), STREAM_FILTER_WRITE);
-
- fwrite($stream, "2\r\nhe\r\n");
- fwrite($stream, "3\r\nllo\r\n");
- fwrite($stream, "0\r\n\r\n");
- rewind($stream);
-
- $this->assertEquals('hello', stream_get_contents($stream));
-
- fclose($stream);
- }
-
- public function testAppendThrows()
- {
- $this->createErrorHandler($errors);
-
- $stream = $this->createStream();
- $this->createErrorHandler($errors);
-
- StreamFilter\append($stream, function ($chunk) {
- throw new \DomainException($chunk);
- });
-
- fwrite($stream, 'test');
-
- $this->removeErrorHandler();
- $this->assertCount(1, $errors);
- $this->assertContains('test', $errors[0]);
- }
-
- public function testAppendThrowsDuringEnd()
- {
- $stream = $this->createStream();
- $this->createErrorHandler($errors);
-
- StreamFilter\append($stream, function ($chunk = null) {
- if ($chunk === null) {
- throw new \DomainException('end');
- }
- return $chunk;
- });
-
- fclose($stream);
-
- $this->removeErrorHandler();
-
- // We can only assert we're not seeing an exception here…
- // * php 5.3-5.6 sees one error here
- // * php 7 does not see any error here
- // * hhvm sees the same error twice
- //
- // If you're curious:
- //
- // var_dump($errors);
- // $this->assertCount(1, $errors);
- // $this->assertContains('end', $errors[0]);
- }
-
- public function testAppendThrowsShouldTriggerEnd()
- {
- $stream = $this->createStream();
- $this->createErrorHandler($errors);
-
- $ended = false;
- StreamFilter\append($stream, function ($chunk = null) use (&$ended) {
- if ($chunk === null) {
- $ended = true;
- return '';
- }
- throw new \DomainException($chunk);
- });
-
- $this->assertEquals(false, $ended);
- fwrite($stream, 'test');
- $this->assertEquals(true, $ended);
-
- $this->removeErrorHandler();
- $this->assertCount(1, $errors);
- $this->assertContains('test', $errors[0]);
- }
-
- public function testAppendThrowsShouldTriggerEndButIgnoreExceptionDuringEnd()
- {
- //$this->markTestIncomplete();
- $stream = $this->createStream();
- $this->createErrorHandler($errors);
-
- StreamFilter\append($stream, function ($chunk = null) {
- if ($chunk === null) {
- $chunk = 'end';
- //return '';
- }
- throw new \DomainException($chunk);
- });
-
- fwrite($stream, 'test');
-
- $this->removeErrorHandler();
- $this->assertCount(1, $errors);
- $this->assertContains('test', $errors[0]);
- }
-
- /**
- * @expectedException RuntimeException
- */
- public function testAppendInvalidStreamIsRuntimeError()
- {
- if (defined('HHVM_VERSION')) $this->markTestSkipped('Not supported on HHVM (does not reject invalid stream)');
- StreamFilter\append(false, function () { });
- }
-
- /**
- * @expectedException RuntimeException
- */
- public function testPrependInvalidStreamIsRuntimeError()
- {
- if (defined('HHVM_VERSION')) $this->markTestSkipped('Not supported on HHVM (does not reject invalid stream)');
- StreamFilter\prepend(false, function () { });
- }
-
- /**
- * @expectedException RuntimeException
- */
- public function testRemoveInvalidFilterIsRuntimeError()
- {
- if (defined('HHVM_VERSION')) $this->markTestSkipped('Not supported on HHVM (does not reject invalid filters)');
- StreamFilter\remove(false);
- }
-
- /**
- * @expectedException InvalidArgumentException
- */
- public function testInvalidCallbackIsInvalidArgument()
- {
- $stream = $this->createStream();
-
- StreamFilter\append($stream, 'a-b-c');
- }
-
- private function createStream()
- {
- return fopen('php://memory', 'r+');
- }
-
- private function createErrorHandler(&$errors)
- {
- $errors = array();
- set_error_handler(function ($_, $message) use (&$errors) {
- $errors []= $message;
- });
- }
-
- private function removeErrorHandler()
- {
- restore_error_handler();
- }
-}
diff --git a/vendor/clue/stream-filter/tests/FunTest.php b/vendor/clue/stream-filter/tests/FunTest.php
deleted file mode 100644
index d0812e86..00000000
--- a/vendor/clue/stream-filter/tests/FunTest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-assertEquals('grfg', $rot('test'));
- $this->assertEquals('test', $rot($rot('test')));
- $this->assertEquals(null, $rot());
- }
-
- public function testFunInQuotedPrintable()
- {
- $encode = Filter\fun('convert.quoted-printable-encode');
- $decode = Filter\fun('convert.quoted-printable-decode');
-
- $this->assertEquals('t=C3=A4st', $encode('täst'));
- $this->assertEquals('täst', $decode($encode('täst')));
- $this->assertEquals(null, $encode());
- }
-
- /**
- * @expectedException RuntimeException
- */
- public function testFunWriteAfterCloseRot13()
- {
- $rot = Filter\fun('string.rot13');
-
- $this->assertEquals(null, $rot());
- $rot('test');
- }
-
- /**
- * @expectedException RuntimeException
- */
- public function testFunInvalid()
- {
- Filter\fun('unknown');
- }
-
- public function testFunInBase64()
- {
- $encode = Filter\fun('convert.base64-encode');
- $decode = Filter\fun('convert.base64-decode');
-
- $string = 'test';
- $this->assertEquals(base64_encode($string), $encode($string) . $encode());
- $this->assertEquals($string, $decode(base64_encode($string)));
-
- $encode = Filter\fun('convert.base64-encode');
- $decode = Filter\fun('convert.base64-decode');
- $this->assertEquals($string, $decode($encode($string) . $encode()));
-
- $encode = Filter\fun('convert.base64-encode');
- $this->assertEquals(null, $encode());
- }
-}
diff --git a/vendor/clue/stream-filter/tests/FunZlibTest.php b/vendor/clue/stream-filter/tests/FunZlibTest.php
deleted file mode 100644
index 752c8a2c..00000000
--- a/vendor/clue/stream-filter/tests/FunZlibTest.php
+++ /dev/null
@@ -1,79 +0,0 @@
-assertEquals(gzdeflate('hello world'), $data);
- }
-
- public function testFunZlibDeflateEmpty()
- {
- if (PHP_VERSION >= 7) $this->markTestSkipped('Not supported on PHP7 (empty string does not invoke filter)');
-
- $deflate = StreamFilter\fun('zlib.deflate');
-
- //$data = gzdeflate('');
- $data = $deflate();
-
- $this->assertEquals("\x03\x00", $data);
- }
-
- public function testFunZlibDeflateBig()
- {
- $deflate = StreamFilter\fun('zlib.deflate');
-
- $n = 1000;
- $expected = str_repeat('hello', $n);
-
- $bytes = '';
- for ($i = 0; $i < $n; ++$i) {
- $bytes .= $deflate('hello');
- }
- $bytes .= $deflate();
-
- $this->assertEquals($expected, gzinflate($bytes));
- }
-
- public function testFunZlibInflateHelloWorld()
- {
- $inflate = StreamFilter\fun('zlib.inflate');
-
- $data = $inflate(gzdeflate('hello world')) . $inflate();
-
- $this->assertEquals('hello world', $data);
- }
-
- public function testFunZlibInflateEmpty()
- {
- $inflate = StreamFilter\fun('zlib.inflate');
-
- $data = $inflate("\x03\x00") . $inflate();
-
- $this->assertEquals('', $data);
- }
-
- public function testFunZlibInflateBig()
- {
- if (defined('HHVM_VERSION')) $this->markTestSkipped('Not supported on HHVM (final chunk will not be emitted)');
-
- $inflate = StreamFilter\fun('zlib.inflate');
-
- $expected = str_repeat('hello', 10);
- $bytes = gzdeflate($expected);
-
- $ret = '';
- foreach (str_split($bytes, 2) as $chunk) {
- $ret .= $inflate($chunk);
- }
- $ret .= $inflate();
-
- $this->assertEquals($expected, $ret);
- }
-}
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php
index dc02dfb1..afef3fa2 100644
--- a/vendor/composer/ClassLoader.php
+++ b/vendor/composer/ClassLoader.php
@@ -37,57 +37,130 @@ namespace Composer\Autoload;
*
* @author Fabien Potencier
- *
- *
- *
- * @param string $string The string to operate on.
- * @param string $delimiters A list of word separators.
- *
- * @return string The string with all delimeter-separated words capitalized.
- */
- public static function ucwords(string $string, string $delimiters = " \n\t\r\0\x0B-") : string
- {
- return ucwords($string, $delimiters);
- }
-
- /**
- * Clears Inflectors inflected value caches, and resets the inflection
- * rules to the initial values.
- */
- public static function reset() : void
- {
- if (empty(self::$initialState)) {
- self::$initialState = get_class_vars('Inflector');
-
- return;
- }
-
- foreach (self::$initialState as $key => $val) {
- if ($key !== 'initialState') {
- self::${$key} = $val;
- }
- }
- }
-
- /**
- * Adds custom inflection $rules, of either 'plural' or 'singular' $type.
- *
- * ### Usage:
- *
- * {{{
- * Inflector::rules('plural', array('/^(inflect)or$/i' => '\1ables'));
- * Inflector::rules('plural', array(
- * 'rules' => array('/^(inflect)ors$/i' => '\1ables'),
- * 'uninflected' => array('dontinflectme'),
- * 'irregular' => array('red' => 'redlings')
- * ));
- * }}}
- *
- * @param string $type The type of inflection, either 'plural' or 'singular'
- * @param array|iterable $rules An array of rules to be added.
- * @param boolean $reset If true, will unset default inflections for all
- * new rules that are being defined in $rules.
- *
- * @return void
- */
- public static function rules(string $type, iterable $rules, bool $reset = false) : void
- {
- foreach ($rules as $rule => $pattern) {
- if ( ! is_array($pattern)) {
- continue;
- }
-
- if ($reset) {
- self::${$type}[$rule] = $pattern;
- } else {
- self::${$type}[$rule] = ($rule === 'uninflected')
- ? array_merge($pattern, self::${$type}[$rule])
- : $pattern + self::${$type}[$rule];
- }
-
- unset($rules[$rule], self::${$type}['cache' . ucfirst($rule)]);
-
- if (isset(self::${$type}['merged'][$rule])) {
- unset(self::${$type}['merged'][$rule]);
- }
-
- if ($type === 'plural') {
- self::$cache['pluralize'] = self::$cache['tableize'] = array();
- } elseif ($type === 'singular') {
- self::$cache['singularize'] = array();
- }
- }
-
- self::${$type}['rules'] = $rules + self::${$type}['rules'];
- }
-
- /**
- * Returns a word in plural form.
- *
- * @param string $word The word in singular form.
- *
- * @return string The word in plural form.
- */
- public static function pluralize(string $word) : string
- {
- if (isset(self::$cache['pluralize'][$word])) {
- return self::$cache['pluralize'][$word];
- }
-
- if (!isset(self::$plural['merged']['irregular'])) {
- self::$plural['merged']['irregular'] = self::$plural['irregular'];
- }
-
- if (!isset(self::$plural['merged']['uninflected'])) {
- self::$plural['merged']['uninflected'] = array_merge(self::$plural['uninflected'], self::$uninflected);
- }
-
- if (!isset(self::$plural['cacheUninflected']) || !isset(self::$plural['cacheIrregular'])) {
- self::$plural['cacheUninflected'] = '(?:' . implode('|', self::$plural['merged']['uninflected']) . ')';
- self::$plural['cacheIrregular'] = '(?:' . implode('|', array_keys(self::$plural['merged']['irregular'])) . ')';
- }
-
- if (preg_match('/(.*)\\b(' . self::$plural['cacheIrregular'] . ')$/i', $word, $regs)) {
- self::$cache['pluralize'][$word] = $regs[1] . $word[0] . substr(self::$plural['merged']['irregular'][strtolower($regs[2])], 1);
-
- return self::$cache['pluralize'][$word];
- }
-
- if (preg_match('/^(' . self::$plural['cacheUninflected'] . ')$/i', $word, $regs)) {
- self::$cache['pluralize'][$word] = $word;
-
- return $word;
- }
-
- foreach (self::$plural['rules'] as $rule => $replacement) {
- if (preg_match($rule, $word)) {
- self::$cache['pluralize'][$word] = preg_replace($rule, $replacement, $word);
-
- return self::$cache['pluralize'][$word];
- }
- }
- }
-
- /**
- * Returns a word in singular form.
- *
- * @param string $word The word in plural form.
- *
- * @return string The word in singular form.
- */
- public static function singularize(string $word) : string
- {
- if (isset(self::$cache['singularize'][$word])) {
- return self::$cache['singularize'][$word];
- }
-
- if (!isset(self::$singular['merged']['uninflected'])) {
- self::$singular['merged']['uninflected'] = array_merge(
- self::$singular['uninflected'],
- self::$uninflected
- );
- }
-
- if (!isset(self::$singular['merged']['irregular'])) {
- self::$singular['merged']['irregular'] = array_merge(
- self::$singular['irregular'],
- array_flip(self::$plural['irregular'])
- );
- }
-
- if (!isset(self::$singular['cacheUninflected']) || !isset(self::$singular['cacheIrregular'])) {
- self::$singular['cacheUninflected'] = '(?:' . implode('|', self::$singular['merged']['uninflected']) . ')';
- self::$singular['cacheIrregular'] = '(?:' . implode('|', array_keys(self::$singular['merged']['irregular'])) . ')';
- }
-
- if (preg_match('/(.*)\\b(' . self::$singular['cacheIrregular'] . ')$/i', $word, $regs)) {
- self::$cache['singularize'][$word] = $regs[1] . $word[0] . substr(self::$singular['merged']['irregular'][strtolower($regs[2])], 1);
-
- return self::$cache['singularize'][$word];
- }
-
- if (preg_match('/^(' . self::$singular['cacheUninflected'] . ')$/i', $word, $regs)) {
- self::$cache['singularize'][$word] = $word;
-
- return $word;
- }
-
- foreach (self::$singular['rules'] as $rule => $replacement) {
- if (preg_match($rule, $word)) {
- self::$cache['singularize'][$word] = preg_replace($rule, $replacement, $word);
-
- return self::$cache['singularize'][$word];
- }
- }
-
- self::$cache['singularize'][$word] = $word;
-
- return $word;
- }
-}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
new file mode 100644
index 00000000..2d529087
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
@@ -0,0 +1,24 @@
+wordInflector = $wordInflector;
+ }
+
+ public function inflect(string $word): string
+ {
+ return $this->cache[$word] ?? $this->cache[$word] = $this->wordInflector->inflect($word);
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
new file mode 100644
index 00000000..166061d2
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
@@ -0,0 +1,66 @@
+singularRulesets[] = $this->getSingularRuleset();
+ $this->pluralRulesets[] = $this->getPluralRuleset();
+ }
+
+ final public function build(): Inflector
+ {
+ return new Inflector(
+ new CachedWordInflector(new RulesetInflector(
+ ...$this->singularRulesets
+ )),
+ new CachedWordInflector(new RulesetInflector(
+ ...$this->pluralRulesets
+ ))
+ );
+ }
+
+ final public function withSingularRules(?Ruleset $singularRules, bool $reset = false): LanguageInflectorFactory
+ {
+ if ($reset) {
+ $this->singularRulesets = [];
+ }
+
+ if ($singularRules instanceof Ruleset) {
+ array_unshift($this->singularRulesets, $singularRules);
+ }
+
+ return $this;
+ }
+
+ final public function withPluralRules(?Ruleset $pluralRules, bool $reset = false): LanguageInflectorFactory
+ {
+ if ($reset) {
+ $this->pluralRulesets = [];
+ }
+
+ if ($pluralRules instanceof Ruleset) {
+ array_unshift($this->pluralRulesets, $pluralRules);
+ }
+
+ return $this;
+ }
+
+ abstract protected function getSingularRuleset(): Ruleset;
+
+ abstract protected function getPluralRuleset(): Ruleset;
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
new file mode 100644
index 00000000..610a4cf4
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
@@ -0,0 +1,507 @@
+ 'A',
+ 'Á' => 'A',
+ 'Â' => 'A',
+ 'Ã' => 'A',
+ 'Ä' => 'Ae',
+ 'Æ' => 'Ae',
+ 'Å' => 'Aa',
+ 'æ' => 'a',
+ 'Ç' => 'C',
+ 'È' => 'E',
+ 'É' => 'E',
+ 'Ê' => 'E',
+ 'Ë' => 'E',
+ 'Ì' => 'I',
+ 'Í' => 'I',
+ 'Î' => 'I',
+ 'Ï' => 'I',
+ 'Ñ' => 'N',
+ 'Ò' => 'O',
+ 'Ó' => 'O',
+ 'Ô' => 'O',
+ 'Õ' => 'O',
+ 'Ö' => 'Oe',
+ 'Ù' => 'U',
+ 'Ú' => 'U',
+ 'Û' => 'U',
+ 'Ü' => 'Ue',
+ 'Ý' => 'Y',
+ 'ß' => 'ss',
+ 'à' => 'a',
+ 'á' => 'a',
+ 'â' => 'a',
+ 'ã' => 'a',
+ 'ä' => 'ae',
+ 'å' => 'aa',
+ 'ç' => 'c',
+ 'è' => 'e',
+ 'é' => 'e',
+ 'ê' => 'e',
+ 'ë' => 'e',
+ 'ì' => 'i',
+ 'í' => 'i',
+ 'î' => 'i',
+ 'ï' => 'i',
+ 'ñ' => 'n',
+ 'ò' => 'o',
+ 'ó' => 'o',
+ 'ô' => 'o',
+ 'õ' => 'o',
+ 'ö' => 'oe',
+ 'ù' => 'u',
+ 'ú' => 'u',
+ 'û' => 'u',
+ 'ü' => 'ue',
+ 'ý' => 'y',
+ 'ÿ' => 'y',
+ 'Ā' => 'A',
+ 'ā' => 'a',
+ 'Ă' => 'A',
+ 'ă' => 'a',
+ 'Ą' => 'A',
+ 'ą' => 'a',
+ 'Ć' => 'C',
+ 'ć' => 'c',
+ 'Ĉ' => 'C',
+ 'ĉ' => 'c',
+ 'Ċ' => 'C',
+ 'ċ' => 'c',
+ 'Č' => 'C',
+ 'č' => 'c',
+ 'Ď' => 'D',
+ 'ď' => 'd',
+ 'Đ' => 'D',
+ 'đ' => 'd',
+ 'Ē' => 'E',
+ 'ē' => 'e',
+ 'Ĕ' => 'E',
+ 'ĕ' => 'e',
+ 'Ė' => 'E',
+ 'ė' => 'e',
+ 'Ę' => 'E',
+ 'ę' => 'e',
+ 'Ě' => 'E',
+ 'ě' => 'e',
+ 'Ĝ' => 'G',
+ 'ĝ' => 'g',
+ 'Ğ' => 'G',
+ 'ğ' => 'g',
+ 'Ġ' => 'G',
+ 'ġ' => 'g',
+ 'Ģ' => 'G',
+ 'ģ' => 'g',
+ 'Ĥ' => 'H',
+ 'ĥ' => 'h',
+ 'Ħ' => 'H',
+ 'ħ' => 'h',
+ 'Ĩ' => 'I',
+ 'ĩ' => 'i',
+ 'Ī' => 'I',
+ 'ī' => 'i',
+ 'Ĭ' => 'I',
+ 'ĭ' => 'i',
+ 'Į' => 'I',
+ 'į' => 'i',
+ 'İ' => 'I',
+ 'ı' => 'i',
+ 'IJ' => 'IJ',
+ 'ij' => 'ij',
+ 'Ĵ' => 'J',
+ 'ĵ' => 'j',
+ 'Ķ' => 'K',
+ 'ķ' => 'k',
+ 'ĸ' => 'k',
+ 'Ĺ' => 'L',
+ 'ĺ' => 'l',
+ 'Ļ' => 'L',
+ 'ļ' => 'l',
+ 'Ľ' => 'L',
+ 'ľ' => 'l',
+ 'Ŀ' => 'L',
+ 'ŀ' => 'l',
+ 'Ł' => 'L',
+ 'ł' => 'l',
+ 'Ń' => 'N',
+ 'ń' => 'n',
+ 'Ņ' => 'N',
+ 'ņ' => 'n',
+ 'Ň' => 'N',
+ 'ň' => 'n',
+ 'ʼn' => 'N',
+ 'Ŋ' => 'n',
+ 'ŋ' => 'N',
+ 'Ō' => 'O',
+ 'ō' => 'o',
+ 'Ŏ' => 'O',
+ 'ŏ' => 'o',
+ 'Ő' => 'O',
+ 'ő' => 'o',
+ 'Œ' => 'OE',
+ 'œ' => 'oe',
+ 'Ø' => 'O',
+ 'ø' => 'o',
+ 'Ŕ' => 'R',
+ 'ŕ' => 'r',
+ 'Ŗ' => 'R',
+ 'ŗ' => 'r',
+ 'Ř' => 'R',
+ 'ř' => 'r',
+ 'Ś' => 'S',
+ 'ś' => 's',
+ 'Ŝ' => 'S',
+ 'ŝ' => 's',
+ 'Ş' => 'S',
+ 'ş' => 's',
+ 'Š' => 'S',
+ 'š' => 's',
+ 'Ţ' => 'T',
+ 'ţ' => 't',
+ 'Ť' => 'T',
+ 'ť' => 't',
+ 'Ŧ' => 'T',
+ 'ŧ' => 't',
+ 'Ũ' => 'U',
+ 'ũ' => 'u',
+ 'Ū' => 'U',
+ 'ū' => 'u',
+ 'Ŭ' => 'U',
+ 'ŭ' => 'u',
+ 'Ů' => 'U',
+ 'ů' => 'u',
+ 'Ű' => 'U',
+ 'ű' => 'u',
+ 'Ų' => 'U',
+ 'ų' => 'u',
+ 'Ŵ' => 'W',
+ 'ŵ' => 'w',
+ 'Ŷ' => 'Y',
+ 'ŷ' => 'y',
+ 'Ÿ' => 'Y',
+ 'Ź' => 'Z',
+ 'ź' => 'z',
+ 'Ż' => 'Z',
+ 'ż' => 'z',
+ 'Ž' => 'Z',
+ 'ž' => 'z',
+ 'ſ' => 's',
+ '€' => 'E',
+ '£' => '',
+ ];
+
+ /** @var WordInflector */
+ private $singularizer;
+
+ /** @var WordInflector */
+ private $pluralizer;
+
+ public function __construct(WordInflector $singularizer, WordInflector $pluralizer)
+ {
+ $this->singularizer = $singularizer;
+ $this->pluralizer = $pluralizer;
+ }
+
+ /**
+ * Converts a word into the format for a Doctrine table name. Converts 'ModelName' to 'model_name'.
+ */
+ public function tableize(string $word): string
+ {
+ $tableized = preg_replace('~(?<=\\w)([A-Z])~u', '_$1', $word);
+
+ if ($tableized === null) {
+ throw new RuntimeException(sprintf(
+ 'preg_replace returned null for value "%s"',
+ $word
+ ));
+ }
+
+ return mb_strtolower($tableized);
+ }
+
+ /**
+ * Converts a word into the format for a Doctrine class name. Converts 'table_name' to 'TableName'.
+ */
+ public function classify(string $word): string
+ {
+ return str_replace([' ', '_', '-'], '', ucwords($word, ' _-'));
+ }
+
+ /**
+ * Camelizes a word. This uses the classify() method and turns the first character to lowercase.
+ */
+ public function camelize(string $word): string
+ {
+ return lcfirst($this->classify($word));
+ }
+
+ /**
+ * Uppercases words with configurable delimiters between words.
+ *
+ * Takes a string and capitalizes all of the words, like PHP's built-in
+ * ucwords function. This extends that behavior, however, by allowing the
+ * word delimiters to be configured, rather than only separating on
+ * whitespace.
+ *
+ * Here is an example:
+ *
+ * capitalize($string);
+ * // Top-O-The-Morning To All_of_you!
+ *
+ * echo $inflector->capitalize($string, '-_ ');
+ * // Top-O-The-Morning To All_Of_You!
+ * ?>
+ *
+ *
+ * @param string $string The string to operate on.
+ * @param string $delimiters A list of word separators.
+ *
+ * @return string The string with all delimiter-separated words capitalized.
+ */
+ public function capitalize(string $string, string $delimiters = " \n\t\r\0\x0B-"): string
+ {
+ return ucwords($string, $delimiters);
+ }
+
+ /**
+ * Checks if the given string seems like it has utf8 characters in it.
+ *
+ * @param string $string The string to check for utf8 characters in.
+ */
+ public function seemsUtf8(string $string): bool
+ {
+ for ($i = 0; $i < strlen($string); $i++) {
+ if (ord($string[$i]) < 0x80) {
+ continue; // 0bbbbbbb
+ }
+
+ if ((ord($string[$i]) & 0xE0) === 0xC0) {
+ $n = 1; // 110bbbbb
+ } elseif ((ord($string[$i]) & 0xF0) === 0xE0) {
+ $n = 2; // 1110bbbb
+ } elseif ((ord($string[$i]) & 0xF8) === 0xF0) {
+ $n = 3; // 11110bbb
+ } elseif ((ord($string[$i]) & 0xFC) === 0xF8) {
+ $n = 4; // 111110bb
+ } elseif ((ord($string[$i]) & 0xFE) === 0xFC) {
+ $n = 5; // 1111110b
+ } else {
+ return false; // Does not match any model
+ }
+
+ for ($j = 0; $j < $n; $j++) { // n bytes matching 10bbbbbb follow ?
+ if (++$i === strlen($string) || ((ord($string[$i]) & 0xC0) !== 0x80)) {
+ return false;
+ }
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Remove any illegal characters, accents, etc.
+ *
+ * @param string $string String to unaccent
+ *
+ * @return string Unaccented string
+ */
+ public function unaccent(string $string): string
+ {
+ if (preg_match('/[\x80-\xff]/', $string) === false) {
+ return $string;
+ }
+
+ if ($this->seemsUtf8($string)) {
+ $string = strtr($string, self::ACCENTED_CHARACTERS);
+ } else {
+ $characters = [];
+
+ // Assume ISO-8859-1 if not UTF-8
+ $characters['in'] =
+ chr(128)
+ . chr(131)
+ . chr(138)
+ . chr(142)
+ . chr(154)
+ . chr(158)
+ . chr(159)
+ . chr(162)
+ . chr(165)
+ . chr(181)
+ . chr(192)
+ . chr(193)
+ . chr(194)
+ . chr(195)
+ . chr(196)
+ . chr(197)
+ . chr(199)
+ . chr(200)
+ . chr(201)
+ . chr(202)
+ . chr(203)
+ . chr(204)
+ . chr(205)
+ . chr(206)
+ . chr(207)
+ . chr(209)
+ . chr(210)
+ . chr(211)
+ . chr(212)
+ . chr(213)
+ . chr(214)
+ . chr(216)
+ . chr(217)
+ . chr(218)
+ . chr(219)
+ . chr(220)
+ . chr(221)
+ . chr(224)
+ . chr(225)
+ . chr(226)
+ . chr(227)
+ . chr(228)
+ . chr(229)
+ . chr(231)
+ . chr(232)
+ . chr(233)
+ . chr(234)
+ . chr(235)
+ . chr(236)
+ . chr(237)
+ . chr(238)
+ . chr(239)
+ . chr(241)
+ . chr(242)
+ . chr(243)
+ . chr(244)
+ . chr(245)
+ . chr(246)
+ . chr(248)
+ . chr(249)
+ . chr(250)
+ . chr(251)
+ . chr(252)
+ . chr(253)
+ . chr(255);
+
+ $characters['out'] = 'EfSZszYcYuAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy';
+
+ $string = strtr($string, $characters['in'], $characters['out']);
+
+ $doubleChars = [];
+
+ $doubleChars['in'] = [
+ chr(140),
+ chr(156),
+ chr(198),
+ chr(208),
+ chr(222),
+ chr(223),
+ chr(230),
+ chr(240),
+ chr(254),
+ ];
+
+ $doubleChars['out'] = ['OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th'];
+
+ $string = str_replace($doubleChars['in'], $doubleChars['out'], $string);
+ }
+
+ return $string;
+ }
+
+ /**
+ * Convert any passed string to a url friendly string.
+ * Converts 'My first blog post' to 'my-first-blog-post'
+ *
+ * @param string $string String to urlize.
+ *
+ * @return string Urlized string.
+ */
+ public function urlize(string $string): string
+ {
+ // Remove all non url friendly characters with the unaccent function
+ $unaccented = $this->unaccent($string);
+
+ if (function_exists('mb_strtolower')) {
+ $lowered = mb_strtolower($unaccented);
+ } else {
+ $lowered = strtolower($unaccented);
+ }
+
+ $replacements = [
+ '/\W/' => ' ',
+ '/([A-Z]+)([A-Z][a-z])/' => '\1_\2',
+ '/([a-z\d])([A-Z])/' => '\1_\2',
+ '/[^A-Z^a-z^0-9^\/]+/' => '-',
+ ];
+
+ $urlized = $lowered;
+
+ foreach ($replacements as $pattern => $replacement) {
+ $replaced = preg_replace($pattern, $replacement, $urlized);
+
+ if ($replaced === null) {
+ throw new RuntimeException(sprintf(
+ 'preg_replace returned null for value "%s"',
+ $urlized
+ ));
+ }
+
+ $urlized = $replaced;
+ }
+
+ return trim($urlized, '-');
+ }
+
+ /**
+ * Returns a word in singular form.
+ *
+ * @param string $word The word in plural form.
+ *
+ * @return string The word in singular form.
+ */
+ public function singularize(string $word): string
+ {
+ return $this->singularizer->inflect($word);
+ }
+
+ /**
+ * Returns a word in plural form.
+ *
+ * @param string $word The word in singular form.
+ *
+ * @return string The word in plural form.
+ */
+ public function pluralize(string $word): string
+ {
+ return $this->pluralizer->inflect($word);
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
new file mode 100644
index 00000000..a0740a74
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
@@ -0,0 +1,52 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
new file mode 100644
index 00000000..e2656cc4
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
@@ -0,0 +1,193 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
new file mode 100644
index 00000000..3cf2444a
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
@@ -0,0 +1,34 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
new file mode 100644
index 00000000..5d878c6d
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
@@ -0,0 +1,36 @@
+pattern = $pattern;
+
+ if (isset($this->pattern[0]) && $this->pattern[0] === '/') {
+ $this->regex = $this->pattern;
+ } else {
+ $this->regex = '/' . $this->pattern . '/i';
+ }
+ }
+
+ public function getPattern(): string
+ {
+ return $this->pattern;
+ }
+
+ public function getRegex(): string
+ {
+ return $this->regex;
+ }
+
+ public function matches(string $word): bool
+ {
+ return preg_match($this->getRegex(), $word) === 1;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php
new file mode 100644
index 00000000..e8d45cb7
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php
@@ -0,0 +1,34 @@
+patterns = $patterns;
+
+ $patterns = array_map(static function (Pattern $pattern): string {
+ return $pattern->getPattern();
+ }, $this->patterns);
+
+ $this->regex = '/^(?:' . implode('|', $patterns) . ')$/i';
+ }
+
+ public function matches(string $word): bool
+ {
+ return preg_match($this->regex, $word, $regs) === 1;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
new file mode 100644
index 00000000..95564d49
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
@@ -0,0 +1,104 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
new file mode 100644
index 00000000..58c34f9b
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
@@ -0,0 +1,38 @@
+regular = $regular;
+ $this->uninflected = $uninflected;
+ $this->irregular = $irregular;
+ }
+
+ public function getRegular(): Transformations
+ {
+ return $this->regular;
+ }
+
+ public function getUninflected(): Patterns
+ {
+ return $this->uninflected;
+ }
+
+ public function getIrregular(): Substitutions
+ {
+ return $this->irregular;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
new file mode 100644
index 00000000..c6862fa4
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
@@ -0,0 +1,53 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
new file mode 100644
index 00000000..c743b393
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
@@ -0,0 +1,36 @@
+from = $from;
+ $this->to = $to;
+ }
+
+ public function getFrom(): Word
+ {
+ return $this->from;
+ }
+
+ public function getTo(): Word
+ {
+ return $this->to;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
new file mode 100644
index 00000000..17ee2961
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
@@ -0,0 +1,57 @@
+substitutions[$substitution->getFrom()->getWord()] = $substitution;
+ }
+ }
+
+ public function getFlippedSubstitutions(): Substitutions
+ {
+ $substitutions = [];
+
+ foreach ($this->substitutions as $substitution) {
+ $substitutions[] = new Substitution(
+ $substitution->getTo(),
+ $substitution->getFrom()
+ );
+ }
+
+ return new Substitutions(...$substitutions);
+ }
+
+ public function inflect(string $word): string
+ {
+ $lowerWord = strtolower($word);
+
+ if (isset($this->substitutions[$lowerWord])) {
+ $firstLetterUppercase = $lowerWord[0] !== $word[0];
+
+ $toWord = $this->substitutions[$lowerWord]->getTo()->getWord();
+
+ if ($firstLetterUppercase) {
+ return strtoupper($toWord[0]) . substr($toWord, 1);
+ }
+
+ return $toWord;
+ }
+
+ return $word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
new file mode 100644
index 00000000..30dcd594
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
@@ -0,0 +1,39 @@
+pattern = $pattern;
+ $this->replacement = $replacement;
+ }
+
+ public function getPattern(): Pattern
+ {
+ return $this->pattern;
+ }
+
+ public function getReplacement(): string
+ {
+ return $this->replacement;
+ }
+
+ public function inflect(string $word): string
+ {
+ return (string) preg_replace($this->pattern->getRegex(), $this->replacement, $word);
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
new file mode 100644
index 00000000..b6a48fa8
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
@@ -0,0 +1,29 @@
+transformations = $transformations;
+ }
+
+ public function inflect(string $word): string
+ {
+ foreach ($this->transformations as $transformation) {
+ if ($transformation->getPattern()->matches($word)) {
+ return $transformation->inflect($word);
+ }
+ }
+
+ return $word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
new file mode 100644
index 00000000..d7b7064c
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
@@ -0,0 +1,40 @@
+getFlippedSubstitutions()
+ );
+ }
+
+ public static function getPluralRuleset(): Ruleset
+ {
+ return new Ruleset(
+ new Transformations(...Inflectible::getPlural()),
+ new Patterns(...Uninflected::getPlural()),
+ new Substitutions(...Inflectible::getIrregular())
+ );
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
new file mode 100644
index 00000000..a75d2486
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
@@ -0,0 +1,36 @@
+word = $word;
+ }
+
+ public function getWord(): string
+ {
+ return $this->word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
new file mode 100644
index 00000000..12b2ed5b
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
@@ -0,0 +1,56 @@
+rulesets = array_merge([$ruleset], $rulesets);
+ }
+
+ public function inflect(string $word): string
+ {
+ if ($word === '') {
+ return '';
+ }
+
+ foreach ($this->rulesets as $ruleset) {
+ if ($ruleset->getUninflected()->matches($word)) {
+ return $word;
+ }
+
+ $inflected = $ruleset->getIrregular()->inflect($word);
+
+ if ($inflected !== $word) {
+ return $inflected;
+ }
+
+ $inflected = $ruleset->getRegular()->inflect($word);
+
+ if ($inflected !== $word) {
+ return $inflected;
+ }
+ }
+
+ return $word;
+ }
+}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
new file mode 100644
index 00000000..b88b1d69
--- /dev/null
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
@@ -0,0 +1,10 @@
+
+
\n", $text);
- }
- else
- {
- $text = preg_replace('/(?:[ ][ ]+|[ ]*\\\\)\n/', "
\n", $text);
- $text = str_replace(" \n", "\n", $text);
- }
-
- return $text;
- }
-
- #
- # Handlers
- #
-
- protected function element(array $Element)
- {
- if ($this->safeMode)
- {
- $Element = $this->sanitiseElement($Element);
- }
-
- $markup = '<'.$Element['name'];
-
- if (isset($Element['attributes']))
- {
- foreach ($Element['attributes'] as $name => $value)
- {
- if ($value === null)
- {
- continue;
- }
-
- $markup .= ' '.$name.'="'.self::escape($value).'"';
- }
- }
-
- if (isset($Element['text']))
- {
- $markup .= '>';
-
- if (!isset($Element['nonNestables']))
- {
- $Element['nonNestables'] = array();
- }
-
- if (isset($Element['handler']))
- {
- $markup .= $this->{$Element['handler']}($Element['text'], $Element['nonNestables']);
- }
- else
- {
- $markup .= self::escape($Element['text'], true);
- }
-
- $markup .= ''.$Element['name'].'>';
- }
- else
- {
- $markup .= ' />';
- }
-
- return $markup;
- }
-
- protected function elements(array $Elements)
- {
- $markup = '';
-
- foreach ($Elements as $Element)
- {
- $markup .= "\n" . $this->element($Element);
- }
-
- $markup .= "\n";
-
- return $markup;
- }
-
- # ~
-
- protected function li($lines)
- {
- $markup = $this->lines($lines);
-
- $trimmedMarkup = trim($markup);
-
- if ( ! in_array('', $lines) and substr($trimmedMarkup, 0, 3) === '
* $values = array();
* $evenValidator = function ($digit) {
- * return $digit % 2 === 0;
+ * return $digit % 2 === 0;
* };
* for ($i=0; $i < 10; $i++) {
- * $values []= $faker->valid($evenValidator)->randomDigit;
+ * $values []= $faker->valid($evenValidator)->randomDigit;
* }
* print_r($values); // [0, 4, 8, 4, 2, 6, 0, 8, 8, 6]
*
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Biased.php b/vendor/fzaninotto/faker/src/Faker/Provider/Biased.php
index b9e3f082..d37dceff 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Biased.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Biased.php
@@ -26,7 +26,7 @@ class Biased extends Base
$y = mt_rand() / (mt_getrandmax() + 1);
} while (call_user_func($function, $x) < $y);
- return floor($x * ($max - $min + 1) + $min);
+ return (int) floor($x * ($max - $min + 1) + $min);
}
/**
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Color.php b/vendor/fzaninotto/faker/src/Faker/Provider/Color.php
index 0eb5cb9a..209d7228 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Color.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Color.php
@@ -113,4 +113,31 @@ class Color extends Base
{
return static::randomElement(static::$allColorNames);
}
+
+ /**
+ * @example '340,50,20'
+ * @return string
+ */
+ public static function hslColor()
+ {
+ return sprintf(
+ '%s,%s,%s',
+ static::numberBetween(0, 360),
+ static::numberBetween(0, 100),
+ static::numberBetween(0, 100)
+ );
+ }
+
+ /**
+ * @example array(340, 50, 20)
+ * @return array
+ */
+ public static function hslColorAsArray()
+ {
+ return array(
+ static::numberBetween(0, 360),
+ static::numberBetween(0, 100),
+ static::numberBetween(0, 100)
+ );
+ }
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/Company.php
index 2d11397f..d536d48e 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Company.php
@@ -16,6 +16,8 @@ class Company extends Base
/**
* @example 'Acme Ltd'
+ *
+ * @return string
*/
public function company()
{
@@ -26,6 +28,8 @@ class Company extends Base
/**
* @example 'Ltd'
+ *
+ * @return string
*/
public static function companySuffix()
{
@@ -34,6 +38,8 @@ class Company extends Base
/**
* @example 'Job'
+ *
+ * @return string
*/
public function jobTitle()
{
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php b/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php
index fb0f474b..bde7f251 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/DateTime.php
@@ -9,7 +9,7 @@ class DateTime extends Base
protected static $defaultTimezone = null;
/**
- * @param string|float|int $max
+ * @param \DateTime|string|float|int $max
* @return int|false
*/
protected static function getMaxTimestamp($max = 'now')
@@ -147,7 +147,7 @@ class DateTime extends Base
* an interval
* Accepts date string that can be recognized by strtotime().
*
- * @param string $date Defaults to 30 years ago
+ * @param \DateTime|string $date Defaults to 30 years ago
* @param string $interval Defaults to 5 days after
* @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')
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/HtmlLorem.php b/vendor/fzaninotto/faker/src/Faker/Provider/HtmlLorem.php
index b4b2ec16..6219bc89 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/HtmlLorem.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/HtmlLorem.php
@@ -83,14 +83,14 @@ class HtmlLorem extends Base
$this->addRandomAttribute($sibling);
$this->addRandomSubTree($sibling, mt_rand(0, $maxDepth), $maxWidth);
}
- };
+ }
return $root;
}
private function addRandomLeaf(\DOMElement $node)
{
$rand = mt_rand(1, 10);
- switch($rand){
+ switch ($rand) {
case 1:
$this->addRandomP($node);
break;
@@ -172,7 +172,6 @@ class HtmlLorem extends Base
$node = $element->ownerDocument->createElement($h);
$node->appendChild($text);
$element->appendChild($node);
-
}
private function addRandomB(\DOMElement $element, $maxLength = 10)
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Image.php b/vendor/fzaninotto/faker/src/Faker/Provider/Image.php
index 0458ceb9..14f1b397 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Image.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Image.php
@@ -61,7 +61,7 @@ class Image extends Base
*
* @example '/path/to/dir/13b73edae8443990be1aa8f1a483bc27.jpg'
*/
- public static function image($dir = null, $width = 640, $height = 480, $category = null, $fullPath = true, $randomize = true, $word = null)
+ public static function image($dir = null, $width = 640, $height = 480, $category = null, $fullPath = true, $randomize = true, $word = null, $gray = false)
{
$dir = is_null($dir) ? sys_get_temp_dir() : $dir; // GNU/Linux / OS X / Windows compatible
// Validate directory path
@@ -75,7 +75,7 @@ class Image extends Base
$filename = $name .'.jpg';
$filepath = $dir . DIRECTORY_SEPARATOR . $filename;
- $url = static::imageUrl($width, $height, $category, $randomize, $word);
+ $url = static::imageUrl($width, $height, $category, $randomize, $word, $gray);
// save file
if (function_exists('curl_exec')) {
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Internet.php b/vendor/fzaninotto/faker/src/Faker/Provider/Internet.php
index f299fa2c..2eaa2f6a 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Internet.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Internet.php
@@ -175,7 +175,7 @@ class Internet extends Base
}
$words = $this->generator->words($nbWords);
- return join($words, '-');
+ return join('-', $words);
}
/**
@@ -233,7 +233,7 @@ class Internet extends Base
}
$transId = 'Any-Latin; Latin-ASCII; NFD; [:Nonspacing Mark:] Remove; NFC;';
- if (class_exists('Transliterator') && $transliterator = \Transliterator::create($transId)) {
+ if (class_exists('Transliterator', false) && $transliterator = \Transliterator::create($transId)) {
$transString = $transliterator->transliterate($string);
} else {
$transString = static::toAscii($string);
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Lorem.php b/vendor/fzaninotto/faker/src/Faker/Provider/Lorem.php
index 6356ebfc..b8c6dac2 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Lorem.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Lorem.php
@@ -92,7 +92,7 @@ class Lorem extends Base
$words = static::words($nbWords);
$words[0] = ucwords($words[0]);
- return implode($words, ' ') . '.';
+ return implode(' ', $words) . '.';
}
/**
@@ -131,7 +131,7 @@ class Lorem extends Base
$nbSentences = self::randomizeNbElements($nbSentences);
}
- return implode(static::sentences($nbSentences), ' ');
+ return implode(' ', static::sentences($nbSentences));
}
/**
@@ -193,7 +193,7 @@ class Lorem extends Base
$text[count($text) - 1] .= '.';
}
- return implode($text, '');
+ return implode('', $text);
}
protected static function randomizeNbElements($nbElements)
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php b/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php
index 55586d11..4f669c92 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Miscellaneous.php
@@ -61,28 +61,28 @@ class Miscellaneous extends Base
'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR',
'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE',
'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ',
- 'BR', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD',
- 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR',
- 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM',
- 'DO', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI',
- 'FJ', 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF',
- 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS',
- 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU',
- 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT',
- 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN',
- 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK',
- 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME',
- 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ',
- 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA',
- 'NC', 'NE', 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU',
- 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM',
- 'PN', 'PR', 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS',
- 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI',
- 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV',
- 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK',
- 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA',
- 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI',
- 'VN', 'VU', 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW',
+ 'BR', 'BS', 'BT', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF',
+ 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU',
+ 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO',
+ 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ',
+ 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG',
+ 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT',
+ 'GU', 'GW', 'GY', 'HK', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE',
+ 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM',
+ 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR',
+ 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS',
+ 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG',
+ 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS',
+ 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE',
+ 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM',
+ 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR',
+ 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW',
+ 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK',
+ 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY',
+ 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM',
+ 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM',
+ 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU',
+ 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW',
);
/**
@@ -202,7 +202,7 @@ class Miscellaneous extends Base
/**
* @link https://en.wikipedia.org/wiki/ISO_4217
- * On date of 2017-07-07
+ * On date of 2019-09-27
*
* With the following exceptions:
* SVC has been replaced by the USD in 2001: https://en.wikipedia.org/wiki/Salvadoran_col%C3%B3n
@@ -218,12 +218,12 @@ class Miscellaneous extends Base
'ILS', 'INR', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'JPY', 'KES', 'KGS',
'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR',
'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP',
- 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO',
+ 'MRU', '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', 'SYP', 'SZL',
+ 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STN', 'SYP', 'SZL',
'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH',
- 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD',
+ 'UGX', 'USD', 'UYU', 'UZS', 'VES', 'VND', 'VUV', 'WST', 'XAF', 'XCD',
'XOF', 'XPF', 'YER', 'ZAR', 'ZMW',
);
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Text.php b/vendor/fzaninotto/faker/src/Faker/Provider/Text.php
index db8c800a..80aa02fc 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Text.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Text.php
@@ -21,7 +21,7 @@ abstract class Text extends Base
* @example 'Alice, swallowing down her flamingo, and began by taking the little golden key'
* @param integer $maxNbChars Maximum number of characters the text should contain (minimum: 10)
* @param integer $indexSize Determines how many words are considered for the generation of the next word.
- * The minimum is 1, and it produces the higher level of randomness, although the
+ * The minimum is 1, and it produces a higher level of randomness, although the
* generated text usually doesn't make sense. Higher index sizes (up to 5)
* produce more correct text, at the price of less randomness.
* @return string
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/Uuid.php b/vendor/fzaninotto/faker/src/Faker/Provider/Uuid.php
index ea5ecf1e..ae5fc86d 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/Uuid.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/Uuid.php
@@ -10,7 +10,8 @@ class Uuid extends Base
*/
public static function uuid()
{
- // fix for compatibility with 32bit architecture; seed range restricted to 62bit
+ // fix for compatibility with 32bit architecture; each mt_rand call is restricted to 32bit
+ // two such calls will cause 64bits of randomness regardless of architecture
$seed = mt_rand(0, 2147483647) . '#' . mt_rand(0, 2147483647);
// Hash the seed and convert to a byte array
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ar_JO/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/ar_JO/Company.php
index fc10726a..34a1e17b 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ar_JO/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ar_JO/Company.php
@@ -45,7 +45,7 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
/**
@@ -58,6 +58,6 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ar_SA/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/ar_SA/Company.php
index 596add89..a02f3274 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ar_SA/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ar_SA/Company.php
@@ -47,7 +47,7 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
/**
@@ -60,7 +60,7 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
/**
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/at_AT/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/at_AT/Payment.php
index 11792b4e..caf8133b 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/at_AT/Payment.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/at_AT/Payment.php
@@ -24,7 +24,7 @@ class Payment extends \Faker\Provider\Payment
*/
public static function vat($spacedNationalPrefix = true)
{
- $prefix = ($spacedNationalPrefix) ? "AT U" : "ATU";
+ $prefix = $spacedNationalPrefix ? "AT U" : "ATU";
return sprintf("%s%d", $prefix, self::randomNumber(8, true));
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/bg_BG/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/bg_BG/Payment.php
index a65870b4..b9381693 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/bg_BG/Payment.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/bg_BG/Payment.php
@@ -31,7 +31,7 @@ class Payment extends \Faker\Provider\Payment
*/
public static function vat($spacedNationalPrefix = true)
{
- $prefix = ($spacedNationalPrefix) ? "BG " : "BG";
+ $prefix = $spacedNationalPrefix ? "BG " : "BG";
return sprintf(
"%s%d%d",
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/de_AT/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/de_AT/Address.php
index 861f6fcd..4a2272ca 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/de_AT/Address.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/de_AT/Address.php
@@ -13,7 +13,18 @@ class Address extends \Faker\Provider\Address
'gasse', 'platz', 'ring', 'straße', 'weg',
);
- protected static $postcode = array('####');
+ // As per https://en.wikipedia.org/wiki/List_of_postal_codes_in_Austria (@todo implement more strict postal code values according to wikipedia)
+ protected static $postcode = array(
+ '1###',
+ '2###',
+ '3###',
+ '4###',
+ '5###',
+ '6###',
+ '7###',
+ '8###',
+ '9###',
+ );
protected static $cityNames = array(
'Allentsteig', 'Altheim', 'Althofen', 'Amstetten', 'Ansfelden', 'Attnang-Puchheim',
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Person.php
index afbdb997..ce9493e3 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/de_CH/Person.php
@@ -86,4 +86,32 @@ class Person extends \Faker\Provider\de_DE\Person
'Wagner', 'Walker', 'Walser', 'Weber', 'Wehrli', 'Weibel', 'Weiss', 'Wenger', 'Wicki', 'Widmer', 'Willi', 'Wirth', 'Wirz', 'Wittwer', 'Wolf', 'Wyss', 'Wüthrich',
'Zaugg', 'Zbinden', 'Zehnder', 'Ziegler', 'Zimmermann', 'Zwahlen', 'Zürcher',
);
+
+ /**
+ * Generates a valid random AVS13 (swiss social security) number
+ *
+ * This function acts as a localized alias for the function defined in the
+ * fr_CH provider. In the german-speaking part of Switzerland, the AVS13
+ * number is generally known as AHV13.
+ *
+ * @see \Faker\Provider\fr_CH\Person::avs13()
+ * @return string
+ */
+ public static function ahv13()
+ {
+ return \Faker\Provider\fr_CH\Person::avs13();
+ }
+
+ /**
+ * Generates a valid random AVS13 (swiss social security) number
+ *
+ * This function acts as an alias for the function defined in the fr_CH provider.
+ *
+ * @see \Faker\Provider\fr_CH\Person::avs13()
+ * @return string
+ */
+ public static function avs13()
+ {
+ return \Faker\Provider\fr_CH\Person::avs13();
+ }
}
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 eff738d0..84f6a300 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Address.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Address.php
@@ -4,7 +4,7 @@ namespace Faker\Provider\de_DE;
class Address extends \Faker\Provider\Address
{
- protected static $buildingNumber = array('###', '##', '#', '#/#', '##[abc]', '#[abc]');
+ protected static $buildingNumber = array('%##', '%#', '%', '%/%', '%#[abc]', '%[abc]');
protected static $streetSuffixLong = array(
'Gasse', 'Platz', 'Ring', 'Straße', 'Weg', 'Allee'
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Company.php
index 9843511e..8137d47a 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/de_DE/Company.php
@@ -11,5 +11,14 @@ class Company extends \Faker\Provider\Company
'{{lastName}}',
);
+ /**
+ * @link http://www.personalseite.de/information/titel.htm
+ */
+ protected static $jobTitleFormat = array(
+ 'Abteilungsdirektor', 'Arbeitsdirektor', 'Aufsichtsrat', 'Beirat', 'Bereichsleiter', 'Betriebsleiter', 'Finanzvorstand', 'Geschäftsführender Gesellschafter', 'Geschäftsführer', 'Gesellschafter',
+ 'Handlungsbevollmächtigter', 'Kaufmännischer Vorstand', 'Leiter Rechtsabteilung', 'Mitglied des Aufsichtsrats', 'Personalleiter', 'Prokurist', 'Sellvertretender Vorsitzender des Vorstandes',
+ 'Vorsitzender der Geschäftsführung', 'Vorsitzender des Aufsichtsrats', 'Vorsitzender des Vorstandes', 'Vorstand Personal', 'Vorstand Technik', 'Vorstand Vertrieb', 'Vorstandsmitglied', 'Werksleiter'
+ );
+
protected static $companySuffix = array('e.G.', 'e.V.', 'GbR', 'GbR', 'OHG mbH', 'GmbH & Co. OHG', 'AG & Co. OHG', 'GmbH', 'GmbH', 'GmbH', 'GmbH', 'AG', 'AG', 'AG', 'AG', 'KG', 'KG', 'KG', 'GmbH & Co. KG', 'GmbH & Co. KG', 'AG & Co. KG', 'Stiftung & Co. KG', 'KGaA', 'GmbH & Co. KGaA', 'AG & Co. KGaA', 'Stiftung & Co. KGaA');
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_CA/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_CA/PhoneNumber.php
index fc4f9248..76e0e724 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/en_CA/PhoneNumber.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_CA/PhoneNumber.php
@@ -2,7 +2,7 @@
namespace Faker\Provider\en_CA;
-class PhoneNumber extends \Faker\Provider\PhoneNumber
+class PhoneNumber extends \Faker\Provider\en_US\PhoneNumber
{
protected static $formats = array(
'%##-###-####',
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_GB/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_GB/Address.php
index 52fef8d3..5d733d3f 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/en_GB/Address.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_GB/Address.php
@@ -31,9 +31,9 @@ class Address extends \Faker\Provider\Address
'L40 4LA','LU7 4SW','WV99 1RG','EC3P 3AY','CW5 6DY','CR2 8EN','PO11 0JY','IP33 9GD','WA3 3UR','WD3 3LY','CT6 7HL','TN15 8JE',
'L35 5JA','CF23 0EL','TR13 0DP','GL14 2NW','W1D 4PR','SY5 0AR','NP4 8LA','CH45 7RH','S35 4FX','PL20 6JB','NW1 6AB','AB41 7HB',
'S72 7HG','RG27 8PG','TA1 3TF','FK3 8EP','MK43 7LX','BT79 7AQ','L9 9BL','PE28 5US','PO4 8NU','WF4 3QZ','SE23 3RG','NN5 7AR',
- 'L15 6UE','CA4 9QG','RH9 8DR','KT18 5DN','AB11 5QE','L2 2TX','NE20 0RB','TF3 2BG','NW2 2SH','IG10 3JT','HR9 7GB','N10 3DS',
- 'PA3 4NH','W8 7EY','HP19 9BW','KA1 3TU','SE26 6JG','SL3 9LU','L38 9EB','M15 6QL','BN6 8DA','PE27 5PP','LS16 8EE','AB15 4YR',
- 'CM0 7HA','SY11 4LB','IG1 3TR','NE63 8EL','CR5 3DN','NW4 4XL','BL9 6QT','KT24 6NU','EH37 5TF','SO16 9RJ','B62 8RS','PL28 8QJ',
+ 'L15 6UE','CA4 9QG','RH9 8DR','AB11 5QE','L2 2TX','NE20 0RB','TF3 2BG','NW2 2SH','IG10 3JT','HR9 7GB','N10 3DS',
+ 'PA3 4NH','W8 7EY','HP19 9BW','KA1 3TU','SE26 6JG','SL3 9LU','L38 9EB','M15 6QL','BN6 8DA','PE27 5PP','LS16 8EE',
+ 'CM0 7HA','SY11 4LB','IG1 3TR','NE63 8EL','CR5 3DN','NW4 4XL','BL9 6QT','KT24 6NU','EH37 5TF','SO16 9RJ','PL28 8QJ',
'E9 5LR','BR6 9XJ','M25 3BY','M20 1BT','SE18 7QX','DD1 2NF','NR31 8NS','BH31 6AF','TN23 5PR','TN12 9PU','HR8 2JJ','KT6 5DX',
'HX3 0NS','SN7 8NR','SY7 8AQ','CV8 1LS','NR34 9ET','BD23 3EU','YO11 3JN','BH11 9NE','CM3 3AE','KA3 7PR','DE15 9DU','PR8 9LB',
'GL53 7EN','OX15 4HW','TS19 9ES','G65 9BG','SE15 6FE','B37 7RA','BT51 3NQ','YO32 9SX','M50 3TU','LL14 5NR','PO35 5XS','W5 9TG',
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_IN/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_IN/Person.php
index 09287082..fbf97c7c 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/en_IN/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_IN/Person.php
@@ -36,7 +36,7 @@ class Person extends \Faker\Provider\Person
'Kartik', 'Koushtubh', 'Kirti', 'Kushal', 'Kailash', 'Kalyan', 'Krishna', 'Kamlesh', 'Kalpit', 'Kabeer', 'Karim',
'Lalit', 'Lakshmi', 'Labeen',
'Mohan', 'Mukund', 'Mohan', 'Mohit', 'Manish', 'Moti', 'Mowgli', 'Mohanlal', 'Mitesh', 'Manoj', 'Monin', 'Mahmood', 'Malik', 'Mehul', 'Mustafa', 'Manpreet', 'Mukul', 'Munaf', 'Marlo',
- 'Nitin', 'Nayan', 'Naresh', 'Neerendra', 'Nirmal', 'Narayan', 'Nakul', 'Naval', 'Natwar', 'Naseer', 'Nazir', 'Nawab, ',
+ 'Nitin', 'Nayan', 'Naresh', 'Neerendra', 'Nirmal', 'Narayan', 'Nakul', 'Naval', 'Natwar', 'Naseer', 'Nazir', 'Nawab',
'Parveen', 'Pravin', 'Pranab', 'Prabhat', 'Pradeep', 'Prasoon', 'Preet', 'Pranay', 'Parvez', 'Pirzada', 'Peter',
'Omar', 'Obaid', 'Owais',
'Qabeel', 'Qabool', 'Qadim',
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/en_NG/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/en_NG/Person.php
index 1e171435..eb5e12a8 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/en_NG/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/en_NG/Person.php
@@ -1,7 +1,5 @@
+ */
+class Person extends \Faker\Provider\Person
+{
+ /**
+ * @link https://news.err.ee/114745/most-popular-baby-names-of-2014
+ * @link https://www.stat.ee/public/apps/nimed/TOP
+ */
+ protected static $firstNameMale = array(
+ "Andrei", "Aleksei", "Andres", "Alexander", "Aivar", "Aleksander", "Artur", "Andrus", "Ants", "Artjom", "Anatoli", "Anton", "Arvo", "Aare", "Ain", "Aleksandr",
+ "Dmitri", "Daniil", "Daniel",
+ "Eduard", "Erik", "Enn",
+ "Fjodorov",
+ "Gennadi",
+ "Heino", "Henri", "Hugo",
+ "Igor", "Indrek", "Ivan", "Ilja",
+ "Jüri", "Jaan", "Jevgeni", "Jaanus", "Janek", "Jaak",
+ "Kristjan", "Kalev", "Karl", "Kalle", "Kaido", "Kevin", "Konstantin", "Kaspar", "Kirill", "Kristo", "Kalju", "Kristofer",
+ "Lauri", "Lembit", "Laur",
+ "Martin", "Margus", "Maksim", "Marko", "Mati", "Meelis", "Mihhail", "Marek", "Mihkel", "Mart", "Madis", "Markus", "Mark", "Marten",
+ "Nikolai", "Nikita", "Nikolay",
+ "Oleg", "Oliver", "Oskar",
+ "Peeter", "Priit", "Pavel",
+ "Rein", "Roman", "Raivo", "Rasmus", "Raul", "Robert", "Riho", "Robin", "Romet",
+ "Sergei", "Sander", "Sergey", "Siim", "Silver", "Sebastian",
+ "Toomas", "Tarmo", "Tõnu", "Tiit", "Tanel", "Taavi", "Toivo", "Tõnis",
+ "Urmas", "Ülo",
+ "Vladimir", "Viktor", "Valeri", "Vello", "Vadim", "Vitali", "Vladislav", "Vjatšeslav", "Victor",
+ );
+
+ /**
+ * @link https://news.err.ee/114745/most-popular-baby-names-of-2014
+ * @link https://www.stat.ee/public/apps/nimed/TOP
+ */
+ protected static $firstNameFemale = array(
+ "Aino", "Aleksandra", "Alisa", "Anastasia", "Anna", "Anne", "Anneli", "Anu", "Arina", "Annika", "Anastassia", "Alla", "Aili", "Alina", "Aime", "Antonina",
+ "Darja", "Diana",
+ "Elena", "Eliise", "Elisabeth", "Emma", "Ene", "Eve", "Eha", "Evi",
+ "Galina",
+ "Hanna", "Helen", "Heli", "Helle", "Helgi",
+ "Irina", "Inna", "Ingrid",
+ "Jekaterina", "Jelena", "Julia", "Jana",
+ "Kadri", "Katrin", "Kristi", "Kristiina", "Kristina", "Karin", "Kersti", "Kristel", "Kaja", "Külli", "Kätlin", "Krista",
+ "Laura", "Lenna", "Liisa", "Linda", "Lisandra", "Ljubov", "Ljudmila", "Liina", "Ljudmilla", "Larissa", "Liis", "Lea", "Laine", "Liudmila",
+ "Maie", "Malle", "Mare", "Maria", "Marina", "Marleen", "Marta", "Merike", "Mia", "Milana", "Mirtel", "Marika", "Merle", "Margit", "Milvi", "Maire", "Margarita", "Mari", "Maarja",
+ "Natalia", "Niina", "Nora", "Natalja", "Nadežda", "Nina",
+ "Olga", "Oksana",
+ "Piret", "Polina", "Pille",
+ "Reet", "Riina",
+ "Sandra", "Sirje", "Sofia", "Svetlana", "Silvi",
+ "Tamara", "Tatiana", "Tiina", "Tiiu", "Triin", "Tatjana", "Tiia",
+ "Ülle", "Urve",
+ "Valentina", "Viktoria", "Veera", "Veronika", "Vaike",
+ "Zinaida",
+ );
+
+ /**
+ * @link https://en.wikipedia.org/wiki/Category:Estonian-language_surnames
+ * @link https://www.stat.ee/public/apps/nimed/pere/TOP
+ */
+ protected static $lastName = array(
+ "Aleksejev", "Andrejev", "Allik", "Aas", "Aleksandrov", "Aare", "Aarma", "Aas", "Aasmäe", "Aav", "Aavik", "Allik", "Alver", "Andrejeva", "Aleksejeva", "Aleksandrova", "Allik", "Aas",
+ "Bogdanova", "Bogdanov",
+ "Eenpalu", "Eskola",
+ "Fjodorov", "Fjodorov", "Fjodorova", "Fjodorova",
+ "Grigorjev", "Grigorjeva",
+ "Hunt", "Hein", "Hein", "Härma",
+ "Ivanov", "Ilves", "Ilves", "Ivanov", "Ivanova", "Ivanova", "Ilves",
+ "Jõgi", "Jakobson", "Jakovlev", "Jürgenson", "Jegorov", "Järv", "Johanson", "Järve", "Jakobson", "Jänes", "Järve", "Järvis", "Jõgi", "Jõgi", "Johanson", "Jürgenson", "Järv", "Jakovleva", "Jegorova", "Järve", "Jakobson",
+ "Kuzmina", "Kalda", "Kozlova", "Kruus", "Kask", "Kukk", "Kuznetsov", "Koppel", "Kaasik", "Kuusk", "Karu", "Kütt", "Kallas", "Kivi", "Kangur", "Kuusik", "Kõiv", "Kozlov", "Kull", "Kuzmin", "Kalda", "Kaaleste", "Kaasik", "Käbin", "Kalda", "Kaljulaid", "Kaljurand", "Kallas", "Kallaste", "Kangro", "Kangur", "Kapp", "Kärner", "Karu", "Kask", "Käsper", "Kass", "Keres", "Keskküla", "Kesküla", "Kikkas", "Kingsepp", "Kirs", "Kirsipuu", "Kivi", "Klavan", "Kõiv", "Kokk", "Kontaveit", "Koppel", "Korjus", "Kotkas", "Kreek", "Kross", "Kruus", "Kukk", "Kull", "Kütt", "Kuusik", "Kuusk", "Kuznetsov", "Kuznetsova", "Kask", "Kukk", "Kuznetsova", "Koppel", "Kaasik", "Kuusk", "Karu", "Kütt", "Kallas", "Kivi", "Kuusik", "Kangur", "Kõiv", "Kull",
+ "Luik", "Lepik", "Lepp", "Lõhmus", "Liiv", "Laur", "Leppik", "Lebedev", "Laas", "Laar", "Laht", "Lass", "Laur", "Laurits", "Lemsalu", "Lepik", "Lepmets", "Lepp", "Leppik", "Levandi", "Liiv", "Lill", "Lindmaa", "Linna", "Lipp", "Lippmaa", "Lõhmus", "Loo", "Lõoke", "Luik", "Luts", "Luik", "Lepik", "Lepp", "Lõhmus", "Laur", "Liiv", "Leppik", "Lebedeva", "Laas",
+ "Männik", "Mänd", "Mitt", "Makarova", "Mägi", "Mets", "Mihhailov", "Mölder", "Morozov", "Mitt", "Männik", "Mõttus", "Mänd", "Makarov", "Mägi", "Mälk", "Mänd", "Männik", "Margiste", "Mark", "Masing", "Mets", "Mihhailov", "Mihhailova", "Mölder", "Must", "Mägi", "Mets", "Mihhailova", "Mölder", "Morozova",
+ "Nikolajev", "Nõmm", "Nikitin", "Novikov", "Nõmmik", "Nurme", "Nurmsalu", "Nõmm", "Nikitina", "Nikolajeva",
+ "Orlova", "Orav", "Oja", "Ots", "Orav", "Orlov", "Oja", "Olesk", "Öpik", "Orav", "Ots", "Oja", "Ots",
+ "Petrov", "Pärn", "Põder", "Pavlov", "Popov", "Peterson", "Puusepp", "Paju", "Põld", "Pukk", "Paas", "Palm", "Pääsuke", "Padar", "Pärn", "Pavlov", "Pavlova", "Peebo", "Peetre", "Peterson", "Petrov", "Petrova", "Pihlak", "Piho", "Piip", "Põder", "Põld", "Popov", "Popova", "Poska", "Puhvel", "Pütsep", "Puusepp", "Petrova", "Pärn", "Pavlova", "Põder", "Peterson", "Popova", "Puusepp", "Paas", "Paju", "Pukk", "Parts", "Palm", "Põld",
+ "Romanova", "Rand", "Roos", "Rebane", "Raudsepp", "Raud", "Rand", "Roos", "Rätsep", "Raag", "Raud", "Raudsepp", "Rebane", "Reek", "Reinsalu", "Rooba", "Roolaid", "Rootare", "Rummo", "Rüütel", "Rüütli", "Rebane", "Raudsepp", "Raud",
+ "Saar", "Sepp", "Smirnov", "Stepanov", "Semjonov", "Sokolov", "Sild", "Sarapuu", "Saks", "Saar", "Salumäe", "Semjonov", "Sepp", "Sibul", "Siimar", "Simm", "Sirel", "Sisask", "Smirnov", "Smirnova", "Sokk", "Sokolov", "Soosaar", "Stepanov", "Stepanova", "Susi", "Saar", "Sepp", "Smirnova", "Stepanova", "Sokolova", "Saks", "Sarapuu", "Sild", "Semjonova",
+ "Tamme", "Tomson", "Tamm", "Teder", "Toom", "Tomson", "Tamme", "Talts", "Tamm", "Tamme", "Tarvas", "Teder", "Toom", "Toome", "Toots", "Tamm", "Teder", "Toom",
+ "Uibo", "Uibo",
+ "Vassiljev", "Vaher", "Volkov", "Valk", "Vaher", "Vahtra", "Vaino", "Vainola", "Välbe", "Valdma", "Väljas", "Valk", "Vassiljev", "Vassiljeva", "Vesik", "Veski", "Viiding", "Vitsut", "Võigemast", "Volkov", "Volkova", "Võsu", "Vassiljeva", "Vaher", "Volkova",
+ );
+}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/Person.php
index 055b863e..e332968d 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/Person.php
@@ -134,4 +134,68 @@ class Person extends \Faker\Provider\Person
protected static $titleMale = array('آقای', 'استاد', 'دکتر', 'مهندس');
protected static $titleFemale = array('خانم', 'استاد', 'دکتر', 'مهندس');
+
+ /**
+ * This method returns a valid Iranian nationalCode
+ * @example '8075859741'
+ * @link https://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%AA_%D8%B4%D9%86%D8%A7%D8%B3%D8%A7%DB%8C%DB%8C_%D9%85%D9%84%DB%8C#%D8%AD%D8%B3%D8%A7%D8%A8_%DA%A9%D8%B1%D8%AF%D9%86_%DA%A9%D8%AF_%DA%A9%D9%86%D8%AA%D8%B1%D9%84
+ * @return string
+ */
+ public static function nationalCode()
+ {
+ $area = self::createAreaCode();
+ $core = self::createCoreCode();
+ $control = self::createControlCode($area, $core);
+
+ return sprintf("%03d%06d%01d", $area, $core, $control);
+ }
+
+ /**
+ * This method generates a 3-digit valid area code to be used in nationalCode
+ * @return int|string
+ */
+ private static function createAreaCode()
+ {
+ $area = "000";
+
+ while ($area == "000") {
+ $area = static::numerify("###");
+ }
+
+ return $area;
+ }
+
+ /**
+ * This method randomly generates a 6-digit core code for nationalCode
+ * @return string
+ */
+ private static function createCoreCode()
+ {
+ return static::numerify("######");
+ }
+
+ /**
+ * This method uses the Iranian nationalCode validation algorithm to generate a valid 10-digit code
+ * @param $area
+ * @param $core
+ * @link https://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%AA_%D8%B4%D9%86%D8%A7%D8%B3%D8%A7%DB%8C%DB%8C_%D9%85%D9%84%DB%8C#%D8%AD%D8%B3%D8%A7%D8%A8_%DA%A9%D8%B1%D8%AF%D9%86_%DA%A9%D8%AF_%DA%A9%D9%86%D8%AA%D8%B1%D9%84
+ * @return int
+ */
+ private static function createControlCode($area, $core)
+ {
+ $subNationalCodeString = $area . $core;
+
+ $sum = 0;
+ $count = 0;
+
+ for ($i = 10; $i > 1; $i--) {
+ $sum += $subNationalCodeString[$count] * ($i);
+ $count++;
+ }
+
+ if (($sum % 11) < 2) {
+ return $sum % 11;
+ }
+ return 11 - ($sum % 11);
+ }
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/PhoneNumber.php
index 5693e74a..fb80b1d2 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/PhoneNumber.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/PhoneNumber.php
@@ -7,11 +7,40 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* @link https://fa.wikipedia.org/wiki/%D8%B4%D9%85%D8%A7%D8%B1%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AA%D9%84%D9%81%D9%86_%D8%AF%D8%B1_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86#.D8.AA.D9.84.D9.81.D9.86.E2.80.8C.D9.87.D8.A7.DB.8C_.D9.87.D9.85.D8.B1.D8.A7.D9.87
*/
- protected static $formats = array(
- '021########',
- '026########',
- '031########',
+ protected static $formats = array( // land line formts seprated by province
+ "011########", //Mazandaran
+ "013########", //Gilan
+ "017########", //Golestan
+ "021########", //Tehran
+ "023########", //Semnan
+ "024########", //Zanjan
+ "025########", //Qom
+ "026########", //Alborz
+ "028########", //Qazvin
+ "031########", //Isfahan
+ "034########", //Kerman
+ "035########", //Yazd
+ "038########", //Chaharmahal and Bakhtiari
+ "041########", //East Azerbaijan
+ "044########", //West Azerbaijan
+ "045########", //Ardabil
+ "051########", //Razavi Khorasan
+ "054########", //Sistan and Baluchestan
+ "056########", //South Khorasan
+ "058########", //North Khorasan
+ "061########", //Khuzestan
+ "066########", //Lorestan
+ "071########", //Fars
+ "074########", //Kohgiluyeh and Boyer-Ahmad
+ "076########", //Hormozgan
+ "077########", //Bushehr
+ "081########", //Hamadan
+ "083########", //Kermanshah
+ "084########", //Ilam
+ "086########", //Markazi
+ "087########", //Kurdistan
);
+
protected static $mobileNumberPrefixes = array(
'0910#######',//mci
'0911#######',
@@ -37,7 +66,7 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
'0920#######',
'0921#######',
'0937#######',
- '0937#######',
+ '0990#######', // MCI
);
public static function mobileNumber()
{
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fi_FI/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/fi_FI/Company.php
index 2c2df523..9640c24d 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/fi_FI/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/fi_FI/Company.php
@@ -46,7 +46,7 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
/**
@@ -59,6 +59,6 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_BE/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_BE/Payment.php
index da248dac..21da5b5c 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/fr_BE/Payment.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_BE/Payment.php
@@ -32,7 +32,7 @@ class Payment extends \Faker\Provider\Payment
*/
public static function vat($spacedNationalPrefix = true)
{
- $prefix = ($spacedNationalPrefix) ? "BE " : "BE";
+ $prefix = $spacedNationalPrefix ? "BE " : "BE";
return sprintf("%s0%d", $prefix, self::randomNumber(9, true));
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Text.php b/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Text.php
new file mode 100644
index 00000000..322dc66c
--- /dev/null
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/fr_CA/Text.php
@@ -0,0 +1,2448 @@
+generator->numerify('######');
+ $nik = $this->birthPlaceCode();
+ $nik .= $this->generator->numerify('##');
if (!$birthDate) {
$birthDate = $this->generator->dateTimeBetween();
@@ -286,8 +325,19 @@ class Person extends \Faker\Provider\Person
$nik .= $birthDate->format('my');
# add last random digits
- $nik.= $this->generator->numerify('####');
+ $nik .= $this->generator->numerify('####');
return $nik;
}
+
+ /**
+ * Generates birth place code for NIK
+ *
+ * @link https://id.wikipedia.org/wiki/Nomor_Induk_Kependudukan
+ * @link http://informasipedia.com/wilayah-indonesia/daftar-kabupaten-kota-di-indonesia/
+ */
+ protected function birthPlaceCode()
+ {
+ return static::randomElement(static::$birthPlaceCode);
+ }
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/it_CH/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/it_CH/Person.php
index 5592fb53..12ef3379 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/it_CH/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/it_CH/Person.php
@@ -85,4 +85,17 @@ class Person extends \Faker\Provider\it_IT\Person
'Weber', 'Widmer',
'Zanetti', 'Zanini', 'Zimmermann',
);
+
+ /**
+ * Generates a valid random AVS13 (swiss social security) number
+ *
+ * This function acts as an alias for the function defined in the fr_CH provider.
+ *
+ * @see \Faker\Provider\fr_CH\Person::avs13()
+ * @return string
+ */
+ public static function avs13()
+ {
+ return \Faker\Provider\fr_CH\Person::avs13();
+ }
}
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 6acb6daa..e32a37b0 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/it_IT/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/it_IT/Company.php
@@ -48,7 +48,7 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
/**
@@ -61,7 +61,7 @@ class Company extends \Faker\Provider\Company
$result[] = static::randomElement($word);
}
- return join($result, ' ');
+ return join(' ', $result);
}
/**
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Address.php
index 2ef8d89d..10714672 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Address.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Address.php
@@ -11,7 +11,7 @@ class Address extends \Faker\Provider\Address
'デンマーク', 'ジブチ共和国', 'ドミニカ国', 'ドミニカ共和国',
'エクアドル', 'エジプト', 'エルサルバドル', '赤道ギニア共和国', 'エリトリア', 'エストニア', 'エチオピア',
'フェロー諸島', 'フォークランド諸島', 'フィジー共和国', 'フィンランド', 'フランス', 'フランス領ギアナ', 'フランス領ポリネシア', 'フランス領極南諸島',
- 'ガボン', 'ガンビア', 'グルジア', 'ドイツ', 'ガーナ', 'ジブラルタル', 'ギリシャ', 'グリーンランド', 'グレナダ', 'グアドループ', 'グアム', 'グアテマラ', 'ガーンジー', 'ギニア', 'ギニアビサウ', 'ガイアナ',
+ 'ガボン', 'ガンビア', 'ジョージア', 'ドイツ', 'ガーナ', 'ジブラルタル', 'ギリシャ', 'グリーンランド', 'グレナダ', 'グアドループ', 'グアム', 'グアテマラ', 'ガーンジー', 'ギニア', 'ギニアビサウ', 'ガイアナ',
'ハイチ', 'ハード島とマクドナルド諸島', 'バチカン市国', 'ホンジュラス', '香港', 'ハンガリー',
'アイスランド', 'インド', 'インドネシア', 'イラン', 'イラク', 'アイルランド共和国', 'マン島', 'イスラエル', 'イタリア',
'ジャマイカ', '日本', 'ジャージー島', 'ヨルダン',
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Text.php b/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Text.php
index 34556202..c8671cc0 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Text.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ja_JP/Text.php
@@ -598,7 +598,7 @@ EOT;
protected static function explode($text)
{
$chars = array();
- foreach (preg_split('//u', preg_replace('/\s+/', '', $text)) as $char) {
+ foreach (preg_split('//u', preg_replace('/\s+/u', '', $text)) as $char) {
if ($char !== '') {
$chars[] = $char;
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ka_GE/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/ka_GE/Company.php
index 888386a7..c2ccb40a 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ka_GE/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ka_GE/Company.php
@@ -2,7 +2,6 @@
namespace Faker\Provider\ka_GE;
-
class Company extends \Faker\Provider\Company
{
protected static $companyPrefixes = array(
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/lt_LT/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/lt_LT/Person.php
index 47b862bc..10004804 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/lt_LT/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/lt_LT/Person.php
@@ -13,6 +13,11 @@ class Person extends \Faker\Provider\Person
'{{firstNameFemale}} {{lastNameFemale}}',
);
+ protected static $lastNameFormat = array(
+ '{{firstNameMale}}',
+ '{{firstNameFemale}}',
+ );
+
protected static $titleMale = array('p.', 'ponas');
protected static $titleFemale = array('p.', 'ponia', 'panelė');
@@ -247,6 +252,22 @@ class Person extends \Faker\Provider\Person
'Petrauskaitė', 'Vasiliauskaitė', 'Butkutė', 'Pociūtė', 'Lukoševičiūtė', 'Balčiūnaitė', 'Kavaliauskaitė'
);
+ /**
+ * @param string|null $gender 'male', 'female' or null for any
+ * @example 'Doe'
+ * @return string
+ */
+ public function lastName($gender = null)
+ {
+ if ($gender === static::GENDER_MALE) {
+ return static::lastNameMale();
+ } elseif ($gender === static::GENDER_FEMALE) {
+ return static::lastNameFemale();
+ }
+
+ return $this->generator->parse(static::randomElement(static::$lastNameFormat));
+ }
+
/**
* Return male last name
* @return string
@@ -302,11 +323,11 @@ class Person extends \Faker\Provider\Person
$birthdate = \Faker\Provider\DateTime::dateTimeThisCentury();
}
- $genderNumber = ($gender == 'male') ? (int) 1 : (int) 0;
+ $genderNumber = ($gender == 'male') ? 1 : 0;
$firstNumber = (int) floor($birthdate->format('Y') / 100) * 2 - 34 - $genderNumber;
$datePart = $birthdate->format('ymd');
- $randomDigits = (string) ( ! $randomNumber || strlen($randomNumber < 3)) ? static::numerify('###') : substr($randomNumber, 0, 3);
+ $randomDigits = (string) ( ! $randomNumber || strlen($randomNumber) < 3) ? static::numerify('###') : substr($randomNumber, 0, 3);
$partOfPerosnalCode = $firstNumber . $datePart . $randomDigits;
$sum = self::calculateSum($partOfPerosnalCode, 1);
@@ -318,7 +339,7 @@ class Person extends \Faker\Provider\Person
}
$sum = self::calculateSum($partOfPerosnalCode, 2);
- $liekana = (int) $sum % 11;
+ $liekana = $sum % 11;
$lastNumber = ($liekana !== 10) ? $liekana : 0;
return $firstNumber . $datePart . $randomDigits . $lastNumber;
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/mn_MN/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/mn_MN/Person.php
index 8a0b8206..3042b5bb 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/mn_MN/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/mn_MN/Person.php
@@ -72,7 +72,7 @@ class Person extends \Faker\Provider\Person
/**
* Generate an identification number.
- *
+ *
* @example ИЙ92011412
*/
public function idNumber()
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php
index 5ec2f751..1ad7d44b 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Address.php
@@ -67,7 +67,7 @@ class Address extends \Faker\Provider\Address
/**
* 'Jalan' & 'Jln' are more frequently used than 'Lorong'
- *
+ *
* @link https://en.wikipedia.org/wiki/List_of_roads_in_Kuala_Lumpur#Standard_translations
*/
protected static $streetPrefix = array(
@@ -117,7 +117,7 @@ class Address extends \Faker\Provider\Address
/**
* 'Bandar' and 'Taman' are the most common township prefix
- *
+ *
* @link https://en.wikipedia.org/wiki/Template:Greater_Kuala_Lumpur > Townships
* @link https://en.wikipedia.org/wiki/Template:Johor > Townships
* @link https://en.wikipedia.org/wiki/Template:Kedah > Townships
@@ -497,9 +497,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a building prefix
- *
+ *
* @example 'No.'
- *
+ *
* @return @string
*/
public static function buildingPrefix()
@@ -509,9 +509,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a building number
- *
+ *
* @example '123'
- *
+ *
* @return @string
*/
public static function buildingNumber()
@@ -521,7 +521,7 @@ class Address extends \Faker\Provider\Address
/**
* Return a street prefix
- *
+ *
* @example 'Jalan'
*/
public function streetPrefix()
@@ -533,9 +533,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a complete streename
- *
+ *
* @example 'Jalan Utama 7'
- *
+ *
* @return @string
*/
public function streetName()
@@ -547,9 +547,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a randown township
- *
+ *
* @example Taman Bahagia
- *
+ *
* @return @string
*/
public function township()
@@ -561,9 +561,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a township prefix abbreviation
- *
+ *
* @example 'USJ'
- *
+ *
* @return @string
*/
public function townshipPrefixAbbr()
@@ -573,9 +573,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a township prefix
- *
+ *
* @example 'Taman'
- *
+ *
* @return @string
*/
public function townshipPrefix()
@@ -585,7 +585,7 @@ class Address extends \Faker\Provider\Address
/**
* Return a township suffix
- *
+ *
* @example 'Bahagia'
*/
public function townshipSuffix()
@@ -595,12 +595,12 @@ class Address extends \Faker\Provider\Address
/**
* 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)
@@ -665,9 +665,9 @@ class Address extends \Faker\Provider\Address
/**
* Return the complete town address with matching postcode and state
- *
+ *
* @example 55100 Bukit Bintang, Kuala Lumpur
- *
+ *
* @return @string
*/
public function townState()
@@ -682,9 +682,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a random city (town)
- *
+ *
* @example 'Ampang'
- *
+ *
* @return @string
*/
public function city()
@@ -695,9 +695,9 @@ class Address extends \Faker\Provider\Address
/**
* Return a random state
- *
+ *
* @example 'Johor'
- *
+ *
* @return @string
*/
public function 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
index f2e2f5f4..0e681330 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Company.php
@@ -13,7 +13,7 @@ class Company extends \Faker\Provider\Company
/**
* There are more Private Limited Companies(Sdn Bhd) than Public Listed Companies(Berhad)
- *
+ *
* @link http://www.risscorporateservices.com/types-of-business-entities.html
*/
protected static $companySuffix = array(
@@ -85,7 +85,7 @@ class Company extends \Faker\Provider\Company
/**
* Return a random company name
- *
+ *
* @example 'AirAsia'
*/
public static function companyName()
@@ -95,7 +95,7 @@ class Company extends \Faker\Provider\Company
/**
* Return a random industry
- *
+ *
* @example 'Automobil'
*/
public static function industry()
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Miscellaneous.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Miscellaneous.php
index 22efd33b..b42c6685 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Miscellaneous.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Miscellaneous.php
@@ -22,7 +22,7 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Some alphabet has higher frequency that coincides with the current number
* of registrations. E.g. W = Wilayah Persekutuan
- *
+ *
* @link https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format
*/
protected static $peninsularPrefix = array(
@@ -71,7 +71,7 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Chances of having an empty alphabet will be 1/24
- *
+ *
* @link https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format
*/
protected static $validAlphabets = array(
@@ -83,9 +83,9 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Return a valid Malaysia JPJ(Road Transport Department) vehicle licence plate number
- *
+ *
* @example 'WKN 2368'
- *
+ *
* @return @string
*/
public function jpjNumberPlate()
@@ -97,9 +97,9 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Return Peninsular prefix alphabet
- *
+ *
* @example 'W'
- *
+ *
* @return @string
*/
public static function peninsularPrefix()
@@ -109,9 +109,9 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Return Sarawak state prefix alphabet
- *
+ *
* @example 'QA'
- *
+ *
* @return @string
*/
public static function sarawakPrefix()
@@ -121,9 +121,9 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Return Sabah state prefix alphabet
- *
+ *
* @example 'SA'
- *
+ *
* @return @string
*/
public static function sabahPrefix()
@@ -133,9 +133,9 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Return specialty licence plate prefix
- *
+ *
* @example 'G1M'
- *
+ *
* @return @string
*/
public static function specialPrefix()
@@ -145,9 +145,9 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Return a valid license plate alphabet
- *
+ *
* @example 'A'
- *
+ *
* @return @string
*/
public static function validAlphabet()
@@ -157,9 +157,9 @@ class Miscellaneous extends \Faker\Provider\Miscellaneous
/**
* Return a valid number sequence between 1 and 9999
- *
+ *
* @example '1234'
- *
+ *
* @return @integer
*/
public static function numberSequence()
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php
index b70a590f..4a46af16 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Payment.php
@@ -144,9 +144,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return a Malaysian Bank
- *
+ *
* @example 'Maybank'
- *
+ *
* @return @string
*/
public function bank()
@@ -158,9 +158,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return a Malaysian Bank account number
- *
+ *
* @example '1234567890123456'
- *
+ *
* @return @string
*/
public function bankAccountNumber()
@@ -172,9 +172,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return a Malaysian Local Bank
- *
+ *
* @example 'Public Bank'
- *
+ *
* @return @string
*/
public static function localBank()
@@ -184,9 +184,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return a Malaysian Foreign Bank
- *
+ *
* @example 'Citibank Berhad'
- *
+ *
* @return @string
*/
public static function foreignBank()
@@ -196,9 +196,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return a Malaysian Government Bank
- *
+ *
* @example 'Bank Simpanan Nasional'
- *
+ *
* @return @string
*/
public static function governmentBank()
@@ -208,9 +208,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return a Malaysian insurance company
- *
+ *
* @example 'AIA Malaysia'
- *
+ *
* @return @string
*/
public static function insurance()
@@ -220,9 +220,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return a Malaysian Bank SWIFT Code
- *
+ *
* @example 'MBBEMYKLXXX'
- *
+ *
* @return @string
*/
public static function swiftCode()
@@ -232,9 +232,9 @@ class Payment extends \Faker\Provider\Payment
/**
* Return the Malaysian currency symbol
- *
+ *
* @example 'RM'
- *
+ *
* @return @string
*/
public static function 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
index 7dfaaac5..28d1092a 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/Person.php
@@ -160,12 +160,12 @@ class Person extends \Faker\Provider\Person
/**
* Note: The empty elements are for names without the title, chances increase by number of empty elements.
- *
+ *
* @link https://en.wikipedia.org/wiki/Muhammad_(name)
*/
protected static $muhammadName = array('', '', '', '', 'Mohamad ','Mohamed ','Mohammad ','Mohammed ','Muhamad ','Muhamed ','Muhammad ','Muhammed ','Muhammet ','Mohd ');
/**
- *
+ *
* @link https://en.wikipedia.org/wiki/Noor_(name)
*/
protected static $nurName = array('', '', '', '', 'Noor ', 'Nor ', 'Nur ', 'Nur ', 'Nur ', 'Nurul ','Nuur ');
@@ -183,10 +183,10 @@ class Person extends \Faker\Provider\Person
/**
* Chinese family name or surname
- *
+ *
* @link https://en.wikipedia.org/wiki/List_of_common_Chinese_surnames
* @link https://en.wikipedia.org/wiki/Hundred_Family_Surnames
- *
+ *
*/
protected static $lastNameChinese = array(
'An','Ang','Au','Au-Yong','Aun','Aw',
@@ -218,7 +218,7 @@ class Person extends \Faker\Provider\Person
/**
* Chinese second character
- *
+ *
* @link https://en.wikipedia.org/wiki/Chinese_given_name
* @link https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent
* @link https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent
@@ -276,7 +276,7 @@ class Person extends \Faker\Provider\Person
/**
* Chinese male third character
- *
+ *
* @link https://en.wikipedia.org/wiki/Chinese_given_name
* @link https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent
* @link https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent
@@ -332,7 +332,7 @@ class Person extends \Faker\Provider\Person
/**
* Chinese female third character
- *
+ *
* @link https://en.wikipedia.org/wiki/Chinese_given_name
* @link https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent
* @link https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent
@@ -542,9 +542,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay male first name
- *
+ *
* @example 'Ahmad'
- *
+ *
* @return string
*/
public static function firstNameMaleMalay()
@@ -554,9 +554,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay female first name
- *
+ *
* @example 'Adibah'
- *
+ *
* @return string
*/
public static function firstNameFemaleMalay()
@@ -566,9 +566,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay last name
- *
+ *
* @example 'Abdullah'
- *
+ *
* @return string
*/
public function lastNameMalay()
@@ -578,9 +578,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay male 'Muhammad' name
- *
+ *
* @example 'Muhammad'
- *
+ *
* @return string
*/
public static function muhammadName()
@@ -590,9 +590,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay female 'Nur' name
- *
+ *
* @example 'Nur'
- *
+ *
* @return string
*/
public static function nurName()
@@ -602,9 +602,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay male 'Haji' title
- *
+ *
* @example 'Haji'
- *
+ *
* @return string
*/
public static function haji()
@@ -614,9 +614,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay female 'Hajjah' title
- *
+ *
* @example 'Hajjah'
- *
+ *
* @return string
*/
public static function hajjah()
@@ -626,9 +626,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Malay title
- *
+ *
* @example 'Syed'
- *
+ *
* @return string
*/
public static function titleMaleMalay()
@@ -638,9 +638,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Chinese last name
- *
+ *
* @example 'Lim'
- *
+ *
* @return string
*/
public static function lastNameChinese()
@@ -650,9 +650,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Chinese male first name
- *
+ *
* @example 'Goh Tong'
- *
+ *
* @return string
*/
public static function firstNameMaleChinese()
@@ -662,9 +662,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Chinese female first name
- *
+ *
* @example 'Mew Choo'
- *
+ *
* @return string
*/
public static function firstNameFemaleChinese()
@@ -674,9 +674,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Christian male name
- *
+ *
* @example 'Aaron'
- *
+ *
* @return string
*/
public static function firstNameMaleChristian()
@@ -686,9 +686,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a Christian female name
- *
+ *
* @example 'Alice'
- *
+ *
* @return string
*/
public static function firstNameFemaleChristian()
@@ -698,9 +698,9 @@ class Person extends \Faker\Provider\Person
/**
* Return an Indian initial
- *
+ *
* @example 'S. '
- *
+ *
* @return string
*/
public static function initialIndian()
@@ -710,9 +710,9 @@ class Person extends \Faker\Provider\Person
/**
* Return an Indian male first name
- *
+ *
* @example 'Arumugam'
- *
+ *
* @return string
*/
public static function firstNameMaleIndian()
@@ -722,9 +722,9 @@ class Person extends \Faker\Provider\Person
/**
* Return an Indian female first name
- *
+ *
* @example 'Ambiga'
- *
+ *
* @return string
*/
public static function firstNameFemaleIndian()
@@ -734,9 +734,9 @@ class Person extends \Faker\Provider\Person
/**
* Return an Indian last name
- *
+ *
* @example 'Subramaniam'
- *
+ *
* @return string
*/
public static function lastNameIndian()
@@ -746,9 +746,9 @@ class Person extends \Faker\Provider\Person
/**
* Return a random last name
- *
+ *
* @example 'Lee'
- *
+ *
* @return string
*/
public function lastName()
@@ -764,14 +764,14 @@ class Person extends \Faker\Provider\Person
/**
* 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)
@@ -786,8 +786,8 @@ class Person extends \Faker\Provider\Person
$dd = DateTime::dayOfMonth();
// place of birth (1-59 except 17-20)
- while (in_array(($pb = mt_rand(1, 59)), array(17, 18, 19, 20))) {
- };
+ while (in_array($pb = mt_rand(1, 59), array(17, 18, 19, 20))) {
+ }
// random number
$nnn = mt_rand(0, 999);
@@ -804,7 +804,7 @@ class Person extends \Faker\Provider\Person
// formatting with hyphen
if ($hyphen === true) {
$hyphen = "-";
- } else if ($hyphen === false) {
+ } elseif ($hyphen === false) {
$hyphen = "";
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php
index ad199c0d..f89111d9 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php
@@ -88,12 +88,12 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* Return a Malaysian Mobile Phone Number.
- *
+ *
* @example '+6012-345-6789'
- *
+ *
* @param bool $countryCodePrefix true, false
* @param bool $formatting true, false
- *
+ *
* @return string
*/
public function mobileNumber($countryCodePrefix = true, $formatting = true)
@@ -113,9 +113,9 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* Return prefix digits for 011 numbers
- *
+ *
* @example '10'
- *
+ *
* @return string
*/
public static function zeroOneOnePrefix()
@@ -125,9 +125,9 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* Return prefix digits for 014 numbers
- *
+ *
* @example '2'
- *
+ *
* @return string
*/
public static function zeroOneFourPrefix()
@@ -137,9 +137,9 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* Return prefix digits for 015 numbers
- *
+ *
* @example '1'
- *
+ *
* @return string
*/
public static function zeroOneFivePrefix()
@@ -149,12 +149,12 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* 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)
@@ -174,12 +174,12 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* 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)
@@ -199,11 +199,11 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
/**
* Return a Malaysian Country Code Prefix.
- *
+ *
* @example '+6'
- *
+ *
* @param bool $formatting true, false
- *
+ *
* @return string
*/
public static function countryCodePrefix($formatting = true)
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Person.php
index c95410b7..56d68837 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/Person.php
@@ -300,7 +300,7 @@ class Person extends \Faker\Provider\Person
*/
$randomDigits = (string)static::numerify('##');
- switch($gender) {
+ switch ($gender) {
case static::GENDER_MALE:
$genderDigit = static::randomElement(array(1,3,5,7,9));
break;
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/PhoneNumber.php b/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/PhoneNumber.php
index 9be29932..c97e720a 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/PhoneNumber.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/nb_NO/PhoneNumber.php
@@ -19,4 +19,23 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
'9#######',
'4#######',
);
+
+ /**
+ * @var array Norweign mobile number formats
+ */
+ protected static $mobileFormats = array(
+ '+474#######',
+ '+479#######',
+ '9## ## ###',
+ '4## ## ###',
+ '9#######',
+ '4#######',
+ );
+
+ public function mobileNumber()
+ {
+ $format = static::randomElement(static::$mobileFormats);
+
+ return self::numerify($this->generator->parse($format));
+ }
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/ne_NP/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/ne_NP/Person.php
index 0a88375e..706cd339 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/ne_NP/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/ne_NP/Person.php
@@ -45,11 +45,11 @@ class Person extends \Faker\Provider\Person
'Kabindra', 'Kailash', 'Kalyan', 'Kamal', 'Kamod', 'Kapil', 'Karan', 'Karna', 'Khagendra', 'Kishor', 'Kris', 'Krishna', 'Krisus', 'Kuber',
'Lakshman', 'Lalit', 'Lava', 'Lochan', 'Lokesh',
'Madhav', 'Madhukar', 'Madhur', 'Mandeep', 'Manish', 'Manjul', 'Manoj', 'Milan', 'Mohit', 'Mridul',
- 'Nabin', 'Nakul', 'Narayan', 'Narendra', 'Naresh', 'Neil', 'Nerain', 'Nirajan', 'Nirajan', 'Nirmal', 'Nirupam', 'Nischal', 'Nishad', 'Nishant', 'Nutan',
+ 'Nabin', 'Nakul', 'Narayan', 'Narendra', 'Naresh', 'Neil', 'Nerain', 'Nirajan', 'Nirmal', 'Nirupam', 'Nischal', 'Nishad', 'Nishant', 'Nutan',
'Om',
'Paras', 'Parikshit', 'Parimal', 'Pawan', 'Piyush', 'Prabal', 'Prabesh', 'Prabhat', 'Prabin', 'Prajwal', 'Prakash', 'Pramesh', 'Pramod', 'Pranaya', 'Pranil', 'Prasanna', 'Prashant', 'Prasun', 'Pratap', 'Pratik', 'Prayag', 'Prianshu', 'Prithivi', 'Purna', 'Pushkar',
'Raghab', 'Rahul', 'Rajan', 'Rajesh', 'Rakesh', 'Ramesh', 'Ranjan', 'Ranjit', 'Ricky', 'Rijan', 'Rishab', 'Rishikesh', 'Rohan', 'Rohit', 'Roshan',
- 'Sabin', 'Sachit', 'Safal', 'Sahaj', 'Sahan', 'Sajal', 'Sakar', 'Samir', 'Sanchit', 'Sandesh', 'Sanjay', 'Sanjeev', 'Sankalpa', 'Santosh', 'Sarad', 'Saroj', 'Sashi', 'Saumya', 'Sevak', 'Shailesh', 'Shakti', 'Shamundra', 'Shantanu', 'Shashank', 'Shashwat', 'Shekar', 'Shyam', 'Siddhartha', 'Sitaram', 'Sohan', 'Sohil', 'Soviet', 'Spandan', 'Subal', 'Subham', 'Subodh', 'Sudan', 'Sudhir', 'Sudin', 'Sudip', 'Sujan', 'Sujit', 'Sukanta', 'Sumel', 'Sunil', 'Suraj', 'Suraj', 'Surendra', 'Surya', 'Sushant', 'Sushil', 'Suyash', 'Suyog', 'Swagat', 'Swapnil', 'Swarup',
+ 'Sabin', 'Sachit', 'Safal', 'Sahaj', 'Sahan', 'Sajal', 'Sakar', 'Samir', 'Sanchit', 'Sandesh', 'Sanjay', 'Sanjeev', 'Sankalpa', 'Santosh', 'Sarad', 'Saroj', 'Sashi', 'Saumya', 'Sevak', 'Shailesh', 'Shakti', 'Shamundra', 'Shantanu', 'Shashank', 'Shashwat', 'Shekar', 'Shyam', 'Siddhartha', 'Sitaram', 'Sohan', 'Sohil', 'Soviet', 'Spandan', 'Subal', 'Subham', 'Subodh', 'Sudan', 'Sudhir', 'Sudin', 'Sudip', 'Sujan', 'Sujit', 'Sukanta', 'Sumel', 'Sunil', 'Suraj', 'Surendra', 'Surya', 'Sushant', 'Sushil', 'Suyash', 'Suyog', 'Swagat', 'Swapnil', 'Swarup',
'Tej', 'Tilak', 'Tirtha', 'Trailokya', 'Trilochan',
'Udit', 'Ujjwal', 'Umesh', 'Uttam',
'Yogendra', 'Yogesh', 'Yuvaraj',
@@ -80,7 +80,7 @@ class Person extends \Faker\Provider\Person
protected static $lastName = array(
'Acharya', 'Adhikari', 'Agarwal', 'Amatya', 'Aryal',
'Baidya', 'Bajracharya', 'Balami', 'Banepali', 'Baniya', 'Banjade', 'Baral', 'Basnet', 'Bastakoti', 'Bastola', 'Basyal', 'Belbase', 'Bhandari', 'Bhatta', 'Bhattarai', 'Bhusal', 'Bijukchhe', 'Bisht', 'Bohara', 'Budathoki', 'Byanjankar',
- 'Chalise', 'Chamling', 'Chapagain', 'Chaudhary', 'Chhetri', 'Chhetri',
+ 'Chalise', 'Chamling', 'Chapagain', 'Chaudhary', 'Chhetri',
'Dahal', 'Dangol', 'Dawadi', 'Devkota', 'Dhakal', 'Dhamla', 'Dhaubhadel', 'Dhungel',
'Gauchan', 'Gautam', 'Ghale', 'Ghimire', 'Giri', 'Golchha', 'Gurung', 'Gyalzen', 'Gyawali',
'Hamal', 'Himanshu', 'Humagain',
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Payment.php
index 9e1a3b90..f8eb2338 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Payment.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/nl_BE/Payment.php
@@ -32,7 +32,7 @@ class Payment extends \Faker\Provider\Payment
*/
public static function vat($spacedNationalPrefix = true)
{
- $prefix = ($spacedNationalPrefix) ? "BE " : "BE";
+ $prefix = $spacedNationalPrefix ? "BE " : "BE";
return sprintf("%s0%d", $prefix, self::randomNumber(9, true));
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Company.php
index 3185b894..bb8c90da 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Company.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Company.php
@@ -4,33 +4,109 @@ namespace Faker\Provider\nl_NL;
class Company extends \Faker\Provider\Company
{
- protected static $formats = array(
- '{{lastName}} {{companySuffix}}',
- '{{lastName}} {{lastName}} {{companySuffix}}',
- '{{lastName}}',
- '{{lastName}}',
+ /**
+ * @see https://nl.wikipedia.org/wiki/Lijst_van_beroepen
+ */
+ protected static $jobTitleFormat = array(
+ 'Aankondiger', 'Acceptant', 'Accountant', 'Accountmanager', 'Acrobaat', 'Acteur', 'Activiteitenbegeleider', 'Actuaris', 'Acupuncturist', 'Adjudant', 'Administrateur', 'Advertentiezetter', 'Adviseur', 'Advocaat', 'Agent', 'Agrariër', 'Akoepedist', 'Akoesticus', 'Alchemist', 'Allergoloog', 'Altist', 'Amanuensis', 'Ambtenaar', 'Ambulancebegeleider', 'Ambulancechauffeur', 'Ambulanceverpleegkundige', 'Analist', 'Anatoom', 'Andragoog', 'Androloog', 'Anesthesist', 'Anesthesiemedewerker', 'Animeermeisje', 'Antiquaar', 'Antiquair', 'Apotheker', 'Apothekersassistent', 'Applicatieontwikkelaar', 'Arbeidsanalist', 'Arbeidsbemiddelaar', 'Arbeidsdeskundige', 'Arbeidsfysioloog', 'Arbeidsgeneesheer', 'Arbeidshygiënist', 'Archeoloog', 'Architect', 'Archivaris', 'Archivist', 'Arrangeur', 'Artdirector', 'Artiest', 'Arts', 'Assuradeur', 'Astrofysicus', 'Astroloog', 'Astronaut', 'Astronoom', 'Audioloog', 'Audiometrist', 'Audiotherapeut', 'Auditor', 'Autohandelaar', 'Automonteur', 'Autoplaatwerker', 'Autospuiter',
+ 'Bacterioloog', 'Badmeester', 'Baggermachinist', 'Baggermolenarbeider', 'Baker', 'Bakker', 'Baliemedewerker', 'Balletdanser', 'Ballroomdanser', 'Bandagist', 'Bandenmonteur', 'Bankbediende', 'Bankdirecteur', 'Banketbakker', 'Bankmakelaar', 'Bankwerker', 'Barbediende', 'Barhouder', 'Barman', 'Basketballer', 'Bassist', 'Beademingsassistent', 'Bedienaar', 'Bediener', 'Bedrijfsbrandweer', 'Bedrijfseconoom', 'Bedrijfshoofd', 'Bedrijfsjurist', 'Bedrijfskassier', 'Bedrijfskundige', 'Bedrijfsleermeester', 'Bedrijfsleider', 'Bedrijfsorganisatiedeskundige', 'Bedrijfspolitieagent', 'Bedrijfsrecherche', 'Bedrijfsverpleegkundige', 'Beeldapparatuurbediener', 'Beeldhouwer', 'Beenhouwer', 'Begeleider', 'Begrafenispersoneel', 'Begrotingscalculator', 'Behanger', 'Beheerder', 'Beiaardier', 'Bejaardenverzorgende', 'Belastingambtenaar', 'Belastingconsulent', 'Beleidsambtenaar', 'Beleidsmedewerker', 'Belichter', 'Bergingsduiker', 'Beroepskeuzeadviseur', 'Beroepsmilitair', 'Beroepssporter', 'Bestekschrijver', 'Besteksorteerder', 'Bestekzoeker', 'Bestuurder', 'Bestuurskundige', 'Betonmolenbaas', 'Betontimmerman', 'Betonstaalvlechter', 'Betonwerker', 'Beul', 'Beveiligingsapparatuur', 'Beveiligingsbeambte', 'Bewaarder', 'Bewaker', 'Bewegingstherapeut', 'Bezorger', 'Bibliothecaris', 'Bibliotheekassistent', 'Bierbrouwer', 'Bijenkorfvlechter', 'Bijenkweker', 'Bijkantoorhouder', 'Binderijpersoneel', 'Binnenhuisarchitect', 'Biochemicus', 'Biograaf', 'Bioloog', 'Bioscoopoperateur', 'Bitumineerder', 'Bloemist', 'Bloemkweker', 'Bloemschikker', 'Bloemsierkunstenaar', 'Bode', 'Boekbinder', 'Boekhouder', 'Boekillustrator', 'Boer', 'Bontkleermaker', 'Bontsnijder', 'Bookmaker', 'Boomchirurg', 'Boomkweker', 'Boomverzorger', 'Boordwerktuigkundige', 'Boormachinist', 'Boorpersoneel', 'Bootsman', 'Bosbaas', 'Bosbouwkundige', 'Boswachter', 'Botenbouwer', 'Bouwcalculator', 'Bouwhistoricus', 'Bouwkundig tekenaar', 'Bouwliftbediener', 'Bouwpromotor', 'Bouwopzichter', 'Bouwvakker', 'Bouwvaktimmerman', 'Brandmeester', 'Brandveiligheidsdeskundige', 'Brandwacht', 'Brandweerman', 'Brandweercommandant', 'Brandweeronderofficier', 'Breimachinesteller', 'Bromfietshersteller', 'Bronboorder', 'Buffetbediende', 'Buikspreker', 'Buitenbandenvulkaniseur', 'Buitendienstmedewerker', 'Burgemeester', 'Buschauffeur', 'Budgetcoach', 'Butler',
+ 'Cabaretier', 'Caféhouder', 'Cafetariamedewerker', 'Caissière', 'Calculator', 'Callgirl', 'Cameraman', 'Cardioloog', 'Cargadoor', 'Carrosseriebouwer', 'Cartograaf', 'Cellist', 'Chauffeur', 'Chef', 'Chemicus', 'Chiropodist', 'Chirurg', 'Chocolademaker', 'Chocolatier', 'Choreograaf', 'Cilindermaker', 'Cineast', 'Cipier', 'Circusartiest', 'Circusdirecteur', 'Civiel ingenieur', 'Classicus', 'Clown', 'Coach', 'Codeur', 'Collationist', 'Colporteur', 'Columnist', 'Combinatiefunctionaris', 'Commentator', 'Commissaris', 'Commissionair', 'Completeerder', 'Compliance officer', 'Componist', 'Computeroperator', 'Computerprogrammeur', 'Conciërge', 'Conducteur', 'Conservator', 'Constructeur', 'Constructiebankwerker', 'Constructiesamenbouwer', 'Constructieschilder', 'Consulent', 'Contactlensspecialist', 'Controleur', 'Controller', 'Coördinator', 'Copywriter', 'Counselor', 'Corrector', 'Correpetitor', 'Correspondent', 'Creatief therapeut', 'Crècheleidster', 'Criminoloog', 'Criticus', 'Croupeur', 'Croupier', 'Cultuurtechnicus', 'Curator', 'Cursuscoördinator', 'Cursusleider',
+ 'Dakdekker', 'Dakpannenvormer', 'Danser', 'Dansleraar', 'Database administrator', 'Debitant', 'Decaan', 'Declarant', 'Decoratieschilder', 'Decorschilder', 'Degelpersdrukker', 'Dekkledenmaker', 'Dekpersoneel', 'Delfstoffenbewerker', 'Demonstrateur', 'Dermatoloog', 'Deskundige', 'Detailhandelaar', 'Detective', 'Deurenzetter', 'Deurwaarder', 'Dichter', 'Dieetkok', 'Dienstbode', 'Dienstleider', 'Diepdrukgraveur', 'Dierenarts', 'Dierenartsassistent', 'Dierenasielhouder', 'Dierentrainer', 'Dierenverzorger', 'Diëtist', 'Diplomaat', 'Directeur', 'Directieassistent', 'Directiesecretaresse', 'Dirigent', 'Diskjockey', 'Districtschef', 'Districtsverpleegkundige', 'Docent', 'Documentalist', 'Documentencontroleur', 'Dokmeester', 'Doktersassistent', 'Dominee', 'Doodgraver', 'Douaneambtenaar', 'Dozenmaker', 'Draaier', 'Dramadocent', 'Dramatherapeut', 'Drogist', 'Drukker', 'Drukkerijbinder', 'Drukwerkvoorbereiders', 'Drummer', 'Duiker',
+ 'Econoom', 'Ecotechnisch manager', 'Edelmetaalbewerker', 'Edelsmid', 'Editor', 'EDP-auditor', 'Egyptoloog', 'Eindredacteur', 'Elektricien', 'Elektromonteur', 'Elektronicamonteur', 'Elektronicus', 'Elektrotechnicus', 'Encyclopedist', 'Enquêteur', 'Ergonoom', 'Ergotherapeut', 'Ertskundige', 'Essayeur', 'Essayist', 'Etaleur', 'Etnograaf', 'Etnoloog', 'Etymoloog', 'Evangelist', 'Examinator', 'Expediteur', 'Explantatiemedewerker',
+ 'Fabrikant', 'Facilitair Manager', 'Facturist', 'Farmacoloog', 'Fietsenmaker', 'Fijnbankwerker', 'Filiaalhouder', 'Filmer', 'Filmregisseur', 'Filosoof', 'Filterreiniger', 'Financieel analist', 'Fluitenbouwer', 'Fotograaf', 'Fotograveur', 'Fotolaborant', 'Fotolaboratoriumbediende', 'Fotolithograaf', 'Fotoredacteur', 'Framebouwer', 'Frezer', 'Fruitteler', 'Fysicus', 'Fysioloog', 'Fysiotherapeut',
+ 'Galvaniseur', 'Game Designer', 'Garagehouder', 'Garderobejuffrouw', 'Garnalenpeller', 'Gasleidinglegger', 'Gastvrouw', 'Gecommitteerde', 'Gedeputeerde', 'Gemeentesecretaris', 'Geneeskundige', 'Generaal', 'Geodeet', 'Geograaf', 'Geoloog', 'Gerant', 'Gerechtsdeurwaarder', 'Gereedschapsmaker', 'Gereedschapssmid', 'Geschiedkundige', 'Gevangenbewaarder', 'Gezaghebber', 'Gezagvoerder', 'Gezondheidsbegeleider', 'Gezondheidsfysicus', 'Gezondheidstechnicus', 'Gidsenschrijver', 'Gieterijtechnicus', 'Gietmachinebediener', 'Gigolo', 'Gipsverbandmeester', 'Gitarist', 'Glasblazer', 'Glasgraveur', 'Glasslijper', 'Glaszetter', 'Glazenhaler', 'Glazenmaker', 'Glazenwasser', 'Goochelaar', 'Goudsmid', 'Goudzoeker', 'Grafdelver', 'Graficus', 'Grafisch ontwerper', 'Grafoloog', 'Graveur', 'Griendwerker', 'Griffier', 'Grimeur', 'Groenteteler', 'Groepsleider', 'Groepsvervoer', 'Grondsteward', 'Grondstewardess', 'Grondwerker', 'Groothandelaar', 'Gymleraar', 'Gynaecoloog',
+ 'Handelaar', 'Handelscorrespondent', 'Handwever', 'Havenarbeider', 'Havenmeester', 'Heemraad', 'Heftruckchauffeur', 'Heibaas', 'Heier', 'Heilpedagoog', 'Heilsoldaat', 'Helpdeskmedewerker', 'Herbergier', 'Hijsmachinist', 'Historicus', 'Hoefsmid', 'Hoekman', 'Hofmeester', 'Homeopaat', 'Hondenfokker', 'Hondentoiletteerder', 'Hondentrimmer', 'Hoofd', 'Hoofdambtenaar', 'Hoofdcontroleur', 'Hoofdredacteur', 'Hoofduitvoerder', 'Hoofdverpleegkundige', 'Hoofdwerktuigkundige', 'Hoogleraar', 'Hoornist', 'Hoorspelregisseur', 'Horlogemaker', 'Hostess', 'Hotelier', 'Hotelmanager', 'Hotelportier', 'Houtbewerker', 'Houtmodelmaker', 'Houtsnijder', 'Houtvester', 'Houtwarensamensteller', 'Hovenier', 'Huidtherapeut', 'Huisarts', 'Huisbaas', 'Huisbewaarder', 'Huishoudhulp', 'Huishoudster', 'Huisschilder', 'Hulparbeider', 'Hulpautomonteur', 'Hulpkok', 'Hulpverkoper', 'Huurmoordenaar', 'Hydroloog',
+ 'IJscoman', 'IJzervlechter', 'Illusionist', 'Illustrator', 'Imam', 'Imker', 'Importeur', 'Impresario', 'Industrieel ontwerper', 'Ingenieur', 'Inkoper', 'Inrijger', 'Inseminator', 'Inspecteur', 'Installateur', 'Instructeur', 'Instrumentalist', 'Instrumentmaker', 'Interieurarchitect', 'Interieurverzorger', 'Interne accountant', 'Internist',
+ 'Jachtopzichter', 'Jager', 'Jongleur', 'Journalist', 'Justitieel Aanklager', 'Juwelier', 'Judoleraar',
+ 'Kaartenzetter', 'Kaasmaker', 'Kabelsplitser', 'Kabelwerker', 'Kanaalmeester', 'Kantonnier', 'Kantoorhulp', 'Kapitein', 'Kapper', 'Kappershulp', 'Kardinaal', 'Karteerder', 'Kartonnagewerker', 'Kassamedewerker', 'Kassier', 'Kelner', 'Keizer', 'Keramist', 'Kermisexploitant', 'Kernmaker', 'Kerstman', 'Ketelmetselaar', 'Keukenassistent', 'Keukenknecht', 'Keurder', 'Keuringsambtenaar', 'Keurmeester', 'Kinderverzorgende', 'Kleermaker', 'Kleidelver', 'Kleinhandelaar', 'Klerk', 'Kleuterleider', 'Klokkenmaker', 'Klompenmaker', 'Kloosterling', 'Kno-arts', 'Koerier', 'Koetsier', 'Kok', 'Komiek', 'Kompel', 'Kooiker', 'Kooiman', 'Koordirigent', 'Koperslager', 'Kostendeskundige', 'Koster', 'Kostprijscalculator', 'Kozijnenmaker', 'Kraamverzorgende', 'Kraamhulp', 'Kraanmachinist', 'Kredietanalist', 'Kredietbeoordelaar', 'Kruidendokter', 'Kruier', 'Kuiper', 'Kunstcriticus', 'Kunstenaar', 'Kunstschilder', 'Kustlichtwachter', 'Kwitantieloper',
+ 'Laadschopbestuurder', 'Laborant', 'Laboratoriumbediende', 'Lader', 'Ladingmeester', 'Lakei', 'Landarbeider', 'Landbouwer', 'Landbouwkundige', 'Landbouwmachinebestuurder', 'Landbouwmilieubeheer', 'Landbouwwerktuigenhersteller', 'Landmeetkundige', 'Landmeettechnicus', 'Landmeter', 'Landschapsarchitect', 'Landschapsbeheer', 'Lasinspecteur', 'Lasser', 'Lastechnicus', 'Lector', 'Ledertechnoloog', 'Lederwarenmaker', 'Leerbewerker', 'Leerkracht', 'Leeuwentemmer', 'Legionair', 'Leidekker', 'Leidinggevende', 'Leraar', 'Letterkundige', 'Leurder', 'Lichtdrukker', 'Lichtmatroos', 'Lijstenmaker', 'Linktrainer', 'Literator', 'Literatuurcriticus', 'Literatuuronderzoeker', 'Logopedist', 'Logotherapeut', 'Lokettist', 'Longfunctieassistent', 'Loodgieter', 'Loods', 'Loodschef', 'Loonadministrateur', 'Loopbaancoach', 'Losser', 'Luchtverkeersleider',
+ 'Maatnemer', 'Maatschappelijk medewerker', 'Maatschappelijk werker', 'Maatschoenmaker', 'Machine vouwer', 'Machinebankwerker', 'Machinebediende', 'Machinesteller', 'Manegehouder', 'Machinist', 'Magazijnbediende', 'Magazijnbeheerder', 'Magazijnknecht', 'Magnetiseur', 'Makelaar', 'Managementassistent', 'Manager', 'Mandenmaker', 'Mannequin', 'Manueel therapeut', 'Marconist', 'Marinier', 'Maritiem Officier', 'Marechaussee', 'Marketingadviseur', 'Marketingassistent', 'Marktkoopman', 'Masseur', 'Mathematicus', 'Matroos', 'Mattenmaker', 'Medewerker', 'Mediatrainer', 'Meester restauratiestukadoor', 'Meettechnicus', 'Melkboer', 'Metaalbewerker', 'Metaalbrander', 'Metaalbuiger', 'Metaalfrezer', 'Metaalgieter', 'Metaalkundige', 'Meteoroloog', 'Meteropnemer', 'Metselaar', 'Meubelbeeldhouwer', 'Meubelmaker', 'Meubelstoffeerder', 'Meubelstoffennaaister', 'Meubeltekenaar', 'Mijnbouwkundige', 'Middenstander', 'Mijnwerker', 'Milieudeskundige', 'Milieuhygiënist', 'Militair', 'Mimespeler', 'Min', 'Mineralenbewerker', 'Minister', 'Minister-president', 'Model', 'Modelmaker', 'Modelnaaister', 'Molenaar', 'Modeontwerper', 'Mondhygiënist', 'Monnik', 'Monteur', 'Mosselman', 'Motordemonteur', 'Motordrijver', 'Motormonteur', 'Mouldroomtechnicus', 'Munter', 'Muntmeester', 'Museumconservator', 'Museumgids', 'Museumhouder', 'Museummedewerker', 'Musicus', 'Muziekinstrumentenmaker', 'Muziekprogrammeur',
+ 'Naaister', 'Nachtwaker', 'Nagelstyliste', 'Nasynchronisatieregisseur', 'Natuurkundeleraar', 'Natuurkundige', 'Natuurwetenschapper', 'Navigator', 'Neonatoloog', 'Nettenboeter', 'Netwerkbeheerder', 'Neurochirurg', 'Neuroloog', 'Neurofysioloog', 'Nieuwslezer', 'Nijverheidsconsulent', 'Nko-arts', 'Nopster', 'Notaris', 'Nucleair geneeskundige',
+ 'Ober', 'Oberkelner', 'Objectleider', 'Oceanoloog', 'Octrooigemachtigde', 'Officier', 'Officier van justitie', 'Olieslager', 'Omroeper', 'Omsteller', 'Oncoloog', 'Onderhoudsloodgieter', 'Onderhoudsman', 'Onderhoudsmedewerker', 'Onderhoudsmonteur', 'Ondernemer', 'Onderofficier', 'Ondersteunende', 'Onderwaterwerker', 'Onderwijsassistent', 'Onderwijstechnicus', 'Onderwijzer', 'Onderzoeker', 'Onderzoeker in opleiding', 'Ontdekkingsreiziger', 'Ontmijner', 'Ontvlekker', 'Ontwerper', 'Oogarts', 'Operateur', 'Operatieassistent', 'Operational auditor', 'Operator', 'Opkoper', 'Opperman', 'Opsporingsambtenaar', 'Opsporingsingenieur', 'Opticien', 'Optometrist', 'Opvoedingsconsulent', 'Opvoedingsvoorlichter', 'Opzichter', 'Organist', 'Organizer', 'Ornitholoog', 'Orthodontist', 'Orthopedagoog', 'Orthopeed', 'Orthoptist', 'ORL-arts', 'Osteopaat', 'Ouvreuse', 'Ovenman',
+ 'Paardenfokker', 'Pakhuischef', 'Paleontoloog', 'Palfrenier', 'Pandjesbaas', 'Papierschepper', 'Papiervernisser', 'Parkeerwachter', 'Parketvloerenlegger', 'Parketwacht', 'Pastoor', 'Paswerker', 'Patholoog', 'Patholoog-anatoom', 'Patissier', 'Patroonmaker', 'Patroontekenaar', 'Pedagoog', 'Pedicure', 'Perronopzichter', 'Perser', 'Personeelsfunctionaris', 'Peuterwerker', 'Pianist', 'Pianostemmer', 'Piccolo', 'Pijpfitter', 'Pikeur', 'Piloot', 'Plaatwerker', 'Planner', 'Plantenteeltdeskundige', 'Plantsoenmedewerker', 'Plasticvormer', 'Pleitbezorger', 'Poelier', 'Poepruimer', 'Poetser', 'Podiatrist', 'Podoloog', 'Poffertjesbakker', 'Polisopmaker', 'Politicus', 'Politieagent', 'Politiecommissaris', 'Politie-inspecteur', 'Politiek analist', 'Pontschipper', 'Pooier', 'Porder', 'Portier', 'Portretfotograaf', 'Postbediende', 'Postbesteller', 'Postbode', 'Postcommandant', 'Postexpediteur', 'Postsorteerder', 'Pottenbakker', 'Predikant', 'Premier', 'Presentator', 'President', 'Priester', 'Probleemanalist', 'Procesmanager', 'Procesoperator', 'Procureur', 'Procureur des Konings', 'Producer', 'Productenmaker', 'Productensorteerder', 'Productiebegeleider', 'Productieleider', 'Productiemedewerker', 'Productieplanner', 'Professor', 'Professioneel worstelaar', 'Programmamaker', 'Programmeur', 'Projectadviseur', 'Projectleider', 'Projectmanager', 'Projectontwikkelaar', 'Promovendus', 'Prostitué', 'Prostituee', 'Pruikenmaker', 'Psychiater', 'Psychologisch assistent', 'Psycholoog', 'Psychotherapeut', 'Psychomotorisch kindertherapeut', 'Purser', 'Putjesschepper',
+ 'Quarantaine-beambte', 'Quizmaster', 'Quantity surveyor',
+ 'Raadsman', 'Radarwaarnemer', 'Radiotherapeutisch laborant', 'Radiograaf', 'Radiolaborant', 'Radiotechnicus', 'Radiotelegrafist', 'Rangeerder', 'Recensent', 'Receptionist', 'Recherchekundige', 'Rechercheur', 'Rechtbanktekenaar', 'Rechter', 'Reclame-ontwerper', 'Reclameacquisiteur', 'Reclamedeskundige', 'Reclametekenaar', 'Redacteur', 'Redactiechef', 'Regisseur', 'Registeraccountant', 'Reiniger', 'Reinigingsdienstarbeider', 'Reisleider', 'Reisprogrammeur', 'Reisverkoper', 'Rekenaar', 'Rekwisietenmaker', 'Rentmeester', 'Reparateur', 'Ridder', 'Repetitor', 'Reproductietekenaar', 'Restauranthouder', 'Rietmeubelmaker', 'Rietwerker', 'Rijtuigspuiter', 'Rijwielhersteller', 'Rolluikentimmerman', 'Rondvaartgids', 'Röntgenoloog', 'Ruimtevaarder',
+ 'Samensteller', 'Saunahouder', 'Scenarioschrijver', 'Schaaldierenkweker', 'Schaaldierenpeller', 'Schaapherder', 'Schadecorrespondent', 'Schadetaxateur', 'Schakelbordwachter', 'Schaker', 'Schapenscheerder', 'Scharensliep', 'Scheepskapitein', 'Scheepskok', 'Scheepspurser', 'Scheepsschilder', 'Scheepstimmerman', 'Scheidsrechter', 'Scheikundige', 'Schillenboer', 'Schipper', 'Schoenfabrieksarbeider', 'Schoenhersteller', 'Schoenmaker', 'Schoolbegeleider', 'Schooldecaan', 'Schooldirecteur', 'Schoolinspecteur', 'Schoonheidsmasseur', 'Schoonheidsspecialiste', 'Schoonmaker', 'Schoorsteenveger', 'Schotter', 'Schrijftolk', 'Schrijver', 'Schuurder', 'Secretaresse', 'Secretariaatsmedewerker', 'Secretaris', 'Seismoloog', 'Seizoenarbeider', 'Seksuoloog', 'Selecteur', 'Sergeant', 'Seroloog', 'Serveerster', 'Setdresser', 'Sigarenmaker', 'Sinoloog', 'Sjorder', 'Sjouwer', 'Slachter', 'Slager', 'Slagwerker', 'Slijter', 'Sloper', 'Sluiswachter', 'Smeerder', 'Smelter', 'Smid', 'Snackbarbediende', 'Snackbarhouder', 'Snijder', 'Sociotherapeut', 'Softwareontwikkelaar', 'Soldaat', 'Soldeerder', 'Sommelier', 'Sondeerder', 'Songwriter', 'Souschef', 'Spoeler', 'Souffleur', 'Specialist', 'Spelersmakelaar', 'Speltherapeut', 'Spindoppenmonteur', 'Spion', 'Sportinstructeur', 'Stadsomroeper', 'Stadstimmerman', 'Stanser', 'Stationschef', 'Statisticus', 'Stedenbouwkundige', 'Steenbewerker', 'Steenfabrikant', 'Steenhouwer', 'Steenzetter', 'Steigerbouwer', 'Steigermaker', 'Stenotypist', 'Stereotypeur', 'Sterilisatieassistent', 'Stewardess', 'Stoelenmatter', 'Stoffeerder', 'Storingsmonteur', 'Straatverkoper', 'Strandjutter', 'Stratenmaker', 'Stripper', 'Stucwerker', 'Stukadoor', 'Stuurman', 'Stuwadoor', 'Stylist', 'Stypengalvaniseur', 'Surinamist', 'Systeemanalist', 'Systeembeheerder', 'Systeemontwerper', 'Systeemprogrammeur',
+ 'Takelaar', 'Tandarts', 'Tandartsassistente', 'Tandtechnicus', 'Tapper', 'Taxichauffeur', 'Taxidermist', 'Technicus', 'Technisch Oogheelkundig Assistent', 'Technisch tekenaar', 'Tegelzetter', 'Tekenaar', 'Tekstschrijver', 'Telecommunicatiemonteur', 'Telefoniste', 'Telegrafist', 'Televisieregisseur', 'Televisietechnicus', 'Telexist', 'Tennisser', 'Terrazzovloerenlegger', 'Terreinchef', 'Tester', 'Textieldrukker', 'Textiellaborant', 'Textielopmaker', 'Textielproductenmaker', 'Theateragent', 'Theatertechnicus', 'Therapeut', 'Timmerman', 'Tingieter', 'Toetsenist', 'Tolk', 'Toneelfigurant', 'Toneelmeester', 'Toneelregisseur', 'Toneelschrijver', 'Toneelspeler', 'Torenkraanmonteur', 'Totalisatormedewerker', 'Touringcarchauffeur', 'Touwslager', 'Traceur', 'Trainingsacteur', 'Traiteur', 'Trambestuurder', 'Transportplanner', 'Treinbestuurder', 'Treinconducteur', 'Treindienstleider', 'Treinduwer', 'Treinmachinist', 'Trekkerchauffeur', 'Tuiger', 'Tuinarchitect', 'Tuinder', 'Tuinman', 'Typiste',
+ 'Uitgever', 'Uitsmijter', 'Uitvaartbegeleider', 'Uitvinder', 'Uitvoerder', 'Uroloog', 'Uurwerkmaker',
+ 'Vakkenvuller', 'Valet', 'Veearts', 'Veehouder', 'Veeverloskundige', 'Veiligheidsbeambte', 'Veilinghouder', 'Verfspuiter', 'Vergaderstenograaf', 'Verhuizer', 'Verhuurder', 'Verkeersdienstsimulator', 'Verkeersinspecteur', 'Verkeerskundige', 'Verkeersleider', 'Verkeersonderzoeker', 'Verkeersplanoloog', 'Verkoopchef', 'Verkoopstyliste', 'Verkoper', 'Verloskundige', 'Verpleeghulp', 'Verpleegkundige', 'Verslaggever', 'Verspaner', 'Vertaler', 'Vertegenwoordiger', 'Vervoer', 'Vervoersinspecteur', 'Verwarmingsinstallateur', 'Verwarmingsmonteur', 'Verzekeringsagent', 'Verzekeringsdeskundige', 'Verzekeringsinspecteur', 'Verzorgende', 'Vicaris', 'Videoclipregisseur', 'Videojockey', 'Vioolbouwer', 'Violist', 'Vinoloog', 'Viroloog', 'Visagiste', 'Visfileerder', 'Visser', 'Vj', 'Vleeswarenmaker', 'Vlieger', 'Vliegtuigplaatwerker', 'Vliegtuigtimmerman', 'Vloerlegger', 'Voedingsmiddelentechnoloog', 'Voedingsvoorlichter', 'Voeger', 'Voertuigbekleder', 'Voetballer', 'Volder of Voller', 'Voorganger', 'Voorlichter', 'Voorlichtingsfunctionaris', 'Voorraadadministrateur', 'Voorzitter', 'Vormende', 'Vormenmaker', 'Vormer', 'Vormgever', 'Vrachtwagenchauffeur', 'Vuilnisman', 'Vulkanoloog', 'Vuurspuwer', 'Vuurtorenwachter', 'Vroedvrouw',
+ 'Waard', 'Waardijn', 'Waarzegger', 'Wachtcommandant', 'Wachter', 'Wachtmeester', 'Wagenmaker', 'Wasser', 'Wasserettehouder', 'Waterbouwkundige', 'Webdesigner', 'Weefmachinesteller', 'Weerkundige', 'Weerpresentator', 'Wegenbouwarbeider', 'Wegenbouwmachinist', 'Wegmarkeerder', 'Werkleider-dokmeester', 'Werktuigbouwkundige', 'Werktuigkundige', 'Werkvoorbereider', 'Wethouder', 'Wijkmeester', 'Wijnboer', 'Winkelbediende', 'Winkelier', 'Wiskundige', 'Wisselkassier', 'Wisselmaker', 'Woonbegeleider',
+ 'Xylofonist',
+ 'Yogaleraar',
+ 'Zaakwaarnemer', 'Zakenman', 'Zanger', 'Zeefdrukker', 'Zeeman', 'Zeepzieder', 'Zeilmaker', 'Zelfstandig ondernemer', 'Zetter', 'Ziekenhuisapotheker', 'Ziekenhuishygiënist', 'Ziekenverzorgende', 'Zilversmid', 'Zweminstructeur', 'Zoöloog',
);
- protected static $companySuffix = array('VOF', 'CV', 'LLP', 'BV', 'NV', 'IBC', 'CSL', 'EESV', 'SE', 'CV', 'Stichting', '& Zonen', '& Zn');
+ protected static $companySuffix = array(
+ 'VOF', 'CV', 'LLP', 'BV', 'NV', 'IBC', 'CSL','EESV', 'SE', 'CV', 'Stichting', '& Zonen', '& Zn'
+ );
+
+ protected static $product = array(
+ 'Keuken', 'Media', 'Meubel', 'Sanitair', 'Elektronica', 'Schoenen',
+ 'Zorg', 'Muziek', 'Audio', 'Televisie', 'Pasta', 'Lunch', 'Boeken', 'Cadeau', 'Kunst', 'Tuin', 'Klus',
+ 'Video', 'Sieraden', 'Kook', 'Woon', 'Pizza', 'Mode', 'Haar', 'Kleding', 'Antiek', 'Interieur', 'Gadget',
+ 'Foto', 'Computer', 'Witgoed', 'Bruingoed', 'Broeken', 'Pakken', 'Maatpak', 'Fietsen', 'Speelgoed',
+ 'Barbecue', 'Sport', 'Fitness', 'Brillen', 'Bakkers', 'Drank', 'Zuivel', 'Pret', 'Vis', 'Wijn', 'Salade',
+ 'Terras', 'Borrel', 'Dieren', 'Aquaria', 'Verf', 'Behang', 'Tegel', 'Badkamer', 'Decoratie'
+ );
+
+ protected static $type = array(
+ 'Markt', 'Kampioen', 'Expert', 'Concurrent', 'Shop', 'Expert', 'Magazijn',
+ 'Dump', 'Store', 'Studio', 'Boulevard', 'Fabriek', 'Groep', 'Huis', 'Salon', 'Vakhuis', 'Winkel', 'Gigant',
+ 'Reus', 'Plaza', 'Park', 'Tuin'
+ );
+
+ protected static $store = array(
+ 'Boekhandel', 'Super', 'Tabakzaak', 'Schoenmaker', 'Kaashandel', 'Slagerij',
+ 'Smederij', 'Bakkerij', 'Bierbrouwer', 'Kapperszaak', 'Groenteboer', 'Bioboer', 'Fietsenmaker', 'Opticien',
+ 'Café', 'Garage'
+ );
+
+
+ /**
+ * @example 'Fietsenmaker Zijlemans'
+ *
+ * @return string
+ */
+ public function company()
+ {
+ $determinator = static::numberBetween(0, 2);
+ switch ($determinator) {
+ case 0:
+ $companyName = static::randomElement(static::$product) . ' ' . static::randomElement(static::$type);
+ break;
+ case 1:
+ $companyName = static::randomElement(static::$product) . strtolower(static::randomElement(static::$type));
+ break;
+ case 2:
+ $companyName = static::randomElement(static::$store) . ' ' . $this->generator->lastName;
+ break;
+ }
+
+ if (0 !== static::numberBetween(0, 1)) {
+ return $companyName . ' ' . static::randomElement(static::$companySuffix);
+ }
+
+ return $companyName;
+ }
/**
* Belasting Toegevoegde Waarde (BTW) = VAT
*
* @example 'NL123456789B01'
*
- * @see (dutch) http://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer
- *
+ * @see http://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer
*
* @return string VAT Number
*/
public static function vat()
{
return sprintf("%s%d%s%d", 'NL', self::randomNumber(9, true), 'B', self::randomNumber(2, true));
-
}
/**
* Alias dutch vat number format
+ *
+ * @return string
*/
public static function btw()
{
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Person.php b/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Person.php
index 0bd09a44..a3d7dc8a 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Person.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/nl_NL/Person.php
@@ -26,7 +26,7 @@ class Person extends \Faker\Provider\Person
'mr.', 'dr.', 'ir.', 'drs', 'bacc.', 'kand.', 'dr.h.c.', 'prof.', 'ds.', 'ing.', 'bc.'
);
- private static $suffix = array(
+ protected static $suffix = array(
'BA', 'Bsc', 'LLB', 'LLM', 'MA', 'Msc', 'MPhil', 'D', 'PhD', 'AD', 'B', 'M'
);
@@ -116,7 +116,7 @@ class Person extends \Faker\Provider\Person
'Huijzing', 'Huisman', 'Huls', 'Hulshouts', 'Hulskes', 'Hulst', 'van Hulten', 'Huurdeman', 'van het Heerenveen',
'Jaceps', 'Jacobi', 'Jacobs', 'Jacquot', 'de Jager', 'Jans', 'Jansdr', 'Janse', 'Jansen', 'Jansen', 'Jansse',
'Janssen', 'Janssens', 'Jasper dr', 'Jdotte', 'Jeggij', 'Jekel', 'Jerusalem', 'Jochems',
- 'Jones', 'de Jong', 'Jonkman', 'Joosten', 'Jorlink', 'Jorrisen', 'van Jumiège', 'Jurrijens', 'Köster',
+ 'Jones', 'de Jong', 'Jonkman', 'Joosten', 'Jorlink', 'Jorissen', 'van Jumiège', 'Jurrijens', 'Köster',
'van der Kaay', 'de Kale', 'Kallen', 'Kalman', 'Kamp', 'Kamper', 'Karels', 'Kas', 'van Kasteelen', 'Kathagen',
'Keijser', 'de Keijser', 'Keijzer', 'de Keijzer', 'Keltenie', 'van Kempen', 'Kerkhof', 'Ketel', 'Ketting',
'der Kijnder', 'van der Kint', 'Kirpenstein', 'Kisman', 'van Klaarwater', 'van de Klashorst', 'Kleibrink',
@@ -288,7 +288,7 @@ class Person extends \Faker\Provider\Person
*/
public static function titleMale()
{
- return static::title();
+ return static::randomElement(static::$title);
}
/**
@@ -296,7 +296,7 @@ class Person extends \Faker\Provider\Person
*/
public static function titleFemale()
{
- return static::title();
+ return static::randomElement(static::$title);
}
/**
@@ -342,7 +342,6 @@ class Person extends \Faker\Provider\Person
} else {
$nr[0] = 1;
$nr[1]++;
-
}
}
return implode('', array_reverse($nr));
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/Payment.php b/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/Payment.php
index 9643d685..1a525613 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/Payment.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/pt_BR/Payment.php
@@ -69,4 +69,78 @@ class Payment extends \Faker\Provider\Payment
{
return static::iban($countryCode, $prefix, $length);
}
+
+
+ /**
+ * @see list of Brazilians banks (2018-02-15), source: https://pt.wikipedia.org/wiki/Lista_de_bancos_do_Brasil
+ */
+ protected static $banks = array(
+ 'BADESUL Desenvolvimento S.A. – Agência de Fomento/RS',
+ 'Banco Central do Brasil',
+ 'Banco da Amazônia',
+ 'Banco de Brasília',
+ 'Banco de Desenvolvimento de Minas Gerais',
+ 'Banco de Desenvolvimento do Espírito Santo',
+ 'Banco de Desenvolvimento do Paraná',
+ 'Banco do Brasil',
+ 'Banco do Estado de Sergipe Banese Estadual',
+ 'Banco do Estado do Espírito Santo Banestes',
+ 'Banco do Estado do Pará',
+ 'Banco do Estado do Rio Grande do Sul',
+ 'Banco do Nordeste do Brasil',
+ 'Banco Nacional de Desenvolvimento Econômico e Social',
+ 'Banco Regional de Desenvolvimento do Extremo Sul',
+ 'Caixa Econômica Federal',
+ 'Banco ABN Amro S.A.',
+ 'Banco Alfa',
+ 'Banco Banif',
+ 'Banco BBM',
+ 'Banco BMG',
+ 'Banco Bonsucesso',
+ 'Banco BTG Pactual',
+ 'Banco Cacique',
+ 'Banco Caixa Geral - Brasil',
+ 'Banco Citibank',
+ 'Banco Credibel',
+ 'Banco Credit Suisse',
+ 'Góis Monteiro & Co',
+ 'Banco Fator',
+ 'Banco Fibra',
+ 'Agibank',
+ 'Banco Guanabara',
+ 'Banco Industrial do Brasil',
+ 'Banco Industrial e Comercial',
+ 'Banco Indusval',
+ 'Banco Inter',
+ 'Banco Itaú BBA',
+ 'Banco ItaúBank',
+ 'Banco Itaucred Financiamentos',
+ 'Banco Mercantil do Brasil',
+ 'Banco Modal Modal',
+ 'Banco Morada',
+ 'Banco Pan',
+ 'Banco Paulista',
+ 'Banco Pine',
+ 'Banco Renner',
+ 'Banco Ribeirão Preto',
+ 'Banco Safra',
+ 'Banco Santander',
+ 'Banco Sofisa',
+ 'Banco Topázio',
+ 'Banco Votorantim',
+ 'Bradesco Bradesco',
+ 'Itaú Unibanco',
+ 'Banco Original',
+ 'Banco Neon',
+ 'Nu Pagamentos S.A',
+ 'XP Investimentos Corretora de Câmbio Títulos e Valores Mobiliários S.A',
+ );
+
+ /**
+ * @example 'Banco Neon'
+ */
+ public static function bank()
+ {
+ return static::randomElement(static::$banks);
+ }
}
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/pt_PT/Address.php b/vendor/fzaninotto/faker/src/Faker/Provider/pt_PT/Address.php
index a6e10099..d804ff2c 100644
--- a/vendor/fzaninotto/faker/src/Faker/Provider/pt_PT/Address.php
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/pt_PT/Address.php
@@ -4,7 +4,7 @@ namespace Faker\Provider\pt_PT;
class Address extends \Faker\Provider\Address
{
- protected static $streetPrefix = array('Av.', 'Avenida', 'R.', 'Rua', 'Travessa', 'Largo');
+ protected static $streetPrefix = array('Av.', 'Avenida', 'R.', 'Rua', 'Tv.', 'Travessa', 'Lg.', 'Largo');
protected static $streetNameFormats = array(
'{{streetPrefix}} {{lastName}}',
diff --git a/vendor/fzaninotto/faker/src/Faker/Provider/pt_PT/Company.php b/vendor/fzaninotto/faker/src/Faker/Provider/pt_PT/Company.php
new file mode 100644
index 00000000..971d18f5
--- /dev/null
+++ b/vendor/fzaninotto/faker/src/Faker/Provider/pt_PT/Company.php
@@ -0,0 +1,16 @@
+ 21,
'N' => 22,
'O' => 35,
- 'p' => 23,
+ 'P' => 23,
'Q' => 24,
'T' => 27,
'U' => 28,
diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/IbanTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/IbanTest.php
deleted file mode 100644
index 197048e5..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Calculator/IbanTest.php
+++ /dev/null
@@ -1,306 +0,0 @@
-assertEquals($checksum, Iban::checksum($iban), $iban);
- }
-
- public function validatorProvider()
- {
- return array(
- array('AL47212110090000000235698741', true),
- array('AD1200012030200359100100', true),
- array('AT611904300234573201', true),
- array('AZ21NABZ00000000137010001944', true),
- array('BH67BMAG00001299123456', true),
- array('BE68539007547034', true),
- array('BA391290079401028494', true),
- array('BR7724891749412660603618210F3', true),
- array('BG80BNBG96611020345678', true),
- array('CR0515202001026284066', true),
- array('HR1210010051863000160', true),
- array('CY17002001280000001200527600', true),
- array('CZ6508000000192000145399', true),
- array('DK5000400440116243', true),
- array('DO28BAGR00000001212453611324', true),
- array('EE382200221020145685', true),
- array('FO6264600001631634', true),
- array('FI2112345600000785', true),
- array('FR1420041010050500013M02606', true),
- array('GE29NB0000000101904917', true),
- array('DE89370400440532013000', true),
- array('GI75NWBK000000007099453', true),
- array('GR1601101250000000012300695', true),
- array('GL8964710001000206', true),
- array('GT82TRAJ01020000001210029690', true),
- array('HU42117730161111101800000000', true),
- array('IS140159260076545510730339', true),
- array('IE29AIBK93115212345678', true),
- array('IL620108000000099999999', true),
- array('IT60X0542811101000000123456', true),
- array('KZ86125KZT5004100100', true),
- array('KW81CBKU0000000000001234560101', true),
- array('LV80BANK0000435195001', true),
- array('LB62099900000001001901229114', true),
- array('LI21088100002324013AA', true),
- array('LT121000011101001000', true),
- array('LU280019400644750000', true),
- array('MK07250120000058984', true),
- array('MT84MALT011000012345MTLCAST001S', true),
- array('MR1300020001010000123456753', true),
- array('MU17BOMM0101101030300200000MUR', true),
- array('MD24AG000225100013104168', true),
- array('MC5811222000010123456789030', true),
- array('ME25505000012345678951', true),
- array('NL91ABNA0417164300', true),
- array('NO9386011117947', true),
- array('PK36SCBL0000001123456702', true),
- array('PL61109010140000071219812874', true),
- array('PS92PALS000000000400123456702', true),
- array('PT50000201231234567890154', true),
- array('QA58DOHB00001234567890ABCDEFG', true),
- array('RO49AAAA1B31007593840000', true),
- array('SM86U0322509800000000270100', true),
- array('SA0380000000608010167519', true),
- array('RS35260005601001611379', true),
- array('SK3112000000198742637541', true),
- array('SI56263300012039086', true),
- array('ES9121000418450200051332', true),
- array('SE4550000000058398257466', true),
- array('CH9300762011623852957', true),
- array('TN5910006035183598478831', true),
- array('TR330006100519786457841326', true),
- array('AE070331234567890123456', true),
- array('GB29NWBK60161331926819', true),
- array('VG96VPVG0000012345678901', true),
- array('YY24KIHB12476423125915947930915268', true),
- array('ZZ25VLQT382332233206588011313776421', true),
-
-
- array('AL4721211009000000023569874', false),
- array('AD120001203020035910010', false),
- array('AT61190430023457320', false),
- array('AZ21NABZ0000000013701000194', false),
- array('BH67BMAG0000129912345', false),
- array('BE6853900754703', false),
- array('BA39129007940102849', false),
- array('BR7724891749412660603618210F', false),
- array('BG80BNBG9661102034567', false),
- array('CR051520200102628406', false),
- array('HR121001005186300016', false),
- array('CY1700200128000000120052760', false),
- array('CZ650800000019200014539', false),
- array('DK500040044011624', false),
- array('DO28BAGR0000000121245361132', false),
- array('EE38220022102014568', false),
- array('FO626460000163163', false),
- array('FI2112345600000780', false),
- array('FR1420041010050500013M0260', false),
- array('GE29NB000000010190491', false),
- array('DE8937040044053201300', false),
- array('GI75NWBK00000000709945', false),
- array('GR160110125000000001230069', false),
- array('GL896471000100020', false),
- array('GT82TRAJ0102000000121002969', false),
- array('HU4211773016111110180000000', false),
- array('IS14015926007654551073033', false),
- array('IE29AIBK9311521234567', false),
- array('IL62010800000009999999', false),
- array('IT60X054281110100000012345', false),
- array('KZ86125KZT500410010', false),
- array('KW81CBKU000000000000123456010', false),
- array('LV80BANK000043519500', false),
- array('LB6209990000000100190122911', false),
- array('LI21088100002324013A', false),
- array('LT12100001110100100', false),
- array('LU28001940064475000', false),
- array('MK0725012000005898', false),
- array('MT84MALT011000012345MTLCAST001', false),
- array('MR130002000101000012345675', false),
- array('MU17BOMM0101101030300200000MU', false),
- array('MD24AG00022510001310416', false),
- array('MC58112220000101234567890', false),
- array('ME2550500001234567895', false),
- array('NL91ABNA041716430', false),
- array('NO938601111794', false),
- array('PK36SCBL000000112345670', false),
- array('PL6110901014000007121981287', false),
- array('PS92PALS00000000040012345670', false),
- array('PT5000020123123456789015', false),
- array('QA58DOHB00001234567890ABCDEF', false),
- array('RO49AAAA1B3100759384000', false),
- array('SM86U032250980000000027010', false),
- array('SA038000000060801016751', false),
- array('RS3526000560100161137', false),
- array('SK311200000019874263754', false),
- array('SI5626330001203908', false),
- array('ES912100041845020005133', false),
- array('SE455000000005839825746', false),
- array('CH930076201162385295', false),
- array('TN591000603518359847883', false),
- array('TR33000610051978645784132', false),
- array('AE07033123456789012345', false),
- array('GB29NWBK6016133192681', false),
- array('VG96VPVG000001234567890', false),
- array('YY24KIHB1247642312591594793091526', false),
- array('ZZ25VLQT38233223320658801131377642', false),
- );
- }
-
- /**
- * @dataProvider validatorProvider
- */
- public function testIsValid($iban, $isValid)
- {
- $this->assertEquals($isValid, Iban::isValid($iban), $iban);
- }
-
- public function alphaToNumberProvider()
- {
- return array(
- array('A', 10),
- array('B', 11),
- array('C', 12),
- array('D', 13),
- array('E', 14),
- array('F', 15),
- array('G', 16),
- array('H', 17),
- array('I', 18),
- array('J', 19),
- array('K', 20),
- array('L', 21),
- array('M', 22),
- array('N', 23),
- array('O', 24),
- array('P', 25),
- array('Q', 26),
- array('R', 27),
- array('S', 28),
- array('T', 29),
- array('U', 30),
- array('V', 31),
- array('W', 32),
- array('X', 33),
- array('Y', 34),
- array('Z', 35),
- );
- }
-
- /**
- * @dataProvider alphaToNumberProvider
- */
- public function testAlphaToNumber($letter, $number)
- {
- $this->assertEquals($number, Iban::alphaToNumber($letter), $letter);
- }
-
- public function mod97Provider()
- {
- // Large numbers
- $return = array(
- array('123456789123456789', 7),
- array('111222333444555666', 73),
- array('4242424242424242424242', 19),
- array('271828182845904523536028', 68),
- );
-
- // 0-200
- for ($i = 0; $i < 200; $i++) {
- $return[] = array((string)$i, $i % 97);
- }
-
- return $return;
- }
- /**
- * @dataProvider mod97Provider
- */
- public function testMod97($number, $result)
- {
- $this->assertEquals($result, Iban::mod97($number), $number);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/InnTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/InnTest.php
deleted file mode 100644
index 71d9193f..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Calculator/InnTest.php
+++ /dev/null
@@ -1,51 +0,0 @@
-assertEquals($checksum, Inn::checksum($inn), $inn);
- }
-
- public function validatorProvider()
- {
- return array(
- array('5902179757', true),
- array('5408294405', true),
- array('2724164617', true),
- array('0726000515', true),
- array('6312123552', true),
-
- array('1111111111', false),
- array('0123456789', false),
- );
- }
-
- /**
- * @dataProvider validatorProvider
- */
- public function testIsValid($inn, $isValid)
- {
- $this->assertEquals($isValid, Inn::isValid($inn), $inn);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/LuhnTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/LuhnTest.php
deleted file mode 100644
index 2e814144..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Calculator/LuhnTest.php
+++ /dev/null
@@ -1,72 +0,0 @@
-assertInternalType('string', $checkDigit);
- $this->assertEquals($checkDigit, Luhn::computeCheckDigit($partialNumber));
- }
-
- public function validatorProvider()
- {
- return array(
- array('79927398710', false),
- array('79927398711', false),
- array('79927398712', false),
- array('79927398713', true),
- array('79927398714', false),
- array('79927398715', false),
- array('79927398716', false),
- array('79927398717', false),
- array('79927398718', false),
- array('79927398719', false),
- array(79927398713, true),
- array(79927398714, false),
- );
- }
-
- /**
- * @dataProvider validatorProvider
- */
- public function testIsValid($number, $isValid)
- {
- $this->assertEquals($isValid, Luhn::isValid($number));
- }
-
- /**
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage Argument should be an integer.
- */
- public function testGenerateLuhnNumberWithInvalidPrefix()
- {
- Luhn::generateLuhnNumber('abc');
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Calculator/TCNoTest.php b/vendor/fzaninotto/faker/test/Faker/Calculator/TCNoTest.php
deleted file mode 100644
index 9e40d794..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Calculator/TCNoTest.php
+++ /dev/null
@@ -1,54 +0,0 @@
-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
deleted file mode 100644
index fa9eb852..00000000
--- a/vendor/fzaninotto/faker/test/Faker/DefaultGeneratorTest.php
+++ /dev/null
@@ -1,28 +0,0 @@
-assertNull($generator->value);
- }
-
- public function testGeneratorReturnsDefaultValueForAnyPropertyGet()
- {
- $generator = new DefaultGenerator(123);
- $this->assertSame(123, $generator->foo);
- $this->assertNotNull($generator->bar);
- }
-
- public function testGeneratorReturnsDefaultValueForAnyMethodCall()
- {
- $generator = new DefaultGenerator(123);
- $this->assertSame(123, $generator->foobar());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/GeneratorTest.php b/vendor/fzaninotto/faker/test/Faker/GeneratorTest.php
deleted file mode 100644
index f15df441..00000000
--- a/vendor/fzaninotto/faker/test/Faker/GeneratorTest.php
+++ /dev/null
@@ -1,148 +0,0 @@
-addProvider(new FooProvider());
- $generator->addProvider(new BarProvider());
- $this->assertEquals('barfoo', $generator->format('fooFormatter'));
- }
-
- public function testGetFormatterReturnsCallable()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $this->assertInternalType('callable', $generator->getFormatter('fooFormatter'));
- }
-
- public function testGetFormatterReturnsCorrectFormatter()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $expected = array($provider, 'fooFormatter');
- $this->assertEquals($expected, $generator->getFormatter('fooFormatter'));
- }
-
- /**
- * @expectedException InvalidArgumentException
- */
- public function testGetFormatterThrowsExceptionOnIncorrectProvider()
- {
- $generator = new Generator;
- $generator->getFormatter('fooFormatter');
- }
-
- /**
- * @expectedException InvalidArgumentException
- */
- public function testGetFormatterThrowsExceptionOnIncorrectFormatter()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $generator->getFormatter('barFormatter');
- }
-
- public function testFormatCallsFormatterOnProvider()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $this->assertEquals('foobar', $generator->format('fooFormatter'));
- }
-
- public function testFormatTransfersArgumentsToFormatter()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $this->assertEquals('bazfoo', $generator->format('fooFormatterWithArguments', array('foo')));
- }
-
- public function testParseReturnsSameStringWhenItContainsNoCurlyBraces()
- {
- $generator = new Generator();
- $this->assertEquals('fooBar#?', $generator->parse('fooBar#?'));
- }
-
- public function testParseReturnsStringWithTokensReplacedByFormatters()
- {
- $generator = new Generator();
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $this->assertEquals('This is foobar a text with foobar', $generator->parse('This is {{fooFormatter}} a text with {{ fooFormatter }}'));
- }
-
- public function testMagicGetCallsFormat()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $this->assertEquals('foobar', $generator->fooFormatter);
- }
-
- public function testMagicCallCallsFormat()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $this->assertEquals('foobar', $generator->fooFormatter());
- }
-
- public function testMagicCallCallsFormatWithArguments()
- {
- $generator = new Generator;
- $provider = new FooProvider();
- $generator->addProvider($provider);
- $this->assertEquals('bazfoo', $generator->fooFormatterWithArguments('foo'));
- }
-
- public function testSeed()
- {
- $generator = new Generator;
-
- $generator->seed(0);
- $mtRandWithSeedZero = mt_rand();
- $generator->seed(0);
- $this->assertEquals($mtRandWithSeedZero, mt_rand(), 'seed(0) should be deterministic.');
-
- $generator->seed();
- $mtRandWithoutSeed = mt_rand();
- $this->assertNotEquals($mtRandWithSeedZero, $mtRandWithoutSeed, 'seed() should be different than seed(0)');
- $generator->seed();
- $this->assertNotEquals($mtRandWithoutSeed, mt_rand(), 'seed() should not be deterministic.');
-
- $generator->seed('10');
- $this->assertTrue(true, 'seeding with a non int value doesn\'t throw an exception');
- }
-}
-
-class FooProvider
-{
- public function fooFormatter()
- {
- return 'foobar';
- }
-
- public function fooFormatterWithArguments($value = '')
- {
- return 'baz' . $value;
- }
-}
-
-class BarProvider
-{
- public function fooFormatter()
- {
- return 'barfoo';
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/AddressTest.php
deleted file mode 100644
index c7f1814c..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/AddressTest.php
+++ /dev/null
@@ -1,47 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- public function testLatitude()
- {
- $latitude = $this->faker->latitude();
- $this->assertInternalType('float', $latitude);
- $this->assertGreaterThanOrEqual(-90, $latitude);
- $this->assertLessThanOrEqual(90, $latitude);
- }
-
- public function testLongitude()
- {
- $longitude = $this->faker->longitude();
- $this->assertInternalType('float', $longitude);
- $this->assertGreaterThanOrEqual(-180, $longitude);
- $this->assertLessThanOrEqual(180, $longitude);
- }
-
- public function testCoordinate()
- {
- $coordinate = $this->faker->localCoordinates();
- $this->assertInternalType('array', $coordinate);
- $this->assertInternalType('float', $coordinate['latitude']);
- $this->assertGreaterThanOrEqual(-90, $coordinate['latitude']);
- $this->assertLessThanOrEqual(90, $coordinate['latitude']);
- $this->assertInternalType('float', $coordinate['longitude']);
- $this->assertGreaterThanOrEqual(-180, $coordinate['longitude']);
- $this->assertLessThanOrEqual(180, $coordinate['longitude']);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/BarcodeTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/BarcodeTest.php
deleted file mode 100644
index 16ca3cd8..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/BarcodeTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-addProvider(new Barcode($faker));
- $faker->seed(0);
- $this->faker = $faker;
- }
-
- public function testEan8()
- {
- $code = $this->faker->ean8();
- $this->assertRegExp('/^\d{8}$/i', $code);
- $codeWithoutChecksum = substr($code, 0, -1);
- $checksum = substr($code, -1);
- $this->assertEquals(TestableBarcode::eanChecksum($codeWithoutChecksum), $checksum);
- }
-
- public function testEan13()
- {
- $code = $this->faker->ean13();
- $this->assertRegExp('/^\d{13}$/i', $code);
- $codeWithoutChecksum = substr($code, 0, -1);
- $checksum = substr($code, -1);
- $this->assertEquals(TestableBarcode::eanChecksum($codeWithoutChecksum), $checksum);
- }
-}
-
-class TestableBarcode extends Barcode
-{
- public static function eanChecksum($input)
- {
- return parent::eanChecksum($input);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/BaseTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/BaseTest.php
deleted file mode 100644
index e619d5be..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/BaseTest.php
+++ /dev/null
@@ -1,572 +0,0 @@
-assertInternalType('integer', BaseProvider::randomDigit());
- }
-
- public function testRandomDigitReturnsDigit()
- {
- $this->assertGreaterThanOrEqual(0, BaseProvider::randomDigit());
- $this->assertLessThan(10, BaseProvider::randomDigit());
- }
-
- public function testRandomDigitNotNullReturnsNotNullDigit()
- {
- $this->assertGreaterThan(0, BaseProvider::randomDigitNotNull());
- $this->assertLessThan(10, BaseProvider::randomDigitNotNull());
- }
-
-
- public function testRandomDigitNotReturnsValidDigit()
- {
- for ($i = 0; $i <= 9; $i++) {
- $this->assertGreaterThanOrEqual(0, BaseProvider::randomDigitNot($i));
- $this->assertLessThan(10, BaseProvider::randomDigitNot($i));
- $this->assertNotSame(BaseProvider::randomDigitNot($i), $i);
- }
- }
-
- /**
- * @expectedException \InvalidArgumentException
- */
- public function testRandomNumberThrowsExceptionWhenCalledWithAMax()
- {
- BaseProvider::randomNumber(5, 200);
- }
-
- /**
- * @expectedException \InvalidArgumentException
- */
- public function testRandomNumberThrowsExceptionWhenCalledWithATooHighNumberOfDigits()
- {
- BaseProvider::randomNumber(10);
- }
-
- public function testRandomNumberReturnsInteger()
- {
- $this->assertInternalType('integer', BaseProvider::randomNumber());
- $this->assertInternalType('integer', BaseProvider::randomNumber(5, false));
- }
-
- public function testRandomNumberReturnsDigit()
- {
- $this->assertGreaterThanOrEqual(0, BaseProvider::randomNumber(3));
- $this->assertLessThan(1000, BaseProvider::randomNumber(3));
- }
-
- public function testRandomNumberAcceptsStrictParamToEnforceNumberSize()
- {
- $this->assertEquals(5, strlen((string) BaseProvider::randomNumber(5, true)));
- }
-
- public function testNumberBetween()
- {
- $min = 5;
- $max = 6;
-
- $this->assertGreaterThanOrEqual($min, BaseProvider::numberBetween($min, $max));
- $this->assertGreaterThanOrEqual(BaseProvider::numberBetween($min, $max), $max);
- }
-
- public function testNumberBetweenAcceptsZeroAsMax()
- {
- $this->assertEquals(0, BaseProvider::numberBetween(0, 0));
- }
-
- public function testRandomFloat()
- {
- $min = 4;
- $max = 10;
- $nbMaxDecimals = 8;
-
- $result = BaseProvider::randomFloat($nbMaxDecimals, $min, $max);
-
- $parts = explode('.', $result);
-
- $this->assertInternalType('float', $result);
- $this->assertGreaterThanOrEqual($min, $result);
- $this->assertLessThanOrEqual($max, $result);
- $this->assertLessThanOrEqual($nbMaxDecimals, strlen($parts[1]));
- }
-
- public function testRandomLetterReturnsString()
- {
- $this->assertInternalType('string', BaseProvider::randomLetter());
- }
-
- public function testRandomLetterReturnsSingleLetter()
- {
- $this->assertEquals(1, strlen(BaseProvider::randomLetter()));
- }
-
- public function testRandomLetterReturnsLowercaseLetter()
- {
- $lowercaseLetters = 'abcdefghijklmnopqrstuvwxyz';
- $this->assertNotFalse(strpos($lowercaseLetters, BaseProvider::randomLetter()));
- }
-
- public function testRandomAsciiReturnsString()
- {
- $this->assertInternalType('string', BaseProvider::randomAscii());
- }
-
- public function testRandomAsciiReturnsSingleCharacter()
- {
- $this->assertEquals(1, strlen(BaseProvider::randomAscii()));
- }
-
- public function testRandomAsciiReturnsAsciiCharacter()
- {
- $lowercaseLetters = '!"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~';
- $this->assertNotFalse(strpos($lowercaseLetters, BaseProvider::randomAscii()));
- }
-
- public function testRandomElementReturnsNullWhenArrayEmpty()
- {
- $this->assertNull(BaseProvider::randomElement(array()));
- }
-
- public function testRandomElementReturnsNullWhenCollectionEmpty()
- {
- $this->assertNull(BaseProvider::randomElement(new Collection(array())));
- }
-
- public function testRandomElementReturnsElementFromArray()
- {
- $elements = array('23', 'e', 32, '#');
- $this->assertContains(BaseProvider::randomElement($elements), $elements);
- }
-
- public function testRandomElementReturnsElementFromAssociativeArray()
- {
- $elements = array('tata' => '23', 'toto' => 'e', 'tutu' => 32, 'titi' => '#');
- $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'));
- }
-
- public function testShuffleReturnsArrayWhenPassedAnArrayArgument()
- {
- $this->assertInternalType('array', BaseProvider::shuffle(array(1, 2, 3)));
- }
-
- /**
- * @expectedException \InvalidArgumentException
- */
- public function testShuffleThrowsExceptionWhenPassedAnInvalidArgument()
- {
- BaseProvider::shuffle(false);
- }
-
- public function testShuffleArraySupportsEmptyArrays()
- {
- $this->assertEquals(array(), BaseProvider::shuffleArray(array()));
- }
-
- public function testShuffleArrayReturnsAnArrayOfTheSameSize()
- {
- $array = array(1, 2, 3, 4, 5);
- $this->assertSameSize($array, BaseProvider::shuffleArray($array));
- }
-
- public function testShuffleArrayReturnsAnArrayWithSameElements()
- {
- $array = array(2, 4, 6, 8, 10);
- $shuffleArray = BaseProvider::shuffleArray($array);
- $this->assertContains(2, $shuffleArray);
- $this->assertContains(4, $shuffleArray);
- $this->assertContains(6, $shuffleArray);
- $this->assertContains(8, $shuffleArray);
- $this->assertContains(10, $shuffleArray);
- }
-
- public function testShuffleArrayReturnsADifferentArrayThanTheOriginal()
- {
- $arr = array(1, 2, 3, 4, 5);
- $shuffledArray = BaseProvider::shuffleArray($arr);
- $this->assertNotEquals($arr, $shuffledArray);
- }
-
- public function testShuffleArrayLeavesTheOriginalArrayUntouched()
- {
- $arr = array(1, 2, 3, 4, 5);
- BaseProvider::shuffleArray($arr);
- $this->assertEquals($arr, array(1, 2, 3, 4, 5));
- }
-
- public function testShuffleStringSupportsEmptyStrings()
- {
- $this->assertEquals('', BaseProvider::shuffleString(''));
- }
-
- public function testShuffleStringReturnsAnStringOfTheSameSize()
- {
- $string = 'abcdef';
- $this->assertEquals(strlen($string), strlen(BaseProvider::shuffleString($string)));
- }
-
- public function testShuffleStringReturnsAnStringWithSameElements()
- {
- $string = 'acegi';
- $shuffleString = BaseProvider::shuffleString($string);
- $this->assertContains('a', $shuffleString);
- $this->assertContains('c', $shuffleString);
- $this->assertContains('e', $shuffleString);
- $this->assertContains('g', $shuffleString);
- $this->assertContains('i', $shuffleString);
- }
-
- public function testShuffleStringReturnsADifferentStringThanTheOriginal()
- {
- $string = 'abcdef';
- $shuffledString = BaseProvider::shuffleString($string);
- $this->assertNotEquals($string, $shuffledString);
- }
-
- public function testShuffleStringLeavesTheOriginalStringUntouched()
- {
- $string = 'abcdef';
- BaseProvider::shuffleString($string);
- $this->assertEquals($string, 'abcdef');
- }
-
- public function testNumerifyReturnsSameStringWhenItContainsNoHashSign()
- {
- $this->assertEquals('fooBar?', BaseProvider::numerify('fooBar?'));
- }
-
- public function testNumerifyReturnsStringWithHashSignsReplacedByDigits()
- {
- $this->assertRegExp('/foo\dBa\dr/', BaseProvider::numerify('foo#Ba#r'));
- }
-
- public function testNumerifyReturnsStringWithPercentageSignsReplacedByDigits()
- {
- $this->assertRegExp('/foo\dBa\dr/', BaseProvider::numerify('foo%Ba%r'));
- }
-
- public function testNumerifyReturnsStringWithPercentageSignsReplacedByNotNullDigits()
- {
- $this->assertNotEquals('0', BaseProvider::numerify('%'));
- }
-
- public function testNumerifyCanGenerateALargeNumberOfDigits()
- {
- $largePattern = str_repeat('#', 20); // definitely larger than PHP_INT_MAX on all systems
- $this->assertEquals(20, strlen(BaseProvider::numerify($largePattern)));
- }
-
- public function testLexifyReturnsSameStringWhenItContainsNoQuestionMark()
- {
- $this->assertEquals('fooBar#', BaseProvider::lexify('fooBar#'));
- }
-
- public function testLexifyReturnsStringWithQuestionMarksReplacedByLetters()
- {
- $this->assertRegExp('/foo[a-z]Ba[a-z]r/', BaseProvider::lexify('foo?Ba?r'));
- }
-
- public function testBothifyCombinesNumerifyAndLexify()
- {
- $this->assertRegExp('/foo[a-z]Ba\dr/', BaseProvider::bothify('foo?Ba#r'));
- }
-
- public function testBothifyAsterisk()
- {
- $this->assertRegExp('/foo([a-z]|\d)Ba([a-z]|\d)r/', BaseProvider::bothify('foo*Ba*r'));
- }
-
- public function testBothifyUtf()
- {
- $utf = 'œ∑´®†¥¨ˆøπ“‘和製╯°□°╯︵ ┻━┻🐵 🙈 ﺚﻣ ﻦﻔﺳ ﺲﻘﻄﺗ ﻮﺑﺎﻠﺘﺣﺪﻳﺩ،, ﺝﺰﻳﺮﺘﻳ ﺏﺎﺴﺘﺧﺩﺎﻣ ﺄﻧ ﺪﻧﻭ. ﺇﺫ ﻪﻧﺍ؟ ﺎﻠﺴﺗﺍﺭ ﻮﺘ';
- $this->assertRegExp('/'.$utf.'foo\dB[a-z]a([a-z]|\d)r/u', BaseProvider::bothify($utf.'foo#B?a*r'));
- }
-
- public function testAsciifyReturnsSameStringWhenItContainsNoStarSign()
- {
- $this->assertEquals('fooBar?', BaseProvider::asciify('fooBar?'));
- }
-
- public function testAsciifyReturnsStringWithStarSignsReplacedByAsciiChars()
- {
- $this->assertRegExp('/foo.Ba.r/', BaseProvider::asciify('foo*Ba*r'));
- }
-
- public function regexifyBasicDataProvider()
- {
- return array(
- array('azeQSDF1234', 'azeQSDF1234', 'does not change non regex chars'),
- array('foo(bar){1}', 'foobar', 'replaces regex characters'),
- array('', '', 'supports empty string'),
- array('/^foo(bar){1}$/', 'foobar', 'ignores regex delimiters')
- );
- }
-
- /**
- * @dataProvider regexifyBasicDataProvider
- */
- public function testRegexifyBasicFeatures($input, $output, $message)
- {
- $this->assertEquals($output, BaseProvider::regexify($input), $message);
- }
-
- public function regexifyDataProvider()
- {
- return array(
- array('\d', 'numbers'),
- array('\w', 'letters'),
- array('(a|b)', 'alternation'),
- array('[aeiou]', 'basic character class'),
- array('[a-z]', 'character class range'),
- array('[a-z1-9]', 'multiple character class range'),
- array('a*b+c?', 'single character quantifiers'),
- array('a{2}', 'brackets quantifiers'),
- array('a{2,3}', 'min-max brackets quantifiers'),
- array('[aeiou]{2,3}', 'brackets quantifiers on basic character class'),
- array('[a-z]{2,3}', 'brackets quantifiers on character class range'),
- array('(a|b){2,3}', 'brackets quantifiers on alternation'),
- array('\.\*\?\+', 'escaped characters'),
- array('[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}', 'complex regex')
- );
- }
-
- /**
- * @dataProvider regexifyDataProvider
- */
- public function testRegexifySupportedRegexSyntax($pattern, $message)
- {
- $this->assertRegExp('/' . $pattern . '/', BaseProvider::regexify($pattern), 'Regexify supports ' . $message);
- }
-
- public function testOptionalReturnsProviderValueWhenCalledWithWeight1()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $this->assertNotNull($faker->optional(100)->randomDigit);
- }
-
- public function testOptionalReturnsNullWhenCalledWithWeight0()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $this->assertNull($faker->optional(0)->randomDigit);
- }
-
- public function testOptionalAllowsChainingPropertyAccess()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $faker->addProvider(new \ArrayObject(array(1))); // hack because method_exists forbids stubs
- $this->assertEquals(1, $faker->optional(100)->count);
- $this->assertNull($faker->optional(0)->count);
- }
-
- public function testOptionalAllowsChainingMethodCall()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $faker->addProvider(new \ArrayObject(array(1))); // hack because method_exists forbids stubs
- $this->assertEquals(1, $faker->optional(100)->count());
- $this->assertNull($faker->optional(0)->count());
- }
-
- public function testOptionalAllowsChainingProviderCallRandomlyReturnNull()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $values = array();
- for ($i=0; $i < 10; $i++) {
- $values[]= $faker->optional()->randomDigit;
- }
- $this->assertContains(null, $values);
-
- $values = array();
- for ($i=0; $i < 10; $i++) {
- $values[]= $faker->optional(50)->randomDigit;
- }
- $this->assertContains(null, $values);
- }
-
- /**
- * @link https://github.com/fzaninotto/Faker/issues/265
- */
- public function testOptionalPercentageAndWeight()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $faker->addProvider(new \Faker\Provider\Miscellaneous($faker));
-
- $valuesOld = array();
- $valuesNew = array();
-
- for ($i = 0; $i < 10000; ++$i) {
- $valuesOld[] = $faker->optional(0.5)->boolean(100);
- $valuesNew[] = $faker->optional(50)->boolean(100);
- }
-
- $this->assertEquals(
- round(array_sum($valuesOld) / 10000, 2),
- round(array_sum($valuesNew) / 10000, 2)
- );
- }
-
- public function testUniqueAllowsChainingPropertyAccess()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $faker->addProvider(new \ArrayObject(array(1))); // hack because method_exists forbids stubs
- $this->assertEquals(1, $faker->unique()->count);
- }
-
- public function testUniqueAllowsChainingMethodCall()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $faker->addProvider(new \ArrayObject(array(1))); // hack because method_exists forbids stubs
- $this->assertEquals(1, $faker->unique()->count());
- }
-
- public function testUniqueReturnsOnlyUniqueValues()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $values = array();
- for ($i=0; $i < 10; $i++) {
- $values[]= $faker->unique()->randomDigit;
- }
- sort($values);
- $this->assertEquals(array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9), $values);
- }
-
- /**
- * @expectedException OverflowException
- */
- public function testUniqueThrowsExceptionWhenNoUniqueValueCanBeGenerated()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- for ($i=0; $i < 11; $i++) {
- $faker->unique()->randomDigit;
- }
- }
-
- public function testUniqueCanResetUniquesWhenPassedTrueAsArgument()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $values = array();
- for ($i=0; $i < 10; $i++) {
- $values[]= $faker->unique()->randomDigit;
- }
- $values[]= $faker->unique(true)->randomDigit;
- for ($i=0; $i < 9; $i++) {
- $values[]= $faker->unique()->randomDigit;
- }
- sort($values);
- $this->assertEquals(array(0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9), $values);
- }
-
- public function testValidAllowsChainingPropertyAccess()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $this->assertLessThan(10, $faker->valid()->randomDigit);
- }
-
- public function testValidAllowsChainingMethodCall()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $this->assertLessThan(10, $faker->valid()->numberBetween(5, 9));
- }
-
- public function testValidReturnsOnlyValidValues()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $values = array();
- $evenValidator = function($digit) {
- return $digit % 2 === 0;
- };
- for ($i=0; $i < 50; $i++) {
- $values[$faker->valid($evenValidator)->randomDigit] = true;
- }
- $uniqueValues = array_keys($values);
- sort($uniqueValues);
- $this->assertEquals(array(0, 2, 4, 6, 8), $uniqueValues);
- }
-
- /**
- * @expectedException OverflowException
- */
- public function testValidThrowsExceptionWhenNoValidValueCanBeGenerated()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $evenValidator = function($digit) {
- return $digit % 2 === 0;
- };
- for ($i=0; $i < 11; $i++) {
- $faker->valid($evenValidator)->randomElement(array(1, 3, 5, 7, 9));
- }
- }
-
- /**
- * @expectedException InvalidArgumentException
- */
- public function testValidThrowsExceptionWhenParameterIsNotCollable()
- {
- $faker = new \Faker\Generator();
- $faker->addProvider(new \Faker\Provider\Base($faker));
- $faker->valid(12)->randomElement(array(1, 3, 5, 7, 9));
- }
-
- /**
- * @expectedException LengthException
- * @expectedExceptionMessage Cannot get 2 elements, only 1 in array
- */
- public function testRandomElementsThrowsWhenRequestingTooManyKeys()
- {
- BaseProvider::randomElements(array('foo'), 2);
- }
-
- public function testRandomElements()
- {
- $this->assertCount(1, BaseProvider::randomElements(), 'Should work without any input');
-
- $empty = BaseProvider::randomElements(array(), 0);
- $this->assertInternalType('array', $empty);
- $this->assertCount(0, $empty);
-
- $shuffled = BaseProvider::randomElements(array('foo', 'bar', 'baz'), 3);
- $this->assertContains('foo', $shuffled);
- $this->assertContains('bar', $shuffled);
- $this->assertContains('baz', $shuffled);
-
- $allowDuplicates = BaseProvider::randomElements(array('foo', 'bar'), 3, true);
- $this->assertCount(3, $allowDuplicates);
- $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
deleted file mode 100644
index cce3dc0a..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/BiasedTest.php
+++ /dev/null
@@ -1,74 +0,0 @@
-generator = new Generator();
- $this->generator->addProvider(new Biased($this->generator));
-
- $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'));
-
- // assert that all numbers are near the expected unbiased value
- foreach ($this->results as $number => $amount) {
- // integral
- $assumed = (1 / self::MAX * $number) - (1 / self::MAX * ($number - 1));
- // calculate the fraction of the whole area
- $assumed /= 1;
- $this->assertGreaterThan(self::NUMBERS * $assumed * .95, $amount, "Value was more than 5 percent under the expected value");
- $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'));
-
- foreach ($this->results as $number => $amount) {
- // integral
- $assumed = 0.5 * pow(1 / self::MAX * $number, 2) - 0.5 * pow(1 / self::MAX * ($number - 1), 2);
- // calculate the fraction of the whole area
- $assumed /= pow(1, 2) * .5;
- $this->assertGreaterThan(self::NUMBERS * $assumed * .9, $amount, "Value was more than 10 percent under the expected value");
- $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'));
-
- foreach ($this->results as $number => $amount) {
- // integral
- $assumed = -0.5 * pow(1 / self::MAX * $number, 2) - -0.5 * pow(1 / self::MAX * ($number - 1), 2);
- // shift the graph up
- $assumed += 1 / self::MAX;
- // calculate the fraction of the whole area
- $assumed /= pow(1, 2) * .5;
- $this->assertGreaterThan(self::NUMBERS * $assumed * .9, $amount, "Value was more than 10 percent under the expected value");
- $this->assertLessThan(self::NUMBERS * $assumed * 1.1, $amount, "Value was more than 10 percent over the expected value");
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ColorTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ColorTest.php
deleted file mode 100644
index ff5edac2..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ColorTest.php
+++ /dev/null
@@ -1,54 +0,0 @@
-assertRegExp('/^#[a-f0-9]{6}$/i', Color::hexColor());
- }
-
- public function testSafeHexColor()
- {
- $this->assertRegExp('/^#[a-f0-9]{6}$/i', Color::safeHexColor());
- }
-
- public function testRgbColorAsArray()
- {
- $this->assertEquals(3, count(Color::rgbColorAsArray()));
- }
-
- public function testRgbColor()
- {
- $regexp = '([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])';
- $this->assertRegExp('/^' . $regexp . ',' . $regexp . ',' . $regexp . '$/i', Color::rgbColor());
- }
-
- public function testRgbCssColor()
- {
- $regexp = '([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])';
- $this->assertRegExp('/^rgb\(' . $regexp . ',' . $regexp . ',' . $regexp . '\)$/i', Color::rgbCssColor());
- }
-
- public function testRgbaCssColor()
- {
- $regexp = '([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])';
- $regexpAlpha = '([01]?(\.\d+)?)';
- $this->assertRegExp('/^rgba\(' . $regexp . ',' . $regexp . ',' . $regexp . ',' . $regexpAlpha . '\)$/i', Color::rgbaCssColor());
- }
-
- public function testSafeColorName()
- {
- $this->assertRegExp('/^[\w]+$/', Color::safeColorName());
- }
-
- public function testColorName()
- {
- $this->assertRegExp('/^[\w]+$/', Color::colorName());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/CompanyTest.php
deleted file mode 100644
index 28ce0eb4..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/CompanyTest.php
+++ /dev/null
@@ -1,31 +0,0 @@
-addProvider(new Company($faker));
- $faker->addProvider(new Lorem($faker));
- $this->faker = $faker;
- }
-
- public function testJobTitle()
- {
- $jobTitle = $this->faker->jobTitle();
- $pattern = '/^[A-Za-z]+$/';
- $this->assertRegExp($pattern, $jobTitle);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/DateTimeTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/DateTimeTest.php
deleted file mode 100644
index ec3ad867..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/DateTimeTest.php
+++ /dev/null
@@ -1,282 +0,0 @@
-defaultTz = 'UTC';
- DateTimeProvider::setDefaultTimezone($this->defaultTz);
- }
-
- public function tearDown()
- {
- 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->assertGreaterThanOrEqual(0, $timestamp);
- $this->assertLessThanOrEqual(time(), $timestamp);
- }
-
- public function testDateTime()
- {
- $date = DateTimeProvider::dateTime();
- $this->assertInstanceOf('\DateTime', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('@0'), $date);
- $this->assertLessThanOrEqual(new \DateTime(), $date);
- $this->assertEquals(new \DateTimeZone($this->defaultTz), $date->getTimezone());
- }
-
- public function testDateTimeWithTimezone()
- {
- $date = DateTimeProvider::dateTime('now', 'America/New_York');
- $this->assertEquals($date->getTimezone(), new \DateTimeZone('America/New_York'));
- }
-
- public function testDateTimeAD()
- {
- $date = DateTimeProvider::dateTimeAD();
- $this->assertInstanceOf('\DateTime', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('0000-01-01 00:00:00'), $date);
- $this->assertLessThanOrEqual(new \DateTime(), $date);
- $this->assertEquals(new \DateTimeZone($this->defaultTz), $date->getTimezone());
- }
-
- public function testDateTimeThisCentury()
- {
- $date = DateTimeProvider::dateTimeThisCentury();
- $this->assertInstanceOf('\DateTime', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('-100 year'), $date);
- $this->assertLessThanOrEqual(new \DateTime(), $date);
- $this->assertEquals(new \DateTimeZone($this->defaultTz), $date->getTimezone());
- }
-
- public function testDateTimeThisDecade()
- {
- $date = DateTimeProvider::dateTimeThisDecade();
- $this->assertInstanceOf('\DateTime', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('-10 year'), $date);
- $this->assertLessThanOrEqual(new \DateTime(), $date);
- $this->assertEquals(new \DateTimeZone($this->defaultTz), $date->getTimezone());
- }
-
- public function testDateTimeThisYear()
- {
- $date = DateTimeProvider::dateTimeThisYear();
- $this->assertInstanceOf('\DateTime', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('-1 year'), $date);
- $this->assertLessThanOrEqual(new \DateTime(), $date);
- $this->assertEquals(new \DateTimeZone($this->defaultTz), $date->getTimezone());
- }
-
- public function testDateTimeThisMonth()
- {
- $date = DateTimeProvider::dateTimeThisMonth();
- $this->assertInstanceOf('\DateTime', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('-1 month'), $date);
- $this->assertLessThanOrEqual(new \DateTime(), $date);
- $this->assertEquals(new \DateTimeZone($this->defaultTz), $date->getTimezone());
- }
-
- public function testDateTimeThisCenturyWithTimezone()
- {
- $date = DateTimeProvider::dateTimeThisCentury('now', 'America/New_York');
- $this->assertEquals($date->getTimezone(), new \DateTimeZone('America/New_York'));
- }
-
- public function testDateTimeThisDecadeWithTimezone()
- {
- $date = DateTimeProvider::dateTimeThisDecade('now', 'America/New_York');
- $this->assertEquals($date->getTimezone(), new \DateTimeZone('America/New_York'));
- }
-
- public function testDateTimeThisYearWithTimezone()
- {
- $date = DateTimeProvider::dateTimeThisYear('now', 'America/New_York');
- $this->assertEquals($date->getTimezone(), new \DateTimeZone('America/New_York'));
- }
-
- public function testDateTimeThisMonthWithTimezone()
- {
- $date = DateTimeProvider::dateTimeThisMonth('now', 'America/New_York');
- $this->assertEquals($date->getTimezone(), new \DateTimeZone('America/New_York'));
- }
-
- public function testIso8601()
- {
- $date = DateTimeProvider::iso8601();
- $this->assertRegExp('/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[+-Z](\d{4})?$/', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('@0'), new \DateTime($date));
- $this->assertLessThanOrEqual(new \DateTime(), new \DateTime($date));
- }
-
- public function testDate()
- {
- $date = DateTimeProvider::date();
- $this->assertRegExp('/^\d{4}-\d{2}-\d{2}$/', $date);
- $this->assertGreaterThanOrEqual(new \DateTime('@0'), new \DateTime($date));
- $this->assertLessThanOrEqual(new \DateTime(), new \DateTime($date));
- }
-
- public function testTime()
- {
- $date = DateTimeProvider::time();
- $this->assertRegExp('/^\d{2}:\d{2}:\d{2}$/', $date);
- }
-
- /**
- *
- * @dataProvider providerDateTimeBetween
- */
- public function testDateTimeBetween($start, $end)
- {
- $date = DateTimeProvider::dateTimeBetween($start, $end);
- $this->assertInstanceOf('\DateTime', $date);
- $this->assertGreaterThanOrEqual(new \DateTime($start), $date);
- $this->assertLessThanOrEqual(new \DateTime($end), $date);
- $this->assertEquals(new \DateTimeZone($this->defaultTz), $date->getTimezone());
- }
-
- public function providerDateTimeBetween()
- {
- return array(
- array('-1 year', false),
- array('-1 year', null),
- array('-1 day', '-1 hour'),
- array('-1 day', 'now'),
- );
- }
-
- /**
- *
- * @dataProvider providerDateTimeInInterval
- */
- public function testDateTimeInInterval($start, $interval = "+5 days", $isInFuture)
- {
- $date = DateTimeProvider::dateTimeInInterval($start, $interval);
- $this->assertInstanceOf('\DateTime', $date);
-
- $_interval = \DateInterval::createFromDateString($interval);
- $_start = new \DateTime($start);
- if ($isInFuture) {
- $this->assertGreaterThanOrEqual($_start, $date);
- $this->assertLessThanOrEqual($_start->add($_interval), $date);
- } else {
- $this->assertLessThanOrEqual($_start, $date);
- $this->assertGreaterThanOrEqual($_start->add($_interval), $date);
- }
- }
-
- public function providerDateTimeInInterval()
- {
- return array(
- array('-1 year', '+5 days', true),
- array('-1 day', '-1 hour', false),
- array('-1 day', '+1 hour', true),
- );
- }
-
- public function testFixedSeedWithMaximumTimestamp()
- {
- $max = '2118-03-01 12:00:00';
-
- mt_srand(1);
- $unixTime = DateTimeProvider::unixTime($max);
- $datetimeAD = DateTimeProvider::dateTimeAD($max);
- $dateTime1 = DateTimeProvider::dateTime($max);
- $dateTimeBetween = DateTimeProvider::dateTimeBetween('2014-03-01 06:00:00', $max);
- $date = DateTimeProvider::date('Y-m-d', $max);
- $time = DateTimeProvider::time('H:i:s', $max);
- $iso8601 = DateTimeProvider::iso8601($max);
- $dateTimeThisCentury = DateTimeProvider::dateTimeThisCentury($max);
- $dateTimeThisDecade = DateTimeProvider::dateTimeThisDecade($max);
- $dateTimeThisMonth = DateTimeProvider::dateTimeThisMonth($max);
- $amPm = DateTimeProvider::amPm($max);
- $dayOfMonth = DateTimeProvider::dayOfMonth($max);
- $dayOfWeek = DateTimeProvider::dayOfWeek($max);
- $month = DateTimeProvider::month($max);
- $monthName = DateTimeProvider::monthName($max);
- $year = DateTimeProvider::year($max);
- $dateTimeThisYear = DateTimeProvider::dateTimeThisYear($max);
- mt_srand();
-
- //regenerate Random Date with same seed and same maximum end timestamp
- mt_srand(1);
- $this->assertEquals($unixTime, DateTimeProvider::unixTime($max));
- $this->assertEquals($datetimeAD, DateTimeProvider::dateTimeAD($max));
- $this->assertEquals($dateTime1, DateTimeProvider::dateTime($max));
- $this->assertEquals($dateTimeBetween, DateTimeProvider::dateTimeBetween('2014-03-01 06:00:00', $max));
- $this->assertEquals($date, DateTimeProvider::date('Y-m-d', $max));
- $this->assertEquals($time, DateTimeProvider::time('H:i:s', $max));
- $this->assertEquals($iso8601, DateTimeProvider::iso8601($max));
- $this->assertEquals($dateTimeThisCentury, DateTimeProvider::dateTimeThisCentury($max));
- $this->assertEquals($dateTimeThisDecade, DateTimeProvider::dateTimeThisDecade($max));
- $this->assertEquals($dateTimeThisMonth, DateTimeProvider::dateTimeThisMonth($max));
- $this->assertEquals($amPm, DateTimeProvider::amPm($max));
- $this->assertEquals($dayOfMonth, DateTimeProvider::dayOfMonth($max));
- $this->assertEquals($dayOfWeek, DateTimeProvider::dayOfWeek($max));
- $this->assertEquals($month, DateTimeProvider::month($max));
- $this->assertEquals($monthName, DateTimeProvider::monthName($max));
- $this->assertEquals($year, DateTimeProvider::year($max));
- $this->assertEquals($dateTimeThisYear, DateTimeProvider::dateTimeThisYear($max));
- mt_srand();
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/HtmlLoremTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/HtmlLoremTest.php
deleted file mode 100644
index f7814faf..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/HtmlLoremTest.php
+++ /dev/null
@@ -1,30 +0,0 @@
-addProvider(new HtmlLorem($faker));
- $node = $faker->randomHtml(6, 10);
- $this->assertStringStartsWith("", $node);
- $this->assertStringEndsWith("\n", $node);
- }
-
- public function testRandomHtmlReturnsValidHTMLString(){
- $faker = new Generator();
- $faker->addProvider(new HtmlLorem($faker));
- $node = $faker->randomHtml(6, 10);
- $dom = new \DOMDocument();
- $error = $dom->loadHTML($node);
- $this->assertTrue($error);
- }
-
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ImageTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ImageTest.php
deleted file mode 100644
index c73992ce..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ImageTest.php
+++ /dev/null
@@ -1,76 +0,0 @@
-assertRegExp('#^https://lorempixel.com/640/480/#', Image::imageUrl());
- }
-
- public function testImageUrlAcceptsCustomWidthAndHeight()
- {
- $this->assertRegExp('#^https://lorempixel.com/800/400/#', Image::imageUrl(800, 400));
- }
-
- public function testImageUrlAcceptsCustomCategory()
- {
- $this->assertRegExp('#^https://lorempixel.com/800/400/nature/#', Image::imageUrl(800, 400, 'nature'));
- }
-
- public function testImageUrlAcceptsCustomText()
- {
- $this->assertRegExp('#^https://lorempixel.com/800/400/nature/Faker#', Image::imageUrl(800, 400, 'nature', false, 'Faker'));
- }
-
- public function testImageUrlAddsARandomGetParameterByDefault()
- {
- $url = Image::imageUrl(800, 400);
- $splitUrl = preg_split('/\?/', $url);
-
- $this->assertEquals(count($splitUrl), 2);
- $this->assertRegexp('#\d{5}#', $splitUrl[1]);
- }
-
- /**
- * @expectedException \InvalidArgumentException
- */
- public function testUrlWithDimensionsAndBadCategory()
- {
- Image::imageUrl(800, 400, 'bullhonky');
- }
-
- public function testDownloadWithDefaults()
- {
- $url = "http://lorempixel.com/";
- $curlPing = curl_init($url);
- curl_setopt($curlPing, CURLOPT_TIMEOUT, 5);
- curl_setopt($curlPing, CURLOPT_CONNECTTIMEOUT, 5);
- curl_setopt($curlPing, CURLOPT_RETURNTRANSFER, true);
- $data = curl_exec($curlPing);
- $httpCode = curl_getinfo($curlPing, CURLINFO_HTTP_CODE);
- curl_close($curlPing);
-
- if ($httpCode < 200 | $httpCode > 300) {
- $this->markTestSkipped("LoremPixel is offline, skipping image download");
- }
-
- $file = Image::image(sys_get_temp_dir());
- $this->assertFileExists($file);
- if (function_exists('getimagesize')) {
- list($width, $height, $type, $attr) = getimagesize($file);
- $this->assertEquals(640, $width);
- $this->assertEquals(480, $height);
- $this->assertEquals(constant('IMAGETYPE_JPEG'), $type);
- } else {
- $this->assertEquals('jpg', pathinfo($file, PATHINFO_EXTENSION));
- }
- if (file_exists($file)) {
- unlink($file);
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/InternetTest.php
deleted file mode 100644
index 93fe7b48..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/InternetTest.php
+++ /dev/null
@@ -1,167 +0,0 @@
-addProvider(new Lorem($faker));
- $faker->addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function localeDataProvider()
- {
- $providerPath = realpath(__DIR__ . '/../../../src/Faker/Provider');
- $localePaths = array_filter(glob($providerPath . '/*', GLOB_ONLYDIR));
- foreach ($localePaths as $path) {
- $parts = explode('/', $path);
- $locales[] = array($parts[count($parts) - 1]);
- }
-
- return $locales;
- }
-
- /**
- * @link http://stackoverflow.com/questions/12026842/how-to-validate-an-email-address-in-php
- *
- * @dataProvider localeDataProvider
- */
- public function testEmailIsValid($locale)
- {
- if ($locale !== 'en_US' && !class_exists('Transliterator')) {
- $this->markTestSkipped('Transliterator class not available (intl extension)');
- }
-
- $this->loadLocalProviders($locale);
- $pattern = '/^(?!(?:(?:\\x22?\\x5C[\\x00-\\x7E]\\x22?)|(?:\\x22?[^\\x5C\\x22]\\x22?)){255,})(?!(?:(?:\\x22?\\x5C[\\x00-\\x7E]\\x22?)|(?:\\x22?[^\\x5C\\x22]\\x22?)){65,}@)(?:(?:[\\x21\\x23-\\x27\\x2A\\x2B\\x2D\\x2F-\\x39\\x3D\\x3F\\x5E-\\x7E]+)|(?:\\x22(?:[\\x01-\\x08\\x0B\\x0C\\x0E-\\x1F\\x21\\x23-\\x5B\\x5D-\\x7F]|(?:\\x5C[\\x00-\\x7F]))*\\x22))(?:\\.(?:(?:[\\x21\\x23-\\x27\\x2A\\x2B\\x2D\\x2F-\\x39\\x3D\\x3F\\x5E-\\x7E]+)|(?:\\x22(?:[\\x01-\\x08\\x0B\\x0C\\x0E-\\x1F\\x21\\x23-\\x5B\\x5D-\\x7F]|(?:\\x5C[\\x00-\\x7F]))*\\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-+[a-z0-9]+)*\\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-+[a-z0-9]+)*)|(?:\\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\\]))$/iD';
- $emailAddress = $this->faker->email();
- $this->assertRegExp($pattern, $emailAddress);
- }
-
- /**
- * @dataProvider localeDataProvider
- */
- public function testUsernameIsValid($locale)
- {
- if ($locale !== 'en_US' && !class_exists('Transliterator')) {
- $this->markTestSkipped('Transliterator class not available (intl extension)');
- }
-
- $this->loadLocalProviders($locale);
- $pattern = '/^[A-Za-z0-9]+([._][A-Za-z0-9]+)*$/';
- $username = $this->faker->username();
- $this->assertRegExp($pattern, $username);
- }
-
- /**
- * @dataProvider localeDataProvider
- */
- public function testDomainnameIsValid($locale)
- {
- if ($locale !== 'en_US' && !class_exists('Transliterator')) {
- $this->markTestSkipped('Transliterator class not available (intl extension)');
- }
-
- $this->loadLocalProviders($locale);
- $pattern = '/^[a-z]+(\.[a-z]+)+$/';
- $domainName = $this->faker->domainName();
- $this->assertRegExp($pattern, $domainName);
- }
-
- /**
- * @dataProvider localeDataProvider
- */
- public function testDomainwordIsValid($locale)
- {
- if ($locale !== 'en_US' && !class_exists('Transliterator')) {
- $this->markTestSkipped('Transliterator class not available (intl extension)');
- }
-
- $this->loadLocalProviders($locale);
- $pattern = '/^[a-z]+$/';
- $domainWord = $this->faker->domainWord();
- $this->assertRegExp($pattern, $domainWord);
- }
-
- public function loadLocalProviders($locale)
- {
- $providerPath = realpath(__DIR__ . '/../../../src/Faker/Provider');
- if (file_exists($providerPath.'/'.$locale.'/Internet.php')) {
- $internet = "\\Faker\\Provider\\$locale\\Internet";
- $this->faker->addProvider(new $internet($this->faker));
- }
- if (file_exists($providerPath.'/'.$locale.'/Person.php')) {
- $person = "\\Faker\\Provider\\$locale\\Person";
- $this->faker->addProvider(new $person($this->faker));
- }
- if (file_exists($providerPath.'/'.$locale.'/Company.php')) {
- $company = "\\Faker\\Provider\\$locale\\Company";
- $this->faker->addProvider(new $company($this->faker));
- }
- }
-
- public function testPasswordIsValid()
- {
- $this->assertRegexp('/^.{6}$/', $this->faker->password(6, 6));
- }
-
- public function testSlugIsValid()
- {
- $pattern = '/^[a-z0-9-]+$/';
- $slug = $this->faker->slug();
- $this->assertSame(preg_match($pattern, $slug), 1);
- }
-
- public function testUrlIsValid()
- {
- $url = $this->faker->url();
- $this->assertNotFalse(filter_var($url, FILTER_VALIDATE_URL));
- }
-
- public function testLocalIpv4()
- {
- $this->assertNotFalse(filter_var(Internet::localIpv4(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV4));
- }
-
- public function testIpv4()
- {
- $this->assertNotFalse(filter_var($this->faker->ipv4(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV4));
- }
-
- public function testIpv4NotLocalNetwork()
- {
- $this->assertNotRegExp('/\A0\./', $this->faker->ipv4());
- }
-
- public function testIpv4NotBroadcast()
- {
- $this->assertNotEquals('255.255.255.255', $this->faker->ipv4());
- }
-
- public function testIpv6()
- {
- $this->assertNotFalse(filter_var($this->faker->ipv6(), FILTER_VALIDATE_IP, FILTER_FLAG_IPV6));
- }
-
- public function testMacAddress()
- {
- $this->assertRegExp('/^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$/i', Internet::macAddress());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/LocalizationTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/LocalizationTest.php
deleted file mode 100644
index 6cfcc891..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/LocalizationTest.php
+++ /dev/null
@@ -1,27 +0,0 @@
-assertNotNull($faker->name(), 'Localized Name Provider ' . $matches[1] . ' does not throw errors');
- }
- }
-
- public function testLocalizedAddressProvidersDoNotThrowErrors()
- {
- foreach (glob(__DIR__ . '/../../../src/Faker/Provider/*/Address.php') as $localizedAddress) {
- preg_match('#/([a-zA-Z_]+)/Address\.php#', $localizedAddress, $matches);
- $faker = Factory::create($matches[1]);
- $this->assertNotNull($faker->address(), 'Localized Address Provider ' . $matches[1] . ' does not throw errors');
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/LoremTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/LoremTest.php
deleted file mode 100644
index 16d98891..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/LoremTest.php
+++ /dev/null
@@ -1,109 +0,0 @@
-assertEquals('Word word word word.', TestableLorem::text(24));
- }
-
- public function testTextReturnsSentencesWhenAskedSizeLessThan100()
- {
- $this->assertEquals('This is a test sentence. This is a test sentence. This is a test sentence.', TestableLorem::text(99));
- }
-
- public function testTextReturnsParagraphsWhenAskedSizeGreaterOrEqualThanThan100()
- {
- $this->assertEquals('This is a test paragraph. It has three sentences. Exactly three.', TestableLorem::text(100));
- }
-
- public function testSentenceWithZeroNbWordsReturnsEmptyString()
- {
- $this->assertEquals('', Lorem::sentence(0));
- }
-
- public function testSentenceWithNegativeNbWordsReturnsEmptyString()
- {
- $this->assertEquals('', Lorem::sentence(-1));
- }
-
- public function testParagraphWithZeroNbSentencesReturnsEmptyString()
- {
- $this->assertEquals('', Lorem::paragraph(0));
- }
-
- public function testParagraphWithNegativeNbSentencesReturnsEmptyString()
- {
- $this->assertEquals('', Lorem::paragraph(-1));
- }
-
- public function testSentenceWithPositiveNbWordsReturnsAtLeastOneWord()
- {
- $sentence = Lorem::sentence(1);
-
- $this->assertGreaterThan(1, strlen($sentence));
- $this->assertGreaterThanOrEqual(1, count(explode(' ', $sentence)));
- }
-
- public function testParagraphWithPositiveNbSentencesReturnsAtLeastOneWord()
- {
- $paragraph = Lorem::paragraph(1);
-
- $this->assertGreaterThan(1, strlen($paragraph));
- $this->assertGreaterThanOrEqual(1, count(explode(' ', $paragraph)));
- }
-
- public function testWordssAsText()
- {
- $words = TestableLorem::words(2, true);
-
- $this->assertEquals('word word', $words);
- }
-
- public function testSentencesAsText()
- {
- $sentences = TestableLorem::sentences(2, true);
-
- $this->assertEquals('This is a test sentence. This is a test sentence.', $sentences);
- }
-
- public function testParagraphsAsText()
- {
- $paragraphs = TestableLorem::paragraphs(2, true);
-
- $expected = "This is a test paragraph. It has three sentences. Exactly three.\n\nThis is a test paragraph. It has three sentences. Exactly three.";
- $this->assertEquals($expected, $paragraphs);
- }
-}
-
-class TestableLorem extends Lorem
-{
-
- public static function word()
- {
- return 'word';
- }
-
- public static function sentence($nbWords = 5, $variableNbWords = true)
- {
- return 'This is a test sentence.';
- }
-
- public static function paragraph($nbSentences = 3, $variableNbSentences = true)
- {
- return 'This is a test paragraph. It has three sentences. Exactly three.';
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/MiscellaneousTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/MiscellaneousTest.php
deleted file mode 100644
index 6a29cd55..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/MiscellaneousTest.php
+++ /dev/null
@@ -1,59 +0,0 @@
-assertContains(Miscellaneous::boolean(), array(true, false));
- }
-
- public function testMd5()
- {
- $this->assertRegExp('/^[a-z0-9]{32}$/', Miscellaneous::md5());
- }
-
- public function testSha1()
- {
- $this->assertRegExp('/^[a-z0-9]{40}$/', Miscellaneous::sha1());
- }
-
- public function testSha256()
- {
- $this->assertRegExp('/^[a-z0-9]{64}$/', Miscellaneous::sha256());
- }
-
- public function testLocale()
- {
- $this->assertRegExp('/^[a-z]{2,3}_[A-Z]{2}$/', Miscellaneous::locale());
- }
-
- public function testCountryCode()
- {
- $this->assertRegExp('/^[A-Z]{2}$/', Miscellaneous::countryCode());
- }
-
- public function testCountryISOAlpha3()
- {
- $this->assertRegExp('/^[A-Z]{3}$/', Miscellaneous::countryISOAlpha3());
- }
-
- public function testLanguage()
- {
- $this->assertRegExp('/^[a-z]{2}$/', Miscellaneous::languageCode());
- }
-
- public function testCurrencyCode()
- {
- $this->assertRegExp('/^[A-Z]{3}$/', Miscellaneous::currencyCode());
- }
-
- public function testEmoji()
- {
- $this->assertRegExp('/^[\x{1F600}-\x{1F637}]$/u', Miscellaneous::emoji());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/PaymentTest.php
deleted file mode 100644
index 966b9d63..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/PaymentTest.php
+++ /dev/null
@@ -1,209 +0,0 @@
-addProvider(new BaseProvider($faker));
- $faker->addProvider(new DateTimeProvider($faker));
- $faker->addProvider(new PersonProvider($faker));
- $faker->addProvider(new PaymentProvider($faker));
- $this->faker = $faker;
- }
-
- public function localeDataProvider()
- {
- $providerPath = realpath(__DIR__ . '/../../../src/Faker/Provider');
- $localePaths = array_filter(glob($providerPath . '/*', GLOB_ONLYDIR));
- foreach ($localePaths as $path) {
- $parts = explode('/', $path);
- $locales[] = array($parts[count($parts) - 1]);
- }
-
- return $locales;
- }
-
- public function loadLocalProviders($locale)
- {
- $providerPath = realpath(__DIR__ . '/../../../src/Faker/Provider');
- if (file_exists($providerPath.'/'.$locale.'/Payment.php')) {
- $payment = "\\Faker\\Provider\\$locale\\Payment";
- $this->faker->addProvider(new $payment($this->faker));
- }
- }
-
- public function testCreditCardTypeReturnsValidVendorName()
- {
- $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{15}$/'),
- array('Visa Retired', '/^4\d{12}$/'),
- array('MasterCard', '/^(5[1-5]|2[2-7])\d{14}$/')
- );
- }
-
- /**
- * @dataProvider creditCardNumberProvider
- */
- public function testCreditCardNumberReturnsValidCreditCardNumber($type, $regexp)
- {
- $cardNumber = $this->faker->creditCardNumber($type);
- $this->assertRegExp($regexp, $cardNumber);
- $this->assertTrue(Luhn::isValid($cardNumber));
- }
-
- public function testCreditCardNumberCanFormatOutput()
- {
- $this->assertRegExp('/^6011-\d{4}-\d{4}-\d{4}$/', $this->faker->creditCardNumber('Discover Card', true));
- }
-
- public function testCreditCardExpirationDateReturnsValidDateByDefault()
- {
- $expirationDate = $this->faker->creditCardExpirationDate;
- $this->assertTrue(intval($expirationDate->format('U')) > strtotime('now'));
- $this->assertTrue(intval($expirationDate->format('U')) < strtotime('+36 months'));
- }
-
- public function testRandomCard()
- {
- $cardDetails = $this->faker->creditCardDetails;
- $this->assertEquals(count($cardDetails), 4);
- $this->assertEquals(array('type', 'number', 'name', 'expirationDate'), array_keys($cardDetails));
- }
-
- protected $ibanFormats = array(
- 'AD' => '/^AD\d{2}\d{4}\d{4}[A-Z0-9]{12}$/',
- 'AE' => '/^AE\d{2}\d{3}\d{16}$/',
- 'AL' => '/^AL\d{2}\d{8}[A-Z0-9]{16}$/',
- 'AT' => '/^AT\d{2}\d{5}\d{11}$/',
- 'AZ' => '/^AZ\d{2}[A-Z]{4}[A-Z0-9]{20}$/',
- 'BA' => '/^BA\d{2}\d{3}\d{3}\d{8}\d{2}$/',
- 'BE' => '/^BE\d{2}\d{3}\d{7}\d{2}$/',
- 'BG' => '/^BG\d{2}[A-Z]{4}\d{4}\d{2}[A-Z0-9]{8}$/',
- 'BH' => '/^BH\d{2}[A-Z]{4}[A-Z0-9]{14}$/',
- 'BR' => '/^BR\d{2}\d{8}\d{5}\d{10}[A-Z]{1}[A-Z0-9]{1}$/',
- 'CH' => '/^CH\d{2}\d{5}[A-Z0-9]{12}$/',
- 'CR' => '/^CR\d{2}\d{3}\d{14}$/',
- 'CY' => '/^CY\d{2}\d{3}\d{5}[A-Z0-9]{16}$/',
- 'CZ' => '/^CZ\d{2}\d{4}\d{6}\d{10}$/',
- 'DE' => '/^DE\d{2}\d{8}\d{10}$/',
- 'DK' => '/^DK\d{2}\d{4}\d{9}\d{1}$/',
- 'DO' => '/^DO\d{2}[A-Z0-9]{4}\d{20}$/',
- 'EE' => '/^EE\d{2}\d{2}\d{2}\d{11}\d{1}$/',
- 'ES' => '/^ES\d{2}\d{4}\d{4}\d{1}\d{1}\d{10}$/',
- 'FI' => '/^FI\d{2}\d{6}\d{7}\d{1}$/',
- 'FR' => '/^FR\d{2}\d{5}\d{5}[A-Z0-9]{11}\d{2}$/',
- 'GB' => '/^GB\d{2}[A-Z]{4}\d{6}\d{8}$/',
- 'GE' => '/^GE\d{2}[A-Z]{2}\d{16}$/',
- 'GI' => '/^GI\d{2}[A-Z]{4}[A-Z0-9]{15}$/',
- 'GR' => '/^GR\d{2}\d{3}\d{4}[A-Z0-9]{16}$/',
- 'GT' => '/^GT\d{2}[A-Z0-9]{4}[A-Z0-9]{20}$/',
- 'HR' => '/^HR\d{2}\d{7}\d{10}$/',
- 'HU' => '/^HU\d{2}\d{3}\d{4}\d{1}\d{15}\d{1}$/',
- 'IE' => '/^IE\d{2}[A-Z]{4}\d{6}\d{8}$/',
- 'IL' => '/^IL\d{2}\d{3}\d{3}\d{13}$/',
- 'IS' => '/^IS\d{2}\d{4}\d{2}\d{6}\d{10}$/',
- 'IT' => '/^IT\d{2}[A-Z]{1}\d{5}\d{5}[A-Z0-9]{12}$/',
- 'KW' => '/^KW\d{2}[A-Z]{4}\d{22}$/',
- 'KZ' => '/^KZ\d{2}\d{3}[A-Z0-9]{13}$/',
- 'LB' => '/^LB\d{2}\d{4}[A-Z0-9]{20}$/',
- 'LI' => '/^LI\d{2}\d{5}[A-Z0-9]{12}$/',
- 'LT' => '/^LT\d{2}\d{5}\d{11}$/',
- 'LU' => '/^LU\d{2}\d{3}[A-Z0-9]{13}$/',
- 'LV' => '/^LV\d{2}[A-Z]{4}[A-Z0-9]{13}$/',
- 'MC' => '/^MC\d{2}\d{5}\d{5}[A-Z0-9]{11}\d{2}$/',
- 'MD' => '/^MD\d{2}[A-Z0-9]{2}[A-Z0-9]{18}$/',
- 'ME' => '/^ME\d{2}\d{3}\d{13}\d{2}$/',
- 'MK' => '/^MK\d{2}\d{3}[A-Z0-9]{10}\d{2}$/',
- 'MR' => '/^MR\d{2}\d{5}\d{5}\d{11}\d{2}$/',
- 'MT' => '/^MT\d{2}[A-Z]{4}\d{5}[A-Z0-9]{18}$/',
- 'MU' => '/^MU\d{2}[A-Z]{4}\d{2}\d{2}\d{12}\d{3}[A-Z]{3}$/',
- 'NL' => '/^NL\d{2}[A-Z]{4}\d{10}$/',
- 'NO' => '/^NO\d{2}\d{4}\d{6}\d{1}$/',
- 'PK' => '/^PK\d{2}[A-Z]{4}[A-Z0-9]{16}$/',
- 'PL' => '/^PL\d{2}\d{8}\d{16}$/',
- 'PS' => '/^PS\d{2}[A-Z]{4}[A-Z0-9]{21}$/',
- 'PT' => '/^PT\d{2}\d{4}\d{4}\d{11}\d{2}$/',
- 'RO' => '/^RO\d{2}[A-Z]{4}[A-Z0-9]{16}$/',
- 'RS' => '/^RS\d{2}\d{3}\d{13}\d{2}$/',
- 'SA' => '/^SA\d{2}\d{2}[A-Z0-9]{18}$/',
- 'SE' => '/^SE\d{2}\d{3}\d{16}\d{1}$/',
- 'SI' => '/^SI\d{2}\d{5}\d{8}\d{2}$/',
- 'SK' => '/^SK\d{2}\d{4}\d{6}\d{10}$/',
- 'SM' => '/^SM\d{2}[A-Z]{1}\d{5}\d{5}[A-Z0-9]{12}$/',
- 'TN' => '/^TN\d{2}\d{2}\d{3}\d{13}\d{2}$/',
- 'TR' => '/^TR\d{2}\d{5}\d{1}[A-Z0-9]{16}$/',
- 'VG' => '/^VG\d{2}[A-Z]{4}\d{16}$/',
- );
-
- /**
- * @dataProvider localeDataProvider
- */
- public function testBankAccountNumber($locale)
- {
- $parts = explode('_', $locale);
- $countryCode = array_pop($parts);
-
- if (!isset($this->ibanFormats[$countryCode])) {
- // No IBAN format available
- return;
- }
-
- $this->loadLocalProviders($locale);
-
- try {
- $iban = $this->faker->bankAccountNumber;
- } catch (\InvalidArgumentException $e) {
- // Not implemented, nothing to test
- $this->markTestSkipped("bankAccountNumber not implemented for $locale");
- return;
- }
-
- // Test format
- $this->assertRegExp($this->ibanFormats[$countryCode], $iban);
-
- // Test checksum
- $this->assertTrue(Iban::isValid($iban), "Checksum for $iban is invalid");
- }
-
- public function ibanFormatProvider()
- {
- $return = array();
- foreach ($this->ibanFormats as $countryCode => $regex) {
- $return[] = array($countryCode, $regex);
- }
- return $return;
- }
- /**
- * @dataProvider ibanFormatProvider
- */
- public function testIban($countryCode, $regex)
- {
- $iban = $this->faker->iban($countryCode);
-
- // Test format
- $this->assertRegExp($regex, $iban);
-
- // Test checksum
- $this->assertTrue(Iban::isValid($iban), "Checksum for $iban is invalid");
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/PersonTest.php
deleted file mode 100644
index f53076f7..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/PersonTest.php
+++ /dev/null
@@ -1,87 +0,0 @@
-addProvider(new Person($faker));
- $this->assertContains($faker->firstName($gender), $expected);
- }
-
- public function firstNameProvider()
- {
- return array(
- array(null, array('John', 'Jane')),
- array('foobar', array('John', 'Jane')),
- array('male', array('John')),
- array('female', array('Jane')),
- );
- }
-
- public function testFirstNameMale()
- {
- $this->assertContains(Person::firstNameMale(), array('John'));
- }
-
- public function testFirstNameFemale()
- {
- $this->assertContains(Person::firstNameFemale(), array('Jane'));
- }
-
- /**
- * @dataProvider titleProvider
- */
- public function testTitle($gender, $expected)
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $this->assertContains($faker->title($gender), $expected);
- }
-
- public function titleProvider()
- {
- return array(
- array(null, array('Mr.', 'Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.')),
- array('foobar', array('Mr.', 'Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.')),
- array('male', array('Mr.', 'Dr.', 'Prof.')),
- array('female', array('Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.')),
- );
- }
-
- public function testTitleMale()
- {
- $this->assertContains(Person::titleMale(), array('Mr.', 'Dr.', 'Prof.'));
- }
-
- public function testTitleFemale()
- {
- $this->assertContains(Person::titleFemale(), array('Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.'));
- }
-
- public function testLastNameReturnsDoe()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $this->assertEquals($faker->lastName(), 'Doe');
- }
-
- public function testNameReturnsFirstNameAndLastName()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $this->assertContains($faker->name(), array('John Doe', 'Jane Doe'));
- $this->assertContains($faker->name('foobar'), array('John Doe', 'Jane Doe'));
- $this->assertContains($faker->name('male'), array('John Doe'));
- $this->assertContains($faker->name('female'), array('Jane Doe'));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/PhoneNumberTest.php
deleted file mode 100644
index 520ecea3..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/PhoneNumberTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumberFormat()
- {
- $number = $this->faker->e164PhoneNumber();
- $this->assertRegExp('/^\+[0-9]{11,}$/', $number);
- }
-
- public function testImeiReturnsValidNumber()
- {
- $imei = $this->faker->imei();
- $this->assertTrue(Luhn::isValid($imei));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php
deleted file mode 100644
index 61d7d63a..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ProviderOverrideTest.php
+++ /dev/null
@@ -1,194 +0,0 @@
-
- */
-
-namespace Faker\Test\Provider;
-
-use Faker;
-use PHPUnit\Framework\TestCase;
-
-/**
- * Class ProviderOverrideTest
- *
- * @package Faker\Test\Provider
- *
- * This class tests a large portion of all locale specific providers. It does not test the entire stack, because each
- * 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 TestCase
-{
- /**
- * Constants with regular expression patterns for testing the output.
- *
- * Regular expressions are sensitive for malformed strings (e.g.: strings with incorrect encodings) so by using
- * PCRE for the tests, even though they seem fairly pointless, we test for incorrect encodings also.
- */
- const TEST_STRING_REGEX = '/.+/u';
-
- /**
- * Slightly more specific for e-mail, the point isn't to properly validate e-mails.
- */
- const TEST_EMAIL_REGEX = '/^(.+)@(.+)$/ui';
-
- /**
- * @dataProvider localeDataProvider
- * @param string $locale
- */
- public function testAddress($locale = null)
- {
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->city);
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->postcode);
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->address);
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->country);
- }
-
-
- /**
- * @dataProvider localeDataProvider
- * @param string $locale
- */
- public function testCompany($locale = null)
- {
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->company);
- }
-
-
- /**
- * @dataProvider localeDataProvider
- * @param string $locale
- */
- public function testDateTime($locale = null)
- {
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->century);
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->timezone);
- }
-
-
- /**
- * @dataProvider localeDataProvider
- * @param string $locale
- */
- public function testInternet($locale = null)
- {
- if ($locale && $locale !== 'en_US' && !class_exists('Transliterator')) {
- $this->markTestSkipped('Transliterator class not available (intl extension)');
- }
-
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->userName);
-
- $this->assertRegExp(static::TEST_EMAIL_REGEX, $faker->email);
- $this->assertRegExp(static::TEST_EMAIL_REGEX, $faker->safeEmail);
- $this->assertRegExp(static::TEST_EMAIL_REGEX, $faker->freeEmail);
- $this->assertRegExp(static::TEST_EMAIL_REGEX, $faker->companyEmail);
- }
-
-
- /**
- * @dataProvider localeDataProvider
- * @param string $locale
- */
- public function testPerson($locale = null)
- {
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->name);
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->title);
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->firstName);
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->lastName);
- }
-
-
- /**
- * @dataProvider localeDataProvider
- * @param string $locale
- */
- public function testPhoneNumber($locale = null)
- {
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->phoneNumber);
- }
-
-
- /**
- * @dataProvider localeDataProvider
- * @param string $locale
- */
- public function testUserAgent($locale = null)
- {
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->userAgent);
- }
-
-
- /**
- * @dataProvider localeDataProvider
- *
- * @param null $locale
- * @param string $locale
- */
- public function testUuid($locale = null)
- {
- $faker = Faker\Factory::create($locale);
-
- $this->assertRegExp(static::TEST_STRING_REGEX, $faker->uuid);
- }
-
-
- /**
- * @return array
- */
- public function localeDataProvider()
- {
- $locales = $this->getAllLocales();
- $data = array();
-
- foreach ($locales as $locale) {
- $data[] = array(
- $locale
- );
- }
-
- return $data;
- }
-
-
- /**
- * Returns all locales as array values
- *
- * @return array
- */
- private function getAllLocales()
- {
- static $locales = array();
-
- if ( ! empty($locales)) {
- return $locales;
- }
-
- // Finding all PHP files in the xx_XX directories
- $providerDir = __DIR__ .'/../../../src/Faker/Provider';
- foreach (glob($providerDir .'/*_*/*.php') as $file) {
- $localisation = basename(dirname($file));
-
- if (isset($locales[ $localisation ])) {
- continue;
- }
-
- $locales[ $localisation ] = $localisation;
- }
-
- return $locales;
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/TextTest.php
deleted file mode 100644
index a43d8d43..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/TextTest.php
+++ /dev/null
@@ -1,55 +0,0 @@
-addProvider(new Text($generator));
- $generator->seed(0);
-
- $lengths = array(10, 20, 50, 70, 90, 120, 150, 200, 500);
-
- foreach ($lengths as $length) {
- $this->assertLessThan($length, $generator->realText($length));
- }
- }
-
- /**
- * @expectedException \InvalidArgumentException
- */
- public function testTextMaxIndex()
- {
- $generator = new Generator();
- $generator->addProvider(new Text($generator));
- $generator->seed(0);
- $generator->realText(200, 11);
- }
-
- /**
- * @expectedException \InvalidArgumentException
- */
- public function testTextMinIndex()
- {
- $generator = new Generator();
- $generator->addProvider(new Text($generator));
- $generator->seed(0);
- $generator->realText(200, 0);
- }
-
- /**
- * @expectedException \InvalidArgumentException
- */
- public function testTextMinLength()
- {
- $generator = new Generator();
- $generator->addProvider(new Text($generator));
- $generator->seed(0);
- $generator->realText(9);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/UserAgentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/UserAgentTest.php
deleted file mode 100644
index 5ba2459c..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/UserAgentTest.php
+++ /dev/null
@@ -1,39 +0,0 @@
-assertNotNull(UserAgent::userAgent());
- }
-
- public function testFirefoxUserAgent()
- {
- $this->stringContains(' Firefox/', UserAgent::firefox());
- }
-
- public function testSafariUserAgent()
- {
- $this->stringContains('Safari/', UserAgent::safari());
- }
-
- public function testInternetExplorerUserAgent()
- {
- $this->assertStringStartsWith('Mozilla/5.0 (compatible; MSIE ', UserAgent::internetExplorer());
- }
-
- public function testOperaUserAgent()
- {
- $this->assertStringStartsWith('Opera/', UserAgent::opera());
- }
-
- public function testChromeUserAgent()
- {
- $this->stringContains('(KHTML, like Gecko) Chrome/', UserAgent::chrome());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/UuidTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/UuidTest.php
deleted file mode 100644
index 5c639cac..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/UuidTest.php
+++ /dev/null
@@ -1,32 +0,0 @@
-assertTrue($this->isUuid($uuid));
- }
-
- 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());
- $this->assertEquals("073eb60a-902c-30ab-93d0-a94db371f6c8", BaseProvider::uuid());
- }
-
- protected function isUuid($uuid)
- {
- return is_string($uuid) && (bool) preg_match('/^[a-f0-9]{8,8}-(?:[a-f0-9]{4,4}-){3,3}[a-f0-9]{12,12}$/i', $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
deleted file mode 100644
index 33d70c43..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ar_JO/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ar_SA/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ar_SA/InternetTest.php
deleted file mode 100644
index 8059f000..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ar_SA/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/at_AT/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/at_AT/PaymentTest.php
deleted file mode 100644
index f62dae81..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/at_AT/PaymentTest.php
+++ /dev/null
@@ -1,31 +0,0 @@
-addProvider(new Payment($faker));
- $this->faker = $faker;
- }
-
- public function testVatIsValid()
- {
- $vat = $this->faker->vat();
- $unspacedVat = $this->faker->vat(false);
- $this->assertRegExp('/^(AT U\d{8})$/', $vat);
- $this->assertRegExp('/^(ATU\d{8})$/', $unspacedVat);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/bg_BG/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/bg_BG/PaymentTest.php
deleted file mode 100644
index b5645f9b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/bg_BG/PaymentTest.php
+++ /dev/null
@@ -1,31 +0,0 @@
-addProvider(new Payment($faker));
- $this->faker = $faker;
- }
-
- public function testVatIsValid()
- {
- $vat = $this->faker->vat();
- $unspacedVat = $this->faker->vat(false);
- $this->assertRegExp('/^(BG \d{9,10})$/', $vat);
- $this->assertRegExp('/^(BG\d{9,10})$/', $unspacedVat);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/bn_BD/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/bn_BD/PersonTest.php
deleted file mode 100644
index e82fe8b7..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/bn_BD/PersonTest.php
+++ /dev/null
@@ -1,30 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testIfFirstNameMaleCanReturnData()
- {
- $firstNameMale = $this->faker->firstNameMale();
- $this->assertNotEmpty($firstNameMale);
- }
-
- public function testIfFirstNameFemaleCanReturnData()
- {
- $firstNameFemale = $this->faker->firstNameFemale();
- $this->assertNotEmpty($firstNameFemale);
- }
-}
-?>
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/cs_CZ/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/cs_CZ/PersonTest.php
deleted file mode 100644
index 0b198725..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/cs_CZ/PersonTest.php
+++ /dev/null
@@ -1,47 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Miscellaneous($faker));
-
- for ($i = 0; $i < 1000; $i++) {
- $birthNumber = $faker->birthNumber();
- $birthNumber = str_replace('/', '', $birthNumber);
-
- // check date
- $year = intval(substr($birthNumber, 0, 2), 10);
- $month = intval(substr($birthNumber, 2, 2), 10);
- $day = intval(substr($birthNumber, 4, 2), 10);
-
- // make 4 digit year from 2 digit representation
- $year += $year < 54 ? 2000 : 1900;
-
- // adjust special cases for month
- if ($month > 50) $month -= 50;
- if ($year >= 2004 && $month > 20) $month -= 20;
-
- $this->assertTrue(checkdate($month, $day, $year), "Birth number $birthNumber: date $year/$month/$day is invalid.");
-
- // check CRC if presented
- if (strlen($birthNumber) == 10) {
- $crc = intval(substr($birthNumber, -1), 10);
- $refCrc = intval(substr($birthNumber, 0, -1), 10) % 11;
- if ($refCrc == 10) {
- $refCrc = 0;
- }
- $this->assertEquals($crc, $refCrc, "Birth number $birthNumber: checksum $crc doesn't match expected $refCrc.");
- }
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/da_DK/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/da_DK/InternetTest.php
deleted file mode 100644
index 43c09be4..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/da_DK/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/InternetTest.php
deleted file mode 100644
index 1d778eea..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/PhoneNumberTest.php
deleted file mode 100644
index 7cc6e6b1..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/de_AT/PhoneNumberTest.php
+++ /dev/null
@@ -1,29 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumberFormat()
- {
- $number = $this->faker->phoneNumber;
- $this->assertRegExp('/^06\d{2} \d{7}|\+43 \d{4} \d{4}(-\d{2})?$/', $number);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/AddressTest.php
deleted file mode 100644
index 668f2117..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/AddressTest.php
+++ /dev/null
@@ -1,70 +0,0 @@
-addProvider(new Address($faker));
- $faker->addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- /**
- * @test
- */
- public function canton ()
- {
- $canton = $this->faker->canton();
- $this->assertInternalType('array', $canton);
- $this->assertCount(1, $canton);
-
- foreach ($canton as $cantonShort => $cantonName){
- $this->assertInternalType('string', $cantonShort);
- $this->assertEquals(2, strlen($cantonShort));
- $this->assertInternalType('string', $cantonName);
- $this->assertGreaterThan(2, strlen($cantonName));
- }
- }
-
- /**
- * @test
- */
- public function cantonName ()
- {
- $cantonName = $this->faker->cantonName();
- $this->assertInternalType('string', $cantonName);
- $this->assertGreaterThan(2, strlen($cantonName));
- }
-
- /**
- * @test
- */
- public function cantonShort ()
- {
- $cantonShort = $this->faker->cantonShort();
- $this->assertInternalType('string', $cantonShort);
- $this->assertEquals(2, strlen($cantonShort));
- }
-
- /**
- * @test
- */
- public function address (){
- $address = $this->faker->address();
- $this->assertInternalType('string', $address);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/InternetTest.php
deleted file mode 100644
index 31dcc552..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/InternetTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- /**
- * @test
- */
- public function emailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/PhoneNumberTest.php
deleted file mode 100644
index 5102297c..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/de_CH/PhoneNumberTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumber()
- {
- $this->assertRegExp('/^0\d{2} ?\d{3} ?\d{2} ?\d{2}|\+41 ?(\(0\))?\d{2} ?\d{3} ?\d{2} ?\d{2}$/', $this->faker->phoneNumber());
- }
-
- public function testMobileNumber()
- {
- $this->assertRegExp('/^07[56789] ?\d{3} ?\d{2} ?\d{2}$/', $this->faker->mobileNumber());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/de_DE/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/de_DE/InternetTest.php
deleted file mode 100644
index a15f3664..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/de_DE/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/el_GR/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/el_GR/TextTest.php
deleted file mode 100644
index 3f03dd3a..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/el_GR/TextTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-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
deleted file mode 100644
index b2f72e8b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_AU/AddressTest.php
+++ /dev/null
@@ -1,49 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- public function testCityPrefix()
- {
- $cityPrefix = $this->faker->cityPrefix();
- $this->assertNotEmpty($cityPrefix);
- $this->assertInternalType('string', $cityPrefix);
- $this->assertRegExp('/[A-Z][a-z]+/', $cityPrefix);
- }
-
- public function testStreetSuffix()
- {
- $streetSuffix = $this->faker->streetSuffix();
- $this->assertNotEmpty($streetSuffix);
- $this->assertInternalType('string', $streetSuffix);
- $this->assertRegExp('/[A-Z][a-z]+/', $streetSuffix);
- }
-
- public function testState()
- {
- $state = $this->faker->state();
- $this->assertNotEmpty($state);
- $this->assertInternalType('string', $state);
- $this->assertRegExp('/[A-Z][a-z]+/', $state);
- }
-}
-
-?>
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_CA/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_CA/AddressTest.php
deleted file mode 100644
index 6b1ece72..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_CA/AddressTest.php
+++ /dev/null
@@ -1,69 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- /**
- * Test the validity of province
- */
- public function testProvince()
- {
- $province = $this->faker->province();
- $this->assertNotEmpty($province);
- $this->assertInternalType('string', $province);
- $this->assertRegExp('/[A-Z][a-z]+/', $province);
- }
-
- /**
- * Test the validity of province abbreviation
- */
- public function testProvinceAbbr()
- {
- $provinceAbbr = $this->faker->provinceAbbr();
- $this->assertNotEmpty($provinceAbbr);
- $this->assertInternalType('string', $provinceAbbr);
- $this->assertRegExp('/^[A-Z]{2}$/', $provinceAbbr);
- }
-
- /**
- * Test the validity of postcode letter
- */
- public function testPostcodeLetter()
- {
- $postcodeLetter = $this->faker->randomPostcodeLetter();
- $this->assertNotEmpty($postcodeLetter);
- $this->assertInternalType('string', $postcodeLetter);
- $this->assertRegExp('/^[A-Z]{1}$/', $postcodeLetter);
- }
-
- /**
- * Test the validity of Canadian postcode
- */
- public function testPostcode()
- {
- $postcode = $this->faker->postcode();
- $this->assertNotEmpty($postcode);
- $this->assertInternalType('string', $postcode);
- $this->assertRegExp('/^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/', $postcode);
- }
-}
-
-?>
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_GB/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_GB/AddressTest.php
deleted file mode 100644
index 762e11a8..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_GB/AddressTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- /**
- *
- */
- public function testPostcode()
- {
-
- $postcode = $this->faker->postcode();
- $this->assertNotEmpty($postcode);
- $this->assertInternalType('string', $postcode);
- $this->assertRegExp('@^(GIR ?0AA|[A-PR-UWYZ]([0-9]{1,2}|([A-HK-Y][0-9]([0-9ABEHMNPRV-Y])?)|[0-9][A-HJKPS-UW]) ?[0-9][ABD-HJLNP-UW-Z]{2})$@i', $postcode);
-
- }
-
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_IN/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_IN/AddressTest.php
deleted file mode 100644
index 125cbdf0..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_IN/AddressTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- public function testCity()
- {
- $city = $this->faker->city();
- $this->assertNotEmpty($city);
- $this->assertInternalType('string', $city);
- $this->assertRegExp('/[A-Z][a-z]+/', $city);
- }
-
- public function testCountry()
- {
- $country = $this->faker->country();
- $this->assertNotEmpty($country);
- $this->assertInternalType('string', $country);
- $this->assertRegExp('/[A-Z][a-z]+/', $country);
- }
-
- public function testLocalityName()
- {
- $localityName = $this->faker->localityName();
- $this->assertNotEmpty($localityName);
- $this->assertInternalType('string', $localityName);
- $this->assertRegExp('/[A-Z][a-z]+/', $localityName);
- }
-
- public function testAreaSuffix()
- {
- $areaSuffix = $this->faker->areaSuffix();
- $this->assertNotEmpty($areaSuffix);
- $this->assertInternalType('string', $areaSuffix);
- $this->assertRegExp('/[A-Z][a-z]+/', $areaSuffix);
- }
-}
-
-?>
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/AddressTest.php
deleted file mode 100644
index 27c591b7..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/AddressTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- /**
- *
- */
- public function testPostcodeIsNotEmptyAndIsValid()
- {
- $postcode = $this->faker->postcode();
-
- $this->assertNotEmpty($postcode);
- $this->assertInternalType('string', $postcode);
- }
-
- /**
- * Test the name of the Nigerian State/County
- */
- public function testCountyIsAValidString()
- {
- $county = $this->faker->county;
-
- $this->assertNotEmpty($county);
- $this->assertInternalType('string', $county);
- }
-
- /**
- * Test the name of the Nigerian Region in a State.
- */
- public function testRegionIsAValidString()
- {
- $region = $this->faker->region;
-
- $this->assertNotEmpty($region);
- $this->assertInternalType('string', $region);
- }
-
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/InternetTest.php
deleted file mode 100644
index 6ebc620f..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- $this->assertNotEmpty($email);
- $this->assertInternalType('string', $email);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PersonTest.php
deleted file mode 100644
index 2180e36e..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PersonTest.php
+++ /dev/null
@@ -1,30 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testPersonNameIsAValidString()
- {
- $name = $this->faker->name;
-
- $this->assertNotEmpty($name);
- $this->assertInternalType('string', $name);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PhoneNumberTest.php
deleted file mode 100644
index c591b8ab..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NG/PhoneNumberTest.php
+++ /dev/null
@@ -1,26 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumberReturnsPhoneNumberWithOrWithoutCountryCode()
- {
- $phoneNumber = $this->faker->phoneNumber();
-
- $this->assertNotEmpty($phoneNumber);
- $this->assertInternalType('string', $phoneNumber);
- $this->assertRegExp('/^(0|(\+234))\s?[789][01]\d\s?(\d{3}\s?\d{4})/', $phoneNumber);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_NZ/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_NZ/PhoneNumberTest.php
deleted file mode 100644
index 14b145c7..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_NZ/PhoneNumberTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testIfPhoneNumberCanReturnData()
- {
- $number = $this->faker->phoneNumber;
- $this->assertNotEmpty($number);
- }
-
- public function phoneNumberFormat()
- {
- $number = $this->faker->phoneNumber;
- $this->assertRegExp('/(^\([0]\d{1}\))(\d{7}$)|(^\([0][2]\d{1}\))(\d{6,8}$)|([0][8][0][0])([\s])(\d{5,8}$)/', $number);
- }
-}
-?>
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_PH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_PH/AddressTest.php
deleted file mode 100644
index 19367a49..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_PH/AddressTest.php
+++ /dev/null
@@ -1,50 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- public function testProvince()
- {
- $province = $this->faker->province();
- $this->assertNotEmpty($province);
- $this->assertInternalType('string', $province);
- }
-
- public function testCity()
- {
- $city = $this->faker->city();
- $this->assertNotEmpty($city);
- $this->assertInternalType('string', $city);
- }
-
- public function testMunicipality()
- {
- $municipality = $this->faker->municipality();
- $this->assertNotEmpty($municipality);
- $this->assertInternalType('string', $municipality);
- }
-
- public function testBarangay()
- {
- $barangay = $this->faker->barangay();
- $this->assertInternalType('string', $barangay);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/AddressTest.php
deleted file mode 100644
index abc62aac..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/AddressTest.php
+++ /dev/null
@@ -1,27 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- public function testStreetNumber()
- {
- $this->assertRegExp('/^\d{2,3}$/', $this->faker->streetNumber());
- }
-
- public function testBlockNumber()
- {
- $this->assertRegExp('/^Blk\s*\d{2,3}[A-H]*$/i', $this->faker->blockNumber());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/PhoneNumberTest.php
deleted file mode 100644
index c8bb13f8..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_SG/PhoneNumberTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-faker = Factory::create('en_SG');
- $this->faker->seed(1);
- $this->faker->addProvider(new PhoneNumber($this->faker));
- }
-
- // http://en.wikipedia.org/wiki/Telephone_numbers_in_Singapore#Numbering_plan
- // y means 0 to 8 only
- // x means 0 to 9
- public function testMobilePhoneNumberStartWith9Returns9yxxxxxx()
- {
- $startsWith9 = false;
- while (!$startsWith9) {
- $mobileNumber = $this->faker->mobileNumber();
- $startsWith9 = preg_match('/^(\+65|65)?\s*9/', $mobileNumber);
- }
-
- $this->assertRegExp('/^(\+65|65)?\s*9\s*[0-8]{3}\s*\d{4}$/', $mobileNumber);
- }
-
- // http://en.wikipedia.org/wiki/Telephone_numbers_in_Singapore#Numbering_plan
- // z means 1 to 9 only
- // x means 0 to 9
- public function testMobilePhoneNumberStartWith7Or8Returns7Or8zxxxxxx()
- {
- $startsWith7Or8 = false;
- while (!$startsWith7Or8) {
- $mobileNumber = $this->faker->mobileNumber();
- $startsWith7Or8 = preg_match('/^(\+65|65)?\s*[7-8]/', $mobileNumber);
- }
- $this->assertRegExp('/^(\+65|65)?\s*[7-8]\s*[1-9]{3}\s*\d{4}$/', $mobileNumber);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_UG/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_UG/AddressTest.php
deleted file mode 100644
index 571d93fb..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_UG/AddressTest.php
+++ /dev/null
@@ -1,53 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- /**
- * @test
- */
- public function testCityName()
- {
- $city = $this->faker->cityName();
- $this->assertNotEmpty($city);
- $this->assertInternalType('string', $city);
- }
-
- /**
- * @test
- */
- public function testDistrict()
- {
- $district = $this->faker->district();
- $this->assertNotEmpty($district);
- $this->assertInternalType('string', $district);
- }
-
- /**
- * @test
- */
- public function testRegion()
- {
- $region = $this->faker->region();
- $this->assertNotEmpty($region);
- $this->assertInternaltype('string', $region);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/CompanyTest.php
deleted file mode 100644
index 735d8339..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/CompanyTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-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
deleted file mode 100644
index ec82691b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PaymentTest.php
+++ /dev/null
@@ -1,85 +0,0 @@
-addProvider(new Payment($faker));
- $this->faker = $faker;
- }
-
- public function testBankAccountNumber()
- {
- $accNo = $this->faker->bankAccountNumber;
- $this->assertTrue(ctype_digit($accNo));
- $this->assertLessThanOrEqual(17, strlen($accNo));
- }
-
- public function testBankRoutingNumber()
- {
- $routingNo = $this->faker->bankRoutingNumber;
- $this->assertRegExp('/^\d{9}$/', $routingNo);
- $this->assertEquals(Payment::calculateRoutingNumberChecksum($routingNo), $routingNo[8]);
- }
-
- public function routingNumberProvider()
- {
- return array(
- array('122105155'),
- array('082000549'),
- array('121122676'),
- array('122235821'),
- array('102101645'),
- array('102000021'),
- array('123103729'),
- array('071904779'),
- array('081202759'),
- array('074900783'),
- array('104000029'),
- array('073000545'),
- array('101000187'),
- array('042100175'),
- array('083900363'),
- array('091215927'),
- array('091300023'),
- array('091000022'),
- array('081000210'),
- array('101200453'),
- array('092900383'),
- array('104000029'),
- array('121201694'),
- array('107002312'),
- array('091300023'),
- array('041202582'),
- array('042000013'),
- array('123000220'),
- array('091408501'),
- array('064000059'),
- array('124302150'),
- array('125000105'),
- array('075000022'),
- array('307070115'),
- array('091000022'),
- );
- }
-
- /**
- * @dataProvider routingNumberProvider
- */
- public function testCalculateRoutingNumberChecksum($routingNo)
- {
- $this->assertEquals($routingNo[8], Payment::calculateRoutingNumberChecksum($routingNo), $routingNo);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PersonTest.php
deleted file mode 100644
index 3ddb38b2..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PersonTest.php
+++ /dev/null
@@ -1,48 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testSsn()
- {
- for ($i = 0; $i < 100; $i++) {
- $number = $this->faker->ssn;
-
- // should be in the format ###-##-####
- $this->assertRegExp('/^[0-9]{3}-[0-9]{2}-[0-9]{4}$/', $number);
-
- $parts = explode("-", $number);
-
- // first part must be between 001 and 899, excluding 666
- $this->assertNotEquals(666, $parts[0]);
- $this->assertGreaterThan(0, $parts[0]);
- $this->assertLessThan(900, $parts[0]);
-
- // second part must be between 01 and 99
- $this->assertGreaterThan(0, $parts[1]);
- $this->assertLessThan(100, $parts[1]);
-
- // the third part must be between 0001 and 9999
- $this->assertGreaterThan(0, $parts[2]);
- $this->assertLessThan(10000, $parts[2]);
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PhoneNumberTest.php
deleted file mode 100644
index a54ff882..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_US/PhoneNumberTest.php
+++ /dev/null
@@ -1,85 +0,0 @@
-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'));
-
- // Prefix '1' allowed
- if (count($digits) === 11) {
- $this->assertEquals('1', $digits[0]);
- $digits = array_slice($digits, 1);
- }
-
- // 10 digits
- $this->assertEquals(10, count($digits));
-
- // Last two digits of area code cannot be identical
- $this->assertNotEquals($digits[1], $digits[2]);
-
- // Last two digits of exchange code cannot be 1
- if ($digits[4] === 1) {
- $this->assertNotEquals($digits[4], $digits[5]);
- }
-
- // Test format
- $this->assertRegExp('/^(\+?1)?([ -.]*\d{3}[ -.]*| *\(\d{3}\) *)\d{3}[-.]?\d{4}$/', $baseNumber);
- }
- }
-
- public function testTollFreeAreaCode()
- {
- $this->assertContains($this->faker->tollFreeAreaCode, array(800, 822, 833, 844, 855, 866, 877, 888, 880, 887, 889));
- }
-
- public function testTollFreePhoneNumber()
- {
- for ($i = 0; $i < 100; $i++) {
- $number = $this->faker->tollFreePhoneNumber;
- $digits = array_values(array_filter(str_split($number), 'ctype_digit'));
-
- // Prefix '1' allowed
- if (count($digits) === 11) {
- $this->assertEquals('1', $digits[0]);
- $digits = array_slice($digits, 1);
- }
-
- // 10 digits
- $this->assertEquals(10, count($digits));
-
- $areaCode = $digits[0] . $digits[1] . $digits[2];
- $this->assertContains($areaCode, array('800', '822', '833', '844', '855', '866', '877', '888', '880', '887', '889'));
-
- // Last two digits of exchange code cannot be 1
- if ($digits[4] === 1) {
- $this->assertNotEquals($digits[4], $digits[5]);
- }
-
- // Test format
- $this->assertRegExp('/^(\+?1)?([ -.]*\d{3}[ -.]*| *\(\d{3}\) *)\d{3}[-.]?\d{4}$/', $number);
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/CompanyTest.php
deleted file mode 100644
index 0e51d492..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/CompanyTest.php
+++ /dev/null
@@ -1,27 +0,0 @@
-addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testGenerateValidCompanyNumber()
- {
- $companyRegNo = $this->faker->companyNumber();
-
- $this->assertEquals(14, strlen($companyRegNo));
- $this->assertRegExp('#^\d{4}/\d{6}/\d{2}$#', $companyRegNo);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/InternetTest.php
deleted file mode 100644
index 02c29404..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PersonTest.php
deleted file mode 100644
index d7973e72..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PersonTest.php
+++ /dev/null
@@ -1,69 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new DateTime($faker));
- $this->faker = $faker;
- }
-
- public function testIdNumberWithDefaults()
- {
- $idNumber = $this->faker->idNumber();
-
- $this->assertEquals(13, strlen($idNumber));
- $this->assertRegExp('#^\d{13}$#', $idNumber);
- $this->assertInternalType('string', $idNumber);
- }
-
- public function testIdNumberForMales()
- {
- $idNumber = $this->faker->idNumber(new \DateTime(), true, 'male');
-
- $genderDigit = substr($idNumber, 6, 1);
-
- $this->assertContains($genderDigit, array('5', '6', '7', '8', '9'));
- }
-
- public function testIdNumberForFemales()
- {
- $idNumber = $this->faker->idNumber(new \DateTime(), true, 'female');
-
- $genderDigit = substr($idNumber, 6, 1);
-
- $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
deleted file mode 100644
index 37b781b5..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/en_ZA/PhoneNumberTest.php
+++ /dev/null
@@ -1,66 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumber()
- {
- for ($i = 0; $i < 10; $i++) {
- $number = $this->faker->phoneNumber;
-
- $digits = array_values(array_filter(str_split($number), 'ctype_digit'));
-
- // 10 digits
- if($digits[0] = 2 && $digits[1] == 7) {
- $this->assertLessThanOrEqual(11, count($digits));
- } else {
- $this->assertGreaterThanOrEqual(10, count($digits));
- }
- }
- }
-
- public function testTollFreePhoneNumber()
- {
- for ($i = 0; $i < 10; $i++) {
- $number = $this->faker->tollFreeNumber;
- $digits = array_values(array_filter(str_split($number), 'ctype_digit'));
-
- if (count($digits) === 11) {
- $this->assertEquals('0', $digits[0]);
- }
-
- $areaCode = $digits[0] . $digits[1] . $digits[2] . $digits[3];
- $this->assertContains($areaCode, array('0800', '0860', '0861', '0862'));
- }
- }
-
- public function testCellPhoneNumber()
- {
- for ($i = 0; $i < 10; $i++) {
- $number = $this->faker->mobileNumber;
- $digits = array_values(array_filter(str_split($number), 'ctype_digit'));
-
- if($digits[0] = 2 && $digits[1] == 7) {
- $this->assertLessThanOrEqual(11, count($digits));
- } else {
- $this->assertGreaterThanOrEqual(10, count($digits));
- }
-
- $this->assertRegExp('/^(\+27|27)?(\()?0?([6][0-4]|[7][1-9]|[8][1-9])(\))?( |-|\.|_)?(\d{3})( |-|\.|_)?(\d{4})/', $number);
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PaymentTest.php
deleted file mode 100644
index e636544b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PaymentTest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-addProvider(new Payment($faker));
- $this->faker = $faker;
- }
-
- public function testVAT()
- {
- $vat = $this->faker->vat();
-
- $this->assertTrue($this->isValidCIF($vat));
- }
-
- /**
- * Validation taken from https://github.com/amnesty/drupal-nif-nie-cif-validator/
- * @link https://github.com/amnesty/drupal-nif-nie-cif-validator/blob/master/includes/nif-nie-cif.php
- */
- function isValidCIF($docNumber)
- {
- $fixedDocNumber = strtoupper($docNumber);
-
- return $this->isValidCIFFormat($fixedDocNumber);
- }
-
- function isValidCIFFormat($docNumber)
- {
- return $this->respectsDocPattern($docNumber, '/^[PQSNWR][0-9][0-9][0-9][0-9][0-9][0-9][0-9][A-Z0-9]/')
- ||
- $this->respectsDocPattern($docNumber, '/^[ABCDEFGHJUV][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/');
- }
-
- function respectsDocPattern($givenString, $pattern)
- {
- $isValid = FALSE;
- $fixedString = strtoupper($givenString);
- if (is_int(substr($fixedString, 0, 1))) {
- $fixedString = substr("000000000" . $givenString, -9);
- }
- if (preg_match($pattern, $fixedString)) {
- $isValid = TRUE;
- }
- return $isValid;
- }
-
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PersonTest.php
deleted file mode 100644
index e29f3f90..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/PersonTest.php
+++ /dev/null
@@ -1,46 +0,0 @@
-seed(1);
- $faker->addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testDNI()
- {
- $dni = $this->faker->dni;
- $this->assertTrue($this->isValidDNI($dni));
- }
-
- // validation taken from http://kiwwito.com/php-function-for-spanish-dni-nie-validation/
- public function isValidDNI($string)
- {
- if (strlen($string) != 9 ||
- preg_match('/^[XYZ]?([0-9]{7,8})([A-Z])$/i', $string, $matches) !== 1) {
- return false;
- }
-
- $map = 'TRWAGMYFPDXBNJZSQVHLCKE';
-
- list(, $number, $letter) = $matches;
-
- 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
deleted file mode 100644
index a8ae3486..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/es_ES/TextTest.php
+++ /dev/null
@@ -1,27 +0,0 @@
-addProvider(new Text($faker));
- $this->faker = $faker;
- }
-
- public function testText()
- {
- $this->assertNotSame('', $this->faker->realtext(200, 2));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_PE/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_PE/PersonTest.php
deleted file mode 100644
index 60149387..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/es_PE/PersonTest.php
+++ /dev/null
@@ -1,29 +0,0 @@
-seed(1);
- $faker->addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testDNI()
- {
- $dni = $this->faker->dni;
- $this->assertRegExp('/\A[0-9]{8}\Z/', $dni);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/CompanyTest.php
deleted file mode 100644
index 3c9b162a..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/CompanyTest.php
+++ /dev/null
@@ -1,43 +0,0 @@
- 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
deleted file mode 100644
index bb42cd75..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/es_VE/PersonTest.php
+++ /dev/null
@@ -1,43 +0,0 @@
-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
deleted file mode 100644
index 6009bbd1..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/InternetTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testEmailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/PersonTest.php
deleted file mode 100644
index b979666e..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fi_FI/PersonTest.php
+++ /dev/null
@@ -1,82 +0,0 @@
-addProvider(new DateTime($faker));
- $faker->addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function provideSeedAndExpectedReturn()
- {
- return array(
- array(1, '1800-01-01', '010100+5207'),
- array(2, '1930-08-08', '080830-508R'),
- array(3, '1999-12-31', '311299-409D'),
- array(4, '2000-01-01', '010100A039P'),
- array(5, '2015-06-17', '170615A690X')
- );
- }
-
- /**
- * @dataProvider provideSeedAndExpectedReturn
- */
- public function testPersonalIdentityNumberUsesBirthDateIfProvided($seed, $birthdate, $expected)
- {
- $faker = $this->faker;
- $faker->seed($seed);
- $pin = $faker->personalIdentityNumber(\DateTime::createFromFormat('Y-m-d', $birthdate));
- $this->assertEquals($expected, $pin);
- }
-
- public function testPersonalIdentityNumberGeneratesCompliantNumbers()
- {
- 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("$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', "$max-12-31 23:59:59");
- $pin = $this->faker->personalIdentityNumber($birthdate);
- $this->assertRegExp('/^[0-9]{6}A[0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/', $pin);
- }
- }
-
- public function testPersonalIdentityNumberGeneratesOddValuesForMales()
- {
- $pin = $this->faker->personalIdentityNumber(null, 'male');
- $this->assertEquals(1, $pin{9} % 2);
- }
-
- public function testPersonalIdentityNumberGeneratesEvenValuesForFemales()
- {
- $pin = $this->faker->personalIdentityNumber(null, 'female');
- $this->assertEquals(0, $pin{9} % 2);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_BE/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_BE/PaymentTest.php
deleted file mode 100644
index 6944c55f..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_BE/PaymentTest.php
+++ /dev/null
@@ -1,30 +0,0 @@
-addProvider(new Payment($faker));
- $this->faker = $faker;
- }
-
- public function testVatIsValid()
- {
- $vat = $this->faker->vat();
- $unspacedVat = $this->faker->vat(false);
- $this->assertRegExp('/^(BE 0\d{9})$/', $vat);
- $this->assertRegExp('/^(BE0\d{9})$/', $unspacedVat);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/AddressTest.php
deleted file mode 100644
index 217ac9f6..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/AddressTest.php
+++ /dev/null
@@ -1,70 +0,0 @@
-addProvider(new Address($faker));
- $faker->addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- /**
- * @test
- */
- public function canton ()
- {
- $canton = $this->faker->canton();
- $this->assertInternalType('array', $canton);
- $this->assertCount(1, $canton);
-
- foreach ($canton as $cantonShort => $cantonName){
- $this->assertInternalType('string', $cantonShort);
- $this->assertEquals(2, strlen($cantonShort));
- $this->assertInternalType('string', $cantonName);
- $this->assertGreaterThan(2, strlen($cantonName));
- }
- }
-
- /**
- * @test
- */
- public function cantonName ()
- {
- $cantonName = $this->faker->cantonName();
- $this->assertInternalType('string', $cantonName);
- $this->assertGreaterThan(2, strlen($cantonName));
- }
-
- /**
- * @test
- */
- public function cantonShort ()
- {
- $cantonShort = $this->faker->cantonShort();
- $this->assertInternalType('string', $cantonShort);
- $this->assertEquals(2, strlen($cantonShort));
- }
-
- /**
- * @test
- */
- public function address (){
- $address = $this->faker->address();
- $this->assertInternalType('string', $address);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/InternetTest.php
deleted file mode 100644
index f4e94848..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/InternetTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- /**
- * @test
- */
- public function emailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/PhoneNumberTest.php
deleted file mode 100644
index 7bfcca76..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_CH/PhoneNumberTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumber()
- {
- $this->assertRegExp('/^0\d{2} ?\d{3} ?\d{2} ?\d{2}|\+41 ?(\(0\))?\d{2} ?\d{3} ?\d{2} ?\d{2}$/', $this->faker->phoneNumber());
- }
-
- public function testMobileNumber()
- {
- $this->assertRegExp('/^07[56789] ?\d{3} ?\d{2} ?\d{2}$/', $this->faker->mobileNumber());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/AddressTest.php
deleted file mode 100644
index 50b40f4b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/AddressTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-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
deleted file mode 100644
index 83e54d92..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/CompanyTest.php
+++ /dev/null
@@ -1,75 +0,0 @@
-addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testSiretReturnsAValidSiret()
- {
- $siret = $this->faker->siret(false);
- $this->assertRegExp("/^\d{14}$/", $siret);
- $this->assertTrue(Luhn::isValid($siret));
- }
-
- public function testSiretReturnsAWellFormattedSiret()
- {
- $siret = $this->faker->siret();
- $this->assertRegExp("/^\d{3}\s\d{3}\s\d{3}\s\d{5}$/", $siret);
- $siret = str_replace(' ', '', $siret);
- $this->assertTrue(Luhn::isValid($siret));
- }
-
- public function testSirenReturnsAValidSiren()
- {
- $siren = $this->faker->siren(false);
- $this->assertRegExp("/^\d{9}$/", $siren);
- $this->assertTrue(Luhn::isValid($siren));
- }
-
- public function testSirenReturnsAWellFormattedSiren()
- {
- $siren = $this->faker->siren();
- $this->assertRegExp("/^\d{3}\s\d{3}\s\d{3}$/", $siren);
- $siren = str_replace(' ', '', $siren);
- $this->assertTrue(Luhn::isValid($siren));
- }
-
- public function testCatchPhraseReturnsValidCatchPhrase()
- {
- $this->assertTrue(TestableCompany::isCatchPhraseValid($this->faker->catchPhrase()));
- }
-
- public function testIsCatchPhraseValidReturnsFalseWhenAWordsAppearsTwice()
- {
- $isCatchPhraseValid = TestableCompany::isCatchPhraseValid('La sécurité de rouler en toute sécurité');
- $this->assertFalse($isCatchPhraseValid);
- }
-
- public function testIsCatchPhraseValidReturnsTrueWhenNoWordAppearsTwice()
- {
- $isCatchPhraseValid = TestableCompany::isCatchPhraseValid('La sécurité de rouler en toute simplicité');
- $this->assertTrue($isCatchPhraseValid);
- }
-}
-
-class TestableCompany extends Company
-{
- public static function isCatchPhraseValid($catchPhrase)
- {
- return parent::isCatchPhraseValid($catchPhrase);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PaymentTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PaymentTest.php
deleted file mode 100644
index d00a7c83..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PaymentTest.php
+++ /dev/null
@@ -1,49 +0,0 @@
-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
deleted file mode 100644
index 8c5fc654..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PersonTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testNIRReturnsTheRightGender()
- {
- $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);
- $this->assertRegExp("/^[12]\s\d{2}\s\d{2}\s\d{1}[0-9A-B]\s\d{3}\s\d{3}\s\d{2}$/", $nir);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PhoneNumberTest.php
deleted file mode 100644
index d4179709..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/PhoneNumberTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-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
deleted file mode 100644
index c9c7a4ff..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/fr_FR/TextTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-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
deleted file mode 100644
index 5ebfeee4..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/id_ID/PersonTest.php
+++ /dev/null
@@ -1,41 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testIfFirstNameMaleCanReturnData()
- {
- $firstNameMale = $this->faker->firstNameMale();
- $this->assertNotEmpty($firstNameMale);
- }
-
- public function testIfLastNameMaleCanReturnData()
- {
- $lastNameMale = $this->faker->lastNameMale();
- $this->assertNotEmpty($lastNameMale);
- }
-
- public function testIfFirstNameFemaleCanReturnData()
- {
- $firstNameFemale = $this->faker->firstNameFemale();
- $this->assertNotEmpty($firstNameFemale);
- }
-
- public function testIfLastNameFemaleCanReturnData()
- {
- $lastNameFemale = $this->faker->lastNameFemale();
- $this->assertNotEmpty($lastNameFemale);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/AddressTest.php
deleted file mode 100644
index 0f0df5e9..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/AddressTest.php
+++ /dev/null
@@ -1,70 +0,0 @@
-addProvider(new Address($faker));
- $faker->addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- /**
- * @test
- */
- public function canton ()
- {
- $canton = $this->faker->canton();
- $this->assertInternalType('array', $canton);
- $this->assertCount(1, $canton);
-
- foreach ($canton as $cantonShort => $cantonName){
- $this->assertInternalType('string', $cantonShort);
- $this->assertEquals(2, strlen($cantonShort));
- $this->assertInternalType('string', $cantonName);
- $this->assertGreaterThan(2, strlen($cantonName));
- }
- }
-
- /**
- * @test
- */
- public function cantonName ()
- {
- $cantonName = $this->faker->cantonName();
- $this->assertInternalType('string', $cantonName);
- $this->assertGreaterThan(2, strlen($cantonName));
- }
-
- /**
- * @test
- */
- public function cantonShort ()
- {
- $cantonShort = $this->faker->cantonShort();
- $this->assertInternalType('string', $cantonShort);
- $this->assertEquals(2, strlen($cantonShort));
- }
-
- /**
- * @test
- */
- public function address (){
- $address = $this->faker->address();
- $this->assertInternalType('string', $address);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/InternetTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/InternetTest.php
deleted file mode 100644
index d46f6b7d..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/InternetTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-addProvider(new Person($faker));
- $faker->addProvider(new Internet($faker));
- $faker->addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- /**
- * @test
- */
- public function emailIsValid()
- {
- $email = $this->faker->email();
- $this->assertNotFalse(filter_var($email, FILTER_VALIDATE_EMAIL));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/PhoneNumberTest.php
deleted file mode 100644
index 5cda5345..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/it_CH/PhoneNumberTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumber()
- {
- $this->assertRegExp('/^0\d{2} ?\d{3} ?\d{2} ?\d{2}|\+41 ?(\(0\))?\d{2} ?\d{3} ?\d{2} ?\d{2}$/', $this->faker->phoneNumber());
- }
-
- public function testMobileNumber()
- {
- $this->assertRegExp('/^07[56789] ?\d{3} ?\d{2} ?\d{2}$/', $this->faker->mobileNumber());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/CompanyTest.php
deleted file mode 100644
index 33977e13..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/CompanyTest.php
+++ /dev/null
@@ -1,24 +0,0 @@
-addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testIfTaxIdCanReturnData()
- {
- $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
deleted file mode 100644
index 3e7b1a4f..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/it_IT/PersonTest.php
+++ /dev/null
@@ -1,24 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testIfTaxIdCanReturnData()
- {
- $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
deleted file mode 100644
index b4a19fde..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/InternetTest.php
+++ /dev/null
@@ -1,28 +0,0 @@
-addProvider(new Internet($faker));
- $faker->seed(1);
-
- $this->assertEquals('akira72', $faker->userName);
- }
-
- public function testDomainName()
- {
- $faker = new Generator();
- $faker->addProvider(new Internet($faker));
- $faker->seed(1);
-
- $this->assertEquals('nakajima.com', $faker->domainName);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PersonTest.php
deleted file mode 100644
index e7854826..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PersonTest.php
+++ /dev/null
@@ -1,55 +0,0 @@
-addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('アオタ ミノル', $faker->kanaName('male'));
- }
-
- public function testKanaNameFemaleReturns()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('アオタ ミキ', $faker->kanaName('female'));
- }
-
- public function testFirstKanaNameMaleReturns()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('ヒデキ', $faker->firstKanaName('male'));
- }
-
- public function testFirstKanaNameFemaleReturns()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('マアヤ', $faker->firstKanaName('female'));
- }
-
- public function testLastKanaNameReturnsNakajima()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('ナカジマ', $faker->lastKanaName);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PhoneNumberTest.php
deleted file mode 100644
index 158718a7..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ja_JP/PhoneNumberTest.php
+++ /dev/null
@@ -1,22 +0,0 @@
-addProvider(new PhoneNumber($faker));
-
- for ($i = 0; $i < 10; $i++) {
- $phoneNumber = $faker->phoneNumber;
- $this->assertNotEmpty($phoneNumber);
- $this->assertRegExp('/^0\d{1,4}-\d{1,4}-\d{3,4}$/', $phoneNumber);
- }
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ka_GE/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ka_GE/TextTest.php
deleted file mode 100644
index 0201ceee..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ka_GE/TextTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-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
deleted file mode 100644
index b6a3c061..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/CompanyTest.php
+++ /dev/null
@@ -1,32 +0,0 @@
-faker = new Generator();
-
- $this->faker->addProvider(new Company($this->faker));
- }
-
- public function testBusinessIdentificationNumberIsValid()
- {
- $registrationDate = new \DateTime('now');
- $businessIdentificationNumber = $this->faker->businessIdentificationNumber($registrationDate);
- $registrationDateAsString = $registrationDate->format('ym');
-
- $this->assertRegExp(
- "/^(" . $registrationDateAsString . ")([4-6]{1})([0-3]{1})(\\d{6})$/",
- $businessIdentificationNumber
- );
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/PersonTest.php
deleted file mode 100644
index c5657352..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/PersonTest.php
+++ /dev/null
@@ -1,30 +0,0 @@
-faker = new Generator();
-
- $this->faker->addProvider(new Person($this->faker));
- }
-
- public function testIndividualIdentificationNumberIsValid()
- {
- $birthDate = DateTime::dateTimeBetween('-30 years', '-10 years');
- $individualIdentificationNumber = $this->faker->individualIdentificationNumber($birthDate);
- $controlDigit = Person::checkSum($individualIdentificationNumber);
-
- $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
deleted file mode 100644
index 2c780506..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/kk_KZ/TextTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-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
deleted file mode 100644
index 336acc8a..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ko_KR/TextTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-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
deleted file mode 100644
index 232f8f4b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/mn_MN/PersonTest.php
+++ /dev/null
@@ -1,28 +0,0 @@
-addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertRegExp('/^[А-Я]{1}\.[\w\W]+$/u', $faker->name);
- }
-
- public function testIdNumber()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(2);
-
- $this->assertRegExp('/^[А-Я]{2}\d{8}$/u', $faker->idNumber);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ms_MY/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ms_MY/PersonTest.php
deleted file mode 100644
index c35c698d..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ms_MY/PersonTest.php
+++ /dev/null
@@ -1,50 +0,0 @@
-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
deleted file mode 100644
index e8441033..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PaymentTest.php
+++ /dev/null
@@ -1,30 +0,0 @@
-addProvider(new Payment($faker));
- $this->faker = $faker;
- }
-
- public function testVatIsValid()
- {
- $vat = $this->faker->vat();
- $unspacedVat = $this->faker->vat(false);
- $this->assertRegExp('/^(BE 0\d{9})$/', $vat);
- $this->assertRegExp('/^(BE0\d{9})$/', $unspacedVat);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PersonTest.php
deleted file mode 100644
index 4885cc3d..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/nl_BE/PersonTest.php
+++ /dev/null
@@ -1,54 +0,0 @@
-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
deleted file mode 100644
index 6d5484ce..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/CompanyTest.php
+++ /dev/null
@@ -1,35 +0,0 @@
-addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testGenerateValidVatNumber()
- {
- $vatNo = $this->faker->vat();
-
- $this->assertEquals(14, strlen($vatNo));
- $this->assertRegExp('/^NL[0-9]{9}B[0-9]{2}$/', $vatNo);
- }
-
- public function testGenerateValidBtwNumberAlias()
- {
- $btwNo = $this->faker->btw();
-
- $this->assertEquals(14, strlen($btwNo));
- $this->assertRegExp('/^NL[0-9]{9}B[0-9]{2}$/', $btwNo);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/PersonTest.php
deleted file mode 100644
index c8735f5f..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/nl_NL/PersonTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
-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
deleted file mode 100644
index bbfdf4d3..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/AddressTest.php
+++ /dev/null
@@ -1,32 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- /**
- * Test the validity of state
- */
- public function testState()
- {
- $state = $this->faker->state();
- $this->assertNotEmpty($state);
- $this->assertInternalType('string', $state);
- $this->assertRegExp('/[a-z]+/', $state);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/PersonTest.php
deleted file mode 100644
index e5e0edc1..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/pl_PL/PersonTest.php
+++ /dev/null
@@ -1,101 +0,0 @@
-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
deleted file mode 100644
index b0feecac..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/CompanyTest.php
+++ /dev/null
@@ -1,26 +0,0 @@
-addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testCnpjFormatIsValid()
- {
- $cnpj = $this->faker->cnpj(false);
- $this->assertRegExp('/\d{8}\d{4}\d{2}/', $cnpj);
- $cnpj = $this->faker->cnpj(true);
- $this->assertRegExp('/\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}/', $cnpj);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/PersonTest.php
deleted file mode 100644
index 0b8318dd..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_BR/PersonTest.php
+++ /dev/null
@@ -1,34 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testCpfFormatIsValid()
- {
- $cpf = $this->faker->cpf(false);
- $this->assertRegExp('/\d{9}\d{2}/', $cpf);
- $cpf = $this->faker->cpf(true);
- $this->assertRegExp('/\d{3}\.\d{3}\.\d{3}-\d{2}/', $cpf);
- }
-
- public function testRgFormatIsValid()
- {
- $rg = $this->faker->rg(false);
- $this->assertRegExp('/\d{8}\d/', $rg);
- $rg = $this->faker->rg(true);
- $this->assertRegExp('/\d{2}\.\d{3}\.\d{3}-[0-9X]/', $rg);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/AddressTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/AddressTest.php
deleted file mode 100644
index 3783fd52..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/AddressTest.php
+++ /dev/null
@@ -1,40 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- public function testPostCodeIsValid()
- {
- $main = '[1-9]{1}[0-9]{2}[0,1,4,5,9]{1}';
- $pattern = "/^($main)|($main-[0-9]{3})+$/";
- $postcode = $this->faker->postcode();
- $this->assertSame(preg_match($pattern, $postcode), 1, $postcode);
- }
-
- public function testAddressIsSingleLine()
- {
- $this->faker->addProvider(new Person($this->faker));
-
- $address = $this->faker->address();
- $this->assertFalse(strstr($address, "\n"));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PersonTest.php
deleted file mode 100644
index 662f12a7..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PersonTest.php
+++ /dev/null
@@ -1,53 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function testTaxpayerIdentificationNumberIsValid()
- {
- $tin = $this->faker->taxpayerIdentificationNumber();
- $this->assertTrue($this->isValidTin($tin), $tin);
- }
-
- /**
- *
- * @link http://pt.wikipedia.org/wiki/N%C3%BAmero_de_identifica%C3%A7%C3%A3o_fiscal
- *
- * @param type $tin
- *
- * @return boolean
- */
- public static function isValidTin($tin)
- {
- $regex = '(([1,2,3,5,6,8]{1}[0-9]{8})|((45)|(70)|(71)|(72)|(77)|(79)|(90|(98|(99))))[0-9]{7})';
- if (is_null($tin) || !is_numeric($tin) || !strlen($tin) == 9 || preg_match("/$regex/", $tin) !== 1) {
- return false;
- }
- $n = str_split($tin);
- // cd - Control Digit
- $cd = ($n[0] * 9 + $n[1] * 8 + $n[2] * 7 + $n[3] * 6 + $n[4] * 5 + $n[5] * 4 + $n[6] * 3 + $n[7] * 2) % 11;
- if ($cd === 0 || $cd === 1) {
- $cd = 0;
- } else {
- $cd = 11 - $cd;
- }
- if ($cd === intval($n[8])) {
- return true;
- }
-
- return false;
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php
deleted file mode 100644
index fd5d3194..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/pt_PT/PhoneNumberTest.php
+++ /dev/null
@@ -1,26 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumberReturnsPhoneNumberWithOrWithoutPrefix()
- {
- $this->assertRegExp('/^(9[1,2,3,6][0-9]{7})|(2[0-9]{8})|(\+351 [2][0-9]{8})|(\+351 9[1,2,3,6][0-9]{7})/', $this->faker->phoneNumber());
- }
- public function testMobileNumberReturnsMobileNumberWithOrWithoutPrefix()
- {
- $this->assertRegExp('/^(9[1,2,3,6][0-9]{7})/', $this->faker->mobileNumber());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PersonTest.php
deleted file mode 100644
index 2c7fadce..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PersonTest.php
+++ /dev/null
@@ -1,252 +0,0 @@
-addProvider(new DateTime($faker));
- $faker->addProvider(new Person($faker));
- $faker->setDefaultTimezone('Europe/Bucharest');
- $this->faker = $faker;
- }
-
- public function tearDown()
- {
- $this->faker->setDefaultTimezone();
- }
-
- public function invalidGenderProvider()
- {
- return array(
- array('elf'),
- array('ent'),
- array('fmle'),
- array('mal'),
- );
- }
-
- public function invalidYearProvider()
- {
- return array(
- array(1652),
- array(1799),
- array(2100),
- array(2252),
- );
- }
-
- public function validYearProvider()
- {
- return array(
- array(null),
- array(''),
- array(1800),
- array(1850),
- array(1900),
- array(1990),
- array(2000),
- array(2099),
- );
- }
-
- public function validCountyCodeProvider()
- {
- return array(
- array('AB'), array('AR'), array('AG'), array('B'), array('BC'), array('BH'), array('BN'), array('BT'),
- array('BV'), array('BR'), array('BZ'), array('CS'), array('CL'), array('CJ'), array('CT'), array('CV'),
- array('DB'), array('DJ'), array('GL'), array('GR'), array('GJ'), array('HR'), array('HD'), array('IL'),
- array('IS'), array('IF'), array('MM'), array('MH'), array('MS'), array('NT'), array('OT'), array('PH'),
- array('SM'), array('SJ'), array('SB'), array('SV'), array('TR'), array('TM'), array('TL'), array('VS'),
- array('VL'), array('VN'), array('B1'), array('B2'), array('B3'), array('B4'), array('B5'), array('B6')
- );
- }
-
- public function invalidCountyCodeProvider()
- {
- return array(
- array('JK'), array('REW'), array('x'), array('FF'), array('aaaddadaada')
- );
- }
-
- public function validInputDataProvider()
- {
- return array(
- array(Person::GENDER_MALE, '1981-06-16','B2', true, '181061642'),
- array(Person::GENDER_FEMALE, '1981-06-16','B2', true, '281061642'),
- array(Person::GENDER_MALE, '1981-06-16','B2', false, '981061642'),
- array(Person::GENDER_FEMALE, '1981-06-16','B2', false, '981061642'),
- );
- }
- /**
- *
- */
- public function test_allRandom_returnsValidCnp()
- {
- $cnp = $this->faker->cnp;
- $this->assertTrue(
- $this->isValidCnp($cnp),
- sprintf("Invalid CNP '%' generated", $cnp)
- );
- }
-
- /**
- *
- */
- public function test_validGender_returnsValidCnp()
- {
- $cnp = $this->faker->cnp(Person::GENDER_MALE);
- $this->assertTrue(
- $this->isValidMaleCnp($cnp),
- sprintf("Invalid CNP '%' generated for '%s' gender", $cnp, Person::GENDER_MALE)
- );
-
- $cnp = $this->faker->cnp(Person::GENDER_FEMALE);
- $this->assertTrue(
- $this->isValidFemaleCnp($cnp),
- sprintf("Invalid CNP '%' generated for '%s' gender", $cnp, Person::GENDER_FEMALE)
- );
- }
-
- /**
- * @param string $value
- *
- * @dataProvider invalidGenderProvider
- */
- public function test_invalidGender_throwsException($value)
- {
- $this->setExpectedException('InvalidArgumentException');
- $this->faker->cnp($value);
- }
-
- /**
- * @param string $value year of birth
- *
- * @dataProvider validYearProvider
- */
- public function test_validYear_returnsValidCnp($value)
- {
- $cnp = $this->faker->cnp(null, $value);
- $this->assertTrue(
- $this->isValidCnp($cnp),
- sprintf("Invalid CNP '%' generated for valid year '%s'", $cnp, $value)
- );
- }
-
- /**
- * @param string $value year of birth
- *
- * @dataProvider invalidYearProvider
- */
- public function test_invalidYear_throwsException($value)
- {
- $this->setExpectedException('InvalidArgumentException');
- $this->faker->cnp(null, $value);
- }
-
- /**
- * @param $value
- * @dataProvider validCountyCodeProvider
- */
- public function test_validCountyCode_returnsValidCnp($value)
- {
- $cnp = $this->faker->cnp(null, null, $value);
- $this->assertTrue(
- $this->isValidCnp($cnp),
- sprintf("Invalid CNP '%' generated for valid year '%s'", $cnp, $value)
- );
- }
-
- /**
- * @param $value
- * @dataProvider invalidCountyCodeProvider
- */
- public function test_invalidCountyCode_throwsException($value)
- {
- $this->setExpectedException('InvalidArgumentException');
- $this->faker->cnp(null, null, $value);
- }
-
- /**
- *
- */
- public function test_nonResident_returnsValidCnp()
- {
- $cnp = $this->faker->cnp(null, null, null, false);
- $this->assertTrue(
- $this->isValidCnp($cnp),
- sprintf("Invalid CNP '%' generated for non resident", $cnp)
- );
- $this->assertStringStartsWith(
- '9',
- $cnp,
- sprintf("Invalid CNP '%' generated for non resident (should start with 9)", $cnp)
- );
- }
-
- /**
- *
- * @param $gender
- * @param $dateOfBirth
- * @param $county
- * @param $isResident
- * @param $expectedCnpStart
- *
- * @dataProvider validInputDataProvider
- */
- public function test_validInputData_returnsValidCnp($gender, $dateOfBirth, $county, $isResident, $expectedCnpStart)
- {
- $cnp = $this->faker->cnp($gender, $dateOfBirth, $county, $isResident);
- $this->assertStringStartsWith(
- $expectedCnpStart,
- $cnp,
- sprintf("Invalid CNP '%' generated for non valid data", $cnp)
- );
- }
-
-
- protected function isValidFemaleCnp($value)
- {
- return $this->isValidCnp($value) && in_array($value[0], array(2, 4, 6, 8, 9));
- }
-
- protected function isValidMaleCnp($value)
- {
- return $this->isValidCnp($value) && in_array($value[0], array(1, 3, 5, 7, 9));
- }
-
- protected function isValidCnp($cnp)
- {
- if (preg_match(static::TEST_CNP_REGEX, $cnp) !== false) {
- $checkNumber = 279146358279;
-
- $checksum = 0;
- foreach (range(0, 11) as $digit) {
- $checksum += (int)substr($cnp, $digit, 1) * (int)substr($checkNumber, $digit, 1);
- }
- $checksum = $checksum % 11;
- $checksum = $checksum == 10 ? 1 : $checksum;
-
- if ($checksum == substr($cnp, -1)) {
- return true;
- }
- }
-
- return false;
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php
deleted file mode 100644
index b7965cd8..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ro_RO/PhoneNumberTest.php
+++ /dev/null
@@ -1,32 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumberReturnsNormalPhoneNumber()
- {
- $this->assertRegExp('/^0(?:[23][13-7]|7\d)\d{7}$/', $this->faker->phoneNumber());
- }
-
- public function testTollFreePhoneNumberReturnsTollFreePhoneNumber()
- {
- $this->assertRegExp('/^08(?:0[01267]|70)\d{6}$/', $this->faker->tollFreePhoneNumber());
- }
-
- public function testPremiumRatePhoneNumberReturnsPremiumRatePhoneNumber()
- {
- $this->assertRegExp('/^090[036]\d{6}$/', $this->faker->premiumRatePhoneNumber());
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/CompanyTest.php
deleted file mode 100644
index 8fbcf265..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/CompanyTest.php
+++ /dev/null
@@ -1,37 +0,0 @@
-addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testINN()
- {
- $this->assertRegExp('/^[0-9]{10}$/', $this->faker->inn);
- $this->assertEquals("77", substr($this->faker->inn("77"), 0, 2));
- $this->assertEquals("02", substr($this->faker->inn(2), 0, 2));
- }
-
- public function testKPP()
- {
- $this->assertRegExp('/^[0-9]{9}$/', $this->faker->kpp);
- $this->assertEquals("01001", substr($this->faker->kpp, -5, 5));
- $inn = $this->faker->inn;
- $this->assertEquals(substr($inn, 0, 4), substr($this->faker->kpp($inn), 0, 4));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/TextTest.php
deleted file mode 100644
index bbb0eae6..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/ru_RU/TextTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-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
deleted file mode 100644
index 584998da..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/sv_SE/PersonTest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- public function provideSeedAndExpectedReturn()
- {
- return array(
- array(1, '720727', '720727-5798'),
- array(2, '710414', '710414-5664'),
- array(3, '591012', '591012-4519'),
- array(4, '180307', '180307-0356'),
- array(5, '820904', '820904-7748')
- );
- }
-
- /**
- * @dataProvider provideSeedAndExpectedReturn
- */
- public function testPersonalIdentityNumberUsesBirthDateIfProvided($seed, $birthdate, $expected)
- {
- $faker = $this->faker;
- $faker->seed($seed);
- $pin = $faker->personalIdentityNumber(\DateTime::createFromFormat('ymd', $birthdate));
- $this->assertEquals($expected, $pin);
- }
-
- public function testPersonalIdentityNumberGeneratesLuhnCompliantNumbers()
- {
- $pin = str_replace('-', '', $this->faker->personalIdentityNumber());
- $this->assertTrue(Luhn::isValid($pin));
- }
-
- public function testPersonalIdentityNumberGeneratesOddValuesForMales()
- {
- $pin = $this->faker->personalIdentityNumber(null, 'male');
- $this->assertEquals(1, $pin{9} % 2);
- }
-
- public function testPersonalIdentityNumberGeneratesEvenValuesForFemales()
- {
- $pin = $this->faker->personalIdentityNumber(null, 'female');
- $this->assertEquals(0, $pin{9} % 2);
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/CompanyTest.php
deleted file mode 100644
index badf905f..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/CompanyTest.php
+++ /dev/null
@@ -1,28 +0,0 @@
-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
deleted file mode 100644
index 7c8ffdb2..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PaymentTest.php
+++ /dev/null
@@ -1,29 +0,0 @@
-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
deleted file mode 100644
index ad9db9c7..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PersonTest.php
+++ /dev/null
@@ -1,34 +0,0 @@
-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
deleted file mode 100644
index 0971d04b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/tr_TR/PhoneNumberTest.php
+++ /dev/null
@@ -1,34 +0,0 @@
-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
deleted file mode 100644
index 4c4a0612..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/AddressTest.php
+++ /dev/null
@@ -1,81 +0,0 @@
-addProvider(new Address($faker));
- $this->faker = $faker;
- }
-
- public function testPostCodeIsValid()
- {
- $main = '[0-9]{5}';
- $pattern = "/^($main)|($main-[0-9]{3})+$/";
- $postcode = $this->faker->postcode;
- $this->assertRegExp($pattern, $postcode, 'Post code ' . $postcode . ' is wrong!');
- }
-
- public function testEmptySuffixes()
- {
- $this->assertEmpty($this->faker->citySuffix, 'City suffix should be empty!');
- $this->assertEmpty($this->faker->streetSuffix, 'Street suffix should be empty!');
- }
-
- public function testStreetCyrOnly()
- {
- $pattern = "/[0-9А-ЩЯІЇЄЮа-щяіїєюьIVXCM][0-9А-ЩЯІЇЄЮа-щяіїєюь \'-.]*[А-Яа-я.]/u";
- $streetName = $this->faker->streetName;
- $this->assertSame(
- preg_match($pattern, $streetName),
- 1,
- 'Street name ' . $streetName . ' is wrong!'
- );
- }
-
- public function testCityNameCyrOnly()
- {
- $pattern = "/[А-ЩЯІЇЄЮа-щяіїєюь][0-9А-ЩЯІЇЄЮа-щяіїєюь \'-]*[А-Яа-я]/u";
- $city = $this->faker->city;
- $this->assertSame(
- preg_match($pattern, $city),
- 1,
- 'City name ' . $city . ' is wrong!'
- );
- }
-
- public function testRegionNameCyrOnly()
- {
- $pattern = "/[А-ЩЯІЇЄЮ][А-ЩЯІЇЄЮа-щяіїєюь]*а$/u";
- $regionName = $this->faker->region;
- $this->assertSame(
- preg_match($pattern, $regionName),
- 1,
- 'Region name ' . $regionName . ' is wrong!'
- );
- }
-
- public function testCountryCyrOnly()
- {
- $pattern = "/[А-ЩЯІЇЄЮа-щяіїєюьIVXCM][А-ЩЯІЇЄЮа-щяіїєюь \'-]*[А-Яа-я.]/u";
- $country = $this->faker->country;
- $this->assertSame(
- preg_match($pattern, $country),
- 1,
- 'Country name ' . $country . ' is wrong!'
- );
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PersonTest.php
deleted file mode 100644
index a8d70f69..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PersonTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('Максим', $faker->firstNameMale());
- }
-
- public function testFirstNameFemaleReturns()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('Людмила', $faker->firstNameFemale());
- }
-
- public function testMiddleNameMaleReturns()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('Миколайович', $faker->middleNameMale());
- }
-
- public function testMiddleNameFemaleReturns()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('Миколаївна', $faker->middleNameFemale());
- }
-
- public function testLastNameReturns()
- {
- $faker = new Generator();
- $faker->addProvider(new Person($faker));
- $faker->seed(1);
-
- $this->assertEquals('Броваренко', $faker->lastName());
- }
-
-
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php
deleted file mode 100644
index f7f9f14b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/uk_UA/PhoneNumberTest.php
+++ /dev/null
@@ -1,36 +0,0 @@
-addProvider(new PhoneNumber($faker));
- $this->faker = $faker;
- }
-
- public function testPhoneNumberFormat()
- {
- $pattern = "/((\+38)(((\(\d{3}\))\d{7}|(\(\d{4}\))\d{6})|(\d{8})))|0\d{9}/";
- $phoneNumber = $this->faker->phoneNumber;
- $this->assertSame(
- preg_match($pattern, $phoneNumber),
- 1,
- 'Phone number format ' . $phoneNumber . ' is wrong!'
- );
-
- }
-
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/CompanyTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/CompanyTest.php
deleted file mode 100644
index f2134b9b..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/CompanyTest.php
+++ /dev/null
@@ -1,27 +0,0 @@
-addProvider(new Company($faker));
- $this->faker = $faker;
- }
-
- public function testVAT()
- {
- $this->assertEquals(8, floor(log10($this->faker->VAT) + 1));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/PersonTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/PersonTest.php
deleted file mode 100644
index 167d0fa0..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/PersonTest.php
+++ /dev/null
@@ -1,45 +0,0 @@
-addProvider(new Person($faker));
- $this->faker = $faker;
- }
-
- /**
- * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E5%9C%8B%E6%B0%91%E8%BA%AB%E5%88%86%E8%AD%89
- */
- public function testPersonalIdentityNumber()
- {
- $id = $this->faker->personalIdentityNumber;
-
- $firstChar = substr($id, 0, 1);
- $codesString = Person::$idBirthplaceCode[$firstChar] . substr($id, 1);
-
- // After transfer the first alphabet word into 2 digit number, there should be totally 11 numbers
- $this->assertRegExp("/^[0-9]{11}$/", $codesString);
-
- $total = 0;
- $codesArray = str_split($codesString);
- foreach ($codesArray as $key => $code) {
- $total += $code * Person::$idDigitValidator[$key];
- }
-
- // Validate
- $this->assertEquals(0, ($total % 10));
- }
-}
diff --git a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/TextTest.php b/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/TextTest.php
deleted file mode 100644
index ab56f83c..00000000
--- a/vendor/fzaninotto/faker/test/Faker/Provider/zh_TW/TextTest.php
+++ /dev/null
@@ -1,79 +0,0 @@
-textClass = new \ReflectionClass('Faker\Provider\zh_TW\Text');
- }
-
- protected function getMethod($name) {
- $method = $this->textClass->getMethod($name);
-
- $method->setAccessible(true);
-
- return $method;
- }
-
- /** @test */
- function testItShouldExplodeTheStringToArray()
- {
- $this->assertSame(
- array('中', '文', '測', '試', '真', '有', '趣'),
- $this->getMethod('explode')->invokeArgs(null, array('中文測試真有趣'))
- );
-
- $this->assertSame(
- array('標', '點', ',', '符', '號', '!'),
- $this->getMethod('explode')->invokeArgs(null, array('標點,符號!'))
- );
- }
-
- /** @test */
- function testItShouldReturnTheStringLength()
- {
- $this->assertContains(
- $this->getMethod('strlen')->invokeArgs(null, array('中文測試真有趣')),
- array(7, 21)
- );
- }
-
- /** @test */
- function testItShouldReturnTheCharacterIsValidStartOrNot()
- {
- $this->assertTrue($this->getMethod('validStart')->invokeArgs(null, array('中')));
-
- $this->assertTrue($this->getMethod('validStart')->invokeArgs(null, array('2')));
-
- $this->assertTrue($this->getMethod('validStart')->invokeArgs(null, array('Hello')));
-
- $this->assertFalse($this->getMethod('validStart')->invokeArgs(null, array('。')));
-
- $this->assertFalse($this->getMethod('validStart')->invokeArgs(null, array('!')));
- }
-
- /** @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('中文測試真有趣!'))
- );
- }
-}
diff --git a/vendor/fzaninotto/faker/test/documentor.php b/vendor/fzaninotto/faker/test/documentor.php
deleted file mode 100644
index 1051ea28..00000000
--- a/vendor/fzaninotto/faker/test/documentor.php
+++ /dev/null
@@ -1,16 +0,0 @@
-seed(1);
-$documentor = new Faker\Documentor($generator);
-?>
-getFormatters() as $provider => $formatters): ?>
-
-### ``
-
- $example): ?>
- //
-
-
-seed(5);
-
-echo '';
-?>
-
@@ -251,7 +272,8 @@ if (!function_exists('both')) { /**
}
}
-if (!function_exists('either')) { /**
+if (!function_exists('either')) {
+ /**
* This is useful for fluently combining matchers where either may pass,
* for example:
*
@@ -264,7 +286,8 @@ if (!function_exists('either')) { /**
}
}
-if (!function_exists('describedAs')) { /**
+if (!function_exists('describedAs')) {
+ /**
* Wraps an existing matcher and overrides the description when it fails.
*/
function describedAs(/* args... */)
@@ -274,7 +297,8 @@ if (!function_exists('describedAs')) { /**
}
}
-if (!function_exists('everyItem')) { /**
+if (!function_exists('everyItem')) {
+ /**
* @param Matcher $itemMatcher
* A matcher to apply to every element in an array.
*
@@ -287,7 +311,8 @@ if (!function_exists('everyItem')) { /**
}
}
-if (!function_exists('hasToString')) { /**
+if (!function_exists('hasToString')) {
+ /**
* Does array size satisfy a given matcher?
*/
function hasToString($matcher)
@@ -296,7 +321,8 @@ if (!function_exists('hasToString')) { /**
}
}
-if (!function_exists('is')) { /**
+if (!function_exists('is')) {
+ /**
* Decorates another Matcher, retaining the behavior but allowing tests
* to be slightly more expressive.
*
@@ -309,7 +335,8 @@ if (!function_exists('is')) { /**
}
}
-if (!function_exists('anything')) { /**
+if (!function_exists('anything')) {
+ /**
* This matcher always evaluates to true.
*
* @param string $description A meaningful string used when describing itself.
@@ -322,7 +349,8 @@ if (!function_exists('anything')) { /**
}
}
-if (!function_exists('hasItem')) { /**
+if (!function_exists('hasItem')) {
+ /**
* Test if the value is an array containing this matcher.
*
* Example:
@@ -339,7 +367,8 @@ if (!function_exists('hasItem')) { /**
}
}
-if (!function_exists('hasItems')) { /**
+if (!function_exists('hasItems')) {
+ /**
* Test if the value is an array containing elements that match all of these
* matchers.
*
@@ -355,7 +384,8 @@ if (!function_exists('hasItems')) { /**
}
}
-if (!function_exists('equalTo')) { /**
+if (!function_exists('equalTo')) {
+ /**
* Is the value equal to another value, as tested by the use of the "=="
* comparison operator?
*/
@@ -365,7 +395,8 @@ if (!function_exists('equalTo')) { /**
}
}
-if (!function_exists('identicalTo')) { /**
+if (!function_exists('identicalTo')) {
+ /**
* Tests of the value is identical to $value as tested by the "===" operator.
*/
function identicalTo($value)
@@ -374,7 +405,8 @@ if (!function_exists('identicalTo')) { /**
}
}
-if (!function_exists('anInstanceOf')) { /**
+if (!function_exists('anInstanceOf')) {
+ /**
* Is the value an instance of a particular type?
* This version assumes no relationship between the required type and
* the signature of the method that sets it up, for example in
@@ -386,7 +418,8 @@ if (!function_exists('anInstanceOf')) { /**
}
}
-if (!function_exists('any')) { /**
+if (!function_exists('any')) {
+ /**
* Is the value an instance of a particular type?
* This version assumes no relationship between the required type and
* the signature of the method that sets it up, for example in
@@ -398,7 +431,8 @@ if (!function_exists('any')) { /**
}
}
-if (!function_exists('not')) { /**
+if (!function_exists('not')) {
+ /**
* Matches if value does not match $value.
*/
function not($value)
@@ -407,7 +441,8 @@ if (!function_exists('not')) { /**
}
}
-if (!function_exists('nullValue')) { /**
+if (!function_exists('nullValue')) {
+ /**
* Matches if value is null.
*/
function nullValue()
@@ -416,7 +451,8 @@ if (!function_exists('nullValue')) { /**
}
}
-if (!function_exists('notNullValue')) { /**
+if (!function_exists('notNullValue')) {
+ /**
* Matches if value is not null.
*/
function notNullValue()
@@ -425,7 +461,8 @@ if (!function_exists('notNullValue')) { /**
}
}
-if (!function_exists('sameInstance')) { /**
+if (!function_exists('sameInstance')) {
+ /**
* Creates a new instance of IsSame.
*
* @param mixed $object
@@ -440,7 +477,8 @@ if (!function_exists('sameInstance')) { /**
}
}
-if (!function_exists('typeOf')) { /**
+if (!function_exists('typeOf')) {
+ /**
* Is the value a particular built-in type?
*/
function typeOf($theType)
@@ -449,7 +487,8 @@ if (!function_exists('typeOf')) { /**
}
}
-if (!function_exists('set')) { /**
+if (!function_exists('set')) {
+ /**
* Matches if value (class, object, or array) has named $property.
*/
function set($property)
@@ -458,7 +497,8 @@ if (!function_exists('set')) { /**
}
}
-if (!function_exists('notSet')) { /**
+if (!function_exists('notSet')) {
+ /**
* Matches if value (class, object, or array) does not have named $property.
*/
function notSet($property)
@@ -467,7 +507,8 @@ if (!function_exists('notSet')) { /**
}
}
-if (!function_exists('closeTo')) { /**
+if (!function_exists('closeTo')) {
+ /**
* Matches if value is a number equal to $value within some range of
* acceptable error $delta.
*/
@@ -477,7 +518,8 @@ if (!function_exists('closeTo')) { /**
}
}
-if (!function_exists('comparesEqualTo')) { /**
+if (!function_exists('comparesEqualTo')) {
+ /**
* The value is not > $value, nor < $value.
*/
function comparesEqualTo($value)
@@ -486,7 +528,8 @@ if (!function_exists('comparesEqualTo')) { /**
}
}
-if (!function_exists('greaterThan')) { /**
+if (!function_exists('greaterThan')) {
+ /**
* The value is > $value.
*/
function greaterThan($value)
@@ -495,7 +538,8 @@ if (!function_exists('greaterThan')) { /**
}
}
-if (!function_exists('greaterThanOrEqualTo')) { /**
+if (!function_exists('greaterThanOrEqualTo')) {
+ /**
* The value is >= $value.
*/
function greaterThanOrEqualTo($value)
@@ -504,7 +548,8 @@ if (!function_exists('greaterThanOrEqualTo')) { /**
}
}
-if (!function_exists('atLeast')) { /**
+if (!function_exists('atLeast')) {
+ /**
* The value is >= $value.
*/
function atLeast($value)
@@ -513,7 +558,8 @@ if (!function_exists('atLeast')) { /**
}
}
-if (!function_exists('lessThan')) { /**
+if (!function_exists('lessThan')) {
+ /**
* The value is < $value.
*/
function lessThan($value)
@@ -522,7 +568,8 @@ if (!function_exists('lessThan')) { /**
}
}
-if (!function_exists('lessThanOrEqualTo')) { /**
+if (!function_exists('lessThanOrEqualTo')) {
+ /**
* The value is <= $value.
*/
function lessThanOrEqualTo($value)
@@ -531,7 +578,8 @@ if (!function_exists('lessThanOrEqualTo')) { /**
}
}
-if (!function_exists('atMost')) { /**
+if (!function_exists('atMost')) {
+ /**
* The value is <= $value.
*/
function atMost($value)
@@ -540,7 +588,8 @@ if (!function_exists('atMost')) { /**
}
}
-if (!function_exists('isEmptyString')) { /**
+if (!function_exists('isEmptyString')) {
+ /**
* Matches if value is a zero-length string.
*/
function isEmptyString()
@@ -549,7 +598,8 @@ if (!function_exists('isEmptyString')) { /**
}
}
-if (!function_exists('emptyString')) { /**
+if (!function_exists('emptyString')) {
+ /**
* Matches if value is a zero-length string.
*/
function emptyString()
@@ -558,7 +608,8 @@ if (!function_exists('emptyString')) { /**
}
}
-if (!function_exists('isEmptyOrNullString')) { /**
+if (!function_exists('isEmptyOrNullString')) {
+ /**
* Matches if value is null or a zero-length string.
*/
function isEmptyOrNullString()
@@ -567,7 +618,8 @@ if (!function_exists('isEmptyOrNullString')) { /**
}
}
-if (!function_exists('nullOrEmptyString')) { /**
+if (!function_exists('nullOrEmptyString')) {
+ /**
* Matches if value is null or a zero-length string.
*/
function nullOrEmptyString()
@@ -576,7 +628,8 @@ if (!function_exists('nullOrEmptyString')) { /**
}
}
-if (!function_exists('isNonEmptyString')) { /**
+if (!function_exists('isNonEmptyString')) {
+ /**
* Matches if value is a non-zero-length string.
*/
function isNonEmptyString()
@@ -585,7 +638,8 @@ if (!function_exists('isNonEmptyString')) { /**
}
}
-if (!function_exists('nonEmptyString')) { /**
+if (!function_exists('nonEmptyString')) {
+ /**
* Matches if value is a non-zero-length string.
*/
function nonEmptyString()
@@ -594,7 +648,8 @@ if (!function_exists('nonEmptyString')) { /**
}
}
-if (!function_exists('equalToIgnoringCase')) { /**
+if (!function_exists('equalToIgnoringCase')) {
+ /**
* Matches if value is a string equal to $string, regardless of the case.
*/
function equalToIgnoringCase($string)
@@ -603,7 +658,8 @@ if (!function_exists('equalToIgnoringCase')) { /**
}
}
-if (!function_exists('equalToIgnoringWhiteSpace')) { /**
+if (!function_exists('equalToIgnoringWhiteSpace')) {
+ /**
* Matches if value is a string equal to $string, regardless of whitespace.
*/
function equalToIgnoringWhiteSpace($string)
@@ -612,7 +668,8 @@ if (!function_exists('equalToIgnoringWhiteSpace')) { /**
}
}
-if (!function_exists('matchesPattern')) { /**
+if (!function_exists('matchesPattern')) {
+ /**
* Matches if value is a string that matches regular expression $pattern.
*/
function matchesPattern($pattern)
@@ -621,7 +678,8 @@ if (!function_exists('matchesPattern')) { /**
}
}
-if (!function_exists('containsString')) { /**
+if (!function_exists('containsString')) {
+ /**
* Matches if value is a string that contains $substring.
*/
function containsString($substring)
@@ -630,7 +688,8 @@ if (!function_exists('containsString')) { /**
}
}
-if (!function_exists('containsStringIgnoringCase')) { /**
+if (!function_exists('containsStringIgnoringCase')) {
+ /**
* Matches if value is a string that contains $substring regardless of the case.
*/
function containsStringIgnoringCase($substring)
@@ -639,7 +698,8 @@ if (!function_exists('containsStringIgnoringCase')) { /**
}
}
-if (!function_exists('stringContainsInOrder')) { /**
+if (!function_exists('stringContainsInOrder')) {
+ /**
* Matches if value contains $substrings in a constrained order.
*/
function stringContainsInOrder(/* args... */)
@@ -649,7 +709,8 @@ if (!function_exists('stringContainsInOrder')) { /**
}
}
-if (!function_exists('endsWith')) { /**
+if (!function_exists('endsWith')) {
+ /**
* Matches if value is a string that ends with $substring.
*/
function endsWith($substring)
@@ -658,7 +719,8 @@ if (!function_exists('endsWith')) { /**
}
}
-if (!function_exists('startsWith')) { /**
+if (!function_exists('startsWith')) {
+ /**
* Matches if value is a string that starts with $substring.
*/
function startsWith($substring)
@@ -667,7 +729,8 @@ if (!function_exists('startsWith')) { /**
}
}
-if (!function_exists('arrayValue')) { /**
+if (!function_exists('arrayValue')) {
+ /**
* Is the value an array?
*/
function arrayValue()
@@ -676,7 +739,8 @@ if (!function_exists('arrayValue')) { /**
}
}
-if (!function_exists('booleanValue')) { /**
+if (!function_exists('booleanValue')) {
+ /**
* Is the value a boolean?
*/
function booleanValue()
@@ -685,7 +749,8 @@ if (!function_exists('booleanValue')) { /**
}
}
-if (!function_exists('boolValue')) { /**
+if (!function_exists('boolValue')) {
+ /**
* Is the value a boolean?
*/
function boolValue()
@@ -694,7 +759,8 @@ if (!function_exists('boolValue')) { /**
}
}
-if (!function_exists('callableValue')) { /**
+if (!function_exists('callableValue')) {
+ /**
* Is the value callable?
*/
function callableValue()
@@ -703,7 +769,8 @@ if (!function_exists('callableValue')) { /**
}
}
-if (!function_exists('doubleValue')) { /**
+if (!function_exists('doubleValue')) {
+ /**
* Is the value a float/double?
*/
function doubleValue()
@@ -712,7 +779,8 @@ if (!function_exists('doubleValue')) { /**
}
}
-if (!function_exists('floatValue')) { /**
+if (!function_exists('floatValue')) {
+ /**
* Is the value a float/double?
*/
function floatValue()
@@ -721,7 +789,8 @@ if (!function_exists('floatValue')) { /**
}
}
-if (!function_exists('integerValue')) { /**
+if (!function_exists('integerValue')) {
+ /**
* Is the value an integer?
*/
function integerValue()
@@ -730,7 +799,8 @@ if (!function_exists('integerValue')) { /**
}
}
-if (!function_exists('intValue')) { /**
+if (!function_exists('intValue')) {
+ /**
* Is the value an integer?
*/
function intValue()
@@ -739,7 +809,8 @@ if (!function_exists('intValue')) { /**
}
}
-if (!function_exists('numericValue')) { /**
+if (!function_exists('numericValue')) {
+ /**
* Is the value a numeric?
*/
function numericValue()
@@ -748,7 +819,8 @@ if (!function_exists('numericValue')) { /**
}
}
-if (!function_exists('objectValue')) { /**
+if (!function_exists('objectValue')) {
+ /**
* Is the value an object?
*/
function objectValue()
@@ -757,7 +829,8 @@ if (!function_exists('objectValue')) { /**
}
}
-if (!function_exists('anObject')) { /**
+if (!function_exists('anObject')) {
+ /**
* Is the value an object?
*/
function anObject()
@@ -766,7 +839,8 @@ if (!function_exists('anObject')) { /**
}
}
-if (!function_exists('resourceValue')) { /**
+if (!function_exists('resourceValue')) {
+ /**
* Is the value a resource?
*/
function resourceValue()
@@ -775,7 +849,8 @@ if (!function_exists('resourceValue')) { /**
}
}
-if (!function_exists('scalarValue')) { /**
+if (!function_exists('scalarValue')) {
+ /**
* Is the value a scalar (boolean, integer, double, or string)?
*/
function scalarValue()
@@ -784,7 +859,8 @@ if (!function_exists('scalarValue')) { /**
}
}
-if (!function_exists('stringValue')) { /**
+if (!function_exists('stringValue')) {
+ /**
* Is the value a string?
*/
function stringValue()
@@ -793,7 +869,8 @@ if (!function_exists('stringValue')) { /**
}
}
-if (!function_exists('hasXPath')) { /**
+if (!function_exists('hasXPath')) {
+ /**
* Wraps
$matcher
with {@link Hamcrest\Core\IsEqual)
* if it's not a matcher and the XPath in count()
* if it's an integer.
diff --git a/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseMatcher.php b/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseMatcher.php
index 286db3e1..06055698 100644
--- a/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseMatcher.php
+++ b/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseMatcher.php
@@ -22,4 +22,9 @@ abstract class BaseMatcher implements Matcher
{
return StringDescription::toString($this);
}
+
+ public function __invoke()
+ {
+ return call_user_func_array(array($this, 'matches'), func_get_args());
+ }
}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/AbstractMatcherTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/AbstractMatcherTest.php
index 6c52c0e5..8a1fb2a9 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/AbstractMatcherTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/AbstractMatcherTest.php
@@ -1,10 +1,12 @@
markTestSkipped('Broken on HHVM.');
+ }
+
$matcher = arrayContaining(array(1, 2, 3));
$this->assertMismatchDescription('was null', $matcher, null);
$this->assertMismatchDescription('No item matched: <1>', $matcher, array());
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/CombinableMatcherTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/CombinableMatcherTest.php
index 4c226149..463c7543 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/CombinableMatcherTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/CombinableMatcherTest.php
@@ -7,7 +7,7 @@ class CombinableMatcherTest extends \Hamcrest\AbstractMatcherTest
private $_either_3_or_4;
private $_not_3_and_not_4;
- public function setUp()
+ protected function setUp()
{
$this->_either_3_or_4 = \Hamcrest\Core\CombinableMatcher::either(equalTo(3))->orElse(equalTo(4));
$this->_not_3_and_not_4 = \Hamcrest\Core\CombinableMatcher::both(not(equalTo(3)))->andAlso(not(equalTo(4)));
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/IsInstanceOfTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/IsInstanceOfTest.php
index 7a5f095a..f74cfdb5 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/IsInstanceOfTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/IsInstanceOfTest.php
@@ -7,7 +7,7 @@ class IsInstanceOfTest extends \Hamcrest\AbstractMatcherTest
private $_baseClassInstance;
private $_subClassInstance;
- public function setUp()
+ protected function setUp()
{
$this->_baseClassInstance = new \Hamcrest\Core\SampleBaseClass('good');
$this->_subClassInstance = new \Hamcrest\Core\SampleSubClass('good');
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/FeatureMatcherTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/FeatureMatcherTest.php
index 7543294a..1b023049 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/FeatureMatcherTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/FeatureMatcherTest.php
@@ -34,7 +34,7 @@ class FeatureMatcherTest extends \Hamcrest\AbstractMatcherTest
private $_resultMatcher;
- public function setUp()
+ protected function setUp()
{
$this->_resultMatcher = $this->_resultMatcher();
}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/InvokedMatcherTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/InvokedMatcherTest.php
new file mode 100644
index 00000000..dfa77006
--- /dev/null
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/InvokedMatcherTest.php
@@ -0,0 +1,31 @@
+matchAgainst = $matchAgainst;
+ }
+
+ public function matches($item)
+ {
+ return $item == $this->matchAgainst;
+ }
+
+}
+
+class InvokedMatcherTest extends TestCase
+{
+ public function testInvokedMatchersCallMatches()
+ {
+ $sampleMatcher = new SampleInvokeMatcher('foo');
+
+ $this->assertTrue($sampleMatcher('foo'));
+ $this->assertFalse($sampleMatcher('bar'));
+ }
+}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/MatcherAssertTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/MatcherAssertTest.php
index 21837121..dc12fba5 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/MatcherAssertTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/MatcherAssertTest.php
@@ -1,7 +1,9 @@
_description = new \Hamcrest\StringDescription();
}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/IsEqualIgnoringWhiteSpaceTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/IsEqualIgnoringWhiteSpaceTest.php
index 6c2304f4..27ad338b 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/IsEqualIgnoringWhiteSpaceTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/IsEqualIgnoringWhiteSpaceTest.php
@@ -6,7 +6,7 @@ class IsEqualIgnoringWhiteSpaceTest extends \Hamcrest\AbstractMatcherTest
private $_matcher;
- public function setUp()
+ protected function setUp()
{
$this->_matcher = \Hamcrest\Text\IsEqualIgnoringWhiteSpace::equalToIgnoringWhiteSpace(
"Hello World how\n are we? "
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsIgnoringCaseTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsIgnoringCaseTest.php
index 3b5b08e3..73023007 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsIgnoringCaseTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsIgnoringCaseTest.php
@@ -8,7 +8,7 @@ class StringContainsIgnoringCaseTest extends \Hamcrest\AbstractMatcherTest
private $_stringContains;
- public function setUp()
+ protected function setUp()
{
$this->_stringContains = \Hamcrest\Text\StringContainsIgnoringCase::containsStringIgnoringCase(
strtolower(self::EXCERPT)
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsInOrderTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsInOrderTest.php
index 0be70629..4c465b29 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsInOrderTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsInOrderTest.php
@@ -6,7 +6,7 @@ class StringContainsInOrderTest extends \Hamcrest\AbstractMatcherTest
private $_m;
- public function setUp()
+ protected function setUp()
{
$this->_m = \Hamcrest\Text\StringContainsInOrder::stringContainsInOrder(array('a', 'b', 'c'));
}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsTest.php
index 203fd918..bf4afa3c 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringContainsTest.php
@@ -8,7 +8,7 @@ class StringContainsTest extends \Hamcrest\AbstractMatcherTest
private $_stringContains;
- public function setUp()
+ protected function setUp()
{
$this->_stringContains = \Hamcrest\Text\StringContains::containsString(self::EXCERPT);
}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringEndsWithTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringEndsWithTest.php
index fffa3c9c..9a30f952 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringEndsWithTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringEndsWithTest.php
@@ -8,7 +8,7 @@ class StringEndsWithTest extends \Hamcrest\AbstractMatcherTest
private $_stringEndsWith;
- public function setUp()
+ protected function setUp()
{
$this->_stringEndsWith = \Hamcrest\Text\StringEndsWith::endsWith(self::EXCERPT);
}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringStartsWithTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringStartsWithTest.php
index fc3761bd..3be201f1 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringStartsWithTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Text/StringStartsWithTest.php
@@ -8,7 +8,7 @@ class StringStartsWithTest extends \Hamcrest\AbstractMatcherTest
private $_stringStartsWith;
- public function setUp()
+ protected function setUp()
{
$this->_stringStartsWith = \Hamcrest\Text\StringStartsWith::startsWith(self::EXCERPT);
}
diff --git a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/UtilTest.php b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/UtilTest.php
index 0c2cd043..7248978c 100644
--- a/vendor/hamcrest/hamcrest-php/tests/Hamcrest/UtilTest.php
+++ b/vendor/hamcrest/hamcrest-php/tests/Hamcrest/UtilTest.php
@@ -1,7 +1,9 @@
+ stopOnFailure="false">
- + @@ -9,7 +9,7 @@ ## About Laravel -> **Note:** This repository contains the core code of the Laravel framework. If you want to build an application using Laravel 5, visit the main [Laravel repository](https://github.com/laravel/laravel). +> **Note:** This repository contains the core code of the Laravel framework. If you want to build an application using Laravel, visit the main [Laravel repository](https://github.com/laravel/laravel). Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as: @@ -20,7 +20,7 @@ Laravel is a web application framework with expressive, elegant syntax. We belie - [Robust background job processing](https://laravel.com/docs/queues). - [Real-time event broadcasting](https://laravel.com/docs/broadcasting). -Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation gives you a complete toolset required to build any application with which you are tasked +Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation gives you a complete toolset required to build any application with which you are tasked. ## Learning Laravel @@ -34,12 +34,12 @@ Thank you for considering contributing to the Laravel framework! The contributio ## Code of Conduct -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](CODE_OF_CONDUCT.md). +In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. +Please review [our security policy](https://github.com/laravel/framework/security/policy) on how to report security vulnerabilities. ## License -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). +The Laravel framework is open-sourced software licensed under the [MIT license](LICENSE.md). diff --git a/vendor/laravel/framework/composer.json b/vendor/laravel/framework/composer.json index feee8408..dea51b9a 100644 --- a/vendor/laravel/framework/composer.json +++ b/vendor/laravel/framework/composer.json @@ -15,32 +15,35 @@ } ], "require": { - "php": "^7.1.3", + "php": "^7.2.5|^8.0", + "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", - "doctrine/inflector": "^1.1", - "dragonmantank/cron-expression": "^2.0", - "erusev/parsedown": "^1.7", - "laravel/nexmo-notification-channel": "^1.0", - "laravel/slack-notification-channel": "^1.0", - "league/flysystem": "^1.0.8", - "monolog/monolog": "^1.12", - "nesbot/carbon": "^1.26.3", - "opis/closure": "^3.1", + "doctrine/inflector": "^1.4|^2.0", + "dragonmantank/cron-expression": "^2.3.1", + "egulias/email-validator": "^2.1.10", + "league/commonmark": "^1.3", + "league/flysystem": "^1.1", + "monolog/monolog": "^2.0", + "nesbot/carbon": "^2.31", + "opis/closure": "^3.6", "psr/container": "^1.0", "psr/simple-cache": "^1.0", - "ramsey/uuid": "^3.7", + "ramsey/uuid": "^3.7|^4.0", "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" + "symfony/console": "^5.0", + "symfony/error-handler": "^5.0", + "symfony/finder": "^5.0", + "symfony/http-foundation": "^5.0", + "symfony/http-kernel": "^5.0", + "symfony/mime": "^5.0", + "symfony/polyfill-php73": "^1.17", + "symfony/process": "^5.0", + "symfony/routing": "^5.0", + "symfony/var-dumper": "^5.0", + "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "vlucas/phpdotenv": "^4.0", + "voku/portable-ascii": "^1.4.8" }, "replace": { "illuminate/auth": "self.version", @@ -68,29 +71,31 @@ "illuminate/routing": "self.version", "illuminate/session": "self.version", "illuminate/support": "self.version", + "illuminate/testing": "self.version", "illuminate/translation": "self.version", "illuminate/validation": "self.version", "illuminate/view": "self.version" }, + "require-dev": { + "aws/aws-sdk-php": "^3.155", + "doctrine/dbal": "^2.6", + "filp/whoops": "^2.8", + "guzzlehttp/guzzle": "^6.3.1|^7.0.1", + "league/flysystem-cached-adapter": "^1.0", + "mockery/mockery": "~1.3.3|^1.4.2", + "moontoast/math": "^1.1", + "orchestra/testbench-core": "^5.8", + "pda/pheanstalk": "^4.0", + "phpunit/phpunit": "^8.4|^9.3.3", + "predis/predis": "^1.1.1", + "symfony/cache": "^5.0" + }, + "provide": { + "psr/container-implementation": "1.0" + }, "conflict": { "tightenco/collect": "<5.5.33" }, - "require-dev": { - "aws/aws-sdk-php": "^3.0", - "doctrine/dbal": "^2.6", - "filp/whoops": "^2.1.4", - "guzzlehttp/guzzle": "^6.3", - "league/flysystem-cached-adapter": "^1.0", - "mockery/mockery": "^1.0", - "moontoast/math": "^1.1", - "orchestra/testbench-core": "3.7.*", - "pda/pheanstalk": "^3.0|^4.0", - "phpunit/phpunit": "^7.5", - "predis/predis": "^1.1.1", - "symfony/css-selector": "^4.1", - "symfony/dom-crawler": "^4.1", - "true/punycode": "^2.1" - }, "autoload": { "files": [ "src/Illuminate/Foundation/helpers.php", @@ -110,30 +115,37 @@ }, "extra": { "branch-alias": { - "dev-master": "5.7-dev" + "dev-master": "7.x-dev" } }, "suggest": { + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", "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).", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.155).", "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6).", - "filp/whoops": "Required for friendly error pages in development (^2.1.4).", - "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).", + "filp/whoops": "Required for friendly error pages in development (^2.8).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "guzzlehttp/guzzle": "Required to use the HTTP Client, Mailgun mail driver and the ping methods on schedules (^6.3.1|^7.0.1).", + "laravel/tinker": "Required to use the tinker console command (^2.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).", + "mockery/mockery": "Required to use mocking (~1.3.3|^1.4.2).", "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|^4.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)." + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^8.4|^9.3.3).", + "predis/predis": "Required to use the predis connector (^1.1.2).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^5.0).", + "symfony/filesystem": "Required to create relative storage directory symbolic links (^5.0).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", + "wildbit/swiftmailer-postmark": "Required to use Postmark mail driver (^3.0)." }, "config": { "sort-packages": true diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Access/AuthorizationException.php b/vendor/laravel/framework/src/Illuminate/Auth/Access/AuthorizationException.php index dc0753e2..7fe6ceba 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Access/AuthorizationException.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/Access/AuthorizationException.php @@ -3,8 +3,62 @@ namespace Illuminate\Auth\Access; use Exception; +use Throwable; class AuthorizationException extends Exception { - // + /** + * The response from the gate. + * + * @var \Illuminate\Auth\Access\Response + */ + protected $response; + + /** + * Create a new authorization exception instance. + * + * @param string|null $message + * @param mixed $code + * @param \Throwable|null $previous + * @return void + */ + public function __construct($message = null, $code = null, Throwable $previous = null) + { + parent::__construct($message ?? 'This action is unauthorized.', 0, $previous); + + $this->code = $code ?: 0; + } + + /** + * Get the response from the gate. + * + * @return \Illuminate\Auth\Access\Response + */ + public function response() + { + return $this->response; + } + + /** + * Set the response from the gate. + * + * @param \Illuminate\Auth\Access\Response $response + * @return $this + */ + public function setResponse($response) + { + $this->response = $response; + + return $this; + } + + /** + * Create a deny response object from this exception. + * + * @return \Illuminate\Auth\Access\Response + */ + public function toResponse() + { + return Response::deny($this->message, $this->code); + } } diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php b/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php index 19db5076..8c955b46 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/Access/Gate.php @@ -3,13 +3,13 @@ namespace Illuminate\Auth\Access; use Exception; -use ReflectionClass; -use ReflectionFunction; +use Illuminate\Contracts\Auth\Access\Gate as GateContract; +use Illuminate\Contracts\Container\Container; use Illuminate\Support\Arr; use Illuminate\Support\Str; use InvalidArgumentException; -use Illuminate\Contracts\Container\Container; -use Illuminate\Contracts\Auth\Access\Gate as GateContract; +use ReflectionClass; +use ReflectionFunction; class Gate implements GateContract { @@ -57,6 +57,20 @@ class Gate implements GateContract */ protected $afterCallbacks = []; + /** + * All of the defined abilities using class@method notation. + * + * @var array + */ + protected $stringCallbacks = []; + + /** + * The callback to be used to guess policy names. + * + * @var callable|null + */ + protected $guessPolicyNamesUsingCallback; + /** * Create a new gate instance. * @@ -66,10 +80,12 @@ class Gate implements GateContract * @param array $policies * @param array $beforeCallbacks * @param array $afterCallbacks + * @param callable|null $guessPolicyNamesUsingCallback * @return void */ public function __construct(Container $container, callable $userResolver, array $abilities = [], - array $policies = [], array $beforeCallbacks = [], array $afterCallbacks = []) + array $policies = [], array $beforeCallbacks = [], array $afterCallbacks = [], + callable $guessPolicyNamesUsingCallback = null) { $this->policies = $policies; $this->container = $container; @@ -77,6 +93,7 @@ class Gate implements GateContract $this->userResolver = $userResolver; $this->afterCallbacks = $afterCallbacks; $this->beforeCallbacks = $beforeCallbacks; + $this->guessPolicyNamesUsingCallback = $guessPolicyNamesUsingCallback; } /** @@ -109,9 +126,15 @@ class Gate implements GateContract */ public function define($ability, $callback) { + if (is_array($callback) && isset($callback[0]) && is_string($callback[0])) { + $callback = $callback[0].'@'.$callback[1]; + } + if (is_callable($callback)) { $this->abilities[$ability] = $callback; } elseif (is_string($callback)) { + $this->stringCallbacks[$ability] = $callback; + $this->abilities[$ability] = $this->buildAbilityCallback($ability, $callback); } else { throw new InvalidArgumentException("Callback must be a callable or a 'Class@method' string."); @@ -125,16 +148,17 @@ class Gate implements GateContract * * @param string $name * @param string $class - * @param array|null $abilities + * @param array|null $abilities * @return $this */ public function resource($name, $class, array $abilities = null) { $abilities = $abilities ?: [ - 'view' => 'view', - 'create' => 'create', - 'update' => 'update', - 'delete' => 'delete', + 'viewAny' => 'viewAny', + 'view' => 'view', + 'create' => 'create', + 'update' => 'update', + 'delete' => 'delete', ]; foreach ($abilities as $ability => $method) { @@ -254,11 +278,7 @@ class Gate implements GateContract public function check($abilities, $arguments = []) { return collect($abilities)->every(function ($ability) use ($arguments) { - try { - return (bool) $this->raw($ability, $arguments); - } catch (AuthorizationException $e) { - return false; - } + return $this->inspect($ability, $arguments)->allowed(); }); } @@ -276,6 +296,18 @@ class Gate implements GateContract }); } + /** + * Determine if all of the given abilities should be denied for the current user. + * + * @param iterable|string $abilities + * @param array|mixed $arguments + * @return bool + */ + public function none($abilities, $arguments = []) + { + return ! $this->any($abilities, $arguments); + } + /** * Determine if the given ability should be granted for the current user. * @@ -287,13 +319,29 @@ class Gate implements GateContract */ public function authorize($ability, $arguments = []) { - $result = $this->raw($ability, $arguments); + return $this->inspect($ability, $arguments)->authorize(); + } - if ($result instanceof Response) { - return $result; + /** + * Inspect the user for the given ability. + * + * @param string $ability + * @param array|mixed $arguments + * @return \Illuminate\Auth\Access\Response + */ + public function inspect($ability, $arguments = []) + { + try { + $result = $this->raw($ability, $arguments); + + if ($result instanceof Response) { + return $result; + } + + return $result ? Response::allow() : Response::deny(); + } catch (AuthorizationException $e) { + return $e->toResponse(); } - - return $result ? $this->allow() : $this->deny(); } /** @@ -302,6 +350,8 @@ class Gate implements GateContract * @param string $ability * @param array|mixed $arguments * @return mixed + * + * @throws \Illuminate\Auth\Access\AuthorizationException */ public function raw($ability, $arguments = []) { @@ -333,7 +383,7 @@ class Gate implements GateContract * * @param \Illuminate\Contracts\Auth\Authenticatable|null $user * @param \Closure|string|array $class - * @param string|null $method + * @param string|null $method * @return bool */ protected function canBeCalledWithUser($user, $class, $method = null) @@ -386,6 +436,8 @@ class Gate implements GateContract * * @param callable $callback * @return bool + * + * @throws \ReflectionException */ protected function callbackAllowsGuests($callback) { @@ -402,7 +454,7 @@ class Gate implements GateContract */ protected function parameterAllowsGuests($parameter) { - return ($parameter->getClass() && $parameter->allowsNull()) || + return ($parameter->hasType() && $parameter->allowsNull()) || ($parameter->isDefaultValueAvailable() && is_null($parameter->getDefaultValue())); } @@ -431,14 +483,12 @@ class Gate implements GateContract */ protected function callBeforeCallbacks($user, $ability, array $arguments) { - $arguments = array_merge([$user, $ability], [$arguments]); - foreach ($this->beforeCallbacks as $before) { if (! $this->canBeCalledWithUser($user, $before)) { continue; } - if (! is_null($result = $before(...$arguments))) { + if (! is_null($result = $before($user, $ability, $arguments))) { return $result; } } @@ -484,13 +534,21 @@ class Gate implements GateContract return $callback; } + if (isset($this->stringCallbacks[$ability])) { + [$class, $method] = Str::parseCallback($this->stringCallbacks[$ability]); + + if ($this->canBeCalledWithUser($user, $class, $method ?: '__invoke')) { + return $this->abilities[$ability]; + } + } + if (isset($this->abilities[$ability]) && $this->canBeCalledWithUser($user, $this->abilities[$ability])) { return $this->abilities[$ability]; } return function () { - return null; + // }; } @@ -514,6 +572,12 @@ class Gate implements GateContract return $this->resolvePolicy($this->policies[$class]); } + foreach ($this->guessPolicyName($class) as $guessedPolicy) { + if (class_exists($guessedPolicy)) { + return $this->resolvePolicy($guessedPolicy); + } + } + foreach ($this->policies as $expected => $policy) { if (is_subclass_of($class, $expected)) { return $this->resolvePolicy($policy); @@ -521,11 +585,43 @@ class Gate implements GateContract } } + /** + * Guess the policy name for the given class. + * + * @param string $class + * @return array + */ + protected function guessPolicyName($class) + { + if ($this->guessPolicyNamesUsingCallback) { + return Arr::wrap(call_user_func($this->guessPolicyNamesUsingCallback, $class)); + } + + $classDirname = str_replace('/', '\\', dirname(str_replace('\\', '/', $class))); + + return [$classDirname.'\\Policies\\'.class_basename($class).'Policy']; + } + + /** + * Specify a callback to be used to guess policy names. + * + * @param callable $callback + * @return $this + */ + public function guessPolicyNamesUsing(callable $callback) + { + $this->guessPolicyNamesUsingCallback = $callback; + + return $this; + } + /** * Build a policy class instance of the given type. * * @param object|string $class * @return mixed + * + * @throws \Illuminate\Contracts\Container\BindingResolutionException */ public function resolvePolicy($class) { @@ -580,7 +676,7 @@ class Gate implements GateContract protected function callPolicyBefore($policy, $user, $ability, $arguments) { if (! method_exists($policy, 'before')) { - return null; + return; } if ($this->canBeCalledWithUser($user, $policy, 'before')) { @@ -607,7 +703,7 @@ class Gate implements GateContract } if (! is_callable([$policy, $method])) { - return null; + return; } if ($this->canBeCalledWithUser($user, $policy, $method)) { @@ -640,7 +736,8 @@ class Gate implements GateContract return new static( $this->container, $callback, $this->abilities, - $this->policies, $this->beforeCallbacks, $this->afterCallbacks + $this->policies, $this->beforeCallbacks, $this->afterCallbacks, + $this->guessPolicyNamesUsingCallback ); } diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Access/HandlesAuthorization.php b/vendor/laravel/framework/src/Illuminate/Auth/Access/HandlesAuthorization.php index 1a597bb9..66e5786e 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Access/HandlesAuthorization.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/Access/HandlesAuthorization.php @@ -8,23 +8,23 @@ trait HandlesAuthorization * Create a new access response. * * @param string|null $message + * @param mixed $code * @return \Illuminate\Auth\Access\Response */ - protected function allow($message = null) + protected function allow($message = null, $code = null) { - return new Response($message); + return Response::allow($message, $code); } /** * Throws an unauthorized exception. * - * @param string $message - * @return void - * - * @throws \Illuminate\Auth\Access\AuthorizationException + * @param string|null $message + * @param mixed|null $code + * @return \Illuminate\Auth\Access\Response */ - protected function deny($message = 'This action is unauthorized.') + protected function deny($message = null, $code = null) { - throw new AuthorizationException($message); + return Response::deny($message, $code); } } diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php b/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php index 7fab01ef..ab5edf39 100644 --- a/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/Access/Response.php @@ -2,8 +2,17 @@ namespace Illuminate\Auth\Access; -class Response +use Illuminate\Contracts\Support\Arrayable; + +class Response implements Arrayable { + /** + * Indicates whether the response was allowed. + * + * @var bool + */ + protected $allowed; + /** * The response message. * @@ -11,17 +20,72 @@ class Response */ protected $message; + /** + * The response code. + * + * @var mixed + */ + protected $code; + /** * Create a new response. * - * @param string|null $message + * @param bool $allowed + * @param string $message + * @param mixed $code * @return void */ - public function __construct($message = null) + public function __construct($allowed, $message = '', $code = null) { + $this->code = $code; + $this->allowed = $allowed; $this->message = $message; } + /** + * Create a new "allow" Response. + * + * @param string|null $message + * @param mixed $code + * @return \Illuminate\Auth\Access\Response + */ + public static function allow($message = null, $code = null) + { + return new static(true, $message, $code); + } + + /** + * Create a new "deny" Response. + * + * @param string|null $message + * @param mixed $code + * @return \Illuminate\Auth\Access\Response + */ + public static function deny($message = null, $code = null) + { + return new static(false, $message, $code); + } + + /** + * Determine if the response was allowed. + * + * @return bool + */ + public function allowed() + { + return $this->allowed; + } + + /** + * Determine if the response was denied. + * + * @return bool + */ + public function denied() + { + return ! $this->allowed(); + } + /** * Get the response message. * @@ -32,6 +96,47 @@ class Response return $this->message; } + /** + * Get the response code / reason. + * + * @return mixed + */ + public function code() + { + return $this->code; + } + + /** + * Throw authorization exception if response was denied. + * + * @return \Illuminate\Auth\Access\Response + * + * @throws \Illuminate\Auth\Access\AuthorizationException + */ + public function authorize() + { + if ($this->denied()) { + throw (new AuthorizationException($this->message(), $this->code())) + ->setResponse($this); + } + + return $this; + } + + /** + * Convert the response to an array. + * + * @return array + */ + public function toArray() + { + return [ + 'allowed' => $this->allowed(), + 'message' => $this->message(), + 'code' => $this->code(), + ]; + } + /** * Get the string representation of the message. * diff --git a/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php b/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php index e4e5b415..ebbd7f5f 100755 --- a/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php @@ -3,8 +3,8 @@ namespace Illuminate\Auth; use Closure; -use InvalidArgumentException; use Illuminate\Contracts\Auth\Factory as FactoryContract; +use InvalidArgumentException; class AuthManager implements FactoryContract { @@ -13,7 +13,7 @@ class AuthManager implements FactoryContract /** * The application instance. * - * @var \Illuminate\Foundation\Application + * @var \Illuminate\Contracts\Foundation\Application */ protected $app; @@ -43,7 +43,7 @@ class AuthManager implements FactoryContract /** * Create a new Auth manager instance. * - * @param \Illuminate\Foundation\Application $app + * @param \Illuminate\Contracts\Foundation\Application $app * @return void */ public function __construct($app) @@ -58,7 +58,7 @@ class AuthManager implements FactoryContract /** * Attempt to get the guard from the local cache. * - * @param string $name + * @param string|null $name * @return \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard */ public function guard($name = null) @@ -94,7 +94,9 @@ class AuthManager implements FactoryContract return $this->{$driverMethod}($name, $config); } - throw new InvalidArgumentException("Auth driver [{$config['driver']}] for guard [{$name}] is not defined."); + throw new InvalidArgumentException( + "Auth driver [{$config['driver']}] for guard [{$name}] is not defined." + ); } /** @@ -156,7 +158,8 @@ class AuthManager implements FactoryContract $this->createUserProvider($config['provider'] ?? null), $this->app['request'], $config['input_key'] ?? 'api_token', - $config['storage_key'] ?? 'api_token' + $config['storage_key'] ?? 'api_token', + $config['hash'] ?? false ); $this->app->refresh('request', $guard, 'setRequest'); @@ -282,6 +285,16 @@ class AuthManager implements FactoryContract return $this; } + /** + * Determines if any guards have already been resolved. + * + * @return bool + */ + public function hasResolvedGuards() + { + return count($this->guards) > 0; + } + /** * Dynamically call the default driver instance. * diff --git a/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php b/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php index 2820beb4..7a6b4121 100755 --- a/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php +++ b/vendor/laravel/framework/src/Illuminate/Auth/AuthServiceProvider.php @@ -3,9 +3,12 @@ namespace Illuminate\Auth; use Illuminate\Auth\Access\Gate; -use Illuminate\Support\ServiceProvider; +use Illuminate\Auth\Middleware\RequirePassword; use Illuminate\Contracts\Auth\Access\Gate as GateContract; use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; +use Illuminate\Contracts\Routing\ResponseFactory; +use Illuminate\Contracts\Routing\UrlGenerator; +use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends ServiceProvider { @@ -17,12 +20,11 @@ class AuthServiceProvider extends ServiceProvider public function register() { $this->registerAuthenticator(); - $this->registerUserResolver(); - $this->registerAccessGate(); - + $this->registerRequirePassword(); $this->registerRequestRebindHandler(); + $this->registerEventRebindHandler(); } /** @@ -79,6 +81,24 @@ class AuthServiceProvider extends ServiceProvider * * @return void */ + protected function registerRequirePassword() + { + $this->app->bind( + RequirePassword::class, function ($app) { + return new RequirePassword( + $app[ResponseFactory::class], + $app[UrlGenerator::class], + $app['config']->get('auth.password_timeout') + ); + } + ); + } + + /** + * Handle the re-binding of the request binding. + * + * @return void + */ protected function registerRequestRebindHandler() { $this->app->rebinding('request', function ($app, $request) { @@ -87,4 +107,26 @@ class AuthServiceProvider extends ServiceProvider }); }); } + + /** + * Handle the re-binding of the event dispatcher binding. + * + * @return void + */ + protected function registerEventRebindHandler() + { + $this->app->rebinding('events', function ($app, $dispatcher) { + if (! $app->resolved('auth')) { + return; + } + + if ($app['auth']->hasResolvedGuards() === false) { + return; + } + + if (method_exists($guard = $app['auth']->guard(), 'setDispatcher')) { + $guard->setDispatcher($dispatcher); + } + }); + } } diff --git a/vendor/laravel/framework/src/Illuminate/Auth/Console/AuthMakeCommand.php b/vendor/laravel/framework/src/Illuminate/Auth/Console/AuthMakeCommand.php deleted file mode 100644 index cfe95977..00000000 --- a/vendor/laravel/framework/src/Illuminate/Auth/Console/AuthMakeCommand.php +++ /dev/null @@ -1,120 +0,0 @@ - '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', - 'home.stub' => 'home.blade.php', - ]; - - /** - * Execute the console command. - * - * @return void - */ - public function handle() - { - $this->createDirectories(); - - $this->exportViews(); - - if (! $this->option('views')) { - file_put_contents( - app_path('Http/Controllers/HomeController.php'), - $this->compileControllerStub() - ); - - file_put_contents( - base_path('routes/web.php'), - file_get_contents(__DIR__.'/stubs/make/routes.stub'), - FILE_APPEND - ); - } - - $this->info('Authentication scaffolding generated successfully.'); - } - - /** - * Create the directories for the files. - * - * @return void - */ - protected function createDirectories() - { - if (! is_dir($directory = resource_path('views/layouts'))) { - mkdir($directory, 0755, true); - } - - if (! is_dir($directory = resource_path('views/auth/passwords'))) { - mkdir($directory, 0755, true); - } - } - - /** - * Export the authentication views. - * - * @return void - */ - protected function exportViews() - { - foreach ($this->views as $key => $value) { - if (file_exists($view = resource_path('views/'.$value)) && ! $this->option('force')) { - if (! $this->confirm("The [{$value}] view already exists. Do you want to replace it?")) { - continue; - } - } - - copy( - __DIR__.'/stubs/make/views/'.$key, - $view - ); - } - } - - /** - * Compiles the HomeController stub. - * - * @return string - */ - protected function compileControllerStub() - { - return str_replace( - '{{namespace}}', - $this->getAppNamespace(), - file_get_contents(__DIR__.'/stubs/make/controllers/HomeController.stub') - ); - } -} 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 deleted file mode 100644 index 9edb920e..00000000 --- a/vendor/laravel/framework/src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub +++ /dev/null @@ -1,73 +0,0 @@ -@extends('layouts.app') - -@section('content') -