diff --git a/composer.json b/composer.json
index 8437cb31..875d4bd8 100644
--- a/composer.json
+++ b/composer.json
@@ -8,7 +8,7 @@
],
"config": {
"platform": {
- "php": "7.4"
+ "php": "8.0"
}
},
"require": {
@@ -16,7 +16,6 @@
"sergeytsalkov/meekrodb": "^2.3",
"league/plates": "^3.3",
"guzzlehttp/guzzle": "^6.3",
- "scssphp/scssphp": "^1.0",
"monolog/monolog": "^1.23",
"firephp/firephp-core": "^0.4.0",
"vlucas/valitron": "^1.4",
@@ -51,5 +50,5 @@
"f_config/config.php"
]
}
-
+
}
diff --git a/composer.lock b/composer.lock
index 265d7589..1679a960 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "317938cff7b30806f4e385a70f4943fc",
+ "content-hash": "94cfbcb22b9f475e421ad5009391006f",
"packages": [
{
"name": "brandonwamboldt/utilphp",
@@ -122,16 +122,16 @@
},
{
"name": "composer/semver",
- "version": "3.2.5",
+ "version": "3.2.6",
"source": {
"type": "git",
"url": "https://github.com/composer/semver.git",
- "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9"
+ "reference": "83e511e247de329283478496f7a1e114c9517506"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9",
- "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9",
+ "url": "https://api.github.com/repos/composer/semver/zipball/83e511e247de329283478496f7a1e114c9517506",
+ "reference": "83e511e247de329283478496f7a1e114c9517506",
"shasum": ""
},
"require": {
@@ -183,7 +183,7 @@
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/semver/issues",
- "source": "https://github.com/composer/semver/tree/3.2.5"
+ "source": "https://github.com/composer/semver/tree/3.2.6"
},
"funding": [
{
@@ -199,7 +199,7 @@
"type": "tidelift"
}
],
- "time": "2021-05-24T12:41:47+00:00"
+ "time": "2021-10-25T11:34:17+00:00"
},
{
"name": "composer/xdebug-handler",
@@ -267,34 +267,30 @@
},
{
"name": "doctrine/inflector",
- "version": "2.0.3",
+ "version": "2.0.4",
"source": {
"type": "git",
"url": "https://github.com/doctrine/inflector.git",
- "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210"
+ "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/inflector/zipball/9cf661f4eb38f7c881cac67c75ea9b00bf97b210",
- "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89",
+ "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^7.0",
- "phpstan/phpstan": "^0.11",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-strict-rules": "^0.11",
- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
+ "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": "2.0.x-dev"
- }
- },
"autoload": {
"psr-4": {
"Doctrine\\Inflector\\": "lib/Doctrine/Inflector"
@@ -342,7 +338,7 @@
],
"support": {
"issues": "https://github.com/doctrine/inflector/issues",
- "source": "https://github.com/doctrine/inflector/tree/2.0.x"
+ "source": "https://github.com/doctrine/inflector/tree/2.0.4"
},
"funding": [
{
@@ -358,7 +354,7 @@
"type": "tidelift"
}
],
- "time": "2020-05-29T15:13:26+00:00"
+ "time": "2021-10-22T20:16:43+00:00"
},
{
"name": "erusev/parsedown",
@@ -674,16 +670,16 @@
},
{
"name": "guzzlehttp/promises",
- "version": "1.4.1",
+ "version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
+ "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
- "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
+ "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
"shasum": ""
},
"require": {
@@ -695,7 +691,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.4-dev"
+ "dev-master": "1.5-dev"
}
},
"autoload": {
@@ -711,10 +707,25 @@
"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",
@@ -723,22 +734,36 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
- "source": "https://github.com/guzzle/promises/tree/1.4.1"
+ "source": "https://github.com/guzzle/promises/tree/1.5.1"
},
- "time": "2021-03-07T09:25:29+00:00"
+ "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": "1.8.2",
+ "version": "1.8.3",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "dc960a912984efb74d0a90222870c72c87f10c91"
+ "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91",
- "reference": "dc960a912984efb74d0a90222870c72c87f10c91",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
+ "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
"shasum": ""
},
"require": {
@@ -775,13 +800,34 @@
"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"
}
],
@@ -798,22 +844,36 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/1.8.2"
+ "source": "https://github.com/guzzle/psr7/tree/1.8.3"
},
- "time": "2021-04-26T09:17:50+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2021-10-05T13:56:00+00:00"
},
{
"name": "illuminate/bus",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/bus.git",
- "reference": "808097c0dfd893309bd77b00139586c516b965c9"
+ "reference": "be400399687b97d5558a224e970060fd5d5f2735"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/bus/zipball/808097c0dfd893309bd77b00139586c516b965c9",
- "reference": "808097c0dfd893309bd77b00139586c516b965c9",
+ "url": "https://api.github.com/repos/illuminate/bus/zipball/be400399687b97d5558a224e970060fd5d5f2735",
+ "reference": "be400399687b97d5558a224e970060fd5d5f2735",
"shasum": ""
},
"require": {
@@ -853,20 +913,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-08-10T16:49:48+00:00"
+ "time": "2021-10-21T19:19:36+00:00"
},
{
"name": "illuminate/collections",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/collections.git",
- "reference": "18fa841df912ec56849351dd6ca8928e8a98b69d"
+ "reference": "05f286ec5fd2dd286e8384577047efc375c8954c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/collections/zipball/18fa841df912ec56849351dd6ca8928e8a98b69d",
- "reference": "18fa841df912ec56849351dd6ca8928e8a98b69d",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/05f286ec5fd2dd286e8384577047efc375c8954c",
+ "reference": "05f286ec5fd2dd286e8384577047efc375c8954c",
"shasum": ""
},
"require": {
@@ -907,20 +967,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-09-08T12:48:16+00:00"
+ "time": "2021-10-22T18:01:46+00:00"
},
{
"name": "illuminate/container",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/container.git",
- "reference": "862b64ea4ab56e307a1676104a1b93295d347ad0"
+ "reference": "ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/container/zipball/862b64ea4ab56e307a1676104a1b93295d347ad0",
- "reference": "862b64ea4ab56e307a1676104a1b93295d347ad0",
+ "url": "https://api.github.com/repos/illuminate/container/zipball/ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d",
+ "reference": "ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d",
"shasum": ""
},
"require": {
@@ -958,20 +1018,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-09-09T13:55:23+00:00"
+ "time": "2021-09-15T14:32:50+00:00"
},
{
"name": "illuminate/contracts",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/contracts.git",
- "reference": "ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913"
+ "reference": "e76f4bce73a2a1656add24bd5210ebc4b8af49c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/contracts/zipball/ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913",
- "reference": "ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913",
+ "url": "https://api.github.com/repos/illuminate/contracts/zipball/e76f4bce73a2a1656add24bd5210ebc4b8af49c0",
+ "reference": "e76f4bce73a2a1656add24bd5210ebc4b8af49c0",
"shasum": ""
},
"require": {
@@ -1006,20 +1066,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-09-08T12:09:40+00:00"
+ "time": "2021-10-22T18:01:46+00:00"
},
{
"name": "illuminate/database",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/database.git",
- "reference": "acc11d6839ddb3b694bc6585177fa5141b70c693"
+ "reference": "43c7ffb6299ae55b000b286cf1278afd268ef29f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/database/zipball/acc11d6839ddb3b694bc6585177fa5141b70c693",
- "reference": "acc11d6839ddb3b694bc6585177fa5141b70c693",
+ "url": "https://api.github.com/repos/illuminate/database/zipball/43c7ffb6299ae55b000b286cf1278afd268ef29f",
+ "reference": "43c7ffb6299ae55b000b286cf1278afd268ef29f",
"shasum": ""
},
"require": {
@@ -1033,7 +1093,7 @@
"symfony/console": "^5.1.4"
},
"suggest": {
- "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).",
+ "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.2).",
"fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
"illuminate/console": "Required to use the database commands (^8.0).",
"illuminate/events": "Required to use the observers with Eloquent (^8.0).",
@@ -1074,20 +1134,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-09-13T18:43:43+00:00"
+ "time": "2021-10-29T19:46:53+00:00"
},
{
"name": "illuminate/events",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/events.git",
- "reference": "7def78033f29cd0c0383513b27c291d233a7f90e"
+ "reference": "b7f06cafb6c09581617f2ca05d69e9b159e5a35d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/events/zipball/7def78033f29cd0c0383513b27c291d233a7f90e",
- "reference": "7def78033f29cd0c0383513b27c291d233a7f90e",
+ "url": "https://api.github.com/repos/illuminate/events/zipball/b7f06cafb6c09581617f2ca05d69e9b159e5a35d",
+ "reference": "b7f06cafb6c09581617f2ca05d69e9b159e5a35d",
"shasum": ""
},
"require": {
@@ -1129,11 +1189,11 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-08-16T21:45:47+00:00"
+ "time": "2021-09-15T14:32:50+00:00"
},
{
"name": "illuminate/macroable",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/macroable.git",
@@ -1179,7 +1239,7 @@
},
{
"name": "illuminate/pipeline",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/pipeline.git",
@@ -1227,16 +1287,16 @@
},
{
"name": "illuminate/support",
- "version": "v8.61.0",
+ "version": "v8.69.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/support.git",
- "reference": "b0a21c41163381dd9a5abbd68fe85ed7b4247d30"
+ "reference": "a8851b7001530d3c11626a81449ed9b63dd10db7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/support/zipball/b0a21c41163381dd9a5abbd68fe85ed7b4247d30",
- "reference": "b0a21c41163381dd9a5abbd68fe85ed7b4247d30",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/a8851b7001530d3c11626a81449ed9b63dd10db7",
+ "reference": "a8851b7001530d3c11626a81449ed9b63dd10db7",
"shasum": ""
},
"require": {
@@ -1246,7 +1306,7 @@
"illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0",
- "nesbot/carbon": "^2.31",
+ "nesbot/carbon": "^2.53.1",
"php": "^7.3|^8.0",
"voku/portable-ascii": "^1.4.8"
},
@@ -1255,8 +1315,8 @@
},
"suggest": {
"illuminate/filesystem": "Required to use the composer class (^8.0).",
- "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0).",
- "ramsey/uuid": "Required to use Str::uuid() (^4.0).",
+ "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0.2).",
+ "ramsey/uuid": "Required to use Str::uuid() (^4.2.2).",
"symfony/process": "Required to use the composer class (^5.1.4).",
"symfony/var-dumper": "Required to use the dd function (^5.1.4).",
"vlucas/phpdotenv": "Required to use the Env class and env helper (^5.2)."
@@ -1291,7 +1351,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-09-13T18:43:43+00:00"
+ "time": "2021-10-29T13:34:03+00:00"
},
{
"name": "league/plates",
@@ -1490,16 +1550,16 @@
},
{
"name": "nesbot/carbon",
- "version": "2.53.1",
+ "version": "2.54.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045"
+ "reference": "eed83939f1aed3eee517d03a33f5ec587ac529b5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f4655858a784988f880c1b8c7feabbf02dfdf045",
- "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/eed83939f1aed3eee517d03a33f5ec587ac529b5",
+ "reference": "eed83939f1aed3eee517d03a33f5ec587ac529b5",
"shasum": ""
},
"require": {
@@ -1510,6 +1570,7 @@
"symfony/translation": "^3.4 || ^4.0 || ^5.0"
},
"require-dev": {
+ "doctrine/dbal": "^2.0 || ^3.0",
"doctrine/orm": "^2.7",
"friendsofphp/php-cs-fixer": "^3.0",
"kylekatarnls/multi-tester": "^2.0",
@@ -1580,7 +1641,7 @@
"type": "tidelift"
}
],
- "time": "2021-09-06T09:29:23+00:00"
+ "time": "2021-11-01T21:22:20+00:00"
},
{
"name": "netresearch/jsonmapper",
@@ -1773,20 +1834,20 @@
},
{
"name": "nette/utils",
- "version": "v3.2.2",
+ "version": "v3.2.5",
"source": {
"type": "git",
"url": "https://github.com/nette/utils.git",
- "reference": "967cfc4f9a1acd5f1058d76715a424c53343c20c"
+ "reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/utils/zipball/967cfc4f9a1acd5f1058d76715a424c53343c20c",
- "reference": "967cfc4f9a1acd5f1058d76715a424c53343c20c",
+ "url": "https://api.github.com/repos/nette/utils/zipball/9cd80396ca58d7969ab44fc7afcf03624dfa526e",
+ "reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e",
"shasum": ""
},
"require": {
- "php": ">=7.2 <8.1"
+ "php": ">=7.2 <8.2"
},
"conflict": {
"nette/di": "<3.0.6"
@@ -1852,9 +1913,9 @@
],
"support": {
"issues": "https://github.com/nette/utils/issues",
- "source": "https://github.com/nette/utils/tree/v3.2.2"
+ "source": "https://github.com/nette/utils/tree/v3.2.5"
},
- "time": "2021-03-03T22:53:25+00:00"
+ "time": "2021-09-20T10:50:11+00:00"
},
{
"name": "pguardiario/phpuri",
@@ -2110,16 +2171,16 @@
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "5.2.2",
+ "version": "5.3.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556"
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556",
- "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
"shasum": ""
},
"require": {
@@ -2130,7 +2191,8 @@
"webmozart/assert": "^1.9.1"
},
"require-dev": {
- "mockery/mockery": "~1.3.2"
+ "mockery/mockery": "~1.3.2",
+ "psalm/phar": "^4.8"
},
"type": "library",
"extra": {
@@ -2160,22 +2222,22 @@
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"support": {
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
- "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
},
- "time": "2020-09-03T19:13:55+00:00"
+ "time": "2021-10-19T17:43:47+00:00"
},
{
"name": "phpdocumentor/type-resolver",
- "version": "1.4.0",
+ "version": "1.5.1",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
+ "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
- "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae",
+ "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae",
"shasum": ""
},
"require": {
@@ -2183,7 +2245,8 @@
"phpdocumentor/reflection-common": "^2.0"
},
"require-dev": {
- "ext-tokenizer": "*"
+ "ext-tokenizer": "*",
+ "psalm/phar": "^4.8"
},
"type": "library",
"extra": {
@@ -2209,26 +2272,26 @@
"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.4.0"
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1"
},
- "time": "2020-09-17T18:55:26+00:00"
+ "time": "2021-10-02T14:08:47+00:00"
},
{
"name": "psr/container",
- "version": "1.1.1",
+ "version": "1.1.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
- "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
- "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
"shasum": ""
},
"require": {
- "php": ">=7.2.0"
+ "php": ">=7.4.0"
},
"type": "library",
"autoload": {
@@ -2257,9 +2320,9 @@
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
- "source": "https://github.com/php-fig/container/tree/1.1.1"
+ "source": "https://github.com/php-fig/container/tree/1.1.2"
},
- "time": "2021-03-05T17:36:06+00:00"
+ "time": "2021-11-05T16:50:12+00:00"
},
{
"name": "psr/http-message",
@@ -2461,23 +2524,23 @@
},
{
"name": "sabre/event",
- "version": "5.1.2",
+ "version": "5.1.4",
"source": {
"type": "git",
"url": "https://github.com/sabre-io/event.git",
- "reference": "c120bec57c17b6251a496efc82b732418b49d50a"
+ "reference": "d7da22897125d34d7eddf7977758191c06a74497"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sabre-io/event/zipball/c120bec57c17b6251a496efc82b732418b49d50a",
- "reference": "c120bec57c17b6251a496efc82b732418b49d50a",
+ "url": "https://api.github.com/repos/sabre-io/event/zipball/d7da22897125d34d7eddf7977758191c06a74497",
+ "reference": "d7da22897125d34d7eddf7977758191c06a74497",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "~2.16.1",
+ "friendsofphp/php-cs-fixer": "~2.17.1",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.0"
},
@@ -2523,80 +2586,7 @@
"issues": "https://github.com/sabre-io/event/issues",
"source": "https://github.com/fruux/sabre-event"
},
- "time": "2020-10-03T11:02:22+00:00"
- },
- {
- "name": "scssphp/scssphp",
- "version": "v1.6.0",
- "source": {
- "type": "git",
- "url": "https://github.com/scssphp/scssphp.git",
- "reference": "b83594e2323c5d6e80785df3f91b9d1d32aad530"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/b83594e2323c5d6e80785df3f91b9d1d32aad530",
- "reference": "b83594e2323c5d6e80785df3f91b9d1d32aad530",
- "shasum": ""
- },
- "require": {
- "ext-ctype": "*",
- "ext-json": "*",
- "php": ">=5.6.0"
- },
- "require-dev": {
- "bamarni/composer-bin-plugin": "^1.4",
- "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.3 || ^9.4",
- "sass/sass-spec": "*",
- "squizlabs/php_codesniffer": "~3.5",
- "symfony/phpunit-bridge": "^5.1",
- "twbs/bootstrap": "~5.0",
- "twbs/bootstrap4": "4.6.0",
- "zurb/foundation": "~6.5"
- },
- "suggest": {
- "ext-iconv": "Can be used as fallback when ext-mbstring is not available",
- "ext-mbstring": "For best performance, mbstring should be installed as it is faster than ext-iconv"
- },
- "bin": [
- "bin/pscss"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "ScssPhp\\ScssPhp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Anthon Pang",
- "email": "apang@softwaredevelopment.ca",
- "homepage": "https://github.com/robocoder"
- },
- {
- "name": "Cédric Morin",
- "email": "cedric@yterium.com",
- "homepage": "https://github.com/Cerdic"
- }
- ],
- "description": "scssphp is a compiler for SCSS written in PHP.",
- "homepage": "http://scssphp.github.io/scssphp/",
- "keywords": [
- "css",
- "less",
- "sass",
- "scss",
- "stylesheet"
- ],
- "support": {
- "issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.6.0"
- },
- "time": "2021-07-02T16:28:10+00:00"
+ "time": "2021-11-04T06:51:17+00:00"
},
{
"name": "sergeytsalkov/meekrodb",
@@ -2648,16 +2638,16 @@
},
{
"name": "symfony/console",
- "version": "v5.3.6",
+ "version": "v5.3.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2"
+ "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
- "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
+ "url": "https://api.github.com/repos/symfony/console/zipball/d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
+ "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
"shasum": ""
},
"require": {
@@ -2727,7 +2717,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v5.3.6"
+ "source": "https://github.com/symfony/console/tree/v5.3.10"
},
"funding": [
{
@@ -2743,7 +2733,7 @@
"type": "tidelift"
}
],
- "time": "2021-07-27T19:10:22+00:00"
+ "time": "2021-10-26T09:30:15+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -2814,16 +2804,16 @@
},
{
"name": "symfony/lock",
- "version": "v4.4.27",
+ "version": "v4.4.33",
"source": {
"type": "git",
"url": "https://github.com/symfony/lock.git",
- "reference": "6ca476d4ac992802f2a4043929f68f1818449486"
+ "reference": "567d29b1bc6e3937652054dafc069151d17824a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/lock/zipball/6ca476d4ac992802f2a4043929f68f1818449486",
- "reference": "6ca476d4ac992802f2a4043929f68f1818449486",
+ "url": "https://api.github.com/repos/symfony/lock/zipball/567d29b1bc6e3937652054dafc069151d17824a9",
+ "reference": "567d29b1bc6e3937652054dafc069151d17824a9",
"shasum": ""
},
"require": {
@@ -2872,7 +2862,7 @@
"semaphore"
],
"support": {
- "source": "https://github.com/symfony/lock/tree/v4.4.27"
+ "source": "https://github.com/symfony/lock/tree/v4.4.33"
},
"funding": [
{
@@ -2888,7 +2878,7 @@
"type": "tidelift"
}
],
- "time": "2021-07-23T15:41:52+00:00"
+ "time": "2021-10-05T20:27:01+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -3620,16 +3610,16 @@
},
{
"name": "symfony/string",
- "version": "v5.3.3",
+ "version": "v5.3.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1"
+ "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
- "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
+ "url": "https://api.github.com/repos/symfony/string/zipball/d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c",
+ "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c",
"shasum": ""
},
"require": {
@@ -3683,7 +3673,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v5.3.3"
+ "source": "https://github.com/symfony/string/tree/v5.3.10"
},
"funding": [
{
@@ -3699,20 +3689,20 @@
"type": "tidelift"
}
],
- "time": "2021-06-27T11:44:38+00:00"
+ "time": "2021-10-27T18:21:46+00:00"
},
{
"name": "symfony/translation",
- "version": "v5.3.7",
+ "version": "v5.3.10",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6"
+ "reference": "6ef197aea2ac8b9cd63e0da7522b3771714035aa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
- "reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/6ef197aea2ac8b9cd63e0da7522b3771714035aa",
+ "reference": "6ef197aea2ac8b9cd63e0da7522b3771714035aa",
"shasum": ""
},
"require": {
@@ -3778,7 +3768,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/translation/tree/v5.3.7"
+ "source": "https://github.com/symfony/translation/tree/v5.3.10"
},
"funding": [
{
@@ -3794,7 +3784,7 @@
"type": "tidelift"
}
],
- "time": "2021-08-26T08:22:53+00:00"
+ "time": "2021-10-10T06:43:24+00:00"
},
{
"name": "symfony/translation-contracts",
@@ -3876,16 +3866,16 @@
},
{
"name": "tysonandre/var_representation_polyfill",
- "version": "0.0.2",
+ "version": "0.1.1",
"source": {
"type": "git",
"url": "https://github.com/TysonAndre/var_representation_polyfill.git",
- "reference": "3f17999ee1f257319ddc6721dd26ebbc5d175f33"
+ "reference": "0a942e74e18af5514749895507bc6ca7ab96399a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/TysonAndre/var_representation_polyfill/zipball/3f17999ee1f257319ddc6721dd26ebbc5d175f33",
- "reference": "3f17999ee1f257319ddc6721dd26ebbc5d175f33",
+ "url": "https://api.github.com/repos/TysonAndre/var_representation_polyfill/zipball/0a942e74e18af5514749895507bc6ca7ab96399a",
+ "reference": "0a942e74e18af5514749895507bc6ca7ab96399a",
"shasum": ""
},
"require": {
@@ -3896,6 +3886,9 @@
"phan/phan": "^4.0",
"phpunit/phpunit": "^8.5.0"
},
+ "suggest": {
+ "ext-var_representation": "*"
+ },
"type": "library",
"autoload": {
"psr-4": {
@@ -3914,16 +3907,16 @@
"name": "Tyson Andre"
}
],
- "description": "Polyfill for var_representation",
+ "description": "Polyfill for var_representation: convert a variable to a string in a way that fixes the shortcomings of var_export",
"keywords": [
"var_export",
"var_representation"
],
"support": {
"issues": "https://github.com/TysonAndre/var_representation_polyfill/issues",
- "source": "https://github.com/TysonAndre/var_representation_polyfill/tree/0.0.2"
+ "source": "https://github.com/TysonAndre/var_representation_polyfill/tree/0.1.1"
},
- "time": "2021-06-26T18:55:02+00:00"
+ "time": "2021-08-16T00:12:50+00:00"
},
{
"name": "vlucas/valitron",
@@ -4181,7 +4174,7 @@
"platform": [],
"platform-dev": [],
"platform-overrides": {
- "php": "7.4"
+ "php": "8.0"
},
"plugin-api-version": "2.0.0"
}
diff --git a/vendor/bin/pscss b/vendor/bin/pscss
deleted file mode 120000
index d08fca2f..00000000
--- a/vendor/bin/pscss
+++ /dev/null
@@ -1 +0,0 @@
-../scssphp/scssphp/bin/pscss
\ No newline at end of file
diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php
index acb4dd79..b54c107b 100644
--- a/vendor/composer/InstalledVersions.php
+++ b/vendor/composer/InstalledVersions.php
@@ -29,7 +29,7 @@ private static $installed = array (
'aliases' =>
array (
),
- 'reference' => 'cf3f40b5787b2a1aed9255775143108ef5b1f278',
+ 'reference' => '872755e57f84720a9c4c63d5455441f83c41f6c6',
'name' => 'sammo-hid/sammo',
),
'versions' =>
@@ -54,12 +54,12 @@ private static $installed = array (
),
'composer/semver' =>
array (
- 'pretty_version' => '3.2.5',
- 'version' => '3.2.5.0',
+ 'pretty_version' => '3.2.6',
+ 'version' => '3.2.6.0',
'aliases' =>
array (
),
- 'reference' => '31f3ea725711245195f62e54ffa402d8ef2fdba9',
+ 'reference' => '83e511e247de329283478496f7a1e114c9517506',
),
'composer/xdebug-handler' =>
array (
@@ -72,12 +72,12 @@ private static $installed = array (
),
'doctrine/inflector' =>
array (
- 'pretty_version' => '2.0.3',
- 'version' => '2.0.3.0',
+ 'pretty_version' => '2.0.4',
+ 'version' => '2.0.4.0',
'aliases' =>
array (
),
- 'reference' => '9cf661f4eb38f7c881cac67c75ea9b00bf97b210',
+ 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89',
),
'erusev/parsedown' =>
array (
@@ -135,80 +135,80 @@ private static $installed = array (
),
'guzzlehttp/promises' =>
array (
- 'pretty_version' => '1.4.1',
- 'version' => '1.4.1.0',
+ 'pretty_version' => '1.5.1',
+ 'version' => '1.5.1.0',
'aliases' =>
array (
),
- 'reference' => '8e7d04f1f6450fef59366c399cfad4b9383aa30d',
+ 'reference' => 'fe752aedc9fd8fcca3fe7ad05d419d32998a06da',
),
'guzzlehttp/psr7' =>
array (
- 'pretty_version' => '1.8.2',
- 'version' => '1.8.2.0',
+ 'pretty_version' => '1.8.3',
+ 'version' => '1.8.3.0',
'aliases' =>
array (
),
- 'reference' => 'dc960a912984efb74d0a90222870c72c87f10c91',
+ 'reference' => '1afdd860a2566ed3c2b0b4a3de6e23434a79ec85',
),
'illuminate/bus' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '808097c0dfd893309bd77b00139586c516b965c9',
+ 'reference' => 'be400399687b97d5558a224e970060fd5d5f2735',
),
'illuminate/collections' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '18fa841df912ec56849351dd6ca8928e8a98b69d',
+ 'reference' => '05f286ec5fd2dd286e8384577047efc375c8954c',
),
'illuminate/container' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '862b64ea4ab56e307a1676104a1b93295d347ad0',
+ 'reference' => 'ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d',
),
'illuminate/contracts' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => 'ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913',
+ 'reference' => 'e76f4bce73a2a1656add24bd5210ebc4b8af49c0',
),
'illuminate/database' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => 'acc11d6839ddb3b694bc6585177fa5141b70c693',
+ 'reference' => '43c7ffb6299ae55b000b286cf1278afd268ef29f',
),
'illuminate/events' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '7def78033f29cd0c0383513b27c291d233a7f90e',
+ 'reference' => 'b7f06cafb6c09581617f2ca05d69e9b159e5a35d',
),
'illuminate/macroable' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
@@ -216,8 +216,8 @@ private static $installed = array (
),
'illuminate/pipeline' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
@@ -225,12 +225,12 @@ private static $installed = array (
),
'illuminate/support' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => 'b0a21c41163381dd9a5abbd68fe85ed7b4247d30',
+ 'reference' => 'a8851b7001530d3c11626a81449ed9b63dd10db7',
),
'league/plates' =>
array (
@@ -261,12 +261,12 @@ private static $installed = array (
),
'nesbot/carbon' =>
array (
- 'pretty_version' => '2.53.1',
- 'version' => '2.53.1.0',
+ 'pretty_version' => '2.54.0',
+ 'version' => '2.54.0.0',
'aliases' =>
array (
),
- 'reference' => 'f4655858a784988f880c1b8c7feabbf02dfdf045',
+ 'reference' => 'eed83939f1aed3eee517d03a33f5ec587ac529b5',
),
'netresearch/jsonmapper' =>
array (
@@ -297,12 +297,12 @@ private static $installed = array (
),
'nette/utils' =>
array (
- 'pretty_version' => 'v3.2.2',
- 'version' => '3.2.2.0',
+ 'pretty_version' => 'v3.2.5',
+ 'version' => '3.2.5.0',
'aliases' =>
array (
),
- 'reference' => '967cfc4f9a1acd5f1058d76715a424c53343c20c',
+ 'reference' => '9cd80396ca58d7969ab44fc7afcf03624dfa526e',
),
'pguardiario/phpuri' =>
array (
@@ -351,30 +351,30 @@ private static $installed = array (
),
'phpdocumentor/reflection-docblock' =>
array (
- 'pretty_version' => '5.2.2',
- 'version' => '5.2.2.0',
+ 'pretty_version' => '5.3.0',
+ 'version' => '5.3.0.0',
'aliases' =>
array (
),
- 'reference' => '069a785b2141f5bcf49f3e353548dc1cce6df556',
+ 'reference' => '622548b623e81ca6d78b721c5e029f4ce664f170',
),
'phpdocumentor/type-resolver' =>
array (
- 'pretty_version' => '1.4.0',
- 'version' => '1.4.0.0',
+ 'pretty_version' => '1.5.1',
+ 'version' => '1.5.1.0',
'aliases' =>
array (
),
- 'reference' => '6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0',
+ 'reference' => 'a12f7e301eb7258bb68acd89d4aefa05c2906cae',
),
'psr/container' =>
array (
- 'pretty_version' => '1.1.1',
- 'version' => '1.1.1.0',
+ 'pretty_version' => '1.1.2',
+ 'version' => '1.1.2.0',
'aliases' =>
array (
),
- 'reference' => '8622567409010282b7aeebe4bb841fe98b58dcaf',
+ 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea',
),
'psr/container-implementation' =>
array (
@@ -436,12 +436,12 @@ private static $installed = array (
),
'sabre/event' =>
array (
- 'pretty_version' => '5.1.2',
- 'version' => '5.1.2.0',
+ 'pretty_version' => '5.1.4',
+ 'version' => '5.1.4.0',
'aliases' =>
array (
),
- 'reference' => 'c120bec57c17b6251a496efc82b732418b49d50a',
+ 'reference' => 'd7da22897125d34d7eddf7977758191c06a74497',
),
'sammo-hid/sammo' =>
array (
@@ -450,16 +450,7 @@ private static $installed = array (
'aliases' =>
array (
),
- 'reference' => 'cf3f40b5787b2a1aed9255775143108ef5b1f278',
- ),
- 'scssphp/scssphp' =>
- array (
- 'pretty_version' => 'v1.6.0',
- 'version' => '1.6.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'b83594e2323c5d6e80785df3f91b9d1d32aad530',
+ 'reference' => '872755e57f84720a9c4c63d5455441f83c41f6c6',
),
'sergeytsalkov/meekrodb' =>
array (
@@ -472,12 +463,12 @@ private static $installed = array (
),
'symfony/console' =>
array (
- 'pretty_version' => 'v5.3.6',
- 'version' => '5.3.6.0',
+ 'pretty_version' => 'v5.3.10',
+ 'version' => '5.3.10.0',
'aliases' =>
array (
),
- 'reference' => '51b71afd6d2dc8f5063199357b9880cea8d8bfe2',
+ 'reference' => 'd4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3',
),
'symfony/deprecation-contracts' =>
array (
@@ -490,12 +481,12 @@ private static $installed = array (
),
'symfony/lock' =>
array (
- 'pretty_version' => 'v4.4.27',
- 'version' => '4.4.27.0',
+ 'pretty_version' => 'v4.4.33',
+ 'version' => '4.4.33.0',
'aliases' =>
array (
),
- 'reference' => '6ca476d4ac992802f2a4043929f68f1818449486',
+ 'reference' => '567d29b1bc6e3937652054dafc069151d17824a9',
),
'symfony/polyfill-ctype' =>
array (
@@ -580,21 +571,21 @@ private static $installed = array (
),
'symfony/string' =>
array (
- 'pretty_version' => 'v5.3.3',
- 'version' => '5.3.3.0',
+ 'pretty_version' => 'v5.3.10',
+ 'version' => '5.3.10.0',
'aliases' =>
array (
),
- 'reference' => 'bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1',
+ 'reference' => 'd70c35bb20bbca71fc4ab7921e3c6bda1a82a60c',
),
'symfony/translation' =>
array (
- 'pretty_version' => 'v5.3.7',
- 'version' => '5.3.7.0',
+ 'pretty_version' => 'v5.3.10',
+ 'version' => '5.3.10.0',
'aliases' =>
array (
),
- 'reference' => '4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6',
+ 'reference' => '6ef197aea2ac8b9cd63e0da7522b3771714035aa',
),
'symfony/translation-contracts' =>
array (
@@ -614,12 +605,12 @@ private static $installed = array (
),
'tysonandre/var_representation_polyfill' =>
array (
- 'pretty_version' => '0.0.2',
- 'version' => '0.0.2.0',
+ 'pretty_version' => '0.1.1',
+ 'version' => '0.1.1.0',
'aliases' =>
array (
),
- 'reference' => '3f17999ee1f257319ddc6721dd26ebbc5d175f33',
+ 'reference' => '0a942e74e18af5514749895507bc6ca7ab96399a',
),
'vlucas/valitron' =>
array (
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
index 5af92e89..17ca643e 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -108,6 +108,7 @@ return array(
'Nette\\Utils\\Reflection' => $vendorDir . '/nette/utils/src/Utils/Reflection.php',
'Nette\\Utils\\RegexpException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php',
'Nette\\Utils\\Strings' => $vendorDir . '/nette/utils/src/Utils/Strings.php',
+ 'Nette\\Utils\\Type' => $vendorDir . '/nette/utils/src/Utils/Type.php',
'Nette\\Utils\\UnknownImageFileException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php',
'Nette\\Utils\\Validators' => $vendorDir . '/nette/utils/src/Utils/Validators.php',
'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php
index f642b481..6e758f8b 100644
--- a/vendor/composer/autoload_psr4.php
+++ b/vendor/composer/autoload_psr4.php
@@ -27,7 +27,6 @@ return array(
'Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'),
'Symfony\\Component\\Lock\\' => array($vendorDir . '/symfony/lock'),
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
- 'ScssPhp\\ScssPhp\\' => array($vendorDir . '/scssphp/scssphp/src'),
'Sabre\\Event\\' => array($vendorDir . '/sabre/event/lib'),
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index d89f49f7..245fbae9 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -76,7 +76,6 @@ class ComposerStaticInit67b09c83b85c3bc0027caefe5bba171a
'Symfony\\Component\\String\\' => 25,
'Symfony\\Component\\Lock\\' => 23,
'Symfony\\Component\\Console\\' => 26,
- 'ScssPhp\\ScssPhp\\' => 16,
'Sabre\\Event\\' => 12,
),
'P' =>
@@ -218,10 +217,6 @@ class ComposerStaticInit67b09c83b85c3bc0027caefe5bba171a
array (
0 => __DIR__ . '/..' . '/symfony/console',
),
- 'ScssPhp\\ScssPhp\\' =>
- array (
- 0 => __DIR__ . '/..' . '/scssphp/scssphp/src',
- ),
'Sabre\\Event\\' =>
array (
0 => __DIR__ . '/..' . '/sabre/event/lib',
@@ -472,6 +467,7 @@ class ComposerStaticInit67b09c83b85c3bc0027caefe5bba171a
'Nette\\Utils\\Reflection' => __DIR__ . '/..' . '/nette/utils/src/Utils/Reflection.php',
'Nette\\Utils\\RegexpException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php',
'Nette\\Utils\\Strings' => __DIR__ . '/..' . '/nette/utils/src/Utils/Strings.php',
+ 'Nette\\Utils\\Type' => __DIR__ . '/..' . '/nette/utils/src/Utils/Type.php',
'Nette\\Utils\\UnknownImageFileException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php',
'Nette\\Utils\\Validators' => __DIR__ . '/..' . '/nette/utils/src/Utils/Validators.php',
'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json
index 1e032978..ad0ee3c1 100644
--- a/vendor/composer/installed.json
+++ b/vendor/composer/installed.json
@@ -118,17 +118,17 @@
},
{
"name": "composer/semver",
- "version": "3.2.5",
- "version_normalized": "3.2.5.0",
+ "version": "3.2.6",
+ "version_normalized": "3.2.6.0",
"source": {
"type": "git",
"url": "https://github.com/composer/semver.git",
- "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9"
+ "reference": "83e511e247de329283478496f7a1e114c9517506"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9",
- "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9",
+ "url": "https://api.github.com/repos/composer/semver/zipball/83e511e247de329283478496f7a1e114c9517506",
+ "reference": "83e511e247de329283478496f7a1e114c9517506",
"shasum": ""
},
"require": {
@@ -138,7 +138,7 @@
"phpstan/phpstan": "^0.12.54",
"symfony/phpunit-bridge": "^4.2 || ^5"
},
- "time": "2021-05-24T12:41:47+00:00",
+ "time": "2021-10-25T11:34:17+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -182,7 +182,7 @@
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/semver/issues",
- "source": "https://github.com/composer/semver/tree/3.2.5"
+ "source": "https://github.com/composer/semver/tree/3.2.6"
},
"funding": [
{
@@ -269,36 +269,32 @@
},
{
"name": "doctrine/inflector",
- "version": "2.0.3",
- "version_normalized": "2.0.3.0",
+ "version": "2.0.4",
+ "version_normalized": "2.0.4.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/inflector.git",
- "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210"
+ "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/inflector/zipball/9cf661f4eb38f7c881cac67c75ea9b00bf97b210",
- "reference": "9cf661f4eb38f7c881cac67c75ea9b00bf97b210",
+ "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89",
+ "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^7.0",
- "phpstan/phpstan": "^0.11",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-strict-rules": "^0.11",
- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
+ "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"
},
- "time": "2020-05-29T15:13:26+00:00",
+ "time": "2021-10-22T20:16:43+00:00",
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
"installation-source": "dist",
"autoload": {
"psr-4": {
@@ -347,7 +343,7 @@
],
"support": {
"issues": "https://github.com/doctrine/inflector/issues",
- "source": "https://github.com/doctrine/inflector/tree/2.0.x"
+ "source": "https://github.com/doctrine/inflector/tree/2.0.4"
},
"funding": [
{
@@ -684,17 +680,17 @@
},
{
"name": "guzzlehttp/promises",
- "version": "1.4.1",
- "version_normalized": "1.4.1.0",
+ "version": "1.5.1",
+ "version_normalized": "1.5.1.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
+ "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
- "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
+ "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
"shasum": ""
},
"require": {
@@ -703,11 +699,11 @@
"require-dev": {
"symfony/phpunit-bridge": "^4.4 || ^5.1"
},
- "time": "2021-03-07T09:25:29+00:00",
+ "time": "2021-10-22T20:56:57+00:00",
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "1.4-dev"
+ "dev-master": "1.5-dev"
}
},
"installation-source": "dist",
@@ -724,10 +720,25 @@
"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",
@@ -736,23 +747,37 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
- "source": "https://github.com/guzzle/promises/tree/1.4.1"
+ "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"
+ }
+ ],
"install-path": "../guzzlehttp/promises"
},
{
"name": "guzzlehttp/psr7",
- "version": "1.8.2",
- "version_normalized": "1.8.2.0",
+ "version": "1.8.3",
+ "version_normalized": "1.8.3.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "dc960a912984efb74d0a90222870c72c87f10c91"
+ "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91",
- "reference": "dc960a912984efb74d0a90222870c72c87f10c91",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
+ "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
"shasum": ""
},
"require": {
@@ -770,7 +795,7 @@
"suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
- "time": "2021-04-26T09:17:50+00:00",
+ "time": "2021-10-05T13:56:00+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -791,13 +816,34 @@
"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"
}
],
@@ -814,23 +860,37 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/1.8.2"
+ "source": "https://github.com/guzzle/psr7/tree/1.8.3"
},
+ "funding": [
+ {
+ "url": "https://github.com/GrahamCampbell",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/Nyholm",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
+ "type": "tidelift"
+ }
+ ],
"install-path": "../guzzlehttp/psr7"
},
{
"name": "illuminate/bus",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/bus.git",
- "reference": "808097c0dfd893309bd77b00139586c516b965c9"
+ "reference": "be400399687b97d5558a224e970060fd5d5f2735"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/bus/zipball/808097c0dfd893309bd77b00139586c516b965c9",
- "reference": "808097c0dfd893309bd77b00139586c516b965c9",
+ "url": "https://api.github.com/repos/illuminate/bus/zipball/be400399687b97d5558a224e970060fd5d5f2735",
+ "reference": "be400399687b97d5558a224e970060fd5d5f2735",
"shasum": ""
},
"require": {
@@ -843,7 +903,7 @@
"suggest": {
"illuminate/queue": "Required to use closures when chaining jobs (^7.0)."
},
- "time": "2021-08-10T16:49:48+00:00",
+ "time": "2021-10-21T19:19:36+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -876,17 +936,17 @@
},
{
"name": "illuminate/collections",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/collections.git",
- "reference": "18fa841df912ec56849351dd6ca8928e8a98b69d"
+ "reference": "05f286ec5fd2dd286e8384577047efc375c8954c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/collections/zipball/18fa841df912ec56849351dd6ca8928e8a98b69d",
- "reference": "18fa841df912ec56849351dd6ca8928e8a98b69d",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/05f286ec5fd2dd286e8384577047efc375c8954c",
+ "reference": "05f286ec5fd2dd286e8384577047efc375c8954c",
"shasum": ""
},
"require": {
@@ -897,7 +957,7 @@
"suggest": {
"symfony/var-dumper": "Required to use the dump method (^5.1.4)."
},
- "time": "2021-09-08T12:48:16+00:00",
+ "time": "2021-10-22T18:01:46+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -933,17 +993,17 @@
},
{
"name": "illuminate/container",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/container.git",
- "reference": "862b64ea4ab56e307a1676104a1b93295d347ad0"
+ "reference": "ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/container/zipball/862b64ea4ab56e307a1676104a1b93295d347ad0",
- "reference": "862b64ea4ab56e307a1676104a1b93295d347ad0",
+ "url": "https://api.github.com/repos/illuminate/container/zipball/ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d",
+ "reference": "ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d",
"shasum": ""
},
"require": {
@@ -954,7 +1014,7 @@
"provide": {
"psr/container-implementation": "1.0"
},
- "time": "2021-09-09T13:55:23+00:00",
+ "time": "2021-09-15T14:32:50+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -987,17 +1047,17 @@
},
{
"name": "illuminate/contracts",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/contracts.git",
- "reference": "ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913"
+ "reference": "e76f4bce73a2a1656add24bd5210ebc4b8af49c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/contracts/zipball/ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913",
- "reference": "ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913",
+ "url": "https://api.github.com/repos/illuminate/contracts/zipball/e76f4bce73a2a1656add24bd5210ebc4b8af49c0",
+ "reference": "e76f4bce73a2a1656add24bd5210ebc4b8af49c0",
"shasum": ""
},
"require": {
@@ -1005,7 +1065,7 @@
"psr/container": "^1.0",
"psr/simple-cache": "^1.0"
},
- "time": "2021-09-08T12:09:40+00:00",
+ "time": "2021-10-22T18:01:46+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -1038,17 +1098,17 @@
},
{
"name": "illuminate/database",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/database.git",
- "reference": "acc11d6839ddb3b694bc6585177fa5141b70c693"
+ "reference": "43c7ffb6299ae55b000b286cf1278afd268ef29f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/database/zipball/acc11d6839ddb3b694bc6585177fa5141b70c693",
- "reference": "acc11d6839ddb3b694bc6585177fa5141b70c693",
+ "url": "https://api.github.com/repos/illuminate/database/zipball/43c7ffb6299ae55b000b286cf1278afd268ef29f",
+ "reference": "43c7ffb6299ae55b000b286cf1278afd268ef29f",
"shasum": ""
},
"require": {
@@ -1062,7 +1122,7 @@
"symfony/console": "^5.1.4"
},
"suggest": {
- "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).",
+ "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.2).",
"fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
"illuminate/console": "Required to use the database commands (^8.0).",
"illuminate/events": "Required to use the observers with Eloquent (^8.0).",
@@ -1070,7 +1130,7 @@
"illuminate/pagination": "Required to paginate the result set (^8.0).",
"symfony/finder": "Required to use Eloquent model factories (^5.1.4)."
},
- "time": "2021-09-13T18:43:43+00:00",
+ "time": "2021-10-29T19:46:53+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -1109,17 +1169,17 @@
},
{
"name": "illuminate/events",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/events.git",
- "reference": "7def78033f29cd0c0383513b27c291d233a7f90e"
+ "reference": "b7f06cafb6c09581617f2ca05d69e9b159e5a35d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/events/zipball/7def78033f29cd0c0383513b27c291d233a7f90e",
- "reference": "7def78033f29cd0c0383513b27c291d233a7f90e",
+ "url": "https://api.github.com/repos/illuminate/events/zipball/b7f06cafb6c09581617f2ca05d69e9b159e5a35d",
+ "reference": "b7f06cafb6c09581617f2ca05d69e9b159e5a35d",
"shasum": ""
},
"require": {
@@ -1131,7 +1191,7 @@
"illuminate/support": "^8.0",
"php": "^7.3|^8.0"
},
- "time": "2021-08-16T21:45:47+00:00",
+ "time": "2021-09-15T14:32:50+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -1167,8 +1227,8 @@
},
{
"name": "illuminate/macroable",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/macroable.git",
@@ -1216,8 +1276,8 @@
},
{
"name": "illuminate/pipeline",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/pipeline.git",
@@ -1267,17 +1327,17 @@
},
{
"name": "illuminate/support",
- "version": "v8.61.0",
- "version_normalized": "8.61.0.0",
+ "version": "v8.69.0",
+ "version_normalized": "8.69.0.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/support.git",
- "reference": "b0a21c41163381dd9a5abbd68fe85ed7b4247d30"
+ "reference": "a8851b7001530d3c11626a81449ed9b63dd10db7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/support/zipball/b0a21c41163381dd9a5abbd68fe85ed7b4247d30",
- "reference": "b0a21c41163381dd9a5abbd68fe85ed7b4247d30",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/a8851b7001530d3c11626a81449ed9b63dd10db7",
+ "reference": "a8851b7001530d3c11626a81449ed9b63dd10db7",
"shasum": ""
},
"require": {
@@ -1287,7 +1347,7 @@
"illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0",
- "nesbot/carbon": "^2.31",
+ "nesbot/carbon": "^2.53.1",
"php": "^7.3|^8.0",
"voku/portable-ascii": "^1.4.8"
},
@@ -1296,13 +1356,13 @@
},
"suggest": {
"illuminate/filesystem": "Required to use the composer class (^8.0).",
- "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0).",
- "ramsey/uuid": "Required to use Str::uuid() (^4.0).",
+ "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0.2).",
+ "ramsey/uuid": "Required to use Str::uuid() (^4.2.2).",
"symfony/process": "Required to use the composer class (^5.1.4).",
"symfony/var-dumper": "Required to use the dd function (^5.1.4).",
"vlucas/phpdotenv": "Required to use the Env class and env helper (^5.2)."
},
- "time": "2021-09-13T18:43:43+00:00",
+ "time": "2021-10-29T13:34:03+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -1542,17 +1602,17 @@
},
{
"name": "nesbot/carbon",
- "version": "2.53.1",
- "version_normalized": "2.53.1.0",
+ "version": "2.54.0",
+ "version_normalized": "2.54.0.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045"
+ "reference": "eed83939f1aed3eee517d03a33f5ec587ac529b5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f4655858a784988f880c1b8c7feabbf02dfdf045",
- "reference": "f4655858a784988f880c1b8c7feabbf02dfdf045",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/eed83939f1aed3eee517d03a33f5ec587ac529b5",
+ "reference": "eed83939f1aed3eee517d03a33f5ec587ac529b5",
"shasum": ""
},
"require": {
@@ -1563,6 +1623,7 @@
"symfony/translation": "^3.4 || ^4.0 || ^5.0"
},
"require-dev": {
+ "doctrine/dbal": "^2.0 || ^3.0",
"doctrine/orm": "^2.7",
"friendsofphp/php-cs-fixer": "^3.0",
"kylekatarnls/multi-tester": "^2.0",
@@ -1572,7 +1633,7 @@
"phpunit/phpunit": "^7.5.20 || ^8.5.14",
"squizlabs/php_codesniffer": "^3.4"
},
- "time": "2021-09-06T09:29:23+00:00",
+ "time": "2021-11-01T21:22:20+00:00",
"bin": [
"bin/carbon"
],
@@ -1833,21 +1894,21 @@
},
{
"name": "nette/utils",
- "version": "v3.2.2",
- "version_normalized": "3.2.2.0",
+ "version": "v3.2.5",
+ "version_normalized": "3.2.5.0",
"source": {
"type": "git",
"url": "https://github.com/nette/utils.git",
- "reference": "967cfc4f9a1acd5f1058d76715a424c53343c20c"
+ "reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/utils/zipball/967cfc4f9a1acd5f1058d76715a424c53343c20c",
- "reference": "967cfc4f9a1acd5f1058d76715a424c53343c20c",
+ "url": "https://api.github.com/repos/nette/utils/zipball/9cd80396ca58d7969ab44fc7afcf03624dfa526e",
+ "reference": "9cd80396ca58d7969ab44fc7afcf03624dfa526e",
"shasum": ""
},
"require": {
- "php": ">=7.2 <8.1"
+ "php": ">=7.2 <8.2"
},
"conflict": {
"nette/di": "<3.0.6"
@@ -1866,7 +1927,7 @@
"ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()",
"ext-xml": "to use Strings::length() etc. when mbstring is not available"
},
- "time": "2021-03-03T22:53:25+00:00",
+ "time": "2021-09-20T10:50:11+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -1915,7 +1976,7 @@
],
"support": {
"issues": "https://github.com/nette/utils/issues",
- "source": "https://github.com/nette/utils/tree/v3.2.2"
+ "source": "https://github.com/nette/utils/tree/v3.2.5"
},
"install-path": "../nette/utils"
},
@@ -2176,17 +2237,17 @@
},
{
"name": "phpdocumentor/reflection-docblock",
- "version": "5.2.2",
- "version_normalized": "5.2.2.0",
+ "version": "5.3.0",
+ "version_normalized": "5.3.0.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556"
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556",
- "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556",
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
+ "reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
"shasum": ""
},
"require": {
@@ -2197,9 +2258,10 @@
"webmozart/assert": "^1.9.1"
},
"require-dev": {
- "mockery/mockery": "~1.3.2"
+ "mockery/mockery": "~1.3.2",
+ "psalm/phar": "^4.8"
},
- "time": "2020-09-03T19:13:55+00:00",
+ "time": "2021-10-19T17:43:47+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -2229,23 +2291,23 @@
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"support": {
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
- "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
+ "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
},
"install-path": "../phpdocumentor/reflection-docblock"
},
{
"name": "phpdocumentor/type-resolver",
- "version": "1.4.0",
- "version_normalized": "1.4.0.0",
+ "version": "1.5.1",
+ "version_normalized": "1.5.1.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0"
+ "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
- "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae",
+ "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae",
"shasum": ""
},
"require": {
@@ -2253,9 +2315,10 @@
"phpdocumentor/reflection-common": "^2.0"
},
"require-dev": {
- "ext-tokenizer": "*"
+ "ext-tokenizer": "*",
+ "psalm/phar": "^4.8"
},
- "time": "2020-09-17T18:55:26+00:00",
+ "time": "2021-10-02T14:08:47+00:00",
"type": "library",
"extra": {
"branch-alias": {
@@ -2281,29 +2344,29 @@
"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.4.0"
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1"
},
"install-path": "../phpdocumentor/type-resolver"
},
{
"name": "psr/container",
- "version": "1.1.1",
- "version_normalized": "1.1.1.0",
+ "version": "1.1.2",
+ "version_normalized": "1.1.2.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
- "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
- "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
+ "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
+ "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
"shasum": ""
},
"require": {
- "php": ">=7.2.0"
+ "php": ">=7.4.0"
},
- "time": "2021-03-05T17:36:06+00:00",
+ "time": "2021-11-05T16:50:12+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -2332,7 +2395,7 @@
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
- "source": "https://github.com/php-fig/container/tree/1.1.1"
+ "source": "https://github.com/php-fig/container/tree/1.1.2"
},
"install-path": "../psr/container"
},
@@ -2541,28 +2604,28 @@
},
{
"name": "sabre/event",
- "version": "5.1.2",
- "version_normalized": "5.1.2.0",
+ "version": "5.1.4",
+ "version_normalized": "5.1.4.0",
"source": {
"type": "git",
"url": "https://github.com/sabre-io/event.git",
- "reference": "c120bec57c17b6251a496efc82b732418b49d50a"
+ "reference": "d7da22897125d34d7eddf7977758191c06a74497"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sabre-io/event/zipball/c120bec57c17b6251a496efc82b732418b49d50a",
- "reference": "c120bec57c17b6251a496efc82b732418b49d50a",
+ "url": "https://api.github.com/repos/sabre-io/event/zipball/d7da22897125d34d7eddf7977758191c06a74497",
+ "reference": "d7da22897125d34d7eddf7977758191c06a74497",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "~2.16.1",
+ "friendsofphp/php-cs-fixer": "~2.17.1",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.0"
},
- "time": "2020-10-03T11:02:22+00:00",
+ "time": "2021-11-04T06:51:17+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -2608,82 +2671,6 @@
},
"install-path": "../sabre/event"
},
- {
- "name": "scssphp/scssphp",
- "version": "v1.6.0",
- "version_normalized": "1.6.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/scssphp/scssphp.git",
- "reference": "b83594e2323c5d6e80785df3f91b9d1d32aad530"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/scssphp/scssphp/zipball/b83594e2323c5d6e80785df3f91b9d1d32aad530",
- "reference": "b83594e2323c5d6e80785df3f91b9d1d32aad530",
- "shasum": ""
- },
- "require": {
- "ext-ctype": "*",
- "ext-json": "*",
- "php": ">=5.6.0"
- },
- "require-dev": {
- "bamarni/composer-bin-plugin": "^1.4",
- "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.3 || ^9.4",
- "sass/sass-spec": "*",
- "squizlabs/php_codesniffer": "~3.5",
- "symfony/phpunit-bridge": "^5.1",
- "twbs/bootstrap": "~5.0",
- "twbs/bootstrap4": "4.6.0",
- "zurb/foundation": "~6.5"
- },
- "suggest": {
- "ext-iconv": "Can be used as fallback when ext-mbstring is not available",
- "ext-mbstring": "For best performance, mbstring should be installed as it is faster than ext-iconv"
- },
- "time": "2021-07-02T16:28:10+00:00",
- "bin": [
- "bin/pscss"
- ],
- "type": "library",
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "ScssPhp\\ScssPhp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Anthon Pang",
- "email": "apang@softwaredevelopment.ca",
- "homepage": "https://github.com/robocoder"
- },
- {
- "name": "Cédric Morin",
- "email": "cedric@yterium.com",
- "homepage": "https://github.com/Cerdic"
- }
- ],
- "description": "scssphp is a compiler for SCSS written in PHP.",
- "homepage": "http://scssphp.github.io/scssphp/",
- "keywords": [
- "css",
- "less",
- "sass",
- "scss",
- "stylesheet"
- ],
- "support": {
- "issues": "https://github.com/scssphp/scssphp/issues",
- "source": "https://github.com/scssphp/scssphp/tree/v1.6.0"
- },
- "install-path": "../scssphp/scssphp"
- },
{
"name": "sergeytsalkov/meekrodb",
"version": "v2.4",
@@ -2737,17 +2724,17 @@
},
{
"name": "symfony/console",
- "version": "v5.3.6",
- "version_normalized": "5.3.6.0",
+ "version": "v5.3.10",
+ "version_normalized": "5.3.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2"
+ "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
- "reference": "51b71afd6d2dc8f5063199357b9880cea8d8bfe2",
+ "url": "https://api.github.com/repos/symfony/console/zipball/d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
+ "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3",
"shasum": ""
},
"require": {
@@ -2785,7 +2772,7 @@
"symfony/lock": "",
"symfony/process": ""
},
- "time": "2021-07-27T19:10:22+00:00",
+ "time": "2021-10-26T09:30:15+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -2819,7 +2806,7 @@
"terminal"
],
"support": {
- "source": "https://github.com/symfony/console/tree/v5.3.6"
+ "source": "https://github.com/symfony/console/tree/v5.3.10"
},
"funding": [
{
@@ -2909,17 +2896,17 @@
},
{
"name": "symfony/lock",
- "version": "v4.4.27",
- "version_normalized": "4.4.27.0",
+ "version": "v4.4.33",
+ "version_normalized": "4.4.33.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/lock.git",
- "reference": "6ca476d4ac992802f2a4043929f68f1818449486"
+ "reference": "567d29b1bc6e3937652054dafc069151d17824a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/lock/zipball/6ca476d4ac992802f2a4043929f68f1818449486",
- "reference": "6ca476d4ac992802f2a4043929f68f1818449486",
+ "url": "https://api.github.com/repos/symfony/lock/zipball/567d29b1bc6e3937652054dafc069151d17824a9",
+ "reference": "567d29b1bc6e3937652054dafc069151d17824a9",
"shasum": ""
},
"require": {
@@ -2934,7 +2921,7 @@
"doctrine/dbal": "^2.6|^3.0",
"predis/predis": "~1.0"
},
- "time": "2021-07-23T15:41:52+00:00",
+ "time": "2021-10-05T20:27:01+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -2970,7 +2957,7 @@
"semaphore"
],
"support": {
- "source": "https://github.com/symfony/lock/tree/v4.4.27"
+ "source": "https://github.com/symfony/lock/tree/v4.4.33"
},
"funding": [
{
@@ -3745,17 +3732,17 @@
},
{
"name": "symfony/string",
- "version": "v5.3.3",
- "version_normalized": "5.3.3.0",
+ "version": "v5.3.10",
+ "version_normalized": "5.3.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1"
+ "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
- "reference": "bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1",
+ "url": "https://api.github.com/repos/symfony/string/zipball/d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c",
+ "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c",
"shasum": ""
},
"require": {
@@ -3772,7 +3759,7 @@
"symfony/translation-contracts": "^1.1|^2",
"symfony/var-exporter": "^4.4|^5.0"
},
- "time": "2021-06-27T11:44:38+00:00",
+ "time": "2021-10-27T18:21:46+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -3811,7 +3798,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v5.3.3"
+ "source": "https://github.com/symfony/string/tree/v5.3.10"
},
"funding": [
{
@@ -3831,17 +3818,17 @@
},
{
"name": "symfony/translation",
- "version": "v5.3.7",
- "version_normalized": "5.3.7.0",
+ "version": "v5.3.10",
+ "version_normalized": "5.3.10.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6"
+ "reference": "6ef197aea2ac8b9cd63e0da7522b3771714035aa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
- "reference": "4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/6ef197aea2ac8b9cd63e0da7522b3771714035aa",
+ "reference": "6ef197aea2ac8b9cd63e0da7522b3771714035aa",
"shasum": ""
},
"require": {
@@ -3878,7 +3865,7 @@
"symfony/config": "",
"symfony/yaml": ""
},
- "time": "2021-08-26T08:22:53+00:00",
+ "time": "2021-10-10T06:43:24+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -3909,7 +3896,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/translation/tree/v5.3.7"
+ "source": "https://github.com/symfony/translation/tree/v5.3.10"
},
"funding": [
{
@@ -4010,17 +3997,17 @@
},
{
"name": "tysonandre/var_representation_polyfill",
- "version": "0.0.2",
- "version_normalized": "0.0.2.0",
+ "version": "0.1.1",
+ "version_normalized": "0.1.1.0",
"source": {
"type": "git",
"url": "https://github.com/TysonAndre/var_representation_polyfill.git",
- "reference": "3f17999ee1f257319ddc6721dd26ebbc5d175f33"
+ "reference": "0a942e74e18af5514749895507bc6ca7ab96399a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/TysonAndre/var_representation_polyfill/zipball/3f17999ee1f257319ddc6721dd26ebbc5d175f33",
- "reference": "3f17999ee1f257319ddc6721dd26ebbc5d175f33",
+ "url": "https://api.github.com/repos/TysonAndre/var_representation_polyfill/zipball/0a942e74e18af5514749895507bc6ca7ab96399a",
+ "reference": "0a942e74e18af5514749895507bc6ca7ab96399a",
"shasum": ""
},
"require": {
@@ -4031,7 +4018,10 @@
"phan/phan": "^4.0",
"phpunit/phpunit": "^8.5.0"
},
- "time": "2021-06-26T18:55:02+00:00",
+ "suggest": {
+ "ext-var_representation": "*"
+ },
+ "time": "2021-08-16T00:12:50+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -4051,14 +4041,14 @@
"name": "Tyson Andre"
}
],
- "description": "Polyfill for var_representation",
+ "description": "Polyfill for var_representation: convert a variable to a string in a way that fixes the shortcomings of var_export",
"keywords": [
"var_export",
"var_representation"
],
"support": {
"issues": "https://github.com/TysonAndre/var_representation_polyfill/issues",
- "source": "https://github.com/TysonAndre/var_representation_polyfill/tree/0.0.2"
+ "source": "https://github.com/TysonAndre/var_representation_polyfill/tree/0.1.1"
},
"install-path": "../tysonandre/var_representation_polyfill"
},
diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php
index 18beb265..eb067000 100644
--- a/vendor/composer/installed.php
+++ b/vendor/composer/installed.php
@@ -6,7 +6,7 @@
'aliases' =>
array (
),
- 'reference' => 'cf3f40b5787b2a1aed9255775143108ef5b1f278',
+ 'reference' => '872755e57f84720a9c4c63d5455441f83c41f6c6',
'name' => 'sammo-hid/sammo',
),
'versions' =>
@@ -31,12 +31,12 @@
),
'composer/semver' =>
array (
- 'pretty_version' => '3.2.5',
- 'version' => '3.2.5.0',
+ 'pretty_version' => '3.2.6',
+ 'version' => '3.2.6.0',
'aliases' =>
array (
),
- 'reference' => '31f3ea725711245195f62e54ffa402d8ef2fdba9',
+ 'reference' => '83e511e247de329283478496f7a1e114c9517506',
),
'composer/xdebug-handler' =>
array (
@@ -49,12 +49,12 @@
),
'doctrine/inflector' =>
array (
- 'pretty_version' => '2.0.3',
- 'version' => '2.0.3.0',
+ 'pretty_version' => '2.0.4',
+ 'version' => '2.0.4.0',
'aliases' =>
array (
),
- 'reference' => '9cf661f4eb38f7c881cac67c75ea9b00bf97b210',
+ 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89',
),
'erusev/parsedown' =>
array (
@@ -112,80 +112,80 @@
),
'guzzlehttp/promises' =>
array (
- 'pretty_version' => '1.4.1',
- 'version' => '1.4.1.0',
+ 'pretty_version' => '1.5.1',
+ 'version' => '1.5.1.0',
'aliases' =>
array (
),
- 'reference' => '8e7d04f1f6450fef59366c399cfad4b9383aa30d',
+ 'reference' => 'fe752aedc9fd8fcca3fe7ad05d419d32998a06da',
),
'guzzlehttp/psr7' =>
array (
- 'pretty_version' => '1.8.2',
- 'version' => '1.8.2.0',
+ 'pretty_version' => '1.8.3',
+ 'version' => '1.8.3.0',
'aliases' =>
array (
),
- 'reference' => 'dc960a912984efb74d0a90222870c72c87f10c91',
+ 'reference' => '1afdd860a2566ed3c2b0b4a3de6e23434a79ec85',
),
'illuminate/bus' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '808097c0dfd893309bd77b00139586c516b965c9',
+ 'reference' => 'be400399687b97d5558a224e970060fd5d5f2735',
),
'illuminate/collections' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '18fa841df912ec56849351dd6ca8928e8a98b69d',
+ 'reference' => '05f286ec5fd2dd286e8384577047efc375c8954c',
),
'illuminate/container' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '862b64ea4ab56e307a1676104a1b93295d347ad0',
+ 'reference' => 'ef73feb5216ef97ab7023cf59c0c8dbbd5505a9d',
),
'illuminate/contracts' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => 'ab4bb4ec3b36905ccf972c84f9aaa2bdd1153913',
+ 'reference' => 'e76f4bce73a2a1656add24bd5210ebc4b8af49c0',
),
'illuminate/database' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => 'acc11d6839ddb3b694bc6585177fa5141b70c693',
+ 'reference' => '43c7ffb6299ae55b000b286cf1278afd268ef29f',
),
'illuminate/events' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => '7def78033f29cd0c0383513b27c291d233a7f90e',
+ 'reference' => 'b7f06cafb6c09581617f2ca05d69e9b159e5a35d',
),
'illuminate/macroable' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
@@ -193,8 +193,8 @@
),
'illuminate/pipeline' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
@@ -202,12 +202,12 @@
),
'illuminate/support' =>
array (
- 'pretty_version' => 'v8.61.0',
- 'version' => '8.61.0.0',
+ 'pretty_version' => 'v8.69.0',
+ 'version' => '8.69.0.0',
'aliases' =>
array (
),
- 'reference' => 'b0a21c41163381dd9a5abbd68fe85ed7b4247d30',
+ 'reference' => 'a8851b7001530d3c11626a81449ed9b63dd10db7',
),
'league/plates' =>
array (
@@ -238,12 +238,12 @@
),
'nesbot/carbon' =>
array (
- 'pretty_version' => '2.53.1',
- 'version' => '2.53.1.0',
+ 'pretty_version' => '2.54.0',
+ 'version' => '2.54.0.0',
'aliases' =>
array (
),
- 'reference' => 'f4655858a784988f880c1b8c7feabbf02dfdf045',
+ 'reference' => 'eed83939f1aed3eee517d03a33f5ec587ac529b5',
),
'netresearch/jsonmapper' =>
array (
@@ -274,12 +274,12 @@
),
'nette/utils' =>
array (
- 'pretty_version' => 'v3.2.2',
- 'version' => '3.2.2.0',
+ 'pretty_version' => 'v3.2.5',
+ 'version' => '3.2.5.0',
'aliases' =>
array (
),
- 'reference' => '967cfc4f9a1acd5f1058d76715a424c53343c20c',
+ 'reference' => '9cd80396ca58d7969ab44fc7afcf03624dfa526e',
),
'pguardiario/phpuri' =>
array (
@@ -328,30 +328,30 @@
),
'phpdocumentor/reflection-docblock' =>
array (
- 'pretty_version' => '5.2.2',
- 'version' => '5.2.2.0',
+ 'pretty_version' => '5.3.0',
+ 'version' => '5.3.0.0',
'aliases' =>
array (
),
- 'reference' => '069a785b2141f5bcf49f3e353548dc1cce6df556',
+ 'reference' => '622548b623e81ca6d78b721c5e029f4ce664f170',
),
'phpdocumentor/type-resolver' =>
array (
- 'pretty_version' => '1.4.0',
- 'version' => '1.4.0.0',
+ 'pretty_version' => '1.5.1',
+ 'version' => '1.5.1.0',
'aliases' =>
array (
),
- 'reference' => '6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0',
+ 'reference' => 'a12f7e301eb7258bb68acd89d4aefa05c2906cae',
),
'psr/container' =>
array (
- 'pretty_version' => '1.1.1',
- 'version' => '1.1.1.0',
+ 'pretty_version' => '1.1.2',
+ 'version' => '1.1.2.0',
'aliases' =>
array (
),
- 'reference' => '8622567409010282b7aeebe4bb841fe98b58dcaf',
+ 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea',
),
'psr/container-implementation' =>
array (
@@ -413,12 +413,12 @@
),
'sabre/event' =>
array (
- 'pretty_version' => '5.1.2',
- 'version' => '5.1.2.0',
+ 'pretty_version' => '5.1.4',
+ 'version' => '5.1.4.0',
'aliases' =>
array (
),
- 'reference' => 'c120bec57c17b6251a496efc82b732418b49d50a',
+ 'reference' => 'd7da22897125d34d7eddf7977758191c06a74497',
),
'sammo-hid/sammo' =>
array (
@@ -427,16 +427,7 @@
'aliases' =>
array (
),
- 'reference' => 'cf3f40b5787b2a1aed9255775143108ef5b1f278',
- ),
- 'scssphp/scssphp' =>
- array (
- 'pretty_version' => 'v1.6.0',
- 'version' => '1.6.0.0',
- 'aliases' =>
- array (
- ),
- 'reference' => 'b83594e2323c5d6e80785df3f91b9d1d32aad530',
+ 'reference' => '872755e57f84720a9c4c63d5455441f83c41f6c6',
),
'sergeytsalkov/meekrodb' =>
array (
@@ -449,12 +440,12 @@
),
'symfony/console' =>
array (
- 'pretty_version' => 'v5.3.6',
- 'version' => '5.3.6.0',
+ 'pretty_version' => 'v5.3.10',
+ 'version' => '5.3.10.0',
'aliases' =>
array (
),
- 'reference' => '51b71afd6d2dc8f5063199357b9880cea8d8bfe2',
+ 'reference' => 'd4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3',
),
'symfony/deprecation-contracts' =>
array (
@@ -467,12 +458,12 @@
),
'symfony/lock' =>
array (
- 'pretty_version' => 'v4.4.27',
- 'version' => '4.4.27.0',
+ 'pretty_version' => 'v4.4.33',
+ 'version' => '4.4.33.0',
'aliases' =>
array (
),
- 'reference' => '6ca476d4ac992802f2a4043929f68f1818449486',
+ 'reference' => '567d29b1bc6e3937652054dafc069151d17824a9',
),
'symfony/polyfill-ctype' =>
array (
@@ -557,21 +548,21 @@
),
'symfony/string' =>
array (
- 'pretty_version' => 'v5.3.3',
- 'version' => '5.3.3.0',
+ 'pretty_version' => 'v5.3.10',
+ 'version' => '5.3.10.0',
'aliases' =>
array (
),
- 'reference' => 'bd53358e3eccec6a670b5f33ab680d8dbe1d4ae1',
+ 'reference' => 'd70c35bb20bbca71fc4ab7921e3c6bda1a82a60c',
),
'symfony/translation' =>
array (
- 'pretty_version' => 'v5.3.7',
- 'version' => '5.3.7.0',
+ 'pretty_version' => 'v5.3.10',
+ 'version' => '5.3.10.0',
'aliases' =>
array (
),
- 'reference' => '4d595a6d15fd3a2c67f6f31d14d15d3b7356d7a6',
+ 'reference' => '6ef197aea2ac8b9cd63e0da7522b3771714035aa',
),
'symfony/translation-contracts' =>
array (
@@ -591,12 +582,12 @@
),
'tysonandre/var_representation_polyfill' =>
array (
- 'pretty_version' => '0.0.2',
- 'version' => '0.0.2.0',
+ 'pretty_version' => '0.1.1',
+ 'version' => '0.1.1.0',
'aliases' =>
array (
),
- 'reference' => '3f17999ee1f257319ddc6721dd26ebbc5d175f33',
+ 'reference' => '0a942e74e18af5514749895507bc6ca7ab96399a',
),
'vlucas/valitron' =>
array (
diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php
index 92370c5a..580fa960 100644
--- a/vendor/composer/platform_check.php
+++ b/vendor/composer/platform_check.php
@@ -4,8 +4,8 @@
$issues = array();
-if (!(PHP_VERSION_ID >= 70300)) {
- $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.';
+if (!(PHP_VERSION_ID >= 70400)) {
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
}
if ($issues) {
diff --git a/vendor/composer/semver/CHANGELOG.md b/vendor/composer/semver/CHANGELOG.md
index 67785e4d..4542fa3b 100644
--- a/vendor/composer/semver/CHANGELOG.md
+++ b/vendor/composer/semver/CHANGELOG.md
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
+### [3.2.6] 2021-10-25
+
+ * Fixed: type improvements to parseStability
+
### [3.2.5] 2021-05-24
* Fixed: issue comparing disjunctive MultiConstraints to conjunctive ones (#127)
diff --git a/vendor/composer/semver/src/VersionParser.php b/vendor/composer/semver/src/VersionParser.php
index ee4420ae..1754a763 100644
--- a/vendor/composer/semver/src/VersionParser.php
+++ b/vendor/composer/semver/src/VersionParser.php
@@ -47,6 +47,7 @@ class VersionParser
* @param string $version
*
* @return string
+ * @phpstan-return 'stable'|'RC'|'beta'|'alpha'|'dev'
*/
public static function parseStability($version)
{
diff --git a/vendor/doctrine/inflector/README.md b/vendor/doctrine/inflector/README.md
index 341f8b2a..6e3a97f7 100644
--- a/vendor/doctrine/inflector/README.md
+++ b/vendor/doctrine/inflector/README.md
@@ -3,6 +3,5 @@
Doctrine Inflector is a small library that can perform string manipulations
with regard to uppercase/lowercase and singular/plural forms of words.
-[](https://travis-ci.org/doctrine/inflector)
-[](https://scrutinizer-ci.com/g/doctrine/inflector/?branch=master)
-[](https://scrutinizer-ci.com/g/doctrine/inflector/?branch=master)
+[](https://github.com/doctrine/inflector/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.0.x)
+[](https://codecov.io/gh/doctrine/inflector/branch/2.0.x)
diff --git a/vendor/doctrine/inflector/composer.json b/vendor/doctrine/inflector/composer.json
index 0cd85e5f..f08fdc3b 100644
--- a/vendor/doctrine/inflector/composer.json
+++ b/vendor/doctrine/inflector/composer.json
@@ -16,11 +16,12 @@
"php": "^7.2 || ^8.0"
},
"require-dev": {
- "doctrine/coding-standard": "^7.0",
- "phpstan/phpstan": "^0.11",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-strict-rules": "^0.11",
- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
+ "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"
},
"autoload": {
"psr-4": {
@@ -31,10 +32,5 @@
"psr-4": {
"Doctrine\\Tests\\Inflector\\": "tests/Doctrine/Tests/Inflector"
}
- },
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
}
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
index b59ac46c..2d529087 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php
@@ -17,7 +17,7 @@ class CachedWordInflector implements WordInflector
$this->wordInflector = $wordInflector;
}
- public function inflect(string $word) : string
+ 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
index 1b15061a..166061d2 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Doctrine\Inflector;
use Doctrine\Inflector\Rules\Ruleset;
+
use function array_unshift;
abstract class GenericLanguageInflectorFactory implements LanguageInflectorFactory
@@ -21,7 +22,7 @@ abstract class GenericLanguageInflectorFactory implements LanguageInflectorFacto
$this->pluralRulesets[] = $this->getPluralRuleset();
}
- final public function build() : Inflector
+ final public function build(): Inflector
{
return new Inflector(
new CachedWordInflector(new RulesetInflector(
@@ -33,7 +34,7 @@ abstract class GenericLanguageInflectorFactory implements LanguageInflectorFacto
);
}
- final public function withSingularRules(?Ruleset $singularRules, bool $reset = false) : LanguageInflectorFactory
+ final public function withSingularRules(?Ruleset $singularRules, bool $reset = false): LanguageInflectorFactory
{
if ($reset) {
$this->singularRulesets = [];
@@ -46,7 +47,7 @@ abstract class GenericLanguageInflectorFactory implements LanguageInflectorFacto
return $this;
}
- final public function withPluralRules(?Ruleset $pluralRules, bool $reset = false) : LanguageInflectorFactory
+ final public function withPluralRules(?Ruleset $pluralRules, bool $reset = false): LanguageInflectorFactory
{
if ($reset) {
$this->pluralRulesets = [];
@@ -59,7 +60,7 @@ abstract class GenericLanguageInflectorFactory implements LanguageInflectorFacto
return $this;
}
- abstract protected function getSingularRuleset() : Ruleset;
+ abstract protected function getSingularRuleset(): Ruleset;
- abstract protected function getPluralRuleset() : 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
index 24119185..610a4cf4 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Doctrine\Inflector;
use RuntimeException;
+
use function chr;
use function function_exists;
use function lcfirst;
@@ -228,7 +229,7 @@ class Inflector
/**
* Converts a word into the format for a Doctrine table name. Converts 'ModelName' to 'model_name'.
*/
- public function tableize(string $word) : string
+ public function tableize(string $word): string
{
$tableized = preg_replace('~(?<=\\w)([A-Z])~u', '_$1', $word);
@@ -245,7 +246,7 @@ class Inflector
/**
* Converts a word into the format for a Doctrine class name. Converts 'table_name' to 'TableName'.
*/
- public function classify(string $word) : string
+ public function classify(string $word): string
{
return str_replace([' ', '_', '-'], '', ucwords($word, ' _-'));
}
@@ -253,7 +254,7 @@ class Inflector
/**
* Camelizes a word. This uses the classify() method and turns the first character to lowercase.
*/
- public function camelize(string $word) : string
+ public function camelize(string $word): string
{
return lcfirst($this->classify($word));
}
@@ -283,7 +284,7 @@ class Inflector
*
* @return string The string with all delimiter-separated words capitalized.
*/
- public function capitalize(string $string, string $delimiters = " \n\t\r\0\x0B-") : string
+ public function capitalize(string $string, string $delimiters = " \n\t\r\0\x0B-"): string
{
return ucwords($string, $delimiters);
}
@@ -293,7 +294,7 @@ class Inflector
*
* @param string $string The string to check for utf8 characters in.
*/
- public function seemsUtf8(string $string) : bool
+ public function seemsUtf8(string $string): bool
{
for ($i = 0; $i < strlen($string); $i++) {
if (ord($string[$i]) < 0x80) {
@@ -331,7 +332,7 @@ class Inflector
*
* @return string Unaccented string
*/
- public function unaccent(string $string) : string
+ public function unaccent(string $string): string
{
if (preg_match('/[\x80-\xff]/', $string) === false) {
return $string;
@@ -444,7 +445,7 @@ class Inflector
*
* @return string Urlized string.
*/
- public function urlize(string $string) : string
+ public function urlize(string $string): string
{
// Remove all non url friendly characters with the unaccent function
$unaccented = $this->unaccent($string);
@@ -487,7 +488,7 @@ class Inflector
*
* @return string The word in singular form.
*/
- public function singularize(string $word) : string
+ public function singularize(string $word): string
{
return $this->singularizer->inflect($word);
}
@@ -499,7 +500,7 @@ class Inflector
*
* @return string The word in plural form.
*/
- public function pluralize(string $word) : string
+ 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
index 44bba5d7..a0740a74 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php
@@ -11,30 +11,37 @@ use Doctrine\Inflector\Rules\Portuguese;
use Doctrine\Inflector\Rules\Spanish;
use Doctrine\Inflector\Rules\Turkish;
use InvalidArgumentException;
+
use function sprintf;
final class InflectorFactory
{
- public static function create() : LanguageInflectorFactory
+ public static function create(): LanguageInflectorFactory
{
return self::createForLanguage(Language::ENGLISH);
}
- public static function createForLanguage(string $language) : LanguageInflectorFactory
+ public static function createForLanguage(string $language): LanguageInflectorFactory
{
switch ($language) {
case Language::ENGLISH:
return new English\InflectorFactory();
+
case Language::FRENCH:
return new French\InflectorFactory();
+
case Language::NORWEGIAN_BOKMAL:
return new NorwegianBokmal\InflectorFactory();
+
case Language::PORTUGUESE:
return new Portuguese\InflectorFactory();
+
case Language::SPANISH:
return new Spanish\InflectorFactory();
+
case Language::TURKISH:
return new Turkish\InflectorFactory();
+
default:
throw new InvalidArgumentException(sprintf(
'Language "%s" is not supported.',
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php
index a80dd6c4..a58f43c0 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php
@@ -15,7 +15,7 @@ interface LanguageInflectorFactory
*
* @return $this
*/
- public function withSingularRules(?Ruleset $singularRules, bool $reset = false) : self;
+ public function withSingularRules(?Ruleset $singularRules, bool $reset = false): self;
/**
* Applies custom rules for pluralisation
@@ -24,10 +24,10 @@ interface LanguageInflectorFactory
*
* @return $this
*/
- public function withPluralRules(?Ruleset $pluralRules, bool $reset = false) : self;
+ public function withPluralRules(?Ruleset $pluralRules, bool $reset = false): self;
/**
* Builds the inflector instance with all applicable rules
*/
- public function build() : Inflector;
+ public function build(): Inflector;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php
index 63806ecc..2fdf5353 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php
@@ -6,7 +6,7 @@ namespace Doctrine\Inflector;
class NoopWordInflector implements WordInflector
{
- public function inflect(string $word) : string
+ public function inflect(string $word): string
{
return $word;
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php
index 0de97a27..8f0919fc 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php
@@ -14,7 +14,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield new Transformation(new Pattern('(s)tatuses$'), '\1\2tatus');
yield new Transformation(new Pattern('(s)tatus$'), '\1\2tatus');
@@ -62,7 +62,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield new Transformation(new Pattern('(s)tatus$'), '\1\2tatuses');
yield new Transformation(new Pattern('(quiz)$'), '\1zes');
@@ -94,7 +94,7 @@ class Inflectible
/**
* @return Substitution[]
*/
- public static function getIrregular() : iterable
+ public static function getIrregular(): iterable
{
yield new Substitution(new Word('atlas'), new Word('atlases'));
yield new Substitution(new Word('axe'), new Word('axes'));
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php
index cd40021f..85f92aa8 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php
@@ -9,12 +9,12 @@ use Doctrine\Inflector\Rules\Ruleset;
final class InflectorFactory extends GenericLanguageInflectorFactory
{
- protected function getSingularRuleset() : Ruleset
+ protected function getSingularRuleset(): Ruleset
{
return Rules::getSingularRuleset();
}
- protected function getPluralRuleset() : Ruleset
+ protected function getPluralRuleset(): Ruleset
{
return Rules::getPluralRuleset();
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php
index fcc1d19c..7ccc1038 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php
@@ -11,7 +11,7 @@ use Doctrine\Inflector\Rules\Transformations;
final class Rules
{
- public static function getSingularRuleset() : Ruleset
+ public static function getSingularRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getSingular()),
@@ -20,7 +20,7 @@ final class Rules
);
}
- public static function getPluralRuleset() : Ruleset
+ public static function getPluralRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getPlural()),
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
index be37a97b..e2656cc4 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php
@@ -11,7 +11,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield from self::getDefault();
@@ -33,7 +33,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield from self::getDefault();
@@ -46,7 +46,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- private static function getDefault() : iterable
+ private static function getDefault(): iterable
{
yield new Pattern('\w+media');
yield new Pattern('advice');
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php
index b3f22ed2..c8f1f8fd 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php
@@ -14,7 +14,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield new Transformation(new Pattern('/(b|cor|ém|gemm|soupir|trav|vant|vitr)aux$/'), '\1ail');
yield new Transformation(new Pattern('/ails$/'), 'ail');
@@ -26,21 +26,22 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield new Transformation(new Pattern('/(s|x|z)$/'), '\1');
yield new Transformation(new Pattern('/(b|cor|ém|gemm|soupir|trav|vant|vitr)ail$/'), '\1aux');
yield new Transformation(new Pattern('/ail$/'), 'ails');
+ yield new Transformation(new Pattern('/(chacal|carnaval|festival|récital)$/'), '\1s');
yield new Transformation(new Pattern('/al$/'), 'aux');
- yield new Transformation(new Pattern('/(bleu|émeu|landau|lieu|pneu|sarrau)$/'), '\1s');
- yield new Transformation(new Pattern('/(bijou|caillou|chou|genou|hibou|joujou|pou|au|eu|eau)$/'), '\1x');
+ yield new Transformation(new Pattern('/(bleu|émeu|landau|pneu|sarrau)$/'), '\1s');
+ yield new Transformation(new Pattern('/(bijou|caillou|chou|genou|hibou|joujou|lieu|pou|au|eu|eau)$/'), '\1x');
yield new Transformation(new Pattern('/$/'), 's');
}
/**
* @return Substitution[]
*/
- public static function getIrregular() : iterable
+ public static function getIrregular(): iterable
{
yield new Substitution(new Word('monsieur'), new Word('messieurs'));
yield new Substitution(new Word('madame'), new Word('mesdames'));
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php
index 7042d498..62e31f08 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php
@@ -9,12 +9,12 @@ use Doctrine\Inflector\Rules\Ruleset;
final class InflectorFactory extends GenericLanguageInflectorFactory
{
- protected function getSingularRuleset() : Ruleset
+ protected function getSingularRuleset(): Ruleset
{
return Rules::getSingularRuleset();
}
- protected function getPluralRuleset() : Ruleset
+ protected function getPluralRuleset(): Ruleset
{
return Rules::getPluralRuleset();
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php
index d25f8a8c..6cd45bc5 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php
@@ -11,7 +11,7 @@ use Doctrine\Inflector\Rules\Transformations;
final class Rules
{
- public static function getSingularRuleset() : Ruleset
+ public static function getSingularRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getSingular()),
@@ -20,7 +20,7 @@ final class Rules
);
}
- public static function getPluralRuleset() : Ruleset
+ public static function getPluralRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getPlural()),
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
index 2fdc020a..3cf2444a 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php
@@ -11,7 +11,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield from self::getDefault();
}
@@ -19,7 +19,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield from self::getDefault();
}
@@ -27,7 +27,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- private static function getDefault() : iterable
+ private static function getDefault(): iterable
{
yield new Pattern('');
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php
index 9fae0f36..c00317dc 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php
@@ -14,7 +14,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield new Transformation(new Pattern('/re$/i'), 'r');
yield new Transformation(new Pattern('/er$/i'), '');
@@ -23,7 +23,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield new Transformation(new Pattern('/e$/i'), 'er');
yield new Transformation(new Pattern('/r$/i'), 're');
@@ -33,7 +33,7 @@ class Inflectible
/**
* @return Substitution[]
*/
- public static function getIrregular() : iterable
+ public static function getIrregular(): iterable
{
yield new Substitution(new Word('konto'), new Word('konti'));
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php
index 41b9b384..912ae41b 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php
@@ -9,12 +9,12 @@ use Doctrine\Inflector\Rules\Ruleset;
final class InflectorFactory extends GenericLanguageInflectorFactory
{
- protected function getSingularRuleset() : Ruleset
+ protected function getSingularRuleset(): Ruleset
{
return Rules::getSingularRuleset();
}
- protected function getPluralRuleset() : Ruleset
+ protected function getPluralRuleset(): Ruleset
{
return Rules::getPluralRuleset();
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php
index 5a92132a..9902d353 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php
@@ -11,7 +11,7 @@ use Doctrine\Inflector\Rules\Transformations;
final class Rules
{
- public static function getSingularRuleset() : Ruleset
+ public static function getSingularRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getSingular()),
@@ -20,7 +20,7 @@ final class Rules
);
}
- public static function getPluralRuleset() : Ruleset
+ public static function getPluralRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getPlural()),
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
index c6b9fc79..5d878c6d 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php
@@ -11,7 +11,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield from self::getDefault();
}
@@ -19,7 +19,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield from self::getDefault();
}
@@ -27,7 +27,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- private static function getDefault() : iterable
+ private static function getDefault(): iterable
{
yield new Pattern('barn');
yield new Pattern('fjell');
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php
index 3486eba5..a5f0ef77 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php
@@ -25,17 +25,17 @@ final class Pattern
}
}
- public function getPattern() : string
+ public function getPattern(): string
{
return $this->pattern;
}
- public function getRegex() : string
+ public function getRegex(): string
{
return $this->regex;
}
- public function matches(string $word) : bool
+ 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
index a71f1ed2..e8d45cb7 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php
@@ -20,14 +20,14 @@ class Patterns
{
$this->patterns = $patterns;
- $patterns = array_map(static function (Pattern $pattern) : string {
+ $patterns = array_map(static function (Pattern $pattern): string {
return $pattern->getPattern();
}, $this->patterns);
$this->regex = '/^(?:' . implode('|', $patterns) . ')$/i';
}
- public function matches(string $word) : bool
+ 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
index 155055f7..95564d49 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php
@@ -14,7 +14,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield new Transformation(new Pattern('/^(g|)ases$/i'), '\1ás');
yield new Transformation(new Pattern('/(japon|escoc|ingl|dinamarqu|fregu|portugu)eses$/i'), '\1ês');
@@ -37,7 +37,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield new Transformation(new Pattern('/^(alem|c|p)ao$/i'), '\1aes');
yield new Transformation(new Pattern('/^(irm|m)ao$/i'), '\1aos');
@@ -61,7 +61,7 @@ class Inflectible
/**
* @return Substitution[]
*/
- public static function getIrregular() : iterable
+ public static function getIrregular(): iterable
{
yield new Substitution(new Word('abdomen'), new Word('abdomens'));
yield new Substitution(new Word('alemão'), new Word('alemães'));
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php
index 536587e0..bf12d54f 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php
@@ -9,12 +9,12 @@ use Doctrine\Inflector\Rules\Ruleset;
final class InflectorFactory extends GenericLanguageInflectorFactory
{
- protected function getSingularRuleset() : Ruleset
+ protected function getSingularRuleset(): Ruleset
{
return Rules::getSingularRuleset();
}
- protected function getPluralRuleset() : Ruleset
+ protected function getPluralRuleset(): Ruleset
{
return Rules::getPluralRuleset();
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php
index de69b7ec..897f1776 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php
@@ -11,7 +11,7 @@ use Doctrine\Inflector\Rules\Transformations;
final class Rules
{
- public static function getSingularRuleset() : Ruleset
+ public static function getSingularRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getSingular()),
@@ -20,7 +20,7 @@ final class Rules
);
}
- public static function getPluralRuleset() : Ruleset
+ public static function getPluralRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getPlural()),
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
index 52360c45..58c34f9b 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php
@@ -11,7 +11,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield from self::getDefault();
}
@@ -19,7 +19,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield from self::getDefault();
}
@@ -27,7 +27,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- private static function getDefault() : iterable
+ private static function getDefault(): iterable
{
yield new Pattern('tórax');
yield new Pattern('tênis');
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php
index a2d32c1d..39889b79 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php
@@ -22,17 +22,17 @@ class Ruleset
$this->irregular = $irregular;
}
- public function getRegular() : Transformations
+ public function getRegular(): Transformations
{
return $this->regular;
}
- public function getUninflected() : Patterns
+ public function getUninflected(): Patterns
{
return $this->uninflected;
}
- public function getIrregular() : Substitutions
+ 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
index 6cace86a..c6862fa4 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php
@@ -14,7 +14,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield new Transformation(new Pattern('/ereses$/'), 'erés');
yield new Transformation(new Pattern('/iones$/'), 'ión');
@@ -26,7 +26,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield new Transformation(new Pattern('/ú([sn])$/i'), 'u\1es');
yield new Transformation(new Pattern('/ó([sn])$/i'), 'o\1es');
@@ -42,7 +42,7 @@ class Inflectible
/**
* @return Substitution[]
*/
- public static function getIrregular() : iterable
+ public static function getIrregular(): iterable
{
yield new Substitution(new Word('el'), new Word('los'));
yield new Substitution(new Word('papá'), new Word('papás'));
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php
index da643bda..85084ca3 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php
@@ -9,12 +9,12 @@ use Doctrine\Inflector\Rules\Ruleset;
final class InflectorFactory extends GenericLanguageInflectorFactory
{
- protected function getSingularRuleset() : Ruleset
+ protected function getSingularRuleset(): Ruleset
{
return Rules::getSingularRuleset();
}
- protected function getPluralRuleset() : Ruleset
+ protected function getPluralRuleset(): Ruleset
{
return Rules::getPluralRuleset();
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php
index f77a739b..d7399725 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php
@@ -11,7 +11,7 @@ use Doctrine\Inflector\Rules\Transformations;
final class Rules
{
- public static function getSingularRuleset() : Ruleset
+ public static function getSingularRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getSingular()),
@@ -20,7 +20,7 @@ final class Rules
);
}
- public static function getPluralRuleset() : Ruleset
+ public static function getPluralRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getPlural()),
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
index b13281e8..c743b393 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php
@@ -11,7 +11,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield from self::getDefault();
}
@@ -19,7 +19,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield from self::getDefault();
}
@@ -27,7 +27,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- private static function getDefault() : iterable
+ private static function getDefault(): iterable
{
yield new Pattern('lunes');
yield new Pattern('rompecabezas');
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php
index 681ab631..471aff9e 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php
@@ -18,12 +18,12 @@ final class Substitution
$this->to = $to;
}
- public function getFrom() : Word
+ public function getFrom(): Word
{
return $this->from;
}
- public function getTo() : Word
+ 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
index 24cc34a8..17ee2961 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Doctrine\Inflector\Rules;
use Doctrine\Inflector\WordInflector;
+
use function strtolower;
use function strtoupper;
use function substr;
@@ -21,7 +22,7 @@ class Substitutions implements WordInflector
}
}
- public function getFlippedSubstitutions() : Substitutions
+ public function getFlippedSubstitutions(): Substitutions
{
$substitutions = [];
@@ -35,7 +36,7 @@ class Substitutions implements WordInflector
return new Substitutions(...$substitutions);
}
- public function inflect(string $word) : string
+ public function inflect(string $word): string
{
$lowerWord = strtolower($word);
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
index 84ef08b8..30dcd594 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Doctrine\Inflector\Rules;
use Doctrine\Inflector\WordInflector;
+
use function preg_replace;
final class Transformation implements WordInflector
@@ -21,17 +22,17 @@ final class Transformation implements WordInflector
$this->replacement = $replacement;
}
- public function getPattern() : Pattern
+ public function getPattern(): Pattern
{
return $this->pattern;
}
- public function getReplacement() : string
+ public function getReplacement(): string
{
return $this->replacement;
}
- public function inflect(string $word) : string
+ 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
index 9f4724e5..b6a48fa8 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php
@@ -16,7 +16,7 @@ class Transformations implements WordInflector
$this->transformations = $transformations;
}
- public function inflect(string $word) : string
+ public function inflect(string $word): string
{
foreach ($this->transformations as $transformation) {
if ($transformation->getPattern()->matches($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
index 74900cb9..d7b7064c 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php
@@ -14,7 +14,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield new Transformation(new Pattern('/l[ae]r$/i'), '');
}
@@ -22,7 +22,7 @@ class Inflectible
/**
* @return Transformation[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield new Transformation(new Pattern('/([eöiü][^aoıueöiü]{0,6})$/u'), '\1ler');
yield new Transformation(new Pattern('/([aoıu][^aoıueöiü]{0,6})$/u'), '\1lar');
@@ -31,7 +31,7 @@ class Inflectible
/**
* @return Substitution[]
*/
- public static function getIrregular() : iterable
+ public static function getIrregular(): iterable
{
yield new Substitution(new Word('ben'), new Word('biz'));
yield new Substitution(new Word('sen'), new Word('siz'));
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php
index 83b80467..c6cdebe9 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php
@@ -9,12 +9,12 @@ use Doctrine\Inflector\Rules\Ruleset;
final class InflectorFactory extends GenericLanguageInflectorFactory
{
- protected function getSingularRuleset() : Ruleset
+ protected function getSingularRuleset(): Ruleset
{
return Rules::getSingularRuleset();
}
- protected function getPluralRuleset() : Ruleset
+ protected function getPluralRuleset(): Ruleset
{
return Rules::getPluralRuleset();
}
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php
index dd0840c5..ea564ac7 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php
@@ -11,7 +11,7 @@ use Doctrine\Inflector\Rules\Transformations;
final class Rules
{
- public static function getSingularRuleset() : Ruleset
+ public static function getSingularRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getSingular()),
@@ -20,7 +20,7 @@ final class Rules
);
}
- public static function getPluralRuleset() : Ruleset
+ public static function getPluralRuleset(): Ruleset
{
return new Ruleset(
new Transformations(...Inflectible::getPlural()),
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
index c95ccbf9..a75d2486 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php
@@ -11,7 +11,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getSingular() : iterable
+ public static function getSingular(): iterable
{
yield from self::getDefault();
}
@@ -19,7 +19,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- public static function getPlural() : iterable
+ public static function getPlural(): iterable
{
yield from self::getDefault();
}
@@ -27,7 +27,7 @@ final class Uninflected
/**
* @return Pattern[]
*/
- private static function getDefault() : iterable
+ private static function getDefault(): iterable
{
yield new Pattern('lunes');
yield new Pattern('rompecabezas');
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php
index 5156e934..98e93ba2 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php
@@ -14,7 +14,7 @@ class Word
$this->word = $word;
}
- public function getWord() : string
+ 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
index 0e3a5ebd..12b2ed5b 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Doctrine\Inflector;
use Doctrine\Inflector\Rules\Ruleset;
+
use function array_merge;
/**
@@ -26,7 +27,7 @@ class RulesetInflector implements WordInflector
$this->rulesets = array_merge([$ruleset], $rulesets);
}
- public function inflect(string $word) : string
+ public function inflect(string $word): string
{
if ($word === '') {
return '';
diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
index f2570558..b88b1d69 100644
--- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
+++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php
@@ -6,5 +6,5 @@ namespace Doctrine\Inflector;
interface WordInflector
{
- public function inflect(string $word) : string;
+ public function inflect(string $word): string;
}
diff --git a/vendor/doctrine/inflector/psalm.xml b/vendor/doctrine/inflector/psalm.xml
new file mode 100644
index 00000000..677e8d4d
--- /dev/null
+++ b/vendor/doctrine/inflector/psalm.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
diff --git a/vendor/guzzlehttp/promises/CHANGELOG.md b/vendor/guzzlehttp/promises/CHANGELOG.md
index 14796c47..235e13bc 100644
--- a/vendor/guzzlehttp/promises/CHANGELOG.md
+++ b/vendor/guzzlehttp/promises/CHANGELOG.md
@@ -1,7 +1,26 @@
# CHANGELOG
+## 1.5.1 - 2021-10-22
+
+### Fixed
+
+- Revert "Call handler when waiting on fulfilled/rejected Promise"
+- Fix pool memory leak when empty array of promises provided
+
+## 1.5.0 - 2021-10-07
+
+### Changed
+
+- Call handler when waiting on fulfilled/rejected Promise
+
+### Fixed
+
+- Fix manually settle promises generated with Utils::task
+
## 1.4.1 - 2021-02-18
+### Fixed
+
- Fixed `each_limit` skipping promises and failing
## 1.4.0 - 2020-09-30
diff --git a/vendor/guzzlehttp/promises/LICENSE b/vendor/guzzlehttp/promises/LICENSE
index 67f91a14..9f0f943b 100644
--- a/vendor/guzzlehttp/promises/LICENSE
+++ b/vendor/guzzlehttp/promises/LICENSE
@@ -1,4 +1,9 @@
-Copyright (c) 2015-2016 Michael Dowling, https://github.com/mtdowling
+The MIT License (MIT)
+
+Copyright (c) 2015 Michael Dowling
+Copyright (c) 2015 Graham Campbell
+Copyright (c) 2017 Tobias Schultze
+Copyright (c) 2020 Tobias Nyholm
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/vendor/guzzlehttp/promises/README.md b/vendor/guzzlehttp/promises/README.md
index a95c6059..c175fec7 100644
--- a/vendor/guzzlehttp/promises/README.md
+++ b/vendor/guzzlehttp/promises/README.md
@@ -530,3 +530,18 @@ A static API was first introduced in 1.4.0, in order to mitigate problems with f
| `is_rejected` | `Is::rejected` |
| `is_settled` | `Is::settled` |
| `coroutine` | `Coroutine::of` |
+
+
+## Security
+
+If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/promises/security/policy) for more information.
+
+## License
+
+Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.
+
+## For Enterprise
+
+Available as part of the Tidelift Subscription
+
+The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-guzzlehttp-promises?utm_source=packagist-guzzlehttp-promises&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
diff --git a/vendor/guzzlehttp/promises/composer.json b/vendor/guzzlehttp/promises/composer.json
index db44d9e3..c959fb32 100644
--- a/vendor/guzzlehttp/promises/composer.json
+++ b/vendor/guzzlehttp/promises/composer.json
@@ -4,10 +4,25 @@
"keywords": ["promise"],
"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"
}
],
"require": {
@@ -33,7 +48,11 @@
},
"extra": {
"branch-alias": {
- "dev-master": "1.4-dev"
+ "dev-master": "1.5-dev"
}
+ },
+ "config": {
+ "preferred-install": "dist",
+ "sort-packages": true
}
}
diff --git a/vendor/guzzlehttp/promises/src/EachPromise.php b/vendor/guzzlehttp/promises/src/EachPromise.php
index 748f4712..38ecb59b 100644
--- a/vendor/guzzlehttp/promises/src/EachPromise.php
+++ b/vendor/guzzlehttp/promises/src/EachPromise.php
@@ -79,9 +79,7 @@ class EachPromise implements PromisorInterface
$this->createPromise();
/** @psalm-assert Promise $this->aggregate */
$this->iterable->rewind();
- if (!$this->checkIfFinished()) {
- $this->refillPending();
- }
+ $this->refillPending();
} catch (\Throwable $e) {
/**
* @psalm-suppress NullReference
@@ -107,6 +105,9 @@ class EachPromise implements PromisorInterface
{
$this->mutex = false;
$this->aggregate = new Promise(function () {
+ if ($this->checkIfFinished()) {
+ return;
+ }
reset($this->pending);
// Consume a potentially fluctuating list of promises while
// ensuring that indexes are maintained (precluding array_shift).
diff --git a/vendor/guzzlehttp/promises/src/Utils.php b/vendor/guzzlehttp/promises/src/Utils.php
index 1cee8620..8647126d 100644
--- a/vendor/guzzlehttp/promises/src/Utils.php
+++ b/vendor/guzzlehttp/promises/src/Utils.php
@@ -48,7 +48,9 @@ final class Utils
$promise = new Promise([$queue, 'run']);
$queue->add(function () use ($task, $promise) {
try {
- $promise->resolve($task());
+ if (Is::pending($promise)) {
+ $promise->resolve($task());
+ }
} catch (\Throwable $e) {
$promise->reject($e);
} catch (\Exception $e) {
diff --git a/vendor/guzzlehttp/psr7/.github/FUNDING.yml b/vendor/guzzlehttp/psr7/.github/FUNDING.yml
new file mode 100644
index 00000000..7d222c58
--- /dev/null
+++ b/vendor/guzzlehttp/psr7/.github/FUNDING.yml
@@ -0,0 +1,2 @@
+github: [Nyholm, GrahamCampbell]
+tidelift: "packagist/guzzlehttp/psr7"
diff --git a/vendor/guzzlehttp/psr7/.github/stale.yml b/vendor/guzzlehttp/psr7/.github/stale.yml
new file mode 100644
index 00000000..53faa71b
--- /dev/null
+++ b/vendor/guzzlehttp/psr7/.github/stale.yml
@@ -0,0 +1,14 @@
+daysUntilStale: 120
+daysUntilClose: 14
+exemptLabels:
+ - lifecycle/keep-open
+ - lifecycle/ready-for-merge
+# Label to use when marking an issue as stale
+staleLabel: lifecycle/stale
+# Comment to post when marking an issue as stale. Set to `false` to disable
+markComment: >
+ This issue has been automatically marked as stale because it has not had
+ recent activity. It will be closed after 2 weeks if no further activity occurs. Thank you
+ for your contributions.
+# Comment to post when closing a stale issue. Set to `false` to disable
+closeComment: false
diff --git a/vendor/guzzlehttp/psr7/.github/workflows/bc.yml b/vendor/guzzlehttp/psr7/.github/workflows/bc.yml
deleted file mode 100644
index 9eaedbce..00000000
--- a/vendor/guzzlehttp/psr7/.github/workflows/bc.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-name: BC Check
-
-on:
- pull_request:
-
-jobs:
- roave-bc-check:
- name: Roave BC Check
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout code
- uses: actions/checkout@v2
-
- - name: Roave BC Check
- uses: docker://nyholm/roave-bc-check-ga
diff --git a/vendor/guzzlehttp/psr7/.github/workflows/ci.yml b/vendor/guzzlehttp/psr7/.github/workflows/ci.yml
index da7414e5..eda7dceb 100644
--- a/vendor/guzzlehttp/psr7/.github/workflows/ci.yml
+++ b/vendor/guzzlehttp/psr7/.github/workflows/ci.yml
@@ -10,7 +10,7 @@ jobs:
strategy:
max-parallel: 10
matrix:
- php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
+ php: ['5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
steps:
- name: Set up PHP
@@ -23,8 +23,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
+ - name: Mimic PHP 8.0
+ run: composer config platform.php 8.0.999
+ if: matrix.php > 8
+
- name: Install dependencies
- run: composer update --no-interaction --no-progress --prefer-dist
+ run: composer update --no-interaction --no-progress
- name: Run tests
run: make test
diff --git a/vendor/guzzlehttp/psr7/.github/workflows/integration.yml b/vendor/guzzlehttp/psr7/.github/workflows/integration.yml
index b6e0eb24..3c31f9ef 100644
--- a/vendor/guzzlehttp/psr7/.github/workflows/integration.yml
+++ b/vendor/guzzlehttp/psr7/.github/workflows/integration.yml
@@ -26,7 +26,7 @@ jobs:
- name: Download dependencies
uses: ramsey/composer-install@v1
with:
- composer-options: --no-interaction --prefer-dist --optimize-autoloader
+ composer-options: --no-interaction --optimize-autoloader
- name: Start server
run: php -S 127.0.0.1:10002 tests/Integration/server.php &
diff --git a/vendor/guzzlehttp/psr7/CHANGELOG.md b/vendor/guzzlehttp/psr7/CHANGELOG.md
index 6a6b7bf9..f40736c4 100644
--- a/vendor/guzzlehttp/psr7/CHANGELOG.md
+++ b/vendor/guzzlehttp/psr7/CHANGELOG.md
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Unreleased
+## 1.8.3 - 2021-10-05
+
+### Fixed
+
+- Return `null` in caching stream size if remote size is `null`
+
## 1.8.2 - 2021-04-26
### Fixed
diff --git a/vendor/guzzlehttp/psr7/LICENSE b/vendor/guzzlehttp/psr7/LICENSE
index 581d95f9..51c7ec81 100644
--- a/vendor/guzzlehttp/psr7/LICENSE
+++ b/vendor/guzzlehttp/psr7/LICENSE
@@ -1,4 +1,11 @@
-Copyright (c) 2015 Michael Dowling, https://github.com/mtdowling
+The MIT License (MIT)
+
+Copyright (c) 2015 Michael Dowling
+Copyright (c) 2015 Márk Sági-Kazár
+Copyright (c) 2015 Graham Campbell
+Copyright (c) 2016 Tobias Schultze
+Copyright (c) 2016 George Mponos
+Copyright (c) 2018 Tobias Nyholm
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/vendor/guzzlehttp/psr7/README.md b/vendor/guzzlehttp/psr7/README.md
index acfabfdc..464cae4f 100644
--- a/vendor/guzzlehttp/psr7/README.md
+++ b/vendor/guzzlehttp/psr7/README.md
@@ -807,3 +807,18 @@ Whether two URIs can be considered equivalent. Both URIs are normalized automati
`$normalizations` bitmask. The method also accepts relative URI references and returns true when they are equivalent.
This of course assumes they will be resolved against the same base URI. If this is not the case, determination of
equivalence or difference of relative references does not mean anything.
+
+
+## Security
+
+If you discover a security vulnerability within this package, please send an email to security@tidelift.com. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/psr7/security/policy) for more information.
+
+## License
+
+Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.
+
+## For Enterprise
+
+Available as part of the Tidelift Subscription
+
+The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-guzzlehttp-psr7?utm_source=packagist-guzzlehttp-psr7&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
diff --git a/vendor/guzzlehttp/psr7/composer.json b/vendor/guzzlehttp/psr7/composer.json
index 58dcb07e..bfa7cfdc 100644
--- a/vendor/guzzlehttp/psr7/composer.json
+++ b/vendor/guzzlehttp/psr7/composer.json
@@ -1,17 +1,37 @@
{
"name": "guzzlehttp/psr7",
- "type": "library",
"description": "PSR-7 message implementation that also provides common utility methods",
"keywords": ["request", "response", "message", "stream", "http", "uri", "url", "psr-7"],
"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"
}
],
@@ -45,5 +65,9 @@
"branch-alias": {
"dev-master": "1.7-dev"
}
+ },
+ "config": {
+ "preferred-install": "dist",
+ "sort-packages": true
}
}
diff --git a/vendor/guzzlehttp/psr7/src/CachingStream.php b/vendor/guzzlehttp/psr7/src/CachingStream.php
index fe749e98..febade9f 100644
--- a/vendor/guzzlehttp/psr7/src/CachingStream.php
+++ b/vendor/guzzlehttp/psr7/src/CachingStream.php
@@ -36,7 +36,13 @@ class CachingStream implements StreamInterface
public function getSize()
{
- return max($this->stream->getSize(), $this->remoteStream->getSize());
+ $remoteSize = $this->remoteStream->getSize();
+
+ if (null === $remoteSize) {
+ return null;
+ }
+
+ return max($this->stream->getSize(), $remoteSize);
}
public function rewind()
diff --git a/vendor/illuminate/bus/Batch.php b/vendor/illuminate/bus/Batch.php
index 7e5dddba..db8779d3 100644
--- a/vendor/illuminate/bus/Batch.php
+++ b/vendor/illuminate/bus/Batch.php
@@ -7,7 +7,6 @@ use Closure;
use Illuminate\Contracts\Queue\Factory as QueueFactory;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Queue\CallQueuedClosure;
-use Illuminate\Queue\SerializableClosure;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use JsonSerializable;
@@ -420,7 +419,7 @@ class Batch implements Arrayable, JsonSerializable
/**
* Invoke a batch callback handler.
*
- * @param \Illuminate\Queue\SerializableClosure|callable $handler
+ * @param callable $handler
* @param \Illuminate\Bus\Batch $batch
* @param \Throwable|null $e
* @return void
@@ -428,9 +427,7 @@ class Batch implements Arrayable, JsonSerializable
protected function invokeHandlerCallback($handler, Batch $batch, Throwable $e = null)
{
try {
- return $handler instanceof SerializableClosure
- ? $handler->__invoke($batch, $e)
- : call_user_func($handler, $batch, $e);
+ return $handler($batch, $e);
} catch (Throwable $e) {
if (function_exists('report')) {
report($e);
diff --git a/vendor/illuminate/bus/PendingBatch.php b/vendor/illuminate/bus/PendingBatch.php
index a80284b9..a831c5fb 100644
--- a/vendor/illuminate/bus/PendingBatch.php
+++ b/vendor/illuminate/bus/PendingBatch.php
@@ -6,7 +6,7 @@ use Closure;
use Illuminate\Bus\Events\BatchDispatched;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Events\Dispatcher as EventDispatcher;
-use Illuminate\Queue\SerializableClosure;
+use Illuminate\Queue\SerializableClosureFactory;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use Throwable;
@@ -78,7 +78,7 @@ class PendingBatch
public function then($callback)
{
$this->options['then'][] = $callback instanceof Closure
- ? new SerializableClosure($callback)
+ ? SerializableClosureFactory::make($callback)
: $callback;
return $this;
@@ -103,7 +103,7 @@ class PendingBatch
public function catch($callback)
{
$this->options['catch'][] = $callback instanceof Closure
- ? new SerializableClosure($callback)
+ ? SerializableClosureFactory::make($callback)
: $callback;
return $this;
@@ -128,7 +128,7 @@ class PendingBatch
public function finally($callback)
{
$this->options['finally'][] = $callback instanceof Closure
- ? new SerializableClosure($callback)
+ ? SerializableClosureFactory::make($callback)
: $callback;
return $this;
diff --git a/vendor/illuminate/bus/Queueable.php b/vendor/illuminate/bus/Queueable.php
index b4270e84..8e930605 100644
--- a/vendor/illuminate/bus/Queueable.php
+++ b/vendor/illuminate/bus/Queueable.php
@@ -4,7 +4,6 @@ namespace Illuminate\Bus;
use Closure;
use Illuminate\Queue\CallQueuedClosure;
-use Illuminate\Queue\SerializableClosure;
use Illuminate\Support\Arr;
use RuntimeException;
@@ -245,7 +244,7 @@ trait Queueable
public function invokeChainCatchCallbacks($e)
{
collect($this->chainCatchCallbacks)->each(function ($callback) use ($e) {
- $callback instanceof SerializableClosure ? $callback->__invoke($e) : call_user_func($callback, $e);
+ $callback($e);
});
}
}
diff --git a/vendor/illuminate/bus/UniqueLock.php b/vendor/illuminate/bus/UniqueLock.php
new file mode 100644
index 00000000..a937b186
--- /dev/null
+++ b/vendor/illuminate/bus/UniqueLock.php
@@ -0,0 +1,48 @@
+cache = $cache;
+ }
+
+ /**
+ * Attempt to acquire a lock for the given job.
+ *
+ * @param mixed $job
+ * @return bool
+ */
+ public function acquire($job)
+ {
+ $uniqueId = method_exists($job, 'uniqueId')
+ ? $job->uniqueId()
+ : ($job->uniqueId ?? '');
+
+ $cache = method_exists($job, 'uniqueVia')
+ ? $job->uniqueVia()
+ : $this->cache;
+
+ return (bool) $cache->lock(
+ $key = 'laravel_unique_job:'.get_class($job).$uniqueId,
+ $job->uniqueFor ?? 0
+ )->get();
+ }
+}
diff --git a/vendor/illuminate/collections/Arr.php b/vendor/illuminate/collections/Arr.php
index 2c38b3cc..d4ebd899 100644
--- a/vendor/illuminate/collections/Arr.php
+++ b/vendor/illuminate/collections/Arr.php
@@ -393,6 +393,19 @@ class Arr
return array_keys($keys) !== $keys;
}
+ /**
+ * Determines if an array is a list.
+ *
+ * An array is a "list" if all array keys are sequential integers starting from 0 with no gaps in between.
+ *
+ * @param array $array
+ * @return bool
+ */
+ public static function isList($array)
+ {
+ return ! self::isAssoc($array);
+ }
+
/**
* Get a subset of the items from the given array.
*
diff --git a/vendor/illuminate/collections/Collection.php b/vendor/illuminate/collections/Collection.php
index fae1dcf8..a6e3e934 100644
--- a/vendor/illuminate/collections/Collection.php
+++ b/vendor/illuminate/collections/Collection.php
@@ -4,11 +4,12 @@ namespace Illuminate\Support;
use ArrayAccess;
use ArrayIterator;
+use Illuminate\Contracts\Support\CanBeEscapedWhenCastToString;
use Illuminate\Support\Traits\EnumeratesValues;
use Illuminate\Support\Traits\Macroable;
use stdClass;
-class Collection implements ArrayAccess, Enumerable
+class Collection implements ArrayAccess, CanBeEscapedWhenCastToString, Enumerable
{
use EnumeratesValues, Macroable;
@@ -501,6 +502,29 @@ class Collection implements ArrayAccess, Enumerable
return true;
}
+ /**
+ * Determine if any of the keys exist in the collection.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ public function hasAny($key)
+ {
+ if ($this->isEmpty()) {
+ return false;
+ }
+
+ $keys = is_array($key) ? $key : func_get_args();
+
+ foreach ($keys as $value) {
+ if ($this->has($value)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
/**
* Concatenate values of a given key as a string.
*
@@ -1411,6 +1435,28 @@ class Collection implements ArrayAccess, Enumerable
return $this;
}
+ /**
+ * Return only unique items from the collection array.
+ *
+ * @param string|callable|null $key
+ * @param bool $strict
+ * @return static
+ */
+ public function unique($key = null, $strict = false)
+ {
+ $callback = $this->valueRetriever($key);
+
+ $exists = [];
+
+ return $this->reject(function ($item, $key) use ($callback, $strict, &$exists) {
+ if (in_array($id = $callback($item, $key), $exists, $strict)) {
+ return true;
+ }
+
+ $exists[] = $id;
+ });
+ }
+
/**
* Reset the keys on the underlying array.
*
diff --git a/vendor/illuminate/collections/LazyCollection.php b/vendor/illuminate/collections/LazyCollection.php
index 09f6114f..70f10706 100644
--- a/vendor/illuminate/collections/LazyCollection.php
+++ b/vendor/illuminate/collections/LazyCollection.php
@@ -5,12 +5,13 @@ namespace Illuminate\Support;
use ArrayIterator;
use Closure;
use DateTimeInterface;
+use Illuminate\Contracts\Support\CanBeEscapedWhenCastToString;
use Illuminate\Support\Traits\EnumeratesValues;
use Illuminate\Support\Traits\Macroable;
use IteratorAggregate;
use stdClass;
-class LazyCollection implements Enumerable
+class LazyCollection implements CanBeEscapedWhenCastToString, Enumerable
{
use EnumeratesValues, Macroable;
@@ -512,6 +513,25 @@ class LazyCollection implements Enumerable
return false;
}
+ /**
+ * Determine if any of the keys exist in the collection.
+ *
+ * @param mixed $key
+ * @return bool
+ */
+ public function hasAny($key)
+ {
+ $keys = array_flip(is_array($key) ? $key : func_get_args());
+
+ foreach ($this as $key => $value) {
+ if (array_key_exists($key, $keys)) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+
/**
* Concatenate values of a given key as a string.
*
@@ -1352,6 +1372,30 @@ class LazyCollection implements Enumerable
});
}
+ /**
+ * Return only unique items from the collection array.
+ *
+ * @param string|callable|null $key
+ * @param bool $strict
+ * @return static
+ */
+ public function unique($key = null, $strict = false)
+ {
+ $callback = $this->valueRetriever($key);
+
+ return new static(function () use ($callback, $strict) {
+ $exists = [];
+
+ foreach ($this as $key => $item) {
+ if (! in_array($id = $callback($item, $key), $exists, $strict)) {
+ yield $key => $item;
+
+ $exists[] = $id;
+ }
+ }
+ });
+ }
+
/**
* Reset the keys on the underlying array.
*
diff --git a/vendor/illuminate/collections/Traits/EnumeratesValues.php b/vendor/illuminate/collections/Traits/EnumeratesValues.php
index 19f32a32..9eb31ea8 100644
--- a/vendor/illuminate/collections/Traits/EnumeratesValues.php
+++ b/vendor/illuminate/collections/Traits/EnumeratesValues.php
@@ -15,6 +15,7 @@ use Illuminate\Support\HigherOrderWhenProxy;
use JsonSerializable;
use Symfony\Component\VarDumper\VarDumper;
use Traversable;
+use UnexpectedValueException;
/**
* @property-read HigherOrderCollectionProxy $average
@@ -45,6 +46,13 @@ use Traversable;
*/
trait EnumeratesValues
{
+ /**
+ * Indicates that the object's string representation should be escaped when __toString is invoked.
+ *
+ * @var bool
+ */
+ protected $escapeWhenCastingToString = false;
+
/**
* The methods that can be proxied.
*
@@ -744,6 +752,49 @@ trait EnumeratesValues
return $result;
}
+ /**
+ * Reduce the collection to multiple aggregate values.
+ *
+ * @param callable $callback
+ * @param mixed ...$initial
+ * @return array
+ *
+ * @deprecated Use "reduceSpread" instead
+ *
+ * @throws \UnexpectedValueException
+ */
+ public function reduceMany(callable $callback, ...$initial)
+ {
+ return $this->reduceSpread($callback, ...$initial);
+ }
+
+ /**
+ * Reduce the collection to multiple aggregate values.
+ *
+ * @param callable $callback
+ * @param mixed ...$initial
+ * @return array
+ *
+ * @throws \UnexpectedValueException
+ */
+ public function reduceSpread(callable $callback, ...$initial)
+ {
+ $result = $initial;
+
+ foreach ($this as $key => $value) {
+ $result = call_user_func_array($callback, array_merge($result, [$value, $key]));
+
+ if (! is_array($result)) {
+ throw new UnexpectedValueException(sprintf(
+ "%s::reduceMany expects reducer to return an array, but got a '%s' instead.",
+ class_basename(static::class), gettype($result)
+ ));
+ }
+ }
+
+ return $result;
+ }
+
/**
* Reduce an associative collection to a single value.
*
@@ -773,28 +824,6 @@ trait EnumeratesValues
});
}
- /**
- * Return only unique items from the collection array.
- *
- * @param string|callable|null $key
- * @param bool $strict
- * @return static
- */
- public function unique($key = null, $strict = false)
- {
- $callback = $this->valueRetriever($key);
-
- $exists = [];
-
- return $this->reject(function ($item, $key) use ($callback, $strict, &$exists) {
- if (in_array($id = $callback($item, $key), $exists, $strict)) {
- return true;
- }
-
- $exists[] = $id;
- });
- }
-
/**
* Return only unique items from the collection array using strict comparison.
*
@@ -878,7 +907,22 @@ trait EnumeratesValues
*/
public function __toString()
{
- return $this->toJson();
+ return $this->escapeWhenCastingToString
+ ? e($this->toJson())
+ : $this->toJson();
+ }
+
+ /**
+ * Indicate that the model's string representation should be escaped when __toString is invoked.
+ *
+ * @param bool $escape
+ * @return $this
+ */
+ public function escapeWhenCastingToString($escape = true)
+ {
+ $this->escapeWhenCastingToString = $escape;
+
+ return $this;
}
/**
diff --git a/vendor/illuminate/container/Container.php b/vendor/illuminate/container/Container.php
index 6900226d..bf7bb8e5 100755
--- a/vendor/illuminate/container/Container.php
+++ b/vendor/illuminate/container/Container.php
@@ -187,7 +187,9 @@ class Container implements ArrayAccess, ContainerContract
}
/**
- * {@inheritdoc}
+ * {@inheritdoc}
+ *
+ * @return bool
*/
public function has($id)
{
@@ -693,7 +695,9 @@ class Container implements ArrayAccess, ContainerContract
}
/**
- * {@inheritdoc}
+ * {@inheritdoc}
+ *
+ * @return mixed
*/
public function get($id)
{
diff --git a/vendor/illuminate/container/Util.php b/vendor/illuminate/container/Util.php
index 8180a45a..8f7e9171 100644
--- a/vendor/illuminate/container/Util.php
+++ b/vendor/illuminate/container/Util.php
@@ -53,7 +53,7 @@ class Util
$type = $parameter->getType();
if (! $type instanceof ReflectionNamedType || $type->isBuiltin()) {
- return;
+ return null;
}
$name = $type->getName();
diff --git a/vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php b/vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php
new file mode 100644
index 00000000..e1be6fef
--- /dev/null
+++ b/vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php
@@ -0,0 +1,14 @@
+beforeExecutingCallbacks as $beforeExecutingCallback) {
+ $beforeExecutingCallback($query, $bindings, $this);
+ }
+
$this->reconnectIfMissingConnection();
$start = microtime(true);
@@ -807,6 +818,19 @@ class Connection implements ConnectionInterface
$this->setPdo(null)->setReadPdo(null);
}
+ /**
+ * Register a hook to be run just before a database query is executed.
+ *
+ * @param \Closure $callback
+ * @return $this
+ */
+ public function beforeExecuting(Closure $callback)
+ {
+ $this->beforeExecutingCallbacks[] = $callback;
+
+ return $this;
+ }
+
/**
* Register a database query listener with the connection.
*
diff --git a/vendor/illuminate/database/Console/Factories/stubs/factory.stub b/vendor/illuminate/database/Console/Factories/stubs/factory.stub
index f7a898c9..3e00f365 100644
--- a/vendor/illuminate/database/Console/Factories/stubs/factory.stub
+++ b/vendor/illuminate/database/Console/Factories/stubs/factory.stub
@@ -3,17 +3,9 @@
namespace {{ factoryNamespace }};
use Illuminate\Database\Eloquent\Factories\Factory;
-use {{ namespacedModel }};
class {{ factory }}Factory extends Factory
{
- /**
- * The name of the factory's corresponding model.
- *
- * @var string
- */
- protected $model = {{ model }}::class;
-
/**
* Define the model's default state.
*
diff --git a/vendor/illuminate/database/Console/PruneCommand.php b/vendor/illuminate/database/Console/PruneCommand.php
index 74be6b92..d84b0a01 100644
--- a/vendor/illuminate/database/Console/PruneCommand.php
+++ b/vendor/illuminate/database/Console/PruneCommand.php
@@ -19,7 +19,8 @@ class PruneCommand extends Command
*/
protected $signature = 'model:prune
{--model=* : Class names of the models to be pruned}
- {--chunk=1000 : The number of models to retrieve per chunk of models to be deleted}';
+ {--chunk=1000 : The number of models to retrieve per chunk of models to be deleted}
+ {--pretend : Display the number of prunable records found instead of deleting them}';
/**
* The console command description.
@@ -44,6 +45,14 @@ class PruneCommand extends Command
return;
}
+ if ($this->option('pretend')) {
+ $models->each(function ($model) {
+ $this->pretendToPrune($model);
+ });
+
+ return;
+ }
+
$events->listen(ModelsPruned::class, function ($event) {
$this->info("{$event->count} [{$event->model}] records have been pruned.");
});
@@ -78,7 +87,7 @@ class PruneCommand extends Command
return collect($models);
}
- return collect((new Finder)->in(app_path('Models'))->files())
+ return collect((new Finder)->in(app_path('Models'))->files()->name('*.php'))
->map(function ($model) {
$namespace = $this->laravel->getNamespace();
@@ -104,4 +113,26 @@ class PruneCommand extends Command
return in_array(Prunable::class, $uses) || in_array(MassPrunable::class, $uses);
}
+
+ /**
+ * Display how many models will be pruned.
+ *
+ * @param string $model
+ * @return void
+ */
+ protected function pretendToPrune($model)
+ {
+ $instance = new $model;
+
+ $count = $instance->prunable()
+ ->when(in_array(SoftDeletes::class, class_uses_recursive(get_class($instance))), function ($query) {
+ $query->withTrashed();
+ })->count();
+
+ if ($count === 0) {
+ $this->info("No prunable [$model] records found.");
+ } else {
+ $this->info("{$count} [{$model}] records will be pruned.");
+ }
+ }
}
diff --git a/vendor/illuminate/database/DBAL/TimestampType.php b/vendor/illuminate/database/DBAL/TimestampType.php
index 0ab733cf..296773f4 100644
--- a/vendor/illuminate/database/DBAL/TimestampType.php
+++ b/vendor/illuminate/database/DBAL/TimestampType.php
@@ -4,12 +4,15 @@ namespace Illuminate\Database\DBAL;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
+use Doctrine\DBAL\Types\PhpDateTimeMappingType;
use Doctrine\DBAL\Types\Type;
-class TimestampType extends Type
+class TimestampType extends Type implements PhpDateTimeMappingType
{
/**
* {@inheritdoc}
+ *
+ * @return string
*/
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
{
@@ -97,6 +100,8 @@ class TimestampType extends Type
/**
* {@inheritdoc}
+ *
+ * @return string
*/
public function getName()
{
diff --git a/vendor/illuminate/database/DetectsConcurrencyErrors.php b/vendor/illuminate/database/DetectsConcurrencyErrors.php
index adbe4dc4..c6c66f43 100644
--- a/vendor/illuminate/database/DetectsConcurrencyErrors.php
+++ b/vendor/illuminate/database/DetectsConcurrencyErrors.php
@@ -16,7 +16,7 @@ trait DetectsConcurrencyErrors
*/
protected function causedByConcurrencyError(Throwable $e)
{
- if ($e instanceof PDOException && $e->getCode() === '40001') {
+ if ($e instanceof PDOException && ($e->getCode() === 40001 || $e->getCode() === '40001')) {
return true;
}
diff --git a/vendor/illuminate/database/DetectsLostConnections.php b/vendor/illuminate/database/DetectsLostConnections.php
index 93be53b2..1cbd7b15 100644
--- a/vendor/illuminate/database/DetectsLostConnections.php
+++ b/vendor/illuminate/database/DetectsLostConnections.php
@@ -54,6 +54,8 @@ trait DetectsLostConnections
'SQLSTATE[08S01]: Communication link failure',
'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host',
'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: No route to host',
+ 'The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior.',
+ 'SQLSTATE[08006] [7] could not translate host name',
]);
}
}
diff --git a/vendor/illuminate/database/Eloquent/Casts/AsStringable.php b/vendor/illuminate/database/Eloquent/Casts/AsStringable.php
new file mode 100644
index 00000000..912659f3
--- /dev/null
+++ b/vendor/illuminate/database/Eloquent/Casts/AsStringable.php
@@ -0,0 +1,32 @@
+serializeClassCastableAttribute($key, $attributes[$key]);
}
+ if ($this->isEnumCastable($key)) {
+ $attributes[$key] = isset($attributes[$key]) ? $attributes[$key]->value : null;
+ }
+
if ($attributes[$key] instanceof Arrayable) {
$attributes[$key] = $attributes[$key]->toArray();
}
@@ -620,6 +626,10 @@ trait HasAttributes
return $this->asTimestamp($value);
}
+ if ($this->isEnumCastable($key)) {
+ return $this->getEnumCastableAttributeValue($key, $value);
+ }
+
if ($this->isClassCastable($key)) {
return $this->getClassCastableAttributeValue($key, $value);
}
@@ -655,6 +665,24 @@ trait HasAttributes
}
}
+ /**
+ * Cast the given attribute to an enum.
+ *
+ * @param string $key
+ * @param mixed $value
+ * @return mixed
+ */
+ protected function getEnumCastableAttributeValue($key, $value)
+ {
+ if (is_null($value)) {
+ return;
+ }
+
+ $castType = $this->getCasts()[$key];
+
+ return $castType::from($value);
+ }
+
/**
* Get the type of cast for a model attribute.
*
@@ -765,6 +793,12 @@ trait HasAttributes
$value = $this->fromDateTime($value);
}
+ if ($this->isEnumCastable($key)) {
+ $this->setEnumCastableAttribute($key, $value);
+
+ return $this;
+ }
+
if ($this->isClassCastable($key)) {
$this->setClassCastableAttribute($key, $value);
@@ -883,6 +917,18 @@ trait HasAttributes
}
}
+ /**
+ * Set the value of an enum castable attribute.
+ *
+ * @param string $key
+ * @param \BackedEnum $value
+ * @return void
+ */
+ protected function setEnumCastableAttribute($key, $value)
+ {
+ $this->attributes[$key] = isset($value) ? $value->value : null;
+ }
+
/**
* Get an array attribute with the given key and value set.
*
@@ -1217,7 +1263,18 @@ trait HasAttributes
*/
protected function isDateCastable($key)
{
- return $this->hasCast($key, ['date', 'datetime', 'custom_datetime', 'immutable_date', 'immutable_datetime', 'immutable_custom_datetime']);
+ return $this->hasCast($key, ['date', 'datetime', 'immutable_date', 'immutable_datetime']);
+ }
+
+ /**
+ * Determine whether a value is Date / DateTime custom-castable for inbound manipulation.
+ *
+ * @param string $key
+ * @return bool
+ */
+ protected function isDateCastableWithCustomFormat($key)
+ {
+ return $this->hasCast($key, ['custom_datetime', 'immutable_custom_datetime']);
}
/**
@@ -1269,6 +1326,29 @@ trait HasAttributes
throw new InvalidCastException($this->getModel(), $key, $castType);
}
+ /**
+ * Determine if the given key is cast using an enum.
+ *
+ * @param string $key
+ * @return bool
+ */
+ protected function isEnumCastable($key)
+ {
+ if (! array_key_exists($key, $this->getCasts())) {
+ return false;
+ }
+
+ $castType = $this->getCasts()[$key];
+
+ if (in_array($castType, static::$primitiveCastTypes)) {
+ return false;
+ }
+
+ if (function_exists('enum_exists') && enum_exists($castType)) {
+ return true;
+ }
+ }
+
/**
* Determine if the key is deviable using a custom class.
*
@@ -1294,8 +1374,9 @@ trait HasAttributes
*/
protected function isClassSerializable($key)
{
- return $this->isClassCastable($key) &&
- method_exists($this->parseCasterClass($this->getCasts()[$key]), 'serialize');
+ return ! $this->isEnumCastable($key) &&
+ $this->isClassCastable($key) &&
+ method_exists($this->resolveCasterClass($key), 'serialize');
}
/**
@@ -1643,7 +1724,7 @@ trait HasAttributes
return true;
} elseif (is_null($attribute)) {
return false;
- } elseif ($this->isDateAttribute($key) || $this->isDateCastable($key)) {
+ } elseif ($this->isDateAttribute($key) || $this->isDateCastableWithCustomFormat($key)) {
return $this->fromDateTime($attribute) ===
$this->fromDateTime($original);
} elseif ($this->hasCast($key, ['object', 'collection'])) {
@@ -1658,6 +1739,8 @@ trait HasAttributes
} elseif ($this->hasCast($key, static::$primitiveCastTypes)) {
return $this->castAttribute($key, $attribute) ===
$this->castAttribute($key, $original);
+ } elseif ($this->isClassCastable($key) && in_array($this->getCasts()[$key], [AsArrayObject::class, AsCollection::class])) {
+ return $this->fromJson($attribute) === $this->fromJson($original);
}
return is_numeric($attribute) && is_numeric($original)
diff --git a/vendor/illuminate/database/Eloquent/Concerns/QueriesRelationships.php b/vendor/illuminate/database/Eloquent/Concerns/QueriesRelationships.php
index c2baa667..aae3ffb1 100644
--- a/vendor/illuminate/database/Eloquent/Concerns/QueriesRelationships.php
+++ b/vendor/illuminate/database/Eloquent/Concerns/QueriesRelationships.php
@@ -2,8 +2,11 @@
namespace Illuminate\Database\Eloquent\Concerns;
+use BadMethodCallException;
use Closure;
use Illuminate\Database\Eloquent\Builder;
+use Illuminate\Database\Eloquent\RelationNotFoundException;
+use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\MorphTo;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Query\Builder as QueryBuilder;
@@ -455,6 +458,56 @@ trait QueriesRelationships
return $this->whereMorphedTo($relation, $model, 'or');
}
+ /**
+ * Add a "belongs to" relationship where clause to the query.
+ *
+ * @param \Illuminate\Database\Eloquent\Model $related
+ * @param string $relationship
+ * @param string $boolean
+ * @return $this
+ *
+ * @throws \Exception
+ */
+ public function whereBelongsTo($related, $relationshipName = null, $boolean = 'and')
+ {
+ if ($relationshipName === null) {
+ $relationshipName = Str::camel(class_basename($related));
+ }
+
+ try {
+ $relationship = $this->model->{$relationshipName}();
+ } catch (BadMethodCallException $exception) {
+ throw RelationNotFoundException::make($this->model, $relationshipName);
+ }
+
+ if (! $relationship instanceof BelongsTo) {
+ throw RelationNotFoundException::make($this->model, $relationshipName, BelongsTo::class);
+ }
+
+ $this->where(
+ $relationship->getQualifiedForeignKeyName(),
+ '=',
+ $related->getAttributeValue($relationship->getOwnerKeyName()),
+ $boolean,
+ );
+
+ return $this;
+ }
+
+ /**
+ * Add an "BelongsTo" relationship with an "or where" clause to the query.
+ *
+ * @param \Illuminate\Database\Eloquent\Model $related
+ * @param string $relationship
+ * @return $this
+ *
+ * @throws \Exception
+ */
+ public function orWhereBelongsTo($related, $relationshipName = null)
+ {
+ return $this->whereBelongsTo($related, $relationshipName, 'or');
+ }
+
/**
* Add subselect queries to include an aggregate value for a relationship.
*
diff --git a/vendor/illuminate/database/Eloquent/Factories/Factory.php b/vendor/illuminate/database/Eloquent/Factories/Factory.php
index 11cb5adc..9bdce1c7 100644
--- a/vendor/illuminate/database/Eloquent/Factories/Factory.php
+++ b/vendor/illuminate/database/Eloquent/Factories/Factory.php
@@ -10,20 +10,21 @@ use Illuminate\Database\Eloquent\Collection as EloquentCollection;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
+use Illuminate\Support\Traits\Conditionable;
use Illuminate\Support\Traits\ForwardsCalls;
use Illuminate\Support\Traits\Macroable;
use Throwable;
abstract class Factory
{
- use ForwardsCalls, Macroable {
+ use Conditionable, ForwardsCalls, Macroable {
__call as macroCall;
}
/**
* The name of the factory's corresponding model.
*
- * @var string
+ * @var string|null
*/
protected $model;
diff --git a/vendor/illuminate/database/Eloquent/Model.php b/vendor/illuminate/database/Eloquent/Model.php
index 3c57ac76..b07fdb4f 100644
--- a/vendor/illuminate/database/Eloquent/Model.php
+++ b/vendor/illuminate/database/Eloquent/Model.php
@@ -8,6 +8,7 @@ use Illuminate\Contracts\Queue\QueueableCollection;
use Illuminate\Contracts\Queue\QueueableEntity;
use Illuminate\Contracts\Routing\UrlRoutable;
use Illuminate\Contracts\Support\Arrayable;
+use Illuminate\Contracts\Support\CanBeEscapedWhenCastToString;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Database\ConnectionResolverInterface as Resolver;
use Illuminate\Database\Eloquent\Collection as EloquentCollection;
@@ -22,7 +23,7 @@ use Illuminate\Support\Traits\ForwardsCalls;
use JsonSerializable;
use LogicException;
-abstract class Model implements Arrayable, ArrayAccess, HasBroadcastChannel, Jsonable, JsonSerializable, QueueableEntity, UrlRoutable
+abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToString, HasBroadcastChannel, Jsonable, JsonSerializable, QueueableEntity, UrlRoutable
{
use Concerns\HasAttributes,
Concerns\HasEvents,
@@ -110,6 +111,13 @@ abstract class Model implements Arrayable, ArrayAccess, HasBroadcastChannel, Jso
*/
public $wasRecentlyCreated = false;
+ /**
+ * Indicates that the object's string representation should be escaped when __toString is invoked.
+ *
+ * @var bool
+ */
+ protected $escapeWhenCastingToString = false;
+
/**
* The connection resolver instance.
*
@@ -2128,7 +2136,22 @@ abstract class Model implements Arrayable, ArrayAccess, HasBroadcastChannel, Jso
*/
public function __toString()
{
- return $this->toJson();
+ return $this->escapeWhenCastingToString
+ ? e($this->toJson())
+ : $this->toJson();
+ }
+
+ /**
+ * Indicate that the object's string representation should be escaped when __toString is invoked.
+ *
+ * @param bool $escape
+ * @return $this
+ */
+ public function escapeWhenCastingToString($escape = true)
+ {
+ $this->escapeWhenCastingToString = $escape;
+
+ return $this;
}
/**
diff --git a/vendor/illuminate/database/Eloquent/RelationNotFoundException.php b/vendor/illuminate/database/Eloquent/RelationNotFoundException.php
index 5acc0b30..73257bb1 100755
--- a/vendor/illuminate/database/Eloquent/RelationNotFoundException.php
+++ b/vendor/illuminate/database/Eloquent/RelationNotFoundException.php
@@ -25,13 +25,18 @@ class RelationNotFoundException extends RuntimeException
*
* @param object $model
* @param string $relation
+ * @param string|null $type
* @return static
*/
- public static function make($model, $relation)
+ public static function make($model, $relation, $type = null)
{
$class = get_class($model);
- $instance = new static("Call to undefined relationship [{$relation}] on model [{$class}].");
+ $instance = new static(
+ is_null($type)
+ ? "Call to undefined relationship [{$relation}] on model [{$class}]."
+ : "Call to undefined relationship [{$relation}] on model [{$class}] of type [{$type}].",
+ );
$instance->model = $class;
$instance->relation = $relation;
diff --git a/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php b/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php
index 32bdf884..5c93b8f8 100755
--- a/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php
+++ b/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php
@@ -277,7 +277,7 @@ class BelongsToMany extends Relation
// Once we have an array dictionary of child objects we can easily match the
// children back to their parent using the dictionary and the keys on the
- // the parent models. Then we will return the hydrated models back out.
+ // parent models. Then we should return these hydrated models back out.
foreach ($models as $model) {
$key = $this->getDictionaryKey($model->{$this->parentKey});
diff --git a/vendor/illuminate/database/Eloquent/Relations/Concerns/CanBeOneOfMany.php b/vendor/illuminate/database/Eloquent/Relations/Concerns/CanBeOneOfMany.php
index 71fa6bde..6f6b1b7f 100644
--- a/vendor/illuminate/database/Eloquent/Relations/Concerns/CanBeOneOfMany.php
+++ b/vendor/illuminate/database/Eloquent/Relations/Concerns/CanBeOneOfMany.php
@@ -102,7 +102,9 @@ trait CanBeOneOfMany
if (isset($previous)) {
$this->addOneOfManyJoinSubQuery($subQuery, $previous['subQuery'], $previous['column']);
- } elseif (isset($closure)) {
+ }
+
+ if (isset($closure)) {
$closure($subQuery);
}
@@ -122,6 +124,12 @@ trait CanBeOneOfMany
$this->addConstraints();
+ $columns = $this->query->getQuery()->columns;
+
+ if (is_null($columns) || $columns === ['*']) {
+ $this->select([$this->qualifyColumn('*')]);
+ }
+
return $this;
}
@@ -137,7 +145,7 @@ trait CanBeOneOfMany
{
return $this->ofMany(collect(Arr::wrap($column))->mapWithKeys(function ($column) {
return [$column => 'MAX'];
- })->all(), 'MAX', $relation ?: $this->guessRelationship());
+ })->all(), 'MAX', $relation);
}
/**
@@ -152,7 +160,7 @@ trait CanBeOneOfMany
{
return $this->ofMany(collect(Arr::wrap($column))->mapWithKeys(function ($column) {
return [$column => 'MIN'];
- })->all(), 'MIN', $relation ?: $this->guessRelationship());
+ })->all(), 'MIN', $relation);
}
/**
@@ -179,14 +187,15 @@ trait CanBeOneOfMany
protected function newOneOfManySubQuery($groupBy, $column = null, $aggregate = null)
{
$subQuery = $this->query->getModel()
- ->newQuery();
+ ->newQuery()
+ ->withoutGlobalScopes($this->removedScopes());
foreach (Arr::wrap($groupBy) as $group) {
$subQuery->groupBy($this->qualifyRelatedColumn($group));
}
if (! is_null($column)) {
- $subQuery->selectRaw($aggregate.'('.$subQuery->getQuery()->grammar->wrap($column).') as '.$subQuery->getQuery()->grammar->wrap($column));
+ $subQuery->selectRaw($aggregate.'('.$subQuery->getQuery()->grammar->wrap($subQuery->qualifyColumn($column)).') as '.$subQuery->getQuery()->grammar->wrap($column.'_aggregate'));
}
$this->addOneOfManySubQueryConstraints($subQuery, $groupBy, $column, $aggregate);
@@ -208,7 +217,7 @@ trait CanBeOneOfMany
$subQuery->applyBeforeQueryCallbacks();
$parent->joinSub($subQuery, $this->relationName, function ($join) use ($on) {
- $join->on($this->qualifySubSelectColumn($on), '=', $this->qualifyRelatedColumn($on));
+ $join->on($this->qualifySubSelectColumn($on.'_aggregate'), '=', $this->qualifyRelatedColumn($on));
$this->addOneOfManyJoinSubQueryConstraints($join, $on);
});
diff --git a/vendor/illuminate/database/Eloquent/Relations/Relation.php b/vendor/illuminate/database/Eloquent/Relations/Relation.php
index 445778d4..aa8ce5a0 100755
--- a/vendor/illuminate/database/Eloquent/Relations/Relation.php
+++ b/vendor/illuminate/database/Eloquent/Relations/Relation.php
@@ -407,7 +407,7 @@ abstract class Relation
/**
* Define the morph map for polymorphic relations and require all morphed models to be explicitly mapped.
*
- * @param array|null $map
+ * @param array $map
* @param bool $merge
* @return array
*/
diff --git a/vendor/illuminate/database/PDO/SqlServerDriver.php b/vendor/illuminate/database/PDO/SqlServerDriver.php
index bbb3bbd3..1373fc49 100644
--- a/vendor/illuminate/database/PDO/SqlServerDriver.php
+++ b/vendor/illuminate/database/PDO/SqlServerDriver.php
@@ -6,6 +6,9 @@ use Doctrine\DBAL\Driver\AbstractSQLServerDriver;
class SqlServerDriver extends AbstractSQLServerDriver
{
+ /**
+ * @return \Doctrine\DBAL\Driver\Connection
+ */
public function connect(array $params)
{
return new SqlServerConnection(
diff --git a/vendor/illuminate/database/Query/Builder.php b/vendor/illuminate/database/Query/Builder.php
index eebdc158..82354391 100755
--- a/vendor/illuminate/database/Query/Builder.php
+++ b/vendor/illuminate/database/Query/Builder.php
@@ -20,6 +20,7 @@ use Illuminate\Support\Str;
use Illuminate\Support\Traits\ForwardsCalls;
use Illuminate\Support\Traits\Macroable;
use InvalidArgumentException;
+use LogicException;
use RuntimeException;
class Builder
@@ -1960,7 +1961,7 @@ class Builder
/**
* Add an "order by" clause to the query.
*
- * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
+ * @param \Closure|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
* @param string $direction
* @return $this
*
@@ -1993,7 +1994,7 @@ class Builder
/**
* Add a descending "order by" clause to the query.
*
- * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
+ * @param \Closure|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
* @return $this
*/
public function orderByDesc($column)
@@ -2004,7 +2005,7 @@ class Builder
/**
* Add an "order by" clause for a timestamp to the query.
*
- * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
+ * @param \Closure|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
* @return $this
*/
public function latest($column = 'created_at')
@@ -2015,7 +2016,7 @@ class Builder
/**
* Add an "order by" clause for a timestamp to the query.
*
- * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
+ * @param \Closure|\Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $column
* @return $this
*/
public function oldest($column = 'created_at')
@@ -3000,6 +3001,27 @@ class Builder
));
}
+ /**
+ * Update records in a PostgreSQL database using the update from syntax.
+ *
+ * @param array $values
+ * @return int
+ */
+ public function updateFrom(array $values)
+ {
+ if (! method_exists($this->grammar, 'compileUpdateFrom')) {
+ throw new LogicException('This database engine does not support the updateFrom method.');
+ }
+
+ $this->applyBeforeQueryCallbacks();
+
+ $sql = $this->grammar->compileUpdateFrom($this, $values);
+
+ return $this->connection->update($sql, $this->cleanBindings(
+ $this->grammar->prepareBindingsForUpdateFrom($this->bindings, $values)
+ ));
+ }
+
/**
* Insert or update a record matching the attributes, and fill it with values.
*
@@ -3402,7 +3424,7 @@ class Builder
/**
* Die and dump the current SQL and bindings.
*
- * @return void
+ * @return never
*/
public function dd()
{
diff --git a/vendor/illuminate/database/Query/Grammars/PostgresGrammar.php b/vendor/illuminate/database/Query/Grammars/PostgresGrammar.php
index 85ff0121..d40d163c 100755
--- a/vendor/illuminate/database/Query/Grammars/PostgresGrammar.php
+++ b/vendor/illuminate/database/Query/Grammars/PostgresGrammar.php
@@ -260,6 +260,114 @@ class PostgresGrammar extends Grammar
return "{$field} = jsonb_set({$field}::jsonb, {$path}, {$this->parameter($value)})";
}
+ /**
+ * Compile an update from statement into SQL.
+ *
+ * @param \Illuminate\Database\Query\Builder $query
+ * @param array $values
+ * @return string
+ */
+ public function compileUpdateFrom(Builder $query, $values)
+ {
+ $table = $this->wrapTable($query->from);
+
+ // Each one of the columns in the update statements needs to be wrapped in the
+ // keyword identifiers, also a place-holder needs to be created for each of
+ // the values in the list of bindings so we can make the sets statements.
+ $columns = $this->compileUpdateColumns($query, $values);
+
+ $from = '';
+
+ if (isset($query->joins)) {
+ // When using Postgres, updates with joins list the joined tables in the from
+ // clause, which is different than other systems like MySQL. Here, we will
+ // compile out the tables that are joined and add them to a from clause.
+ $froms = collect($query->joins)->map(function ($join) {
+ return $this->wrapTable($join->table);
+ })->all();
+
+ if (count($froms) > 0) {
+ $from = ' from '.implode(', ', $froms);
+ }
+ }
+
+ $where = $this->compileUpdateWheres($query);
+
+ return trim("update {$table} set {$columns}{$from} {$where}");
+ }
+
+ /**
+ * Compile the additional where clauses for updates with joins.
+ *
+ * @param \Illuminate\Database\Query\Builder $query
+ * @return string
+ */
+ protected function compileUpdateWheres(Builder $query)
+ {
+ $baseWheres = $this->compileWheres($query);
+
+ if (! isset($query->joins)) {
+ return $baseWheres;
+ }
+
+ // Once we compile the join constraints, we will either use them as the where
+ // clause or append them to the existing base where clauses. If we need to
+ // strip the leading boolean we will do so when using as the only where.
+ $joinWheres = $this->compileUpdateJoinWheres($query);
+
+ if (trim($baseWheres) == '') {
+ return 'where '.$this->removeLeadingBoolean($joinWheres);
+ }
+
+ return $baseWheres.' '.$joinWheres;
+ }
+
+ /**
+ * Compile the "join" clause where clauses for an update.
+ *
+ * @param \Illuminate\Database\Query\Builder $query
+ * @return string
+ */
+ protected function compileUpdateJoinWheres(Builder $query)
+ {
+ $joinWheres = [];
+
+ // Here we will just loop through all of the join constraints and compile them
+ // all out then implode them. This should give us "where" like syntax after
+ // everything has been built and then we will join it to the real wheres.
+ foreach ($query->joins as $join) {
+ foreach ($join->wheres as $where) {
+ $method = "where{$where['type']}";
+
+ $joinWheres[] = $where['boolean'].' '.$this->$method($query, $where);
+ }
+ }
+
+ return implode(' ', $joinWheres);
+ }
+
+ /**
+ * Prepare the bindings for an update statement.
+ *
+ * @param array $bindings
+ * @param array $values
+ * @return array
+ */
+ public function prepareBindingsForUpdateFrom(array $bindings, array $values)
+ {
+ $values = collect($values)->map(function ($value, $column) {
+ return is_array($value) || ($this->isJsonSelector($column) && ! $this->isExpression($value))
+ ? json_encode($value)
+ : $value;
+ })->all();
+
+ $bindingsWithoutWhere = Arr::except($bindings, ['select', 'where']);
+
+ return array_values(
+ array_merge($values, $bindings['where'], Arr::flatten($bindingsWithoutWhere))
+ );
+ }
+
/**
* Compile an update statement with joins or limit into SQL.
*
diff --git a/vendor/illuminate/database/Schema/ForeignKeyDefinition.php b/vendor/illuminate/database/Schema/ForeignKeyDefinition.php
index 0354cc92..a03fcff7 100644
--- a/vendor/illuminate/database/Schema/ForeignKeyDefinition.php
+++ b/vendor/illuminate/database/Schema/ForeignKeyDefinition.php
@@ -24,6 +24,16 @@ class ForeignKeyDefinition extends Fluent
return $this->onUpdate('cascade');
}
+ /**
+ * Indicate that updates should be restricted.
+ *
+ * @return $this
+ */
+ public function restrictOnUpdate()
+ {
+ return $this->onUpdate('restrict');
+ }
+
/**
* Indicate that deletes should cascade.
*
diff --git a/vendor/illuminate/database/Schema/Grammars/ChangeColumn.php b/vendor/illuminate/database/Schema/Grammars/ChangeColumn.php
index 6167b21e..260935f8 100644
--- a/vendor/illuminate/database/Schema/Grammars/ChangeColumn.php
+++ b/vendor/illuminate/database/Schema/Grammars/ChangeColumn.php
@@ -198,6 +198,7 @@ class ChangeColumn
'binary',
'boolean',
'date',
+ 'dateTime',
'decimal',
'double',
'float',
diff --git a/vendor/illuminate/database/Schema/MySqlSchemaState.php b/vendor/illuminate/database/Schema/MySqlSchemaState.php
index e772fb68..9bbec7a4 100644
--- a/vendor/illuminate/database/Schema/MySqlSchemaState.php
+++ b/vendor/illuminate/database/Schema/MySqlSchemaState.php
@@ -85,7 +85,7 @@ class MySqlSchemaState extends SchemaState
*/
protected function baseDumpCommand()
{
- $command = 'mysqldump '.$this->connectionString().' --skip-add-locks --skip-comments --skip-set-charset --tz-utc';
+ $command = 'mysqldump '.$this->connectionString().' --no-tablespaces --skip-add-locks --skip-comments --skip-set-charset --tz-utc';
if (! $this->connection->isMaria()) {
$command .= ' --column-statistics=0 --set-gtid-purged=OFF';
diff --git a/vendor/illuminate/database/Schema/SchemaState.php b/vendor/illuminate/database/Schema/SchemaState.php
index 5629a7aa..e6f35ab9 100644
--- a/vendor/illuminate/database/Schema/SchemaState.php
+++ b/vendor/illuminate/database/Schema/SchemaState.php
@@ -58,7 +58,7 @@ abstract class SchemaState
$this->files = $files ?: new Filesystem;
$this->processFactory = $processFactory ?: function (...$arguments) {
- return Process::fromShellCommandline(...$arguments);
+ return Process::fromShellCommandline(...$arguments)->setTimeout(null);
};
$this->handleOutputUsing(function () {
diff --git a/vendor/illuminate/database/composer.json b/vendor/illuminate/database/composer.json
index 0a7cda07..c7398fde 100644
--- a/vendor/illuminate/database/composer.json
+++ b/vendor/illuminate/database/composer.json
@@ -35,7 +35,7 @@
}
},
"suggest": {
- "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.6|^3.0).",
+ "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.2).",
"fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
"illuminate/console": "Required to use the database commands (^8.0).",
"illuminate/events": "Required to use the observers with Eloquent (^8.0).",
diff --git a/vendor/illuminate/events/InvokeQueuedClosure.php b/vendor/illuminate/events/InvokeQueuedClosure.php
index caabe457..bc68b19d 100644
--- a/vendor/illuminate/events/InvokeQueuedClosure.php
+++ b/vendor/illuminate/events/InvokeQueuedClosure.php
@@ -7,7 +7,7 @@ class InvokeQueuedClosure
/**
* Handle the event.
*
- * @param \Illuminate\Queue\SerializableClosure $closure
+ * @param \Laravel\SerializableClosure\SerializableClosure $closure
* @param array $arguments
* @return void
*/
@@ -19,7 +19,7 @@ class InvokeQueuedClosure
/**
* Handle a job failure.
*
- * @param \Illuminate\Queue\SerializableClosure $closure
+ * @param \Laravel\SerializableClosure\SerializableClosure $closure
* @param array $arguments
* @param array $catchCallbacks
* @param \Throwable $exception
diff --git a/vendor/illuminate/events/QueuedClosure.php b/vendor/illuminate/events/QueuedClosure.php
index 1d640959..82590598 100644
--- a/vendor/illuminate/events/QueuedClosure.php
+++ b/vendor/illuminate/events/QueuedClosure.php
@@ -3,7 +3,7 @@
namespace Illuminate\Events;
use Closure;
-use Illuminate\Queue\SerializableClosure;
+use Illuminate\Queue\SerializableClosureFactory;
class QueuedClosure
{
@@ -114,10 +114,10 @@ class QueuedClosure
{
return function (...$arguments) {
dispatch(new CallQueuedListener(InvokeQueuedClosure::class, 'handle', [
- 'closure' => new SerializableClosure($this->closure),
+ 'closure' => SerializableClosureFactory::make($this->closure),
'arguments' => $arguments,
'catch' => collect($this->catchCallbacks)->map(function ($callback) {
- return new SerializableClosure($callback);
+ return SerializableClosureFactory::make($callback);
})->all(),
]))->onConnection($this->connection)->onQueue($this->queue)->delay($this->delay);
};
diff --git a/vendor/illuminate/support/Facades/App.php b/vendor/illuminate/support/Facades/App.php
index d0004db8..0adb144d 100755
--- a/vendor/illuminate/support/Facades/App.php
+++ b/vendor/illuminate/support/Facades/App.php
@@ -11,6 +11,8 @@ namespace Illuminate\Support\Facades;
* @method static bool configurationIsCached()
* @method static bool hasBeenBootstrapped()
* @method static bool isDownForMaintenance()
+ * @method static bool isLocal()
+ * @method static bool isProduction()
* @method static bool routesAreCached()
* @method static bool runningInConsole()
* @method static bool runningUnitTests()
@@ -34,7 +36,7 @@ namespace Illuminate\Support\Facades;
* @method static string storagePath(string $path = '')
* @method static string version()
* @method static string|bool environment(string|array ...$environments)
- * @method static void abort(int $code, string $message = '', array $headers = [])
+ * @method static never abort(int $code, string $message = '', array $headers = [])
* @method static void boot()
* @method static void booted(callable $callback)
* @method static void booting(callable $callback)
diff --git a/vendor/illuminate/support/Facades/Bus.php b/vendor/illuminate/support/Facades/Bus.php
index 4be212e5..80006746 100644
--- a/vendor/illuminate/support/Facades/Bus.php
+++ b/vendor/illuminate/support/Facades/Bus.php
@@ -24,6 +24,7 @@ use Illuminate\Support\Testing\Fakes\BusFake;
* @method static void assertDispatchedAfterResponseTimes(string $command, int $times = 1)
* @method static void assertNotDispatchedAfterResponse(string|\Closure $command, callable $callback = null)
* @method static void assertBatched(callable $callback)
+ * @method static void assertChained(array $expectedChain)
*
* @see \Illuminate\Contracts\Bus\Dispatcher
*/
diff --git a/vendor/illuminate/support/Facades/DB.php b/vendor/illuminate/support/Facades/DB.php
index 997f790c..554dd220 100755
--- a/vendor/illuminate/support/Facades/DB.php
+++ b/vendor/illuminate/support/Facades/DB.php
@@ -28,6 +28,7 @@ namespace Illuminate\Support\Facades;
* @method static void enableQueryLog()
* @method static void disableQueryLog()
* @method static void flushQueryLog()
+ * @method static \Illuminate\Database\Connection beforeExecuting(\Closure $callback)
* @method static void listen(\Closure $callback)
* @method static void rollBack(int $toLevel = null)
* @method static void setDefaultConnection(string $name)
diff --git a/vendor/illuminate/support/Facades/Event.php b/vendor/illuminate/support/Facades/Event.php
index 41665381..cb4107fc 100755
--- a/vendor/illuminate/support/Facades/Event.php
+++ b/vendor/illuminate/support/Facades/Event.php
@@ -17,7 +17,7 @@ use Illuminate\Support\Testing\Fakes\EventFake;
* @method static void assertDispatchedTimes(string $event, int $times = 1)
* @method static void assertNotDispatched(string|\Closure $event, callable|int $callback = null)
* @method static void assertNothingDispatched()
- * @method static void assertListening(string $expectedEvent, string expectedListener)
+ * @method static void assertListening(string $expectedEvent, string $expectedListener)
* @method static void flush(string $event)
* @method static void forget(string $event)
* @method static void forgetPushed()
diff --git a/vendor/illuminate/support/Facades/Hash.php b/vendor/illuminate/support/Facades/Hash.php
index 2c71090e..b9855fdd 100755
--- a/vendor/illuminate/support/Facades/Hash.php
+++ b/vendor/illuminate/support/Facades/Hash.php
@@ -7,6 +7,7 @@ namespace Illuminate\Support\Facades;
* @method static bool check(string $value, string $hashedValue, array $options = [])
* @method static bool needsRehash(string $hashedValue, array $options = [])
* @method static string make(string $value, array $options = [])
+ * @method static \Illuminate\Hashing\HashManager extend($driver, \Closure $callback)
*
* @see \Illuminate\Hashing\HashManager
*/
diff --git a/vendor/illuminate/support/Facades/Queue.php b/vendor/illuminate/support/Facades/Queue.php
index 1947f88a..5af1329e 100755
--- a/vendor/illuminate/support/Facades/Queue.php
+++ b/vendor/illuminate/support/Facades/Queue.php
@@ -19,7 +19,7 @@ use Illuminate\Support\Testing\Fakes\QueueFake;
* @method static void assertNotPushed(string|\Closure $job, callable $callback = null)
* @method static void assertNothingPushed()
* @method static void assertPushed(string|\Closure $job, callable|int $callback = null)
- * @method static void assertPushedOn(string $queue, string|\Closure $job, callable|int $callback = null)
+ * @method static void assertPushedOn(string $queue, string|\Closure $job, callable $callback = null)
* @method static void assertPushedWithChain(string $job, array $expectedChain = [], callable $callback = null)
*
* @see \Illuminate\Queue\QueueManager
diff --git a/vendor/illuminate/support/ServiceProvider.php b/vendor/illuminate/support/ServiceProvider.php
index 1f361b1d..6c530c12 100755
--- a/vendor/illuminate/support/ServiceProvider.php
+++ b/vendor/illuminate/support/ServiceProvider.php
@@ -97,8 +97,12 @@ abstract class ServiceProvider
*/
public function callBootingCallbacks()
{
- foreach ($this->bootingCallbacks as $callback) {
- $this->app->call($callback);
+ $index = 0;
+
+ while ($index < count($this->bootingCallbacks)) {
+ $this->app->call($this->bootingCallbacks[$index]);
+
+ $index++;
}
}
@@ -109,8 +113,12 @@ abstract class ServiceProvider
*/
public function callBootedCallbacks()
{
- foreach ($this->bootedCallbacks as $callback) {
- $this->app->call($callback);
+ $index = 0;
+
+ while ($index < count($this->bootedCallbacks)) {
+ $this->app->call($this->bootedCallbacks[$index]);
+
+ $index++;
}
}
diff --git a/vendor/illuminate/support/Str.php b/vendor/illuminate/support/Str.php
index f1ab26d3..5b341c0d 100644
--- a/vendor/illuminate/support/Str.php
+++ b/vendor/illuminate/support/Str.php
@@ -253,11 +253,15 @@ class Str
{
$patterns = Arr::wrap($pattern);
+ $value = (string) $value;
+
if (empty($patterns)) {
return false;
}
foreach ($patterns as $pattern) {
+ $pattern = (string) $pattern;
+
// If the given value is an exact match we can of course return true right
// from the beginning. Otherwise, we will translate asterisks and do an
// actual pattern match against the two strings to see if they match.
@@ -394,6 +398,38 @@ class Str
return (string) $converter->convertToHtml($string);
}
+ /**
+ * Masks a portion of a string with a repeated character.
+ *
+ * @param string $string
+ * @param string $character
+ * @param int $index
+ * @param int|null $length
+ * @param string $encoding
+ * @return string
+ */
+ public static function mask($string, $character, $index, $length = null, $encoding = 'UTF-8')
+ {
+ if ($character === '') {
+ return $string;
+ }
+
+ if (is_null($length) && PHP_MAJOR_VERSION < 8) {
+ $length = mb_strlen($string, $encoding);
+ }
+
+ $segment = mb_substr($string, $index, $length, $encoding);
+
+ if ($segment === '') {
+ return $string;
+ }
+
+ $start = mb_substr($string, 0, mb_strpos($string, $segment, 0, $encoding), $encoding);
+ $end = mb_substr($string, mb_strpos($string, $segment, 0, $encoding) + mb_strlen($segment, $encoding));
+
+ return $start.str_repeat(mb_substr($character, 0, 1, $encoding), mb_strlen($segment, $encoding)).$end;
+ }
+
/**
* Get the string matching the given pattern.
*
@@ -675,6 +711,27 @@ class Str
return mb_convert_case($value, MB_CASE_TITLE, 'UTF-8');
}
+ /**
+ * Convert the given string to title case for each word.
+ *
+ * @param string $value
+ * @return string
+ */
+ public static function headline($value)
+ {
+ $parts = explode('_', static::replace(' ', '_', $value));
+
+ if (count($parts) > 1) {
+ $parts = array_map([static::class, 'title'], $parts);
+ }
+
+ $studly = static::studly(implode($parts));
+
+ $words = preg_split('/(?=[A-Z])/', $studly, -1, PREG_SPLIT_NO_EMPTY);
+
+ return implode(' ', $words);
+ }
+
/**
* Get the singular form of an English word.
*
diff --git a/vendor/illuminate/support/Stringable.php b/vendor/illuminate/support/Stringable.php
index 9fa57c52..a7d21b0e 100644
--- a/vendor/illuminate/support/Stringable.php
+++ b/vendor/illuminate/support/Stringable.php
@@ -342,6 +342,20 @@ class Stringable implements JsonSerializable
return new static(Str::markdown($this->value, $options));
}
+ /**
+ * Masks a portion of a string with a repeated character.
+ *
+ * @param string $character
+ * @param int $index
+ * @param int|null $length
+ * @param string $encoding
+ * @return static
+ */
+ public function mask($character, $index, $length = null, $encoding = 'UTF-8')
+ {
+ return new static(Str::mask($this->value, $character, $index, $length, $encoding));
+ }
+
/**
* Get the string matching the given pattern.
*
@@ -565,6 +579,17 @@ class Stringable implements JsonSerializable
return new static(Str::start($this->value, $prefix));
}
+ /**
+ * Strip HTML and PHP tags from the given string.
+ *
+ * @param string $allowedTags
+ * @return static
+ */
+ public function stripTags($allowedTags = null)
+ {
+ return new static(strip_tags($this->value, $allowedTags));
+ }
+
/**
* Convert the given string to upper-case.
*
@@ -585,6 +610,16 @@ class Stringable implements JsonSerializable
return new static(Str::title($this->value));
}
+ /**
+ * Convert the given string to title case for each word.
+ *
+ * @return static
+ */
+ public function headline()
+ {
+ return new static(Str::headline($this->value));
+ }
+
/**
* Get the singular form of an English word.
*
@@ -778,7 +813,7 @@ class Stringable implements JsonSerializable
/**
* Dump the string and end the script.
*
- * @return void
+ * @return never
*/
public function dd()
{
diff --git a/vendor/illuminate/support/Testing/Fakes/BusFake.php b/vendor/illuminate/support/Testing/Fakes/BusFake.php
index 46346c94..52a95306 100644
--- a/vendor/illuminate/support/Testing/Fakes/BusFake.php
+++ b/vendor/illuminate/support/Testing/Fakes/BusFake.php
@@ -135,6 +135,16 @@ class BusFake implements QueueingDispatcher
);
}
+ /**
+ * Assert that no jobs were dispatched.
+ *
+ * @return void
+ */
+ public function assertNothingDispatched()
+ {
+ PHPUnit::assertEmpty($this->commands, 'Jobs were dispatched unexpectedly.');
+ }
+
/**
* Assert if a job was explicitly dispatched synchronously based on a truth-test callback.
*
diff --git a/vendor/illuminate/support/Testing/Fakes/NotificationFake.php b/vendor/illuminate/support/Testing/Fakes/NotificationFake.php
index 28526d59..214f99b9 100644
--- a/vendor/illuminate/support/Testing/Fakes/NotificationFake.php
+++ b/vendor/illuminate/support/Testing/Fakes/NotificationFake.php
@@ -7,6 +7,7 @@ use Exception;
use Illuminate\Contracts\Notifications\Dispatcher as NotificationDispatcher;
use Illuminate\Contracts\Notifications\Factory as NotificationFactory;
use Illuminate\Contracts\Translation\HasLocalePreference;
+use Illuminate\Notifications\AnonymousNotifiable;
use Illuminate\Support\Collection;
use Illuminate\Support\Str;
use Illuminate\Support\Traits\Macroable;
@@ -31,6 +32,20 @@ class NotificationFake implements NotificationDispatcher, NotificationFactory
*/
public $locale;
+ /**
+ * Assert if a notification was sent on-demand based on a truth-test callback.
+ *
+ * @param string|\Closure $notification
+ * @param callable|null $callback
+ * @return void
+ *
+ * @throws \Exception
+ */
+ public function assertSentOnDemand($notification, $callback = null)
+ {
+ $this->assertSentTo(new AnonymousNotifiable, $notification, $callback);
+ }
+
/**
* Assert if a notification was sent based on a truth-test callback.
*
@@ -69,6 +84,18 @@ class NotificationFake implements NotificationDispatcher, NotificationFactory
);
}
+ /**
+ * Assert if a notification was sent on-demand a number of times.
+ *
+ * @param string $notification
+ * @param int $times
+ * @return void
+ */
+ public function assertSentOnDemandTimes($notification, $times = 1)
+ {
+ return $this->assertSentToTimes(new AnonymousNotifiable, $notification, $times);
+ }
+
/**
* Assert if a notification was sent a number of times.
*
@@ -232,9 +259,24 @@ class NotificationFake implements NotificationDispatcher, NotificationFactory
$notification->id = Str::uuid()->toString();
}
+ $notifiableChannels = $channels ?: $notification->via($notifiable);
+
+ if (method_exists($notification, 'shouldSend')) {
+ $notifiableChannels = array_filter(
+ $notifiableChannels,
+ function ($channel) use ($notification, $notifiable) {
+ return $notification->shouldSend($notifiable, $channel) !== false;
+ }
+ );
+
+ if (empty($notifiableChannels)) {
+ continue;
+ }
+ }
+
$this->notifications[get_class($notifiable)][$notifiable->getKey()][get_class($notification)][] = [
'notification' => $notification,
- 'channels' => $channels ?: $notification->via($notifiable),
+ 'channels' => $notifiableChannels,
'notifiable' => $notifiable,
'locale' => $notification->locale ?? $this->locale ?? value(function () use ($notifiable) {
if ($notifiable instanceof HasLocalePreference) {
diff --git a/vendor/illuminate/support/composer.json b/vendor/illuminate/support/composer.json
index 4493dac3..15dfe4a6 100644
--- a/vendor/illuminate/support/composer.json
+++ b/vendor/illuminate/support/composer.json
@@ -21,7 +21,7 @@
"illuminate/collections": "^8.0",
"illuminate/contracts": "^8.0",
"illuminate/macroable": "^8.0",
- "nesbot/carbon": "^2.31",
+ "nesbot/carbon": "^2.53.1",
"voku/portable-ascii": "^1.4.8"
},
"conflict": {
@@ -42,8 +42,8 @@
},
"suggest": {
"illuminate/filesystem": "Required to use the composer class (^8.0).",
- "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0).",
- "ramsey/uuid": "Required to use Str::uuid() (^4.0).",
+ "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0.2).",
+ "ramsey/uuid": "Required to use Str::uuid() (^4.2.2).",
"symfony/process": "Required to use the composer class (^5.1.4).",
"symfony/var-dumper": "Required to use the dd function (^5.1.4).",
"vlucas/phpdotenv": "Required to use the Env class and env helper (^5.2)."
diff --git a/vendor/nesbot/carbon/bin/carbon b/vendor/nesbot/carbon/bin/carbon
index fdcbb5c2..b53ab738 100755
--- a/vendor/nesbot/carbon/bin/carbon
+++ b/vendor/nesbot/carbon/bin/carbon
@@ -1,6 +1,8 @@
#!/usr/bin/env php
format() do (using date replacements patterns from https://php.net/manual/en/function.date.php)
@@ -5012,8 +5026,8 @@ interface CarbonInterface extends DateTimeInterface, JsonSerializable
*
* /!\ Use this method for unit tests only.
*
- * @param Closure|static|string|false|null $testNow real or mock Carbon instance
- * @param Closure|null $callback
+ * @param Closure|static|string|false|null $testNow real or mock Carbon instance
+ * @param Closure|null $callback
*
* @return mixed
*/
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php b/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
index 76c162d5..09051a2e 100644
--- a/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon;
use Carbon\Exceptions\BadFluentConstructorException;
@@ -191,14 +192,14 @@ class CarbonInterval extends DateInterval implements CarbonConverterInterface
/**
* Interval spec period designators
*/
- const PERIOD_PREFIX = 'P';
- const PERIOD_YEARS = 'Y';
- const PERIOD_MONTHS = 'M';
- const PERIOD_DAYS = 'D';
- const PERIOD_TIME_PREFIX = 'T';
- const PERIOD_HOURS = 'H';
- const PERIOD_MINUTES = 'M';
- const PERIOD_SECONDS = 'S';
+ public const PERIOD_PREFIX = 'P';
+ public const PERIOD_YEARS = 'Y';
+ public const PERIOD_MONTHS = 'M';
+ public const PERIOD_DAYS = 'D';
+ public const PERIOD_TIME_PREFIX = 'T';
+ public const PERIOD_HOURS = 'H';
+ public const PERIOD_MINUTES = 'M';
+ public const PERIOD_SECONDS = 'S';
/**
* A translator to ... er ... translate stuff
@@ -522,10 +523,10 @@ class CarbonInterval extends DateInterval implements CarbonConverterInterface
* echo Carboninterval::createFromFormat('H:i', '1:30');
* ```
*
- * @param string $format Format of the $interval input string
- * @param string $interval Input string to convert into an interval
+ * @param string $format Format of the $interval input string
+ * @param string|null $interval Input string to convert into an interval
*
- * @throws Exception when the $interval cannot be parsed as an interval.
+ * @throws \Carbon\Exceptions\ParseErrorException when the $interval cannot be parsed as an interval.
*
* @return static
*/
@@ -1905,8 +1906,8 @@ class CarbonInterval extends DateInterval implements CarbonConverterInterface
/**
* Add given parameters to the current interval.
*
- * @param int $years
- * @param int $months
+ * @param int $years
+ * @param int $months
* @param int|float $weeks
* @param int|float $days
* @param int|float $hours
@@ -1935,8 +1936,8 @@ class CarbonInterval extends DateInterval implements CarbonConverterInterface
/**
* Add given parameters to the current interval.
*
- * @param int $years
- * @param int $months
+ * @param int $years
+ * @param int $months
* @param int|float $weeks
* @param int|float $days
* @param int|float $hours
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php b/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
index 01cbf7ab..197f3709 100644
--- a/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon;
use Carbon\Exceptions\InvalidCastException;
@@ -1626,14 +1627,14 @@ class CarbonPeriod implements Iterator, Countable, JsonSerializable
return $this->setStartDate($first, $second);
case 'sinceNow':
- return $this->setStartDate(new Carbon, $first);
+ return $this->setStartDate(new Carbon(), $first);
case 'end':
case 'until':
return $this->setEndDate($first, $second);
case 'untilNow':
- return $this->setEndDate(new Carbon, $first);
+ return $this->setEndDate(new Carbon(), $first);
case 'dates':
case 'between':
diff --git a/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php b/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
index 2bd36c43..b4d16ba9 100644
--- a/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
+++ b/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
@@ -8,12 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon;
use Carbon\Exceptions\InvalidCastException;
use Carbon\Exceptions\InvalidTimeZoneException;
use DateTimeInterface;
use DateTimeZone;
+use Throwable;
class CarbonTimeZone extends DateTimeZone
{
@@ -198,7 +200,7 @@ class CarbonTimeZone extends DateTimeZone
// @codeCoverageIgnoreStart
try {
$offset = @$this->getOffset($date) ?: 0;
- } catch (\Throwable $e) {
+ } catch (Throwable $e) {
$offset = 0;
}
// @codeCoverageIgnoreEnd
diff --git a/vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php b/vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
index d53b1f49..4f35d6c6 100644
--- a/vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
+++ b/vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Carbon\Cli;
class Invoker
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php
index 35c5558a..ccc457fc 100644
--- a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonDoctrineType.php
@@ -1,9 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
*/
+
namespace Carbon\Doctrine;
use Doctrine\DBAL\Platforms\AbstractPlatform;
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php
index 32397434..bf476a77 100644
--- a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonImmutableType.php
@@ -1,9 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
*/
+
namespace Carbon\Doctrine;
use Doctrine\DBAL\Platforms\AbstractPlatform;
@@ -12,6 +17,8 @@ class CarbonImmutableType extends DateTimeImmutableType implements CarbonDoctrin
{
/**
* {@inheritdoc}
+ *
+ * @return string
*/
public function getName()
{
@@ -20,6 +27,8 @@ class CarbonImmutableType extends DateTimeImmutableType implements CarbonDoctrin
/**
* {@inheritdoc}
+ *
+ * @return bool
*/
public function requiresSQLCommentHint(AbstractPlatform $platform)
{
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
index e5f52c7d..9289d84d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
@@ -1,9 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
*/
+
namespace Carbon\Doctrine;
use Doctrine\DBAL\Platforms\AbstractPlatform;
@@ -12,6 +17,8 @@ class CarbonType extends DateTimeType implements CarbonDoctrineType
{
/**
* {@inheritdoc}
+ *
+ * @return string
*/
public function getName()
{
@@ -20,6 +27,8 @@ class CarbonType extends DateTimeType implements CarbonDoctrineType
/**
* {@inheritdoc}
+ *
+ * @return bool
*/
public function requiresSQLCommentHint(AbstractPlatform $platform)
{
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php
index fa0d5b00..8f2fdee8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonTypeConverter.php
@@ -1,9 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
*/
+
namespace Carbon\Doctrine;
use Carbon\Carbon;
@@ -26,6 +31,9 @@ trait CarbonTypeConverter
return Carbon::class;
}
+ /**
+ * @return string
+ */
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
{
$precision = ($fieldDeclaration['precision'] ?: 10) === 10
diff --git a/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
index f9744b81..642fd413 100644
--- a/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
+++ b/vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
@@ -1,9 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
*/
+
namespace Carbon\Doctrine;
class DateTimeDefaultPrecision
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php
index bc2aa797..b3a08719 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadComparisonUnitException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php
index a9f453eb..d5cd5564 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentConstructorException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use BadMethodCallException as BaseBadMethodCallException;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php
index 7a28f39c..1d7ec542 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadFluentSetterException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use BadMethodCallException as BaseBadMethodCallException;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php
index 307a4ee1..73c2dd86 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/BadMethodCallException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
interface BadMethodCallException extends Exception
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php
index 86e8a15e..3bbbd77d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/Exception.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
interface Exception
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php
index 5fb1c681..a48d4f93 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/ImmutableException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php
index 60ed740d..9739f4d1 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidArgumentException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
interface InvalidArgumentException extends Exception
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php
index 77466c7d..d2f37019 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidCastException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
index f5dbfe2f..99bb91c0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php
index dd26a901..3341b49d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidFormatException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php
index b4c76dc8..5f9f142e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidIntervalException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php
index abe1aef3..a37e3f5e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodDateException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php
index b061ef16..ede47712 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidPeriodParameterException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php
index 03bd8ac4..892e16e8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTimeZoneException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php
index bc124a65..3fbe3fc4 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidTypeException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php
index 78ce9392..2b4c48e3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotACarbonClassException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Carbon\CarbonInterface;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
index 8bdda85b..41bb6290 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
index 8aab1925..adbc36cd 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php
index 33cd1b52..54822d95 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/OutOfRangeException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
index 3510b409..0314c5d8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php
index 6ca5f5f5..24bf5a68 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/RuntimeException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
interface RuntimeException extends Exception
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php
index 838847ba..8bd8653e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php
index 7f8ec9eb..39ee12c5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnitNotConfiguredException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php
index 4591d35b..6c8c01b6 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownGetterException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php
index 36468724..901db986 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownMethodException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use BadMethodCallException as BaseBadMethodCallException;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php
index 5020369a..c9e9c9ff 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownSetterException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php
index d2f76eee..d965c82a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php
index b38ae12d..6f8b39f5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php
+++ b/vendor/nesbot/carbon/src/Carbon/Exceptions/UnreachableException.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Exceptions;
use Exception;
diff --git a/vendor/nesbot/carbon/src/Carbon/Factory.php b/vendor/nesbot/carbon/src/Carbon/Factory.php
index a614043f..3b2a5170 100644
--- a/vendor/nesbot/carbon/src/Carbon/Factory.php
+++ b/vendor/nesbot/carbon/src/Carbon/Factory.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon;
use Closure;
@@ -19,208 +20,208 @@ use ReflectionMethod;
*
*
*
- * @method bool canBeCreatedFromFormat($date, $format) Checks if the (date)time string is in a given format and valid to create a
- * new instance.
- * @method Carbon|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
- * If any of $year, $month or $day are set to null their now() values will
- * be used.
- * If $hour is null it will be set to its now() value and the default
- * values for $minute and $second will be their now() values.
- * If $hour is not null then the default values for $minute and $second
- * will be 0.
- * @method Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
- * @method Carbon|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
- * @method Carbon|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
- * @method Carbon|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
- * @method Carbon|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
- * @method Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
- * @method Carbon createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
- * @method Carbon createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method Carbon createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method Carbon createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method Carbon createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
- * @method Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
- * If any of $year, $month or $day are set to null their now() values will
- * be used.
- * If $hour is null it will be set to its now() value and the default
- * values for $minute and $second will be their now() values.
- * If $hour is not null then the default values for $minute and $second
- * will be 0.
- * If one of the set values is not valid, an InvalidDateException
- * will be thrown.
- * @method CarbonInterface createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null) Create a new Carbon instance from a specific date and time using strict validation.
- * @method Carbon disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method Carbon enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
- * then return the result of the closure (or null if the closure was void).
- * @method Carbon fromSerialized($value) Create an instance from a serialized string.
- * @method void genericMacro($macro, $priority = 0) Register a custom macro.
- * @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
- * (It will ignore custom translator dynamic loading.)
- * @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
- * name, region and variant of the locale.
- * @method array getDays() Get the days of the week
- * @method string|null getFallbackLocale() Get the fallback locale.
- * @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
- * @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
- * @method array getIsoUnits() Returns list of locale units for ISO formatting.
- * @method Carbon getLastErrors() {@inheritdoc}
- * @method string getLocale() Get the current translator locale.
- * @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
- * @method int getMidDayAt() get midday/noon hour
- * @method Closure|Carbon getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
- * instance is created.
- * @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
- * @method string getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) Returns raw translation message for a given key.
- * @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
- * @method int getWeekEndsAt() Get the last day of week
- * @method int getWeekStartsAt() Get the first day of week
- * @method array getWeekendDays() Get weekend days
- * @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
- * @method bool hasFormatWithModifiers($date, $format) Checks if the (date)time string is in a given format.
- * @method bool hasMacro($name) Checks if macro is registered globally.
- * @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
- * @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
- * is anything that is not null.
- * @method Carbon instance($date) Create a Carbon instance from a DateTime one.
- * @method bool isImmutable() Returns true if the current class/instance is immutable.
- * @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
- * @method bool isMutable() Returns true if the current class/instance is mutable.
- * @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
- * (It can be overridden in specific instances.)
- * @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
- * Support is considered enabled if the 3 words are translated in the given locale.
- * @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
- * Support is considered enabled if the 4 sentences are translated in the given locale.
- * @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
- * Support is considered enabled if the 2 words are translated in the given locale.
- * @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
- * Support is considered enabled if the 4 sentences are translated in the given locale.
- * @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
- * Support is considered enabled if either year, day or hour has a short variant translated.
- * @method void macro($name, $macro) Register a custom macro.
- * @method Carbon|null make($var) Make a Carbon instance from given variable if possible.
- * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
- * and recurrences). Throw an exception for invalid format, but otherwise return null.
- * @method Carbon maxValue() Create a Carbon instance for the greatest supported date.
- * @method Carbon minValue() Create a Carbon instance for the lowest supported date.
- * @method void mixin($mixin) Mix another object into the class.
- * @method Carbon now($tz = null) Get a Carbon instance for the current date and time.
- * @method Carbon parse($time = null, $tz = null) Create a carbon instance from a string.
- * This is an alias for the constructor that allows better fluent syntax
- * as it allows you to do Carbon::parse('Monday next week')->fn() rather
- * than (new Carbon('Monday next week'))->fn().
- * @method Carbon parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
- * @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
- * @method Carbon|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
- * @method Carbon rawParse($time = null, $tz = null) Create a carbon instance from a string.
- * This is an alias for the constructor that allows better fluent syntax
- * as it allows you to do Carbon::parse('Monday next week')->fn() rather
- * than (new Carbon('Monday next week'))->fn().
- * @method Carbon resetMacros() Remove all macros and generic macros.
- * @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
- * @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather transform Carbon object before the serialization.
- * JSON serialize all Carbon instances using the given callback.
- * @method Carbon setFallbackLocale($locale) Set the fallback locale.
- * @method Carbon setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
- * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
- * @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
- * hour, test it explicitly:
- * $date->format('G') == 13
- * or to set explicitly to a given hour:
- * $date->setTime(13, 0, 0, 0)
- * Set midday/noon hour
- * @method Carbon setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
- * instance is created. The provided instance will be returned
- * specifically under the following conditions:
- * - A call to the static now() method, ex. Carbon::now()
- * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
- * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
- * - When a string containing the desired time is passed to Carbon::parse().
- * Note the timezone parameter was left out of the examples above and
- * has no affect as the mock value will be returned regardless of its value.
- * To clear the test instance call this method using the default
- * parameter of null.
- * /!\ Use this method for unit tests only.
- * @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather let Carbon object being casted to string with DEFAULT_TO_STRING_FORMAT, and
- * use other method or custom format passed to format() method if you need to dump an other string
- * format.
- * Set the default format used when type juggling a Carbon instance to a string
- * @method void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) Set the default translator instance to use.
- * @method Carbon setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use UTF-8 language packages on every machine.
- * Set if UTF8 will be used for localized date/time.
- * @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
- * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
- * start of week according to current locale selected and implicitly the end of week.
- * Set the last day of week
- * @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
- * 'first_day_of_week' locale setting to change the start of week according to current locale
- * selected and implicitly the end of week.
- * Set the first day of week
- * @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather consider week-end is always saturday and sunday, and if you have some custom
- * week-end days to handle, give to those days an other name and create a macro for them:
- * ```
- * Carbon::macro('isDayOff', function ($date) {
- * return $date->isSunday() || $date->isMonday();
- * });
- * Carbon::macro('isNotDayOff', function ($date) {
- * return !$date->isDayOff();
- * });
- * if ($someDate->isDayOff()) ...
- * if ($someDate->isNotDayOff()) ...
- * // Add 5 not-off days
- * $count = 5;
- * while ($someDate->isDayOff() || ($count-- > 0)) {
- * $someDate->addDay();
- * }
- * ```
- * Set weekend days
- * @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
- * @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
- * @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
- * @method Carbon today($tz = null) Create a Carbon instance for today.
- * @method Carbon tomorrow($tz = null) Create a Carbon instance for tomorrow.
- * @method string translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL) Translate a time string from a locale to an other.
- * @method string translateWith(\Symfony\Component\Translation\TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
- * @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method Carbon useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method mixed withTestNow($testNow = null, $callback = null) Temporarily sets a static date to be used within the callback.
- * Using setTestNow to set the date, executing the callback, then
- * clearing the test instance.
- * /!\ Use this method for unit tests only.
- * @method Carbon yesterday($tz = null) Create a Carbon instance for yesterday.
+ * @method bool canBeCreatedFromFormat($date, $format) Checks if the (date)time string is in a given format and valid to create a
+ * new instance.
+ * @method Carbon|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * @method Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
+ * @method Carbon|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method Carbon|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
+ * @method Carbon|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
+ * @method Carbon|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
+ * @method Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
+ * @method Carbon createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
+ * @method Carbon createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
+ * @method Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * If one of the set values is not valid, an InvalidDateException
+ * will be thrown.
+ * @method CarbonInterface createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null) Create a new Carbon instance from a specific date and time using strict validation.
+ * @method Carbon disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method Carbon enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
+ * then return the result of the closure (or null if the closure was void).
+ * @method Carbon fromSerialized($value) Create an instance from a serialized string.
+ * @method void genericMacro($macro, $priority = 0) Register a custom macro.
+ * @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
+ * (It will ignore custom translator dynamic loading.)
+ * @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
+ * name, region and variant of the locale.
+ * @method array getDays() Get the days of the week
+ * @method string|null getFallbackLocale() Get the fallback locale.
+ * @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
+ * @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
+ * @method array getIsoUnits() Returns list of locale units for ISO formatting.
+ * @method array getLastErrors() {@inheritdoc}
+ * @method string getLocale() Get the current translator locale.
+ * @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
+ * @method int getMidDayAt() get midday/noon hour
+ * @method Closure|Carbon getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
+ * instance is created.
+ * @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
+ * @method string getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) Returns raw translation message for a given key.
+ * @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
+ * @method int getWeekEndsAt() Get the last day of week
+ * @method int getWeekStartsAt() Get the first day of week
+ * @method array getWeekendDays() Get weekend days
+ * @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasFormatWithModifiers($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasMacro($name) Checks if macro is registered globally.
+ * @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
+ * @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
+ * is anything that is not null.
+ * @method Carbon instance($date) Create a Carbon instance from a DateTime one.
+ * @method bool isImmutable() Returns true if the current class/instance is immutable.
+ * @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
+ * @method bool isMutable() Returns true if the current class/instance is mutable.
+ * @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
+ * (It can be overridden in specific instances.)
+ * @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
+ * Support is considered enabled if the 3 words are translated in the given locale.
+ * @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
+ * Support is considered enabled if the 2 words are translated in the given locale.
+ * @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
+ * Support is considered enabled if either year, day or hour has a short variant translated.
+ * @method void macro($name, $macro) Register a custom macro.
+ * @method Carbon|null make($var) Make a Carbon instance from given variable if possible.
+ * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
+ * and recurrences). Throw an exception for invalid format, but otherwise return null.
+ * @method Carbon maxValue() Create a Carbon instance for the greatest supported date.
+ * @method Carbon minValue() Create a Carbon instance for the lowest supported date.
+ * @method void mixin($mixin) Mix another object into the class.
+ * @method Carbon now($tz = null) Get a Carbon instance for the current date and time.
+ * @method Carbon parse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method Carbon parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
+ * @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
+ * @method Carbon|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method Carbon rawParse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method Carbon resetMacros() Remove all macros and generic macros.
+ * @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
+ * @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather transform Carbon object before the serialization.
+ * JSON serialize all Carbon instances using the given callback.
+ * @method Carbon setFallbackLocale($locale) Set the fallback locale.
+ * @method Carbon setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
+ * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
+ * @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
+ * hour, test it explicitly:
+ * $date->format('G') == 13
+ * or to set explicitly to a given hour:
+ * $date->setTime(13, 0, 0, 0)
+ * Set midday/noon hour
+ * @method Carbon setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ * Note the timezone parameter was left out of the examples above and
+ * has no affect as the mock value will be returned regardless of its value.
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ * /!\ Use this method for unit tests only.
+ * @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather let Carbon object being casted to string with DEFAULT_TO_STRING_FORMAT, and
+ * use other method or custom format passed to format() method if you need to dump an other string
+ * format.
+ * Set the default format used when type juggling a Carbon instance to a string
+ * @method void setTranslator(TranslatorInterface $translator) Set the default translator instance to use.
+ * @method Carbon setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use UTF-8 language packages on every machine.
+ * Set if UTF8 will be used for localized date/time.
+ * @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
+ * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
+ * start of week according to current locale selected and implicitly the end of week.
+ * Set the last day of week
+ * @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
+ * 'first_day_of_week' locale setting to change the start of week according to current locale
+ * selected and implicitly the end of week.
+ * Set the first day of week
+ * @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider week-end is always saturday and sunday, and if you have some custom
+ * week-end days to handle, give to those days an other name and create a macro for them:
+ * ```
+ * Carbon::macro('isDayOff', function ($date) {
+ * return $date->isSunday() || $date->isMonday();
+ * });
+ * Carbon::macro('isNotDayOff', function ($date) {
+ * return !$date->isDayOff();
+ * });
+ * if ($someDate->isDayOff()) ...
+ * if ($someDate->isNotDayOff()) ...
+ * // Add 5 not-off days
+ * $count = 5;
+ * while ($someDate->isDayOff() || ($count-- > 0)) {
+ * $someDate->addDay();
+ * }
+ * ```
+ * Set weekend days
+ * @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
+ * @method Carbon today($tz = null) Create a Carbon instance for today.
+ * @method Carbon tomorrow($tz = null) Create a Carbon instance for tomorrow.
+ * @method string translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL) Translate a time string from a locale to an other.
+ * @method string translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
+ * @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method Carbon useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method mixed withTestNow($testNow = null, $callback = null) Temporarily sets a static date to be used within the callback.
+ * Using setTestNow to set the date, executing the callback, then
+ * clearing the test instance.
+ * /!\ Use this method for unit tests only.
+ * @method Carbon yesterday($tz = null) Create a Carbon instance for yesterday.
*
*
*/
diff --git a/vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php b/vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
index 3aa286c0..d4ee0304 100644
--- a/vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
+++ b/vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon;
use Closure;
@@ -17,208 +18,208 @@ use Closure;
*
*
*
- * @method bool canBeCreatedFromFormat($date, $format) Checks if the (date)time string is in a given format and valid to create a
- * new instance.
- * @method CarbonImmutable|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
- * If any of $year, $month or $day are set to null their now() values will
- * be used.
- * If $hour is null it will be set to its now() value and the default
- * values for $minute and $second will be their now() values.
- * If $hour is not null then the default values for $minute and $second
- * will be 0.
- * @method CarbonImmutable createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
- * @method CarbonImmutable|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
- * @method CarbonImmutable|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
- * @method CarbonImmutable|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
- * @method CarbonImmutable|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
- * @method CarbonImmutable createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
- * @method CarbonImmutable createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
- * @method CarbonImmutable createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method CarbonImmutable createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method CarbonImmutable createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method CarbonImmutable createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
- * Timestamp input can be given as int, float or a string containing one or more numbers.
- * @method CarbonImmutable createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
- * @method CarbonImmutable|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
- * If any of $year, $month or $day are set to null their now() values will
- * be used.
- * If $hour is null it will be set to its now() value and the default
- * values for $minute and $second will be their now() values.
- * If $hour is not null then the default values for $minute and $second
- * will be 0.
- * If one of the set values is not valid, an InvalidDateException
- * will be thrown.
- * @method CarbonInterface createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null) Create a new Carbon instance from a specific date and time using strict validation.
- * @method CarbonImmutable disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method CarbonImmutable enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
- * then return the result of the closure (or null if the closure was void).
- * @method CarbonImmutable fromSerialized($value) Create an instance from a serialized string.
- * @method void genericMacro($macro, $priority = 0) Register a custom macro.
- * @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
- * (It will ignore custom translator dynamic loading.)
- * @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
- * name, region and variant of the locale.
- * @method array getDays() Get the days of the week
- * @method string|null getFallbackLocale() Get the fallback locale.
- * @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
- * @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
- * @method array getIsoUnits() Returns list of locale units for ISO formatting.
- * @method CarbonImmutable getLastErrors() {@inheritdoc}
- * @method string getLocale() Get the current translator locale.
- * @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
- * @method int getMidDayAt() get midday/noon hour
- * @method Closure|CarbonImmutable getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
- * instance is created.
- * @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
- * @method string getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) Returns raw translation message for a given key.
- * @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
- * @method int getWeekEndsAt() Get the last day of week
- * @method int getWeekStartsAt() Get the first day of week
- * @method array getWeekendDays() Get weekend days
- * @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
- * @method bool hasFormatWithModifiers($date, $format) Checks if the (date)time string is in a given format.
- * @method bool hasMacro($name) Checks if macro is registered globally.
- * @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
- * @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
- * is anything that is not null.
- * @method CarbonImmutable instance($date) Create a Carbon instance from a DateTime one.
- * @method bool isImmutable() Returns true if the current class/instance is immutable.
- * @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
- * @method bool isMutable() Returns true if the current class/instance is mutable.
- * @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
- * (It can be overridden in specific instances.)
- * @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
- * Support is considered enabled if the 3 words are translated in the given locale.
- * @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
- * Support is considered enabled if the 4 sentences are translated in the given locale.
- * @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
- * Support is considered enabled if the 2 words are translated in the given locale.
- * @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
- * Support is considered enabled if the 4 sentences are translated in the given locale.
- * @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
- * Support is considered enabled if either year, day or hour has a short variant translated.
- * @method void macro($name, $macro) Register a custom macro.
- * @method CarbonImmutable|null make($var) Make a Carbon instance from given variable if possible.
- * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
- * and recurrences). Throw an exception for invalid format, but otherwise return null.
- * @method CarbonImmutable maxValue() Create a Carbon instance for the greatest supported date.
- * @method CarbonImmutable minValue() Create a Carbon instance for the lowest supported date.
- * @method void mixin($mixin) Mix another object into the class.
- * @method CarbonImmutable now($tz = null) Get a Carbon instance for the current date and time.
- * @method CarbonImmutable parse($time = null, $tz = null) Create a carbon instance from a string.
- * This is an alias for the constructor that allows better fluent syntax
- * as it allows you to do Carbon::parse('Monday next week')->fn() rather
- * than (new Carbon('Monday next week'))->fn().
- * @method CarbonImmutable parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
- * @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
- * @method CarbonImmutable|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
- * @method CarbonImmutable rawParse($time = null, $tz = null) Create a carbon instance from a string.
- * This is an alias for the constructor that allows better fluent syntax
- * as it allows you to do Carbon::parse('Monday next week')->fn() rather
- * than (new Carbon('Monday next week'))->fn().
- * @method CarbonImmutable resetMacros() Remove all macros and generic macros.
- * @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
- * @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather transform Carbon object before the serialization.
- * JSON serialize all Carbon instances using the given callback.
- * @method CarbonImmutable setFallbackLocale($locale) Set the fallback locale.
- * @method CarbonImmutable setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
- * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
- * @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
- * hour, test it explicitly:
- * $date->format('G') == 13
- * or to set explicitly to a given hour:
- * $date->setTime(13, 0, 0, 0)
- * Set midday/noon hour
- * @method CarbonImmutable setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
- * instance is created. The provided instance will be returned
- * specifically under the following conditions:
- * - A call to the static now() method, ex. Carbon::now()
- * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
- * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
- * - When a string containing the desired time is passed to Carbon::parse().
- * Note the timezone parameter was left out of the examples above and
- * has no affect as the mock value will be returned regardless of its value.
- * To clear the test instance call this method using the default
- * parameter of null.
- * /!\ Use this method for unit tests only.
- * @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather let Carbon object being casted to string with DEFAULT_TO_STRING_FORMAT, and
- * use other method or custom format passed to format() method if you need to dump an other string
- * format.
- * Set the default format used when type juggling a Carbon instance to a string
- * @method void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) Set the default translator instance to use.
- * @method CarbonImmutable setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use UTF-8 language packages on every machine.
- * Set if UTF8 will be used for localized date/time.
- * @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
- * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
- * start of week according to current locale selected and implicitly the end of week.
- * Set the last day of week
- * @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
- * 'first_day_of_week' locale setting to change the start of week according to current locale
- * selected and implicitly the end of week.
- * Set the first day of week
- * @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather consider week-end is always saturday and sunday, and if you have some custom
- * week-end days to handle, give to those days an other name and create a macro for them:
- * ```
- * Carbon::macro('isDayOff', function ($date) {
- * return $date->isSunday() || $date->isMonday();
- * });
- * Carbon::macro('isNotDayOff', function ($date) {
- * return !$date->isDayOff();
- * });
- * if ($someDate->isDayOff()) ...
- * if ($someDate->isNotDayOff()) ...
- * // Add 5 not-off days
- * $count = 5;
- * while ($someDate->isDayOff() || ($count-- > 0)) {
- * $someDate->addDay();
- * }
- * ```
- * Set weekend days
- * @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
- * @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
- * @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
- * @method CarbonImmutable today($tz = null) Create a Carbon instance for today.
- * @method CarbonImmutable tomorrow($tz = null) Create a Carbon instance for tomorrow.
- * @method string translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL) Translate a time string from a locale to an other.
- * @method string translateWith(\Symfony\Component\Translation\TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
- * @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method CarbonImmutable useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
- * You should rather use the ->settings() method.
- * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
- * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
- * @method mixed withTestNow($testNow = null, $callback = null) Temporarily sets a static date to be used within the callback.
- * Using setTestNow to set the date, executing the callback, then
- * clearing the test instance.
- * /!\ Use this method for unit tests only.
- * @method CarbonImmutable yesterday($tz = null) Create a Carbon instance for yesterday.
+ * @method bool canBeCreatedFromFormat($date, $format) Checks if the (date)time string is in a given format and valid to create a
+ * new instance.
+ * @method CarbonImmutable|false create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * @method CarbonImmutable createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
+ * @method CarbonImmutable|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method CarbonImmutable|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
+ * @method CarbonImmutable|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
+ * @method CarbonImmutable|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
+ * @method CarbonImmutable createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
+ * @method CarbonImmutable createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
+ * @method CarbonImmutable createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp and set the timezone (use default one if not specified).
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createFromTimestampMsUTC($timestamp) Create a Carbon instance from a timestamp in milliseconds.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createFromTimestampUTC($timestamp) Create a Carbon instance from an timestamp keeping the timezone to UTC.
+ * Timestamp input can be given as int, float or a string containing one or more numbers.
+ * @method CarbonImmutable createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
+ * @method CarbonImmutable|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
+ * If any of $year, $month or $day are set to null their now() values will
+ * be used.
+ * If $hour is null it will be set to its now() value and the default
+ * values for $minute and $second will be their now() values.
+ * If $hour is not null then the default values for $minute and $second
+ * will be 0.
+ * If one of the set values is not valid, an InvalidDateException
+ * will be thrown.
+ * @method CarbonInterface createStrict(?int $year = 0, ?int $month = 1, ?int $day = 1, ?int $hour = 0, ?int $minute = 0, ?int $second = 0, $tz = null) Create a new Carbon instance from a specific date and time using strict validation.
+ * @method CarbonImmutable disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method CarbonImmutable enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
+ * then return the result of the closure (or null if the closure was void).
+ * @method CarbonImmutable fromSerialized($value) Create an instance from a serialized string.
+ * @method void genericMacro($macro, $priority = 0) Register a custom macro.
+ * @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
+ * (It will ignore custom translator dynamic loading.)
+ * @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
+ * name, region and variant of the locale.
+ * @method array getDays() Get the days of the week
+ * @method string|null getFallbackLocale() Get the fallback locale.
+ * @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
+ * @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
+ * @method array getIsoUnits() Returns list of locale units for ISO formatting.
+ * @method array getLastErrors() {@inheritdoc}
+ * @method string getLocale() Get the current translator locale.
+ * @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
+ * @method int getMidDayAt() get midday/noon hour
+ * @method Closure|CarbonImmutable getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
+ * instance is created.
+ * @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
+ * @method string getTranslationMessageWith($translator, string $key, ?string $locale = null, ?string $default = null) Returns raw translation message for a given key.
+ * @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
+ * @method int getWeekEndsAt() Get the last day of week
+ * @method int getWeekStartsAt() Get the first day of week
+ * @method array getWeekendDays() Get weekend days
+ * @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasFormatWithModifiers($date, $format) Checks if the (date)time string is in a given format.
+ * @method bool hasMacro($name) Checks if macro is registered globally.
+ * @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
+ * @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
+ * is anything that is not null.
+ * @method CarbonImmutable instance($date) Create a Carbon instance from a DateTime one.
+ * @method bool isImmutable() Returns true if the current class/instance is immutable.
+ * @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
+ * @method bool isMutable() Returns true if the current class/instance is mutable.
+ * @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
+ * (It can be overridden in specific instances.)
+ * @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
+ * Support is considered enabled if the 3 words are translated in the given locale.
+ * @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
+ * Support is considered enabled if the 2 words are translated in the given locale.
+ * @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
+ * Support is considered enabled if the 4 sentences are translated in the given locale.
+ * @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
+ * Support is considered enabled if either year, day or hour has a short variant translated.
+ * @method void macro($name, $macro) Register a custom macro.
+ * @method CarbonImmutable|null make($var) Make a Carbon instance from given variable if possible.
+ * Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
+ * and recurrences). Throw an exception for invalid format, but otherwise return null.
+ * @method CarbonImmutable maxValue() Create a Carbon instance for the greatest supported date.
+ * @method CarbonImmutable minValue() Create a Carbon instance for the lowest supported date.
+ * @method void mixin($mixin) Mix another object into the class.
+ * @method CarbonImmutable now($tz = null) Get a Carbon instance for the current date and time.
+ * @method CarbonImmutable parse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method CarbonImmutable parseFromLocale($time, $locale = null, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
+ * @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
+ * @method CarbonImmutable|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
+ * @method CarbonImmutable rawParse($time = null, $tz = null) Create a carbon instance from a string.
+ * This is an alias for the constructor that allows better fluent syntax
+ * as it allows you to do Carbon::parse('Monday next week')->fn() rather
+ * than (new Carbon('Monday next week'))->fn().
+ * @method CarbonImmutable resetMacros() Remove all macros and generic macros.
+ * @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
+ * @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather transform Carbon object before the serialization.
+ * JSON serialize all Carbon instances using the given callback.
+ * @method CarbonImmutable setFallbackLocale($locale) Set the fallback locale.
+ * @method CarbonImmutable setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
+ * Pass 'auto' as locale to use closest language from the current LC_TIME locale.
+ * @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider mid-day is always 12pm, then if you need to test if it's an other
+ * hour, test it explicitly:
+ * $date->format('G') == 13
+ * or to set explicitly to a given hour:
+ * $date->setTime(13, 0, 0, 0)
+ * Set midday/noon hour
+ * @method CarbonImmutable setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
+ * instance is created. The provided instance will be returned
+ * specifically under the following conditions:
+ * - A call to the static now() method, ex. Carbon::now()
+ * - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
+ * - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
+ * - When a string containing the desired time is passed to Carbon::parse().
+ * Note the timezone parameter was left out of the examples above and
+ * has no affect as the mock value will be returned regardless of its value.
+ * To clear the test instance call this method using the default
+ * parameter of null.
+ * /!\ Use this method for unit tests only.
+ * @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather let Carbon object being casted to string with DEFAULT_TO_STRING_FORMAT, and
+ * use other method or custom format passed to format() method if you need to dump an other string
+ * format.
+ * Set the default format used when type juggling a Carbon instance to a string
+ * @method void setTranslator(TranslatorInterface $translator) Set the default translator instance to use.
+ * @method CarbonImmutable setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use UTF-8 language packages on every machine.
+ * Set if UTF8 will be used for localized date/time.
+ * @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
+ * or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
+ * start of week according to current locale selected and implicitly the end of week.
+ * Set the last day of week
+ * @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
+ * 'first_day_of_week' locale setting to change the start of week according to current locale
+ * selected and implicitly the end of week.
+ * Set the first day of week
+ * @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather consider week-end is always saturday and sunday, and if you have some custom
+ * week-end days to handle, give to those days an other name and create a macro for them:
+ * ```
+ * Carbon::macro('isDayOff', function ($date) {
+ * return $date->isSunday() || $date->isMonday();
+ * });
+ * Carbon::macro('isNotDayOff', function ($date) {
+ * return !$date->isDayOff();
+ * });
+ * if ($someDate->isDayOff()) ...
+ * if ($someDate->isNotDayOff()) ...
+ * // Add 5 not-off days
+ * $count = 5;
+ * while ($someDate->isDayOff() || ($count-- > 0)) {
+ * $someDate->addDay();
+ * }
+ * ```
+ * Set weekend days
+ * @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
+ * @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
+ * @method CarbonImmutable today($tz = null) Create a Carbon instance for today.
+ * @method CarbonImmutable tomorrow($tz = null) Create a Carbon instance for tomorrow.
+ * @method string translateTimeString($timeString, $from = null, $to = null, $mode = CarbonInterface::TRANSLATE_ALL) Translate a time string from a locale to an other.
+ * @method string translateWith(TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
+ * @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method CarbonImmutable useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
+ * You should rather use the ->settings() method.
+ * Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
+ * are available for quarters, years, decade, centuries, millennia (singular and plural forms).
+ * @method mixed withTestNow($testNow = null, $callback = null) Temporarily sets a static date to be used within the callback.
+ * Using setTestNow to set the date, executing the callback, then
+ * clearing the test instance.
+ * /!\ Use this method for unit tests only.
+ * @method CarbonImmutable yesterday($tz = null) Create a Carbon instance for yesterday.
*
*
*/
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php b/vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
index 40d8d86c..f2fcf053 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/af.php', [
'meridiem' => ['v', 'n'],
'weekdays' => ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
index 93f4c839..27896bd0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/af.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/agq.php b/vendor/nesbot/carbon/src/Carbon/Lang/agq.php
index 58c7a110..70114649 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/agq.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/agq.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['a.g', 'a.k'],
'weekdays' => ['tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', 'tsuʔughɨ̂m', 'tsuʔndzɨkɔʔɔ'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
index 8d377adb..e790b99e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ar.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/asa.php b/vendor/nesbot/carbon/src/Carbon/Lang/asa.php
index 83897571..03bb4839 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/asa.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/asa.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['icheheavo', 'ichamthi'],
'weekdays' => ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
index d6979180..28fc62fe 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/az.php', [
'weekdays' => ['базар', 'базар ертәси', 'чәршәнбә ахшамы', 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә'],
'weekdays_short' => ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
index 8346a5dd..0be33914 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/az.php', [
'meridiem' => ['a', 'p'],
'weekdays' => ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bas.php b/vendor/nesbot/carbon/src/Carbon/Lang/bas.php
index 1b342bbc..41bfa1d8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bas.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bas.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['I bikɛ̂glà', 'I ɓugajɔp'],
'weekdays' => ['ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', 'ŋgwà kɔɔ', 'ŋgwà jôn'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/be.php b/vendor/nesbot/carbon/src/Carbon/Lang/be.php
index ce8dbe83..51b4d0cc 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/be.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/be.php
@@ -8,9 +8,14 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
// @codeCoverageIgnoreStart
+
+use Carbon\CarbonInterface;
+use Symfony\Component\Translation\PluralizationRules;
+
if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
- \Symfony\Component\Translation\PluralizationRules::set(function ($number) {
+ PluralizationRules::set(function ($number) {
return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
}, 'be');
}
@@ -113,7 +118,7 @@ return [
'nextDay' => '[Заўтра ў] LT',
'nextWeek' => '[У] dddd [ў] LT',
'lastDay' => '[Учора ў] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $current) {
+ 'lastWeek' => function (CarbonInterface $current) {
switch ($current->dayOfWeek) {
case 1:
case 2:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bez.php b/vendor/nesbot/carbon/src/Carbon/Lang/bez.php
index 1facc9dc..d59c5ef5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bez.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bez.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['pamilau', 'pamunyi'],
'weekdays' => ['pa mulungu', 'pa shahuviluha', 'pa hivili', 'pa hidatu', 'pa hitayi', 'pa hihanu', 'pa shahulembela'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bg.php b/vendor/nesbot/carbon/src/Carbon/Lang/bg.php
index 0e17673e..f7680740 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bg.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bg.php
@@ -17,6 +17,9 @@
* - JD Isaacks
* - Glavić
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count година|:count години',
'a_year' => 'година|:count години',
@@ -63,7 +66,7 @@ return [
'nextDay' => '[Утре в] LT',
'nextWeek' => 'dddd [в] LT',
'lastDay' => '[Вчера в] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $current) {
+ 'lastWeek' => function (CarbonInterface $current) {
switch ($current->dayOfWeek) {
case 0:
case 3:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php b/vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php
index 85c0783e..b53874d3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bg_BG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/bg.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php b/vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php
index c3d9d8b1..380abb1e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bo_CN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/bo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php
index a377fb54..ca50d049 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bo_IN.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/bo.php', [
'meridiem' => ['སྔ་དྲོ་', 'ཕྱི་དྲོ་'],
'weekdays' => ['གཟའ་ཉི་མ་', 'གཟའ་ཟླ་བ་', 'གཟའ་མིག་དམར་', 'གཟའ་ལྷག་པ་', 'གཟའ་ཕུར་བུ་', 'གཟའ་པ་སངས་', 'གཟའ་སྤེན་པ་'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php
index 9d939fd9..7f541858 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/br_FR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/br.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs.php
index d2fc5aaa..e5d68083 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bs.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs.php
@@ -18,6 +18,9 @@
* - Serhan Apaydın
* - JD Isaacks
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count godina|:count godine|:count godina',
'y' => ':count godina|:count godine|:count godina',
@@ -55,7 +58,7 @@ return [
'calendar' => [
'sameDay' => '[danas u] LT',
'nextDay' => '[sutra u] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $current) {
+ 'nextWeek' => function (CarbonInterface $current) {
switch ($current->dayOfWeek) {
case 0:
return '[u] [nedjelju] [u] LT';
@@ -68,7 +71,7 @@ return [
}
},
'lastDay' => '[jučer u] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $current) {
+ 'lastWeek' => function (CarbonInterface $current) {
switch ($current->dayOfWeek) {
case 0:
case 3:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php
index 4dd21bab..0a591176 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs_BA.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/bs.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php
index 09221e0a..e1a17447 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Cyrl.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/bs.php', [
'meridiem' => ['пре подне', 'поподне'],
'weekdays' => ['недјеља', 'понедјељак', 'уторак', 'сриједа', 'четвртак', 'петак', 'субота'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php
index 91ed1cc8..b4e363e7 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/bs_Latn.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/bs.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca.php
index 5c914397..b8b19946 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ca.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca.php
@@ -21,6 +21,9 @@
* - Xavi
* - qcardona
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count any|:count anys',
'a_year' => 'un any|:count anys',
@@ -69,19 +72,19 @@ return [
'LLLL' => 'dddd D MMMM [de] YYYY [a les] H:mm',
],
'calendar' => [
- 'sameDay' => function (\Carbon\CarbonInterface $current) {
+ 'sameDay' => function (CarbonInterface $current) {
return '[avui a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
},
- 'nextDay' => function (\Carbon\CarbonInterface $current) {
+ 'nextDay' => function (CarbonInterface $current) {
return '[demà a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
},
- 'nextWeek' => function (\Carbon\CarbonInterface $current) {
+ 'nextWeek' => function (CarbonInterface $current) {
return 'dddd [a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
},
- 'lastDay' => function (\Carbon\CarbonInterface $current) {
+ 'lastDay' => function (CarbonInterface $current) {
return '[ahir a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
},
- 'lastWeek' => function (\Carbon\CarbonInterface $current) {
+ 'lastWeek' => function (CarbonInterface $current) {
return '[el] dddd [passat a '.($current->hour !== 1 ? 'les' : 'la').'] LT';
},
'sameElse' => 'L',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php
index f5718c39..861acd2a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_AD.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ca.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php
index 84236064..50049786 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ca.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php
index f5718c39..861acd2a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_ES_Valencia.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ca.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php
index f5718c39..861acd2a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_FR.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ca.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php b/vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php
index f5718c39..861acd2a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ca_IT.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ca.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ccp.php b/vendor/nesbot/carbon/src/Carbon/Lang/ccp.php
index ec616a77..99c1dcac 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ccp.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ccp.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['𑄢𑄧𑄝𑄨𑄝𑄢𑄴', '𑄥𑄧𑄟𑄴𑄝𑄢𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴𑄝𑄢𑄴', '𑄝𑄪𑄖𑄴𑄝𑄢𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴𑄝𑄢𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴𑄝𑄢𑄴', '𑄥𑄧𑄚𑄨𑄝𑄢𑄴'],
'weekdays_short' => ['𑄢𑄧𑄝𑄨', '𑄥𑄧𑄟𑄴', '𑄟𑄧𑄁𑄉𑄧𑄣𑄴', '𑄝𑄪𑄖𑄴', '𑄝𑄳𑄢𑄨𑄥𑄪𑄛𑄴', '𑄥𑄪𑄇𑄴𑄇𑄮𑄢𑄴', '𑄥𑄧𑄚𑄨'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php
index 18bd1224..c1fa8af0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ccp_IN.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ccp.php', [
'weekend' => [0, 0],
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cgg.php b/vendor/nesbot/carbon/src/Carbon/Lang/cgg.php
index e4244082..09bcc1c7 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/cgg.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cgg.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', 'Orwamukaaga'],
'weekdays_short' => ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php
index a16a3467..ea2517e8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cs_CZ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/cs.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cu.php b/vendor/nesbot/carbon/src/Carbon/Lang/cu.php
index 02c983aa..d6d13128 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/cu.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cu.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'months' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
'months_short' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php
index ddff8931..197bd8d3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cv_RU.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/cv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php b/vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php
index 541127c6..2c8148d0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/cy_GB.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/cy.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php b/vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php
index b3bac1a9..392c4841 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/da_DK.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/da.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php b/vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php
index b2ba81f5..ea5698b9 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/da_GL.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/da.php', [
'formats' => [
'L' => 'DD/MM/YYYY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dav.php b/vendor/nesbot/carbon/src/Carbon/Lang/dav.php
index 79f021e1..e95ec4bb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/dav.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dav.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Luma lwa K', 'luma lwa p'],
'weekdays' => ['Ituku ja jumwa', 'Kuramuka jimweri', 'Kuramuka kawi', 'Kuramuka kadadu', 'Kuramuka kana', 'Kuramuka kasanu', 'Kifula nguwo'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php b/vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php
index 82edfa1d..03e606a6 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/de_LI.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/de.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dje.php b/vendor/nesbot/carbon/src/Carbon/Lang/dje.php
index 08ddbf13..74b7ac12 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/dje.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dje.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Subbaahi', 'Zaarikay b'],
'weekdays' => ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamisi', 'Alzuma', 'Asibti'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dua.php b/vendor/nesbot/carbon/src/Carbon/Lang/dua.php
index 65d712f5..55e5c7c3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/dua.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dua.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['idiɓa', 'ebyámu'],
'weekdays' => ['éti', 'mɔ́sú', 'kwasú', 'mukɔ́sú', 'ŋgisú', 'ɗónɛsú', 'esaɓasú'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dv.php b/vendor/nesbot/carbon/src/Carbon/Lang/dv.php
index a2b60dff..4b8d7e1a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/dv.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dv.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
$months = [
'ޖެނުއަރީ',
'ފެބްރުއަރީ',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php b/vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php
index 208fb5a3..2668d5b0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dv_MV.php
@@ -3,7 +3,7 @@
/**
* This file is part of the Carbon package.
*
- * (c) Ahmed Ali
+ * (c) Brian Nesbitt
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/dyo.php b/vendor/nesbot/carbon/src/Carbon/Lang/dyo.php
index ecb649b0..33082e67 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/dyo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/dyo.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['Dimas', 'Teneŋ', 'Talata', 'Alarbay', 'Aramisay', 'Arjuma', 'Sibiti'],
'weekdays_short' => ['Dim', 'Ten', 'Tal', 'Ala', 'Ara', 'Arj', 'Sib'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ebu.php b/vendor/nesbot/carbon/src/Carbon/Lang/ebu.php
index 5aab48d9..f60bc6f2 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ebu.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ebu.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['KI', 'UT'],
'weekdays' => ['Kiumia', 'Njumatatu', 'Njumaine', 'Njumatano', 'Aramithi', 'Njumaa', 'NJumamothii'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ee.php b/vendor/nesbot/carbon/src/Carbon/Lang/ee.php
index 2fd9dcd8..f96c5c9d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ee.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ee.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['ŋ', 'ɣ'],
'weekdays' => ['kɔsiɖa', 'dzoɖa', 'blaɖa', 'kuɖa', 'yawoɖa', 'fiɖa', 'memleɖa'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php
index 02d77e6d..7a8b36c9 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ee_TG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ee.php', [
'formats' => [
'LT' => 'HH:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/el.php b/vendor/nesbot/carbon/src/Carbon/Lang/el.php
index 09cf7e89..7c40f9c1 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/el.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/el.php
@@ -19,6 +19,9 @@
* - yiannisdesp
* - Ilias Kasmeridis (iliaskasm)
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count χρόνος|:count χρόνια',
'a_year' => 'ένας χρόνος|:count χρόνια',
@@ -65,7 +68,7 @@ return [
'nextDay' => '[Αύριο {}] LT',
'nextWeek' => 'dddd [{}] LT',
'lastDay' => '[Χθες {}] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $current) {
+ 'lastWeek' => function (CarbonInterface $current) {
switch ($current->dayOfWeek) {
case 6:
return '[το προηγούμενο] dddd [{}] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_001.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_001.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_001.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_001.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_150.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_150.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_150.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_150.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AS.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_AT.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BB.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BE.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BM.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BS.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BW.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_BZ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CC.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CH.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CM.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_CX.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_DE.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_DG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_DM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ER.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FJ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_FM.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GD.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GH.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GM.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GU.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_GY.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_IM.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_IO.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php
index 6ae11c9a..11457b0c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ISO.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'LT' => 'HH:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_JE.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_JM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KN.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_KY.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_LC.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_LR.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_LS.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MH.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MP.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MS.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MT.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MU.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MW.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_MY.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NA.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NF.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php
index 1d0d34ff..67bceaad 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'L' => 'DD/MM/YY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NL.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NR.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_NU.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PK.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PN.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_PW.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_RW.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SB.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SC.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php
index ce4780c6..c4e2557e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SD.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 6,
'weekend' => [5, 6],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SE.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php
index ed0b3f93..5ee95241 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'from_now' => 'in :time',
'formats' => [
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SH.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SL.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SS.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SX.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_SZ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TC.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TO.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TT.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TV.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_TZ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_UG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_UM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_US.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_US.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_US.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_US.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_US_Posix.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VC.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VI.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php
index 9f2a3f74..e2dd81db 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_VU.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_WS.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php
index 31f60e19..f086dc63 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/en_ZW.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/en.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es.php b/vendor/nesbot/carbon/src/Carbon/Lang/es.php
index daaf2570..f77ec39c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es.php
@@ -27,6 +27,9 @@
* - Daniel Commesse Liévanos (danielcommesse)
* - Pete Scopes (pdscopes)
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count año|:count años',
'a_year' => 'un año|:count años',
@@ -77,19 +80,19 @@ return [
'LLLL' => 'dddd, D [de] MMMM [de] YYYY H:mm',
],
'calendar' => [
- 'sameDay' => function (\Carbon\CarbonInterface $current) {
+ 'sameDay' => function (CarbonInterface $current) {
return '[hoy a la'.($current->hour !== 1 ? 's' : '').'] LT';
},
- 'nextDay' => function (\Carbon\CarbonInterface $current) {
+ 'nextDay' => function (CarbonInterface $current) {
return '[mañana a la'.($current->hour !== 1 ? 's' : '').'] LT';
},
- 'nextWeek' => function (\Carbon\CarbonInterface $current) {
+ 'nextWeek' => function (CarbonInterface $current) {
return 'dddd [a la'.($current->hour !== 1 ? 's' : '').'] LT';
},
- 'lastDay' => function (\Carbon\CarbonInterface $current) {
+ 'lastDay' => function (CarbonInterface $current) {
return '[ayer a la'.($current->hour !== 1 ? 's' : '').'] LT';
},
- 'lastWeek' => function (\Carbon\CarbonInterface $current) {
+ 'lastWeek' => function (CarbonInterface $current) {
return '[el] dddd [pasado a la'.($current->hour !== 1 ? 's' : '').'] LT';
},
'sameElse' => 'L',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php
index e9dbe2b9..378d0547 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_BR.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es.php', [
'first_day_of_week' => 0,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php
index e9dbe2b9..378d0547 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_BZ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es.php', [
'first_day_of_week' => 0,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php
index 96391d47..f02e1a66 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_CU.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php
index 96391d47..f02e1a66 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_EA.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php
index 96391d47..f02e1a66 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_GQ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php
index 96391d47..f02e1a66 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_IC.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php b/vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php
index ea345b21..deae06a1 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/es_PH.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es.php', [
'first_day_of_week' => 0,
'formats' => [
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php b/vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php
index 3588f627..0f112b34 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/et_EE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/et.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php
index 442cca79..0d1e82a9 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/eu_ES.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/eu.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ewo.php b/vendor/nesbot/carbon/src/Carbon/Lang/ewo.php
index f5ae8cf9..7808ab50 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ewo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ewo.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['kíkíríg', 'ngəgógəle'],
'weekdays' => ['sɔ́ndɔ', 'mɔ́ndi', 'sɔ́ndɔ məlú mə́bɛ̌', 'sɔ́ndɔ məlú mə́lɛ́', 'sɔ́ndɔ məlú mə́nyi', 'fúladé', 'séradé'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php
index 06566fa4..69471004 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fa_AF.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fa.php', [
'meridiem' => ['ق', 'ب'],
'weekend' => [4, 5],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php b/vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php
index 6d1832c2..08d01825 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fa_IR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fa.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php
index dafa98e3..b797ac09 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff_CM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ff.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php
index dafa98e3..b797ac09 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff_GN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ff.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php
index 65276d3f..2f4c29f6 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ff_MR.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ff.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php
index 3597fa22..920f1caa 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fi_FI.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php b/vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php
index e0f45378..657f2c5b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fo_DK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fo.php', [
'formats' => [
'L' => 'DD.MM.yy',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php b/vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php
index 6a4bc313..6d736167 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fo_FO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BF.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BI.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BJ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_BL.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CD.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CF.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CI.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php
index 52b951cd..67d37878 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_CM.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'meridiem' => ['mat.', 'soir'],
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php
index 40579a46..2f060869 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DJ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'first_day_of_week' => 6,
'formats' => [
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php
index 2c1ab853..ae8db5fa 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_DZ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'first_day_of_week' => 6,
'weekend' => [5, 6],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_FR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GA.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GF.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GP.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_GQ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_HT.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_KM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php
index 7d2b1dbe..1bf034dc 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MA.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'first_day_of_week' => 6,
'weekend' => [5, 6],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MC.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MF.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_ML.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MQ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php
index d177a7d7..37cf83f0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MR.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_MU.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NC.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_NE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PF.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_PM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_RW.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SC.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php
index 2c1ab853..ae8db5fa 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_SY.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'first_day_of_week' => 6,
'weekend' => [5, 6],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php
index d177a7d7..37cf83f0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TD.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php
index d3e26568..6905e7a8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_TN.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'weekend' => [5, 6],
'formats' => [
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php
index d177a7d7..37cf83f0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_VU.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fr.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_WF.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php b/vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php
index f9801e87..ec3ee359 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/fr_YT.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/fr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php
index d50630cf..57b0c4fb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ga_IE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ga.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php b/vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php
index 80da9c65..4fc26b3d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gd_GB.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/gd.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gl.php b/vendor/nesbot/carbon/src/Carbon/Lang/gl.php
index 58c1db15..088b0f28 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gl.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gl.php
@@ -17,6 +17,9 @@
* - Diego Vilariño
* - Sebastian Thierer
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count ano|:count anos',
'a_year' => 'un ano|:count anos',
@@ -65,19 +68,19 @@ return [
'LLLL' => 'dddd, D [de] MMMM [de] YYYY H:mm',
],
'calendar' => [
- 'sameDay' => function (\Carbon\CarbonInterface $current) {
+ 'sameDay' => function (CarbonInterface $current) {
return '[hoxe '.($current->hour !== 1 ? 'ás' : 'á').'] LT';
},
- 'nextDay' => function (\Carbon\CarbonInterface $current) {
+ 'nextDay' => function (CarbonInterface $current) {
return '[mañá '.($current->hour !== 1 ? 'ás' : 'á').'] LT';
},
- 'nextWeek' => function (\Carbon\CarbonInterface $current) {
+ 'nextWeek' => function (CarbonInterface $current) {
return 'dddd ['.($current->hour !== 1 ? 'ás' : 'á').'] LT';
},
- 'lastDay' => function (\Carbon\CarbonInterface $current) {
+ 'lastDay' => function (CarbonInterface $current) {
return '[onte '.($current->hour !== 1 ? 'á' : 'a').'] LT';
},
- 'lastWeek' => function (\Carbon\CarbonInterface $current) {
+ 'lastWeek' => function (CarbonInterface $current) {
return '[o] dddd [pasado '.($current->hour !== 1 ? 'ás' : 'á').'] LT';
},
'sameElse' => 'L',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php b/vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php
index 12a565ff..9d6c1d96 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gl_ES.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/gl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php
index 5e54a368..612bb886 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gom_Latn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return [
'year' => ':count voros|:count vorsam',
'y' => ':countv',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php
index 0dba9c54..594eb25d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_CH.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/gsw.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php
index e0e7b234..3581dcfb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_FR.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/gsw.php', [
'meridiem' => ['vorm.', 'nam.'],
'months' => ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', 'Oktoober', 'Novämber', 'Dezämber'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php
index e0e7b234..3581dcfb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gsw_LI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/gsw.php', [
'meridiem' => ['vorm.', 'nam.'],
'months' => ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'Auguscht', 'Septämber', 'Oktoober', 'Novämber', 'Dezämber'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gu.php b/vendor/nesbot/carbon/src/Carbon/Lang/gu.php
index 7c7872bc..8bc43114 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gu.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gu.php
@@ -18,7 +18,7 @@
return [
'year' => 'એક વર્ષ|:count વર્ષ',
'y' => ':countવર્ષ|:countવર્ષો',
- 'month' => 'એક મહિનો|:count મહિનો',
+ 'month' => 'એક મહિનો|:count મહિના',
'm' => ':countમહિનો|:countમહિના',
'week' => ':count અઠવાડિયું|:count અઠવાડિયા',
'w' => ':countઅઠ.|:countઅઠ.',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php
index c5784408..02654b1f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/gu_IN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/gu.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/guz.php b/vendor/nesbot/carbon/src/Carbon/Lang/guz.php
index aa9769ce..6230165c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/guz.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/guz.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Ma', 'Mo'],
'weekdays' => ['Chumapiri', 'Chumatato', 'Chumaine', 'Chumatano', 'Aramisi', 'Ichuma', 'Esabato'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php b/vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php
index bce5e415..f9f99a73 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ha_GH.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ha.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php
index bce5e415..f9f99a73 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ha.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php
index bce5e415..f9f99a73 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ha_NG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ha.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/haw.php b/vendor/nesbot/carbon/src/Carbon/Lang/haw.php
index 51715d8e..cdd36861 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/haw.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/haw.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'months' => ['Ianuali', 'Pepeluali', 'Malaki', 'ʻApelila', 'Mei', 'Iune', 'Iulai', 'ʻAukake', 'Kepakemapa', 'ʻOkakopa', 'Nowemapa', 'Kekemapa'],
'months_short' => ['Ian.', 'Pep.', 'Mal.', 'ʻAp.', 'Mei', 'Iun.', 'Iul.', 'ʻAu.', 'Kep.', 'ʻOk.', 'Now.', 'Kek.'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php b/vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php
index 57c4fec8..14fab3e9 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/he_IL.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/he.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php
index ac302995..749dd97c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hi_IN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/hi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hr.php b/vendor/nesbot/carbon/src/Carbon/Lang/hr.php
index acb7e92c..cfd85fd4 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/hr.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hr.php
@@ -27,6 +27,9 @@
* - Stjepan Majdak
* - Vanja Retkovac (vr00)
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count godinu|:count godine|:count godina',
'y' => ':count god.|:count god.|:count god.',
@@ -67,7 +70,7 @@ return [
'calendar' => [
'sameDay' => '[danas u] LT',
'nextDay' => '[sutra u] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $date) {
+ 'nextWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[u] [nedjelju] [u] LT';
@@ -80,7 +83,7 @@ return [
}
},
'lastDay' => '[jučer u] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
case 3:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php b/vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php
index 2ae141dc..db74d8c7 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hr_HR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/hr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hu.php b/vendor/nesbot/carbon/src/Carbon/Lang/hu.php
index 673f9dc4..b2d2ac11 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/hu.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hu.php
@@ -15,6 +15,9 @@
* - Brett Johnson
* - balping
*/
+
+use Carbon\CarbonInterface;
+
$huWeekEndings = ['vasárnap', 'hétfőn', 'kedden', 'szerdán', 'csütörtökön', 'pénteken', 'szombaton'];
return [
@@ -99,11 +102,11 @@ return [
'calendar' => [
'sameDay' => '[ma] LT[-kor]',
'nextDay' => '[holnap] LT[-kor]',
- 'nextWeek' => function (\Carbon\CarbonInterface $date) use ($huWeekEndings) {
+ 'nextWeek' => function (CarbonInterface $date) use ($huWeekEndings) {
return '['.$huWeekEndings[$date->dayOfWeek].'] LT[-kor]';
},
'lastDay' => '[tegnap] LT[-kor]',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) use ($huWeekEndings) {
+ 'lastWeek' => function (CarbonInterface $date) use ($huWeekEndings) {
return '[múlt '.$huWeekEndings[$date->dayOfWeek].'] LT[-kor]';
},
'sameElse' => 'L',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php b/vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php
index b33a6319..b1c48541 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/hu_HU.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/hu.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/i18n.php b/vendor/nesbot/carbon/src/Carbon/Lang/i18n.php
index d19e4f40..e65449b8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/i18n.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/i18n.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'L' => 'YYYY-MM-DD',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php b/vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php
index 406112af..d5953a14 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/id_ID.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/id.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ii.php b/vendor/nesbot/carbon/src/Carbon/Lang/ii.php
index 30f83740..a4246c27 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ii.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ii.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['ꎸꄑ', 'ꁯꋒ'],
'weekdays' => ['ꑭꆏꑍ', 'ꆏꊂꋍ', 'ꆏꊂꑍ', 'ꆏꊂꌕ', 'ꆏꊂꇖ', 'ꆏꊂꉬ', 'ꆏꊂꃘ'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/in.php b/vendor/nesbot/carbon/src/Carbon/Lang/in.php
index 406112af..d5953a14 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/in.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/in.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/id.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php b/vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php
index 8b91bb23..4d35c448 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/is_IS.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/is.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it.php b/vendor/nesbot/carbon/src/Carbon/Lang/it.php
index c23d8db1..605bcbb5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/it.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it.php
@@ -22,6 +22,9 @@
* - Davide Casiraghi (davide-casiraghi)
* - Pete Scopes (pdscopes)
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count anno|:count anni',
'a_year' => 'un anno|:count anni',
@@ -81,7 +84,7 @@ return [
'nextDay' => '[Domani alle] LT',
'nextWeek' => 'dddd [alle] LT',
'lastDay' => '[Ieri alle] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[la scorsa] dddd [alle] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php b/vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php
index 57fab39a..5e8fc92f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it_SM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/it.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php b/vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php
index 57fab39a..5e8fc92f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/it_VA.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/it.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/iw.php b/vendor/nesbot/carbon/src/Carbon/Lang/iw.php
index a8034e83..a26e3506 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/iw.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/iw.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'months' => ['ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'],
'months_short' => ['ינו׳', 'פבר׳', 'מרץ', 'אפר׳', 'מאי', 'יוני', 'יולי', 'אוג׳', 'ספט׳', 'אוק׳', 'נוב׳', 'דצמ׳'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ja.php b/vendor/nesbot/carbon/src/Carbon/Lang/ja.php
index fa4cb367..1ca67519 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ja.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ja.php
@@ -21,6 +21,9 @@
* - toyama satoshi
* - atakigawa
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count年',
'y' => ':count年',
@@ -56,7 +59,7 @@ return [
'calendar' => [
'sameDay' => '[今日] LT',
'nextDay' => '[明日] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $current, \Carbon\CarbonInterface $other) {
+ 'nextWeek' => function (CarbonInterface $current, CarbonInterface $other) {
if ($other->week !== $current->week) {
return '[来週]dddd LT';
}
@@ -64,7 +67,7 @@ return [
return 'dddd LT';
},
'lastDay' => '[昨日] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $current, \Carbon\CarbonInterface $other) {
+ 'lastWeek' => function (CarbonInterface $current, CarbonInterface $other) {
if ($other->week !== $current->week) {
return '[先週]dddd LT';
}
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php b/vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php
index 9e035fdb..c2836253 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ja_JP.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ja.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/jgo.php b/vendor/nesbot/carbon/src/Carbon/Lang/jgo.php
index bad6beb7..6a1e77a8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/jgo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/jgo.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/jmc.php b/vendor/nesbot/carbon/src/Carbon/Lang/jmc.php
index f8cc72c1..ed92e8e7 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/jmc.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/jmc.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['utuko', 'kyiukonyi'],
'weekdays' => ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ka.php b/vendor/nesbot/carbon/src/Carbon/Lang/ka.php
index 5ddb957d..a5d563d3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ka.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ka.php
@@ -24,6 +24,9 @@
* - Avtandil Kikabidze (akalongman)
* - Levan Velijanashvili (Stichoza)
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count წელი',
'y' => ':count წელი',
@@ -149,7 +152,7 @@ return [
'calendar' => [
'sameDay' => '[დღეს], LT[-ზე]',
'nextDay' => '[ხვალ], LT[-ზე]',
- 'nextWeek' => function (\Carbon\CarbonInterface $current, \Carbon\CarbonInterface $other) {
+ 'nextWeek' => function (CarbonInterface $current, CarbonInterface $other) {
return ($current->isSameWeek($other) ? '' : '[შემდეგ] ').'dddd, LT[-ზე]';
},
'lastDay' => '[გუშინ], LT[-ზე]',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php b/vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php
index dd77fa3e..a26d9305 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ka_GE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ka.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kam.php b/vendor/nesbot/carbon/src/Carbon/Lang/kam.php
index 0fb6b2ea..0fc70d70 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/kam.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kam.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Ĩyakwakya', 'Ĩyawĩoo'],
'weekdays' => ['Wa kyumwa', 'Wa kwambĩlĩlya', 'Wa kelĩ', 'Wa katatũ', 'Wa kana', 'Wa katano', 'Wa thanthatũ'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kde.php b/vendor/nesbot/carbon/src/Carbon/Lang/kde.php
index 8acdaba3..fbcc9f3d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/kde.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kde.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Muhi', 'Chilo'],
'weekdays' => ['Liduva lyapili', 'Liduva lyatatu', 'Liduva lyanchechi', 'Liduva lyannyano', 'Liduva lyannyano na linji', 'Liduva lyannyano na mavili', 'Liduva litandi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kea.php b/vendor/nesbot/carbon/src/Carbon/Lang/kea.php
index 8a334e24..8b6c21b9 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/kea.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kea.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['a', 'p'],
'weekdays' => ['dumingu', 'sigunda-fera', 'tersa-fera', 'kuarta-fera', 'kinta-fera', 'sesta-fera', 'sabadu'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/khq.php b/vendor/nesbot/carbon/src/Carbon/Lang/khq.php
index f0649e7c..7a834cf0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/khq.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/khq.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Adduha', 'Aluula'],
'weekdays' => ['Alhadi', 'Atini', 'Atalata', 'Alarba', 'Alhamiisa', 'Aljuma', 'Assabdu'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ki.php b/vendor/nesbot/carbon/src/Carbon/Lang/ki.php
index 5754ffc1..d86afc50 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ki.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ki.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Kiroko', 'Hwaĩ-inĩ'],
'weekdays' => ['Kiumia', 'Njumatatũ', 'Njumaine', 'Njumatana', 'Aramithi', 'Njumaa', 'Njumamothi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php
index af4a5b2b..7dc5ebcc 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kk_KZ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/kk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kkj.php b/vendor/nesbot/carbon/src/Carbon/Lang/kkj.php
index bad6beb7..6a1e77a8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/kkj.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kkj.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kln.php b/vendor/nesbot/carbon/src/Carbon/Lang/kln.php
index b034ba50..b9c39968 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/kln.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kln.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['krn', 'koosk'],
'weekdays' => ['Kotisap', 'Kotaai', 'Koaeng’', 'Kosomok', 'Koang’wan', 'Komuut', 'Kolo'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php b/vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php
index ef3b415e..92e5fdbd 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/km_KH.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/km.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php
index 7c6c9096..30e3d886 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/kn_IN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/kn.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php
index 55b40fa2..4ba802b3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KP.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ko.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php
index d8eba2cb..9d873a27 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ko_KR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ko.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ksb.php b/vendor/nesbot/carbon/src/Carbon/Lang/ksb.php
index 424099dc..aaa00614 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ksb.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ksb.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['makeo', 'nyiaghuo'],
'weekdays' => ['Jumaapii', 'Jumaatatu', 'Jumaane', 'Jumaatano', 'Alhamisi', 'Ijumaa', 'Jumaamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ksf.php b/vendor/nesbot/carbon/src/Carbon/Lang/ksf.php
index 8fb55989..84a59672 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ksf.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ksf.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['sárúwá', 'cɛɛ́nko'],
'weekdays' => ['sɔ́ndǝ', 'lǝndí', 'maadí', 'mɛkrɛdí', 'jǝǝdí', 'júmbá', 'samdí'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ksh.php b/vendor/nesbot/carbon/src/Carbon/Lang/ksh.php
index 44c60a4d..95457e24 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ksh.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ksh.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['v.M.', 'n.M.'],
'weekdays' => ['Sunndaach', 'Mohndaach', 'Dinnsdaach', 'Metwoch', 'Dunnersdaach', 'Friidaach', 'Samsdaach'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php b/vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php
index 11fce2d8..4243a82f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ku_TR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ku.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php
index 4426bea4..9923a31e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ky_KG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ky.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lag.php b/vendor/nesbot/carbon/src/Carbon/Lang/lag.php
index dc959c96..f3f57f6a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lag.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lag.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['TOO', 'MUU'],
'weekdays' => ['Jumapíiri', 'Jumatátu', 'Jumaíne', 'Jumatáano', 'Alamíisi', 'Ijumáa', 'Jumamóosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lb.php b/vendor/nesbot/carbon/src/Carbon/Lang/lb.php
index db048342..7636655e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lb.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lb.php
@@ -16,6 +16,9 @@
* - dan-nl
* - Simon Lelorrain (slelorrain)
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count Joer',
'y' => ':countJ',
@@ -57,7 +60,7 @@ return [
'nextDay' => '[Muer um] LT',
'nextWeek' => 'dddd [um] LT',
'lastDay' => '[Gëschter um] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
// Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
switch ($date->dayOfWeek) {
case 2:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php b/vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php
index c8625fe9..414bd4d0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lb_LU.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/lb.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lkt.php b/vendor/nesbot/carbon/src/Carbon/Lang/lkt.php
index 968b0588..ae73a97b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lkt.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lkt.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'month' => ':count haŋwí', // less reliable
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php
index e244096c..7fdb7f1b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln_AO.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ln.php', [
'weekdays' => ['eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ'],
'weekdays_short' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php
index e244096c..7fdb7f1b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CF.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ln.php', [
'weekdays' => ['eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ'],
'weekdays_short' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php
index e244096c..7fdb7f1b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ln_CG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ln.php', [
'weekdays' => ['eyenga', 'mokɔlɔ mwa yambo', 'mokɔlɔ mwa míbalé', 'mokɔlɔ mwa mísáto', 'mokɔlɔ ya mínéi', 'mokɔlɔ ya mítáno', 'mpɔ́sɔ'],
'weekdays_short' => ['eye', 'ybo', 'mbl', 'mst', 'min', 'mtn', 'mps'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php b/vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php
index c0a1d6b4..9b7fd9bf 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lo_LA.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/lo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lrc.php b/vendor/nesbot/carbon/src/Carbon/Lang/lrc.php
index 10661bb0..546e6791 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lrc.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lrc.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'minute' => ':count هنر', // less reliable
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php
index 449d8632..d42f5e97 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lrc_IQ.php
@@ -8,5 +8,6 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/lrc.php', [
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php b/vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php
index c3087f4e..f772d38b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lt_LT.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/lt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lu.php b/vendor/nesbot/carbon/src/Carbon/Lang/lu.php
index 8dab5417..c8cd83af 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lu.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lu.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Dinda', 'Dilolo'],
'weekdays' => ['Lumingu', 'Nkodya', 'Ndàayà', 'Ndangù', 'Njòwa', 'Ngòvya', 'Lubingu'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/luo.php b/vendor/nesbot/carbon/src/Carbon/Lang/luo.php
index 201ca969..b55af731 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/luo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/luo.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['OD', 'OT'],
'weekdays' => ['Jumapil', 'Wuok Tich', 'Tich Ariyo', 'Tich Adek', 'Tich Ang’wen', 'Tich Abich', 'Ngeso'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/luy.php b/vendor/nesbot/carbon/src/Carbon/Lang/luy.php
index 52191253..2b37e3e3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/luy.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/luy.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['Jumapiri', 'Jumatatu', 'Jumanne', 'Jumatano', 'Murwa wa Kanne', 'Murwa wa Katano', 'Jumamosi'],
'weekdays_short' => ['J2', 'J3', 'J4', 'J5', 'Al', 'Ij', 'J1'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lv.php b/vendor/nesbot/carbon/src/Carbon/Lang/lv.php
index 724b58df..693eceb5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lv.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lv.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Carbon\CarbonInterface;
/**
@@ -168,6 +177,6 @@ return [
'weekdays_short' => ['Sv.', 'P.', 'O.', 'T.', 'C.', 'Pk.', 'S.'],
'weekdays_min' => ['Sv.', 'P.', 'O.', 'T.', 'C.', 'Pk.', 'S.'],
'months' => ['janvārī', 'februārī', 'martā', 'aprīlī', 'maijā', 'jūnijā', 'jūlijā', 'augustā', 'septembrī', 'oktobrī', 'novembrī', 'decembrī'],
- 'months_short' => ['Janv', 'Feb', 'Mar', 'Apr', 'Mai', 'Jūn', 'Jūl', 'Aug', 'Sept', 'Okt', 'Nov', 'Dec'],
+ 'months_short' => ['janv.', 'febr.', 'martā', 'apr.', 'maijā', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'],
'meridiem' => ['priekšpusdiena', 'pēcpusdiena'],
];
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php b/vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php
index 46c0f430..ee91c369 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/lv_LV.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/lv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mas.php b/vendor/nesbot/carbon/src/Carbon/Lang/mas.php
index 723ae67e..cbd610c2 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mas.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mas.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Ɛnkakɛnyá', 'Ɛndámâ'],
'weekdays' => ['Jumapílí', 'Jumatátu', 'Jumane', 'Jumatánɔ', 'Alaámisi', 'Jumáa', 'Jumamósi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php
index aa382b72..56e29053 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mas_TZ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/mas.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mer.php b/vendor/nesbot/carbon/src/Carbon/Lang/mer.php
index cb7ba8d7..2e14597f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mer.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mer.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['RŨ', 'ŨG'],
'weekdays' => ['Kiumia', 'Muramuko', 'Wairi', 'Wethatu', 'Wena', 'Wetano', 'Jumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mgh.php b/vendor/nesbot/carbon/src/Carbon/Lang/mgh.php
index 65798a80..2a80960d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mgh.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mgh.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['wichishu', 'mchochil’l'],
'weekdays' => ['Sabato', 'Jumatatu', 'Jumanne', 'Jumatano', 'Arahamisi', 'Ijumaa', 'Jumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mgo.php b/vendor/nesbot/carbon/src/Carbon/Lang/mgo.php
index a5a07543..a126c9ff 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mgo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mgo.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'],
'weekdays_short' => ['Aneg 1', 'Aneg 2', 'Aneg 3', 'Aneg 4', 'Aneg 5', 'Aneg 6', 'Aneg 7'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php
index 123d2292..6b964e3a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mi_NZ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/mi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php b/vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php
index b56783ee..57faa318 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/miq_NI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'formats' => [
'L' => 'DD/MM/YY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mk.php b/vendor/nesbot/carbon/src/Carbon/Lang/mk.php
index 853bc96d..d822de09 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mk.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mk.php
@@ -19,6 +19,9 @@
* - JD Isaacks
* - Tomi Atanasoski
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count година|:count години',
'a_year' => 'година|:count години',
@@ -65,7 +68,7 @@ return [
'nextDay' => '[Утре во] LT',
'nextWeek' => '[Во] dddd [во] LT',
'lastDay' => '[Вчера во] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
case 3:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php b/vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php
index 06ff7d9d..95e2ff9c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mk_MK.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/mk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php
index 20878dce..000e7958 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ml_IN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ml.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mn.php b/vendor/nesbot/carbon/src/Carbon/Lang/mn.php
index 25f65b33..717d199b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mn.php
@@ -5,11 +5,8 @@
*
* (c) Brian Nesbitt
*
- *
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
- *
- * @translator Batmandakh Erdenebileg
*/
/*
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php
index b8fef24c..e5ce426c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mn_MN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/mn.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mo.php b/vendor/nesbot/carbon/src/Carbon/Lang/mo.php
index dd7c8f09..102afcde 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mo.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ro.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php
index 556cefa2..7bca919f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mr_IN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/mr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ms.php b/vendor/nesbot/carbon/src/Carbon/Lang/ms.php
index ed7d48f8..36934eeb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ms.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ms.php
@@ -75,12 +75,18 @@ return [
'sameElse' => 'L',
],
'meridiem' => function ($hour) {
+ if ($hour < 1) {
+ return 'tengah malam';
+ }
+
if ($hour < 12) {
return 'pagi';
}
- if ($hour < 15) {
+
+ if ($hour < 13) {
return 'tengah hari';
}
+
if ($hour < 19) {
return 'petang';
}
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php
index ea2b453b..ef837a2d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ms_BN.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ms.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php
index 097a168f..77cb83d2 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ms_SG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ms.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php b/vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php
index 6ec2b339..9534f687 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mt_MT.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/mt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mua.php b/vendor/nesbot/carbon/src/Carbon/Lang/mua.php
index 8f1f9dcb..a3a3c6fd 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mua.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mua.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['comme', 'lilli'],
'weekdays' => ['Com’yakke', 'Comlaaɗii', 'Comzyiiɗii', 'Comkolle', 'Comkaldǝɓlii', 'Comgaisuu', 'Comzyeɓsuu'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php b/vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php
index 1f27ccae..a0108dd4 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/my_MM.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/my.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/mzn.php b/vendor/nesbot/carbon/src/Carbon/Lang/mzn.php
index 6ad36042..70f5f23c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/mzn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/mzn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fa.php', [
'months' => ['ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
'months_short' => ['ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/naq.php b/vendor/nesbot/carbon/src/Carbon/Lang/naq.php
index 614ced43..fbd9be91 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/naq.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/naq.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['ǁgoagas', 'ǃuias'],
'weekdays' => ['Sontaxtsees', 'Mantaxtsees', 'Denstaxtsees', 'Wunstaxtsees', 'Dondertaxtsees', 'Fraitaxtsees', 'Satertaxtsees'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php b/vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php
index bd643a8e..31678c53 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nb_NO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/nb.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php
index 93cbaef1..ce0210bc 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nb_SJ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/nb.php', [
'formats' => [
'LL' => 'D. MMM YYYY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nd.php b/vendor/nesbot/carbon/src/Carbon/Lang/nd.php
index d6fdaad3..f75d9a71 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nd.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nd.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['Sonto', 'Mvulo', 'Sibili', 'Sithathu', 'Sine', 'Sihlanu', 'Mgqibelo'],
'weekdays_short' => ['Son', 'Mvu', 'Sib', 'Sit', 'Sin', 'Sih', 'Mgq'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php
index 2583bcf8..f68d00e3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ne_IN.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ne.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php b/vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php
index 38caa1e5..27840c0f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ne_NP.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ne.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php
index 521d2d69..c269197b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_BQ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php
index 521d2d69..c269197b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_CW.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php
index 521d2d69..c269197b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php
index 521d2d69..c269197b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nl_SX.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/nl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nmg.php b/vendor/nesbot/carbon/src/Carbon/Lang/nmg.php
index f8850e29..4d1df6e5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nmg.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nmg.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['maná', 'kugú'],
'weekdays' => ['sɔ́ndɔ', 'mɔ́ndɔ', 'sɔ́ndɔ mafú mába', 'sɔ́ndɔ mafú málal', 'sɔ́ndɔ mafú mána', 'mabágá má sukul', 'sásadi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php b/vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php
index ebbe0b78..8e168711 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nn_NO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/nn.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nnh.php b/vendor/nesbot/carbon/src/Carbon/Lang/nnh.php
index fa6a448e..007d2399 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nnh.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nnh.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['mbaʼámbaʼ', 'ncwònzém'],
'weekdays' => null,
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nus.php b/vendor/nesbot/carbon/src/Carbon/Lang/nus.php
index 033e9756..789bc391 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nus.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nus.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['RW', 'TŊ'],
'weekdays' => ['Cäŋ kuɔth', 'Jiec la̱t', 'Rɛw lätni', 'Diɔ̱k lätni', 'Ŋuaan lätni', 'Dhieec lätni', 'Bäkɛl lätni'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/nyn.php b/vendor/nesbot/carbon/src/Carbon/Lang/nyn.php
index fdc2ff46..8660ea42 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/nyn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/nyn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['Sande', 'Orwokubanza', 'Orwakabiri', 'Orwakashatu', 'Orwakana', 'Orwakataano', 'Orwamukaaga'],
'weekdays_short' => ['SAN', 'ORK', 'OKB', 'OKS', 'OKN', 'OKT', 'OMK'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/oc.php b/vendor/nesbot/carbon/src/Carbon/Lang/oc.php
index 94c3e04c..89693e67 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/oc.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/oc.php
@@ -14,8 +14,10 @@
* - Quentí
*/
// @codeCoverageIgnoreStart
+use Symfony\Component\Translation\PluralizationRules;
+
if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
- \Symfony\Component\Translation\PluralizationRules::set(function ($number) {
+ PluralizationRules::set(function ($number) {
return $number == 1 ? 0 : 1;
}, 'oc');
}
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php b/vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php
index fde859fd..01eb5c14 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/oc_FR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/oc.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php b/vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php
index 46483439..044760e3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/om_ET.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/om.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php
index b29a40fb..f5a4d1c9 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/om_KE.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/om.php', [
'day_of_first_week_of_year' => 0,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php
index 8b04dee2..39b06532 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Arab.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ur.php', [
'weekdays' => ['اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ'],
'weekdays_short' => ['اتوار', 'پیر', 'منگل', 'بُدھ', 'جمعرات', 'جمعہ', 'ہفتہ'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php
index c0d35ecb..7adff5c3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pa_Guru.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/pa.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pl.php b/vendor/nesbot/carbon/src/Carbon/Lang/pl.php
index ec3f52e5..109f3e4c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pl.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pl.php
@@ -27,6 +27,9 @@
* - Jan (aso824)
* - diverpl
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count rok|:count lata|:count lat',
'a_year' => 'rok|:count lata|:count lat',
@@ -73,7 +76,7 @@ return [
'calendar' => [
'sameDay' => '[Dziś o] LT',
'nextDay' => '[Jutro o] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $date) {
+ 'nextWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[W niedzielę o] LT';
@@ -88,7 +91,7 @@ return [
}
},
'lastDay' => '[Wczoraj o] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[W zeszłą niedzielę o] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php b/vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php
index 69cd6976..222bcdb4 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pl_PL.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/prg.php b/vendor/nesbot/carbon/src/Carbon/Lang/prg.php
index d0fd2f0d..6e63f4ad 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/prg.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/prg.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'months' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
'months_short' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php b/vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php
index e63121e3..6ec51804 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ps_AF.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ps.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt.php
index e36ca4c3..0af89499 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt.php
@@ -23,6 +23,9 @@
* - Sebastian Thierer
* - Claudson Martins (claudsonm)
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count ano|:count anos',
'a_year' => 'um ano|:count anos',
@@ -81,7 +84,7 @@ return [
'nextDay' => '[Amanhã às] LT',
'nextWeek' => 'dddd [às] LT',
'lastDay' => '[Ontem às] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
case 6:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_AO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CH.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_CV.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GQ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_GW.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_LU.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php
index 331fa5cc..f2b5eab7 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MO.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/pt.php', [
'formats' => [
'LT' => 'h:mm a',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php
index 93bac23d..fbc0c97b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_MZ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/pt.php', [
'first_day_of_week' => 0,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_ST.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php b/vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php
index 3d13bca6..22c01ec5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/pt_TL.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/pt.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/qu.php b/vendor/nesbot/carbon/src/Carbon/Lang/qu.php
index 5f3a3924..65278cd1 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/qu.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/qu.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/es_UY.php', [
'formats' => [
'LT' => 'HH:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php b/vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php
index 91635d59..d5db6bf5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/qu_BO.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/qu.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php b/vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php
index 91635d59..d5db6bf5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/qu_EC.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/qu.php', [
'first_day_of_week' => 1,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rn.php b/vendor/nesbot/carbon/src/Carbon/Lang/rn.php
index 637d4e5e..8ab958eb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/rn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Z.MU.', 'Z.MW.'],
'weekdays' => ['Ku w’indwi', 'Ku wa mbere', 'Ku wa kabiri', 'Ku wa gatatu', 'Ku wa kane', 'Ku wa gatanu', 'Ku wa gatandatu'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php
index 0ba6f68a..ad1d2fa8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ro_MD.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ro.php', [
'formats' => [
'LT' => 'HH:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php b/vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php
index dd7c8f09..102afcde 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ro_RO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ro.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rof.php b/vendor/nesbot/carbon/src/Carbon/Lang/rof.php
index 80ab454f..205fc266 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/rof.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rof.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['kang’ama', 'kingoto'],
'weekdays' => ['Ijumapili', 'Ijumatatu', 'Ijumanne', 'Ijumatano', 'Alhamisi', 'Ijumaa', 'Ijumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru.php
index 93e0e01b..673b043b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ru.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru.php
@@ -35,6 +35,9 @@
* - Vladislav UnsealedOne
* - dima-bzz
*/
+
+use Carbon\CarbonInterface;
+
$transformDiff = function ($input) {
return strtr($input, [
'неделя' => 'неделю',
@@ -97,7 +100,7 @@ return [
'calendar' => [
'sameDay' => '[Сегодня, в] LT',
'nextDay' => '[Завтра, в] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $current, \Carbon\CarbonInterface $other) {
+ 'nextWeek' => function (CarbonInterface $current, CarbonInterface $other) {
if ($current->week !== $other->week) {
switch ($current->dayOfWeek) {
case 0:
@@ -120,7 +123,7 @@ return [
return '[В] dddd, [в] LT';
},
'lastDay' => '[Вчера, в] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $current, \Carbon\CarbonInterface $other) {
+ 'lastWeek' => function (CarbonInterface $current, CarbonInterface $other) {
if ($current->week !== $other->week) {
switch ($current->dayOfWeek) {
case 0:
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php
index 2c8d78f8..8ca7df34 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_BY.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php
index 2c8d78f8..8ca7df34 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php
index 2c8d78f8..8ca7df34 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_KZ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php
index 2c8d78f8..8ca7df34 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_MD.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php b/vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php
index 2c8d78f8..8ca7df34 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ru_RU.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ru.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/rwk.php b/vendor/nesbot/carbon/src/Carbon/Lang/rwk.php
index f8cc72c1..ed92e8e7 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/rwk.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/rwk.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['utuko', 'kyiukonyi'],
'weekdays' => ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/saq.php b/vendor/nesbot/carbon/src/Carbon/Lang/saq.php
index eebfac99..ff8bf604 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/saq.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/saq.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Tesiran', 'Teipa'],
'weekdays' => ['Mderot ee are', 'Mderot ee kuni', 'Mderot ee ong’wan', 'Mderot ee inet', 'Mderot ee ile', 'Mderot ee sapa', 'Mderot ee kwe'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sbp.php b/vendor/nesbot/carbon/src/Carbon/Lang/sbp.php
index 9b737837..e29ca379 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sbp.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sbp.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Lwamilawu', 'Pashamihe'],
'weekdays' => ['Mulungu', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alahamisi', 'Ijumaa', 'Jumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sd.php b/vendor/nesbot/carbon/src/Carbon/Lang/sd.php
index ad8c0009..0022c5a9 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sd.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sd.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
$months = [
'جنوري',
'فيبروري',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php
index b2b967ea..cf01805d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/se_FI.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/se.php', [
'formats' => [
'LT' => 'HH:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php b/vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php
index 83bbf78b..177c7e94 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/se_NO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/se.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php b/vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php
index 83bbf78b..177c7e94 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/se_SE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/se.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/seh.php b/vendor/nesbot/carbon/src/Carbon/Lang/seh.php
index 3ad889ab..babf9afb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/seh.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/seh.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['Dimingu', 'Chiposi', 'Chipiri', 'Chitatu', 'Chinai', 'Chishanu', 'Sabudu'],
'weekdays_short' => ['Dim', 'Pos', 'Pir', 'Tat', 'Nai', 'Sha', 'Sab'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ses.php b/vendor/nesbot/carbon/src/Carbon/Lang/ses.php
index 9355184f..e1099e65 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ses.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ses.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Adduha', 'Aluula'],
'weekdays' => ['Alhadi', 'Atinni', 'Atalaata', 'Alarba', 'Alhamiisa', 'Alzuma', 'Asibti'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sg.php b/vendor/nesbot/carbon/src/Carbon/Lang/sg.php
index 7f8e9daf..9264e893 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sg.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sg.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['ND', 'LK'],
'weekdays' => ['Bikua-ôko', 'Bïkua-ûse', 'Bïkua-ptâ', 'Bïkua-usïö', 'Bïkua-okü', 'Lâpôsö', 'Lâyenga'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sh.php b/vendor/nesbot/carbon/src/Carbon/Lang/sh.php
index a953df42..e4aa5a1c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sh.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sh.php
@@ -8,9 +8,12 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
// @codeCoverageIgnoreStart
+use Symfony\Component\Translation\PluralizationRules;
+
if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
- \Symfony\Component\Translation\PluralizationRules::set(function ($number) {
+ PluralizationRules::set(function ($number) {
return (($number % 10 == 1) && ($number % 100 != 11)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
}, 'sh');
}
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shi.php b/vendor/nesbot/carbon/src/Carbon/Lang/shi.php
index ee5aa0bc..78151869 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/shi.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shi.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['ⵜⵉⴼⴰⵡⵜ', 'ⵜⴰⴷⴳⴳⵯⴰⵜ'],
'weekdays' => ['ⴰⵙⴰⵎⴰⵙ', 'ⴰⵢⵏⴰⵙ', 'ⴰⵙⵉⵏⴰⵙ', 'ⴰⴽⵕⴰⵙ', 'ⴰⴽⵡⴰⵙ', 'ⵙⵉⵎⵡⴰⵙ', 'ⴰⵙⵉⴹⵢⴰⵙ'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php
index a5580c30..cddfb242 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Latn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/shi.php', [
'meridiem' => ['tifawt', 'tadggʷat'],
'weekdays' => ['asamas', 'aynas', 'asinas', 'akṛas', 'akwas', 'asimwas', 'asiḍyas'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php
index e51ed130..f3df1f2c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/shi_Tfng.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/shi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php b/vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php
index 6c5be974..81c44e0e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/si_LK.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/si.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php
index be3d1f24..0515601a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sk_SK.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sl.php b/vendor/nesbot/carbon/src/Carbon/Lang/sl.php
index 56d0f1bf..2e197212 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sl.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sl.php
@@ -29,6 +29,9 @@
* - Lovro Tramšek (Lovro1107)
* - burut13
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count leto|:count leti|:count leta|:count let',
'y' => ':count leto|:count leti|:count leta|:count let',
@@ -96,7 +99,7 @@ return [
'nextDay' => '[jutri ob] LT',
'nextWeek' => 'dddd [ob] LT',
'lastDay' => '[včeraj ob] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[preteklo] [nedeljo] [ob] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php b/vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php
index da9fef05..5dad8c81 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sl_SI.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sl.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/smn.php b/vendor/nesbot/carbon/src/Carbon/Lang/smn.php
index b252ebbd..20add023 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/smn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/smn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['ip.', 'ep.'],
'weekdays' => ['pasepeeivi', 'vuossaargâ', 'majebaargâ', 'koskoho', 'tuorâstuv', 'vástuppeeivi', 'lávurduv'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sn.php b/vendor/nesbot/carbon/src/Carbon/Lang/sn.php
index 62c82b10..4f25028a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['a', 'p'],
'weekdays' => ['Svondo', 'Muvhuro', 'Chipiri', 'Chitatu', 'China', 'Chishanu', 'Mugovera'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php b/vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php
index 0bfbdf3a..ea5df3f2 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sq_AL.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sq.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php
index c844fe0d..62f752c4 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sq_MK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sq.php', [
'formats' => [
'L' => 'D.M.YYYY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php
index c844fe0d..62f752c4 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sq_XK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sq.php', [
'formats' => [
'L' => 'D.M.YYYY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr.php
index 6ecf2d02..68ba663a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr.php
@@ -19,6 +19,9 @@
* - Glavić
* - Milos Sakovic
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => ':count godina|:count godine|:count godina',
'y' => ':count g.',
@@ -64,7 +67,7 @@ return [
'calendar' => [
'sameDay' => '[danas u] LT',
'nextDay' => '[sutra u] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $date) {
+ 'nextWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[u nedelju u] LT';
@@ -77,7 +80,7 @@ return [
}
},
'lastDay' => '[juče u] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[prošle nedelje u] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php
index 85407423..c09df19c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl.php
@@ -20,6 +20,9 @@
* - Nikola Zeravcic
* - Milos Sakovic
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => '{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count године|[0,Inf[:count година',
'y' => ':count г.',
@@ -63,7 +66,7 @@ return [
'calendar' => [
'sameDay' => '[данас у] LT',
'nextDay' => '[сутра у] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $date) {
+ 'nextWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[у недељу у] LT';
@@ -76,7 +79,7 @@ return [
}
},
'lastDay' => '[јуче у] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[прошле недеље у] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php
index 36405d38..0fb63d76 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_BA.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sr_Cyrl.php', [
'formats' => [
'LT' => 'HH:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php
index fb6179ee..d13229ab 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_ME.php
@@ -14,6 +14,9 @@
* - Glavić
* - Milos Sakovic
*/
+
+use Carbon\CarbonInterface;
+
return [
'year' => '{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count године|[0,Inf[:count година',
'y' => ':count г.',
@@ -60,7 +63,7 @@ return [
'calendar' => [
'sameDay' => '[данас у] LT',
'nextDay' => '[сутра у] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $date) {
+ 'nextWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[у недељу у] LT';
@@ -73,7 +76,7 @@ return [
}
},
'lastDay' => '[јуче у] LT',
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[прошле недеље у] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php
index 0643a414..492baf0c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Cyrl_XK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sr_Cyrl_BA.php', [
'weekdays' => ['недеља', 'понедељак', 'уторак', 'среда', 'четвртак', 'петак', 'субота'],
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php
index 8ae8c41a..99716747 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php
index c25a5072..897c674a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_BA.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sr_Latn.php', [
'formats' => [
'LT' => 'HH:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php
index de20f21c..e2133ef1 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_ME.php
@@ -14,6 +14,9 @@
* - Glavić
* - Milos Sakovic
*/
+
+use Carbon\CarbonInterface;
+
return array_replace_recursive(require __DIR__.'/sr.php', [
'month' => ':count mjesec|:count mjeseca|:count mjeseci',
'week' => ':count nedjelja|:count nedjelje|:count nedjelja',
@@ -27,7 +30,7 @@ return array_replace_recursive(require __DIR__.'/sr.php', [
'diff_tomorrow' => 'sjutra',
'calendar' => [
'nextDay' => '[sjutra u] LT',
- 'nextWeek' => function (\Carbon\CarbonInterface $date) {
+ 'nextWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[u nedjelju u] LT';
@@ -39,7 +42,7 @@ return array_replace_recursive(require __DIR__.'/sr.php', [
return '[u] dddd [u] LT';
}
},
- 'lastWeek' => function (\Carbon\CarbonInterface $date) {
+ 'lastWeek' => function (CarbonInterface $date) {
switch ($date->dayOfWeek) {
case 0:
return '[prošle nedjelje u] LT';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php
index ba7cc097..d0b9d10b 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_Latn_XK.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sr_Latn_BA.php', [
'weekdays' => ['nedelja', 'ponedeljak', 'utorak', 'sreda', 'četvrtak', 'petak', 'subota'],
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php
index b668ee1b..d7c65b91 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_ME.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sr_Latn_ME.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php b/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php
index 8ae8c41a..99716747 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sr_RS@latin.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php b/vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php
index 48d970ae..ba89527c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ss_ZA.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/ss.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php b/vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php
index 56425b4e..70cc5585 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sv_AX.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sv.php', [
'formats' => [
'L' => 'YYYY-MM-dd',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php b/vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php
index 1b73ecb2..d7182c83 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sv_FI.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php b/vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php
index 1b73ecb2..d7182c83 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sv_SE.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/sv.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php b/vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php
index f6927f47..ec9117b5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sw_CD.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sw.php', [
'formats' => [
'L' => 'DD/MM/YYYY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php b/vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php
index f6927f47..ec9117b5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/sw_UG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/sw.php', [
'formats' => [
'L' => 'DD/MM/YYYY',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php b/vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php
index 291d6c81..a6cd8b51 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ta_MY.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ta.php', [
'formats' => [
'LT' => 'a h:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php
index fe1cc062..7dbedeee 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ta_SG.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ta.php', [
'formats' => [
'LT' => 'a h:mm',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php b/vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php
index 6f81c405..3963f8d5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/te_IN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/te.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/teo.php b/vendor/nesbot/carbon/src/Carbon/Lang/teo.php
index 950235ea..ca30c37d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/teo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/teo.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ta.php', [
'meridiem' => ['Taparachu', 'Ebongi'],
'weekdays' => ['Nakaejuma', 'Nakaebarasa', 'Nakaare', 'Nakauni', 'Nakaung’on', 'Nakakany', 'Nakasabiti'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php b/vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php
index 024d2729..010a04f5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/teo_KE.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/teo.php', [
'first_day_of_week' => 0,
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php
index c6591e34..badc7d1f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tg_TJ.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/tg.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php b/vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php
index f11dc1b6..b9f94b2d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/th_TH.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/th.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php b/vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php
index 1937fec9..23f11449 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tr_CY.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/tr.php', [
'weekdays_short' => ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'],
'weekdays_min' => ['Pa', 'Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php b/vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php
index dc8e9358..9e994824 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/tr_TR.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/tr.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/twq.php b/vendor/nesbot/carbon/src/Carbon/Lang/twq.php
index e8ff278c..5cbb46e0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/twq.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/twq.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/ses.php', [
'meridiem' => ['Subbaahi', 'Zaarikay b'],
]);
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uk.php b/vendor/nesbot/carbon/src/Carbon/Lang/uk.php
index e1827845..b267b000 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/uk.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uk.php
@@ -8,7 +8,10 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
-$processHoursFunction = function (\Carbon\CarbonInterface $date, string $format) {
+
+use Carbon\CarbonInterface;
+
+$processHoursFunction = function (CarbonInterface $date, string $format) {
return $format.'о'.($date->hour === 11 ? 'б' : '').'] LT';
};
@@ -127,19 +130,19 @@ return [
'LLLL' => 'dddd, D MMMM YYYY, HH:mm',
],
'calendar' => [
- 'sameDay' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
+ 'sameDay' => function (CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[Сьогодні ');
},
- 'nextDay' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
+ 'nextDay' => function (CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[Завтра ');
},
- 'nextWeek' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
+ 'nextWeek' => function (CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[У] dddd [');
},
- 'lastDay' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
+ 'lastDay' => function (CarbonInterface $date) use ($processHoursFunction) {
return $processHoursFunction($date, '[Вчора ');
},
- 'lastWeek' => function (\Carbon\CarbonInterface $date) use ($processHoursFunction) {
+ 'lastWeek' => function (CarbonInterface $date) use ($processHoursFunction) {
switch ($date->dayOfWeek) {
case 0:
case 3:
@@ -183,7 +186,7 @@ return [
'months_standalone' => ['січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', 'вересень', 'жовтень', 'листопад', 'грудень'],
'months_short' => ['січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру'],
'months_regexp' => '/(D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
- 'weekdays' => function (\Carbon\CarbonInterface $date, $format, $index) {
+ 'weekdays' => function (CarbonInterface $date, $format, $index) {
static $words = [
'nominative' => ['неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'п’ятниця', 'субота'],
'accusative' => ['неділю', 'понеділок', 'вівторок', 'середу', 'четвер', 'п’ятницю', 'суботу'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php b/vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php
index 5fc43171..bd11d86e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uk_UA.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/uk.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/ur.php b/vendor/nesbot/carbon/src/Carbon/Lang/ur.php
index e55aff28..dc16c2c3 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/ur.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/ur.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
$months = [
'جنوری',
'فروری',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php
index 68719114..ffb51319 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Arab.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/fa.php', [
'weekdays' => ['یکشنبه', 'دوشنبه', 'سهشنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'],
'weekdays_short' => ['ی.', 'د.', 'س.', 'چ.', 'پ.', 'ج.', 'ش.'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php
index e8754699..89e99718 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/uz_Cyrl.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/uz.php', [
'formats' => [
'L' => 'DD/MM/yy',
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vai.php b/vendor/nesbot/carbon/src/Carbon/Lang/vai.php
index 3e6fce2b..3c378dfb 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/vai.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vai.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'],
'weekdays_short' => ['ꕞꕌꔵ', 'ꗳꗡꘉ', 'ꕚꕞꕚ', 'ꕉꕞꕒ', 'ꕉꔤꕆꕢ', 'ꕉꔤꕀꕮ', 'ꔻꔬꔳ'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php
index b76c4bcf..51e83cc5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Latn.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'weekdays' => ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'],
'weekdays_short' => ['lahadi', 'tɛɛnɛɛ', 'talata', 'alaba', 'aimisa', 'aijima', 'siɓiti'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php
index 7b029a8a..b4bb533f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vai_Vaii.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/vai.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php b/vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php
index 77b2dce5..18d89876 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vi_VN.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/vi.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vo.php b/vendor/nesbot/carbon/src/Carbon/Lang/vo.php
index a956a783..e273033f 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/vo.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vo.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'months' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
'months_short' => ['M01', 'M02', 'M03', 'M04', 'M05', 'M06', 'M07', 'M08', 'M09', 'M10', 'M11', 'M12'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/vun.php b/vendor/nesbot/carbon/src/Carbon/Lang/vun.php
index f8cc72c1..ed92e8e7 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/vun.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/vun.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['utuko', 'kyiukonyi'],
'weekdays' => ['Jumapilyi', 'Jumatatuu', 'Jumanne', 'Jumatanu', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/xog.php b/vendor/nesbot/carbon/src/Carbon/Lang/xog.php
index 063977c0..eb55b4ab 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/xog.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/xog.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['Munkyo', 'Eigulo'],
'weekdays' => ['Sabiiti', 'Balaza', 'Owokubili', 'Owokusatu', 'Olokuna', 'Olokutaanu', 'Olomukaaga'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yav.php b/vendor/nesbot/carbon/src/Carbon/Lang/yav.php
index e44cde62..225a20d8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/yav.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yav.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/en.php', [
'meridiem' => ['kiɛmɛ́ɛm', 'kisɛ́ndɛ'],
'weekdays' => ['sɔ́ndiɛ', 'móndie', 'muányáŋmóndie', 'metúkpíápɛ', 'kúpélimetúkpiapɛ', 'feléte', 'séselé'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php b/vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php
index f06bb99f..12b9e815 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yo_BJ.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return array_replace_recursive(require __DIR__.'/yo.php', [
'meridiem' => ['Àárɔ̀', 'Ɔ̀sán'],
'weekdays' => ['Ɔjɔ́ Àìkú', 'Ɔjɔ́ Ajé', 'Ɔjɔ́ Ìsɛ́gun', 'Ɔjɔ́rú', 'Ɔjɔ́bɔ', 'Ɔjɔ́ Ɛtì', 'Ɔjɔ́ Àbámɛ́ta'],
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php b/vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php
index 92934bcb..6860bc1a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yo_NG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/yo.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php
index 007d0716..db913caa 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hans.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php
index 24797f96..e2526f13 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/yue_Hant.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php
index 007d0716..db913caa 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_HK.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php
index 007d0716..db913caa 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_MO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php
index 007d0716..db913caa 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hans_SG.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hans.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php
index 24797f96..e2526f13 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_HK.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php
index 24797f96..e2526f13 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_MO.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php
index 24797f96..e2526f13 100644
--- a/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php
+++ b/vendor/nesbot/carbon/src/Carbon/Lang/zh_Hant_TW.php
@@ -8,4 +8,5 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
return require __DIR__.'/zh_Hant.php';
diff --git a/vendor/nesbot/carbon/src/Carbon/Language.php b/vendor/nesbot/carbon/src/Carbon/Language.php
index 37902854..1fb5bafd 100644
--- a/vendor/nesbot/carbon/src/Carbon/Language.php
+++ b/vendor/nesbot/carbon/src/Carbon/Language.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon;
use JsonSerializable;
diff --git a/vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php b/vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php
index d71c888b..8be0569e 100644
--- a/vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php
+++ b/vendor/nesbot/carbon/src/Carbon/Laravel/ServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Carbon\Laravel;
use Carbon\Carbon;
diff --git a/vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php b/vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php
index 7dab190c..baee2041 100644
--- a/vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php
+++ b/vendor/nesbot/carbon/src/Carbon/PHPStan/Macro.php
@@ -2,6 +2,15 @@
declare(strict_types=1);
+/**
+ * This file is part of the Carbon package.
+ *
+ * (c) Brian Nesbitt
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Carbon\PHPStan;
use Closure;
@@ -72,9 +81,8 @@ final class Macro implements BuiltinMethodReflection
if ($this->reflectionFunction->isClosure()) {
try {
- /** @var Closure $closure */
$closure = $this->reflectionFunction->getClosure();
- $boundClosure = Closure::bind($closure, new stdClass);
+ $boundClosure = Closure::bind($closure, new stdClass());
$this->static = (!$boundClosure || (new ReflectionFunction($boundClosure))->getClosureThis() === null);
} catch (Throwable $e) {
$this->static = true;
@@ -148,6 +156,8 @@ final class Macro implements BuiltinMethodReflection
/**
* {@inheritdoc}
+ *
+ * @return string|false
*/
public function getFileName()
{
@@ -180,6 +190,8 @@ final class Macro implements BuiltinMethodReflection
/**
* {@inheritdoc}
+ *
+ * @return int|false
*/
public function getStartLine()
{
@@ -188,6 +200,8 @@ final class Macro implements BuiltinMethodReflection
/**
* {@inheritdoc}
+ *
+ * @return int|false
*/
public function getEndLine()
{
diff --git a/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php
index 5a3d6941..8e2524c0 100644
--- a/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php
+++ b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroExtension.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Carbon\PHPStan;
use PHPStan\Reflection\ClassReflection;
diff --git a/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php
index 97cf0b8e..d169939d 100644
--- a/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php
+++ b/vendor/nesbot/carbon/src/Carbon/PHPStan/MacroScanner.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Carbon\PHPStan;
use Carbon\CarbonInterface;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php b/vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php
index 7fbb1a3f..71bbb723 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Boundaries.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\Exceptions\UnknownUnitException;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Cast.php b/vendor/nesbot/carbon/src/Carbon/Traits/Cast.php
index 44caf0b3..5f7c7c01 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Cast.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Cast.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Carbon\Traits;
use Carbon\Exceptions\InvalidCastException;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php b/vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php
index ee00666c..68240b7c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Comparison.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use BadMethodCallException;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php b/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php
index 7ba62256..8fe008a5 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Converter.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\Carbon;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php b/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
index ad190789..f90195a0 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\Carbon;
@@ -338,7 +339,7 @@ trait Creator
return $now(static::now($tz));
}
- return $now;
+ return $now->avoidMutation()->tz($tz);
}
/**
@@ -931,6 +932,8 @@ trait Creator
/**
* {@inheritdoc}
+ *
+ * @return array
*/
#[ReturnTypeWillChange]
public static function getLastErrors()
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Date.php b/vendor/nesbot/carbon/src/Carbon/Traits/Date.php
index e7762fa3..fc180fe4 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Date.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Date.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use BadMethodCallException;
@@ -1572,7 +1573,13 @@ trait Date
#[ReturnTypeWillChange]
public function setTimezone($value)
{
- return parent::setTimezone(static::safeCreateDateTimeZone($value));
+ $tz = static::safeCreateDateTimeZone($value);
+
+ if ($tz === false && !self::isStrictModeEnabled()) {
+ $tz = new CarbonTimeZone();
+ }
+
+ return parent::setTimezone($tz);
}
/**
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php b/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php
index 6f39fcd6..eb560576 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Difference.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\Carbon;
@@ -123,10 +124,10 @@ trait Difference
{
$other = $this->resolveCarbon($date);
- // Can be removed if https://github.com/derickr/timelib/pull/110
- // is merged
- // https://bugs.php.net/bug.php?id=80998 was announced fixed in PHP 8.1.0beta3
- // but created a reverse-regression when using UTC, so we still need this hack
+ // Work-around for https://bugs.php.net/bug.php?id=81458
+ // It was initially introduced for https://bugs.php.net/bug.php?id=80998
+ // The very specific case of 80998 was fixed in PHP 8.1beta3, but it introduced 81458
+ // So we still need to keep this for now
// @codeCoverageIgnoreStart
if (version_compare(PHP_VERSION, '8.1.0-dev', '>=') && $other->tz !== $this->tz) {
$other = $other->avoidMutation()->tz($this->tz);
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php
index 6f6c9d1d..4cd66b67 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalRounding.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\CarbonInterval;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php
index 4882eef6..82d7c326 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/IntervalStep.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\Carbon;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php b/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php
index 9162dc94..d7ece2de 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Localization.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\CarbonInterface;
@@ -237,10 +238,11 @@ trait Localization
/**
* Translate using translation string or callback available.
*
- * @param string $key
- * @param array $parameters
- * @param string|int|float|null $number
- * @param \Symfony\Component\Translation\TranslatorInterface $translator
+ * @param string $key
+ * @param array $parameters
+ * @param string|int|float|null $number
+ * @param \Symfony\Component\Translation\TranslatorInterface|null $translator
+ * @param bool $altNumbers
*
* @return string
*/
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Macro.php b/vendor/nesbot/carbon/src/Carbon/Traits/Macro.php
index d4135264..92b6c9d8 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Macro.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Macro.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
/**
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php b/vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php
index b9c868df..ac06084a 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Mixin.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Closure;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php b/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php
index 2fd64264..164dbbd1 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Modifiers.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\CarbonInterface;
@@ -429,6 +430,8 @@ trait Modifiers
* Calls \DateTime::modify if mutable or \DateTimeImmutable::modify else.
*
* @see https://php.net/manual/en/datetime.modify.php
+ *
+ * @return static|false
*/
#[ReturnTypeWillChange]
public function modify($modify)
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php b/vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php
index 66eaa124..561c867d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Mutability.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\Carbon;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php b/vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php
index 252df3a5..c77a1024 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/ObjectInitialisation.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
trait ObjectInitialisation
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Options.php b/vendor/nesbot/carbon/src/Carbon/Traits/Options.php
index 5a27d810..0ddee8dd 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Options.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Options.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\CarbonInterface;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php b/vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php
index 03d3fe69..33062397 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\CarbonInterface;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php b/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php
index a27e4e35..eebc69bd 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Serialization.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\Exceptions\InvalidFormatException;
@@ -135,6 +136,8 @@ trait Serialization
/**
* Set locale if specified on unserialize() called.
+ *
+ * @return void
*/
#[ReturnTypeWillChange]
public function __wakeup()
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Test.php b/vendor/nesbot/carbon/src/Carbon/Traits/Test.php
index d9989749..1287ed84 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Test.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Test.php
@@ -8,10 +8,13 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
+use Carbon\CarbonInterface;
use Closure;
use DateTimeImmutable;
+use DateTimeInterface;
trait Test
{
@@ -54,6 +57,21 @@ trait Test
static::$testNow = \is_string($testNow) ? static::parse($testNow) : $testNow;
}
+ public static function setTestNowAndTimezone($testNow = null, $tz = null)
+ {
+ $useDateInstanceTimezone = $testNow instanceof DateTimeInterface;
+
+ if ($useDateInstanceTimezone) {
+ date_default_timezone_set($testNow->getTimezone()->getName());
+ }
+
+ static::setTestNow($testNow);
+
+ if (!$useDateInstanceTimezone) {
+ date_default_timezone_set(static::getMockedTestNow(\func_num_args() === 1 ? null : $tz)->timezone);
+ }
+ }
+
/**
* Temporarily sets a static date to be used within the callback.
* Using setTestNow to set the date, executing the callback, then
@@ -61,8 +79,8 @@ trait Test
*
* /!\ Use this method for unit tests only.
*
- * @param Closure|static|string|false|null $testNow real or mock Carbon instance
- * @param Closure|null $callback
+ * @param Closure|static|string|false|null $testNow real or mock Carbon instance
+ * @param Closure|null $callback
*
* @return mixed
*/
@@ -97,27 +115,6 @@ trait Test
return static::getTestNow() !== null;
}
- /**
- * Return the given timezone and set it to the test instance if not null.
- * If null, get the timezone from the test instance and return it.
- *
- * @param string|\DateTimeZone $tz
- * @param \Carbon\CarbonInterface $testInstance
- *
- * @return string|\DateTimeZone
- */
- protected static function handleMockTimezone($tz, &$testInstance)
- {
- //shift the time according to the given time zone
- if ($tz !== null && $tz !== static::getMockedTestNow($tz)->getTimezone()) {
- $testInstance = $testInstance->setTimezone($tz);
-
- return $tz;
- }
-
- return $testInstance->getTimezone();
- }
-
/**
* Get the mocked date passed in setTestNow() and if it's a Closure, execute it.
*
@@ -138,20 +135,22 @@ trait Test
}
/* @var \Carbon\CarbonImmutable|\Carbon\Carbon|null $testNow */
- return $testNow;
+ return $testNow instanceof CarbonInterface
+ ? $testNow->avoidMutation()->tz($tz)
+ : $testNow;
}
- protected static function mockConstructorParameters(&$time, &$tz)
+ protected static function mockConstructorParameters(&$time, $tz)
{
/** @var \Carbon\CarbonImmutable|\Carbon\Carbon $testInstance */
$testInstance = clone static::getMockedTestNow($tz);
- $tz = static::handleMockTimezone($tz, $testInstance);
-
if (static::hasRelativeKeywords($time)) {
$testInstance = $testInstance->modify($time);
}
- $time = $testInstance instanceof self ? $testInstance->rawFormat(static::MOCK_DATETIME_FORMAT) : $testInstance->format(static::MOCK_DATETIME_FORMAT);
+ $time = $testInstance instanceof self
+ ? $testInstance->rawFormat(static::MOCK_DATETIME_FORMAT)
+ : $testInstance->format(static::MOCK_DATETIME_FORMAT);
}
}
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php b/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php
index 35d45aa5..2cb5c48d 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Timestamp.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
/**
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Units.php b/vendor/nesbot/carbon/src/Carbon/Traits/Units.php
index 92eaef89..2902a8b1 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Units.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Units.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
use Carbon\CarbonConverterInterface;
@@ -306,11 +307,13 @@ trait Units
$date = $date->modify("$value $unit");
if (isset($timeString)) {
- return $date->setTimeFromTimeString($timeString);
+ $date = $date->setTimeFromTimeString($timeString);
+ } elseif (isset($canOverflow, $day) && $canOverflow && $day !== $date->day) {
+ $date = $date->modify('last day of previous month');
}
- if (isset($canOverflow, $day) && $canOverflow && $day !== $date->day) {
- $date = $date->modify('last day of previous month');
+ if (!$date) {
+ throw new UnitException('Unable to add unit '.var_export(\func_get_args(), true));
}
return $date;
diff --git a/vendor/nesbot/carbon/src/Carbon/Traits/Week.php b/vendor/nesbot/carbon/src/Carbon/Traits/Week.php
index 64cece7a..6f148145 100644
--- a/vendor/nesbot/carbon/src/Carbon/Traits/Week.php
+++ b/vendor/nesbot/carbon/src/Carbon/Traits/Week.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon\Traits;
/**
diff --git a/vendor/nesbot/carbon/src/Carbon/Translator.php b/vendor/nesbot/carbon/src/Carbon/Translator.php
index fb443171..99537d1c 100644
--- a/vendor/nesbot/carbon/src/Carbon/Translator.php
+++ b/vendor/nesbot/carbon/src/Carbon/Translator.php
@@ -8,6 +8,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
+
namespace Carbon;
use Closure;
diff --git a/vendor/nette/utils/composer.json b/vendor/nette/utils/composer.json
index f9875211..fa164d85 100644
--- a/vendor/nette/utils/composer.json
+++ b/vendor/nette/utils/composer.json
@@ -15,7 +15,7 @@
}
],
"require": {
- "php": ">=7.2 <8.1"
+ "php": ">=7.2 <8.2"
},
"require-dev": {
"nette/tester": "~2.0",
diff --git a/vendor/nette/utils/readme.md b/vendor/nette/utils/readme.md
index e1c85043..81ed0e91 100644
--- a/vendor/nette/utils/readme.md
+++ b/vendor/nette/utils/readme.md
@@ -27,6 +27,7 @@ In package nette/utils you will find a set of [useful classes](https://doc.nette
- [Strings](https://doc.nette.org/strings) - useful text functions
- [SmartObject](https://doc.nette.org/smartobject) - PHP object enhancements
- [Validation](https://doc.nette.org/validators) - validate inputs
+- [Type](https://doc.nette.org/type) - PHP data type
Installation
@@ -38,7 +39,7 @@ The recommended way to install is via Composer:
composer require nette/utils
```
-- Nette Utils 3.2 is compatible with PHP 7.2 to 8.0
+- Nette Utils 3.2 is compatible with PHP 7.2 to 8.1
- Nette Utils 3.1 is compatible with PHP 7.1 to 8.0
- Nette Utils 3.0 is compatible with PHP 7.1 to 8.0
- Nette Utils 2.5 is compatible with PHP 5.6 to 8.0
diff --git a/vendor/nette/utils/src/Iterators/Mapper.php b/vendor/nette/utils/src/Iterators/Mapper.php
index fec8086d..1a8647c6 100644
--- a/vendor/nette/utils/src/Iterators/Mapper.php
+++ b/vendor/nette/utils/src/Iterators/Mapper.php
@@ -27,6 +27,7 @@ class Mapper extends \IteratorIterator
}
+ #[\ReturnTypeWillChange]
public function current()
{
return ($this->callback)(parent::current(), parent::key());
diff --git a/vendor/nette/utils/src/Translator.php b/vendor/nette/utils/src/Translator.php
index 8296a032..0f343a27 100644
--- a/vendor/nette/utils/src/Translator.php
+++ b/vendor/nette/utils/src/Translator.php
@@ -24,4 +24,4 @@ interface Translator
}
-interface_exists(Nette\Localization\ITranslator::class);
+interface_exists(ITranslator::class);
diff --git a/vendor/nette/utils/src/Utils/ArrayHash.php b/vendor/nette/utils/src/Utils/ArrayHash.php
index b2aeb4cb..5de178e2 100644
--- a/vendor/nette/utils/src/Utils/ArrayHash.php
+++ b/vendor/nette/utils/src/Utils/ArrayHash.php
@@ -14,11 +14,13 @@ use Nette;
/**
* Provides objects to work as array.
+ * @template T
*/
class ArrayHash extends \stdClass implements \ArrayAccess, \Countable, \IteratorAggregate
{
/**
* Transforms array to ArrayHash.
+ * @param array $array
* @return static
*/
public static function from(array $array, bool $recursive = true)
@@ -35,6 +37,7 @@ class ArrayHash extends \stdClass implements \ArrayAccess, \Countable, \Iterator
/**
* Returns an iterator over all items.
+ * @return \RecursiveArrayIterator
*/
public function getIterator(): \RecursiveArrayIterator
{
@@ -54,7 +57,7 @@ class ArrayHash extends \stdClass implements \ArrayAccess, \Countable, \Iterator
/**
* Replaces or appends a item.
* @param string|int $key
- * @param mixed $value
+ * @param T $value
*/
public function offsetSet($key, $value): void
{
@@ -68,8 +71,9 @@ class ArrayHash extends \stdClass implements \ArrayAccess, \Countable, \Iterator
/**
* Returns a item.
* @param string|int $key
- * @return mixed
+ * @return T
*/
+ #[\ReturnTypeWillChange]
public function offsetGet($key)
{
return $this->$key;
diff --git a/vendor/nette/utils/src/Utils/ArrayList.php b/vendor/nette/utils/src/Utils/ArrayList.php
index dd009036..0a694652 100644
--- a/vendor/nette/utils/src/Utils/ArrayList.php
+++ b/vendor/nette/utils/src/Utils/ArrayList.php
@@ -14,6 +14,7 @@ use Nette;
/**
* Provides the base class for a generic list (items can be accessed by index).
+ * @template T
*/
class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
{
@@ -23,8 +24,25 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
private $list = [];
+ /**
+ * Transforms array to ArrayList.
+ * @param array $array
+ * @return static
+ */
+ public static function from(array $array)
+ {
+ if (!Arrays::isList($array)) {
+ throw new Nette\InvalidArgumentException('Array is not valid list.');
+ }
+ $obj = new static;
+ $obj->list = $array;
+ return $obj;
+ }
+
+
/**
* Returns an iterator over all items.
+ * @return \ArrayIterator
*/
public function getIterator(): \ArrayIterator
{
@@ -44,7 +62,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
/**
* Replaces or appends a item.
* @param int|null $index
- * @param mixed $value
+ * @param T $value
* @throws Nette\OutOfRangeException
*/
public function offsetSet($index, $value): void
@@ -64,9 +82,10 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
/**
* Returns a item.
* @param int $index
- * @return mixed
+ * @return T
* @throws Nette\OutOfRangeException
*/
+ #[\ReturnTypeWillChange]
public function offsetGet($index)
{
if (!is_int($index) || $index < 0 || $index >= count($this->list)) {
@@ -102,7 +121,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate
/**
* Prepends a item.
- * @param mixed $value
+ * @param T $value
*/
public function prepend($value): void
{
diff --git a/vendor/nette/utils/src/Utils/Arrays.php b/vendor/nette/utils/src/Utils/Arrays.php
index b5bcb477..775b6517 100644
--- a/vendor/nette/utils/src/Utils/Arrays.php
+++ b/vendor/nette/utils/src/Utils/Arrays.php
@@ -22,9 +22,11 @@ class Arrays
/**
* Returns item from array. If it does not exist, it throws an exception, unless a default value is set.
- * @param string|int|array $key one or more keys
- * @param mixed $default
- * @return mixed
+ * @template T
+ * @param array $array
+ * @param array-key|array-key[] $key
+ * @param ?T $default
+ * @return ?T
* @throws Nette\InvalidArgumentException if item does not exist and default value is not provided
*/
public static function get(array $array, $key, $default = null)
@@ -45,8 +47,10 @@ class Arrays
/**
* Returns reference to array item. If the index does not exist, new one is created with value null.
- * @param string|int|array $key one or more keys
- * @return mixed
+ * @template T
+ * @param array $array
+ * @param array-key|array-key[] $key
+ * @return ?T
* @throws Nette\InvalidArgumentException if traversed item is not an array
*/
public static function &getRef(array &$array, $key)
@@ -66,6 +70,11 @@ class Arrays
* Recursively merges two fields. It is useful, for example, for merging tree structures. It behaves as
* the + operator for array, ie. it adds a key/value pair from the second array to the first one and retains
* the value from the first array in the case of a key collision.
+ * @template T1
+ * @template T2
+ * @param array $array1
+ * @param array $array2
+ * @return array
*/
public static function mergeTree(array $array1, array $array2): array
{
@@ -81,7 +90,7 @@ class Arrays
/**
* Returns zero-indexed position of given array key. Returns null if key is not found.
- * @param string|int $key
+ * @param array-key $key
* @return int|null offset if it is found, null otherwise
*/
public static function getKeyOffset(array $array, $key): ?int
@@ -111,7 +120,9 @@ class Arrays
/**
* Returns the first item from the array or null if array is empty.
- * @return mixed
+ * @template T
+ * @param array $array
+ * @return ?T
*/
public static function first(array $array)
{
@@ -121,7 +132,9 @@ class Arrays
/**
* Returns the last item from the array or null if array is empty.
- * @return mixed
+ * @template T
+ * @param array $array
+ * @return ?T
*/
public static function last(array $array)
{
@@ -132,7 +145,7 @@ class Arrays
/**
* Inserts the contents of the $inserted array into the $array immediately after the $key.
* If $key is null (or does not exist), it is inserted at the beginning.
- * @param string|int|null $key
+ * @param array-key|null $key
*/
public static function insertBefore(array &$array, $key, array $inserted): void
{
@@ -146,7 +159,7 @@ class Arrays
/**
* Inserts the contents of the $inserted array into the $array before the $key.
* If $key is null (or does not exist), it is inserted at the end.
- * @param string|int|null $key
+ * @param array-key|null $key
*/
public static function insertAfter(array &$array, $key, array $inserted): void
{
@@ -161,8 +174,8 @@ class Arrays
/**
* Renames key in array.
- * @param string|int $oldKey
- * @param string|int $newKey
+ * @param array-key $oldKey
+ * @param array-key $newKey
*/
public static function renameKey(array &$array, $oldKey, $newKey): bool
{
@@ -181,7 +194,8 @@ class Arrays
/**
* Returns only those array items, which matches a regular expression $pattern.
- * @throws Nette\RegexpException on compilation or runtime error
+ * @param string[] $array
+ * @return string[]
*/
public static function grep(array $array, string $pattern, int $flags = 0): array
{
@@ -286,9 +300,11 @@ class Arrays
/**
* Returns and removes the value of an item from an array. If it does not exist, it throws an exception,
* or returns $default, if provided.
- * @param string|int $key
- * @param mixed $default
- * @return mixed
+ * @template T
+ * @param array $array
+ * @param array-key $key
+ * @param ?T $default
+ * @return ?T
* @throws Nette\InvalidArgumentException if item does not exist and default value is not provided
*/
public static function pick(array &$array, $key, $default = null)
@@ -381,8 +397,9 @@ class Arrays
/**
* Copies the elements of the $array array to the $object object and then returns it.
- * @param object $object
- * @return object
+ * @template T of object
+ * @param T $object
+ * @return T
*/
public static function toObject(iterable $array, $object)
{
@@ -396,7 +413,7 @@ class Arrays
/**
* Converts value to array key.
* @param mixed $value
- * @return int|string
+ * @return array-key
*/
public static function toKey($value)
{
@@ -407,6 +424,7 @@ class Arrays
/**
* Returns copy of the $array where every item is converted to string
* and prefixed by $prefix and suffixed by $suffix.
+ * @param string[] $array
* @return string[]
*/
public static function wrap(array $array, string $prefix = '', string $suffix = ''): array
diff --git a/vendor/nette/utils/src/Utils/DateTime.php b/vendor/nette/utils/src/Utils/DateTime.php
index 74aaafae..320ccc77 100644
--- a/vendor/nette/utils/src/Utils/DateTime.php
+++ b/vendor/nette/utils/src/Utils/DateTime.php
@@ -97,6 +97,7 @@ class DateTime extends \DateTime implements \JsonSerializable
* @param string|\DateTimeZone $timezone (default timezone is used if null is passed)
* @return static|false
*/
+ #[\ReturnTypeWillChange]
public static function createFromFormat($format, $time, $timezone = null)
{
if ($timezone === null) {
diff --git a/vendor/nette/utils/src/Utils/FileSystem.php b/vendor/nette/utils/src/Utils/FileSystem.php
index 6753d195..16d5ffd1 100644
--- a/vendor/nette/utils/src/Utils/FileSystem.php
+++ b/vendor/nette/utils/src/Utils/FileSystem.php
@@ -148,6 +148,29 @@ final class FileSystem
}
+ /**
+ * Fixes permissions to a specific file or directory. Directories can be fixed recursively.
+ * @throws Nette\IOException on error occurred
+ */
+ public static function makeWritable(string $path, int $dirMode = 0777, int $fileMode = 0666): void
+ {
+ if (is_file($path)) {
+ if (!@chmod($path, $fileMode)) { // @ is escalated to exception
+ throw new Nette\IOException("Unable to chmod file '$path' to mode " . decoct($fileMode) . '. ' . Helpers::getLastError());
+ }
+ } elseif (is_dir($path)) {
+ foreach (new \FilesystemIterator($path) as $item) {
+ static::makeWritable($item->getPathname(), $dirMode, $fileMode);
+ }
+ if (!@chmod($path, $dirMode)) { // @ is escalated to exception
+ throw new Nette\IOException("Unable to chmod directory '$path' to mode " . decoct($dirMode) . '. ' . Helpers::getLastError());
+ }
+ } else {
+ throw new Nette\IOException("File or directory '$path' not found.");
+ }
+ }
+
+
/**
* Determines if the path is absolute.
*/
diff --git a/vendor/nette/utils/src/Utils/Html.php b/vendor/nette/utils/src/Utils/Html.php
index 1d421765..cf628933 100644
--- a/vendor/nette/utils/src/Utils/Html.php
+++ b/vendor/nette/utils/src/Utils/Html.php
@@ -248,7 +248,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, HtmlStringab
'isindex' => 1, 'wbr' => 1, 'command' => 1, 'track' => 1,
];
- /** @var array nodes */
+ /** @var array nodes */
protected $children = [];
/** @var string element's name */
@@ -662,8 +662,9 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, HtmlStringab
/**
* Returns child node (\ArrayAccess implementation).
* @param int $index
- * @return static|string
+ * @return HtmlStringable|string
*/
+ #[\ReturnTypeWillChange]
final public function offsetGet($index)
{
return $this->children[$index];
@@ -712,6 +713,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, HtmlStringab
/**
* Iterates over elements.
+ * @return \ArrayIterator
*/
final public function getIterator(): \ArrayIterator
{
diff --git a/vendor/nette/utils/src/Utils/ObjectHelpers.php b/vendor/nette/utils/src/Utils/ObjectHelpers.php
index 676c2176..4be86534 100644
--- a/vendor/nette/utils/src/Utils/ObjectHelpers.php
+++ b/vendor/nette/utils/src/Utils/ObjectHelpers.php
@@ -47,27 +47,59 @@ final class ObjectHelpers
/** @throws MemberAccessException */
public static function strictCall(string $class, string $method, array $additionalMethods = []): void
{
- $hint = self::getSuggestion(array_merge(
- get_class_methods($class),
- self::parseFullDoc(new \ReflectionClass($class), '~^[ \t*]*@method[ \t]+(?:\S+[ \t]+)??(\w+)\(~m'),
- $additionalMethods
- ), $method);
+ $trace = debug_backtrace(0, 3); // suppose this method is called from __call()
+ $context = ($trace[1]['function'] ?? null) === '__call'
+ ? ($trace[2]['class'] ?? null)
+ : null;
- if (method_exists($class, $method)) { // called parent::$method()
- $class = 'parent';
+ if ($context && is_a($class, $context, true) && method_exists($context, $method)) { // called parent::$method()
+ $class = get_parent_class($context);
+ }
+
+ if (method_exists($class, $method)) { // insufficient visibility
+ $rm = new \ReflectionMethod($class, $method);
+ $visibility = $rm->isPrivate()
+ ? 'private '
+ : ($rm->isProtected() ? 'protected ' : '');
+ throw new MemberAccessException("Call to {$visibility}method $class::$method() from " . ($context ? "scope $context." : 'global scope.'));
+
+ } else {
+ $hint = self::getSuggestion(array_merge(
+ get_class_methods($class),
+ self::parseFullDoc(new \ReflectionClass($class), '~^[ \t*]*@method[ \t]+(?:\S+[ \t]+)??(\w+)\(~m'),
+ $additionalMethods
+ ), $method);
+ throw new MemberAccessException("Call to undefined method $class::$method()" . ($hint ? ", did you mean $hint()?" : '.'));
}
- throw new MemberAccessException("Call to undefined method $class::$method()" . ($hint ? ", did you mean $hint()?" : '.'));
}
/** @throws MemberAccessException */
public static function strictStaticCall(string $class, string $method): void
{
- $hint = self::getSuggestion(
- array_filter((new \ReflectionClass($class))->getMethods(\ReflectionMethod::IS_PUBLIC), function ($m) { return $m->isStatic(); }),
- $method
- );
- throw new MemberAccessException("Call to undefined static method $class::$method()" . ($hint ? ", did you mean $hint()?" : '.'));
+ $trace = debug_backtrace(0, 3); // suppose this method is called from __callStatic()
+ $context = ($trace[1]['function'] ?? null) === '__callStatic'
+ ? ($trace[2]['class'] ?? null)
+ : null;
+
+ if ($context && is_a($class, $context, true) && method_exists($context, $method)) { // called parent::$method()
+ $class = get_parent_class($context);
+ }
+
+ if (method_exists($class, $method)) { // insufficient visibility
+ $rm = new \ReflectionMethod($class, $method);
+ $visibility = $rm->isPrivate()
+ ? 'private '
+ : ($rm->isProtected() ? 'protected ' : '');
+ throw new MemberAccessException("Call to {$visibility}method $class::$method() from " . ($context ? "scope $context." : 'global scope.'));
+
+ } else {
+ $hint = self::getSuggestion(
+ array_filter((new \ReflectionClass($class))->getMethods(\ReflectionMethod::IS_PUBLIC), function ($m) { return $m->isStatic(); }),
+ $method
+ );
+ throw new MemberAccessException("Call to undefined static method $class::$method()" . ($hint ? ", did you mean $hint()?" : '.'));
+ }
}
diff --git a/vendor/nette/utils/src/Utils/Paginator.php b/vendor/nette/utils/src/Utils/Paginator.php
index 5b37ee3d..57733bce 100644
--- a/vendor/nette/utils/src/Utils/Paginator.php
+++ b/vendor/nette/utils/src/Utils/Paginator.php
@@ -18,6 +18,8 @@ use Nette;
* @property int $page
* @property-read int $firstPage
* @property-read int|null $lastPage
+ * @property-read int $firstItemOnPage
+ * @property-read int $lastItemOnPage
* @property int $base
* @property-read bool $first
* @property-read bool $last
@@ -85,6 +87,26 @@ class Paginator
}
+ /**
+ * Returns the sequence number of the first element on the page
+ */
+ public function getFirstItemOnPage(): int
+ {
+ return $this->itemCount !== 0
+ ? $this->offset + 1
+ : 0;
+ }
+
+
+ /**
+ * Returns the sequence number of the last element on the page
+ */
+ public function getLastItemOnPage(): int
+ {
+ return $this->offset + $this->length;
+ }
+
+
/**
* Sets first page (base) number.
* @return static
diff --git a/vendor/nette/utils/src/Utils/Reflection.php b/vendor/nette/utils/src/Utils/Reflection.php
index cf62121e..0106a95e 100644
--- a/vendor/nette/utils/src/Utils/Reflection.php
+++ b/vendor/nette/utils/src/Utils/Reflection.php
@@ -22,6 +22,7 @@ final class Reflection
private const BUILTIN_TYPES = [
'string' => 1, 'int' => 1, 'float' => 1, 'bool' => 1, 'array' => 1, 'object' => 1,
'callable' => 1, 'iterable' => 1, 'void' => 1, 'null' => 1, 'mixed' => 1, 'false' => 1,
+ 'never' => 1,
];
@@ -37,27 +38,29 @@ final class Reflection
/**
* Returns the type of return value of given function or method and normalizes `self`, `static`, and `parent` to actual class names.
* If the function does not have a return type, it returns null.
- * If the function has union type, it throws Nette\InvalidStateException.
+ * If the function has union or intersection type, it throws Nette\InvalidStateException.
*/
public static function getReturnType(\ReflectionFunctionAbstract $func): ?string
{
- return self::getType($func, $func->getReturnType());
+ $type = $func->getReturnType() ?? (PHP_VERSION_ID >= 80100 && $func instanceof \ReflectionMethod ? $func->getTentativeReturnType() : null);
+ return self::getType($func, $type);
}
/**
- * Returns the types of return value of given function or method and normalizes `self`, `static`, and `parent` to actual class names.
+ * @deprecated
*/
public static function getReturnTypes(\ReflectionFunctionAbstract $func): array
{
- return self::getType($func, $func->getReturnType(), true);
+ $type = Type::fromReflection($func);
+ return $type ? $type->getNames() : [];
}
/**
* Returns the type of given parameter and normalizes `self` and `parent` to the actual class names.
* If the parameter does not have a type, it returns null.
- * If the parameter has union type, it throws Nette\InvalidStateException.
+ * If the parameter has union or intersection type, it throws Nette\InvalidStateException.
*/
public static function getParameterType(\ReflectionParameter $param): ?string
{
@@ -66,18 +69,19 @@ final class Reflection
/**
- * Returns the types of given parameter and normalizes `self` and `parent` to the actual class names.
+ * @deprecated
*/
public static function getParameterTypes(\ReflectionParameter $param): array
{
- return self::getType($param, $param->getType(), true);
+ $type = Type::fromReflection($param);
+ return $type ? $type->getNames() : [];
}
/**
* Returns the type of given property and normalizes `self` and `parent` to the actual class names.
* If the property does not have a type, it returns null.
- * If the property has union type, it throws Nette\InvalidStateException.
+ * If the property has union or intersection type, it throws Nette\InvalidStateException.
*/
public static function getPropertyType(\ReflectionProperty $prop): ?string
{
@@ -86,41 +90,28 @@ final class Reflection
/**
- * Returns the types of given property and normalizes `self` and `parent` to the actual class names.
+ * @deprecated
*/
public static function getPropertyTypes(\ReflectionProperty $prop): array
{
- return self::getType($prop, PHP_VERSION_ID >= 70400 ? $prop->getType() : null, true);
+ $type = Type::fromReflection($prop);
+ return $type ? $type->getNames() : [];
}
/**
* @param \ReflectionFunction|\ReflectionMethod|\ReflectionParameter|\ReflectionProperty $reflection
- * @return string|array|null
*/
- private static function getType($reflection, ?\ReflectionType $type, bool $asArray = false)
+ private static function getType($reflection, ?\ReflectionType $type): ?string
{
if ($type === null) {
- return $asArray ? [] : null;
+ return null;
} elseif ($type instanceof \ReflectionNamedType) {
- $name = self::normalizeType($type->getName(), $reflection);
- if ($asArray) {
- return $type->allowsNull() && $type->getName() !== 'mixed'
- ? [$name, 'null']
- : [$name];
- }
- return $name;
+ return Type::resolve($type->getName(), $reflection);
- } elseif ($type instanceof \ReflectionUnionType) {
- if ($asArray) {
- $types = [];
- foreach ($type->getTypes() as $type) {
- $types[] = self::normalizeType($type->getName(), $reflection);
- }
- return $types;
- }
- throw new Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union type.');
+ } elseif ($type instanceof \ReflectionUnionType || $type instanceof \ReflectionIntersectionType) {
+ throw new Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union or intersection type.');
} else {
throw new Nette\InvalidStateException('Unexpected type of ' . self::toString($reflection));
@@ -128,24 +119,6 @@ final class Reflection
}
- /**
- * @param \ReflectionFunction|\ReflectionMethod|\ReflectionParameter|\ReflectionProperty $reflection
- */
- private static function normalizeType(string $type, $reflection): string
- {
- $lower = strtolower($type);
- if ($reflection instanceof \ReflectionFunction) {
- return $type;
- } elseif ($lower === 'self' || $lower === 'static') {
- return $reflection->getDeclaringClass()->name;
- } elseif ($lower === 'parent' && $reflection->getDeclaringClass()->getParentClass()) {
- return $reflection->getDeclaringClass()->getParentClass()->name;
- } else {
- return $type;
- }
- }
-
-
/**
* Returns the default value of parameter. If it is a constant, it returns its value.
* @return mixed
@@ -157,7 +130,7 @@ final class Reflection
$const = $orig = $param->getDefaultValueConstantName();
$pair = explode('::', $const);
if (isset($pair[1])) {
- $pair[0] = self::normalizeType($pair[0], $param);
+ $pair[0] = Type::resolve($pair[0], $param);
try {
$rcc = new \ReflectionClassConstant($pair[0], $pair[1]);
} catch (\ReflectionException $e) {
@@ -343,6 +316,9 @@ final class Reflection
case T_CLASS:
case T_INTERFACE:
case T_TRAIT:
+ case PHP_VERSION_ID < 80100
+ ? T_CLASS
+ : T_ENUM:
if ($name = self::fetch($tokens, T_STRING)) {
$class = $namespace . $name;
$classLevel = $level + 1;
diff --git a/vendor/nette/utils/src/Utils/Strings.php b/vendor/nette/utils/src/Utils/Strings.php
index c7fb74d7..e5e626b4 100644
--- a/vendor/nette/utils/src/Utils/Strings.php
+++ b/vendor/nette/utils/src/Utils/Strings.php
@@ -425,7 +425,7 @@ class Strings
/**
- * Returns position in bytes of $nth occurence of $needle in $haystack or null if the $needle was not found.
+ * Returns position in characters of $nth occurence of $needle in $haystack or null if the $needle was not found.
* Negative value of `$nth` means searching from the end.
*/
public static function indexOf(string $haystack, string $needle, int $nth = 1): ?int
@@ -438,7 +438,7 @@ class Strings
/**
- * Returns position in bytes of $nth occurence of $needle in $haystack or null if the needle was not found.
+ * Returns position in characters of $nth occurence of $needle in $haystack or null if the needle was not found.
*/
private static function pos(string $haystack, string $needle, int $nth = 1): ?int
{
diff --git a/vendor/nette/utils/src/Utils/Type.php b/vendor/nette/utils/src/Utils/Type.php
new file mode 100644
index 00000000..49d5adbf
--- /dev/null
+++ b/vendor/nette/utils/src/Utils/Type.php
@@ -0,0 +1,240 @@
+getReturnType() ?? (PHP_VERSION_ID >= 80100 ? $reflection->getTentativeReturnType() : null);
+ } else {
+ $type = $reflection instanceof \ReflectionFunctionAbstract
+ ? $reflection->getReturnType()
+ : $reflection->getType();
+ }
+
+ if ($type === null) {
+ return null;
+
+ } elseif ($type instanceof \ReflectionNamedType) {
+ $name = self::resolve($type->getName(), $reflection);
+ return new self($type->allowsNull() && $type->getName() !== 'mixed' ? [$name, 'null'] : [$name]);
+
+ } elseif ($type instanceof \ReflectionUnionType || $type instanceof \ReflectionIntersectionType) {
+ return new self(
+ array_map(
+ function ($t) use ($reflection) { return self::resolve($t->getName(), $reflection); },
+ $type->getTypes()
+ ),
+ $type instanceof \ReflectionUnionType ? '|' : '&'
+ );
+
+ } else {
+ throw new Nette\InvalidStateException('Unexpected type of ' . Reflection::toString($reflection));
+ }
+ }
+
+
+ /**
+ * Creates the Type object according to the text notation.
+ */
+ public static function fromString(string $type): self
+ {
+ if (!preg_match('#(?:
+ \?([\w\\\\]+)|
+ [\w\\\\]+ (?: (&[\w\\\\]+)* | (\|[\w\\\\]+)* )
+ )()$#xAD', $type, $m)) {
+ throw new Nette\InvalidArgumentException("Invalid type '$type'.");
+ }
+ [, $nType, $iType] = $m;
+ if ($nType) {
+ return new self([$nType, 'null']);
+ } elseif ($iType) {
+ return new self(explode('&', $type), '&');
+ } else {
+ return new self(explode('|', $type));
+ }
+ }
+
+
+ /**
+ * Resolves 'self', 'static' and 'parent' to the actual class name.
+ * @param \ReflectionFunctionAbstract|\ReflectionParameter|\ReflectionProperty $reflection
+ */
+ public static function resolve(string $type, $reflection): string
+ {
+ $lower = strtolower($type);
+ if ($reflection instanceof \ReflectionFunction) {
+ return $type;
+ } elseif ($lower === 'self' || $lower === 'static') {
+ return $reflection->getDeclaringClass()->name;
+ } elseif ($lower === 'parent' && $reflection->getDeclaringClass()->getParentClass()) {
+ return $reflection->getDeclaringClass()->getParentClass()->name;
+ } else {
+ return $type;
+ }
+ }
+
+
+ private function __construct(array $types, string $kind = '|')
+ {
+ if ($types[0] === 'null') { // null as last
+ array_push($types, array_shift($types));
+ }
+ $this->types = $types;
+ $this->single = ($types[1] ?? 'null') === 'null';
+ $this->kind = count($types) > 1 ? $kind : '';
+ }
+
+
+ public function __toString(): string
+ {
+ return $this->single
+ ? (count($this->types) > 1 ? '?' : '') . $this->types[0]
+ : implode($this->kind, $this->types);
+ }
+
+
+ /**
+ * Returns the array of subtypes that make up the compound type as strings.
+ * @return string[]
+ */
+ public function getNames(): array
+ {
+ return $this->types;
+ }
+
+
+ /**
+ * Returns the array of subtypes that make up the compound type as Type objects:
+ * @return self[]
+ */
+ public function getTypes(): array
+ {
+ return array_map(function ($name) { return self::fromString($name); }, $this->types);
+ }
+
+
+ /**
+ * Returns the type name for single types, otherwise null.
+ */
+ public function getSingleName(): ?string
+ {
+ return $this->single
+ ? $this->types[0]
+ : null;
+ }
+
+
+ /**
+ * Returns true whether it is a union type.
+ */
+ public function isUnion(): bool
+ {
+ return $this->kind === '|';
+ }
+
+
+ /**
+ * Returns true whether it is an intersection type.
+ */
+ public function isIntersection(): bool
+ {
+ return $this->kind === '&';
+ }
+
+
+ /**
+ * Returns true whether it is a single type. Simple nullable types are also considered to be single types.
+ */
+ public function isSingle(): bool
+ {
+ return $this->single;
+ }
+
+
+ /**
+ * Returns true whether the type is both a single and a PHP built-in type.
+ */
+ public function isBuiltin(): bool
+ {
+ return $this->single && Reflection::isBuiltinType($this->types[0]);
+ }
+
+
+ /**
+ * Returns true whether the type is both a single and a class name.
+ */
+ public function isClass(): bool
+ {
+ return $this->single && !Reflection::isBuiltinType($this->types[0]);
+ }
+
+
+ /**
+ * Verifies type compatibility. For example, it checks if a value of a certain type could be passed as a parameter.
+ */
+ public function allows(string $type): bool
+ {
+ if ($this->types === ['mixed']) {
+ return true;
+ }
+
+ $type = self::fromString($type);
+
+ if ($this->isIntersection()) {
+ if (!$type->isIntersection()) {
+ return false;
+ }
+ return Arrays::every($this->types, function ($currentType) use ($type) {
+ $builtin = Reflection::isBuiltinType($currentType);
+ return Arrays::some($type->types, function ($testedType) use ($currentType, $builtin) {
+ return $builtin
+ ? strcasecmp($currentType, $testedType) === 0
+ : is_a($testedType, $currentType, true);
+ });
+ });
+ }
+
+ $method = $type->isIntersection() ? 'some' : 'every';
+ return Arrays::$method($type->types, function ($testedType) {
+ $builtin = Reflection::isBuiltinType($testedType);
+ return Arrays::some($this->types, function ($currentType) use ($testedType, $builtin) {
+ return $builtin
+ ? strcasecmp($currentType, $testedType) === 0
+ : is_a($testedType, $currentType, true);
+ });
+ });
+ }
+}
diff --git a/vendor/phpdocumentor/reflection-docblock/composer.json b/vendor/phpdocumentor/reflection-docblock/composer.json
index 7038f48a..d9076302 100644
--- a/vendor/phpdocumentor/reflection-docblock/composer.json
+++ b/vendor/phpdocumentor/reflection-docblock/composer.json
@@ -21,7 +21,8 @@
"ext-filter": "*"
},
"require-dev": {
- "mockery/mockery": "~1.3.2"
+ "mockery/mockery": "~1.3.2",
+ "psalm/phar": "^4.8"
},
"autoload": {
"psr-4": {
@@ -30,7 +31,7 @@
},
"autoload-dev": {
"psr-4": {
- "phpDocumentor\\Reflection\\": "tests/unit"
+ "phpDocumentor\\Reflection\\": ["tests/unit", "tests/integration"]
}
},
"extra": {
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock.php
index f3403d6e..cc33e60e 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock.php
@@ -14,6 +14,7 @@ declare(strict_types=1);
namespace phpDocumentor\Reflection;
use phpDocumentor\Reflection\DocBlock\Tag;
+use phpDocumentor\Reflection\DocBlock\Tags\TagWithType;
use Webmozart\Assert\Assert;
final class DocBlock
@@ -68,12 +69,12 @@ final class DocBlock
$this->isTemplateStart = $isTemplateStart;
}
- public function getSummary() : string
+ public function getSummary(): string
{
return $this->summary;
}
- public function getDescription() : DocBlock\Description
+ public function getDescription(): DocBlock\Description
{
return $this->description;
}
@@ -81,7 +82,7 @@ final class DocBlock
/**
* Returns the current context.
*/
- public function getContext() : ?Types\Context
+ public function getContext(): ?Types\Context
{
return $this->context;
}
@@ -89,7 +90,7 @@ final class DocBlock
/**
* Returns the current location.
*/
- public function getLocation() : ?Location
+ public function getLocation(): ?Location
{
return $this->location;
}
@@ -113,7 +114,7 @@ final class DocBlock
*
* @see self::isTemplateEnd() for the check whether a closing marker was provided.
*/
- public function isTemplateStart() : bool
+ public function isTemplateStart(): bool
{
return $this->isTemplateStart;
}
@@ -123,7 +124,7 @@ final class DocBlock
*
* @see self::isTemplateStart() for a more complete description of the Docblock Template functionality.
*/
- public function isTemplateEnd() : bool
+ public function isTemplateEnd(): bool
{
return $this->isTemplateEnd;
}
@@ -133,7 +134,7 @@ final class DocBlock
*
* @return Tag[]
*/
- public function getTags() : array
+ public function getTags(): array
{
return $this->tags;
}
@@ -146,7 +147,7 @@ final class DocBlock
*
* @return Tag[]
*/
- public function getTagsByName(string $name) : array
+ public function getTagsByName(string $name): array
{
$result = [];
@@ -161,12 +162,35 @@ final class DocBlock
return $result;
}
+ /**
+ * Returns an array of tags with type matching the given name. If no tags are found
+ * an empty array is returned.
+ *
+ * @param string $name String to search by.
+ *
+ * @return TagWithType[]
+ */
+ public function getTagsWithTypeByName(string $name): array
+ {
+ $result = [];
+
+ foreach ($this->getTagsByName($name) as $tag) {
+ if (!$tag instanceof TagWithType) {
+ continue;
+ }
+
+ $result[] = $tag;
+ }
+
+ return $result;
+ }
+
/**
* Checks if a tag of a certain type is present in this DocBlock.
*
* @param string $name Tag name to check for.
*/
- public function hasTag(string $name) : bool
+ public function hasTag(string $name): bool
{
foreach ($this->getTags() as $tag) {
if ($tag->getName() === $name) {
@@ -182,7 +206,7 @@ final class DocBlock
*
* @param Tag $tagToRemove The tag to remove.
*/
- public function removeTag(Tag $tagToRemove) : void
+ public function removeTag(Tag $tagToRemove): void
{
foreach ($this->tags as $key => $tag) {
if ($tag === $tagToRemove) {
@@ -197,7 +221,7 @@ final class DocBlock
*
* @param Tag $tag The tag to add.
*/
- private function addTag(Tag $tag) : void
+ private function addTag(Tag $tag): void
{
$this->tags[] = $tag;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php
index 7b11b808..a31b2892 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Description.php
@@ -15,6 +15,7 @@ namespace phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter\PassthroughFormatter;
+
use function vsprintf;
/**
@@ -71,7 +72,7 @@ class Description
/**
* Returns the body template.
*/
- public function getBodyTemplate() : string
+ public function getBodyTemplate(): string
{
return $this->bodyTemplate;
}
@@ -81,7 +82,7 @@ class Description
*
* @return Tag[]
*/
- public function getTags() : array
+ public function getTags(): array
{
return $this->tags;
}
@@ -90,7 +91,7 @@ class Description
* Renders this description as a string where the provided formatter will format the tags in the expected string
* format.
*/
- public function render(?Formatter $formatter = null) : string
+ public function render(?Formatter $formatter = null): string
{
if ($formatter === null) {
$formatter = new PassthroughFormatter();
@@ -107,7 +108,7 @@ class Description
/**
* Returns a plain string representation of this description.
*/
- public function __toString() : string
+ public function __toString(): string
{
return $this->render();
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php
index c27d2a01..1a519ec4 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/DescriptionFactory.php
@@ -15,8 +15,8 @@ namespace phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
+
use function count;
-use function explode;
use function implode;
use function ltrim;
use function min;
@@ -25,6 +25,7 @@ use function strlen;
use function strpos;
use function substr;
use function trim;
+
use const PREG_SPLIT_DELIM_CAPTURE;
/**
@@ -60,7 +61,7 @@ class DescriptionFactory
/**
* Returns the parsed text of this description.
*/
- public function create(string $contents, ?TypeContext $context = null) : Description
+ public function create(string $contents, ?TypeContext $context = null): Description
{
$tokens = $this->lex($contents);
$count = count($tokens);
@@ -88,7 +89,7 @@ class DescriptionFactory
*
* @return string[] A series of tokens of which the description text is composed.
*/
- private function lex(string $contents) : array
+ private function lex(string $contents): array
{
$contents = $this->removeSuperfluousStartingWhitespace($contents);
@@ -142,9 +143,9 @@ class DescriptionFactory
* If we do not normalize the indentation then we have superfluous whitespace on the second and subsequent
* lines and this may cause rendering issues when, for example, using a Markdown converter.
*/
- private function removeSuperfluousStartingWhitespace(string $contents) : string
+ private function removeSuperfluousStartingWhitespace(string $contents): string
{
- $lines = explode("\n", $contents);
+ $lines = Utils::pregSplit("/\r\n?|\n/", $contents);
// if there is only one line then we don't have lines with superfluous whitespace and
// can use the contents as-is
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php
index 7249efb0..6a6b4729 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/ExampleFinder.php
@@ -14,6 +14,7 @@ declare(strict_types=1);
namespace phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\DocBlock\Tags\Example;
+
use function array_slice;
use function file;
use function getcwd;
@@ -22,6 +23,7 @@ use function is_readable;
use function rtrim;
use function sprintf;
use function trim;
+
use const DIRECTORY_SEPARATOR;
/**
@@ -38,7 +40,7 @@ class ExampleFinder
/**
* Attempts to find the example contents for the given descriptor.
*/
- public function find(Example $example) : string
+ public function find(Example $example): string
{
$filename = $example->getFilePath();
@@ -53,7 +55,7 @@ class ExampleFinder
/**
* Registers the project's root directory where an 'examples' folder can be expected.
*/
- public function setSourceDirectory(string $directory = '') : void
+ public function setSourceDirectory(string $directory = ''): void
{
$this->sourceDirectory = $directory;
}
@@ -61,7 +63,7 @@ class ExampleFinder
/**
* Returns the project's root directory where an 'examples' folder can be expected.
*/
- public function getSourceDirectory() : string
+ public function getSourceDirectory(): string
{
return $this->sourceDirectory;
}
@@ -71,7 +73,7 @@ class ExampleFinder
*
* @param string[] $directories
*/
- public function setExampleDirectories(array $directories) : void
+ public function setExampleDirectories(array $directories): void
{
$this->exampleDirectories = $directories;
}
@@ -81,7 +83,7 @@ class ExampleFinder
*
* @return string[]
*/
- public function getExampleDirectories() : array
+ public function getExampleDirectories(): array
{
return $this->exampleDirectories;
}
@@ -99,7 +101,7 @@ class ExampleFinder
*
* @return string[] all lines of the example file
*/
- private function getExampleFileContents(string $filename) : ?array
+ private function getExampleFileContents(string $filename): ?array
{
$normalizedPath = null;
@@ -129,7 +131,7 @@ class ExampleFinder
/**
* Get example filepath based on the example directory inside your project.
*/
- private function getExamplePathFromExampleDirectory(string $file) : string
+ private function getExamplePathFromExampleDirectory(string $file): string
{
return getcwd() . DIRECTORY_SEPARATOR . 'examples' . DIRECTORY_SEPARATOR . $file;
}
@@ -137,7 +139,7 @@ class ExampleFinder
/**
* Returns a path to the example file in the given directory..
*/
- private function constructExamplePath(string $directory, string $file) : string
+ private function constructExamplePath(string $directory, string $file): string
{
return rtrim($directory, '\\/') . DIRECTORY_SEPARATOR . $file;
}
@@ -145,7 +147,7 @@ class ExampleFinder
/**
* Get example filepath based on sourcecode.
*/
- private function getExamplePathFromSource(string $file) : string
+ private function getExamplePathFromSource(string $file): string
{
return sprintf(
'%s%s%s',
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php
index 531970b9..77e5fb5f 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php
@@ -16,6 +16,7 @@ namespace phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter\PassthroughFormatter;
+
use function sprintf;
use function str_repeat;
use function str_replace;
@@ -41,6 +42,8 @@ class Serializer
/** @var Formatter A custom tag formatter. */
protected $tagFormatter;
+ /** @var string */
+ private $lineEnding;
/**
* Create a Serializer instance.
@@ -50,19 +53,22 @@ class Serializer
* @param bool $indentFirstLine Whether to indent the first line.
* @param int|null $lineLength The max length of a line or NULL to disable line wrapping.
* @param Formatter $tagFormatter A custom tag formatter, defaults to PassthroughFormatter.
+ * @param string $lineEnding Line ending used in the output, by default \n is used.
*/
public function __construct(
int $indent = 0,
string $indentString = ' ',
bool $indentFirstLine = true,
?int $lineLength = null,
- ?Formatter $tagFormatter = null
+ ?Formatter $tagFormatter = null,
+ string $lineEnding = "\n"
) {
$this->indent = $indent;
$this->indentString = $indentString;
$this->isFirstLineIndented = $indentFirstLine;
$this->lineLength = $lineLength;
$this->tagFormatter = $tagFormatter ?: new PassthroughFormatter();
+ $this->lineEnding = $lineEnding;
}
/**
@@ -72,7 +78,7 @@ class Serializer
*
* @return string The serialized doc block.
*/
- public function getDocComment(DocBlock $docblock) : string
+ public function getDocComment(DocBlock $docblock): string
{
$indent = str_repeat($this->indentString, $this->indent);
$firstIndent = $this->isFirstLineIndented ? $indent : '';
@@ -95,10 +101,10 @@ class Serializer
$comment = $this->addTagBlock($docblock, $wrapLength, $indent, $comment);
- return $comment . $indent . ' */';
+ return str_replace("\n", $this->lineEnding, $comment . $indent . ' */');
}
- private function removeTrailingSpaces(string $indent, string $text) : string
+ private function removeTrailingSpaces(string $indent, string $text): string
{
return str_replace(
sprintf("\n%s * \n", $indent),
@@ -107,7 +113,7 @@ class Serializer
);
}
- private function addAsterisksForEachLine(string $indent, string $text) : string
+ private function addAsterisksForEachLine(string $indent, string $text): string
{
return str_replace(
"\n",
@@ -116,7 +122,7 @@ class Serializer
);
}
- private function getSummaryAndDescriptionTextBlock(DocBlock $docblock, ?int $wrapLength) : string
+ private function getSummaryAndDescriptionTextBlock(DocBlock $docblock, ?int $wrapLength): string
{
$text = $docblock->getSummary() . ((string) $docblock->getDescription() ? "\n\n" . $docblock->getDescription()
: '');
@@ -129,7 +135,7 @@ class Serializer
return $text;
}
- private function addTagBlock(DocBlock $docblock, ?int $wrapLength, string $indent, string $comment) : string
+ private function addTagBlock(DocBlock $docblock, ?int $wrapLength, string $indent, string $comment): string
{
foreach ($docblock->getTags() as $tag) {
$tagText = $this->tagFormatter->format($tag);
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php
index e64b587e..8d765951 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php
@@ -39,6 +39,7 @@ use ReflectionMethod;
use ReflectionNamedType;
use ReflectionParameter;
use Webmozart\Assert\Assert;
+
use function array_merge;
use function array_slice;
use function call_user_func_array;
@@ -137,7 +138,7 @@ final class StandardTagFactory implements TagFactory
$this->addService($fqsenResolver, FqsenResolver::class);
}
- public function create(string $tagLine, ?TypeContext $context = null) : Tag
+ public function create(string $tagLine, ?TypeContext $context = null): Tag
{
if (!$context) {
$context = new TypeContext('');
@@ -151,17 +152,17 @@ final class StandardTagFactory implements TagFactory
/**
* @param mixed $value
*/
- public function addParameter(string $name, $value) : void
+ public function addParameter(string $name, $value): void
{
$this->serviceLocator[$name] = $value;
}
- public function addService(object $service, ?string $alias = null) : void
+ public function addService(object $service, ?string $alias = null): void
{
$this->serviceLocator[$alias ?: get_class($service)] = $service;
}
- public function registerTagHandler(string $tagName, string $handler) : void
+ public function registerTagHandler(string $tagName, string $handler): void
{
Assert::stringNotEmpty($tagName);
Assert::classExists($handler);
@@ -181,7 +182,7 @@ final class StandardTagFactory implements TagFactory
*
* @return string[]
*/
- private function extractTagParts(string $tagLine) : array
+ private function extractTagParts(string $tagLine): array
{
$matches = [];
if (!preg_match('/^@(' . self::REGEX_TAGNAME . ')((?:[\s\(\{])\s*([^\s].*)|$)/us', $tagLine, $matches)) {
@@ -201,7 +202,7 @@ final class StandardTagFactory implements TagFactory
* Creates a new tag object with the given name and body or returns null if the tag name was recognized but the
* body was invalid.
*/
- private function createTag(string $body, string $name, TypeContext $context) : Tag
+ private function createTag(string $body, string $name, TypeContext $context): Tag
{
$handlerClassName = $this->findHandlerClassName($name, $context);
$arguments = $this->getArgumentsForParametersFromWiring(
@@ -226,7 +227,7 @@ final class StandardTagFactory implements TagFactory
*
* @return class-string
*/
- private function findHandlerClassName(string $tagName, TypeContext $context) : string
+ private function findHandlerClassName(string $tagName, TypeContext $context): string
{
$handlerClassName = Generic::class;
if (isset($this->tagHandlerMappings[$tagName])) {
@@ -251,7 +252,7 @@ final class StandardTagFactory implements TagFactory
* @return mixed[] A series of values that can be passed to the Factory Method of the tag whose parameters
* is provided with this method.
*/
- private function getArgumentsForParametersFromWiring(array $parameters, array $locator) : array
+ private function getArgumentsForParametersFromWiring(array $parameters, array $locator): array
{
$arguments = [];
foreach ($parameters as $parameter) {
@@ -292,7 +293,7 @@ final class StandardTagFactory implements TagFactory
*
* @return ReflectionParameter[]
*/
- private function fetchParametersForHandlerFactoryMethod(string $handlerClassName) : array
+ private function fetchParametersForHandlerFactoryMethod(string $handlerClassName): array
{
if (!isset($this->tagHandlerParameterCache[$handlerClassName])) {
$methodReflection = new ReflectionMethod($handlerClassName, 'create');
@@ -319,7 +320,7 @@ final class StandardTagFactory implements TagFactory
TypeContext $context,
string $tagName,
string $tagBody
- ) : array {
+ ): array {
return array_merge(
$this->serviceLocator,
[
@@ -335,7 +336,7 @@ final class StandardTagFactory implements TagFactory
*
* @todo this method should be populated once we implement Annotation notation support.
*/
- private function isAnnotation(string $tagContent) : bool
+ private function isAnnotation(string $tagContent): bool
{
// 1. Contains a namespace separator
// 2. Contains parenthesis
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php
index f55de916..7cf07b4d 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tag.php
@@ -17,16 +17,15 @@ use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
interface Tag
{
- public function getName() : string;
+ public function getName(): string;
/**
* @return Tag|mixed Class that implements Tag
- *
* @phpstan-return ?Tag
*/
public static function create(string $body);
- public function render(?Formatter $formatter = null) : string;
+ public function render(?Formatter $formatter = null): string;
- public function __toString() : string;
+ public function __toString(): string;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php
index 0d318d1b..c0868dcb 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/TagFactory.php
@@ -38,7 +38,7 @@ interface TagFactory
*
* @param mixed $value
*/
- public function addParameter(string $name, $value) : void;
+ public function addParameter(string $name, $value): void;
/**
* Factory method responsible for instantiating the correct sub type.
@@ -49,7 +49,7 @@ interface TagFactory
*
* @throws InvalidArgumentException If an invalid tag line was presented.
*/
- public function create(string $tagLine, ?TypeContext $context = null) : Tag;
+ public function create(string $tagLine, ?TypeContext $context = null): Tag;
/**
* Registers a service with the Service Locator using the FQCN of the class or the alias, if provided.
@@ -60,7 +60,7 @@ interface TagFactory
* Because interfaces are regularly used as type-hints this method provides an alias parameter; if the FQCN of the
* interface is passed as alias then every time that interface is requested the provided service will be returned.
*/
- public function addService(object $service) : void;
+ public function addService(object $service): void;
/**
* Registers a handler for tags.
@@ -80,5 +80,5 @@ interface TagFactory
* @throws InvalidArgumentException If the handler is not an existing class.
* @throws InvalidArgumentException If the handler does not implement the {@see Tag} interface.
*/
- public function registerTagHandler(string $tagName, string $handler) : void;
+ public function registerTagHandler(string $tagName, string $handler): void;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php
index d1207571..ae09ecf4 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php
@@ -14,9 +14,11 @@ declare(strict_types=1);
namespace phpDocumentor\Reflection\DocBlock\Tags;
use InvalidArgumentException;
+
use function filter_var;
use function preg_match;
use function trim;
+
use const FILTER_VALIDATE_EMAIL;
/**
@@ -51,7 +53,7 @@ final class Author extends BaseTag implements Factory\StaticMethod
*
* @return string The author's name.
*/
- public function getAuthorName() : string
+ public function getAuthorName(): string
{
return $this->authorName;
}
@@ -61,7 +63,7 @@ final class Author extends BaseTag implements Factory\StaticMethod
*
* @return string The author's email.
*/
- public function getEmail() : string
+ public function getEmail(): string
{
return $this->authorEmail;
}
@@ -69,7 +71,7 @@ final class Author extends BaseTag implements Factory\StaticMethod
/**
* Returns this tag in string form.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->authorEmail) {
$authorEmail = '<' . $this->authorEmail . '>';
@@ -77,15 +79,15 @@ final class Author extends BaseTag implements Factory\StaticMethod
$authorEmail = '';
}
- $authorName = (string) $this->authorName;
+ $authorName = $this->authorName;
return $authorName . ($authorEmail !== '' ? ($authorName !== '' ? ' ' : '') . $authorEmail : '');
}
/**
- * Attempts to create a new Author object based on †he tag body.
+ * Attempts to create a new Author object based on the tag body.
*/
- public static function create(string $body) : ?self
+ public static function create(string $body): ?self
{
$splitTagContent = preg_match('/^([^\<]*)(?:\<([^\>]*)\>)?$/u', $body, $matches);
if (!$splitTagContent) {
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php
index fbcd4022..a28d5bf9 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php
@@ -32,17 +32,17 @@ abstract class BaseTag implements DocBlock\Tag
*
* @return string The name of this tag.
*/
- public function getName() : string
+ public function getName(): string
{
return $this->name;
}
- public function getDescription() : ?Description
+ public function getDescription(): ?Description
{
return $this->description;
}
- public function render(?Formatter $formatter = null) : string
+ public function render(?Formatter $formatter = null): string
{
if ($formatter === null) {
$formatter = new Formatter\PassthroughFormatter();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php
index 9e52e5e4..3eff9d8b 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Covers.php
@@ -20,6 +20,7 @@ use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_key_exists;
use function explode;
@@ -48,7 +49,7 @@ final class Covers extends BaseTag implements Factory\StaticMethod
?DescriptionFactory $descriptionFactory = null,
?FqsenResolver $resolver = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($body);
Assert::notNull($descriptionFactory);
Assert::notNull($resolver);
@@ -61,7 +62,7 @@ final class Covers extends BaseTag implements Factory\StaticMethod
);
}
- private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context) : Fqsen
+ private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context): Fqsen
{
Assert::notNull($fqsenResolver);
$fqsenParts = explode('::', $parts);
@@ -77,7 +78,7 @@ final class Covers extends BaseTag implements Factory\StaticMethod
/**
* Returns the structural element this tag refers to.
*/
- public function getReference() : Fqsen
+ public function getReference(): Fqsen
{
return $this->refers;
}
@@ -85,7 +86,7 @@ final class Covers extends BaseTag implements Factory\StaticMethod
/**
* Returns a string representation of this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php
index 68e8f036..dbcad28c 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Deprecated.php
@@ -17,6 +17,7 @@ use phpDocumentor\Reflection\DocBlock\Description;
use phpDocumentor\Reflection\DocBlock\DescriptionFactory;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use Webmozart\Assert\Assert;
+
use function preg_match;
/**
@@ -61,7 +62,7 @@ final class Deprecated extends BaseTag implements Factory\StaticMethod
?string $body,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
if (empty($body)) {
return new static();
}
@@ -85,7 +86,7 @@ final class Deprecated extends BaseTag implements Factory\StaticMethod
/**
* Gets the version section of the tag.
*/
- public function getVersion() : ?string
+ public function getVersion(): ?string
{
return $this->version;
}
@@ -93,7 +94,7 @@ final class Deprecated extends BaseTag implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php
index 3face1ef..825355aa 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Example.php
@@ -15,6 +15,7 @@ namespace phpDocumentor\Reflection\DocBlock\Tags;
use phpDocumentor\Reflection\DocBlock\Tag;
use Webmozart\Assert\Assert;
+
use function array_key_exists;
use function preg_match;
use function rawurlencode;
@@ -66,7 +67,7 @@ final class Example implements Tag, Factory\StaticMethod
$this->isURI = $isURI;
}
- public function getContent() : string
+ public function getContent(): string
{
if ($this->content === null || $this->content === '') {
$filePath = $this->filePath;
@@ -82,12 +83,12 @@ final class Example implements Tag, Factory\StaticMethod
return $this->content;
}
- public function getDescription() : ?string
+ public function getDescription(): ?string
{
return $this->content;
}
- public static function create(string $body) : ?Tag
+ public static function create(string $body): ?Tag
{
// File component: File path in quotes or File URI / Source information
if (!preg_match('/^\s*(?:(\"[^\"]+\")|(\S+))(?:\s+(.*))?$/sux', $body, $matches)) {
@@ -137,7 +138,7 @@ final class Example implements Tag, Factory\StaticMethod
* @return string Path to a file to use as an example.
* May also be an absolute URI.
*/
- public function getFilePath() : string
+ public function getFilePath(): string
{
return trim($this->filePath, '"');
}
@@ -145,9 +146,9 @@ final class Example implements Tag, Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
- $filePath = (string) $this->filePath;
+ $filePath = $this->filePath;
$isDefaultLine = $this->startingLine === 1 && $this->lineCount === 0;
$startingLine = !$isDefaultLine ? (string) $this->startingLine : '';
$lineCount = !$isDefaultLine ? (string) $this->lineCount : '';
@@ -168,27 +169,27 @@ final class Example implements Tag, Factory\StaticMethod
/**
* Returns true if the provided URI is relative or contains a complete scheme (and thus is absolute).
*/
- private function isUriRelative(string $uri) : bool
+ private function isUriRelative(string $uri): bool
{
return strpos($uri, ':') === false;
}
- public function getStartingLine() : int
+ public function getStartingLine(): int
{
return $this->startingLine;
}
- public function getLineCount() : int
+ public function getLineCount(): int
{
return $this->lineCount;
}
- public function getName() : string
+ public function getName(): string
{
return 'example';
}
- public function render(?Formatter $formatter = null) : string
+ public function render(?Formatter $formatter = null): string
{
if ($formatter === null) {
$formatter = new Formatter\PassthroughFormatter();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter.php
index 92fb9e6c..36b9983e 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter.php
@@ -20,5 +20,5 @@ interface Formatter
/**
* Formats a tag into a string representation according to a specific format, such as Markdown.
*/
- public function format(Tag $tag) : string;
+ public function format(Tag $tag): string;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php
index b1a406c0..94644343 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/AlignFormatter.php
@@ -15,6 +15,7 @@ namespace phpDocumentor\Reflection\DocBlock\Tags\Formatter;
use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
+
use function max;
use function str_repeat;
use function strlen;
@@ -37,7 +38,7 @@ class AlignFormatter implements Formatter
/**
* Formats the given tag to return a simple plain text version.
*/
- public function format(Tag $tag) : string
+ public function format(Tag $tag): string
{
return '@' . $tag->getName() .
str_repeat(
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php
index f26d22fb..2afdfe55 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Formatter/PassthroughFormatter.php
@@ -15,6 +15,7 @@ namespace phpDocumentor\Reflection\DocBlock\Tags\Formatter;
use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
+
use function trim;
class PassthroughFormatter implements Formatter
@@ -22,7 +23,7 @@ class PassthroughFormatter implements Formatter
/**
* Formats the given tag to return a simple plain text version.
*/
- public function format(Tag $tag) : string
+ public function format(Tag $tag): string
{
return trim('@' . $tag->getName() . ' ' . $tag);
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php
index a7b423f5..bc1ab10c 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Generic.php
@@ -19,6 +19,7 @@ use phpDocumentor\Reflection\DocBlock\DescriptionFactory;
use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use Webmozart\Assert\Assert;
+
use function preg_match;
/**
@@ -50,7 +51,7 @@ final class Generic extends BaseTag implements Factory\StaticMethod
string $name = '',
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($name);
Assert::notNull($descriptionFactory);
@@ -62,7 +63,7 @@ final class Generic extends BaseTag implements Factory\StaticMethod
/**
* Returns the tag as a serialized string
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
@@ -76,7 +77,7 @@ final class Generic extends BaseTag implements Factory\StaticMethod
/**
* Validates if the tag name matches the expected format, otherwise throws an exception.
*/
- private function validateTagName(string $name) : void
+ private function validateTagName(string $name): void
{
if (!preg_match('/^' . StandardTagFactory::REGEX_TAGNAME . '$/u', $name)) {
throw new InvalidArgumentException(
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php
index e3deb5a8..4e6abb8c 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/InvalidTag.php
@@ -11,6 +11,7 @@ use ReflectionClass;
use ReflectionException;
use ReflectionFunction;
use Throwable;
+
use function array_map;
use function get_class;
use function get_resource_type;
@@ -46,22 +47,22 @@ final class InvalidTag implements Tag
$this->body = $body;
}
- public function getException() : ?Throwable
+ public function getException(): ?Throwable
{
return $this->throwable;
}
- public function getName() : string
+ public function getName(): string
{
return $this->name;
}
- public static function create(string $body, string $name = '') : self
+ public static function create(string $body, string $name = ''): self
{
return new self($name, $body);
}
- public function withError(Throwable $exception) : self
+ public function withError(Throwable $exception): self
{
$this->flattenExceptionBacktrace($exception);
$tag = new self($this->name, $this->body);
@@ -76,7 +77,7 @@ final class InvalidTag implements Tag
* Not all objects are serializable. So we need to remove them from the
* stored exception to be sure that we do not break existing library usage.
*/
- private function flattenExceptionBacktrace(Throwable $exception) : void
+ private function flattenExceptionBacktrace(Throwable $exception): void
{
$traceProperty = (new ReflectionClass(Exception::class))->getProperty('trace');
$traceProperty->setAccessible(true);
@@ -85,8 +86,8 @@ final class InvalidTag implements Tag
$trace = $exception->getTrace();
if (isset($trace[0]['args'])) {
$trace = array_map(
- function (array $call) : array {
- $call['args'] = array_map([$this, 'flattenArguments'], $call['args']);
+ function (array $call): array {
+ $call['args'] = array_map([$this, 'flattenArguments'], $call['args'] ?? []);
return $call;
},
@@ -128,7 +129,7 @@ final class InvalidTag implements Tag
return $value;
}
- public function render(?Formatter $formatter = null) : string
+ public function render(?Formatter $formatter = null): string
{
if ($formatter === null) {
$formatter = new Formatter\PassthroughFormatter();
@@ -137,7 +138,7 @@ final class InvalidTag implements Tag
return $formatter->format($this);
}
- public function __toString() : string
+ public function __toString(): string
{
return $this->body;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php
index 226bbe0f..ee242e3b 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php
@@ -43,7 +43,7 @@ final class Link extends BaseTag implements Factory\StaticMethod
string $body,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::notNull($descriptionFactory);
$parts = Utils::pregSplit('/\s+/Su', $body, 2);
@@ -55,7 +55,7 @@ final class Link extends BaseTag implements Factory\StaticMethod
/**
* Gets the link
*/
- public function getLink() : string
+ public function getLink(): string
{
return $this->link;
}
@@ -63,7 +63,7 @@ final class Link extends BaseTag implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
@@ -71,7 +71,7 @@ final class Link extends BaseTag implements Factory\StaticMethod
$description = '';
}
- $link = (string) $this->link;
+ $link = $this->link;
return $link . ($description !== '' ? ($link !== '' ? ' ' : '') . $description : '');
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php
index 08c0407e..f08bfffd 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Method.php
@@ -22,6 +22,7 @@ use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Types\Mixed_;
use phpDocumentor\Reflection\Types\Void_;
use Webmozart\Assert\Assert;
+
use function array_keys;
use function explode;
use function implode;
@@ -58,7 +59,6 @@ final class Method extends BaseTag implements Factory\StaticMethod
/**
* @param array> $arguments
- *
* @phpstan-param array $arguments
*/
public function __construct(
@@ -86,7 +86,7 @@ final class Method extends BaseTag implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : ?self {
+ ): ?self {
Assert::stringNotEmpty($body);
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -100,8 +100,9 @@ final class Method extends BaseTag implements Factory\StaticMethod
// 5. then a word with underscores, followed by ( and any character
// until a ) and whitespace : as method name with signature
// 6. any remaining text : as description
- if (!preg_match(
- '/^
+ if (
+ !preg_match(
+ '/^
# Static keyword
# Declares a static method ONLY if type is also present
(?:
@@ -131,9 +132,10 @@ final class Method extends BaseTag implements Factory\StaticMethod
# Description
(.*)
$/sux',
- $body,
- $matches
- )) {
+ $body,
+ $matches
+ )
+ ) {
return null;
}
@@ -176,17 +178,16 @@ final class Method extends BaseTag implements Factory\StaticMethod
/**
* Retrieves the method name.
*/
- public function getMethodName() : string
+ public function getMethodName(): string
{
return $this->methodName;
}
/**
* @return array>
- *
* @phpstan-return array
*/
- public function getArguments() : array
+ public function getArguments(): array
{
return $this->arguments;
}
@@ -196,17 +197,17 @@ final class Method extends BaseTag implements Factory\StaticMethod
*
* @return bool TRUE if the method declaration is for a static method, FALSE otherwise.
*/
- public function isStatic() : bool
+ public function isStatic(): bool
{
return $this->isStatic;
}
- public function getReturnType() : Type
+ public function getReturnType(): Type
{
return $this->returnType;
}
- public function __toString() : string
+ public function __toString(): string
{
$arguments = [];
foreach ($this->arguments as $argument) {
@@ -225,7 +226,7 @@ final class Method extends BaseTag implements Factory\StaticMethod
$returnType = (string) $this->returnType;
- $methodName = (string) $this->methodName;
+ $methodName = $this->methodName;
return $static
. ($returnType !== '' ? ($static !== '' ? ' ' : '') . $returnType : '')
@@ -236,13 +237,12 @@ final class Method extends BaseTag implements Factory\StaticMethod
/**
* @param mixed[][]|string[] $arguments
+ * @phpstan-param array $arguments
*
* @return mixed[][]
- *
- * @phpstan-param array $arguments
* @phpstan-return array
*/
- private function filterArguments(array $arguments = []) : array
+ private function filterArguments(array $arguments = []): array
{
$result = [];
foreach ($arguments as $argument) {
@@ -268,7 +268,7 @@ final class Method extends BaseTag implements Factory\StaticMethod
return $result;
}
- private static function stripRestArg(string $argument) : string
+ private static function stripRestArg(string $argument): string
{
if (strpos($argument, '...') === 0) {
$argument = trim(substr($argument, 3));
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php
index 83419e9c..3399649b 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Param.php
@@ -20,11 +20,13 @@ use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_shift;
use function array_unshift;
use function implode;
use function strpos;
use function substr;
+
use const PREG_SPLIT_DELIM_CAPTURE;
/**
@@ -61,7 +63,7 @@ final class Param extends TagWithType implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($body);
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -114,7 +116,7 @@ final class Param extends TagWithType implements Factory\StaticMethod
/**
* Returns the variable's name.
*/
- public function getVariableName() : ?string
+ public function getVariableName(): ?string
{
return $this->variableName;
}
@@ -122,7 +124,7 @@ final class Param extends TagWithType implements Factory\StaticMethod
/**
* Returns whether this tag is variadic.
*/
- public function isVariadic() : bool
+ public function isVariadic(): bool
{
return $this->isVariadic;
}
@@ -130,7 +132,7 @@ final class Param extends TagWithType implements Factory\StaticMethod
/**
* Returns whether this tag is passed by reference.
*/
- public function isReference() : bool
+ public function isReference(): bool
{
return $this->isReference;
}
@@ -138,7 +140,7 @@ final class Param extends TagWithType implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
@@ -159,7 +161,7 @@ final class Param extends TagWithType implements Factory\StaticMethod
. ($description !== '' ? ($type !== '' || $variableName !== '' ? ' ' : '') . $description : '');
}
- private static function strStartsWithVariable(string $str) : bool
+ private static function strStartsWithVariable(string $str): bool
{
return strpos($str, '$') === 0
||
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php
index 03897578..2521fb3f 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Property.php
@@ -20,11 +20,13 @@ use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_shift;
use function array_unshift;
use function implode;
use function strpos;
use function substr;
+
use const PREG_SPLIT_DELIM_CAPTURE;
/**
@@ -50,7 +52,7 @@ final class Property extends TagWithType implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($body);
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -88,7 +90,7 @@ final class Property extends TagWithType implements Factory\StaticMethod
/**
* Returns the variable's name.
*/
- public function getVariableName() : ?string
+ public function getVariableName(): ?string
{
return $this->variableName;
}
@@ -96,7 +98,7 @@ final class Property extends TagWithType implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php
index 7ff55d50..9491b39c 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyRead.php
@@ -20,11 +20,13 @@ use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_shift;
use function array_unshift;
use function implode;
use function strpos;
use function substr;
+
use const PREG_SPLIT_DELIM_CAPTURE;
/**
@@ -50,7 +52,7 @@ final class PropertyRead extends TagWithType implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($body);
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -88,7 +90,7 @@ final class PropertyRead extends TagWithType implements Factory\StaticMethod
/**
* Returns the variable's name.
*/
- public function getVariableName() : ?string
+ public function getVariableName(): ?string
{
return $this->variableName;
}
@@ -96,7 +98,7 @@ final class PropertyRead extends TagWithType implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php
index cc1e4b61..2bfdac6a 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/PropertyWrite.php
@@ -20,11 +20,13 @@ use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_shift;
use function array_unshift;
use function implode;
use function strpos;
use function substr;
+
use const PREG_SPLIT_DELIM_CAPTURE;
/**
@@ -50,7 +52,7 @@ final class PropertyWrite extends TagWithType implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($body);
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -88,7 +90,7 @@ final class PropertyWrite extends TagWithType implements Factory\StaticMethod
/**
* Returns the variable's name.
*/
- public function getVariableName() : ?string
+ public function getVariableName(): ?string
{
return $this->variableName;
}
@@ -96,7 +98,7 @@ final class PropertyWrite extends TagWithType implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php
index cede74c1..532003dd 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Fqsen.php
@@ -31,7 +31,7 @@ final class Fqsen implements Reference
/**
* @return string string representation of the referenced fqsen
*/
- public function __toString() : string
+ public function __toString(): string
{
return (string) $this->fqsen;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php
index 5eedcbc3..e7dea868 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php
@@ -18,5 +18,5 @@ namespace phpDocumentor\Reflection\DocBlock\Tags\Reference;
*/
interface Reference
{
- public function __toString() : string;
+ public function __toString(): string;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php
index 1b2374b9..edfba3fd 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Url.php
@@ -29,7 +29,7 @@ final class Url implements Reference
$this->uri = $uri;
}
- public function __toString() : string
+ public function __toString(): string
{
return $this->uri;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php
index 546a0eaa..f021b609 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php
@@ -37,7 +37,7 @@ final class Return_ extends TagWithType implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -49,7 +49,7 @@ final class Return_ extends TagWithType implements Factory\StaticMethod
return new static($type, $description);
}
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
@@ -59,6 +59,6 @@ final class Return_ extends TagWithType implements Factory\StaticMethod
$type = $this->type ? '' . $this->type : 'mixed';
- return $type . ($description !== '' ? ($type !== '' ? ' ' : '') . $description : '');
+ return $type . ($description !== '' ? ' ' . $description : '');
}
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php
index 73311df7..a194c7de 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/See.php
@@ -23,6 +23,7 @@ use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_key_exists;
use function explode;
use function preg_match;
@@ -52,21 +53,21 @@ final class See extends BaseTag implements Factory\StaticMethod
?FqsenResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::notNull($descriptionFactory);
$parts = Utils::pregSplit('/\s+/Su', $body, 2);
$description = isset($parts[1]) ? $descriptionFactory->create($parts[1], $context) : null;
// https://tools.ietf.org/html/rfc2396#section-3
- if (preg_match('/\w:\/\/\w/i', $parts[0])) {
+ if (preg_match('#\w://\w#', $parts[0])) {
return new static(new Url($parts[0]), $description);
}
return new static(new FqsenRef(self::resolveFqsen($parts[0], $typeResolver, $context)), $description);
}
- private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context) : Fqsen
+ private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context): Fqsen
{
Assert::notNull($fqsenResolver);
$fqsenParts = explode('::', $parts);
@@ -82,7 +83,7 @@ final class See extends BaseTag implements Factory\StaticMethod
/**
* Returns the ref of this tag.
*/
- public function getReference() : Reference
+ public function getReference(): Reference
{
return $this->refers;
}
@@ -90,7 +91,7 @@ final class See extends BaseTag implements Factory\StaticMethod
/**
* Returns a string representation of this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php
index 32de527b..54af43cd 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Since.php
@@ -17,6 +17,7 @@ use phpDocumentor\Reflection\DocBlock\Description;
use phpDocumentor\Reflection\DocBlock\DescriptionFactory;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use Webmozart\Assert\Assert;
+
use function preg_match;
/**
@@ -58,7 +59,7 @@ final class Since extends BaseTag implements Factory\StaticMethod
?string $body,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : ?self {
+ ): ?self {
if (empty($body)) {
return new static();
}
@@ -79,7 +80,7 @@ final class Since extends BaseTag implements Factory\StaticMethod
/**
* Gets the version section of the tag.
*/
- public function getVersion() : ?string
+ public function getVersion(): ?string
{
return $this->version;
}
@@ -87,7 +88,7 @@ final class Since extends BaseTag implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php
index f0c31014..8b8c0fb4 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php
@@ -17,6 +17,7 @@ use phpDocumentor\Reflection\DocBlock\Description;
use phpDocumentor\Reflection\DocBlock\DescriptionFactory;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use Webmozart\Assert\Assert;
+
use function preg_match;
/**
@@ -51,7 +52,7 @@ final class Source extends BaseTag implements Factory\StaticMethod
string $body,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($body);
Assert::notNull($descriptionFactory);
@@ -69,7 +70,7 @@ final class Source extends BaseTag implements Factory\StaticMethod
$description = $matches[3];
}
- return new static($startingLine, $lineCount, $descriptionFactory->create($description??'', $context));
+ return new static($startingLine, $lineCount, $descriptionFactory->create($description ?? '', $context));
}
/**
@@ -78,7 +79,7 @@ final class Source extends BaseTag implements Factory\StaticMethod
* @return int The starting line, relative to the structural element's
* location.
*/
- public function getStartingLine() : int
+ public function getStartingLine(): int
{
return $this->startingLine;
}
@@ -89,12 +90,12 @@ final class Source extends BaseTag implements Factory\StaticMethod
* @return int|null The number of lines, relative to the starting line. NULL
* means "to the end".
*/
- public function getLineCount() : ?int
+ public function getLineCount(): ?int
{
return $this->lineCount;
}
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
@@ -104,14 +105,12 @@ final class Source extends BaseTag implements Factory\StaticMethod
$startingLine = (string) $this->startingLine;
- $lineCount = $this->lineCount !== null ? '' . $this->lineCount : '';
+ $lineCount = $this->lineCount !== null ? ' ' . $this->lineCount : '';
return $startingLine
- . ($lineCount !== ''
- ? ($startingLine || $startingLine === '0' ? ' ' : '') . $lineCount
- : '')
+ . $lineCount
. ($description !== ''
- ? ($startingLine || $startingLine === '0' || $lineCount !== '' ? ' ' : '') . $description
+ ? ' ' . $description
: '');
}
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php
index 0083d34b..158578bd 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/TagWithType.php
@@ -14,6 +14,7 @@ declare(strict_types=1);
namespace phpDocumentor\Reflection\DocBlock\Tags;
use phpDocumentor\Reflection\Type;
+
use function in_array;
use function strlen;
use function substr;
@@ -27,7 +28,7 @@ abstract class TagWithType extends BaseTag
/**
* Returns the type section of the variable.
*/
- public function getType() : ?Type
+ public function getType(): ?Type
{
return $this->type;
}
@@ -35,7 +36,7 @@ abstract class TagWithType extends BaseTag
/**
* @return string[]
*/
- protected static function extractTypeFromBody(string $body) : array
+ protected static function extractTypeFromBody(string $body): array
{
$type = '';
$nestingLevel = 0;
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php
index d4dc9472..f21c9101 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Throws.php
@@ -37,7 +37,7 @@ final class Throws extends TagWithType implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -49,7 +49,7 @@ final class Throws extends TagWithType implements Factory\StaticMethod
return new static($type, $description);
}
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php
index 4d52afcc..b72f4034 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Uses.php
@@ -20,6 +20,7 @@ use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_key_exists;
use function explode;
@@ -48,7 +49,7 @@ final class Uses extends BaseTag implements Factory\StaticMethod
?FqsenResolver $resolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::notNull($resolver);
Assert::notNull($descriptionFactory);
@@ -60,7 +61,7 @@ final class Uses extends BaseTag implements Factory\StaticMethod
);
}
- private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context) : Fqsen
+ private static function resolveFqsen(string $parts, ?FqsenResolver $fqsenResolver, ?TypeContext $context): Fqsen
{
Assert::notNull($fqsenResolver);
$fqsenParts = explode('::', $parts);
@@ -76,7 +77,7 @@ final class Uses extends BaseTag implements Factory\StaticMethod
/**
* Returns the structural element this tag refers to.
*/
- public function getReference() : Fqsen
+ public function getReference(): Fqsen
{
return $this->refers;
}
@@ -84,7 +85,7 @@ final class Uses extends BaseTag implements Factory\StaticMethod
/**
* Returns a string representation of this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php
index 762c262f..fa1f9dbf 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Var_.php
@@ -20,11 +20,13 @@ use phpDocumentor\Reflection\TypeResolver;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use phpDocumentor\Reflection\Utils;
use Webmozart\Assert\Assert;
+
use function array_shift;
use function array_unshift;
use function implode;
use function strpos;
use function substr;
+
use const PREG_SPLIT_DELIM_CAPTURE;
/**
@@ -50,7 +52,7 @@ final class Var_ extends TagWithType implements Factory\StaticMethod
?TypeResolver $typeResolver = null,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : self {
+ ): self {
Assert::stringNotEmpty($body);
Assert::notNull($typeResolver);
Assert::notNull($descriptionFactory);
@@ -89,7 +91,7 @@ final class Var_ extends TagWithType implements Factory\StaticMethod
/**
* Returns the variable's name.
*/
- public function getVariableName() : ?string
+ public function getVariableName(): ?string
{
return $this->variableName;
}
@@ -97,7 +99,7 @@ final class Var_ extends TagWithType implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php
index 460c86d7..f46e4b8c 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Version.php
@@ -17,6 +17,7 @@ use phpDocumentor\Reflection\DocBlock\Description;
use phpDocumentor\Reflection\DocBlock\DescriptionFactory;
use phpDocumentor\Reflection\Types\Context as TypeContext;
use Webmozart\Assert\Assert;
+
use function preg_match;
/**
@@ -58,7 +59,7 @@ final class Version extends BaseTag implements Factory\StaticMethod
?string $body,
?DescriptionFactory $descriptionFactory = null,
?TypeContext $context = null
- ) : ?self {
+ ): ?self {
if (empty($body)) {
return new static();
}
@@ -82,7 +83,7 @@ final class Version extends BaseTag implements Factory\StaticMethod
/**
* Gets the version section of the tag.
*/
- public function getVersion() : ?string
+ public function getVersion(): ?string
{
return $this->version;
}
@@ -90,7 +91,7 @@ final class Version extends BaseTag implements Factory\StaticMethod
/**
* Returns a string representation for this tag.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->description) {
$description = $this->description->render();
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
index cf04e5a5..37f72dd2 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php
@@ -20,6 +20,7 @@ use phpDocumentor\Reflection\DocBlock\StandardTagFactory;
use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\TagFactory;
use Webmozart\Assert\Assert;
+
use function array_shift;
use function count;
use function explode;
@@ -54,7 +55,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
*
* @param array> $additionalTags
*/
- public static function createInstance(array $additionalTags = []) : self
+ public static function createInstance(array $additionalTags = []): self
{
$fqsenResolver = new FqsenResolver();
$tagFactory = new StandardTagFactory($fqsenResolver);
@@ -75,7 +76,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
* @param object|string $docblock A string containing the DocBlock to parse or an object supporting the
* getDocComment method (such as a ReflectionClass object).
*/
- public function create($docblock, ?Types\Context $context = null, ?Location $location = null) : DocBlock
+ public function create($docblock, ?Types\Context $context = null, ?Location $location = null): DocBlock
{
if (is_object($docblock)) {
if (!method_exists($docblock, 'getDocComment')) {
@@ -112,7 +113,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
/**
* @param class-string $handler
*/
- public function registerTagHandler(string $tagName, string $handler) : void
+ public function registerTagHandler(string $tagName, string $handler): void
{
$this->tagFactory->registerTagHandler($tagName, $handler);
}
@@ -122,7 +123,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
*
* @param string $comment String containing the comment text.
*/
- private function stripDocComment(string $comment) : string
+ private function stripDocComment(string $comment): string
{
$comment = preg_replace('#[ \t]*(?:\/\*\*|\*\/|\*)?[ \t]?(.*)?#u', '$1', $comment);
Assert::string($comment);
@@ -231,7 +232,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
*
* @return DocBlock\Tag[]
*/
- private function parseTagBlock(string $tags, Types\Context $context) : array
+ private function parseTagBlock(string $tags, Types\Context $context): array
{
$tags = $this->filterTagBlock($tags);
if ($tags === null) {
@@ -250,7 +251,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
/**
* @return string[]
*/
- private function splitTagBlockIntoTagLines(string $tags) : array
+ private function splitTagBlockIntoTagLines(string $tags): array
{
$result = [];
foreach (explode("\n", $tags) as $tagLine) {
@@ -264,7 +265,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
return $result;
}
- private function filterTagBlock(string $tags) : ?string
+ private function filterTagBlock(string $tags): ?string
{
$tags = trim($tags);
if (!$tags) {
diff --git a/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php b/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php
index ef039a4d..9995c0c0 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactoryInterface.php
@@ -14,10 +14,10 @@ interface DocBlockFactoryInterface
*
* @param array> $additionalTags
*/
- public static function createInstance(array $additionalTags = []) : DocBlockFactory;
+ public static function createInstance(array $additionalTags = []): DocBlockFactory;
/**
* @param string|object $docblock
*/
- public function create($docblock, ?Types\Context $context = null, ?Location $location = null) : DocBlock;
+ public function create($docblock, ?Types\Context $context = null, ?Location $location = null): DocBlock;
}
diff --git a/vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php b/vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php
index 77aa40e1..b8b6da8c 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/Exception/PcreException.php
@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace phpDocumentor\Reflection\Exception;
use InvalidArgumentException;
+
use const PREG_BACKTRACK_LIMIT_ERROR;
use const PREG_BAD_UTF8_ERROR;
use const PREG_BAD_UTF8_OFFSET_ERROR;
@@ -15,19 +16,24 @@ use const PREG_RECURSION_LIMIT_ERROR;
final class PcreException extends InvalidArgumentException
{
- public static function createFromPhpError(int $errorCode) : self
+ public static function createFromPhpError(int $errorCode): self
{
switch ($errorCode) {
case PREG_BACKTRACK_LIMIT_ERROR:
return new self('Backtrack limit error');
+
case PREG_RECURSION_LIMIT_ERROR:
return new self('Recursion limit error');
+
case PREG_BAD_UTF8_ERROR:
return new self('Bad UTF8 error');
+
case PREG_BAD_UTF8_OFFSET_ERROR:
return new self('Bad UTF8 offset error');
+
case PREG_JIT_STACKLIMIT_ERROR:
return new self('Jit stacklimit error');
+
case PREG_NO_ERROR:
case PREG_INTERNAL_ERROR:
default:
diff --git a/vendor/phpdocumentor/reflection-docblock/src/Utils.php b/vendor/phpdocumentor/reflection-docblock/src/Utils.php
index d9b790b8..ddd0f61d 100644
--- a/vendor/phpdocumentor/reflection-docblock/src/Utils.php
+++ b/vendor/phpdocumentor/reflection-docblock/src/Utils.php
@@ -14,6 +14,8 @@ declare(strict_types=1);
namespace phpDocumentor\Reflection;
use phpDocumentor\Reflection\Exception\PcreException;
+use Webmozart\Assert\Assert;
+
use function preg_last_error;
use function preg_split as php_preg_split;
@@ -28,7 +30,7 @@ abstract class Utils
*
* @param string $pattern The pattern to search for, as a string.
* @param string $subject The input string.
- * @param int|null $limit If specified, then only substrings up to limit are returned with the
+ * @param int $limit If specified, then only substrings up to limit are returned with the
* rest of the string being placed in the last substring. A limit of -1 or 0 means "no limit".
* @param int $flags flags can be any combination of the following flags (combined with the | bitwise operator):
* *PREG_SPLIT_NO_EMPTY*
@@ -41,17 +43,20 @@ abstract class Utils
* Note that this changes the return value in an array where every element is an array consisting of the
* matched string at offset 0 and its string offset into subject at offset 1.
*
- * @return string[] Returns an array containing substrings of subject split along boundaries matched by pattern
+ * @return string[] Returns an array containing substrings of subject
+ * split along boundaries matched by pattern
*
* @throws PcreException
*/
- public static function pregSplit(string $pattern, string $subject, ?int $limit = -1, int $flags = 0) : array
+ public static function pregSplit(string $pattern, string $subject, int $limit = -1, int $flags = 0): array
{
$parts = php_preg_split($pattern, $subject, $limit, $flags);
if ($parts === false) {
throw PcreException::createFromPhpError(preg_last_error());
}
+ Assert::allString($parts);
+
return $parts;
}
}
diff --git a/vendor/phpdocumentor/type-resolver/composer.json b/vendor/phpdocumentor/type-resolver/composer.json
index 242ecbe3..4dbf6237 100644
--- a/vendor/phpdocumentor/type-resolver/composer.json
+++ b/vendor/phpdocumentor/type-resolver/composer.json
@@ -14,7 +14,8 @@
"phpdocumentor/reflection-common": "^2.0"
},
"require-dev": {
- "ext-tokenizer": "*"
+ "ext-tokenizer": "*",
+ "psalm/phar": "^4.8"
},
"autoload": {
"psr-4": {
diff --git a/vendor/phpdocumentor/type-resolver/composer.lock b/vendor/phpdocumentor/type-resolver/composer.lock
deleted file mode 100644
index 8fa8b874..00000000
--- a/vendor/phpdocumentor/type-resolver/composer.lock
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_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#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "ee8aea1f755e1772266bc7e041d8ee5b",
- "packages": [
- {
- "name": "phpdocumentor/reflection-common",
- "version": "2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b",
- "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b",
- "shasum": ""
- },
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-2.x": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2020-06-27T09:03:43+00:00"
- }
- ],
- "packages-dev": [],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": "^7.2 || ^8.0"
- },
- "platform-dev": {
- "ext-tokenizer": "*"
- }
-}
diff --git a/vendor/phpdocumentor/type-resolver/phpbench.json b/vendor/phpdocumentor/type-resolver/phpbench.json
deleted file mode 100644
index ced1ebab..00000000
--- a/vendor/phpdocumentor/type-resolver/phpbench.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "bootstrap": "vendor/autoload.php",
- "path": "tests/benchmark",
- "extensions": [
- "Jaapio\\Blackfire\\Extension"
- ],
- "blackfire" : {
- "env": "c12030d0-c177-47e2-b466-4994c40dc993"
- }
-}
diff --git a/vendor/phpdocumentor/type-resolver/src/FqsenResolver.php b/vendor/phpdocumentor/type-resolver/src/FqsenResolver.php
index 6447a015..068fa208 100644
--- a/vendor/phpdocumentor/type-resolver/src/FqsenResolver.php
+++ b/vendor/phpdocumentor/type-resolver/src/FqsenResolver.php
@@ -15,6 +15,7 @@ namespace phpDocumentor\Reflection;
use InvalidArgumentException;
use phpDocumentor\Reflection\Types\Context;
+
use function explode;
use function implode;
use function strpos;
@@ -29,7 +30,7 @@ class FqsenResolver
/** @var string Definition of the NAMESPACE operator in PHP */
private const OPERATOR_NAMESPACE = '\\';
- public function resolve(string $fqsen, ?Context $context = null) : Fqsen
+ public function resolve(string $fqsen, ?Context $context = null): Fqsen
{
if ($context === null) {
$context = new Context('');
@@ -45,7 +46,7 @@ class FqsenResolver
/**
* Tests whether the given type is a Fully Qualified Structural Element Name.
*/
- private function isFqsen(string $type) : bool
+ private function isFqsen(string $type): bool
{
return strpos($type, self::OPERATOR_NAMESPACE) === 0;
}
@@ -56,7 +57,7 @@ class FqsenResolver
*
* @throws InvalidArgumentException When type is not a valid FQSEN.
*/
- private function resolvePartialStructuralElementName(string $type, Context $context) : Fqsen
+ private function resolvePartialStructuralElementName(string $type, Context $context): Fqsen
{
$typeParts = explode(self::OPERATOR_NAMESPACE, $type, 2);
diff --git a/vendor/phpdocumentor/type-resolver/src/PseudoType.php b/vendor/phpdocumentor/type-resolver/src/PseudoType.php
index f94cff5b..dd91ed79 100644
--- a/vendor/phpdocumentor/type-resolver/src/PseudoType.php
+++ b/vendor/phpdocumentor/type-resolver/src/PseudoType.php
@@ -15,5 +15,5 @@ namespace phpDocumentor\Reflection;
interface PseudoType extends Type
{
- public function underlyingType() : Type;
+ public function underlyingType(): Type;
}
diff --git a/vendor/phpdocumentor/type-resolver/src/PseudoTypes/CallableString.php b/vendor/phpdocumentor/type-resolver/src/PseudoTypes/CallableString.php
new file mode 100644
index 00000000..b6934561
--- /dev/null
+++ b/vendor/phpdocumentor/type-resolver/src/PseudoTypes/CallableString.php
@@ -0,0 +1,39 @@
+ Types\String_::class,
'class-string' => Types\ClassString::class,
+ 'interface-string' => Types\InterfaceString::class,
+ 'html-escaped-string' => PseudoTypes\HtmlEscapedString::class,
+ 'lowercase-string' => PseudoTypes\LowercaseString::class,
+ 'non-empty-lowercase-string' => PseudoTypes\NonEmptyLowercaseString::class,
+ 'non-empty-string' => PseudoTypes\NonEmptyString::class,
+ 'numeric-string' => PseudoTypes\NumericString::class,
+ 'trait-string' => PseudoTypes\TraitString::class,
'int' => Types\Integer::class,
'integer' => Types\Integer::class,
+ 'positive-int' => PseudoTypes\PositiveInteger::class,
'bool' => Types\Boolean::class,
'boolean' => Types\Boolean::class,
'real' => Types\Float_::class,
'float' => Types\Float_::class,
'double' => Types\Float_::class,
- 'object' => Object_::class,
+ 'object' => Types\Object_::class,
'mixed' => Types\Mixed_::class,
- 'array' => Array_::class,
+ 'array' => Types\Array_::class,
+ 'array-key' => Types\ArrayKey::class,
'resource' => Types\Resource_::class,
'void' => Types\Void_::class,
'null' => Types\Null_::class,
'scalar' => Types\Scalar::class,
'callback' => Types\Callable_::class,
'callable' => Types\Callable_::class,
+ 'callable-string' => PseudoTypes\CallableString::class,
'false' => PseudoTypes\False_::class,
'true' => PseudoTypes\True_::class,
+ 'literal-string' => PseudoTypes\LiteralString::class,
'self' => Types\Self_::class,
'$this' => Types\This::class,
'static' => Types\Static_::class,
'parent' => Types\Parent_::class,
- 'iterable' => Iterable_::class,
+ 'iterable' => Types\Iterable_::class,
+ 'never' => Types\Never_::class,
];
/**
@@ -126,7 +142,7 @@ final class TypeResolver
*
* @param string $type The relative or absolute type.
*/
- public function resolve(string $type, ?Context $context = null) : Type
+ public function resolve(string $type, ?Context $context = null): Type
{
$type = trim($type);
if (!$type) {
@@ -162,7 +178,7 @@ final class TypeResolver
* @param int $parserContext on of self::PARSER_* constants, indicating
* the context where we are in the parsing
*/
- private function parseTypes(ArrayIterator $tokens, Context $context, int $parserContext) : Type
+ private function parseTypes(ArrayIterator $tokens, Context $context, int $parserContext): Type
{
$types = [];
$token = '';
@@ -182,11 +198,12 @@ final class TypeResolver
);
}
- if (!in_array($parserContext, [
- self::PARSER_IN_COMPOUND,
- self::PARSER_IN_ARRAY_EXPRESSION,
- self::PARSER_IN_COLLECTION_EXPRESSION,
- ], true)
+ if (
+ !in_array($parserContext, [
+ self::PARSER_IN_COMPOUND,
+ self::PARSER_IN_ARRAY_EXPRESSION,
+ self::PARSER_IN_COLLECTION_EXPRESSION,
+ ], true)
) {
throw new RuntimeException(
'Unexpected type separator'
@@ -196,11 +213,12 @@ final class TypeResolver
$compoundToken = $token;
$tokens->next();
} elseif ($token === '?') {
- if (!in_array($parserContext, [
- self::PARSER_IN_COMPOUND,
- self::PARSER_IN_ARRAY_EXPRESSION,
- self::PARSER_IN_COLLECTION_EXPRESSION,
- ], true)
+ if (
+ !in_array($parserContext, [
+ self::PARSER_IN_COMPOUND,
+ self::PARSER_IN_ARRAY_EXPRESSION,
+ self::PARSER_IN_COLLECTION_EXPRESSION,
+ ], true)
) {
throw new RuntimeException(
'Unexpected nullable character'
@@ -224,7 +242,7 @@ final class TypeResolver
$resolvedType = new Expression($type);
$types[] = $resolvedType;
- } elseif ($parserContext === self::PARSER_IN_ARRAY_EXPRESSION && $token[0] === ')') {
+ } elseif ($parserContext === self::PARSER_IN_ARRAY_EXPRESSION && isset($token[0]) && $token[0] === ')') {
break;
} elseif ($token === '<') {
if (count($types) === 0) {
@@ -237,13 +255,16 @@ final class TypeResolver
if ($classType !== null) {
if ((string) $classType === 'class-string') {
$types[] = $this->resolveClassString($tokens, $context);
+ } elseif ((string) $classType === 'interface-string') {
+ $types[] = $this->resolveInterfaceString($tokens, $context);
} else {
$types[] = $this->resolveCollection($tokens, $classType, $context);
}
}
$tokens->next();
- } elseif ($parserContext === self::PARSER_IN_COLLECTION_EXPRESSION
+ } elseif (
+ $parserContext === self::PARSER_IN_COLLECTION_EXPRESSION
&& ($token === '>' || trim($token) === ',')
) {
break;
@@ -313,13 +334,15 @@ final class TypeResolver
*
* @psalm-mutation-free
*/
- private function resolveSingleType(string $type, Context $context) : object
+ private function resolveSingleType(string $type, Context $context): object
{
switch (true) {
case $this->isKeyword($type):
return $this->resolveKeyword($type);
+
case $this->isFqsen($type):
return $this->resolveTypedObject($type);
+
case $this->isPartialStructuralElementName($type):
return $this->resolveTypedObject($type, $context);
@@ -339,7 +362,7 @@ final class TypeResolver
*
* @psalm-param class-string $typeClassName
*/
- public function addKeyword(string $keyword, string $typeClassName) : void
+ public function addKeyword(string $keyword, string $typeClassName): void
{
if (!class_exists($typeClassName)) {
throw new InvalidArgumentException(
@@ -348,7 +371,15 @@ final class TypeResolver
);
}
- if (!in_array(Type::class, class_implements($typeClassName), true)) {
+ $interfaces = class_implements($typeClassName);
+ if ($interfaces === false) {
+ throw new InvalidArgumentException(
+ 'The Value Object that needs to be created with a keyword "' . $keyword . '" must be an existing class'
+ . ' but we could not find the class ' . $typeClassName
+ );
+ }
+
+ if (!in_array(Type::class, $interfaces, true)) {
throw new InvalidArgumentException(
'The class "' . $typeClassName . '" must implement the interface "phpDocumentor\Reflection\Type"'
);
@@ -364,7 +395,7 @@ final class TypeResolver
*
* @psalm-mutation-free
*/
- private function isKeyword(string $type) : bool
+ private function isKeyword(string $type): bool
{
return array_key_exists(strtolower($type), $this->keywords);
}
@@ -376,9 +407,9 @@ final class TypeResolver
*
* @psalm-mutation-free
*/
- private function isPartialStructuralElementName(string $type) : bool
+ private function isPartialStructuralElementName(string $type): bool
{
- return ($type[0] !== self::OPERATOR_NAMESPACE) && !$this->isKeyword($type);
+ return (isset($type[0]) && $type[0] !== self::OPERATOR_NAMESPACE) && !$this->isKeyword($type);
}
/**
@@ -386,7 +417,7 @@ final class TypeResolver
*
* @psalm-mutation-free
*/
- private function isFqsen(string $type) : bool
+ private function isFqsen(string $type): bool
{
return strpos($type, self::OPERATOR_NAMESPACE) === 0;
}
@@ -396,7 +427,7 @@ final class TypeResolver
*
* @psalm-mutation-free
*/
- private function resolveKeyword(string $type) : Type
+ private function resolveKeyword(string $type): Type
{
$className = $this->keywords[strtolower($type)];
@@ -408,7 +439,7 @@ final class TypeResolver
*
* @psalm-mutation-free
*/
- private function resolveTypedObject(string $type, ?Context $context = null) : Object_
+ private function resolveTypedObject(string $type, ?Context $context = null): Object_
{
return new Object_($this->fqsenResolver->resolve($type, $context));
}
@@ -418,7 +449,7 @@ final class TypeResolver
*
* @param ArrayIterator $tokens
*/
- private function resolveClassString(ArrayIterator $tokens, Context $context) : Type
+ private function resolveClassString(ArrayIterator $tokens, Context $context): Type
{
$tokens->next();
@@ -446,6 +477,39 @@ final class TypeResolver
return new ClassString($classType->getFqsen());
}
+ /**
+ * Resolves class string
+ *
+ * @param ArrayIterator $tokens
+ */
+ private function resolveInterfaceString(ArrayIterator $tokens, Context $context): Type
+ {
+ $tokens->next();
+
+ $classType = $this->parseTypes($tokens, $context, self::PARSER_IN_COLLECTION_EXPRESSION);
+
+ if (!$classType instanceof Object_ || $classType->getFqsen() === null) {
+ throw new RuntimeException(
+ $classType . ' is not a interface string'
+ );
+ }
+
+ $token = $tokens->current();
+ if ($token !== '>') {
+ if (empty($token)) {
+ throw new RuntimeException(
+ 'interface-string: ">" is missing'
+ );
+ }
+
+ throw new RuntimeException(
+ 'Unexpected character "' . $token . '", ">" is missing'
+ );
+ }
+
+ return new InterfaceString($classType->getFqsen());
+ }
+
/**
* Resolves the collection values and keys
*
@@ -453,14 +517,16 @@ final class TypeResolver
*
* @return Array_|Iterable_|Collection
*/
- private function resolveCollection(ArrayIterator $tokens, Type $classType, Context $context) : Type
+ private function resolveCollection(ArrayIterator $tokens, Type $classType, Context $context): Type
{
$isArray = ((string) $classType === 'array');
$isIterable = ((string) $classType === 'iterable');
// allow only "array", "iterable" or class name before "<"
- if (!$isArray && !$isIterable
- && (!$classType instanceof Object_ || $classType->getFqsen() === null)) {
+ if (
+ !$isArray && !$isIterable
+ && (!$classType instanceof Object_ || $classType->getFqsen() === null)
+ ) {
throw new RuntimeException(
$classType . ' is not a collection'
);
@@ -478,7 +544,9 @@ final class TypeResolver
if ($isArray) {
// check the key type for an "array" collection. We allow only
// strings or integers.
- if (!$keyType instanceof String_ &&
+ if (
+ !$keyType instanceof ArrayKey &&
+ !$keyType instanceof String_ &&
!$keyType instanceof Integer &&
!$keyType instanceof Compound
) {
@@ -489,7 +557,9 @@ final class TypeResolver
if ($keyType instanceof Compound) {
foreach ($keyType->getIterator() as $item) {
- if (!$item instanceof String_ &&
+ if (
+ !$item instanceof ArrayKey &&
+ !$item instanceof String_ &&
!$item instanceof Integer
) {
throw new RuntimeException(
@@ -536,7 +606,7 @@ final class TypeResolver
/**
* @psalm-pure
*/
- private function makeCollectionFromObject(Object_ $object, Type $valueType, ?Type $keyType = null) : Collection
+ private function makeCollectionFromObject(Object_ $object, Type $valueType, ?Type $keyType = null): Collection
{
return new Collection($object->getFqsen(), $valueType, $keyType);
}
diff --git a/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php b/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php
index bbea4f14..b674862a 100644
--- a/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php
+++ b/vendor/phpdocumentor/type-resolver/src/Types/AbstractList.php
@@ -48,7 +48,7 @@ abstract class AbstractList implements Type
/**
* Returns the type for the keys of this array.
*/
- public function getKeyType() : Type
+ public function getKeyType(): Type
{
return $this->keyType ?? $this->defaultKeyType;
}
@@ -56,7 +56,7 @@ abstract class AbstractList implements Type
/**
* Returns the value for the keys of this array.
*/
- public function getValueType() : Type
+ public function getValueType(): Type
{
return $this->valueType;
}
@@ -64,7 +64,7 @@ abstract class AbstractList implements Type
/**
* Returns a rendered output of the Type as it would be used in a DocBlock.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->keyType) {
return 'array<' . $this->keyType . ',' . $this->valueType . '>';
diff --git a/vendor/phpdocumentor/type-resolver/src/Types/AggregatedType.php b/vendor/phpdocumentor/type-resolver/src/Types/AggregatedType.php
index 95222958..472a1cdc 100644
--- a/vendor/phpdocumentor/type-resolver/src/Types/AggregatedType.php
+++ b/vendor/phpdocumentor/type-resolver/src/Types/AggregatedType.php
@@ -15,6 +15,7 @@ namespace phpDocumentor\Reflection\Types;
use ArrayIterator;
use IteratorAggregate;
use phpDocumentor\Reflection\Type;
+
use function array_key_exists;
use function implode;
@@ -53,7 +54,7 @@ abstract class AggregatedType implements Type, IteratorAggregate
/**
* Returns the type at the given index.
*/
- public function get(int $index) : ?Type
+ public function get(int $index): ?Type
{
if (!$this->has($index)) {
return null;
@@ -65,7 +66,7 @@ abstract class AggregatedType implements Type, IteratorAggregate
/**
* Tests if this compound type has a type with the given index.
*/
- public function has(int $index) : bool
+ public function has(int $index): bool
{
return array_key_exists($index, $this->types);
}
@@ -73,7 +74,7 @@ abstract class AggregatedType implements Type, IteratorAggregate
/**
* Tests if this compound type contains the given type.
*/
- public function contains(Type $type) : bool
+ public function contains(Type $type): bool
{
foreach ($this->types as $typePart) {
// if the type is duplicate; do not add it
@@ -88,7 +89,7 @@ abstract class AggregatedType implements Type, IteratorAggregate
/**
* Returns a rendered output of the Type as it would be used in a DocBlock.
*/
- public function __toString() : string
+ public function __toString(): string
{
return implode($this->token, $this->types);
}
@@ -96,7 +97,7 @@ abstract class AggregatedType implements Type, IteratorAggregate
/**
* @return ArrayIterator
*/
- public function getIterator() : ArrayIterator
+ public function getIterator(): ArrayIterator
{
return new ArrayIterator($this->types);
}
@@ -104,7 +105,7 @@ abstract class AggregatedType implements Type, IteratorAggregate
/**
* @psalm-suppress ImpureMethodCall
*/
- private function add(Type $type) : void
+ private function add(Type $type): void
{
if ($type instanceof self) {
foreach ($type->getIterator() as $subType) {
diff --git a/vendor/phpdocumentor/type-resolver/src/Types/ArrayKey.php b/vendor/phpdocumentor/type-resolver/src/Types/ArrayKey.php
new file mode 100644
index 00000000..cf86df00
--- /dev/null
+++ b/vendor/phpdocumentor/type-resolver/src/Types/ArrayKey.php
@@ -0,0 +1,42 @@
+fqsen = $fqsen;
}
+ public function underlyingType(): Type
+ {
+ return new String_();
+ }
+
/**
* Returns the FQSEN associated with this object.
*/
- public function getFqsen() : ?Fqsen
+ public function getFqsen(): ?Fqsen
{
return $this->fqsen;
}
@@ -45,7 +51,7 @@ final class ClassString implements Type
/**
* Returns a rendered output of the Type as it would be used in a DocBlock.
*/
- public function __toString() : string
+ public function __toString(): string
{
if ($this->fqsen === null) {
return 'class-string';
diff --git a/vendor/phpdocumentor/type-resolver/src/Types/Collection.php b/vendor/phpdocumentor/type-resolver/src/Types/Collection.php
index 84b4463a..943cc22e 100644
--- a/vendor/phpdocumentor/type-resolver/src/Types/Collection.php
+++ b/vendor/phpdocumentor/type-resolver/src/Types/Collection.php
@@ -47,7 +47,7 @@ final class Collection extends AbstractList
/**
* Returns the FQSEN associated with this object.
*/
- public function getFqsen() : ?Fqsen
+ public function getFqsen(): ?Fqsen
{
return $this->fqsen;
}
@@ -55,7 +55,7 @@ final class Collection extends AbstractList
/**
* Returns a rendered output of the Type as it would be used in a DocBlock.
*/
- public function __toString() : string
+ public function __toString(): string
{
$objectType = (string) ($this->fqsen ?? 'object');
diff --git a/vendor/phpdocumentor/type-resolver/src/Types/Context.php b/vendor/phpdocumentor/type-resolver/src/Types/Context.php
index c134d7cf..79aadaf8 100644
--- a/vendor/phpdocumentor/type-resolver/src/Types/Context.php
+++ b/vendor/phpdocumentor/type-resolver/src/Types/Context.php
@@ -50,7 +50,6 @@ final class Context
*
* @param string $namespace The namespace where this DocBlock resides in.
* @param string[] $namespaceAliases List of namespace aliases => Fully Qualified Namespace.
- *
* @psalm-param array $namespaceAliases
*/
public function __construct(string $namespace, array $namespaceAliases = [])
@@ -77,7 +76,7 @@ final class Context
/**
* Returns the Qualified Namespace Name (thus without `\` in front) where the associated element is in.
*/
- public function getNamespace() : string
+ public function getNamespace(): string
{
return $this->namespace;
}
@@ -87,10 +86,9 @@ final class Context
* the alias for the imported Namespace.
*
* @return string[]
- *
* @psalm-return array
*/
- public function getNamespaceAliases() : array
+ public function getNamespaceAliases(): array
{
return $this->namespaceAliases;
}
diff --git a/vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php b/vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php
index 5d09d565..892ee0f9 100644
--- a/vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php
+++ b/vendor/phpdocumentor/type-resolver/src/Types/ContextFactory.php
@@ -23,6 +23,7 @@ use ReflectionProperty;
use Reflector;
use RuntimeException;
use UnexpectedValueException;
+
use function define;
use function defined;
use function file_exists;
@@ -34,10 +35,13 @@ use function strrpos;
use function substr;
use function token_get_all;
use function trim;
+
use const T_AS;
use const T_CLASS;
use const T_CURLY_OPEN;
use const T_DOLLAR_OPEN_CURLY_BRACES;
+use const T_NAME_FULLY_QUALIFIED;
+use const T_NAME_QUALIFIED;
use const T_NAMESPACE;
use const T_NS_SEPARATOR;
use const T_STRING;
@@ -73,7 +77,7 @@ final class ContextFactory
*
* @see Context for more information on Contexts.
*/
- public function createFromReflector(Reflector $reflector) : Context
+ public function createFromReflector(Reflector $reflector): Context
{
if ($reflector instanceof ReflectionClass) {
//phpcs:ignore SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable
@@ -101,50 +105,43 @@ final class ContextFactory
throw new UnexpectedValueException('Unhandled \Reflector instance given: ' . get_class($reflector));
}
- private function createFromReflectionParameter(ReflectionParameter $parameter) : Context
+ private function createFromReflectionParameter(ReflectionParameter $parameter): Context
{
$class = $parameter->getDeclaringClass();
if (!$class) {
throw new InvalidArgumentException('Unable to get class of ' . $parameter->getName());
}
- //phpcs:ignore SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable
- /** @var ReflectionClass