From f7b33dd1861e872b6e6a40100b871b4f2b23adba Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 22:38:23 +0200 Subject: [PATCH 1/8] composer --- composer.json | 56 +- composer.lock | 11408 ++++++++++++++++-------------------------------- 2 files changed, 3754 insertions(+), 7710 deletions(-) diff --git a/composer.json b/composer.json index 732751ac6..5fe4f9ae5 100644 --- a/composer.json +++ b/composer.json @@ -12,56 +12,46 @@ "php": "^8.0", "ext-intl": "*", "doctrine/dbal": "^3.0", - "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0", - "inertiajs/inertia-laravel": "^0", + "inertiajs/inertia-laravel": "^1.0", "laravel/fortify": "^1.7", - "laravel/framework": "^9.0", + "laravel/framework": "^11.0", "laravel/helpers": "^1.1", - "laravel/jetstream": "^2.3", - "laravel/sanctum": "^2.9", + "laravel/jetstream": "^5.0", + "laravel/sanctum": "^4.0", "laravel/socialite": "^5.2", "laravel/tinker": "^2.0", - "laravel/ui": "^3.0", + "laravel/ui": "^4.0", "mariuzzo/laravel-js-localization": "^1.7", - "moneyphp/money": "^3.3", + "moneyphp/money": "^4.5", "monicahq/laravel-cloudflare": "^3.2", "parsedown/laravel": "^1.2", - "sentry/sentry-laravel": "^2.3", + "sentry/sentry-laravel": "^4.6", "socialiteproviders/github": "^4.1", "socialiteproviders/google": "^4.1", "socialiteproviders/laravelpassport": "^4.1", "socialiteproviders/linkedin": "^4.1", - "socialiteproviders/microsoft-azure": "^4.2", - "socialiteproviders/slack": "^4.1", + "socialiteproviders/microsoft-azure": "^5.2", + "socialiteproviders/slack": "^5.0.0", "socialiteproviders/twitter": "^4.1", - "spatie/laravel-ignition": "^1.0", - "spatie/simple-excel": "^1.13", - "tightenco/ziggy": "^1.0", - "uploadcare/uploadcare-php": "^3.0", - "vluzrmos/language-detector": "^2.3" + "spatie/laravel-ignition": "^2.0", + "spatie/simple-excel": "^3.6", + "symfony/http-client": "^7.1", + "symfony/mailgun-mailer": "^7.1", + "tightenco/ziggy": "^2.2", + "uploadcare/uploadcare-php": "^4.2" }, "require-dev": { "barryvdh/laravel-debugbar": "^3.6", - "beyondcode/laravel-dump-server": "^1.0", - "brianium/paratest": "^6.3", + "beyondcode/laravel-dump-server": "^2.0", "fakerphp/faker": "^1.10", - "friendsofphp/php-cs-fixer": "^3.0", - "graham-campbell/testbench-core": "^3.1", - "johnkary/phpunit-speedtrap": "^3.1", - "laravel/dusk": "^6.6", - "laravel/legacy-factories": "^1.0", + "graham-campbell/testbench-core": "^4.1", + "laravel/dusk": "^8.2", + "laravel/pint": "^1.16", "laravel/sail": "^1.12", "mockery/mockery": "^1.0", - "nunomaduro/collision": "^6.1", - "nunomaduro/larastan": "^0.7", - "nunomaduro/phpinsights": "^2.0", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^9.0", - "roave/security-advisories": "dev-master", - "thecodingmachine/phpstan-safe-rule": "^1.0", - "vimeo/psalm": "^4.22" + "nunomaduro/collision": "^8.1", + "phpunit/phpunit": "^10.0" }, "config": { "apcu-autoloader": true, @@ -69,7 +59,7 @@ "sort-packages": true, "optimize-autoloader": true, "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true + "php-http/discovery": true } }, "extra": { @@ -96,7 +86,7 @@ "Database\\Seeders\\": "database/seeders/" } }, - "minimum-stability": "dev", + "minimum-stability": "stable", "prefer-stable": true, "scripts": { "post-autoload-dump": [ diff --git a/composer.lock b/composer.lock index ddd7ec1d9..6c3e262d8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,88 +4,32 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "41362b811385f6f122400be9609fdbcd", + "content-hash": "77e3162a934569298e5d208a97416cb2", "packages": [ - { - "name": "asm89/stack-cors", - "version": "v2.1.1", - "source": { - "type": "git", - "url": "https://github.com/asm89/stack-cors.git", - "reference": "73e5b88775c64ccc0b84fb60836b30dc9d92ac4a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/asm89/stack-cors/zipball/73e5b88775c64ccc0b84fb60836b30dc9d92ac4a", - "reference": "73e5b88775c64ccc0b84fb60836b30dc9d92ac4a", - "shasum": "" - }, - "require": { - "php": "^7.2|^8.0", - "symfony/http-foundation": "^4|^5|^6", - "symfony/http-kernel": "^4|^5|^6" - }, - "require-dev": { - "phpunit/phpunit": "^7|^9", - "squizlabs/php_codesniffer": "^3.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - } - }, - "autoload": { - "psr-4": { - "Asm89\\Stack\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Alexander", - "email": "iam.asm89@gmail.com" - } - ], - "description": "Cross-origin resource sharing library and stack middleware", - "homepage": "https://github.com/asm89/stack-cors", - "keywords": [ - "cors", - "stack" - ], - "support": { - "issues": "https://github.com/asm89/stack-cors/issues", - "source": "https://github.com/asm89/stack-cors/tree/v2.1.1" - }, - "time": "2022-01-18T09:12:03+00:00" - }, { "name": "bacon/bacon-qr-code", - "version": "2.0.7", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/Bacon/BaconQrCode.git", - "reference": "d70c840f68657ce49094b8d91f9ee0cc07fbf66c" + "reference": "510de6eca6248d77d31b339d62437cc995e2fb41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Bacon/BaconQrCode/zipball/d70c840f68657ce49094b8d91f9ee0cc07fbf66c", - "reference": "d70c840f68657ce49094b8d91f9ee0cc07fbf66c", + "url": "https://api.github.com/repos/Bacon/BaconQrCode/zipball/510de6eca6248d77d31b339d62437cc995e2fb41", + "reference": "510de6eca6248d77d31b339d62437cc995e2fb41", "shasum": "" }, "require": { "dasprid/enum": "^1.0.3", "ext-iconv": "*", - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "phly/keep-a-changelog": "^2.1", - "phpunit/phpunit": "^7 | ^8 | ^9", - "spatie/phpunit-snapshot-assertions": "^4.2.9", - "squizlabs/php_codesniffer": "^3.4" + "phly/keep-a-changelog": "^2.12", + "phpunit/phpunit": "^10.5.11 || 11.0.4", + "spatie/phpunit-snapshot-assertions": "^5.1.5", + "squizlabs/php_codesniffer": "^3.9" }, "suggest": { "ext-imagick": "to generate QR code images" @@ -112,106 +56,31 @@ "homepage": "https://github.com/Bacon/BaconQrCode", "support": { "issues": "https://github.com/Bacon/BaconQrCode/issues", - "source": "https://github.com/Bacon/BaconQrCode/tree/2.0.7" - }, - "time": "2022-03-14T02:02:36+00:00" - }, - { - "name": "box/spout", - "version": "v3.3.0", - "source": { - "type": "git", - "url": "https://github.com/box/spout.git", - "reference": "9bdb027d312b732515b884a341c0ad70372c6295" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/box/spout/zipball/9bdb027d312b732515b884a341c0ad70372c6295", - "reference": "9bdb027d312b732515b884a341c0ad70372c6295", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-xmlreader": "*", - "ext-zip": "*", - "php": ">=7.2.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2", - "phpunit/phpunit": "^8" - }, - "suggest": { - "ext-iconv": "To handle non UTF-8 CSV files (if \"php-intl\" is not already installed or is too limited)", - "ext-intl": "To handle non UTF-8 CSV files (if \"iconv\" is not already installed)" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1.x-dev" - } + "source": "https://github.com/Bacon/BaconQrCode/tree/v3.0.0" }, - "autoload": { - "psr-4": { - "Box\\Spout\\": "src/Spout" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Adrien Loison", - "email": "adrien@box.com" - } - ], - "description": "PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way", - "homepage": "https://www.github.com/box/spout", - "keywords": [ - "OOXML", - "csv", - "excel", - "memory", - "odf", - "ods", - "office", - "open", - "php", - "read", - "scale", - "spreadsheet", - "stream", - "write", - "xlsx" - ], - "support": { - "issues": "https://github.com/box/spout/issues", - "source": "https://github.com/box/spout/tree/v3.3.0" - }, - "time": "2021-05-14T21:18:09+00:00" + "time": "2024-04-18T11:16:25+00:00" }, { "name": "brick/math", - "version": "0.9.3", + "version": "0.12.1", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", - "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", - "vimeo/psalm": "4.9.2" + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" }, "type": "library", "autoload": { @@ -231,52 +100,55 @@ "arithmetic", "bigdecimal", "bignum", + "bignumber", "brick", - "math" + "decimal", + "integer", + "math", + "mathematics", + "rational" ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.9.3" + "source": "https://github.com/brick/math/tree/0.12.1" }, "funding": [ { "url": "https://github.com/BenMorel", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/brick/math", - "type": "tidelift" } ], - "time": "2021-08-15T20:50:18+00:00" + "time": "2023-11-29T23:19:16+00:00" }, { - "name": "clue/stream-filter", - "version": "v1.6.0", + "name": "carbonphp/carbon-doctrine-types", + "version": "2.1.0", "source": { "type": "git", - "url": "https://github.com/clue/stream-filter.git", - "reference": "d6169430c7731d8509da7aecd0af756a5747b78e" + "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/clue/stream-filter/zipball/d6169430c7731d8509da7aecd0af756a5747b78e", - "reference": "d6169430c7731d8509da7aecd0af756a5747b78e", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", "shasum": "" }, "require": { - "php": ">=5.3" + "php": "^7.4 || ^8.0" + }, + "conflict": { + "doctrine/dbal": "<3.7.0 || >=4.0.0" }, "require-dev": { - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36" + "doctrine/dbal": "^3.7.0", + "nesbot/carbon": "^2.71.0 || ^3.0.0", + "phpunit/phpunit": "^10.3" }, "type": "library", "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { - "Clue\\StreamFilter\\": "src/" + "Carbon\\Doctrine\\": "src/Carbon/Doctrine/" } }, "notification-url": "https://packagist.org/downloads/", @@ -285,54 +157,58 @@ ], "authors": [ { - "name": "Christian Lück", - "email": "christian@clue.engineering" + "name": "KyleKatarn", + "email": "kylekatarnls@gmail.com" } ], - "description": "A simple and modern approach to stream filtering in PHP", - "homepage": "https://github.com/clue/php-stream-filter", + "description": "Types to use Carbon in Doctrine", "keywords": [ - "bucket brigade", - "callback", - "filter", - "php_user_filter", - "stream", - "stream_filter_append", - "stream_filter_register" + "carbon", + "date", + "datetime", + "doctrine", + "time" ], "support": { - "issues": "https://github.com/clue/stream-filter/issues", - "source": "https://github.com/clue/stream-filter/tree/v1.6.0" + "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.1.0" }, "funding": [ { - "url": "https://clue.engineering/support", - "type": "custom" + "url": "https://github.com/kylekatarnls", + "type": "github" }, { - "url": "https://github.com/clue", - "type": "github" + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" } ], - "time": "2022-02-21T13:15:14+00:00" + "time": "2023-12-11T17:09:12+00:00" }, { "name": "dasprid/enum", - "version": "1.0.3", + "version": "1.0.5", "source": { "type": "git", "url": "https://github.com/DASPRiD/Enum.git", - "reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2" + "reference": "6faf451159fb8ba4126b925ed2d78acfce0dc016" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/DASPRiD/Enum/zipball/5abf82f213618696dda8e3bf6f64dd042d8542b2", - "reference": "5abf82f213618696dda8e3bf6f64dd042d8542b2", + "url": "https://api.github.com/repos/DASPRiD/Enum/zipball/6faf451159fb8ba4126b925ed2d78acfce0dc016", + "reference": "6faf451159fb8ba4126b925ed2d78acfce0dc016", "shasum": "" }, + "require": { + "php": ">=7.1 <9.0" + }, "require-dev": { "phpunit/phpunit": "^7 | ^8 | ^9", - "squizlabs/php_codesniffer": "^3.4" + "squizlabs/php_codesniffer": "*" }, "type": "library", "autoload": { @@ -359,22 +235,22 @@ ], "support": { "issues": "https://github.com/DASPRiD/Enum/issues", - "source": "https://github.com/DASPRiD/Enum/tree/1.0.3" + "source": "https://github.com/DASPRiD/Enum/tree/1.0.5" }, - "time": "2020-10-02T16:03:48+00:00" + "time": "2023-08-25T16:18:39+00:00" }, { "name": "dflydev/dot-access-data", - "version": "v3.0.1", + "version": "v3.0.2", "source": { "type": "git", "url": "https://github.com/dflydev/dflydev-dot-access-data.git", - "reference": "0992cc19268b259a39e86f296da5f0677841f42c" + "reference": "f41715465d65213d644d3141a6a93081be5d3549" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/0992cc19268b259a39e86f296da5f0677841f42c", - "reference": "0992cc19268b259a39e86f296da5f0677841f42c", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", + "reference": "f41715465d65213d644d3141a6a93081be5d3549", "shasum": "" }, "require": { @@ -385,7 +261,7 @@ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3", "scrutinizer/ocular": "1.6.0", "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^3.14" + "vimeo/psalm": "^4.0.0" }, "type": "library", "extra": { @@ -434,22 +310,22 @@ ], "support": { "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", - "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.1" + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" }, - "time": "2021-08-13T13:06:58+00:00" + "time": "2022-10-27T11:44:00+00:00" }, { "name": "doctrine/cache", - "version": "2.1.1", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "331b4d5dbaeab3827976273e9356b3b453c300ce" + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/331b4d5dbaeab3827976273e9356b3b453c300ce", - "reference": "331b4d5dbaeab3827976273e9356b3b453c300ce", + "url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb", + "reference": "1ca8f21980e770095a31456042471a57bc4c68fb", "shasum": "" }, "require": { @@ -459,18 +335,12 @@ "doctrine/common": ">2.2,<2.4" }, "require-dev": { - "alcaeus/mongo-php-adapter": "^1.1", "cache/integration-tests": "dev-master", - "doctrine/coding-standard": "^8.0", - "mongodb/mongodb": "^1.1", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "predis/predis": "~1.0", + "doctrine/coding-standard": "^9", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "psr/cache": "^1.0 || ^2.0 || ^3.0", - "symfony/cache": "^4.4 || ^5.2 || ^6.0@dev", - "symfony/var-exporter": "^4.4 || ^5.2 || ^6.0@dev" - }, - "suggest": { - "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" + "symfony/cache": "^4.4 || ^5.4 || ^6", + "symfony/var-exporter": "^4.4 || ^5.4 || ^6" }, "type": "library", "autoload": { @@ -519,7 +389,7 @@ ], "support": { "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/2.1.1" + "source": "https://github.com/doctrine/cache/tree/2.2.0" }, "funding": [ { @@ -535,42 +405,44 @@ "type": "tidelift" } ], - "time": "2021-07-17T14:49:29+00:00" + "time": "2022-05-20T20:07:39+00:00" }, { "name": "doctrine/dbal", - "version": "3.3.6", + "version": "3.8.6", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "9e7f76dd1cde81c62574fdffa5a9c655c847ad21" + "reference": "b7411825cf7efb7e51f9791dea19d86e43b399a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/9e7f76dd1cde81c62574fdffa5a9c655c847ad21", - "reference": "9e7f76dd1cde81c62574fdffa5a9c655c847ad21", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/b7411825cf7efb7e51f9791dea19d86e43b399a1", + "reference": "b7411825cf7efb7e51f9791dea19d86e43b399a1", "shasum": "" }, "require": { "composer-runtime-api": "^2", "doctrine/cache": "^1.11|^2.0", "doctrine/deprecations": "^0.5.3|^1", - "doctrine/event-manager": "^1.0", - "php": "^7.3 || ^8.0", + "doctrine/event-manager": "^1|^2", + "php": "^7.4 || ^8.0", "psr/cache": "^1|^2|^3", "psr/log": "^1|^2|^3" }, "require-dev": { - "doctrine/coding-standard": "9.0.0", - "jetbrains/phpstorm-stubs": "2022.1", - "phpstan/phpstan": "1.6.3", - "phpstan/phpstan-strict-rules": "^1.2", - "phpunit/phpunit": "9.5.20", - "psalm/plugin-phpunit": "0.16.1", - "squizlabs/php_codesniffer": "3.6.2", - "symfony/cache": "^5.2|^6.0", - "symfony/console": "^2.7|^3.0|^4.0|^5.0|^6.0", - "vimeo/psalm": "4.23.0" + "doctrine/coding-standard": "12.0.0", + "fig/log-test": "^1", + "jetbrains/phpstorm-stubs": "2023.1", + "phpstan/phpstan": "1.11.5", + "phpstan/phpstan-strict-rules": "^1.6", + "phpunit/phpunit": "9.6.19", + "psalm/plugin-phpunit": "0.18.4", + "slevomat/coding-standard": "8.13.1", + "squizlabs/php_codesniffer": "3.10.1", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/console": "^4.4|^5.4|^6.0|^7.0", + "vimeo/psalm": "4.30.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -630,7 +502,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.3.6" + "source": "https://github.com/doctrine/dbal/tree/3.8.6" }, "funding": [ { @@ -646,29 +518,33 @@ "type": "tidelift" } ], - "time": "2022-05-02T17:21:01+00:00" + "time": "2024-06-19T10:38:17+00:00" }, { "name": "doctrine/deprecations", - "version": "v1.0.0", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/doctrine/deprecations.git", - "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de" + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", - "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", + "reference": "dfbaa3c2d2e9a9df1118213f3b8b0c597bb99fab", "shasum": "" }, "require": { - "php": "^7.1|^8.0" + "php": "^7.1 || ^8.0" }, "require-dev": { "doctrine/coding-standard": "^9", - "phpunit/phpunit": "^7.5|^8.5|^9.5", - "psr/log": "^1|^2|^3" + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.0" }, "suggest": { "psr/log": "Allows logging deprecations via PSR-3 logger implementation" @@ -687,43 +563,40 @@ "homepage": "https://www.doctrine-project.org/", "support": { "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v1.0.0" + "source": "https://github.com/doctrine/deprecations/tree/1.1.3" }, - "time": "2022-05-02T15:47:09+00:00" + "time": "2024-01-30T19:34:25+00:00" }, { "name": "doctrine/event-manager", - "version": "1.1.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/event-manager.git", - "reference": "41370af6a30faa9dc0368c4a6814d596e81aba7f" + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/41370af6a30faa9dc0368c4a6814d596e81aba7f", - "reference": "41370af6a30faa9dc0368c4a6814d596e81aba7f", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e", + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "conflict": { - "doctrine/common": "<2.9@dev" + "doctrine/common": "<2.9" }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpunit/phpunit": "^7.0" + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.8.8", + "phpunit/phpunit": "^10.5", + "vimeo/psalm": "^5.24" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, "autoload": { "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common" + "Doctrine\\Common\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -767,7 +640,7 @@ ], "support": { "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/1.1.x" + "source": "https://github.com/doctrine/event-manager/tree/2.0.1" }, "funding": [ { @@ -783,32 +656,32 @@ "type": "tidelift" } ], - "time": "2020-05-29T18:28:51+00:00" + "time": "2024-05-22T20:47:39+00:00" }, { "name": "doctrine/inflector", - "version": "2.0.4", + "version": "2.0.10", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc", + "reference": "5817d0659c5b50c9b950feb9af7b9668e2c436bc", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "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" + "doctrine/coding-standard": "^11.0", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25 || ^5.4" }, "type": "library", "autoload": { @@ -858,7 +731,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.4" + "source": "https://github.com/doctrine/inflector/tree/2.0.10" }, "funding": [ { @@ -874,35 +747,36 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:16:43+00:00" + "time": "2024-02-18T20:23:39+00:00" }, { "name": "doctrine/lexer", - "version": "1.2.3", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.11" + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^5.21" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + "Doctrine\\Common\\Lexer\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -934,7 +808,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.3" + "source": "https://github.com/doctrine/lexer/tree/3.0.1" }, "funding": [ { @@ -950,20 +824,20 @@ "type": "tidelift" } ], - "time": "2022-02-28T11:07:21+00:00" + "time": "2024-02-05T11:56:58+00:00" }, { "name": "dragonmantank/cron-expression", - "version": "v3.3.1", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa" + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/be85b3f05b46c39bbc0d95f6c071ddff669510fa", - "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", "shasum": "" }, "require": { @@ -1003,7 +877,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.1" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3" }, "funding": [ { @@ -1011,31 +885,30 @@ "type": "github" } ], - "time": "2022-01-18T15:43:28+00:00" + "time": "2023-08-10T19:36:49+00:00" }, { "name": "egulias/email-validator", - "version": "3.1.2", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "ee0db30118f661fb166bcffbf5d82032df484697" + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ee0db30118f661fb166bcffbf5d82032df484697", - "reference": "ee0db30118f661fb166bcffbf5d82032df484697", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", "shasum": "" }, "require": { - "doctrine/lexer": "^1.2", - "php": ">=7.2", - "symfony/polyfill-intl-idn": "^1.15" + "doctrine/lexer": "^2.0 || ^3.0", + "php": ">=8.1", + "symfony/polyfill-intl-idn": "^1.26" }, "require-dev": { - "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^8.5.8|^9.3.3", - "vimeo/psalm": "^4" + "phpunit/phpunit": "^10.2", + "vimeo/psalm": "^5.12" }, "suggest": { "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" @@ -1043,7 +916,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "4.0.x-dev" } }, "autoload": { @@ -1071,7 +944,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/3.1.2" + "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" }, "funding": [ { @@ -1079,7 +952,7 @@ "type": "github" } ], - "time": "2021-10-11T09:18:27+00:00" + "time": "2023-10-06T06:47:41+00:00" }, { "name": "erusev/parsedown", @@ -1132,101 +1005,85 @@ "time": "2019-12-30T22:54:17+00:00" }, { - "name": "fruitcake/laravel-cors", - "version": "v2.2.0", + "name": "firebase/php-jwt", + "version": "v6.10.1", "source": { "type": "git", - "url": "https://github.com/fruitcake/laravel-cors.git", - "reference": "783a74f5e3431d7b9805be8afb60fd0a8f743534" + "url": "https://github.com/firebase/php-jwt.git", + "reference": "500501c2ce893c824c801da135d02661199f60c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/laravel-cors/zipball/783a74f5e3431d7b9805be8afb60fd0a8f743534", - "reference": "783a74f5e3431d7b9805be8afb60fd0a8f743534", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5", + "reference": "500501c2ce893c824c801da135d02661199f60c5", "shasum": "" }, "require": { - "asm89/stack-cors": "^2.0.1", - "illuminate/contracts": "^6|^7|^8|^9", - "illuminate/support": "^6|^7|^8|^9", - "php": ">=7.2" + "php": "^8.0" }, "require-dev": { - "laravel/framework": "^6|^7.24|^8", - "orchestra/testbench-dusk": "^4|^5|^6|^7", - "phpunit/phpunit": "^6|^7|^8|^9", - "squizlabs/php_codesniffer": "^3.5" + "guzzlehttp/guzzle": "^7.4", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "psr/cache": "^2.0||^3.0", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - }, - "laravel": { - "providers": [ - "Fruitcake\\Cors\\CorsServiceProvider" - ] - } + "suggest": { + "ext-sodium": "Support EdDSA (Ed25519) signatures", + "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" }, + "type": "library", "autoload": { "psr-4": { - "Fruitcake\\Cors\\": "src/" + "Firebase\\JWT\\": "src" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fruitcake", - "homepage": "https://fruitcake.nl" + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" }, { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" } ], - "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application", + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", "keywords": [ - "api", - "cors", - "crossdomain", - "laravel" + "jwt", + "php" ], "support": { - "issues": "https://github.com/fruitcake/laravel-cors/issues", - "source": "https://github.com/fruitcake/laravel-cors/tree/v2.2.0" + "issues": "https://github.com/firebase/php-jwt/issues", + "source": "https://github.com/firebase/php-jwt/tree/v6.10.1" }, - "funding": [ - { - "url": "https://fruitcake.nl", - "type": "custom" - }, - { - "url": "https://github.com/barryvdh", - "type": "github" - } - ], - "time": "2022-02-23T14:25:13+00:00" + "time": "2024-05-18T18:05:11+00:00" }, { "name": "fruitcake/php-cors", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/fruitcake/php-cors.git", - "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e" + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/58571acbaa5f9f462c9c77e911700ac66f446d4e", - "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "symfony/http-foundation": "^4.4|^5.4|^6" + "symfony/http-foundation": "^4.4|^5.4|^6|^7" }, "require-dev": { "phpstan/phpstan": "^1.4", @@ -1236,7 +1093,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -1267,7 +1124,7 @@ ], "support": { "issues": "https://github.com/fruitcake/php-cors/issues", - "source": "https://github.com/fruitcake/php-cors/tree/v1.2.0" + "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" }, "funding": [ { @@ -1279,28 +1136,28 @@ "type": "github" } ], - "time": "2022-02-20T15:07:15+00:00" + "time": "2023-10-12T05:21:21+00:00" }, { "name": "graham-campbell/result-type", - "version": "v1.0.4", + "version": "v1.1.2", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "0690bde05318336c7221785f2a932467f98b64ca" + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", - "reference": "0690bde05318336c7221785f2a932467f98b64ca", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/fbd48bce38f73f8a4ec8583362e732e4095e5862", + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0", - "phpoption/phpoption": "^1.8" + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.2" }, "require-dev": { - "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "type": "library", "autoload": { @@ -1329,7 +1186,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.2" }, "funding": [ { @@ -1341,26 +1198,26 @@ "type": "tidelift" } ], - "time": "2021-11-21T21:41:47+00:00" + "time": "2023-11-12T22:16:48+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "7.4.2", + "version": "7.8.1", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "ac1ec1cd9b5624694c3a40be801d94137afb12b4" + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ac1ec1cd9b5624694c3a40be801d94137afb12b4", - "reference": "ac1ec1cd9b5624694c3a40be801d94137afb12b4", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -1369,10 +1226,11 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -1382,8 +1240,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "7.4-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { @@ -1449,7 +1308,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.2" + "source": "https://github.com/guzzle/guzzle/tree/7.8.1" }, "funding": [ { @@ -1465,38 +1324,37 @@ "type": "tidelift" } ], - "time": "2022-03-20T14:16:28+00:00" + "time": "2023-12-03T20:35:24+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -1533,7 +1391,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.1" + "source": "https://github.com/guzzle/promises/tree/2.0.2" }, "funding": [ { @@ -1549,47 +1407,48 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:56:57+00:00" + "time": "2023-12-03T20:19:20+00:00" }, { "name": "guzzlehttp/psr7", - "version": "1.8.5", + "version": "2.6.2", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268" + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268", - "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" }, "provide": { + "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "^0.9", + "phpunit/phpunit": "^8.5.36 || ^9.6.15" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.7-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Psr7\\": "src/" } @@ -1628,6 +1487,11 @@ "name": "Tobias Schultze", "email": "webmaster@tubo-world.de", "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" } ], "description": "PSR-7 message implementation that also provides common utility methods", @@ -1643,7 +1507,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.8.5" + "source": "https://github.com/guzzle/psr7/tree/2.6.2" }, "funding": [ { @@ -1659,41 +1523,41 @@ "type": "tidelift" } ], - "time": "2022-03-20T21:51:18+00:00" + "time": "2023-12-03T20:05:35+00:00" }, { - "name": "http-interop/http-factory-guzzle", - "version": "1.2.0", + "name": "guzzlehttp/uri-template", + "version": "v1.0.3", "source": { "type": "git", - "url": "https://github.com/http-interop/http-factory-guzzle.git", - "reference": "8f06e92b95405216b237521cc64c804dd44c4a81" + "url": "https://github.com/guzzle/uri-template.git", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/http-interop/http-factory-guzzle/zipball/8f06e92b95405216b237521cc64c804dd44c4a81", - "reference": "8f06e92b95405216b237521cc64c804dd44c4a81", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", "shasum": "" }, "require": { - "guzzlehttp/psr7": "^1.7||^2.0", - "php": ">=7.3", - "psr/http-factory": "^1.0" - }, - "provide": { - "psr/http-factory-implementation": "^1.0" + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.24" }, "require-dev": { - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^9.5" - }, - "suggest": { - "guzzlehttp/psr7": "Includes an HTTP factory starting in version 2.0" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "uri-template/tests": "1.0.0" }, "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, "autoload": { "psr-4": { - "Http\\Factory\\Guzzle\\": "src/" + "GuzzleHttp\\UriTemplate\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1702,54 +1566,89 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "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" } ], - "description": "An HTTP Factory using Guzzle PSR7", + "description": "A polyfill class for uri_template of PHP", "keywords": [ - "factory", - "http", - "psr-17", - "psr-7" + "guzzlehttp", + "uri-template" ], "support": { - "issues": "https://github.com/http-interop/http-factory-guzzle/issues", - "source": "https://github.com/http-interop/http-factory-guzzle/tree/1.2.0" + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" }, - "time": "2021-07-21T13:50:14+00:00" - }, - { - "name": "inertiajs/inertia-laravel", - "version": "v0.5.4", - "source": { + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2023-12-03T19:50:20+00:00" + }, + { + "name": "inertiajs/inertia-laravel", + "version": "v1.3.0", + "source": { "type": "git", "url": "https://github.com/inertiajs/inertia-laravel.git", - "reference": "6a050ce04a710ac4809161558ac09fe49f13075e" + "reference": "36730d13b1dab9017069004fd458b3e67449a326" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/6a050ce04a710ac4809161558ac09fe49f13075e", - "reference": "6a050ce04a710ac4809161558ac09fe49f13075e", + "url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/36730d13b1dab9017069004fd458b3e67449a326", + "reference": "36730d13b1dab9017069004fd458b3e67449a326", "shasum": "" }, "require": { "ext-json": "*", - "laravel/framework": "^6.0|^7.0|^8.74|^9.0", - "php": "^7.2|~8.0.0|~8.1.0" + "laravel/framework": "^8.74|^9.0|^10.0|^11.0", + "php": "^7.3|~8.0.0|~8.1.0|~8.2.0|~8.3.0", + "symfony/console": "^5.3|^6.0|^7.0" }, "require-dev": { "mockery/mockery": "^1.3.3", - "orchestra/testbench": "^4.0|^5.0|^6.4|^7.0", - "phpunit/phpunit": "^8.0|^9.5.8", + "orchestra/testbench": "^6.4|^7.0|^8.0|^9.0", + "phpunit/phpunit": "^8.0|^9.5.8|^10.4", "roave/security-advisories": "dev-master" }, + "suggest": { + "ext-pcntl": "Recommended when running the Inertia SSR server via the `inertia:start-ssr` artisan command." + }, "type": "library", "extra": { "laravel": { "providers": [ "Inertia\\ServiceProvider" ] + }, + "branch-alias": { + "dev-master": "1.x-dev" } }, "autoload": { @@ -1778,7 +1677,7 @@ ], "support": { "issues": "https://github.com/inertiajs/inertia-laravel/issues", - "source": "https://github.com/inertiajs/inertia-laravel/tree/v0.5.4" + "source": "https://github.com/inertiajs/inertia-laravel/tree/v1.3.0" }, "funding": [ { @@ -1786,72 +1685,20 @@ "type": "github" } ], - "time": "2022-01-18T10:59:08+00:00" - }, - { - "name": "jaybizzle/crawler-detect", - "version": "v1.2.111", - "source": { - "type": "git", - "url": "https://github.com/JayBizzle/Crawler-Detect.git", - "reference": "d572ed4a65a70a2d2871dc5137c9c5b7e69745ab" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/d572ed4a65a70a2d2871dc5137c9c5b7e69745ab", - "reference": "d572ed4a65a70a2d2871dc5137c9c5b7e69745ab", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.8|^5.5|^6.5|^9.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Jaybizzle\\CrawlerDetect\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mark Beech", - "email": "m@rkbee.ch", - "role": "Developer" - } - ], - "description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent", - "homepage": "https://github.com/JayBizzle/Crawler-Detect/", - "keywords": [ - "crawler", - "crawler detect", - "crawler detector", - "crawlerdetect", - "php crawler detect" - ], - "support": { - "issues": "https://github.com/JayBizzle/Crawler-Detect/issues", - "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.111" - }, - "time": "2022-03-15T22:19:01+00:00" + "time": "2024-06-13T01:25:09+00:00" }, { "name": "jean85/pretty-package-versions", - "version": "2.0.5", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/Jean85/pretty-package-versions.git", - "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af" + "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/ae547e455a3d8babd07b96966b17d7fd21d9c6af", - "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/f9fdd29ad8e6d024f52678b570e5593759b550b4", + "reference": "f9fdd29ad8e6d024f52678b570e5593759b550b4", "shasum": "" }, "require": { @@ -1859,9 +1706,9 @@ "php": "^7.1|^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17", + "friendsofphp/php-cs-fixer": "^3.2", "jean85/composer-provided-replaced-stub-package": "^1.0", - "phpstan/phpstan": "^0.12.66", + "phpstan/phpstan": "^1.4", "phpunit/phpunit": "^7.5|^8.5|^9.4", "vimeo/psalm": "^4.3" }, @@ -1895,118 +1742,37 @@ ], "support": { "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.5" - }, - "time": "2021-10-08T21:21:46+00:00" - }, - { - "name": "jenssegers/agent", - "version": "v2.6.4", - "source": { - "type": "git", - "url": "https://github.com/jenssegers/agent.git", - "reference": "daa11c43729510b3700bc34d414664966b03bffe" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/jenssegers/agent/zipball/daa11c43729510b3700bc34d414664966b03bffe", - "reference": "daa11c43729510b3700bc34d414664966b03bffe", - "shasum": "" - }, - "require": { - "jaybizzle/crawler-detect": "^1.2", - "mobiledetect/mobiledetectlib": "^2.7.6", - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5.0|^6.0|^7.0" - }, - "suggest": { - "illuminate/support": "Required for laravel service providers" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - }, - "laravel": { - "providers": [ - "Jenssegers\\Agent\\AgentServiceProvider" - ], - "aliases": { - "Agent": "Jenssegers\\Agent\\Facades\\Agent" - } - } - }, - "autoload": { - "psr-4": { - "Jenssegers\\Agent\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jens Segers", - "homepage": "https://jenssegers.com" - } - ], - "description": "Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect", - "homepage": "https://github.com/jenssegers/agent", - "keywords": [ - "Agent", - "browser", - "desktop", - "laravel", - "mobile", - "platform", - "user agent", - "useragent" - ], - "support": { - "issues": "https://github.com/jenssegers/agent/issues", - "source": "https://github.com/jenssegers/agent/tree/v2.6.4" + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.6" }, - "funding": [ - { - "url": "https://github.com/jenssegers", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/jenssegers/agent", - "type": "tidelift" - } - ], - "time": "2020-06-13T08:05:20+00:00" + "time": "2024-03-08T09:58:59+00:00" }, { "name": "laravel/fortify", - "version": "v1.12.0", + "version": "v1.21.4", "source": { "type": "git", "url": "https://github.com/laravel/fortify.git", - "reference": "a6caadc80e348755de0e1da221a6253d9f2c48f9" + "reference": "5c2e9cdf589e439feb1ed2911d4acc7ece0ec49e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/fortify/zipball/a6caadc80e348755de0e1da221a6253d9f2c48f9", - "reference": "a6caadc80e348755de0e1da221a6253d9f2c48f9", + "url": "https://api.github.com/repos/laravel/fortify/zipball/5c2e9cdf589e439feb1ed2911d4acc7ece0ec49e", + "reference": "5c2e9cdf589e439feb1ed2911d4acc7ece0ec49e", "shasum": "" }, "require": { - "bacon/bacon-qr-code": "^2.0", + "bacon/bacon-qr-code": "^3.0", "ext-json": "*", - "illuminate/support": "^8.82|^9.0", - "php": "^7.3|^8.0", - "pragmarx/google2fa": "^7.0|^8.0" + "illuminate/support": "^10.0|^11.0", + "php": "^8.1", + "pragmarx/google2fa": "^8.0", + "symfony/console": "^6.0|^7.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^6.0|^7.0", - "phpunit/phpunit": "^9.3" + "orchestra/testbench": "^8.16|^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.4" }, "type": "library", "extra": { @@ -2043,58 +1809,73 @@ "issues": "https://github.com/laravel/fortify/issues", "source": "https://github.com/laravel/fortify" }, - "time": "2022-03-29T14:37:05+00:00" + "time": "2024-06-27T07:55:32+00:00" }, { "name": "laravel/framework", - "version": "v9.11.0", + "version": "v11.14.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "598a8c84d452a66b90a3213b1d67189cc726c728" + "reference": "657e8464e13147d56bc3a399115c8c26f38d4821" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/598a8c84d452a66b90a3213b1d67189cc726c728", - "reference": "598a8c84d452a66b90a3213b1d67189cc726c728", + "url": "https://api.github.com/repos/laravel/framework/zipball/657e8464e13147d56bc3a399115c8c26f38d4821", + "reference": "657e8464e13147d56bc3a399115c8c26f38d4821", "shasum": "" }, "require": { - "doctrine/inflector": "^2.0", - "dragonmantank/cron-expression": "^3.1", - "egulias/email-validator": "^3.1", + "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", "ext-mbstring": "*", "ext-openssl": "*", - "fruitcake/php-cors": "^1.2", - "laravel/serializable-closure": "^1.0", - "league/commonmark": "^2.2", - "league/flysystem": "^3.0", - "monolog/monolog": "^2.0", - "nesbot/carbon": "^2.53.1", - "php": "^8.0.2", + "ext-session": "*", + "ext-tokenizer": "*", + "fruitcake/php-cors": "^1.3", + "guzzlehttp/guzzle": "^7.8", + "guzzlehttp/uri-template": "^1.0", + "laravel/prompts": "^0.1.18", + "laravel/serializable-closure": "^1.3", + "league/commonmark": "^2.2.1", + "league/flysystem": "^3.8.0", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.72.2|^3.0", + "nunomaduro/termwind": "^2.0", + "php": "^8.2", "psr/container": "^1.1.1|^2.0.1", "psr/log": "^1.0|^2.0|^3.0", "psr/simple-cache": "^1.0|^2.0|^3.0", - "ramsey/uuid": "^4.2.2", - "symfony/console": "^6.0", - "symfony/error-handler": "^6.0", - "symfony/finder": "^6.0", - "symfony/http-foundation": "^6.0", - "symfony/http-kernel": "^6.0", - "symfony/mailer": "^6.0", - "symfony/mime": "^6.0", - "symfony/process": "^6.0", - "symfony/routing": "^6.0", - "symfony/var-dumper": "^6.0", - "tijsverkoyen/css-to-inline-styles": "^2.2.2", + "ramsey/uuid": "^4.7", + "symfony/console": "^7.0", + "symfony/error-handler": "^7.0", + "symfony/finder": "^7.0", + "symfony/http-foundation": "^7.0", + "symfony/http-kernel": "^7.0", + "symfony/mailer": "^7.0", + "symfony/mime": "^7.0", + "symfony/polyfill-php83": "^1.28", + "symfony/process": "^7.0", + "symfony/routing": "^7.0", + "symfony/uid": "^7.0", + "symfony/var-dumper": "^7.0", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", "vlucas/phpdotenv": "^5.4.1", "voku/portable-ascii": "^2.0" }, "conflict": { + "mockery/mockery": "1.6.8", "tightenco/collect": "<5.5.33" }, "provide": { "psr/container-implementation": "1.1|2.0", + "psr/log-implementation": "1.0|2.0|3.0", "psr/simple-cache-implementation": "1.0|2.0|3.0" }, "replace": { @@ -2121,6 +1902,7 @@ "illuminate/notifications": "self.version", "illuminate/pagination": "self.version", "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", "illuminate/queue": "self.version", "illuminate/redis": "self.version", "illuminate/routing": "self.version", @@ -2129,67 +1911,78 @@ "illuminate/testing": "self.version", "illuminate/translation": "self.version", "illuminate/validation": "self.version", - "illuminate/view": "self.version" + "illuminate/view": "self.version", + "spatie/once": "*" }, "require-dev": { - "aws/aws-sdk-php": "^3.198.1", - "doctrine/dbal": "^2.13.3|^3.1.4", - "fakerphp/faker": "^1.9.2", - "guzzlehttp/guzzle": "^7.2", + "ably/ably-php": "^1.0", + "aws/aws-sdk-php": "^3.235.5", + "ext-gmp": "*", + "fakerphp/faker": "^1.23", "league/flysystem-aws-s3-v3": "^3.0", "league/flysystem-ftp": "^3.0", + "league/flysystem-path-prefixing": "^3.3", + "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", - "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^7.1", - "pda/pheanstalk": "^4.0", + "mockery/mockery": "^1.6", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^9.1.5", + "pda/pheanstalk": "^5.0", "phpstan/phpstan": "^1.4.7", - "phpunit/phpunit": "^9.5.8", - "predis/predis": "^1.1.9", - "symfony/cache": "^6.0" + "phpunit/phpunit": "^10.5|^11.0", + "predis/predis": "^2.0.2", + "resend/resend-php": "^0.10.0", + "symfony/cache": "^7.0", + "symfony/http-client": "^7.0", + "symfony/psr-http-message-bridge": "^7.0" }, "suggest": { "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", - "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.198.1).", - "brianium/paratest": "Required to run tests in parallel (^6.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", - "ext-bcmath": "Required to use the multiple_of validation rule.", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", + "brianium/paratest": "Required to run tests in parallel (^7.0|^8.0).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", "ext-memcached": "Required to use the memcache cache driver.", - "ext-pcntl": "Required to use all features of the queue worker.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", "ext-posix": "Required to use all features of the queue worker.", - "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", "filp/whoops": "Required for friendly error pages in development (^2.14.3).", - "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.2).", "laravel/tinker": "Required to use the tinker console command (^2.0).", "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", + "league/flysystem-read-only": "Required to use read-only disks (^3.3)", "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", - "mockery/mockery": "Required to use mocking (^1.4.4).", + "mockery/mockery": "Required to use mocking (^1.6).", "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", - "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8).", - "predis/predis": "Required to use the predis connector (^1.1.9).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^10.5|^11.0).", + "predis/predis": "Required to use the predis connector (^2.0.2).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^6.0).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^6.0).", - "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.0).", - "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.0).", - "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.0).", - "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." + "resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^7.0).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^7.0).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.0).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^7.0).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^7.0).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^7.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.x-dev" + "dev-master": "11.x-dev" } }, "autoload": { "files": [ "src/Illuminate/Collections/helpers.php", "src/Illuminate/Events/functions.php", + "src/Illuminate/Filesystem/functions.php", "src/Illuminate/Foundation/helpers.php", "src/Illuminate/Support/helpers.php" ], @@ -2222,28 +2015,29 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-05-03T14:47:20+00:00" + "time": "2024-07-02T17:23:58+00:00" }, { "name": "laravel/helpers", - "version": "v1.5.0", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/laravel/helpers.git", - "reference": "c28b0ccd799d58564c41a62395ac9511a1e72931" + "reference": "6caaa242a23bc39b4e3cf57304b5409260a7a346" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/helpers/zipball/c28b0ccd799d58564c41a62395ac9511a1e72931", - "reference": "c28b0ccd799d58564c41a62395ac9511a1e72931", + "url": "https://api.github.com/repos/laravel/helpers/zipball/6caaa242a23bc39b4e3cf57304b5409260a7a346", + "reference": "6caaa242a23bc39b4e3cf57304b5409260a7a346", "shasum": "" }, "require": { - "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0", - "php": "^7.1.3|^8.0" + "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "php": "^7.2.0|^8.0" }, "require-dev": { - "phpunit/phpunit": "^7.0|^8.0|^9.0" + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0" }, "type": "library", "extra": { @@ -2276,43 +2070,44 @@ "laravel" ], "support": { - "source": "https://github.com/laravel/helpers/tree/v1.5.0" + "source": "https://github.com/laravel/helpers/tree/v1.7.0" }, - "time": "2022-01-12T15:58:51+00:00" + "time": "2023-11-30T14:09:05+00:00" }, { "name": "laravel/jetstream", - "version": "v2.7.5", + "version": "v5.1.2", "source": { "type": "git", "url": "https://github.com/laravel/jetstream.git", - "reference": "8907b5eabc97ca286267b243d1be2258199b0f35" + "reference": "cdcd6fad35a369080f37420cbcc0124756af9710" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/jetstream/zipball/8907b5eabc97ca286267b243d1be2258199b0f35", - "reference": "8907b5eabc97ca286267b243d1be2258199b0f35", + "url": "https://api.github.com/repos/laravel/jetstream/zipball/cdcd6fad35a369080f37420cbcc0124756af9710", + "reference": "cdcd6fad35a369080f37420cbcc0124756af9710", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/support": "^8.37|^9.0", - "jenssegers/agent": "^2.6", - "laravel/fortify": "^1.12", - "php": "^7.3|^8.0" + "illuminate/console": "^11.0", + "illuminate/support": "^11.0", + "laravel/fortify": "^1.20", + "mobiledetect/mobiledetectlib": "^4.8", + "php": "^8.2.0", + "symfony/console": "^7.0" }, "require-dev": { - "inertiajs/inertia-laravel": "^0.5.2", - "laravel/sanctum": "^2.7", + "inertiajs/inertia-laravel": "^1.0", + "laravel/sanctum": "^4.0", + "livewire/livewire": "^3.3", "mockery/mockery": "^1.0", - "orchestra/testbench": "^6.0|^7.0", - "phpunit/phpunit": "^9.3" + "orchestra/testbench": "^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.4" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, "laravel": { "providers": [ "Laravel\\Jetstream\\JetstreamServiceProvider" @@ -2344,40 +2139,97 @@ "issues": "https://github.com/laravel/jetstream/issues", "source": "https://github.com/laravel/jetstream" }, - "time": "2022-04-25T14:27:29+00:00" + "time": "2024-05-30T14:23:31+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.1.24", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "409b0b4305273472f3754826e68f4edbd0150149" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/409b0b4305273472f3754826e68f4edbd0150149", + "reference": "409b0b4305273472f3754826e68f4edbd0150149", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "illuminate/collections": "^10.0|^11.0", + "php": "^8.1", + "symfony/console": "^6.2|^7.0" + }, + "conflict": { + "illuminate/console": ">=10.17.0 <10.25.0", + "laravel/framework": ">=10.17.0 <10.25.0" + }, + "require-dev": { + "mockery/mockery": "^1.5", + "pestphp/pest": "^2.3", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-mockery": "^1.1" + }, + "suggest": { + "ext-pcntl": "Required for the spinner to be animated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Laravel\\Prompts\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Add beautiful and user-friendly forms to your command-line applications.", + "support": { + "issues": "https://github.com/laravel/prompts/issues", + "source": "https://github.com/laravel/prompts/tree/v0.1.24" + }, + "time": "2024-06-17T13:58:22+00:00" }, { "name": "laravel/sanctum", - "version": "v2.15.1", + "version": "v4.0.2", "source": { "type": "git", "url": "https://github.com/laravel/sanctum.git", - "reference": "31fbe6f85aee080c4dc2f9b03dc6dd5d0ee72473" + "reference": "9cfc0ce80cabad5334efff73ec856339e8ec1ac1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sanctum/zipball/31fbe6f85aee080c4dc2f9b03dc6dd5d0ee72473", - "reference": "31fbe6f85aee080c4dc2f9b03dc6dd5d0ee72473", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/9cfc0ce80cabad5334efff73ec856339e8ec1ac1", + "reference": "9cfc0ce80cabad5334efff73ec856339e8ec1ac1", "shasum": "" }, "require": { "ext-json": "*", - "illuminate/console": "^6.9|^7.0|^8.0|^9.0", - "illuminate/contracts": "^6.9|^7.0|^8.0|^9.0", - "illuminate/database": "^6.9|^7.0|^8.0|^9.0", - "illuminate/support": "^6.9|^7.0|^8.0|^9.0", - "php": "^7.2|^8.0" + "illuminate/console": "^11.0", + "illuminate/contracts": "^11.0", + "illuminate/database": "^11.0", + "illuminate/support": "^11.0", + "php": "^8.2", + "symfony/console": "^7.0" }, "require-dev": { - "mockery/mockery": "^1.0", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0", - "phpunit/phpunit": "^8.0|^9.3" + "mockery/mockery": "^1.6", + "orchestra/testbench": "^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, "laravel": { "providers": [ "Laravel\\Sanctum\\SanctumServiceProvider" @@ -2409,29 +2261,30 @@ "issues": "https://github.com/laravel/sanctum/issues", "source": "https://github.com/laravel/sanctum" }, - "time": "2022-04-08T13:39:49+00:00" + "time": "2024-04-10T19:39:58+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.1.1", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e" + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/9e4b005daa20b0c161f3845040046dc9ddc1d74e", - "reference": "9e4b005daa20b0c161f3845040046dc9ddc1d74e", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", "shasum": "" }, "require": { "php": "^7.3|^8.0" }, "require-dev": { - "pestphp/pest": "^1.18", - "phpstan/phpstan": "^0.12.98", - "symfony/var-dumper": "^5.3" + "nesbot/carbon": "^2.61", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11" }, "type": "library", "extra": { @@ -2468,35 +2321,38 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2022-02-11T19:23:53+00:00" + "time": "2023-11-08T14:08:06+00:00" }, { "name": "laravel/socialite", - "version": "v5.5.2", + "version": "v5.15.1", "source": { "type": "git", "url": "https://github.com/laravel/socialite.git", - "reference": "68afb03259b82d898c68196cbcacd48596a9dd72" + "reference": "cc02625f0bd1f95dc3688eb041cce0f1e709d029" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/socialite/zipball/68afb03259b82d898c68196cbcacd48596a9dd72", - "reference": "68afb03259b82d898c68196cbcacd48596a9dd72", + "url": "https://api.github.com/repos/laravel/socialite/zipball/cc02625f0bd1f95dc3688eb041cce0f1e709d029", + "reference": "cc02625f0bd1f95dc3688eb041cce0f1e709d029", "shasum": "" }, "require": { "ext-json": "*", + "firebase/php-jwt": "^6.4", "guzzlehttp/guzzle": "^6.0|^7.0", - "illuminate/http": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0", - "league/oauth1-client": "^1.0", - "php": "^7.2|^8.0" + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "league/oauth1-client": "^1.10.1", + "php": "^7.2|^8.0", + "phpseclib/phpseclib": "^3.0" }, "require-dev": { - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0", "mockery/mockery": "^1.0", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0", - "phpunit/phpunit": "^8.0|^9.3" + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.0|^9.3|^10.4" }, "type": "library", "extra": { @@ -2537,42 +2393,40 @@ "issues": "https://github.com/laravel/socialite/issues", "source": "https://github.com/laravel/socialite" }, - "time": "2022-03-10T15:26:19+00:00" + "time": "2024-06-28T20:09:34+00:00" }, { "name": "laravel/tinker", - "version": "v2.7.2", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "dff39b661e827dae6e092412f976658df82dbac5" + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/dff39b661e827dae6e092412f976658df82dbac5", - "reference": "dff39b661e827dae6e092412f976658df82dbac5", + "url": "https://api.github.com/repos/laravel/tinker/zipball/502e0fe3f0415d06d5db1f83a472f0f3b754bafe", + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe", "shasum": "" }, "require": { - "illuminate/console": "^6.0|^7.0|^8.0|^9.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "php": "^7.2.5|^8.0", - "psy/psysh": "^0.10.4|^0.11.1", - "symfony/var-dumper": "^4.3.4|^5.0|^6.0" + "psy/psysh": "^0.11.1|^0.12.0", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" }, "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^8.5.8|^9.3.3" }, "suggest": { - "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0)." + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, "laravel": { "providers": [ "Laravel\\Tinker\\TinkerServiceProvider" @@ -2603,38 +2457,40 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.7.2" + "source": "https://github.com/laravel/tinker/tree/v2.9.0" }, - "time": "2022-03-23T12:38:24+00:00" + "time": "2024-01-04T16:10:04+00:00" }, { "name": "laravel/ui", - "version": "v3.4.5", + "version": "v4.5.2", "source": { "type": "git", "url": "https://github.com/laravel/ui.git", - "reference": "f11d295de1508c5bb56206a620b00b6616de414c" + "reference": "c75396f63268c95b053c8e4814eb70e0875e9628" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/ui/zipball/f11d295de1508c5bb56206a620b00b6616de414c", - "reference": "f11d295de1508c5bb56206a620b00b6616de414c", + "url": "https://api.github.com/repos/laravel/ui/zipball/c75396f63268c95b053c8e4814eb70e0875e9628", + "reference": "c75396f63268c95b053c8e4814eb70e0875e9628", "shasum": "" }, "require": { - "illuminate/console": "^8.42|^9.0", - "illuminate/filesystem": "^8.42|^9.0", - "illuminate/support": "^8.82|^9.0", - "illuminate/validation": "^8.42|^9.0", - "php": "^7.3|^8.0" + "illuminate/console": "^9.21|^10.0|^11.0", + "illuminate/filesystem": "^9.21|^10.0|^11.0", + "illuminate/support": "^9.21|^10.0|^11.0", + "illuminate/validation": "^9.21|^10.0|^11.0", + "php": "^8.0", + "symfony/console": "^6.0|^7.0" }, "require-dev": { - "orchestra/testbench": "^6.23|^7.0" + "orchestra/testbench": "^7.35|^8.15|^9.0", + "phpunit/phpunit": "^9.3|^10.4|^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "4.x-dev" }, "laravel": { "providers": [ @@ -2664,22 +2520,22 @@ "ui" ], "support": { - "source": "https://github.com/laravel/ui/tree/v3.4.5" + "source": "https://github.com/laravel/ui/tree/v4.5.2" }, - "time": "2022-02-21T14:59:16+00:00" + "time": "2024-05-08T18:07:10+00:00" }, { "name": "league/commonmark", - "version": "2.3.0", + "version": "2.4.2", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "32a49eb2b38fe5e5c417ab748a45d0beaab97955" + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/32a49eb2b38fe5e5c417ab748a45d0beaab97955", - "reference": "32a49eb2b38fe5e5c417ab748a45d0beaab97955", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/91c24291965bd6d7c46c46a12ba7492f83b1cadf", + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf", "shasum": "" }, "require": { @@ -2692,22 +2548,22 @@ }, "require-dev": { "cebe/markdown": "^1.0", - "commonmark/cmark": "0.30.0", + "commonmark/cmark": "0.30.3", "commonmark/commonmark.js": "0.30.0", "composer/package-versions-deprecated": "^1.8", "embed/embed": "^4.4", "erusev/parsedown": "^1.0", "ext-json": "*", "github/gfm": "0.29.0", - "michelf/php-markdown": "^1.4", + "michelf/php-markdown": "^1.4 || ^2.0", "nyholm/psr7": "^1.5", - "phpstan/phpstan": "^0.12.88 || ^1.0.0", - "phpunit/phpunit": "^9.5.5", + "phpstan/phpstan": "^1.8.2", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", - "unleashedtech/php-coding-standard": "^3.1", - "vimeo/psalm": "^4.7.3" + "symfony/finder": "^5.3 | ^6.0 || ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", + "unleashedtech/php-coding-standard": "^3.1.1", + "vimeo/psalm": "^4.24.0 || ^5.0.0" }, "suggest": { "symfony/yaml": "v2.3+ required if using the Front Matter extension" @@ -2715,7 +2571,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" } }, "autoload": { @@ -2772,20 +2628,20 @@ "type": "tidelift" } ], - "time": "2022-04-07T22:37:05+00:00" + "time": "2024-02-02T11:59:32+00:00" }, { "name": "league/config", - "version": "v1.1.1", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/thephpleague/config.git", - "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e" + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/config/zipball/a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", - "reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e", + "url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", + "reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3", "shasum": "" }, "require": { @@ -2794,7 +2650,7 @@ "php": "^7.4 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.90", + "phpstan/phpstan": "^1.8.2", "phpunit/phpunit": "^9.5.5", "scrutinizer/ocular": "^1.8.1", "unleashedtech/php-coding-standard": "^3.1", @@ -2854,47 +2710,54 @@ "type": "github" } ], - "time": "2021-08-14T12:15:32+00:00" + "time": "2022-12-11T20:36:23+00:00" }, { "name": "league/flysystem", - "version": "3.0.19", + "version": "3.28.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "670df21225d68d165a8df38587ac3f41caf608f8" + "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/670df21225d68d165a8df38587ac3f41caf608f8", - "reference": "670df21225d68d165a8df38587ac3f41caf608f8", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", + "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", "shasum": "" }, "require": { + "league/flysystem-local": "^3.0.0", "league/mime-type-detection": "^1.0.0", "php": "^8.0.2" }, "conflict": { + "async-aws/core": "<1.19.0", + "async-aws/s3": "<1.14.0", "aws/aws-sdk-php": "3.209.31 || 3.210.0", "guzzlehttp/guzzle": "<7.0", "guzzlehttp/ringphp": "<1.1.1", + "phpseclib/phpseclib": "3.0.15", "symfony/http-client": "<5.2" }, "require-dev": { - "async-aws/s3": "^1.5", - "async-aws/simple-s3": "^1.0", - "aws/aws-sdk-php": "^3.198.1", + "async-aws/s3": "^1.5 || ^2.0", + "async-aws/simple-s3": "^1.1 || ^2.0", + "aws/aws-sdk-php": "^3.295.10", "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", + "ext-mongodb": "^1.3", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", + "guzzlehttp/psr7": "^2.6", "microsoft/azure-storage-blob": "^1.1", - "phpseclib/phpseclib": "^2.0", - "phpstan/phpstan": "^0.12.26", - "phpunit/phpunit": "^9.5.11", - "sabre/dav": "^4.3.1" + "mongodb/mongodb": "^1.2", + "phpseclib/phpseclib": "^3.0.36", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.11|^10.0", + "sabre/dav": "^4.6.0" }, "type": "library", "autoload": { @@ -2928,46 +2791,81 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.0.19" + "source": "https://github.com/thephpleague/flysystem/tree/3.28.0" }, - "funding": [ - { - "url": "https://offset.earth/frankdejonge", - "type": "custom" - }, - { - "url": "https://github.com/frankdejonge", - "type": "github" - }, + "time": "2024-05-22T10:09:12+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.28.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/13f22ea8be526ea58c2ddff9e158ef7c296e4f40", + "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" } ], - "time": "2022-05-03T21:19:02+00:00" + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "source": "https://github.com/thephpleague/flysystem-local/tree/3.28.0" + }, + "time": "2024-05-06T20:05:52+00:00" }, { "name": "league/mime-type-detection", - "version": "1.11.0", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", - "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", "shasum": "" }, "require": { "ext-fileinfo": "*", - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.2", "phpstan/phpstan": "^0.12.68", - "phpunit/phpunit": "^8.5.8 || ^9.3" + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" }, "type": "library", "autoload": { @@ -2988,7 +2886,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" }, "funding": [ { @@ -3000,7 +2898,7 @@ "type": "tidelift" } ], - "time": "2022-04-17T13:12:02+00:00" + "time": "2024-01-28T23:22:08+00:00" }, { "name": "league/oauth1-client", @@ -3080,28 +2978,28 @@ }, { "name": "mariuzzo/laravel-js-localization", - "version": "v1.9.0", + "version": "v1.11.1", "source": { "type": "git", "url": "https://github.com/rmariuzzo/Laravel-JS-Localization.git", - "reference": "12531672e995296e280378251efb37f3d1285693" + "reference": "beda21f30ad8b3160ad17146fab6dcb79fe38eac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rmariuzzo/Laravel-JS-Localization/zipball/12531672e995296e280378251efb37f3d1285693", - "reference": "12531672e995296e280378251efb37f3d1285693", + "url": "https://api.github.com/repos/rmariuzzo/Laravel-JS-Localization/zipball/beda21f30ad8b3160ad17146fab6dcb79fe38eac", + "reference": "beda21f30ad8b3160ad17146fab6dcb79fe38eac", "shasum": "" }, "require": { - "illuminate/config": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/console": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/filesystem": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "illuminate/config": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/console": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/filesystem": "^4.2 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", "php": "^5.4 || ^7.0 || ^8.0", "tedivm/jshrink": "~1.0" }, "require-dev": { - "orchestra/testbench": "^2.2 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0", - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + "orchestra/testbench": "^2.2 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0" }, "type": "library", "extra": { @@ -3169,36 +3067,38 @@ "issues": "https://github.com/rmariuzzo/laravel-js-localization/issues", "source": "https://github.com/rmariuzzo/laravel-js-localization" }, - "time": "2022-02-09T09:35:03+00:00" + "time": "2024-03-31T11:24:22+00:00" }, { "name": "mobiledetect/mobiledetectlib", - "version": "2.8.39", + "version": "4.8.06", "source": { "type": "git", "url": "https://github.com/serbanghita/Mobile-Detect.git", - "reference": "0fd6753003fc870f6e229bae869cc1337c99bc45" + "reference": "af088b54cecc13b3264edca7da93a89ba7aa2d9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/0fd6753003fc870f6e229bae869cc1337c99bc45", - "reference": "0fd6753003fc870f6e229bae869cc1337c99bc45", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/af088b54cecc13b3264edca7da93a89ba7aa2d9e", + "reference": "af088b54cecc13b3264edca7da93a89ba7aa2d9e", "shasum": "" }, "require": { - "php": ">=5.0.0" + "php": ">=8.0", + "psr/simple-cache": "^2 || ^3" }, "require-dev": { - "phpunit/phpunit": "~4.8.35||~5.7" + "friendsofphp/php-cs-fixer": "^v3.35.1", + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6", + "squizlabs/php_codesniffer": "^3.7" }, "type": "library", "autoload": { - "psr-0": { - "Detection": "namespaced/" - }, - "classmap": [ - "Mobile_Detect.php" - ] + "psr-4": { + "Detection\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -3223,47 +3123,55 @@ ], "support": { "issues": "https://github.com/serbanghita/Mobile-Detect/issues", - "source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.39" + "source": "https://github.com/serbanghita/Mobile-Detect/tree/4.8.06" }, - "time": "2022-02-17T19:24:25+00:00" + "funding": [ + { + "url": "https://github.com/serbanghita", + "type": "github" + } + ], + "time": "2024-03-01T22:28:42+00:00" }, { "name": "moneyphp/money", - "version": "v3.3.1", + "version": "v4.5.0", "source": { "type": "git", "url": "https://github.com/moneyphp/money.git", - "reference": "122664c2621a95180a13c1ac81fea1d2ef20781e" + "reference": "a1daa7daf159b4044e3d0c34c41fe2be5860e850" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/moneyphp/money/zipball/122664c2621a95180a13c1ac81fea1d2ef20781e", - "reference": "122664c2621a95180a13c1ac81fea1d2ef20781e", + "url": "https://api.github.com/repos/moneyphp/money/zipball/a1daa7daf159b4044e3d0c34c41fe2be5860e850", + "reference": "a1daa7daf159b4044e3d0c34c41fe2be5860e850", "shasum": "" }, "require": { + "ext-bcmath": "*", + "ext-filter": "*", "ext-json": "*", - "php": ">=5.6" + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { - "cache/taggable-cache": "^0.4.0", - "doctrine/instantiator": "^1.0.5", - "ext-bcmath": "*", + "cache/taggable-cache": "^1.1.0", + "doctrine/coding-standard": "^12.0", + "doctrine/instantiator": "^1.5.0 || ^2.0", "ext-gmp": "*", "ext-intl": "*", - "florianv/exchanger": "^1.0", - "florianv/swap": "^3.0", - "friends-of-phpspec/phpspec-code-coverage": "^3.1.1 || ^4.3", - "moneyphp/iso-currencies": "^3.2.1", - "php-http/message": "^1.4", - "php-http/mock-client": "^1.0.0", - "phpspec/phpspec": "^3.4.3", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.18 || ^8.5", - "psr/cache": "^1.0", - "symfony/phpunit-bridge": "^4" + "florianv/exchanger": "^2.8.1", + "florianv/swap": "^4.3.0", + "moneyphp/crypto-currencies": "^1.1.0", + "moneyphp/iso-currencies": "^3.4", + "php-http/message": "^1.16.0", + "php-http/mock-client": "^1.6.0", + "phpbench/phpbench": "^1.2.5", + "phpunit/phpunit": "^10.5.9", + "psalm/plugin-phpunit": "^0.18.4", + "psr/cache": "^1.0.1 || ^2.0 || ^3.0", + "vimeo/psalm": "~5.20.0" }, "suggest": { - "ext-bcmath": "Calculate without integer limits", "ext-gmp": "Calculate without integer limits", "ext-intl": "Format Money objects with intl", "florianv/exchanger": "Exchange rates library for PHP", @@ -3309,40 +3217,39 @@ ], "support": { "issues": "https://github.com/moneyphp/money/issues", - "source": "https://github.com/moneyphp/money/tree/master" + "source": "https://github.com/moneyphp/money/tree/v4.5.0" }, - "time": "2020-03-18T17:49:59+00:00" + "time": "2024-02-15T19:47:21+00:00" }, { "name": "monicahq/laravel-cloudflare", - "version": "3.2.2", + "version": "3.7.1", "source": { "type": "git", "url": "https://github.com/monicahq/laravel-cloudflare.git", - "reference": "bc8881e04223bdd1c564fdfcdc09f11c443e917d" + "reference": "5d18e60d5d772466c931e4e73377f0493e104211" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/monicahq/laravel-cloudflare/zipball/bc8881e04223bdd1c564fdfcdc09f11c443e917d", - "reference": "bc8881e04223bdd1c564fdfcdc09f11c443e917d", + "url": "https://api.github.com/repos/monicahq/laravel-cloudflare/zipball/5d18e60d5d772466c931e4e73377f0493e104211", + "reference": "5d18e60d5d772466c931e4e73377f0493e104211", "shasum": "" }, "require": { - "illuminate/support": "^8.0 || ^9.0", + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0", "php": "^7.4 || ^8.0" }, "require-dev": { "guzzlehttp/guzzle": "^6.3 || ^7.0", + "larastan/larastan": "^1.0 || ^2.4", "mockery/mockery": "^1.4", - "nunomaduro/larastan": "^1.0", "ocramius/package-versions": "^1.5 || ^2.1", - "orchestra/testbench": "^6.0 || ^7.0", + "orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^8.0 || ^9.0", - "thecodingmachine/phpstan-safe-rule": "^1.0", - "vimeo/psalm": "^4.0" + "phpunit/phpunit": "^9.5 || ^10.0 || ^11.0", + "vimeo/psalm": "^4.0 || ^5.6" }, "suggest": { "guzzlehttp/guzzle": "Required to get cloudflares ip addresses (^6.5.5|^7.0)." @@ -3387,44 +3294,47 @@ "type": "github" } ], - "time": "2022-01-30T15:22:48+00:00" + "time": "2024-03-30T09:59:45+00:00" }, { "name": "monolog/monolog", - "version": "2.5.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "4192345e260f1d51b365536199744b987e160edc" + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4192345e260f1d51b365536199744b987e160edc", - "reference": "4192345e260f1d51b365536199744b987e160edc", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8", + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8", "shasum": "" }, "require": { - "php": ">=7.2", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" + "php": ">=8.1", + "psr/log": "^2.0 || ^3.0" }, "provide": { - "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" + "psr/log-implementation": "3.0.0" }, "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "aws/aws-sdk-php": "^3.0", "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^7", - "graylog2/gelf-php": "^1.4.2", + "elasticsearch/elasticsearch": "^7 || ^8", + "ext-json": "*", + "graylog2/gelf-php": "^1.4.2 || ^2.0", + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/psr7": "^2.2", "mongodb/mongodb": "^1.8", "php-amqplib/php-amqplib": "~2.4 || ^3", - "php-console/php-console": "^3.1.3", - "phpspec/prophecy": "^1.6.1", - "phpstan/phpstan": "^0.12.91", - "phpunit/phpunit": "^8.5", - "predis/predis": "^1.1", - "rollbar/rollbar": "^1.3 || ^2 || ^3", - "ruflin/elastica": ">=0.90@dev", - "swiftmailer/swiftmailer": "^5.3|^6.0" + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.4", + "phpunit/phpunit": "^10.5.17", + "predis/predis": "^1.1 || ^2", + "ruflin/elastica": "^7", + "symfony/mailer": "^5.4 || ^6", + "symfony/mime": "^5.4 || ^6" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", @@ -3439,14 +3349,13 @@ "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "php-console/php-console": "Allow sending log messages to Google Chrome", "rollbar/rollbar": "Allow sending log messages to Rollbar", "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -3474,7 +3383,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.5.0" + "source": "https://github.com/Seldaek/monolog/tree/3.7.0" }, "funding": [ { @@ -3486,40 +3395,45 @@ "type": "tidelift" } ], - "time": "2022-04-08T15:43:54+00:00" + "time": "2024-06-28T09:40:51+00:00" }, { "name": "nesbot/carbon", - "version": "2.58.0", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055" + "reference": "39c8ef752db6865717cc3fba63970c16f057982c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/97a34af22bde8d0ac20ab34b29d7bfe360902055", - "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/39c8ef752db6865717cc3fba63970c16f057982c", + "reference": "39c8ef752db6865717cc3fba63970c16f057982c", "shasum": "" }, "require": { + "carbonphp/carbon-doctrine-types": "*", "ext-json": "*", - "php": "^7.1.8 || ^8.0", + "php": "^8.1", + "psr/clock": "^1.0", + "symfony/clock": "^6.3 || ^7.0", "symfony/polyfill-mbstring": "^1.0", - "symfony/polyfill-php80": "^1.16", - "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + "symfony/translation": "^4.4.18 || ^5.2.1|| ^6.0 || ^7.0" + }, + "provide": { + "psr/clock-implementation": "1.0" }, "require-dev": { - "doctrine/dbal": "^2.0 || ^3.0", - "doctrine/orm": "^2.7", - "friendsofphp/php-cs-fixer": "^3.0", - "kylekatarnls/multi-tester": "^2.0", - "phpmd/phpmd": "^2.9", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.54 || ^1.0", - "phpunit/php-file-iterator": "^2.0.5", - "phpunit/phpunit": "^7.5.20 || ^8.5.23", - "squizlabs/php_codesniffer": "^3.4" + "doctrine/dbal": "^3.6.3 || ^4.0", + "doctrine/orm": "^2.15.2 || ^3.0", + "friendsofphp/php-cs-fixer": "^3.57.2", + "kylekatarnls/multi-tester": "^2.5.3", + "ondrejmirtes/better-reflection": "^6.25.0.4", + "phpmd/phpmd": "^2.15.0", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan": "^1.11.2", + "phpunit/phpunit": "^10.5.20", + "squizlabs/php_codesniffer": "^3.9.0" }, "bin": [ "bin/carbon" @@ -3527,8 +3441,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-3.x": "3.x-dev", - "dev-master": "2.x-dev" + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" }, "laravel": { "providers": [ @@ -3575,43 +3489,47 @@ }, "funding": [ { - "url": "https://opencollective.com/Carbon", - "type": "open_collective" + "url": "https://github.com/sponsors/kylekatarnls", + "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "url": "https://opencollective.com/Carbon#sponsor", + "type": "opencollective" + }, + { + "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme", "type": "tidelift" } ], - "time": "2022-04-25T19:31:17+00:00" + "time": "2024-06-20T15:52:59+00:00" }, { "name": "nette/schema", - "version": "v1.2.2", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df" + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/9a39cef03a5b34c7de64f551538cbba05c2be5df", - "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df", + "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", "shasum": "" }, "require": { - "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", - "php": ">=7.1 <8.2" + "nette/utils": "^4.0", + "php": "8.1 - 8.3" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", - "phpstan/phpstan-nette": "^0.12", - "tracy/tracy": "^2.7" + "nette/tester": "^2.4", + "phpstan/phpstan-nette": "^1.0", + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -3643,34 +3561,36 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.2" + "source": "https://github.com/nette/schema/tree/v1.3.0" }, - "time": "2021-10-15T11:40:02+00:00" + "time": "2023-12-11T11:54:22+00:00" }, { "name": "nette/utils", - "version": "v3.2.7", + "version": "v4.0.4", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99" + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/0af4e3de4df9f1543534beab255ccf459e7a2c99", - "reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99", + "url": "https://api.github.com/repos/nette/utils/zipball/d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218", "shasum": "" }, "require": { - "php": ">=7.2 <8.2" + "php": ">=8.0 <8.4" }, "conflict": { - "nette/di": "<3.0.6" + "nette/finder": "<3", + "nette/schema": "<1.2.2" }, "require-dev": { - "nette/tester": "~2.0", + "jetbrains/phpstorm-attributes": "dev-master", + "nette/tester": "^2.5", "phpstan/phpstan": "^1.0", - "tracy/tracy": "^2.3" + "tracy/tracy": "^2.9" }, "suggest": { "ext-gd": "to use Image", @@ -3678,13 +3598,12 @@ "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", "ext-json": "to use Nette\\Utils\\Json", "ext-mbstring": "to use Strings::lower() etc...", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", - "ext-xml": "to use Strings::length() etc. when mbstring is not available" + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3728,31 +3647,33 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v3.2.7" + "source": "https://github.com/nette/utils/tree/v4.0.4" }, - "time": "2022-01-24T11:29:14+00:00" + "time": "2024-01-17T16:50:36+00:00" }, { "name": "nikic/php-parser", - "version": "v4.13.2", + "version": "v5.1.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077" + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", - "reference": "210577fe3cf7badcc5814d99455df46564f3c077", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -3760,7 +3681,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -3784,44 +3705,133 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" + }, + "time": "2024-07-01T20:03:41+00:00" + }, + { + "name": "nunomaduro/termwind", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/nunomaduro/termwind.git", + "reference": "58c4c58cf23df7f498daeb97092e34f5259feb6a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/58c4c58cf23df7f498daeb97092e34f5259feb6a", + "reference": "58c4c58cf23df7f498daeb97092e34f5259feb6a", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^8.2", + "symfony/console": "^7.0.4" + }, + "require-dev": { + "ergebnis/phpstan-rules": "^2.2.0", + "illuminate/console": "^11.0.0", + "laravel/pint": "^1.14.0", + "mockery/mockery": "^1.6.7", + "pestphp/pest": "^2.34.1", + "phpstan/phpstan": "^1.10.59", + "phpstan/phpstan-strict-rules": "^1.5.2", + "symfony/var-dumper": "^7.0.4", + "thecodingmachine/phpstan-strict-rules": "^1.0.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Termwind\\Laravel\\TermwindServiceProvider" + ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "files": [ + "src/Functions.php" + ], + "psr-4": { + "Termwind\\": "src/" + } }, - "time": "2021-11-30T19:35:32+00:00" + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" + } + ], + "description": "Its like Tailwind CSS, but for the console.", + "keywords": [ + "cli", + "console", + "css", + "package", + "php", + "style" + ], + "support": { + "issues": "https://github.com/nunomaduro/termwind/issues", + "source": "https://github.com/nunomaduro/termwind/tree/v2.0.1" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + }, + { + "url": "https://github.com/xiCO2k", + "type": "github" + } + ], + "time": "2024-03-06T16:17:14+00:00" }, { "name": "nyholm/psr7", - "version": "1.5.0", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/Nyholm/psr7.git", - "reference": "1461e07a0f2a975a52082ca3b769ca912b816226" + "reference": "aa5fc277a4f5508013d571341ade0c3886d4d00e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Nyholm/psr7/zipball/1461e07a0f2a975a52082ca3b769ca912b816226", - "reference": "1461e07a0f2a975a52082ca3b769ca912b816226", + "url": "https://api.github.com/repos/Nyholm/psr7/zipball/aa5fc277a4f5508013d571341ade0c3886d4d00e", + "reference": "aa5fc277a4f5508013d571341ade0c3886d4d00e", "shasum": "" }, "require": { - "php": ">=7.1", - "php-http/message-factory": "^1.0", + "php": ">=7.2", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.1 || ^2.0" }, "provide": { + "php-http/message-factory-implementation": "1.0", "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { "http-interop/http-factory-tests": "^0.9", + "php-http/message-factory": "^1.0", "php-http/psr7-integration-tests": "^1.0", - "phpunit/phpunit": "^7.5 || 8.5 || 9.4", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", "symfony/error-handler": "^4.4" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.8-dev" } }, "autoload": { @@ -3851,7 +3861,7 @@ ], "support": { "issues": "https://github.com/Nyholm/psr7/issues", - "source": "https://github.com/Nyholm/psr7/tree/1.5.0" + "source": "https://github.com/Nyholm/psr7/tree/1.8.1" }, "funding": [ { @@ -3863,20 +3873,113 @@ "type": "github" } ], - "time": "2022-02-02T18:37:57+00:00" + "time": "2023-11-13T09:31:12+00:00" + }, + { + "name": "openspout/openspout", + "version": "v4.24.2", + "source": { + "type": "git", + "url": "https://github.com/openspout/openspout.git", + "reference": "24272c1f7d073cc64fa3ecc2a863dc5d13be33a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/openspout/openspout/zipball/24272c1f7d073cc64fa3ecc2a863dc5d13be33a8", + "reference": "24272c1f7d073cc64fa3ecc2a863dc5d13be33a8", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-fileinfo": "*", + "ext-filter": "*", + "ext-libxml": "*", + "ext-xmlreader": "*", + "ext-zip": "*", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + }, + "require-dev": { + "ext-zlib": "*", + "friendsofphp/php-cs-fixer": "^3.59.3", + "infection/infection": "^0.29.5", + "phpbench/phpbench": "^1.2.15", + "phpstan/phpstan": "^1.11.4", + "phpstan/phpstan-phpunit": "^1.4.0", + "phpstan/phpstan-strict-rules": "^1.6.0", + "phpunit/phpunit": "^10.5.20 || ^11.2.2" + }, + "suggest": { + "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", + "ext-mbstring": "To handle non UTF-8 CSV files (if \"iconv\" is not already installed)" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.3.x-dev" + } + }, + "autoload": { + "psr-4": { + "OpenSpout\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Adrien Loison", + "email": "adrien@box.com" + } + ], + "description": "PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way", + "homepage": "https://github.com/openspout/openspout", + "keywords": [ + "OOXML", + "csv", + "excel", + "memory", + "odf", + "ods", + "office", + "open", + "php", + "read", + "scale", + "spreadsheet", + "stream", + "write", + "xlsx" + ], + "support": { + "issues": "https://github.com/openspout/openspout/issues", + "source": "https://github.com/openspout/openspout/tree/v4.24.2" + }, + "funding": [ + { + "url": "https://paypal.me/filippotessarotto", + "type": "custom" + }, + { + "url": "https://github.com/Slamdunk", + "type": "github" + } + ], + "time": "2024-06-17T08:53:37+00:00" }, { "name": "paragonie/constant_time_encoding", - "version": "v2.5.0", + "version": "v2.7.0", "source": { "type": "git", "url": "https://github.com/paragonie/constant_time_encoding.git", - "reference": "9229e15f2e6ba772f0c55dd6986c563b937170a8" + "reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/9229e15f2e6ba772f0c55dd6986c563b937170a8", - "reference": "9229e15f2e6ba772f0c55dd6986c563b937170a8", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/52a0d99e69f56b9ec27ace92ba56897fe6993105", + "reference": "52a0d99e69f56b9ec27ace92ba56897fe6993105", "shasum": "" }, "require": { @@ -3930,7 +4033,57 @@ "issues": "https://github.com/paragonie/constant_time_encoding/issues", "source": "https://github.com/paragonie/constant_time_encoding" }, - "time": "2022-01-17T05:32:27+00:00" + "time": "2024-05-08T12:18:48+00:00" + }, + { + "name": "paragonie/random_compat", + "version": "v9.99.100", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", + "shasum": "" + }, + "require": { + "php": ">= 7" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "polyfill", + "pseudorandom", + "random" + ], + "support": { + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/random_compat/issues", + "source": "https://github.com/paragonie/random_compat" + }, + "time": "2020-10-15T08:29:30+00:00" }, { "name": "parsedown/laravel", @@ -3991,122 +4144,120 @@ "issues": "https://github.com/parsedown/laravel/issues", "source": "https://github.com/parsedown/laravel" }, + "abandoned": true, "time": "2020-01-07T02:12:55+00:00" }, { - "name": "php-http/client-common", - "version": "2.5.0", + "name": "phpoption/phpoption", + "version": "1.9.2", "source": { "type": "git", - "url": "https://github.com/php-http/client-common.git", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054" + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/client-common/zipball/d135751167d57e27c74de674d6a30cef2dc8e054", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/80735db690fe4fc5c76dfa7f9b770634285fa820", + "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "php-http/httplug": "^2.0", - "php-http/message": "^1.6", - "php-http/message-factory": "^1.0", - "psr/http-client": "^1.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", - "symfony/options-resolver": "~4.0.15 || ~4.1.9 || ^4.2.1 || ^5.0 || ^6.0", - "symfony/polyfill-php80": "^1.17" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "doctrine/instantiator": "^1.1", - "guzzlehttp/psr7": "^1.4", - "nyholm/psr7": "^1.2", - "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", - "phpspec/prophecy": "^1.10.2", - "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.3" - }, - "suggest": { - "ext-json": "To detect JSON responses with the ContentTypePlugin", - "ext-libxml": "To detect XML responses with the ContentTypePlugin", - "php-http/cache-plugin": "PSR-6 Cache plugin", - "php-http/logger-plugin": "PSR-3 Logger plugin", - "php-http/stopwatch-plugin": "Symfony Stopwatch plugin" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, "branch-alias": { - "dev-master": "2.3.x-dev" + "dev-master": "1.9-dev" } }, "autoload": { "psr-4": { - "Http\\Client\\Common\\": "src/" + "PhpOption\\": "src/PhpOption/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "Apache-2.0" ], "authors": [ { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com", + "homepage": "https://github.com/schmittjoh" + }, + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], - "description": "Common HTTP Client implementations and tools for HTTPlug", - "homepage": "http://httplug.io", + "description": "Option Type for PHP", "keywords": [ - "client", - "common", - "http", - "httplug" + "language", + "option", + "php", + "type" ], "support": { - "issues": "https://github.com/php-http/client-common/issues", - "source": "https://github.com/php-http/client-common/tree/2.5.0" + "issues": "https://github.com/schmittjoh/php-option/issues", + "source": "https://github.com/schmittjoh/php-option/tree/1.9.2" }, - "time": "2021-11-26T15:01:24+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2023-11-12T21:59:55+00:00" }, { - "name": "php-http/discovery", - "version": "1.14.1", + "name": "phpseclib/phpseclib", + "version": "3.0.39", "source": { "type": "git", - "url": "https://github.com/php-http/discovery.git", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223" + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "211ebc399c6e73c225a018435fe5ae209d1d1485" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/de90ab2b41d7d61609f504e031339776bc8c7223", - "reference": "de90ab2b41d7d61609f504e031339776bc8c7223", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/211ebc399c6e73c225a018435fe5ae209d1d1485", + "reference": "211ebc399c6e73c225a018435fe5ae209d1d1485", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "nyholm/psr7": "<1.0" + "paragonie/constant_time_encoding": "^1|^2|^3", + "paragonie/random_compat": "^1.4|^2.0|^9.99.99", + "php": ">=5.6.1" }, "require-dev": { - "graham-campbell/phpspec-skip-example-extension": "^5.0", - "php-http/httplug": "^1.0 || ^2.0", - "php-http/message-factory": "^1.0", - "phpspec/phpspec": "^5.1 || ^6.1", - "puli/composer-plugin": "1.0.0-beta10" + "phpunit/phpunit": "*" }, "suggest": { - "php-http/message": "Allow to use Guzzle, Diactoros or Slim Framework factories" + "ext-dom": "Install the DOM extension to load XML formatted public keys.", + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } - }, "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], "psr-4": { - "Http\\Discovery\\": "src/" + "phpseclib3\\": "phpseclib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4115,60 +4266,98 @@ ], "authors": [ { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" } ], - "description": "Finds installed HTTPlug implementations and PSR-7 message factories", - "homepage": "http://php-http.org", + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "homepage": "http://phpseclib.sourceforge.net", "keywords": [ - "adapter", - "client", - "discovery", - "factory", - "http", - "message", - "psr7" + "BigInteger", + "aes", + "asn.1", + "asn1", + "blowfish", + "crypto", + "cryptography", + "encryption", + "rsa", + "security", + "sftp", + "signature", + "signing", + "ssh", + "twofish", + "x.509", + "x509" ], "support": { - "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.1" + "issues": "https://github.com/phpseclib/phpseclib/issues", + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.39" }, - "time": "2021-09-18T07:57:46+00:00" + "funding": [ + { + "url": "https://github.com/terrafrost", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpseclib", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib", + "type": "tidelift" + } + ], + "time": "2024-06-24T06:27:33+00:00" }, { - "name": "php-http/httplug", - "version": "2.3.0", + "name": "pragmarx/google2fa", + "version": "v8.0.1", "source": { "type": "git", - "url": "https://github.com/php-http/httplug.git", - "reference": "f640739f80dfa1152533976e3c112477f69274eb" + "url": "https://github.com/antonioribeiro/google2fa.git", + "reference": "80c3d801b31fe165f8fe99ea085e0a37834e1be3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/httplug/zipball/f640739f80dfa1152533976e3c112477f69274eb", - "reference": "f640739f80dfa1152533976e3c112477f69274eb", + "url": "https://api.github.com/repos/antonioribeiro/google2fa/zipball/80c3d801b31fe165f8fe99ea085e0a37834e1be3", + "reference": "80c3d801b31fe165f8fe99ea085e0a37834e1be3", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "php-http/promise": "^1.1", - "psr/http-client": "^1.0", - "psr/http-message": "^1.0" + "paragonie/constant_time_encoding": "^1.0|^2.0", + "php": "^7.1|^8.0" }, "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.1", - "phpspec/phpspec": "^5.1 || ^6.0" + "phpstan/phpstan": "^0.12.18", + "phpunit/phpunit": "^7.5.15|^8.5|^9.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, "autoload": { "psr-4": { - "Http\\Client\\": "src/" + "PragmaRX\\Google2FA\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4177,76 +4366,50 @@ ], "authors": [ { - "name": "Eric GELOEN", - "email": "geloen.eric@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" + "name": "Antonio Carlos Ribeiro", + "email": "acr@antoniocarlosribeiro.com", + "role": "Creator & Designer" } ], - "description": "HTTPlug, the HTTP client abstraction for PHP", - "homepage": "http://httplug.io", + "description": "A One Time Password Authentication package, compatible with Google Authenticator.", "keywords": [ - "client", - "http" + "2fa", + "Authentication", + "Two Factor Authentication", + "google2fa" ], "support": { - "issues": "https://github.com/php-http/httplug/issues", - "source": "https://github.com/php-http/httplug/tree/2.3.0" + "issues": "https://github.com/antonioribeiro/google2fa/issues", + "source": "https://github.com/antonioribeiro/google2fa/tree/v8.0.1" }, - "time": "2022-02-21T09:52:22+00:00" + "time": "2022-06-13T21:57:56+00:00" }, { - "name": "php-http/message", - "version": "1.13.0", + "name": "psr/cache", + "version": "3.0.0", "source": { "type": "git", - "url": "https://github.com/php-http/message.git", - "reference": "7886e647a30a966a1a8d1dad1845b71ca8678361" + "url": "https://github.com/php-fig/cache.git", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/message/zipball/7886e647a30a966a1a8d1dad1845b71ca8678361", - "reference": "7886e647a30a966a1a8d1dad1845b71ca8678361", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", "shasum": "" }, "require": { - "clue/stream-filter": "^1.5", - "php": "^7.1 || ^8.0", - "php-http/message-factory": "^1.0.2", - "psr/http-message": "^1.0" - }, - "provide": { - "php-http/message-factory-implementation": "1.0" - }, - "require-dev": { - "ergebnis/composer-normalize": "^2.6", - "ext-zlib": "*", - "guzzlehttp/psr7": "^1.0", - "laminas/laminas-diactoros": "^2.0", - "phpspec/phpspec": "^5.1 || ^6.3 || ^7.1", - "slim/slim": "^3.0" - }, - "suggest": { - "ext-zlib": "Used with compressor/decompressor streams", - "guzzlehttp/psr7": "Used with Guzzle PSR-7 Factories", - "laminas/laminas-diactoros": "Used with Diactoros Factories", - "slim/slim": "Used with Slim Framework PSR-7 implementation" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.10-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { - "files": [ - "src/filters.php" - ], "psr-4": { - "Http\\Message\\": "src/" + "Psr\\Cache\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4255,50 +4418,42 @@ ], "authors": [ { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "HTTP Message related tools", - "homepage": "http://php-http.org", + "description": "Common interface for caching libraries", "keywords": [ - "http", - "message", - "psr-7" + "cache", + "psr", + "psr-6" ], "support": { - "issues": "https://github.com/php-http/message/issues", - "source": "https://github.com/php-http/message/tree/1.13.0" + "source": "https://github.com/php-fig/cache/tree/3.0.0" }, - "time": "2022-02-11T13:41:14+00:00" + "time": "2021-02-03T23:26:27+00:00" }, { - "name": "php-http/message-factory", - "version": "v1.0.2", + "name": "psr/clock", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/php-http/message-factory.git", - "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1" + "url": "https://github.com/php-fig/clock.git", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/message-factory/zipball/a478cb11f66a6ac48d8954216cfed9aa06a501a1", - "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1", + "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", "shasum": "" }, "require": { - "php": ">=5.4", - "psr/http-message": "^1.0" + "php": "^7.0 || ^8.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, "autoload": { "psr-4": { - "Http\\Message\\": "src/" + "Psr\\Clock\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4307,55 +4462,51 @@ ], "authors": [ { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Factory interfaces for PSR-7 HTTP Message", - "homepage": "http://php-http.org", + "description": "Common interface for reading the clock.", + "homepage": "https://github.com/php-fig/clock", "keywords": [ - "factory", - "http", - "message", - "stream", - "uri" + "clock", + "now", + "psr", + "psr-20", + "time" ], "support": { - "issues": "https://github.com/php-http/message-factory/issues", - "source": "https://github.com/php-http/message-factory/tree/master" + "issues": "https://github.com/php-fig/clock/issues", + "source": "https://github.com/php-fig/clock/tree/1.0.0" }, - "time": "2015-12-19T14:08:53+00:00" + "time": "2022-11-25T14:36:26+00:00" }, { - "name": "php-http/promise", - "version": "1.1.0", + "name": "psr/container", + "version": "2.0.2", "source": { "type": "git", - "url": "https://github.com/php-http/promise.git", - "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88" + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/promise/zipball/4c4c1f9b7289a2ec57cde7f1e9762a5789506f88", - "reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "friends-of-phpspec/phpspec-code-coverage": "^4.3.2", - "phpspec/phpspec": "^5.1.2 || ^6.2" + "php": ">=7.4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { "psr-4": { - "Http\\Promise\\": "src/" + "Psr\\Container\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4364,122 +4515,102 @@ ], "authors": [ { - "name": "Joel Wurtz", - "email": "joel.wurtz@gmail.com" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Promise used for asynchronous HTTP requests", - "homepage": "http://httplug.io", + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", "keywords": [ - "promise" + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" ], "support": { - "issues": "https://github.com/php-http/promise/issues", - "source": "https://github.com/php-http/promise/tree/1.1.0" + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" }, - "time": "2020-07-07T09:29:14+00:00" + "time": "2021-11-05T16:47:00+00:00" }, { - "name": "phpoption/phpoption", - "version": "1.8.1", + "name": "psr/event-dispatcher", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/schmittjoh/php-option.git", - "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15" + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", - "reference": "eab7a0df01fe2344d172bff4cd6dbd3f8b84ad15", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8" + "php": ">=7.2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "PhpOption\\": "src/PhpOption/" + "Psr\\EventDispatcher\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], "authors": [ { - "name": "Johannes M. Schmitt", - "email": "schmittjoh@gmail.com", - "homepage": "https://github.com/schmittjoh" - }, - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "Option Type for PHP", + "description": "Standard interfaces for event handling.", "keywords": [ - "language", - "option", - "php", - "type" + "events", + "psr", + "psr-14" ], "support": { - "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.8.1" + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", - "type": "tidelift" - } - ], - "time": "2021-12-04T23:24:31+00:00" + "time": "2019-01-08T18:20:26+00:00" }, { - "name": "pragmarx/google2fa", - "version": "8.0.0", + "name": "psr/http-client", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/antonioribeiro/google2fa.git", - "reference": "26c4c5cf30a2844ba121760fd7301f8ad240100b" + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/antonioribeiro/google2fa/zipball/26c4c5cf30a2844ba121760fd7301f8ad240100b", - "reference": "26c4c5cf30a2844ba121760fd7301f8ad240100b", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { - "paragonie/constant_time_encoding": "^1.0|^2.0", - "php": "^7.1|^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^0.12.18", - "phpunit/phpunit": "^7.5.15|^8.5|^9.0" + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "autoload": { "psr-4": { - "PragmaRX\\Google2FA\\": "src/" + "Psr\\Http\\Client\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4488,40 +4619,40 @@ ], "authors": [ { - "name": "Antonio Carlos Ribeiro", - "email": "acr@antoniocarlosribeiro.com", - "role": "Creator & Designer" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "A One Time Password Authentication package, compatible with Google Authenticator.", + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", "keywords": [ - "2fa", - "Authentication", - "Two Factor Authentication", - "google2fa" + "http", + "http-client", + "psr", + "psr-18" ], "support": { - "issues": "https://github.com/antonioribeiro/google2fa/issues", - "source": "https://github.com/antonioribeiro/google2fa/tree/8.0.0" + "source": "https://github.com/php-fig/http-client" }, - "time": "2020-04-05T10:47:18+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { - "name": "psr/cache", - "version": "3.0.0", + "name": "psr/http-factory", + "version": "1.1.0", "source": { "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf" + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", - "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", "shasum": "" }, "require": { - "php": ">=8.0.0" + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -4531,7 +4662,7 @@ }, "autoload": { "psr-4": { - "Psr\\Cache\\": "src/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4544,33 +4675,38 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common interface for caching libraries", + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", "keywords": [ - "cache", + "factory", + "http", + "message", "psr", - "psr-6" + "psr-17", + "psr-7", + "request", + "response" ], "support": { - "source": "https://github.com/php-fig/cache/tree/3.0.0" + "source": "https://github.com/php-fig/http-factory" }, - "time": "2021-02-03T23:26:27+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { - "name": "psr/container", - "version": "2.0.2", + "name": "psr/http-message", + "version": "2.0", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { @@ -4580,7 +4716,7 @@ }, "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -4593,234 +4729,24 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { - "name": "psr/event-dispatcher", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/event-dispatcher.git", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", - "shasum": "" - }, - "require": { - "php": ">=7.2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\EventDispatcher\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Standard interfaces for event handling.", - "keywords": [ - "events", - "psr", - "psr-14" - ], - "support": { - "issues": "https://github.com/php-fig/event-dispatcher/issues", - "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" - }, - "time": "2019-01-08T18:20:26+00:00" - }, - { - "name": "psr/http-client", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client/tree/master" - }, - "time": "2020-06-29T06:28:15+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "shasum": "" - }, - "require": { - "php": ">=7.0.0", - "psr/http-message": "^1.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory/tree/master" - }, - "time": "2019-04-30T12:38:16+00:00" - }, - { - "name": "psr/http-message", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", - "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/master" - }, - "time": "2016-08-06T14:39:51+00:00" - }, - { - "name": "psr/log", - "version": "3.0.0", + "name": "psr/log", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", @@ -4870,25 +4796,25 @@ }, { "name": "psr/simple-cache", - "version": "1.0.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/php-fig/simple-cache.git", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", - "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865", + "reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=8.0.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -4903,7 +4829,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interfaces for simple caching", @@ -4915,31 +4841,31 @@ "simple-cache" ], "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" + "source": "https://github.com/php-fig/simple-cache/tree/3.0.0" }, - "time": "2017-10-23T01:57:42+00:00" + "time": "2021-10-29T13:26:27+00:00" }, { "name": "psy/psysh", - "version": "v0.11.3", + "version": "v0.12.4", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "6833626ee48ef9bcc8aca8f9f166760441c12573" + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/6833626ee48ef9bcc8aca8f9f166760441c12573", - "reference": "6833626ee48ef9bcc8aca8f9f166760441c12573", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/2fd717afa05341b4f8152547f142cd2f130f6818", + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", - "nikic/php-parser": "^4.0 || ^3.1", - "php": "^8.0 || ^7.0.8", - "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4", - "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4" + "nikic/php-parser": "^5.0 || ^4.0", + "php": "^8.0 || ^7.4", + "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" }, "conflict": { "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" @@ -4950,8 +4876,7 @@ "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-pdo-sqlite": "The doc command requires SQLite to work.", - "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", - "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history." + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." }, "bin": [ "bin/psysh" @@ -4959,7 +4884,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.11.x-dev" + "dev-main": "0.12.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false } }, "autoload": { @@ -4991,9 +4920,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.3" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.4" }, - "time": "2022-05-05T02:19:43+00:00" + "time": "2024-06-10T01:18:23+00:00" }, { "name": "ralouphie/getallheaders", @@ -5041,42 +4970,52 @@ }, { "name": "ramsey/collection", - "version": "1.2.2", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/ramsey/collection.git", - "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a" + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a", - "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", "shasum": "" }, "require": { - "php": "^7.3 || ^8", - "symfony/polyfill-php81": "^1.23" + "php": "^8.1" }, "require-dev": { - "captainhook/captainhook": "^5.3", - "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", - "ergebnis/composer-normalize": "^2.6", - "fakerphp/faker": "^1.5", - "hamcrest/hamcrest-php": "^2", - "jangregor/phpstan-prophecy": "^0.8", - "mockery/mockery": "^1.3", + "captainhook/plugin-composer": "^5.3", + "ergebnis/composer-normalize": "^2.28.3", + "fakerphp/faker": "^1.21", + "hamcrest/hamcrest-php": "^2.0", + "jangregor/phpstan-prophecy": "^1.0", + "mockery/mockery": "^1.5", + "php-parallel-lint/php-console-highlighter": "^1.0", + "php-parallel-lint/php-parallel-lint": "^1.3", + "phpcsstandards/phpcsutils": "^1.0.0-rc1", "phpspec/prophecy-phpunit": "^2.0", - "phpstan/extension-installer": "^1", - "phpstan/phpstan": "^0.12.32", - "phpstan/phpstan-mockery": "^0.12.5", - "phpstan/phpstan-phpunit": "^0.12.11", - "phpunit/phpunit": "^8.5 || ^9", - "psy/psysh": "^0.10.4", - "slevomat/coding-standard": "^6.3", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.4" + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18.4", + "ramsey/coding-standard": "^2.0.3", + "ramsey/conventional-commits": "^1.3", + "vimeo/psalm": "^5.4" }, "type": "library", + "extra": { + "captainhook": { + "force-install": true + }, + "ramsey/conventional-commits": { + "configFile": "conventional-commits.json" + } + }, "autoload": { "psr-4": { "Ramsey\\Collection\\": "src/" @@ -5104,7 +5043,7 @@ ], "support": { "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/1.2.2" + "source": "https://github.com/ramsey/collection/tree/2.0.0" }, "funding": [ { @@ -5116,28 +5055,27 @@ "type": "tidelift" } ], - "time": "2021-10-10T03:01:02+00:00" + "time": "2022-12-31T21:50:55+00:00" }, { "name": "ramsey/uuid", - "version": "4.3.1", + "version": "4.7.6", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "8505afd4fea63b81a85d3b7b53ac3cb8dc347c28" + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/8505afd4fea63b81a85d3b7b53ac3cb8dc347c28", - "reference": "8505afd4fea63b81a85d3b7b53ac3cb8dc347c28", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", "shasum": "" }, "require": { - "brick/math": "^0.8 || ^0.9", - "ext-ctype": "*", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", "ext-json": "*", "php": "^8.0", - "ramsey/collection": "^1.0" + "ramsey/collection": "^1.2 || ^2.0" }, "replace": { "rhumsaa/uuid": "self.version" @@ -5149,24 +5087,23 @@ "doctrine/annotations": "^1.8", "ergebnis/composer-normalize": "^2.15", "mockery/mockery": "^1.3", - "moontoast/math": "^1.1", "paragonie/random-lib": "^2", "php-mock/php-mock": "^2.2", "php-mock/php-mock-mockery": "^1.3", "php-parallel-lint/php-parallel-lint": "^1.1", "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-mockery": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-phpunit": "^1.1", "phpunit/phpunit": "^8.5 || ^9", - "slevomat/coding-standard": "^7.0", + "ramsey/composer-repl": "^1.4", + "slevomat/coding-standard": "^8.4", "squizlabs/php_codesniffer": "^3.5", "vimeo/psalm": "^4.9" }, "suggest": { "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.", - "ext-ctype": "Enables faster processing of character classification using ctype functions.", "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.", "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.", "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter", @@ -5198,7 +5135,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.3.1" + "source": "https://github.com/ramsey/uuid/tree/4.7.6" }, "funding": [ { @@ -5210,28 +5147,58 @@ "type": "tidelift" } ], - "time": "2022-03-27T21:42:02+00:00" + "time": "2024-04-27T21:32:50+00:00" }, { - "name": "sentry/sdk", - "version": "3.1.1", + "name": "sentry/sentry", + "version": "4.8.0", "source": { "type": "git", - "url": "https://github.com/getsentry/sentry-php-sdk.git", - "reference": "2de7de3233293f80d1e244bd950adb2121a3731c" + "url": "https://github.com/getsentry/sentry-php.git", + "reference": "3cf5778ff425a23f2d22ed41b423691d36f47163" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-php-sdk/zipball/2de7de3233293f80d1e244bd950adb2121a3731c", - "reference": "2de7de3233293f80d1e244bd950adb2121a3731c", + "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/3cf5778ff425a23f2d22ed41b423691d36f47163", + "reference": "3cf5778ff425a23f2d22ed41b423691d36f47163", "shasum": "" }, "require": { - "http-interop/http-factory-guzzle": "^1.0", - "sentry/sentry": "^3.1", - "symfony/http-client": "^4.3|^5.0|^6.0" + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "guzzlehttp/psr7": "^1.8.4|^2.1.1", + "jean85/pretty-package-versions": "^1.5|^2.0.4", + "php": "^7.2|^8.0", + "psr/log": "^1.0|^2.0|^3.0", + "symfony/options-resolver": "^4.4.30|^5.0.11|^6.0|^7.0" + }, + "conflict": { + "raven/raven": "*" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.4", + "guzzlehttp/promises": "^1.0|^2.0", + "guzzlehttp/psr7": "^1.8.4|^2.1.1", + "monolog/monolog": "^1.6|^2.0|^3.0", + "phpbench/phpbench": "^1.0", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^8.5.14|^9.4", + "symfony/phpunit-bridge": "^5.2|^6.0|^7.0", + "vimeo/psalm": "^4.17" + }, + "suggest": { + "monolog/monolog": "Allow sending log messages to Sentry by using the included Monolog handler." + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "Sentry\\": "src/" + } }, - "type": "metapackage", "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -5242,7 +5209,7 @@ "email": "accounts@sentry.io" } ], - "description": "This is a metapackage shipping sentry/sentry with a recommended HTTP client.", + "description": "PHP SDK for Sentry (http://sentry.io)", "homepage": "http://sentry.io", "keywords": [ "crash-reporting", @@ -5251,10 +5218,13 @@ "error-monitoring", "log", "logging", - "sentry" + "profiling", + "sentry", + "tracing" ], "support": { - "source": "https://github.com/getsentry/sentry-php-sdk/tree/3.1.1" + "issues": "https://github.com/getsentry/sentry-php/issues", + "source": "https://github.com/getsentry/sentry-php/tree/4.8.0" }, "funding": [ { @@ -5266,151 +5236,42 @@ "type": "custom" } ], - "time": "2021-11-30T11:54:41+00:00" + "time": "2024-06-05T13:18:43+00:00" }, { - "name": "sentry/sentry", - "version": "3.4.0", + "name": "sentry/sentry-laravel", + "version": "4.6.1", "source": { "type": "git", - "url": "https://github.com/getsentry/sentry-php.git", - "reference": "a92443883df6a55cbe7a062f76949f23dda66772" + "url": "https://github.com/getsentry/sentry-laravel.git", + "reference": "7f5fd9f362e440c4c0c492f386b93095321f9101" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/a92443883df6a55cbe7a062f76949f23dda66772", - "reference": "a92443883df6a55cbe7a062f76949f23dda66772", + "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/7f5fd9f362e440c4c0c492f386b93095321f9101", + "reference": "7f5fd9f362e440c4c0c492f386b93095321f9101", "shasum": "" }, "require": { - "ext-json": "*", - "ext-mbstring": "*", - "guzzlehttp/promises": "^1.4", - "guzzlehttp/psr7": "^1.7|^2.0", - "jean85/pretty-package-versions": "^1.5|^2.0.4", - "php": "^7.2|^8.0", - "php-http/async-client-implementation": "^1.0", - "php-http/client-common": "^1.5|^2.0", - "php-http/discovery": "^1.11", - "php-http/httplug": "^1.1|^2.0", - "php-http/message": "^1.5", - "psr/http-factory": "^1.0", - "psr/http-message-implementation": "^1.0", - "psr/log": "^1.0|^2.0|^3.0", - "symfony/options-resolver": "^3.4.43|^4.4.30|^5.0.11|^6.0", - "symfony/polyfill-php80": "^1.17", - "symfony/polyfill-uuid": "^1.13.1" - }, - "conflict": { - "php-http/client-common": "1.8.0", - "raven/raven": "*" + "illuminate/support": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0", + "nyholm/psr7": "^1.0", + "php": "^7.2 | ^8.0", + "sentry/sentry": "^4.7", + "symfony/psr-http-message-bridge": "^1.0 | ^2.0 | ^6.0 | ^7.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.19|3.4.*", - "http-interop/http-factory-guzzle": "^1.0", - "monolog/monolog": "^1.3|^2.0", - "nikic/php-parser": "^4.10.3", - "php-http/mock-client": "^1.3", - "phpbench/phpbench": "^1.0", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.3", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^8.5.14|^9.4", - "symfony/phpunit-bridge": "^5.2|^6.0", - "vimeo/psalm": "^4.17" - }, - "suggest": { - "monolog/monolog": "Allow sending log messages to Sentry by using the included Monolog handler." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4.x-dev" - } - }, - "autoload": { - "files": [ - "src/functions.php" - ], - "psr-4": { - "Sentry\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sentry", - "email": "accounts@sentry.io" - } - ], - "description": "A PHP SDK for Sentry (http://sentry.io)", - "homepage": "http://sentry.io", - "keywords": [ - "crash-reporting", - "crash-reports", - "error-handler", - "error-monitoring", - "log", - "logging", - "sentry" - ], - "support": { - "issues": "https://github.com/getsentry/sentry-php/issues", - "source": "https://github.com/getsentry/sentry-php/tree/3.4.0" - }, - "funding": [ - { - "url": "https://sentry.io/", - "type": "custom" - }, - { - "url": "https://sentry.io/pricing/", - "type": "custom" - } - ], - "time": "2022-03-13T12:38:01+00:00" - }, - { - "name": "sentry/sentry-laravel", - "version": "2.12.0", - "source": { - "type": "git", - "url": "https://github.com/getsentry/sentry-laravel.git", - "reference": "35b8807019e4ca300e4530c2b784517475296fca" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/35b8807019e4ca300e4530c2b784517475296fca", - "reference": "35b8807019e4ca300e4530c2b784517475296fca", - "shasum": "" - }, - "require": { - "illuminate/support": "5.0 - 5.8 | ^6.0 | ^7.0 | ^8.0 | ^9.0", - "nyholm/psr7": "^1.0", - "php": "^7.2 | ^8.0", - "sentry/sdk": "^3.1", - "sentry/sentry": "^3.3", - "symfony/psr-http-message-bridge": "^1.0 | ^2.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "2.18.*", - "laravel/framework": "5.0 - 5.8 | ^6.0 | ^7.0 | ^8.0 | ^9.0", + "friendsofphp/php-cs-fixer": "^3.11", + "guzzlehttp/guzzle": "^7.2", + "laravel/folio": "^1.1", + "laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0", + "livewire/livewire": "^2.0 | ^3.0", "mockery/mockery": "^1.3", - "orchestra/testbench": "3.1 - 3.8 | ^4.7 | ^5.1 | ^6.0 | ^7.0", - "phpunit/phpunit": "^5.7 | ^6.5 | ^7.5 | ^8.4 | ^9.3" - }, - "suggest": { - "zendframework/zend-diactoros": "When using Laravel >=5.1 - <=6.9 this package can help get more accurate request info, not used on Laravel >=6.10 anymore (https://laravel.com/docs/5.8/requests#psr7-requests)" + "orchestra/testbench": "^4.7 | ^5.1 | ^6.0 | ^7.0 | ^8.0 | ^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^8.4 | ^9.3 | ^10.4" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev", - "dev-0.x": "0.x-dev" - }, "laravel": { "providers": [ "Sentry\\Laravel\\ServiceProvider", @@ -5428,7 +5289,7 @@ }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "MIT" ], "authors": [ { @@ -5446,11 +5307,13 @@ "laravel", "log", "logging", - "sentry" + "profiling", + "sentry", + "tracing" ], "support": { "issues": "https://github.com/getsentry/sentry-laravel/issues", - "source": "https://github.com/getsentry/sentry-laravel/tree/2.12.0" + "source": "https://github.com/getsentry/sentry-laravel/tree/4.6.1" }, "funding": [ { @@ -5462,7 +5325,7 @@ "type": "custom" } ], - "time": "2022-04-05T10:05:19+00:00" + "time": "2024-06-18T15:06:09+00:00" }, { "name": "socialiteproviders/github", @@ -5548,27 +5411,23 @@ }, { "name": "socialiteproviders/laravelpassport", - "version": "4.1.0", + "version": "4.3.0", "source": { "type": "git", "url": "https://github.com/SocialiteProviders/Laravel-Passport.git", - "reference": "ffde71ec6c7a0f70caa3f85c880e7ef161ba3096" + "reference": "5ee785624a0fc5ee4b18922e1295a63729074285" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SocialiteProviders/Laravel-Passport/zipball/ffde71ec6c7a0f70caa3f85c880e7ef161ba3096", - "reference": "ffde71ec6c7a0f70caa3f85c880e7ef161ba3096", + "url": "https://api.github.com/repos/SocialiteProviders/Laravel-Passport/zipball/5ee785624a0fc5ee4b18922e1295a63729074285", + "reference": "5ee785624a0fc5ee4b18922e1295a63729074285", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "socialiteproviders/manager": "~4.0" }, - "require-dev": { - "mockery/mockery": "~0.9.4", - "phpunit/phpunit": "~4.8|~5.4|~6.1" - }, "type": "library", "autoload": { "psr-4": { @@ -5586,28 +5445,37 @@ } ], "description": "LaravelPassport OAuth2 Provider for Laravel Socialite", + "keywords": [ + "laravel", + "oauth", + "passport", + "provider", + "socialite" + ], "support": { - "source": "https://github.com/SocialiteProviders/Laravel-Passport/tree/4.1.0" + "docs": "https://socialiteproviders.com/laravelpassport", + "issues": "https://github.com/socialiteproviders/providers/issues", + "source": "https://github.com/socialiteproviders/providers" }, - "time": "2020-12-01T23:10:59+00:00" + "time": "2022-08-10T23:31:11+00:00" }, { "name": "socialiteproviders/linkedin", - "version": "4.1.0", + "version": "4.2.0", "source": { "type": "git", "url": "https://github.com/SocialiteProviders/LinkedIn.git", - "reference": "bcf8a732328e868261416a5f04135acb0b94bf9a" + "reference": "6ac2a07bc97453c8f5104b324b4d3e0efabeb088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SocialiteProviders/LinkedIn/zipball/bcf8a732328e868261416a5f04135acb0b94bf9a", - "reference": "bcf8a732328e868261416a5f04135acb0b94bf9a", + "url": "https://api.github.com/repos/SocialiteProviders/LinkedIn/zipball/6ac2a07bc97453c8f5104b324b4d3e0efabeb088", + "reference": "6ac2a07bc97453c8f5104b324b4d3e0efabeb088", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "socialiteproviders/manager": "~4.0" }, "type": "library", @@ -5627,33 +5495,42 @@ } ], "description": "LinkedIn OAuth2 Provider for Laravel Socialite", + "keywords": [ + "laravel", + "linkedin", + "oauth", + "provider", + "socialite" + ], "support": { - "source": "https://github.com/SocialiteProviders/LinkedIn/tree/4.1.0" + "docs": "https://socialiteproviders.com/linkedin", + "issues": "https://github.com/socialiteproviders/providers/issues", + "source": "https://github.com/socialiteproviders/providers" }, - "time": "2020-12-01T23:10:59+00:00" + "time": "2022-09-02T10:07:27+00:00" }, { "name": "socialiteproviders/manager", - "version": "v4.1.0", + "version": "v4.6.0", "source": { "type": "git", "url": "https://github.com/SocialiteProviders/Manager.git", - "reference": "4e63afbd26dc45ff263591de2a0970436a6a0bf9" + "reference": "dea5190981c31b89e52259da9ab1ca4e2b258b21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/4e63afbd26dc45ff263591de2a0970436a6a0bf9", - "reference": "4e63afbd26dc45ff263591de2a0970436a6a0bf9", + "url": "https://api.github.com/repos/SocialiteProviders/Manager/zipball/dea5190981c31b89e52259da9ab1ca4e2b258b21", + "reference": "dea5190981c31b89e52259da9ab1ca4e2b258b21", "shasum": "" }, "require": { - "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "laravel/socialite": "~4.0 || ~5.0", - "php": "^7.2 || ^8.0" + "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0", + "laravel/socialite": "^5.5", + "php": "^8.0" }, "require-dev": { "mockery/mockery": "^1.2", - "phpunit/phpunit": "^6.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { @@ -5704,26 +5581,26 @@ "issues": "https://github.com/socialiteproviders/manager/issues", "source": "https://github.com/socialiteproviders/manager" }, - "time": "2022-01-23T22:40:23+00:00" + "time": "2024-05-04T07:57:39+00:00" }, { "name": "socialiteproviders/microsoft-azure", - "version": "4.2.1", + "version": "5.2.0", "source": { "type": "git", "url": "https://github.com/SocialiteProviders/Microsoft-Azure.git", - "reference": "64779ec21db0bee3111039a67c0fa0ab550a3462" + "reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/64779ec21db0bee3111039a67c0fa0ab550a3462", - "reference": "64779ec21db0bee3111039a67c0fa0ab550a3462", + "url": "https://api.github.com/repos/SocialiteProviders/Microsoft-Azure/zipball/453d62c9d7e3b3b76e94c913fb46e68a33347b16", + "reference": "453d62c9d7e3b3b76e94c913fb46e68a33347b16", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.2 || ^8.0", - "socialiteproviders/manager": "~4.0" + "php": "^8.0", + "socialiteproviders/manager": "^4.4" }, "type": "library", "autoload": { @@ -5742,29 +5619,39 @@ } ], "description": "Microsoft Azure OAuth2 Provider for Laravel Socialite", + "keywords": [ + "azure", + "laravel", + "microsoft", + "oauth", + "provider", + "socialite" + ], "support": { - "source": "https://github.com/SocialiteProviders/Microsoft-Azure/tree/4.2.1" + "docs": "https://socialiteproviders.com/microsoft-azure", + "issues": "https://github.com/socialiteproviders/providers/issues", + "source": "https://github.com/socialiteproviders/providers" }, - "time": "2021-06-14T22:51:38+00:00" + "time": "2024-03-15T03:02:10+00:00" }, { "name": "socialiteproviders/slack", - "version": "4.1.1", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/SocialiteProviders/Slack.git", - "reference": "2b781c95daf06ec87a8f3deba2ab613d6bea5e8d" + "reference": "b156cf0491c5eac7800a9dcad2bc78d0dfc2af73" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SocialiteProviders/Slack/zipball/2b781c95daf06ec87a8f3deba2ab613d6bea5e8d", - "reference": "2b781c95daf06ec87a8f3deba2ab613d6bea5e8d", + "url": "https://api.github.com/repos/SocialiteProviders/Slack/zipball/b156cf0491c5eac7800a9dcad2bc78d0dfc2af73", + "reference": "b156cf0491c5eac7800a9dcad2bc78d0dfc2af73", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.2 || ^8.0", - "socialiteproviders/manager": "~4.0" + "php": "^8.0", + "socialiteproviders/manager": "^4.4" }, "type": "library", "autoload": { @@ -5783,28 +5670,37 @@ } ], "description": "Slack OAuth2 Provider for Laravel Socialite", + "keywords": [ + "laravel", + "oauth", + "provider", + "slack", + "socialite" + ], "support": { - "source": "https://github.com/SocialiteProviders/Slack/tree/4.1.1" + "docs": "https://socialiteproviders.com/slack", + "issues": "https://github.com/socialiteproviders/providers/issues", + "source": "https://github.com/socialiteproviders/providers" }, - "time": "2021-03-26T04:10:10+00:00" + "time": "2024-01-05T00:36:16+00:00" }, { "name": "socialiteproviders/twitter", - "version": "4.1.1", + "version": "4.1.2", "source": { "type": "git", "url": "https://github.com/SocialiteProviders/Twitter.git", - "reference": "e5edf2b6e3f37e64be6488111629ed5e41e645ad" + "reference": "54ddc36c1475bbdc111a89edee1468e3c9cf1229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SocialiteProviders/Twitter/zipball/e5edf2b6e3f37e64be6488111629ed5e41e645ad", - "reference": "e5edf2b6e3f37e64be6488111629ed5e41e645ad", + "url": "https://api.github.com/repos/SocialiteProviders/Twitter/zipball/54ddc36c1475bbdc111a89edee1468e3c9cf1229", + "reference": "54ddc36c1475bbdc111a89edee1468e3c9cf1229", "shasum": "" }, "require": { "ext-json": "*", - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "socialiteproviders/manager": "~4.0" }, "type": "library", @@ -5824,23 +5720,32 @@ } ], "description": "Twitter OAuth1 Provider for Laravel Socialite", + "keywords": [ + "laravel", + "oauth", + "provider", + "socialite", + "twitter" + ], "support": { - "source": "https://github.com/SocialiteProviders/Twitter/tree/4.1.1" + "docs": "https://socialiteproviders.com/twitter", + "issues": "https://github.com/socialiteproviders/providers/issues", + "source": "https://github.com/socialiteproviders/providers" }, - "time": "2021-01-29T05:41:11+00:00" + "time": "2023-05-25T23:12:53+00:00" }, { "name": "spatie/backtrace", - "version": "1.2.1", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b" + "reference": "8373b9d51638292e3bfd736a9c19a654111b4a23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", - "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/8373b9d51638292e3bfd736a9c19a654111b4a23", + "reference": "8373b9d51638292e3bfd736a9c19a654111b4a23", "shasum": "" }, "require": { @@ -5848,7 +5753,9 @@ }, "require-dev": { "ext-json": "*", + "laravel/serializable-closure": "^1.3", "phpunit/phpunit": "^9.3", + "spatie/phpunit-snapshot-assertions": "^4.2", "symfony/var-dumper": "^5.1" }, "type": "library", @@ -5876,8 +5783,7 @@ "spatie" ], "support": { - "issues": "https://github.com/spatie/backtrace/issues", - "source": "https://github.com/spatie/backtrace/tree/1.2.1" + "source": "https://github.com/spatie/backtrace/tree/1.6.1" }, "funding": [ { @@ -5889,40 +5795,119 @@ "type": "other" } ], - "time": "2021-11-09T10:57:15+00:00" + "time": "2024-04-24T13:22:11+00:00" + }, + { + "name": "spatie/error-solutions", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/spatie/error-solutions.git", + "reference": "264a7eef892aceb2fd65e206127ad3af4f3a2d6b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/264a7eef892aceb2fd65e206127ad3af4f3a2d6b", + "reference": "264a7eef892aceb2fd65e206127ad3af4f3a2d6b", + "shasum": "" + }, + "require": { + "php": "^8.0" + }, + "require-dev": { + "illuminate/broadcasting": "^10.0|^11.0", + "illuminate/cache": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "livewire/livewire": "^2.11|^3.3.5", + "openai-php/client": "^0.10.1", + "orchestra/testbench": "^7.0|8.22.3|^9.0", + "pestphp/pest": "^2.20", + "phpstan/phpstan": "^1.11", + "psr/simple-cache": "^3.0", + "psr/simple-cache-implementation": "^3.0", + "spatie/ray": "^1.28", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "legacy/ignition", + "Spatie\\ErrorSolutions\\": "src", + "Spatie\\LaravelIgnition\\": "legacy/laravel-ignition" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ruben Van Assche", + "email": "ruben@spatie.be", + "role": "Developer" + } + ], + "description": "This is my package error-solutions", + "homepage": "https://github.com/spatie/error-solutions", + "keywords": [ + "error-solutions", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/error-solutions/issues", + "source": "https://github.com/spatie/error-solutions/tree/1.0.4" + }, + "funding": [ + { + "url": "https://github.com/Spatie", + "type": "github" + } + ], + "time": "2024-06-28T13:33:04+00:00" }, { "name": "spatie/flare-client-php", - "version": "1.1.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/spatie/flare-client-php.git", - "reference": "ceab058852a1278d9f57a7b95f1c348e4956d866" + "reference": "097040ff51e660e0f6fc863684ac4b02c93fa234" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/ceab058852a1278d9f57a7b95f1c348e4956d866", - "reference": "ceab058852a1278d9f57a7b95f1c348e4956d866", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/097040ff51e660e0f6fc863684ac4b02c93fa234", + "reference": "097040ff51e660e0f6fc863684ac4b02c93fa234", "shasum": "" }, "require": { - "illuminate/pipeline": "^8.0|^9.0", + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", "php": "^8.0", - "spatie/backtrace": "^1.2", - "symfony/http-foundation": "^5.0|^6.0", - "symfony/mime": "^5.2|^6.0", - "symfony/process": "^5.2|^6.0", - "symfony/var-dumper": "^5.2|^6.0" + "spatie/backtrace": "^1.6.1", + "symfony/http-foundation": "^5.2|^6.0|^7.0", + "symfony/mime": "^5.2|^6.0|^7.0", + "symfony/process": "^5.2|^6.0|^7.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0" }, "require-dev": { - "dms/phpunit-arraysubset-asserts": "^0.3.0", - "pestphp/pest": "^1.20", + "dms/phpunit-arraysubset-asserts": "^0.5.0", + "pestphp/pest": "^1.20|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "spatie/phpunit-snapshot-assertions": "^4.0" + "spatie/phpunit-snapshot-assertions": "^4.0|^5.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.3.x-dev" + } + }, "autoload": { "files": [ "src/helpers.php" @@ -5945,7 +5930,7 @@ ], "support": { "issues": "https://github.com/spatie/flare-client-php/issues", - "source": "https://github.com/spatie/flare-client-php/tree/1.1.0" + "source": "https://github.com/spatie/flare-client-php/tree/1.7.0" }, "funding": [ { @@ -5953,40 +5938,53 @@ "type": "github" } ], - "time": "2022-03-11T13:21:28+00:00" + "time": "2024-06-12T14:39:14+00:00" }, { "name": "spatie/ignition", - "version": "1.2.9", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "db25202fab2d5c14613b8914a1bb374998bbf870" + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/db25202fab2d5c14613b8914a1bb374998bbf870", - "reference": "db25202fab2d5c14613b8914a1bb374998bbf870", + "url": "https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", - "monolog/monolog": "^2.0", "php": "^8.0", - "spatie/flare-client-php": "^1.1", - "symfony/console": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" + "spatie/error-solutions": "^1.0", + "spatie/flare-client-php": "^1.7", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "require-dev": { + "illuminate/cache": "^9.52|^10.0|^11.0", "mockery/mockery": "^1.4", - "pestphp/pest": "^1.20", + "pestphp/pest": "^1.20|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "symfony/process": "^5.4|^6.0" + "psr/simple-cache-implementation": "*", + "symfony/cache": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "vlucas/phpdotenv": "^5.5" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "simple-cache-implementation": "To cache solutions from OpenAI" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.5.x-dev" + } + }, "autoload": { "psr-4": { "Spatie\\Ignition\\": "src" @@ -6023,45 +6021,46 @@ "type": "github" } ], - "time": "2022-04-23T20:37:21+00:00" + "time": "2024-06-12T14:55:22+00:00" }, { "name": "spatie/laravel-ignition", - "version": "1.2.2", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "924d1ae878874ad0bb49f63b69a9af759a34ee78" + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/924d1ae878874ad0bb49f63b69a9af759a34ee78", - "reference": "924d1ae878874ad0bb49f63b69a9af759a34ee78", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/3c067b75bfb50574db8f7e2c3978c65eed71126c", + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", "ext-mbstring": "*", - "illuminate/support": "^8.77|^9.0", - "monolog/monolog": "^2.3", - "php": "^8.0", - "spatie/flare-client-php": "^1.0.1", - "spatie/ignition": "^1.2.4", - "symfony/console": "^5.0|^6.0", - "symfony/var-dumper": "^5.0|^6.0" + "illuminate/support": "^10.0|^11.0", + "php": "^8.1", + "spatie/ignition": "^1.15", + "symfony/console": "^6.2.3|^7.0", + "symfony/var-dumper": "^6.2.3|^7.0" + }, + "require-dev": { + "livewire/livewire": "^2.11|^3.3.5", + "mockery/mockery": "^1.5.1", + "openai-php/client": "^0.8.1", + "orchestra/testbench": "8.22.3|^9.0", + "pestphp/pest": "^2.34", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.16", + "vlucas/phpdotenv": "^5.5" }, - "require-dev": { - "filp/whoops": "^2.14", - "livewire/livewire": "^2.8|dev-develop", - "mockery/mockery": "^1.4", - "nunomaduro/larastan": "^1.0", - "orchestra/testbench": "^6.23|^7.0", - "pestphp/pest": "^1.20", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "spatie/laravel-ray": "^1.27" + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI" }, "type": "library", "extra": { @@ -6113,31 +6112,33 @@ "type": "github" } ], - "time": "2022-04-14T18:04:51+00:00" + "time": "2024-06-12T15:01:18+00:00" }, { "name": "spatie/simple-excel", - "version": "1.15.0", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/spatie/simple-excel.git", - "reference": "7b5a770a4a2da7e7037f0fdcc4a800125f75d9be" + "reference": "e2482b20b6d3cce1a3ded3e604c2a598c897f0a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/simple-excel/zipball/7b5a770a4a2da7e7037f0fdcc4a800125f75d9be", - "reference": "7b5a770a4a2da7e7037f0fdcc4a800125f75d9be", + "url": "https://api.github.com/repos/spatie/simple-excel/zipball/e2482b20b6d3cce1a3ded3e604c2a598c897f0a3", + "reference": "e2482b20b6d3cce1a3ded3e604c2a598c897f0a3", "shasum": "" }, "require": { - "box/spout": "^3.0", - "illuminate/support": "^8.71|^9.0", - "php": "^8.0" + "illuminate/support": "^9.0|^10.0|^11.0", + "openspout/openspout": "^4.19", + "php": "^8.1" }, "require-dev": { - "phpunit/phpunit": "^9.4", - "spatie/phpunit-snapshot-assertions": "^4.0", - "spatie/temporary-directory": "^1.2" + "pestphp/pest-plugin-laravel": "^1.3|^2.3", + "phpunit/phpunit": "^9.4|^10.5", + "spatie/pest-plugin-snapshots": "^1.1|^2.1", + "spatie/phpunit-snapshot-assertions": "^4.0|^5.1", + "spatie/temporary-directory": "^1.2|^2.2" }, "type": "library", "autoload": { @@ -6164,8 +6165,7 @@ "spatie" ], "support": { - "issues": "https://github.com/spatie/simple-excel/issues", - "source": "https://github.com/spatie/simple-excel/tree/1.15.0" + "source": "https://github.com/spatie/simple-excel/tree/3.6.0" }, "funding": [ { @@ -6173,52 +6173,124 @@ "type": "github" } ], - "time": "2022-01-12T12:23:19+00:00" + "time": "2024-04-24T13:41:23+00:00" + }, + { + "name": "symfony/clock", + "version": "v7.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/clock.git", + "reference": "3dfc8b084853586de51dd1441c6242c76a28cbe7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/clock/zipball/3dfc8b084853586de51dd1441c6242c76a28cbe7", + "reference": "3dfc8b084853586de51dd1441c6242c76a28cbe7", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "psr/clock": "^1.0", + "symfony/polyfill-php83": "^1.28" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/now.php" + ], + "psr-4": { + "Symfony\\Component\\Clock\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Decouples applications from the system clock", + "homepage": "https://symfony.com", + "keywords": [ + "clock", + "psr20", + "time" + ], + "support": { + "source": "https://github.com/symfony/clock/tree/v7.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/console", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0d00aa289215353aa8746a31d101f8e60826285c" + "reference": "0aa29ca177f432ab68533432db0de059f39c92ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0d00aa289215353aa8746a31d101f8e60826285c", - "reference": "0d00aa289215353aa8746a31d101f8e60826285c", + "url": "https://api.github.com/repos/symfony/console/zipball/0aa29ca177f432ab68533432db0de059f39c92ae", + "reference": "0aa29ca177f432ab68533432db0de059f39c92ae", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.4|^6.0" + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^6.4|^7.0" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" + "symfony/dependency-injection": "<6.4", + "symfony/dotenv": "<6.4", + "symfony/event-dispatcher": "<6.4", + "symfony/lock": "<6.4", + "symfony/process": "<6.4" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -6247,12 +6319,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.0.8" + "source": "https://github.com/symfony/console/tree/v7.1.2" }, "funding": [ { @@ -6268,24 +6340,24 @@ "type": "tidelift" } ], - "time": "2022-04-20T15:01:42+00:00" + "time": "2024-06-28T10:03:55+00:00" }, { "name": "symfony/css-selector", - "version": "v6.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "1955d595c12c111629cc814d3f2a2ff13580508a" + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/1955d595c12c111629cc814d3f2a2ff13580508a", - "reference": "1955d595c12c111629cc814d3f2a2ff13580508a", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/1c7cee86c6f812896af54434f8ce29c8d94f9ff4", + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.2" }, "type": "library", "autoload": { @@ -6317,7 +6389,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v6.0.3" + "source": "https://github.com/symfony/css-selector/tree/v7.1.1" }, "funding": [ { @@ -6333,29 +6405,29 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", - "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6384,7 +6456,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -6400,31 +6472,35 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/error-handler", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "5e2795163acbd13b3cd46835c9f8f6c5d0a3a280" + "reference": "2412d3dddb5c9ea51a39cfbff1c565fc9844ca32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/5e2795163acbd13b3cd46835c9f8f6c5d0a3a280", - "reference": "5e2795163acbd13b3cd46835c9f8f6c5d0a3a280", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/2412d3dddb5c9ea51a39cfbff1c565fc9844ca32", + "reference": "2412d3dddb5c9ea51a39cfbff1c565fc9844ca32", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^5.4|^6.0" + "symfony/var-dumper": "^6.4|^7.0" + }, + "conflict": { + "symfony/deprecation-contracts": "<2.5", + "symfony/http-kernel": "<6.4" }, "require-dev": { - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/serializer": "^5.4|^6.0" + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/serializer": "^6.4|^7.0" }, "bin": [ "Resources/bin/patch-type-declarations" @@ -6455,7 +6531,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.0.8" + "source": "https://github.com/symfony/error-handler/tree/v7.1.2" }, "funding": [ { @@ -6471,28 +6547,29 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:11:42+00:00" + "time": "2024-06-25T19:55:06+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "6472ea2dd415e925b90ca82be64b8bc6157f3934" + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/6472ea2dd415e925b90ca82be64b8bc6157f3934", - "reference": "6472ea2dd415e925b90ca82be64b8bc6157f3934", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/event-dispatcher-contracts": "^2|^3" + "php": ">=8.2", + "symfony/event-dispatcher-contracts": "^2.5|^3" }, "conflict": { - "symfony/dependency-injection": "<5.4" + "symfony/dependency-injection": "<6.4", + "symfony/service-contracts": "<2.5" }, "provide": { "psr/event-dispatcher-implementation": "1.0", @@ -6500,17 +6577,13 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/error-handler": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^5.4|^6.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/error-handler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -6538,7 +6611,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.0.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.1" }, "funding": [ { @@ -6554,33 +6627,30 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.0.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051" + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/7bc61cc2db649b4637d331240c5346dcc7708051", - "reference": "7bc61cc2db649b4637d331240c5346dcc7708051", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.1", "psr/event-dispatcher": "^1" }, - "suggest": { - "symfony/event-dispatcher-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6617,7 +6687,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" }, "funding": [ { @@ -6633,24 +6703,27 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/finder", - "version": "v6.0.8", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "af7edab28d17caecd1f40a9219fc646ae751c21f" + "reference": "fbb0ba67688b780efbc886c1a0a0948dcf7205d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/af7edab28d17caecd1f40a9219fc646ae751c21f", - "reference": "af7edab28d17caecd1f40a9219fc646ae751c21f", + "url": "https://api.github.com/repos/symfony/finder/zipball/fbb0ba67688b780efbc886c1a0a0948dcf7205d6", + "reference": "fbb0ba67688b780efbc886c1a0a0948dcf7205d6", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.2" + }, + "require-dev": { + "symfony/filesystem": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -6678,7 +6751,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.0.8" + "source": "https://github.com/symfony/finder/tree/v7.1.1" }, "funding": [ { @@ -6694,27 +6767,32 @@ "type": "tidelift" } ], - "time": "2022-04-15T08:07:58+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/http-client", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "d347895193283e08b4c3ebf2f2974a1df3e1f670" + "reference": "90ace27d17ccc9afc6f7ec0081e8529fb0e29425" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/d347895193283e08b4c3ebf2f2974a1df3e1f670", - "reference": "d347895193283e08b4c3ebf2f2974a1df3e1f670", + "url": "https://api.github.com/repos/symfony/http-client/zipball/90ace27d17ccc9afc6f7ec0081e8529fb0e29425", + "reference": "90ace27d17ccc9afc6f7ec0081e8529fb0e29425", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "psr/log": "^1|^2|^3", - "symfony/http-client-contracts": "^3", - "symfony/service-contracts": "^1.0|^2|^3" + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-client-contracts": "^3.4.1", + "symfony/service-contracts": "^2.5|^3" + }, + "conflict": { + "php-http/discovery": "<1.15", + "symfony/http-foundation": "<6.4" }, "provide": { "php-http/async-client-implementation": "*", @@ -6727,14 +6805,16 @@ "amphp/http-client": "^4.2.1", "amphp/http-tunnel": "^1.0", "amphp/socket": "^1.1", - "guzzlehttp/promises": "^1.4", + "guzzlehttp/promises": "^1.4|^2.0", "nyholm/psr7": "^1.0", "php-http/httplug": "^1.0|^2.0", "psr/http-client": "^1.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/stopwatch": "^5.4|^6.0" + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/rate-limiter": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -6761,8 +6841,11 @@ ], "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", "homepage": "https://symfony.com", + "keywords": [ + "http" + ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.0.8" + "source": "https://github.com/symfony/http-client/tree/v7.1.2" }, "funding": [ { @@ -6778,32 +6861,29 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:11:42+00:00" + "time": "2024-06-28T08:00:31+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.0.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "f7525778c712be78ad5b6ca31f47fdcfd404c280" + "reference": "20414d96f391677bf80078aa55baece78b82647d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/f7525778c712be78ad5b6ca31f47fdcfd404c280", - "reference": "f7525778c712be78ad5b6ca31f47fdcfd404c280", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/20414d96f391677bf80078aa55baece78b82647d", + "reference": "20414d96f391677bf80078aa55baece78b82647d", "shasum": "" }, "require": { - "php": ">=8.0.2" - }, - "suggest": { - "symfony/http-client-implementation": "" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6813,7 +6893,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\HttpClient\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -6840,7 +6923,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.5.0" }, "funding": [ { @@ -6856,35 +6939,40 @@ "type": "tidelift" } ], - "time": "2022-03-13T20:10:05+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.0.8", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "c9c86b02d7ef6f44f3154acc7de42831518afe7c" + "reference": "74d171d5b6a1d9e4bfee09a41937c17a7536acfa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/c9c86b02d7ef6f44f3154acc7de42831518afe7c", - "reference": "c9c86b02d7ef6f44f3154acc7de42831518afe7c", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/74d171d5b6a1d9e4bfee09a41937c17a7536acfa", + "reference": "74d171d5b6a1d9e4bfee09a41937c17a7536acfa", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.1" + "php": ">=8.2", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" }, - "require-dev": { - "predis/predis": "~1.0", - "symfony/cache": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/mime": "^5.4|^6.0" + "conflict": { + "doctrine/dbal": "<3.6", + "symfony/cache": "<6.4" }, - "suggest": { - "symfony/mime": "To use the file extension guesser" + "require-dev": { + "doctrine/dbal": "^3.6|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", + "symfony/rate-limiter": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -6912,7 +7000,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.0.8" + "source": "https://github.com/symfony/http-foundation/tree/v7.1.1" }, "funding": [ { @@ -6928,72 +7016,77 @@ "type": "tidelift" } ], - "time": "2022-04-22T08:18:02+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "7aaf1cdc9cc2ad47e926f624efcb679883a39ca7" + "reference": "ae3fa717db4d41a55d14c2bd92399e37cf5bc0f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/7aaf1cdc9cc2ad47e926f624efcb679883a39ca7", - "reference": "7aaf1cdc9cc2ad47e926f624efcb679883a39ca7", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/ae3fa717db4d41a55d14c2bd92399e37cf5bc0f6", + "reference": "ae3fa717db4d41a55d14c2bd92399e37cf5bc0f6", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "psr/log": "^1|^2|^3", - "symfony/error-handler": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/error-handler": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/browser-kit": "<5.4", - "symfony/cache": "<5.4", - "symfony/config": "<5.4", - "symfony/console": "<5.4", - "symfony/dependency-injection": "<5.4", - "symfony/doctrine-bridge": "<5.4", - "symfony/form": "<5.4", - "symfony/http-client": "<5.4", - "symfony/mailer": "<5.4", - "symfony/messenger": "<5.4", - "symfony/translation": "<5.4", - "symfony/twig-bridge": "<5.4", - "symfony/validator": "<5.4", - "twig/twig": "<2.13" + "symfony/browser-kit": "<6.4", + "symfony/cache": "<6.4", + "symfony/config": "<6.4", + "symfony/console": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/doctrine-bridge": "<6.4", + "symfony/form": "<6.4", + "symfony/http-client": "<6.4", + "symfony/http-client-contracts": "<2.5", + "symfony/mailer": "<6.4", + "symfony/messenger": "<6.4", + "symfony/translation": "<6.4", + "symfony/translation-contracts": "<2.5", + "symfony/twig-bridge": "<6.4", + "symfony/validator": "<6.4", + "symfony/var-dumper": "<6.4", + "twig/twig": "<3.0.4" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/browser-kit": "^5.4|^6.0", - "symfony/config": "^5.4|^6.0", - "symfony/console": "^5.4|^6.0", - "symfony/css-selector": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/dom-crawler": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/finder": "^5.4|^6.0", - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/process": "^5.4|^6.0", - "symfony/routing": "^5.4|^6.0", - "symfony/stopwatch": "^5.4|^6.0", - "symfony/translation": "^5.4|^6.0", - "symfony/translation-contracts": "^1.1|^2|^3", - "twig/twig": "^2.13|^3.0.4" - }, - "suggest": { - "symfony/browser-kit": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "" + "symfony/browser-kit": "^6.4|^7.0", + "symfony/clock": "^6.4|^7.0", + "symfony/config": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0", + "symfony/css-selector": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/dom-crawler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/finder": "^6.4|^7.0", + "symfony/http-client-contracts": "^2.5|^3", + "symfony/process": "^6.4|^7.0", + "symfony/property-access": "^7.1", + "symfony/routing": "^6.4|^7.0", + "symfony/serializer": "^7.1", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/translation": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3", + "symfony/uid": "^6.4|^7.0", + "symfony/validator": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0", + "symfony/var-exporter": "^6.4|^7.0", + "twig/twig": "^3.0.4" }, "type": "library", "autoload": { @@ -7021,7 +7114,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.0.8" + "source": "https://github.com/symfony/http-kernel/tree/v7.1.2" }, "funding": [ { @@ -7037,37 +7130,43 @@ "type": "tidelift" } ], - "time": "2022-04-27T17:26:02+00:00" + "time": "2024-06-28T13:13:31+00:00" }, { "name": "symfony/mailer", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "706af6b3e99ebcbc639c9c664f5579aaa869409b" + "reference": "8fcff0af9043c8f8a8e229437cea363e282f9aee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/706af6b3e99ebcbc639c9c664f5579aaa869409b", - "reference": "706af6b3e99ebcbc639c9c664f5579aaa869409b", + "url": "https://api.github.com/repos/symfony/mailer/zipball/8fcff0af9043c8f8a8e229437cea363e282f9aee", + "reference": "8fcff0af9043c8f8a8e229437cea363e282f9aee", "shasum": "" }, "require": { - "egulias/email-validator": "^2.1.10|^3", - "php": ">=8.0.2", + "egulias/email-validator": "^2.1.10|^3|^4", + "php": ">=8.2", "psr/event-dispatcher": "^1", "psr/log": "^1|^2|^3", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/mime": "^5.4|^6.0", - "symfony/service-contracts": "^1.1|^2|^3" + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3" }, "conflict": { - "symfony/http-kernel": "<5.4" + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<6.4", + "symfony/messenger": "<6.4", + "symfony/mime": "<6.4", + "symfony/twig-bridge": "<6.4" }, "require-dev": { - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/messenger": "^5.4|^6.0" + "symfony/console": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/twig-bridge": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -7095,7 +7194,76 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.0.8" + "source": "https://github.com/symfony/mailer/tree/v7.1.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-06-28T08:00:31+00:00" + }, + { + "name": "symfony/mailgun-mailer", + "version": "v7.1.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/mailgun-mailer.git", + "reference": "d5dcf1cbbc29cf43c979b9ed8a7ff509c903c64f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mailgun-mailer/zipball/d5dcf1cbbc29cf43c979b9ed8a7ff509c903c64f", + "reference": "d5dcf1cbbc29cf43c979b9ed8a7ff509c903c64f", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/mailer": "^6.4|^7.0" + }, + "conflict": { + "symfony/http-foundation": "<6.4" + }, + "require-dev": { + "symfony/http-client": "^6.4|^7.0", + "symfony/webhook": "^6.4|^7.0" + }, + "type": "symfony-mailer-bridge", + "autoload": { + "psr-4": { + "Symfony\\Component\\Mailer\\Bridge\\Mailgun\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Mailgun Mailer Bridge", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/mailgun-mailer/tree/v7.1.2" }, "funding": [ { @@ -7111,24 +7279,24 @@ "type": "tidelift" } ], - "time": "2022-04-27T17:10:30+00:00" + "time": "2024-06-28T08:00:31+00:00" }, { "name": "symfony/mime", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1" + "reference": "26a00b85477e69a4bab63b66c5dce64f18b0cbfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1", - "reference": "c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1", + "url": "https://api.github.com/repos/symfony/mime/zipball/26a00b85477e69a4bab63b66c5dce64f18b0cbfc", + "reference": "26a00b85477e69a4bab63b66c5dce64f18b0cbfc", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, @@ -7136,15 +7304,18 @@ "egulias/email-validator": "~3.0.0", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/mailer": "<5.4" + "symfony/mailer": "<6.4", + "symfony/serializer": "<6.4.3|>7.0,<7.0.3" }, "require-dev": { - "egulias/email-validator": "^2.1.10|^3.1", + "egulias/email-validator": "^2.1.10|^3.1|^4", + "league/html-to-markdown": "^5.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/property-access": "^5.4|^6.0", - "symfony/property-info": "^5.4|^6.0", - "symfony/serializer": "^5.4|^6.0" + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/property-access": "^6.4|^7.0", + "symfony/property-info": "^6.4|^7.0", + "symfony/serializer": "^6.4.3|^7.0.3" }, "type": "library", "autoload": { @@ -7176,7 +7347,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.0.8" + "source": "https://github.com/symfony/mime/tree/v7.1.2" }, "funding": [ { @@ -7192,25 +7363,25 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:11:42+00:00" + "time": "2024-06-28T10:03:55+00:00" }, { "name": "symfony/options-resolver", - "version": "v6.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d" + "reference": "47aa818121ed3950acd2b58d1d37d08a94f9bf55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/51f7006670febe4cbcbae177cbffe93ff833250d", - "reference": "51f7006670febe4cbcbae177cbffe93ff833250d", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/47aa818121ed3950acd2b58d1d37d08a94f9bf55", + "reference": "47aa818121ed3950acd2b58d1d37d08a94f9bf55", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3" }, "type": "library", "autoload": { @@ -7243,7 +7414,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.0.3" + "source": "https://github.com/symfony/options-resolver/tree/v7.1.1" }, "funding": [ { @@ -7259,20 +7430,20 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "30885182c981ab175d4d034db0f6f469898070ab" + "reference": "0424dff1c58f028c451efff2045f5d92410bd540" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", - "reference": "30885182c981ab175d4d034db0f6f469898070ab", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540", "shasum": "" }, "require": { @@ -7286,9 +7457,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7325,7 +7493,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" }, "funding": [ { @@ -7341,20 +7509,20 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", - "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", "shasum": "" }, "require": { @@ -7365,9 +7533,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7406,7 +7571,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.0" }, "funding": [ { @@ -7422,20 +7587,20 @@ "type": "tidelift" } ], - "time": "2021-11-23T21:10:46+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "749045c69efb97c70d25d7463abba812e91f3a44" + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/749045c69efb97c70d25d7463abba812e91f3a44", - "reference": "749045c69efb97c70d25d7463abba812e91f3a44", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", "shasum": "" }, "require": { @@ -7448,9 +7613,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7493,7 +7655,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.30.0" }, "funding": [ { @@ -7509,20 +7671,20 @@ "type": "tidelift" } ], - "time": "2021-09-14T14:02:44+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8" + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8", - "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", "shasum": "" }, "require": { @@ -7533,9 +7695,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7577,7 +7736,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.0" }, "funding": [ { @@ -7593,20 +7752,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", - "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", "shasum": "" }, "require": { @@ -7620,9 +7779,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7660,7 +7816,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" }, "funding": [ { @@ -7676,20 +7832,20 @@ "type": "tidelift" } ], - "time": "2021-11-30T18:21:41+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976" + "reference": "10112722600777e02d2745716b70c5db4ca70442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976", - "reference": "9a142215a36a3888e30d0a9eeea9766764e96976", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/10112722600777e02d2745716b70c5db4ca70442", + "reference": "10112722600777e02d2745716b70c5db4ca70442", "shasum": "" }, "require": { @@ -7697,9 +7853,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7736,7 +7889,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.30.0" }, "funding": [ { @@ -7752,20 +7905,20 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:17:38+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", - "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", "shasum": "" }, "require": { @@ -7773,9 +7926,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7819,7 +7969,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" }, "funding": [ { @@ -7835,20 +7985,20 @@ "type": "tidelift" } ], - "time": "2022-03-04T08:16:47+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { - "name": "symfony/polyfill-php81", - "version": "v1.25.0", + "name": "symfony/polyfill-php83", + "version": "v1.30.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", - "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", "shasum": "" }, "require": { @@ -7856,9 +8006,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7869,7 +8016,7 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Php81\\": "" + "Symfony\\Polyfill\\Php83\\": "" }, "classmap": [ "Resources/stubs" @@ -7889,7 +8036,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -7898,7 +8045,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.30.0" }, "funding": [ { @@ -7914,20 +8061,20 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:11+00:00" + "time": "2024-06-19T12:35:24+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.25.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "7529922412d23ac44413d0f308861d50cf68d3ee" + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/7529922412d23ac44413d0f308861d50cf68d3ee", - "reference": "7529922412d23ac44413d0f308861d50cf68d3ee", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/2ba1f33797470debcda07fe9dce20a0003df18e9", + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9", "shasum": "" }, "require": { @@ -7941,9 +8088,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.23-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -7980,7 +8124,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.25.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.30.0" }, "funding": [ { @@ -7996,24 +8140,24 @@ "type": "tidelift" } ], - "time": "2021-10-20T20:35:02+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/process", - "version": "v6.0.8", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "d074154ea8b1443a96391f6e39f9e547b2dd01b9" + "reference": "febf90124323a093c7ee06fdb30e765ca3c20028" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/d074154ea8b1443a96391f6e39f9e547b2dd01b9", - "reference": "d074154ea8b1443a96391f6e39f9e547b2dd01b9", + "url": "https://api.github.com/repos/symfony/process/zipball/febf90124323a093c7ee06fdb30e765ca3c20028", + "reference": "febf90124323a093c7ee06fdb30e765ca3c20028", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.2" }, "type": "library", "autoload": { @@ -8041,7 +8185,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.0.8" + "source": "https://github.com/symfony/process/tree/v7.1.1" }, "funding": [ { @@ -8057,46 +8201,42 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:11:42+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/psr-http-message-bridge", - "version": "v2.1.2", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/psr-http-message-bridge.git", - "reference": "22b37c8a3f6b5d94e9cdbd88e1270d96e2f97b34" + "reference": "9a5dbb606da711f5d40a7596ad577856f9402140" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/22b37c8a3f6b5d94e9cdbd88e1270d96e2f97b34", - "reference": "22b37c8a3f6b5d94e9cdbd88e1270d96e2f97b34", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/9a5dbb606da711f5d40a7596ad577856f9402140", + "reference": "9a5dbb606da711f5d40a7596ad577856f9402140", "shasum": "" }, "require": { - "php": ">=7.1", - "psr/http-message": "^1.0", - "symfony/http-foundation": "^4.4 || ^5.0 || ^6.0" + "php": ">=8.2", + "psr/http-message": "^1.0|^2.0", + "symfony/http-foundation": "^6.4|^7.0" + }, + "conflict": { + "php-http/discovery": "<1.15", + "symfony/http-kernel": "<6.4" }, "require-dev": { "nyholm/psr7": "^1.1", - "psr/log": "^1.1 || ^2 || ^3", - "symfony/browser-kit": "^4.4 || ^5.0 || ^6.0", - "symfony/config": "^4.4 || ^5.0 || ^6.0", - "symfony/event-dispatcher": "^4.4 || ^5.0 || ^6.0", - "symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0", - "symfony/http-kernel": "^4.4 || ^5.0 || ^6.0", - "symfony/phpunit-bridge": "^5.4@dev || ^6.0" - }, - "suggest": { - "nyholm/psr7": "For a super lightweight PSR-7/17 implementation" + "php-http/discovery": "^1.15", + "psr/log": "^1.1.4|^2|^3", + "symfony/browser-kit": "^6.4|^7.0", + "symfony/config": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/framework-bundle": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0" }, "type": "symfony-bridge", - "extra": { - "branch-alias": { - "dev-main": "2.1-dev" - } - }, "autoload": { "psr-4": { "Symfony\\Bridge\\PsrHttpMessage\\": "" @@ -8116,11 +8256,11 @@ }, { "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" + "homepage": "https://symfony.com/contributors" } ], "description": "PSR HTTP message bridge", - "homepage": "http://symfony.com", + "homepage": "https://symfony.com", "keywords": [ "http", "http-message", @@ -8128,8 +8268,7 @@ "psr-7" ], "support": { - "issues": "https://github.com/symfony/psr-http-message-bridge/issues", - "source": "https://github.com/symfony/psr-http-message-bridge/tree/v2.1.2" + "source": "https://github.com/symfony/psr-http-message-bridge/tree/v7.1.1" }, "funding": [ { @@ -8145,45 +8284,38 @@ "type": "tidelift" } ], - "time": "2021-11-05T13:13:39+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/routing", - "version": "v6.0.8", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "74c40c9fc334acc601a32fcf4274e74fb3bac11e" + "reference": "60c31bab5c45af7f13091b87deb708830f3c96c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/74c40c9fc334acc601a32fcf4274e74fb3bac11e", - "reference": "74c40c9fc334acc601a32fcf4274e74fb3bac11e", + "url": "https://api.github.com/repos/symfony/routing/zipball/60c31bab5c45af7f13091b87deb708830f3c96c0", + "reference": "60c31bab5c45af7f13091b87deb708830f3c96c0", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.2", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { - "doctrine/annotations": "<1.12", - "symfony/config": "<5.4", - "symfony/dependency-injection": "<5.4", - "symfony/yaml": "<5.4" + "symfony/config": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/yaml": "<6.4" }, "require-dev": { - "doctrine/annotations": "^1.12", "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "symfony/config": "For using the all-in-one router or any loader", - "symfony/expression-language": "For using expression matching", - "symfony/http-foundation": "For using a Symfony Request object", - "symfony/yaml": "For using the YAML loader" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/yaml": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -8217,7 +8349,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.0.8" + "source": "https://github.com/symfony/routing/tree/v7.1.1" }, "funding": [ { @@ -8233,36 +8365,34 @@ "type": "tidelift" } ], - "time": "2022-04-22T08:18:02+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.0.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "e517458f278c2131ca9f262f8fbaf01410f2c65c" + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/e517458f278c2131ca9f262f8fbaf01410f2c65c", - "reference": "e517458f278c2131ca9f262f8fbaf01410f2c65c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", "shasum": "" }, "require": { - "php": ">=8.0.2", - "psr/container": "^2.0" + "php": ">=8.1", + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" }, - "suggest": { - "symfony/service-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -8272,7 +8402,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Service\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8299,7 +8432,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" }, "funding": [ { @@ -8315,37 +8448,39 @@ "type": "tidelift" } ], - "time": "2022-03-13T20:10:05+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/string", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ac0aa5c2282e0de624c175b68d13f2c8f2e2649d" + "reference": "14221089ac66cf82e3cf3d1c1da65de305587ff8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ac0aa5c2282e0de624c175b68d13f2c8f2e2649d", - "reference": "ac0aa5c2282e0de624c175b68d13f2c8f2e2649d", + "url": "https://api.github.com/repos/symfony/string/zipball/14221089ac66cf82e3cf3d1c1da65de305587ff8", + "reference": "14221089ac66cf82e3cf3d1c1da65de305587ff8", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": "<2.0" + "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/emoji": "^7.1", + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -8384,7 +8519,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.0.8" + "source": "https://github.com/symfony/string/tree/v7.1.2" }, "funding": [ { @@ -8400,55 +8535,54 @@ "type": "tidelift" } ], - "time": "2022-04-22T08:18:02+00:00" + "time": "2024-06-28T09:27:18+00:00" }, { "name": "symfony/translation", - "version": "v6.0.8", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "3d38cf8f8834148c4457681d539bc204de701501" + "reference": "cf5ae136e124fc7681b34ce9fac9d5b9ae8ceee3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/3d38cf8f8834148c4457681d539bc204de701501", - "reference": "3d38cf8f8834148c4457681d539bc204de701501", + "url": "https://api.github.com/repos/symfony/translation/zipball/cf5ae136e124fc7681b34ce9fac9d5b9ae8ceee3", + "reference": "cf5ae136e124fc7681b34ce9fac9d5b9ae8ceee3", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0", - "symfony/translation-contracts": "^2.3|^3.0" + "symfony/translation-contracts": "^2.5|^3.0" }, "conflict": { - "symfony/config": "<5.4", - "symfony/console": "<5.4", - "symfony/dependency-injection": "<5.4", - "symfony/http-kernel": "<5.4", - "symfony/twig-bundle": "<5.4", - "symfony/yaml": "<5.4" + "symfony/config": "<6.4", + "symfony/console": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/http-client-contracts": "<2.5", + "symfony/http-kernel": "<6.4", + "symfony/service-contracts": "<2.5", + "symfony/twig-bundle": "<6.4", + "symfony/yaml": "<6.4" }, "provide": { "symfony/translation-implementation": "2.3|3.0" }, "require-dev": { + "nikic/php-parser": "^4.18|^5.0", "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/console": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/finder": "^5.4|^6.0", - "symfony/http-client-contracts": "^1.1|^2.0|^3.0", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/intl": "^5.4|^6.0", + "symfony/config": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/finder": "^6.4|^7.0", + "symfony/http-client-contracts": "^2.5|^3.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", "symfony/polyfill-intl-icu": "^1.21", - "symfony/service-contracts": "^1.1.2|^2|^3", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "psr/log-implementation": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" + "symfony/routing": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -8479,7 +8613,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.0.8" + "source": "https://github.com/symfony/translation/tree/v7.1.1" }, "funding": [ { @@ -8495,32 +8629,29 @@ "type": "tidelift" } ], - "time": "2022-04-22T08:18:02+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.0.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "c4183fc3ef0f0510893cbeedc7718fb5cafc9ac9" + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/c4183fc3ef0f0510893cbeedc7718fb5cafc9ac9", - "reference": "c4183fc3ef0f0510893cbeedc7718fb5cafc9ac9", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", "shasum": "" }, "require": { - "php": ">=8.0.2" - }, - "suggest": { - "symfony/translation-implementation": "" + "php": ">=8.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -8530,7 +8661,10 @@ "autoload": { "psr-4": { "Symfony\\Contracts\\Translation\\": "" - } + }, + "exclude-from-classmap": [ + "/Test/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -8557,7 +8691,81 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.0.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-04-18T09:32:20+00:00" + }, + { + "name": "symfony/uid", + "version": "v7.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/uid.git", + "reference": "bb59febeecc81528ff672fad5dab7f06db8c8277" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/uid/zipball/bb59febeecc81528ff672fad5dab7f06db8c8277", + "reference": "bb59febeecc81528ff672fad5dab7f06db8c8277", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "symfony/polyfill-uuid": "^1.15" + }, + "require-dev": { + "symfony/console": "^6.4|^7.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Uid\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Grégoire Pineau", + "email": "lyrixx@lyrixx.info" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to generate and represent UIDs", + "homepage": "https://symfony.com", + "keywords": [ + "UID", + "ulid", + "uuid" + ], + "support": { + "source": "https://github.com/symfony/uid/tree/v7.1.1" }, "funding": [ { @@ -8573,41 +8781,36 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.0.8", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "fa61dfb4bd3068df2492013dc65f3190e9f550c0" + "reference": "5857c57c6b4b86524c08cf4f4bc95327270a816d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/fa61dfb4bd3068df2492013dc65f3190e9f550c0", - "reference": "fa61dfb4bd3068df2492013dc65f3190e9f550c0", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/5857c57c6b4b86524c08cf4f4bc95327270a816d", + "reference": "5857c57c6b4b86524c08cf4f4bc95327270a816d", "shasum": "" }, "require": { - "php": ">=8.0.2", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "phpunit/phpunit": "<5.4.3", - "symfony/console": "<5.4" + "symfony/console": "<6.4" }, "require-dev": { "ext-iconv": "*", - "symfony/console": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/uid": "^5.4|^6.0", - "twig/twig": "^2.13|^3.0.4" - }, - "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + "symfony/console": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/uid": "^6.4|^7.0", + "twig/twig": "^3.0.4" }, "bin": [ "Resources/bin/var-dump-server" @@ -8645,7 +8848,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.0.8" + "source": "https://github.com/symfony/var-dumper/tree/v7.1.2" }, "funding": [ { @@ -8661,29 +8864,29 @@ "type": "tidelift" } ], - "time": "2022-04-26T13:22:23+00:00" + "time": "2024-06-28T08:00:31+00:00" }, { "name": "tedivm/jshrink", - "version": "v1.4.0", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/tedious/JShrink.git", - "reference": "0513ba1407b1f235518a939455855e6952a48bbc" + "reference": "7a35f5a4651ca2ce77295eb8a3b4e133ba47e19e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tedious/JShrink/zipball/0513ba1407b1f235518a939455855e6952a48bbc", - "reference": "0513ba1407b1f235518a939455855e6952a48bbc", + "url": "https://api.github.com/repos/tedious/JShrink/zipball/7a35f5a4651ca2ce77295eb8a3b4e133ba47e19e", + "reference": "7a35f5a4651ca2ce77295eb8a3b4e133ba47e19e", "shasum": "" }, "require": { - "php": "^5.6|^7.0|^8.0" + "php": "^7.0|^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.8", - "php-coveralls/php-coveralls": "^1.1.0", - "phpunit/phpunit": "^6" + "friendsofphp/php-cs-fixer": "^3.14", + "php-coveralls/php-coveralls": "^2.5.0", + "phpunit/phpunit": "^9|^10" }, "type": "library", "autoload": { @@ -8709,49 +8912,55 @@ ], "support": { "issues": "https://github.com/tedious/JShrink/issues", - "source": "https://github.com/tedious/JShrink/tree/v1.4.0" + "source": "https://github.com/tedious/JShrink/tree/v1.7.0" }, "funding": [ + { + "url": "https://github.com/tedivm", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/tedivm/jshrink", "type": "tidelift" } ], - "time": "2020-11-30T18:10:21+00:00" + "time": "2023-10-04T17:23:23+00:00" }, { "name": "tightenco/ziggy", - "version": "v1.4.6", + "version": "v2.2.1", "source": { "type": "git", "url": "https://github.com/tighten/ziggy.git", - "reference": "a9e0e078ae6f0768836bc640a80f4cf99fa3d08f" + "reference": "c0ee79a5bb92077e4b72d1d732c823ccba7f6a15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tighten/ziggy/zipball/a9e0e078ae6f0768836bc640a80f4cf99fa3d08f", - "reference": "a9e0e078ae6f0768836bc640a80f4cf99fa3d08f", + "url": "https://api.github.com/repos/tighten/ziggy/zipball/c0ee79a5bb92077e4b72d1d732c823ccba7f6a15", + "reference": "c0ee79a5bb92077e4b72d1d732c823ccba7f6a15", "shasum": "" }, "require": { "ext-json": "*", - "laravel/framework": ">=5.4@dev" + "laravel/framework": ">=9.0", + "php": ">=8.1" }, "require-dev": { - "orchestra/testbench": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0", - "phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0" + "laravel/folio": "^1.1", + "orchestra/testbench": "^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^9.5 || ^10.3" }, "type": "library", "extra": { "laravel": { "providers": [ - "Tightenco\\Ziggy\\ZiggyServiceProvider" + "Tighten\\Ziggy\\ZiggyServiceProvider" ] } }, "autoload": { "psr-4": { - "Tightenco\\Ziggy\\": "src/" + "Tighten\\Ziggy\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -8772,7 +8981,7 @@ "email": "jacob@tighten.co" } ], - "description": "Generates a Blade directive exporting all of your named Laravel routes. Also provides a nice route() helper function in JavaScript.", + "description": "Use your Laravel named routes in JavaScript.", "homepage": "https://github.com/tighten/ziggy", "keywords": [ "Ziggy", @@ -8782,29 +8991,29 @@ ], "support": { "issues": "https://github.com/tighten/ziggy/issues", - "source": "https://github.com/tighten/ziggy/tree/v1.4.6" + "source": "https://github.com/tighten/ziggy/tree/v2.2.1" }, - "time": "2022-04-08T15:12:23+00:00" + "time": "2024-05-16T23:31:31+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "2.2.4", + "version": "v2.2.7", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c" + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c", - "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb", + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "php": "^5.5 || ^7.0 || ^8.0", - "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" @@ -8835,39 +9044,40 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7" }, - "time": "2021-12-08T09:12:39+00:00" + "time": "2023-12-08T13:03:43+00:00" }, { "name": "uploadcare/uploadcare-php", - "version": "v3.2.3", + "version": "v4.2.0", "source": { "type": "git", "url": "https://github.com/uploadcare/uploadcare-php.git", - "reference": "fe74a1edf6f58817e3f4cd5538c247a56ef7e867" + "reference": "9a1300fe20abf86f765684c739145ed5e5c5e982" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/uploadcare/uploadcare-php/zipball/fe74a1edf6f58817e3f4cd5538c247a56ef7e867", - "reference": "fe74a1edf6f58817e3f4cd5538c247a56ef7e867", + "url": "https://api.github.com/repos/uploadcare/uploadcare-php/zipball/9a1300fe20abf86f765684c739145ed5e5c5e982", + "reference": "9a1300fe20abf86f765684c739145ed5e5c5e982", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", - "guzzlehttp/guzzle": "^6.5||^7", - "guzzlehttp/psr7": "^1.6", - "php": ">=7.1 || >=8.0", - "symfony/polyfill-uuid": "^1.17" + "guzzlehttp/guzzle": "^7.5", + "guzzlehttp/psr7": "^2.4", + "php": ">=7.4 || >=8.0", + "symfony/polyfill-php80": "^1.26", + "symfony/polyfill-uuid": "^1.26" }, "require-dev": { - "fakerphp/faker": "^1.9", - "friendsofphp/php-cs-fixer": "^2.16", - "phpunit/phpunit": "^5.7||^7||^9", - "symfony/dotenv": "^3.4", - "symfony/var-dumper": "^3.4||^5", - "vimeo/psalm": "^4.7" + "fakerphp/faker": "^1.20", + "friendsofphp/php-cs-fixer": "^3.11", + "phpunit/phpunit": "^9.5", + "symfony/dotenv": "^5.4", + "symfony/var-dumper": "^5.4", + "vimeo/psalm": "^4.27" }, "type": "library", "autoload": { @@ -8898,45 +9108,49 @@ "support": { "email": "help@uploadcare.com", "issues": "https://github.com/uploadcare/uploadcare-php/issues", - "source": "https://github.com/uploadcare/uploadcare-php/tree/v3.2.3" + "source": "https://github.com/uploadcare/uploadcare-php/tree/v4.2.0" }, - "time": "2022-04-04T12:27:55+00:00" + "time": "2023-11-09T20:54:50+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v5.4.1", + "version": "v5.6.0", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f" + "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f", - "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", + "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.0.2", - "php": "^7.1.3 || ^8.0", - "phpoption/phpoption": "^1.8", - "symfony/polyfill-ctype": "^1.23", - "symfony/polyfill-mbstring": "^1.23.1", - "symfony/polyfill-php80": "^1.23.1" + "graham-campbell/result-type": "^1.1.2", + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.2", + "symfony/polyfill-ctype": "^1.24", + "symfony/polyfill-mbstring": "^1.24", + "symfony/polyfill-php80": "^1.24" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-filter": "*", - "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10" + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "suggest": { "ext-filter": "Required to use the boolean validator." }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "5.6-dev" } }, "autoload": { @@ -8968,7 +9182,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.1" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.0" }, "funding": [ { @@ -8980,73 +9194,7 @@ "type": "tidelift" } ], - "time": "2021-12-12T23:22:04+00:00" - }, - { - "name": "vluzrmos/language-detector", - "version": "v2.3.3", - "source": { - "type": "git", - "url": "https://github.com/vluzrmos/laravel-language-detector.git", - "reference": "ed0b70b1a8078a8a550df20ff4e4bcc8fd370dc7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/vluzrmos/laravel-language-detector/zipball/ed0b70b1a8078a8a550df20ff4e4bcc8fd370dc7", - "reference": "ed0b70b1a8078a8a550df20ff4e4bcc8fd370dc7", - "shasum": "" - }, - "require": { - "illuminate/config": "~6.0 || ~7.0 || ~8.0 || ~9.0", - "illuminate/cookie": "~6.0 || ~7.0 || ~8.0 || ~9.0", - "illuminate/support": "~6.0 || ~7.0 || ~8.0 || ~9.0", - "illuminate/translation": "~6.0 || ~7.0 || ~8.0 || ~9.0", - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.16", - "orchestra/testbench": "^5.0 || ^6.0 || ^7.0", - "phpunit/phpunit": "^8.5 || ^9.0" - }, - "type": "package", - "extra": { - "laravel": { - "providers": [ - "Vluzrmos\\LanguageDetector\\Providers\\LanguageDetectorServiceProvider" - ] - } - }, - "autoload": { - "files": [ - "src/Support/helpers.php" - ], - "psr-4": { - "Vluzrmos\\LanguageDetector\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Vagner do Carmo", - "email": "vluzrmos@gmail.com" - } - ], - "description": "Detect the language for your application using browser preferences, subdomains or route prefixes.", - "keywords": [ - "i18n", - "language", - "laravel", - "locale", - "lumen" - ], - "support": { - "issues": "https://github.com/vluzrmos/laravel-language-detector/issues", - "source": "https://github.com/vluzrmos/laravel-language-detector/tree/v2.3.3" - }, - "time": "2022-03-16T21:43:24+00:00" + "time": "2023-11-12T22:43:29+00:00" }, { "name": "voku/portable-ascii", @@ -9124,21 +9272,21 @@ }, { "name": "webmozart/assert", - "version": "1.10.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", - "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "symfony/polyfill-ctype": "^1.8" + "ext-ctype": "*", + "php": "^7.2 || ^8.0" }, "conflict": { "phpstan/phpstan": "<0.12.20", @@ -9176,211 +9324,44 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" + "source": "https://github.com/webmozarts/assert/tree/1.11.0" }, - "time": "2021-03-09T10:59:23+00:00" + "time": "2022-06-03T18:03:27+00:00" } ], "packages-dev": [ { - "name": "amphp/amp", - "version": "v2.6.2", + "name": "barryvdh/laravel-debugbar", + "version": "v3.13.5", "source": { "type": "git", - "url": "https://github.com/amphp/amp.git", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" + "url": "https://github.com/barryvdh/laravel-debugbar.git", + "reference": "92d86be45ee54edff735e46856f64f14b6a8bb07" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/92d86be45ee54edff735e46856f64f14b6a8bb07", + "reference": "92d86be45ee54edff735e46856f64f14b6a8bb07", "shasum": "" }, "require": { - "php": ">=7.1" + "illuminate/routing": "^9|^10|^11", + "illuminate/session": "^9|^10|^11", + "illuminate/support": "^9|^10|^11", + "maximebf/debugbar": "~1.22.0", + "php": "^8.0", + "symfony/finder": "^6|^7" }, "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1", - "ext-json": "*", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^7 | ^8 | ^9", - "psalm/phar": "^3.11@dev", - "react/promise": "^2" + "mockery/mockery": "^1.3.3", + "orchestra/testbench-dusk": "^5|^6|^7|^8|^9", + "phpunit/phpunit": "^9.6|^10.5", + "squizlabs/php_codesniffer": "^3.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "files": [ - "lib/functions.php", - "lib/Internal/functions.php" - ], - "psr-4": { - "Amp\\": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Lowrey", - "email": "rdlowrey@php.net" - }, - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Bob Weinand", - "email": "bobwei9@hotmail.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "https://amphp.org/amp", - "keywords": [ - "async", - "asynchronous", - "awaitable", - "concurrency", - "event", - "event-loop", - "future", - "non-blocking", - "promise" - ], - "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.6.2" - }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2022-02-20T17:52:18+00:00" - }, - { - "name": "amphp/byte-stream", - "version": "v1.8.1", - "source": { - "type": "git", - "url": "https://github.com/amphp/byte-stream.git", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", - "shasum": "" - }, - "require": { - "amphp/amp": "^2", - "php": ">=7.1" - }, - "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.4", - "friendsofphp/php-cs-fixer": "^2.3", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6 || ^7 || ^8", - "psalm/phar": "^3.11.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "files": [ - "lib/functions.php" - ], - "psr-4": { - "Amp\\ByteStream\\": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "A stream abstraction to make working with non-blocking I/O simple.", - "homepage": "http://amphp.org/byte-stream", - "keywords": [ - "amp", - "amphp", - "async", - "io", - "non-blocking", - "stream" - ], - "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" - }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2021-03-30T17:13:30+00:00" - }, - { - "name": "barryvdh/laravel-debugbar", - "version": "v3.6.7", - "source": { - "type": "git", - "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "b96f9820aaf1ff9afe945207883149e1c7afb298" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/b96f9820aaf1ff9afe945207883149e1c7afb298", - "reference": "b96f9820aaf1ff9afe945207883149e1c7afb298", - "shasum": "" - }, - "require": { - "illuminate/routing": "^6|^7|^8|^9", - "illuminate/session": "^6|^7|^8|^9", - "illuminate/support": "^6|^7|^8|^9", - "maximebf/debugbar": "^1.17.2", - "php": ">=7.2", - "symfony/debug": "^4.3|^5|^6", - "symfony/finder": "^4.3|^5|^6" - }, - "require-dev": { - "mockery/mockery": "^1.3.3", - "orchestra/testbench-dusk": "^4|^5|^6|^7", - "phpunit/phpunit": "^8.5|^9.0", - "squizlabs/php_codesniffer": "^3.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.6-dev" + "dev-master": "3.13-dev" }, "laravel": { "providers": [ @@ -9419,7 +9400,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.7" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.13.5" }, "funding": [ { @@ -9431,32 +9412,35 @@ "type": "github" } ], - "time": "2022-02-09T07:52:32+00:00" + "time": "2024-04-12T11:20:37+00:00" }, { "name": "beyondcode/laravel-dump-server", - "version": "1.8.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/beyondcode/laravel-dump-server.git", - "reference": "33a19c632655c1d4f16c0bc67ce6ba0504116b8a" + "reference": "e0dff1b2c7caf49d07ca5cb331fc7c5f1e52c715" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beyondcode/laravel-dump-server/zipball/33a19c632655c1d4f16c0bc67ce6ba0504116b8a", - "reference": "33a19c632655c1d4f16c0bc67ce6ba0504116b8a", + "url": "https://api.github.com/repos/beyondcode/laravel-dump-server/zipball/e0dff1b2c7caf49d07ca5cb331fc7c5f1e52c715", + "reference": "e0dff1b2c7caf49d07ca5cb331fc7c5f1e52c715", "shasum": "" }, "require": { - "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0", - "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0", + "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "php": ">=7.2.5", - "symfony/var-dumper": "^5.0|^6.0" + "symfony/var-dumper": "^5.0|^6.0|^7.0" + }, + "conflict": { + "spatie/laravel-ray": "*" }, "require-dev": { "larapack/dd": "^1.0", - "phpunit/phpunit": "^7.0|^9.3" + "phpunit/phpunit": "^7.0|^9.3|^10.5" }, "type": "library", "extra": { @@ -9494,56 +9478,50 @@ ], "support": { "issues": "https://github.com/beyondcode/laravel-dump-server/issues", - "source": "https://github.com/beyondcode/laravel-dump-server/tree/1.8.0" + "source": "https://github.com/beyondcode/laravel-dump-server/tree/2.0.0" }, - "time": "2022-02-12T12:37:34+00:00" + "time": "2024-04-23T12:02:38+00:00" }, { - "name": "brianium/paratest", - "version": "v6.4.4", + "name": "fakerphp/faker", + "version": "v1.23.1", "source": { "type": "git", - "url": "https://github.com/paratestphp/paratest.git", - "reference": "589cdb23728b2a19872945580b95d8aa2c6619da" + "url": "https://github.com/FakerPHP/Faker.git", + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/589cdb23728b2a19872945580b95d8aa2c6619da", - "reference": "589cdb23728b2a19872945580b95d8aa2c6619da", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", + "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-simplexml": "*", - "php": "^7.3 || ^8.0", - "phpunit/php-code-coverage": "^9.2.11", - "phpunit/php-file-iterator": "^3.0.6", - "phpunit/php-timer": "^5.0.3", - "phpunit/phpunit": "^9.5.14", - "sebastian/environment": "^5.1.3", - "symfony/console": "^5.4.0 || ^6.0.0", - "symfony/process": "^5.4.0 || ^6.0.0" + "php": "^7.4 || ^8.0", + "psr/container": "^1.0 || ^2.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "conflict": { + "fzaninotto/faker": "*" }, "require-dev": { - "doctrine/coding-standard": "^9.0.0", - "ext-posix": "*", - "infection/infection": "^0.26.5", - "malukenho/mcbumpface": "^1.1.5", - "squizlabs/php_codesniffer": "^3.6.2", - "symfony/filesystem": "^v5.4.0 || ^6.0.0", - "vimeo/psalm": "^4.20.0" + "bamarni/composer-bin-plugin": "^1.4.1", + "doctrine/persistence": "^1.3 || ^2.0", + "ext-intl": "*", + "phpunit/phpunit": "^9.5.26", + "symfony/phpunit-bridge": "^5.4.16" + }, + "suggest": { + "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", + "ext-curl": "Required by Faker\\Provider\\Image to download images.", + "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", + "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", + "ext-mbstring": "Required for multibyte Unicode string functionality." }, - "bin": [ - "bin/paratest" - ], "type": "library", "autoload": { "psr-4": { - "ParaTest\\": [ - "src/" - ] + "Faker\\": "src/Faker/" } }, "notification-url": "https://packagist.org/downloads/", @@ -9552,74 +9530,57 @@ ], "authors": [ { - "name": "Brian Scaturro", - "email": "scaturrob@gmail.com", - "role": "Developer" - }, - { - "name": "Filippo Tessarotto", - "email": "zoeslam@gmail.com", - "role": "Developer" + "name": "François Zaninotto" } ], - "description": "Parallel testing for PHP", - "homepage": "https://github.com/paratestphp/paratest", + "description": "Faker is a PHP library that generates fake data for you.", "keywords": [ - "concurrent", - "parallel", - "phpunit", - "testing" + "data", + "faker", + "fixtures" ], "support": { - "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v6.4.4" + "issues": "https://github.com/FakerPHP/Faker/issues", + "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" }, - "funding": [ - { - "url": "https://github.com/sponsors/Slamdunk", - "type": "github" - }, - { - "url": "https://paypal.me/filippotessarotto", - "type": "paypal" - } - ], - "time": "2022-03-28T07:55:11+00:00" + "time": "2024-01-02T13:46:09+00:00" }, { - "name": "composer/ca-bundle", - "version": "1.3.1", + "name": "filp/whoops", + "version": "2.15.4", "source": { "type": "git", - "url": "https://github.com/composer/ca-bundle.git", - "reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b" + "url": "https://github.com/filp/whoops.git", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b", - "reference": "4c679186f2aca4ab6a0f1b0b9cf9252decb44d0b", + "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", + "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", "shasum": "" }, "require": { - "ext-openssl": "*", - "ext-pcre": "*", - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": "^5.5.9 || ^7.0 || ^8.0", + "psr/log": "^1.0.1 || ^2.0 || ^3.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "psr/log": "^1.0", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + "mockery/mockery": "^0.9 || ^1.0", + "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + }, + "suggest": { + "symfony/var-dumper": "Pretty print complex values better with var-dumper available", + "whoops/soap": "Formats errors as SOAP responses" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.x-dev" + "dev-master": "2.7-dev" } }, "autoload": { "psr-4": { - "Composer\\CaBundle\\": "src" + "Whoops\\": "src/Whoops/" } }, "notification-url": "https://packagist.org/downloads/", @@ -9628,99 +9589,64 @@ ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Filipe Dobreira", + "homepage": "https://github.com/filp", + "role": "Developer" } ], - "description": "Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.", + "description": "php error handling for cool kids", + "homepage": "https://filp.github.io/whoops/", "keywords": [ - "cabundle", - "cacert", - "certificate", - "ssl", - "tls" + "error", + "exception", + "handling", + "library", + "throwable", + "whoops" ], "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/ca-bundle/issues", - "source": "https://github.com/composer/ca-bundle/tree/1.3.1" + "issues": "https://github.com/filp/whoops/issues", + "source": "https://github.com/filp/whoops/tree/2.15.4" }, "funding": [ { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", + "url": "https://github.com/denis-sokolov", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" } ], - "time": "2021-10-28T20:44:15+00:00" + "time": "2023-11-03T12:00:00+00:00" }, { - "name": "composer/composer", - "version": "2.3.5", + "name": "graham-campbell/testbench-core", + "version": "v4.1.0", "source": { "type": "git", - "url": "https://github.com/composer/composer.git", - "reference": "50c47b1f907cfcdb8f072b88164d22b527557ae1" + "url": "https://github.com/GrahamCampbell/Laravel-TestBench-Core.git", + "reference": "161456c4f34877f81d8f9855010617d5ae625129" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/50c47b1f907cfcdb8f072b88164d22b527557ae1", - "reference": "50c47b1f907cfcdb8f072b88164d22b527557ae1", + "url": "https://api.github.com/repos/GrahamCampbell/Laravel-TestBench-Core/zipball/161456c4f34877f81d8f9855010617d5ae625129", + "reference": "161456c4f34877f81d8f9855010617d5ae625129", "shasum": "" }, "require": { - "composer/ca-bundle": "^1.0", - "composer/metadata-minifier": "^1.0", - "composer/pcre": "^2 || ^3", - "composer/semver": "^3.0", - "composer/spdx-licenses": "^1.2", - "composer/xdebug-handler": "^2.0.2 || ^3.0.3", - "justinrainbow/json-schema": "^5.2.11", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1.0 || ^2.0 || ^3.0", - "react/promise": "^2.8", - "seld/jsonlint": "^1.4", - "seld/phar-utils": "^1.2", - "symfony/console": "^5.4.1 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0", - "symfony/finder": "^5.4 || ^6.0", - "symfony/polyfill-php73": "^1.24", - "symfony/polyfill-php80": "^1.24", - "symfony/process": "^5.4 || ^6.0" + "php": "^7.4.15 || ^8.0.2", + "symfony/polyfill-php80": "^1.26" }, "require-dev": { - "phpstan/phpstan": "^1.4.1", - "phpstan/phpstan-deprecation-rules": "^1", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1", - "phpstan/phpstan-symfony": "^1.1", - "symfony/phpunit-bridge": "^6.0" + "graham-campbell/analyzer": "^4.1", + "phpunit/phpunit": "^9.5 || ^10.1" }, "suggest": { - "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages", - "ext-zip": "Enabling the zip extension allows you to unzip archives", - "ext-zlib": "Allow gzip compression of HTTP requests" + "illuminate/support": "Required to use the laravel trait.", + "mockery/mockery": "Required to use the mockery trait.", + "phpunit/phpunit": "Required to use the most of the features." }, - "bin": [ - "bin/composer" - ], "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.3-dev" - } - }, "autoload": { "psr-4": { - "Composer\\": "src/Composer" + "GrahamCampbell\\TestBenchCore\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -9729,149 +9655,138 @@ ], "authors": [ { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "https://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], - "description": "Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.", - "homepage": "https://getcomposer.org/", + "description": "TestBench Core Provides Some Testing Functionality For Laravel", "keywords": [ - "autoload", - "dependency", - "package" + "Graham Campbell", + "GrahamCampbell", + "Laravel TestBench Core", + "Laravel-TestBench-Core", + "TestBench", + "framework", + "laravel", + "testbench-core", + "testing" ], "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/composer/issues", - "source": "https://github.com/composer/composer/tree/2.3.5" + "issues": "https://github.com/GrahamCampbell/Laravel-TestBench-Core/issues", + "source": "https://github.com/GrahamCampbell/Laravel-TestBench-Core/tree/v4.1.0" }, "funding": [ { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", + "url": "https://github.com/GrahamCampbell", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "url": "https://tidelift.com/funding/github/packagist/graham-campbell/testbench-core", "type": "tidelift" } ], - "time": "2022-04-13T14:43:00+00:00" + "time": "2023-12-03T15:24:10+00:00" }, { - "name": "composer/metadata-minifier", - "version": "1.0.0", + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", "source": { "type": "git", - "url": "https://github.com/composer/metadata-minifier.git", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207" + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", - "reference": "c549d23829536f0d0e984aaabbf02af91f443207", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" }, "require-dev": { - "composer/composer": "^2", - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.x-dev" + "dev-master": "2.1-dev" } }, "autoload": { - "psr-4": { - "Composer\\MetadataMinifier\\": "src" - } + "classmap": [ + "hamcrest" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - } + "BSD-3-Clause" ], - "description": "Small utility library that handles metadata minification and expansion.", + "description": "This is the PHP port of Hamcrest Matchers", "keywords": [ - "composer", - "compression" + "test" ], "support": { - "issues": "https://github.com/composer/metadata-minifier/issues", - "source": "https://github.com/composer/metadata-minifier/tree/1.0.0" + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2021-04-07T13:37:33+00:00" + "time": "2020-07-09T08:09:16+00:00" }, { - "name": "composer/package-versions-deprecated", - "version": "1.11.99.5", + "name": "laravel/dusk", + "version": "v8.2.0", "source": { "type": "git", - "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" + "url": "https://github.com/laravel/dusk.git", + "reference": "773a12dfbd3f84174b0f26fbc2807a414a379a66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", - "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", + "url": "https://api.github.com/repos/laravel/dusk/zipball/773a12dfbd3f84174b0f26fbc2807a414a379a66", + "reference": "773a12dfbd3f84174b0f26fbc2807a414a379a66", "shasum": "" }, "require": { - "composer-plugin-api": "^1.1.0 || ^2.0", - "php": "^7 || ^8" - }, - "replace": { - "ocramius/package-versions": "1.11.99" + "ext-json": "*", + "ext-zip": "*", + "guzzlehttp/guzzle": "^7.5", + "illuminate/console": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "php": "^8.1", + "php-webdriver/webdriver": "^1.9.0", + "symfony/console": "^6.2|^7.0", + "symfony/finder": "^6.2|^7.0", + "symfony/process": "^6.2|^7.0", + "vlucas/phpdotenv": "^5.2" }, "require-dev": { - "composer/composer": "^1.9.3 || ^2.0@dev", - "ext-zip": "^1.13", - "phpunit/phpunit": "^6.5 || ^7" + "mockery/mockery": "^1.6", + "orchestra/testbench": "^8.19|^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.1|^11.0", + "psy/psysh": "^0.11.12|^0.12" + }, + "suggest": { + "ext-pcntl": "Used to gracefully terminate Dusk when tests are running." }, - "type": "composer-plugin", + "type": "library", "extra": { - "class": "PackageVersions\\Installer", - "branch-alias": { - "dev-master": "1.x-dev" + "laravel": { + "providers": [ + "Laravel\\Dusk\\DuskServiceProvider" + ] } }, "autoload": { "psr-4": { - "PackageVersions\\": "src/PackageVersions" + "Laravel\\Dusk\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -9880,66 +9795,61 @@ ], "authors": [ { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" } ], - "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", + "description": "Laravel Dusk provides simple end-to-end testing and browser automation.", + "keywords": [ + "laravel", + "testing", + "webdriver" + ], "support": { - "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" + "issues": "https://github.com/laravel/dusk/issues", + "source": "https://github.com/laravel/dusk/tree/v8.2.0" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2022-01-17T14:14:24+00:00" + "time": "2024-04-16T15:51:19+00:00" }, { - "name": "composer/pcre", - "version": "3.0.0", + "name": "laravel/pint", + "version": "v1.16.1", "source": { "type": "git", - "url": "https://github.com/composer/pcre.git", - "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd" + "url": "https://github.com/laravel/pint.git", + "reference": "9266a47f1b9231b83e0cfd849009547329d871b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/e300eb6c535192decd27a85bc72a9290f0d6b3bd", - "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd", + "url": "https://api.github.com/repos/laravel/pint/zipball/9266a47f1b9231b83e0cfd849009547329d871b1", + "reference": "9266a47f1b9231b83e0cfd849009547329d871b1", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0" + "ext-json": "*", + "ext-mbstring": "*", + "ext-tokenizer": "*", + "ext-xml": "*", + "php": "^8.1.0" }, "require-dev": { - "phpstan/phpstan": "^1.3", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.x-dev" - } + "friendsofphp/php-cs-fixer": "^3.59.3", + "illuminate/view": "^10.48.12", + "larastan/larastan": "^2.9.7", + "laravel-zero/framework": "^10.4.0", + "mockery/mockery": "^1.6.12", + "nunomaduro/termwind": "^1.15.1", + "pestphp/pest": "^2.34.8" }, + "bin": [ + "builds/pint" + ], + "type": "project", "autoload": { "psr-4": { - "Composer\\Pcre\\": "src" + "App\\": "app/", + "Database\\Seeders\\": "database/seeders/", + "Database\\Factories\\": "database/factories/" } }, "notification-url": "https://packagist.org/downloads/", @@ -9948,68 +9858,65 @@ ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" } ], - "description": "PCRE wrapping library that offers type-safe preg_* replacements.", + "description": "An opinionated code formatter for PHP.", + "homepage": "https://laravel.com", "keywords": [ - "PCRE", - "preg", - "regex", - "regular expression" + "format", + "formatter", + "lint", + "linter", + "php" ], "support": { - "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.0.0" + "issues": "https://github.com/laravel/pint/issues", + "source": "https://github.com/laravel/pint" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2022-02-25T20:21:48+00:00" + "time": "2024-06-18T16:50:05+00:00" }, { - "name": "composer/semver", - "version": "3.3.2", + "name": "laravel/sail", + "version": "v1.30.1", "source": { "type": "git", - "url": "https://github.com/composer/semver.git", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" + "url": "https://github.com/laravel/sail.git", + "reference": "8ba049b6c06e0330b6aa1fb7af2746fb4da445e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/laravel/sail/zipball/8ba049b6c06e0330b6aa1fb7af2746fb4da445e4", + "reference": "8ba049b6c06e0330b6aa1fb7af2746fb4da445e4", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "illuminate/console": "^9.52.16|^10.0|^11.0", + "illuminate/contracts": "^9.52.16|^10.0|^11.0", + "illuminate/support": "^9.52.16|^10.0|^11.0", + "php": "^8.0", + "symfony/console": "^6.0|^7.0", + "symfony/yaml": "^6.0|^7.0" }, "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10" }, + "bin": [ + "bin/sail" + ], "type": "library", "extra": { - "branch-alias": { - "dev-main": "3.x-dev" + "laravel": { + "providers": [ + "Laravel\\Sail\\SailServiceProvider" + ] } }, "autoload": { "psr-4": { - "Composer\\Semver\\": "src" + "Laravel\\Sail\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -10018,79 +9925,60 @@ ], "authors": [ { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - }, - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" } ], - "description": "Semver library that offers utilities, version constraint parsing and validation.", + "description": "Docker files for running a basic Laravel application.", "keywords": [ - "semantic", - "semver", - "validation", - "versioning" + "docker", + "laravel" ], "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.3.2" + "issues": "https://github.com/laravel/sail/issues", + "source": "https://github.com/laravel/sail" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2022-04-01T19:23:25+00:00" + "time": "2024-07-01T20:55:03+00:00" }, { - "name": "composer/spdx-licenses", - "version": "1.5.6", + "name": "maximebf/debugbar", + "version": "v1.22.3", "source": { "type": "git", - "url": "https://github.com/composer/spdx-licenses.git", - "reference": "a30d487169d799745ca7280bc90fdfa693536901" + "url": "https://github.com/maximebf/php-debugbar.git", + "reference": "7aa9a27a0b1158ed5ad4e7175e8d3aee9a818b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/a30d487169d799745ca7280bc90fdfa693536901", - "reference": "a30d487169d799745ca7280bc90fdfa693536901", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/7aa9a27a0b1158ed5ad4e7175e8d3aee9a818b96", + "reference": "7aa9a27a0b1158ed5ad4e7175e8d3aee9a818b96", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" + "php": "^7.2|^8", + "psr/log": "^1|^2|^3", + "symfony/var-dumper": "^4|^5|^6|^7" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" + "dbrekelmans/bdi": "^1", + "phpunit/phpunit": "^8|^9", + "symfony/panther": "^1|^2.1", + "twig/twig": "^1.38|^2.7|^3.0" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.x-dev" + "dev-master": "1.22-dev" } }, "autoload": { "psr-4": { - "Composer\\Spdx\\": "src" + "DebugBar\\": "src/DebugBar/" } }, "notification-url": "https://packagist.org/downloads/", @@ -10099,3952 +9987,293 @@ ], "authors": [ { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" }, { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" } ], - "description": "SPDX licenses list and validation library.", + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/maximebf/php-debugbar", "keywords": [ - "license", - "spdx", - "validator" + "debug", + "debugbar" ], "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/spdx-licenses/issues", - "source": "https://github.com/composer/spdx-licenses/tree/1.5.6" + "issues": "https://github.com/maximebf/php-debugbar/issues", + "source": "https://github.com/maximebf/php-debugbar/tree/v1.22.3" }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2021-11-18T10:14:14+00:00" + "time": "2024-04-03T19:39:26+00:00" }, { - "name": "composer/xdebug-handler", - "version": "3.0.3", + "name": "mockery/mockery", + "version": "1.6.12", "source": { "type": "git", - "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" + "url": "https://github.com/mockery/mockery.git", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", "shasum": "" }, "require": { - "composer/pcre": "^1 || ^2 || ^3", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1 || ^2 || ^3" + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" }, "require-dev": { - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" + "phpunit/phpunit": "^8.5 || ^9.6.17", + "symplify/easy-coding-standard": "^12.1.14" }, "type": "library", "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], "psr-4": { - "Composer\\XdebugHandler\\": "src" + "Mockery\\": "library/Mockery" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "John Stevenson", - "email": "john-stevenson@blueyonder.co.uk" - } - ], - "description": "Restarts a process without Xdebug.", - "keywords": [ - "Xdebug", - "performance" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" }, { - "url": "https://github.com/composer", - "type": "github" + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" }, { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" } ], - "time": "2022-02-25T21:32:43+00:00" + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2024-05-16T03:13:13+00:00" }, { - "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.2", + "name": "myclabs/deep-copy", + "version": "1.12.0", "source": { "type": "git", - "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" + "php": "^7.1 || ^8.0" }, - "require-dev": { - "composer/composer": "*", - "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3 <3.2.2" }, - "type": "composer-plugin", - "extra": { - "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + "require-dev": { + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, + "type": "library", "autoload": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], "psr-4": { - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + "DeepCopy\\": "src/DeepCopy/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Franck Nijhof", - "email": "franck.nijhof@dealerdirect.com", - "homepage": "http://www.frenck.nl", - "role": "Developer / IT Manager" - }, - { - "name": "Contributors", - "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer Standards Composer Installer Plugin", - "homepage": "http://www.dealerdirect.com", + "description": "Create deep copies (clones) of your objects", "keywords": [ - "PHPCodeSniffer", - "PHP_CodeSniffer", - "code quality", - "codesniffer", - "composer", - "installer", - "phpcbf", - "phpcs", - "plugin", - "qa", - "quality", - "standard", - "standards", - "style guide", - "stylecheck", - "tests" + "clone", + "copy", + "duplicate", + "object", + "object graph" ], "support": { - "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", - "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" }, - "time": "2022-02-04T12:51:07+00:00" + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2024-06-12T14:39:25+00:00" }, { - "name": "dnoegel/php-xdg-base-dir", - "version": "v0.1.1", + "name": "nunomaduro/collision", + "version": "v8.1.1", "source": { "type": "git", - "url": "https://github.com/dnoegel/php-xdg-base-dir.git", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" + "url": "https://github.com/nunomaduro/collision.git", + "reference": "13e5d538b95a744d85f447a321ce10adb28e9af9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/13e5d538b95a744d85f447a321ce10adb28e9af9", + "reference": "13e5d538b95a744d85f447a321ce10adb28e9af9", "shasum": "" }, "require": { - "php": ">=5.3.2" + "filp/whoops": "^2.15.4", + "nunomaduro/termwind": "^2.0.1", + "php": "^8.2.0", + "symfony/console": "^7.0.4" + }, + "conflict": { + "laravel/framework": "<11.0.0 || >=12.0.0", + "phpunit/phpunit": "<10.5.1 || >=12.0.0" }, "require-dev": { - "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" - }, - "type": "library", - "autoload": { - "psr-4": { - "XdgBaseDir\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "implementation of xdg base directory specification for php", - "support": { - "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", - "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" - }, - "time": "2019-12-04T15:06:13+00:00" - }, - { - "name": "doctrine/annotations", - "version": "1.13.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/annotations.git", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08", - "shasum": "" - }, - "require": { - "doctrine/lexer": "1.*", - "ext-tokenizer": "*", - "php": "^7.1 || ^8.0", - "psr/cache": "^1 || ^2 || ^3" - }, - "require-dev": { - "doctrine/cache": "^1.11 || ^2.0", - "doctrine/coding-standard": "^6.0 || ^8.1", - "phpstan/phpstan": "^0.12.20", - "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", - "symfony/cache": "^4.4 || ^5.2" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "Docblock Annotations Parser", - "homepage": "https://www.doctrine-project.org/projects/annotations.html", - "keywords": [ - "annotations", - "docblock", - "parser" - ], - "support": { - "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.2" - }, - "time": "2021-08-05T19:00:23+00:00" - }, - { - "name": "doctrine/instantiator", - "version": "1.4.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^9", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2022-03-03T08:28:38+00:00" - }, - { - "name": "facade/ignition-contracts", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/facade/ignition-contracts.git", - "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/facade/ignition-contracts/zipball/3c921a1cdba35b68a7f0ccffc6dffc1995b18267", - "reference": "3c921a1cdba35b68a7f0ccffc6dffc1995b18267", - "shasum": "" - }, - "require": { - "php": "^7.3|^8.0" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^v2.15.8", - "phpunit/phpunit": "^9.3.11", - "vimeo/psalm": "^3.17.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "Facade\\IgnitionContracts\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://flareapp.io", - "role": "Developer" - } - ], - "description": "Solution contracts for Ignition", - "homepage": "https://github.com/facade/ignition-contracts", - "keywords": [ - "contracts", - "flare", - "ignition" - ], - "support": { - "issues": "https://github.com/facade/ignition-contracts/issues", - "source": "https://github.com/facade/ignition-contracts/tree/1.0.2" - }, - "time": "2020-10-16T08:27:54+00:00" - }, - { - "name": "fakerphp/faker", - "version": "v1.19.0", - "source": { - "type": "git", - "url": "https://github.com/FakerPHP/Faker.git", - "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/d7f08a622b3346766325488aa32ddc93ccdecc75", - "reference": "d7f08a622b3346766325488aa32ddc93ccdecc75", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "psr/container": "^1.0 || ^2.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "conflict": { - "fzaninotto/faker": "*" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", - "doctrine/persistence": "^1.3 || ^2.0", - "ext-intl": "*", - "symfony/phpunit-bridge": "^4.4 || ^5.2" - }, - "suggest": { - "doctrine/orm": "Required to use Faker\\ORM\\Doctrine", - "ext-curl": "Required by Faker\\Provider\\Image to download images.", - "ext-dom": "Required by Faker\\Provider\\HtmlLorem for generating random HTML.", - "ext-iconv": "Required by Faker\\Provider\\ru_RU\\Text::realText() for generating real Russian text.", - "ext-mbstring": "Required for multibyte Unicode string functionality." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "v1.19-dev" - } - }, - "autoload": { - "psr-4": { - "Faker\\": "src/Faker/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "François Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ], - "support": { - "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.19.0" - }, - "time": "2022-02-02T17:38:57+00:00" - }, - { - "name": "felixfbecker/advanced-json-rpc", - "version": "v3.2.1", - "source": { - "type": "git", - "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", - "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", - "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", - "shasum": "" - }, - "require": { - "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "php": "^7.1 || ^8.0", - "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "AdvancedJsonRpc\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "ISC" - ], - "authors": [ - { - "name": "Felix Becker", - "email": "felix.b@outlook.com" - } - ], - "description": "A more advanced JSONRPC implementation", - "support": { - "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", - "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1" - }, - "time": "2021-06-11T22:34:44+00:00" - }, - { - "name": "felixfbecker/language-server-protocol", - "version": "v1.5.2", - "source": { - "type": "git", - "url": "https://github.com/felixfbecker/php-language-server-protocol.git", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "phpstan/phpstan": "*", - "squizlabs/php_codesniffer": "^3.1", - "vimeo/psalm": "^4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "LanguageServerProtocol\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "ISC" - ], - "authors": [ - { - "name": "Felix Becker", - "email": "felix.b@outlook.com" - } - ], - "description": "PHP classes for the Language Server Protocol", - "keywords": [ - "language", - "microsoft", - "php", - "server" - ], - "support": { - "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", - "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" - }, - "time": "2022-03-02T22:36:06+00:00" - }, - { - "name": "filp/whoops", - "version": "2.14.5", - "source": { - "type": "git", - "url": "https://github.com/filp/whoops.git", - "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/a63e5e8f26ebbebf8ed3c5c691637325512eb0dc", - "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc", - "shasum": "" - }, - "require": { - "php": "^5.5.9 || ^7.0 || ^8.0", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" - }, - "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" - }, - "suggest": { - "symfony/var-dumper": "Pretty print complex values better with var-dumper available", - "whoops/soap": "Formats errors as SOAP responses" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7-dev" - } - }, - "autoload": { - "psr-4": { - "Whoops\\": "src/Whoops/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Filipe Dobreira", - "homepage": "https://github.com/filp", - "role": "Developer" - } - ], - "description": "php error handling for cool kids", - "homepage": "https://filp.github.io/whoops/", - "keywords": [ - "error", - "exception", - "handling", - "library", - "throwable", - "whoops" - ], - "support": { - "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.14.5" - }, - "funding": [ - { - "url": "https://github.com/denis-sokolov", - "type": "github" - } - ], - "time": "2022-01-07T12:00:00+00:00" - }, - { - "name": "friendsofphp/php-cs-fixer", - "version": "v3.8.0", - "source": { - "type": "git", - "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3", - "reference": "cbad1115aac4b5c3c5540e7210d3c9fba2f81fa3", - "shasum": "" - }, - "require": { - "composer/semver": "^3.2", - "composer/xdebug-handler": "^3.0.3", - "doctrine/annotations": "^1.13", - "ext-json": "*", - "ext-tokenizer": "*", - "php": "^7.4 || ^8.0", - "php-cs-fixer/diff": "^2.0", - "symfony/console": "^5.4 || ^6.0", - "symfony/event-dispatcher": "^5.4 || ^6.0", - "symfony/filesystem": "^5.4 || ^6.0", - "symfony/finder": "^5.4 || ^6.0", - "symfony/options-resolver": "^5.4 || ^6.0", - "symfony/polyfill-mbstring": "^1.23", - "symfony/polyfill-php80": "^1.25", - "symfony/polyfill-php81": "^1.25", - "symfony/process": "^5.4 || ^6.0", - "symfony/stopwatch": "^5.4 || ^6.0" - }, - "require-dev": { - "justinrainbow/json-schema": "^5.2", - "keradus/cli-executor": "^1.5", - "mikey179/vfsstream": "^1.6.10", - "php-coveralls/php-coveralls": "^2.5.2", - "php-cs-fixer/accessible-object": "^1.1", - "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.2", - "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.2.1", - "phpspec/prophecy": "^1.15", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", - "phpunitgoodpractices/polyfill": "^1.5", - "phpunitgoodpractices/traits": "^1.9.1", - "symfony/phpunit-bridge": "^6.0", - "symfony/yaml": "^5.4 || ^6.0" - }, - "suggest": { - "ext-dom": "For handling output formats in XML", - "ext-mbstring": "For handling non-UTF8 characters." - }, - "bin": [ - "php-cs-fixer" - ], - "type": "application", - "autoload": { - "psr-4": { - "PhpCsFixer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Dariusz Rumiński", - "email": "dariusz.ruminski@gmail.com" - } - ], - "description": "A tool to automatically fix PHP code style", - "support": { - "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.8.0" - }, - "funding": [ - { - "url": "https://github.com/keradus", - "type": "github" - } - ], - "time": "2022-03-18T17:20:59+00:00" - }, - { - "name": "graham-campbell/testbench-core", - "version": "v3.4.0", - "source": { - "type": "git", - "url": "https://github.com/GrahamCampbell/Laravel-TestBench-Core.git", - "reference": "a55cfcb8fbbfa1c3828f3f450e1570b8125c2fd0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Laravel-TestBench-Core/zipball/a55cfcb8fbbfa1c3828f3f450e1570b8125c2fd0", - "reference": "a55cfcb8fbbfa1c3828f3f450e1570b8125c2fd0", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0" - }, - "require-dev": { - "graham-campbell/analyzer": "^2.4 || ^3.0", - "phpunit/phpunit": "^6.5 || ^7.5 || ^8.0 || ^9.0 || ^10.0" - }, - "suggest": { - "illuminate/support": "Required to use the laravel trait.", - "mockery/mockery": "Required to use the mockery trait.", - "phpunit/phpunit": "Required to use the most of the features." - }, - "type": "library", - "autoload": { - "psr-4": { - "GrahamCampbell\\TestBenchCore\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - } - ], - "description": "TestBench Core Provides Some Testing Functionality For Laravel", - "keywords": [ - "Graham Campbell", - "GrahamCampbell", - "Laravel TestBench Core", - "Laravel-TestBench-Core", - "TestBench", - "framework", - "laravel", - "testbench-core", - "testing" - ], - "support": { - "issues": "https://github.com/GrahamCampbell/Laravel-TestBench-Core/issues", - "source": "https://github.com/GrahamCampbell/Laravel-TestBench-Core/tree/v3.4.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/graham-campbell/testbench-core", - "type": "tidelift" - } - ], - "time": "2022-01-24T01:46:14+00:00" - }, - { - "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", - "source": { - "type": "git", - "url": "https://github.com/hamcrest/hamcrest-php.git", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "shasum": "" - }, - "require": { - "php": "^5.3|^7.0|^8.0" - }, - "replace": { - "cordoval/hamcrest-php": "*", - "davedevelopment/hamcrest-php": "*", - "kodova/hamcrest-php": "*" - }, - "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - } - }, - "autoload": { - "classmap": [ - "hamcrest" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "This is the PHP port of Hamcrest Matchers", - "keywords": [ - "test" - ], - "support": { - "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" - }, - "time": "2020-07-09T08:09:16+00:00" - }, - { - "name": "johnkary/phpunit-speedtrap", - "version": "v3.3.0", - "source": { - "type": "git", - "url": "https://github.com/johnkary/phpunit-speedtrap.git", - "reference": "9ba81d42676da31366c85d3ff8c10a8352d02030" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/9ba81d42676da31366c85d3ff8c10a8352d02030", - "reference": "9ba81d42676da31366c85d3ff8c10a8352d02030", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "psr-4": { - "JohnKary\\PHPUnit\\Listener\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Kary", - "email": "john@johnkary.net" - } - ], - "description": "Find and report on slow tests in your PHPUnit test suite", - "homepage": "https://github.com/johnkary/phpunit-speedtrap", - "keywords": [ - "phpunit", - "profile", - "slow" - ], - "support": { - "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", - "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v3.3.0" - }, - "time": "2020-12-18T16:20:16+00:00" - }, - { - "name": "justinrainbow/json-schema", - "version": "5.2.12", - "source": { - "type": "git", - "url": "https://github.com/justinrainbow/json-schema.git", - "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", - "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", - "json-schema/json-schema-test-suite": "1.2.0", - "phpunit/phpunit": "^4.8.35" - }, - "bin": [ - "bin/validate-json" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "JsonSchema\\": "src/JsonSchema/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bruno Prieto Reis", - "email": "bruno.p.reis@gmail.com" - }, - { - "name": "Justin Rainbow", - "email": "justin.rainbow@gmail.com" - }, - { - "name": "Igor Wiedler", - "email": "igor@wiedler.ch" - }, - { - "name": "Robert Schönthal", - "email": "seroscho@googlemail.com" - } - ], - "description": "A library to validate a json schema.", - "homepage": "https://github.com/justinrainbow/json-schema", - "keywords": [ - "json", - "schema" - ], - "support": { - "issues": "https://github.com/justinrainbow/json-schema/issues", - "source": "https://github.com/justinrainbow/json-schema/tree/5.2.12" - }, - "time": "2022-04-13T08:02:27+00:00" - }, - { - "name": "laravel/dusk", - "version": "v6.23.1", - "source": { - "type": "git", - "url": "https://github.com/laravel/dusk.git", - "reference": "41f6deb42ae42b9b7dae1c32c03cb35d365d3118" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/dusk/zipball/41f6deb42ae42b9b7dae1c32c03cb35d365d3118", - "reference": "41f6deb42ae42b9b7dae1c32c03cb35d365d3118", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-zip": "*", - "illuminate/console": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0", - "nesbot/carbon": "^2.0", - "php": "^7.2|^8.0", - "php-webdriver/webdriver": "^1.9.0", - "symfony/console": "^4.3|^5.0|^6.0", - "symfony/finder": "^4.3|^5.0|^6.0", - "symfony/process": "^4.3|^5.0|^6.0", - "vlucas/phpdotenv": "^3.0|^4.0|^5.2" - }, - "require-dev": { - "mockery/mockery": "^1.0", - "orchestra/testbench": "^4.16|^5.17.1|^6.12.1|^7.0", - "phpunit/phpunit": "^7.5.15|^8.4|^9.0" - }, - "suggest": { - "ext-pcntl": "Used to gracefully terminate Dusk when tests are running." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.x-dev" - }, - "laravel": { - "providers": [ - "Laravel\\Dusk\\DuskServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Laravel\\Dusk\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "Laravel Dusk provides simple end-to-end testing and browser automation.", - "keywords": [ - "laravel", - "testing", - "webdriver" - ], - "support": { - "issues": "https://github.com/laravel/dusk/issues", - "source": "https://github.com/laravel/dusk/tree/v6.23.1" - }, - "time": "2022-05-02T14:01:47+00:00" - }, - { - "name": "laravel/legacy-factories", - "version": "v1.3.0", - "source": { - "type": "git", - "url": "https://github.com/laravel/legacy-factories.git", - "reference": "5edc7e7eb76e7b4b29221f32139bcbf806c8870f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/legacy-factories/zipball/5edc7e7eb76e7b4b29221f32139bcbf806c8870f", - "reference": "5edc7e7eb76e7b4b29221f32139bcbf806c8870f", - "shasum": "" - }, - "require": { - "illuminate/macroable": "^8.0|^9.0", - "php": "^7.3|^8.0", - "symfony/finder": "^3.4|^4.0|^5.0|^6.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - }, - "laravel": { - "providers": [ - "Illuminate\\Database\\Eloquent\\LegacyFactoryServiceProvider" - ] - } - }, - "autoload": { - "files": [ - "helpers.php" - ], - "psr-4": { - "Illuminate\\Database\\Eloquent\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "The legacy version of the Laravel Eloquent factories.", - "homepage": "http://laravel.com", - "support": { - "issues": "https://github.com/laravel/framework/issues", - "source": "https://github.com/laravel/framework" - }, - "time": "2022-01-13T08:45:08+00:00" - }, - { - "name": "laravel/sail", - "version": "v1.14.1", - "source": { - "type": "git", - "url": "https://github.com/laravel/sail.git", - "reference": "9a7348dedfccc894718a21f71c09d669747e3f33" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/9a7348dedfccc894718a21f71c09d669747e3f33", - "reference": "9a7348dedfccc894718a21f71c09d669747e3f33", - "shasum": "" - }, - "require": { - "illuminate/console": "^8.0|^9.0", - "illuminate/contracts": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0", - "php": "^7.3|^8.0" - }, - "bin": [ - "bin/sail" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - }, - "laravel": { - "providers": [ - "Laravel\\Sail\\SailServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "Laravel\\Sail\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" - } - ], - "description": "Docker files for running a basic Laravel application.", - "keywords": [ - "docker", - "laravel" - ], - "support": { - "issues": "https://github.com/laravel/sail/issues", - "source": "https://github.com/laravel/sail" - }, - "time": "2022-05-02T13:58:40+00:00" - }, - { - "name": "league/container", - "version": "4.2.0", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/container.git", - "reference": "375d13cb828649599ef5d48a339c4af7a26cd0ab" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/container/zipball/375d13cb828649599ef5d48a339c4af7a26cd0ab", - "reference": "375d13cb828649599ef5d48a339c4af7a26cd0ab", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "psr/container": "^1.1 || ^2.0" - }, - "provide": { - "psr/container-implementation": "^1.0" - }, - "replace": { - "orno/di": "~2.0" - }, - "require-dev": { - "nette/php-generator": "^3.4", - "nikic/php-parser": "^4.10", - "phpstan/phpstan": "^0.12.47", - "phpunit/phpunit": "^8.5.17", - "roave/security-advisories": "dev-latest", - "scrutinizer/ocular": "^1.8", - "squizlabs/php_codesniffer": "^3.6" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.x-dev", - "dev-4.x": "4.x-dev", - "dev-3.x": "3.x-dev", - "dev-2.x": "2.x-dev", - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "League\\Container\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Phil Bennett", - "email": "mail@philbennett.co.uk", - "role": "Developer" - } - ], - "description": "A fast and intuitive dependency injection container.", - "homepage": "https://github.com/thephpleague/container", - "keywords": [ - "container", - "dependency", - "di", - "injection", - "league", - "provider", - "service" - ], - "support": { - "issues": "https://github.com/thephpleague/container/issues", - "source": "https://github.com/thephpleague/container/tree/4.2.0" - }, - "funding": [ - { - "url": "https://github.com/philipobenito", - "type": "github" - } - ], - "time": "2021-11-16T10:29:06+00:00" - }, - { - "name": "maximebf/debugbar", - "version": "v1.18.0", - "source": { - "type": "git", - "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "0d44b75f3b5d6d41ae83b79c7a4bceae7fbc78b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/0d44b75f3b5d6d41ae83b79c7a4bceae7fbc78b6", - "reference": "0d44b75f3b5d6d41ae83b79c7a4bceae7fbc78b6", - "shasum": "" - }, - "require": { - "php": "^7.1|^8", - "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^2.6|^3|^4|^5|^6" - }, - "require-dev": { - "phpunit/phpunit": "^7.5.20 || ^9.4.2", - "twig/twig": "^1.38|^2.7|^3.0" - }, - "suggest": { - "kriswallsmith/assetic": "The best way to manage assets", - "monolog/monolog": "Log using Monolog", - "predis/predis": "Redis storage" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.17-dev" - } - }, - "autoload": { - "psr-4": { - "DebugBar\\": "src/DebugBar/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Maxime Bouroumeau-Fuseau", - "email": "maxime.bouroumeau@gmail.com", - "homepage": "http://maximebf.com" - }, - { - "name": "Barry vd. Heuvel", - "email": "barryvdh@gmail.com" - } - ], - "description": "Debug bar in the browser for php application", - "homepage": "https://github.com/maximebf/php-debugbar", - "keywords": [ - "debug", - "debugbar" - ], - "support": { - "issues": "https://github.com/maximebf/php-debugbar/issues", - "source": "https://github.com/maximebf/php-debugbar/tree/v1.18.0" - }, - "time": "2021-12-27T18:49:48+00:00" - }, - { - "name": "mockery/mockery", - "version": "1.5.0", - "source": { - "type": "git", - "url": "https://github.com/mockery/mockery.git", - "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", - "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", - "shasum": "" - }, - "require": { - "hamcrest/hamcrest-php": "^2.0.1", - "lib-pcre": ">=7.0", - "php": "^7.3 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<8.0" - }, - "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "psr-0": { - "Mockery": "library/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Pádraic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - }, - { - "name": "Dave Marshall", - "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" - } - ], - "description": "Mockery is a simple yet flexible PHP mock object framework", - "homepage": "https://github.com/mockery/mockery", - "keywords": [ - "BDD", - "TDD", - "library", - "mock", - "mock objects", - "mockery", - "stub", - "test", - "test double", - "testing" - ], - "support": { - "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.5.0" - }, - "time": "2022-01-20T13:18:17+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" - }, - "require-dev": { - "doctrine/collections": "^1.6.8", - "doctrine/common": "^2.13.3 || ^3.2.2", - "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" - }, - "type": "library", - "autoload": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" - ], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], - "time": "2022-03-03T13:19:32+00:00" - }, - { - "name": "netresearch/jsonmapper", - "version": "v4.0.0", - "source": { - "type": "git", - "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", - "reference": "8bbc021a8edb2e4a7ea2f8ad4fa9ec9dce2fcb8d", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=7.1" - }, - "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", - "squizlabs/php_codesniffer": "~3.5" - }, - "type": "library", - "autoload": { - "psr-0": { - "JsonMapper": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "OSL-3.0" - ], - "authors": [ - { - "name": "Christian Weiske", - "email": "cweiske@cweiske.de", - "homepage": "http://github.com/cweiske/jsonmapper/", - "role": "Developer" - } - ], - "description": "Map nested JSON structures onto PHP classes", - "support": { - "email": "cweiske@cweiske.de", - "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.0.0" - }, - "time": "2020-12-01T19:48:11+00:00" - }, - { - "name": "nunomaduro/collision", - "version": "v6.2.0", - "source": { - "type": "git", - "url": "https://github.com/nunomaduro/collision.git", - "reference": "c379636dc50e829edb3a8bcb944a01aa1aed8f25" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/c379636dc50e829edb3a8bcb944a01aa1aed8f25", - "reference": "c379636dc50e829edb3a8bcb944a01aa1aed8f25", - "shasum": "" - }, - "require": { - "facade/ignition-contracts": "^1.0.2", - "filp/whoops": "^2.14.5", - "php": "^8.0.0", - "symfony/console": "^6.0.2" - }, - "require-dev": { - "brianium/paratest": "^6.4.1", - "laravel/framework": "^9.7", - "nunomaduro/larastan": "^1.0.2", - "nunomaduro/mock-final-classes": "^1.1.0", - "orchestra/testbench": "^7.3.0", - "phpunit/phpunit": "^9.5.11" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-develop": "6.x-dev" - }, - "laravel": { - "providers": [ - "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "NunoMaduro\\Collision\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nuno Maduro", - "email": "enunomaduro@gmail.com" - } - ], - "description": "Cli error handling for console/command-line PHP applications.", - "keywords": [ - "artisan", - "cli", - "command-line", - "console", - "error", - "handling", - "laravel", - "laravel-zero", - "php", - "symfony" - ], - "support": { - "issues": "https://github.com/nunomaduro/collision/issues", - "source": "https://github.com/nunomaduro/collision" - }, - "funding": [ - { - "url": "https://www.paypal.com/paypalme/enunomaduro", - "type": "custom" - }, - { - "url": "https://github.com/nunomaduro", - "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" - } - ], - "time": "2022-04-05T15:31:38+00:00" - }, - { - "name": "nunomaduro/larastan", - "version": "v0.7.15", - "source": { - "type": "git", - "url": "https://github.com/nunomaduro/larastan.git", - "reference": "fffd371277aeca7951a841818d21f1015a0a2662" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/larastan/zipball/fffd371277aeca7951a841818d21f1015a0a2662", - "reference": "fffd371277aeca7951a841818d21f1015a0a2662", - "shasum": "" - }, - "require": { - "composer/composer": "^1.0 || ^2.0", - "ext-json": "*", - "illuminate/console": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/container": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/contracts": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/database": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/http": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/pipeline": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "mockery/mockery": "^0.9 || ^1.0", - "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^0.12.90", - "symfony/process": "^4.3 || ^5.0 || ^6.0" - }, - "require-dev": { - "nikic/php-parser": "4.12.0", - "orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0", - "phpunit/phpunit": "^7.3 || ^8.2 || ^9.3" - }, - "suggest": { - "orchestra/testbench": "Using Larastan for analysing a package needs Testbench" - }, - "type": "phpstan-extension", - "extra": { - "branch-alias": { - "dev-master": "0.7-dev" - }, - "phpstan": { - "includes": [ - "extension.neon" - ] - } - }, - "autoload": { - "psr-4": { - "NunoMaduro\\Larastan\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nuno Maduro", - "email": "enunomaduro@gmail.com" - } - ], - "description": "Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel", - "keywords": [ - "PHPStan", - "code analyse", - "code analysis", - "larastan", - "laravel", - "package", - "php", - "static analysis" - ], - "support": { - "issues": "https://github.com/nunomaduro/larastan/issues", - "source": "https://github.com/nunomaduro/larastan/tree/v0.7.15" - }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", - "type": "custom" - }, - { - "url": "https://github.com/canvural", - "type": "github" - }, - { - "url": "https://github.com/nunomaduro", - "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" - } - ], - "time": "2021-10-26T11:07:56+00:00" - }, - { - "name": "nunomaduro/phpinsights", - "version": "v2.3.0", - "source": { - "type": "git", - "url": "https://github.com/nunomaduro/phpinsights.git", - "reference": "30f4c8a52b8274872f13e895cdbd1e07cbcc035a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/phpinsights/zipball/30f4c8a52b8274872f13e895cdbd1e07cbcc035a", - "reference": "30f4c8a52b8274872f13e895cdbd1e07cbcc035a", - "shasum": "" - }, - "require": { - "composer/semver": "^3.3", - "ext-iconv": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-tokenizer": "*", - "friendsofphp/php-cs-fixer": "^3.0.0", - "justinrainbow/json-schema": "^5.1", - "league/container": "^3.2|^4.2", - "php": "^7.4 || ^8.0", - "php-parallel-lint/php-parallel-lint": "^1.3", - "phploc/phploc": "^5.0|^6.0|^7.0", - "psr/container": "^1.0|^2.0", - "psr/simple-cache": "^1.0", - "slevomat/coding-standard": "^7.0.8", - "squizlabs/php_codesniffer": "^3.5", - "symfony/cache": "^4.4|^5.0|^6.0", - "symfony/console": "^4.2|^5.0|^6.0", - "symfony/finder": "^4.2|^5.0|^6.0", - "symfony/http-client": "^4.3|^5.0|^6.0" - }, - "require-dev": { - "ergebnis/phpstan-rules": "^0.15.0", - "illuminate/console": "^5.8|^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^5.8|^6.0|^7.0|^8.0|^9.0", - "mockery/mockery": "^1.0", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^8.0|^9.0", - "rector/rector": "0.11.56", - "symfony/var-dumper": "^4.2|^5.0|^6.0", - "thecodingmachine/phpstan-strict-rules": "^0.12.0" - }, - "suggest": { - "ext-simplexml": "It is needed for the checkstyle formatter" - }, - "bin": [ - "bin/phpinsights" - ], - "type": "library", - "extra": { - "laravel": { - "providers": [ - "NunoMaduro\\PhpInsights\\Application\\Adapters\\Laravel\\InsightsServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "NunoMaduro\\PhpInsights\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nuno Maduro", - "email": "enunomaduro@gmail.com" - } - ], - "description": "Instant PHP quality checks from your console.", - "keywords": [ - "Insights", - "code", - "console", - "php", - "quality", - "source" - ], - "support": { - "issues": "https://github.com/nunomaduro/phpinsights/issues", - "source": "https://github.com/nunomaduro/phpinsights/tree/v2.3.0" - }, - "funding": [ - { - "url": "https://www.paypal.com/paypalme/enunomaduro", - "type": "custom" - }, - { - "url": "https://github.com/nunomaduro", - "type": "github" - }, - { - "url": "https://github.com/olivernybroe", - "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" - } - ], - "time": "2022-05-03T07:12:24+00:00" - }, - { - "name": "openlss/lib-array2xml", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/nullivex/lib-array2xml.git", - "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nullivex/lib-array2xml/zipball/a91f18a8dfc69ffabe5f9b068bc39bb202c81d90", - "reference": "a91f18a8dfc69ffabe5f9b068bc39bb202c81d90", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "type": "library", - "autoload": { - "psr-0": { - "LSS": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Bryan Tong", - "email": "bryan@nullivex.com", - "homepage": "https://www.nullivex.com" - }, - { - "name": "Tony Butler", - "email": "spudz76@gmail.com", - "homepage": "https://www.nullivex.com" - } - ], - "description": "Array2XML conversion library credit to lalit.org", - "homepage": "https://www.nullivex.com", - "keywords": [ - "array", - "array conversion", - "xml", - "xml conversion" - ], - "support": { - "issues": "https://github.com/nullivex/lib-array2xml/issues", - "source": "https://github.com/nullivex/lib-array2xml/tree/master" - }, - "time": "2019-03-29T20:06:56+00:00" - }, - { - "name": "phar-io/manifest", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" - }, - { - "name": "phar-io/version", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "description": "Library for handling version information and constraints", - "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" - }, - { - "name": "php-cs-fixer/diff", - "version": "v2.0.2", - "source": { - "type": "git", - "url": "https://github.com/PHP-CS-Fixer/diff.git", - "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/diff/zipball/29dc0d507e838c4580d018bd8b5cb412474f7ec3", - "reference": "29dc0d507e838c4580d018bd8b5cb412474f7ec3", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0", - "symfony/process": "^3.3" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "sebastian/diff v3 backport support for PHP 5.6+", - "homepage": "https://github.com/PHP-CS-Fixer", - "keywords": [ - "diff" - ], - "support": { - "issues": "https://github.com/PHP-CS-Fixer/diff/issues", - "source": "https://github.com/PHP-CS-Fixer/diff/tree/v2.0.2" - }, - "time": "2020-10-14T08:32:19+00:00" - }, - { - "name": "php-parallel-lint/php-parallel-lint", - "version": "v1.3.2", - "source": { - "type": "git", - "url": "https://github.com/php-parallel-lint/PHP-Parallel-Lint.git", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-parallel-lint/PHP-Parallel-Lint/zipball/6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "reference": "6483c9832e71973ed29cf71bd6b3f4fde438a9de", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": ">=5.3.0" - }, - "replace": { - "grogy/php-parallel-lint": "*", - "jakub-onderka/php-parallel-lint": "*" - }, - "require-dev": { - "nette/tester": "^1.3 || ^2.0", - "php-parallel-lint/php-console-highlighter": "0.* || ^1.0", - "squizlabs/php_codesniffer": "^3.6" - }, - "suggest": { - "php-parallel-lint/php-console-highlighter": "Highlight syntax in code snippet" - }, - "bin": [ - "parallel-lint" - ], - "type": "library", - "autoload": { - "classmap": [ - "./src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-2-Clause" - ], - "authors": [ - { - "name": "Jakub Onderka", - "email": "ahoj@jakubonderka.cz" - } - ], - "description": "This tool check syntax of PHP files about 20x faster than serial check.", - "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", - "support": { - "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues", - "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2" - }, - "time": "2022-02-21T12:50:22+00:00" - }, - { - "name": "php-webdriver/webdriver", - "version": "1.12.1", - "source": { - "type": "git", - "url": "https://github.com/php-webdriver/php-webdriver.git", - "reference": "b27ddf458d273c7d4602106fcaf978aa0b7fe15a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/b27ddf458d273c7d4602106fcaf978aa0b7fe15a", - "reference": "b27ddf458d273c7d4602106fcaf978aa0b7fe15a", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "ext-json": "*", - "ext-zip": "*", - "php": "^5.6 || ~7.0 || ^8.0", - "symfony/polyfill-mbstring": "^1.12", - "symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0 || ^6.0" - }, - "replace": { - "facebook/webdriver": "*" - }, - "require-dev": { - "ondram/ci-detector": "^2.1 || ^3.5 || ^4.0", - "php-coveralls/php-coveralls": "^2.4", - "php-mock/php-mock-phpunit": "^1.1 || ^2.0", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpunit/phpunit": "^5.7 || ^7 || ^8 || ^9", - "squizlabs/php_codesniffer": "^3.5", - "symfony/var-dumper": "^3.3 || ^4.0 || ^5.0 || ^6.0" - }, - "suggest": { - "ext-SimpleXML": "For Firefox profile creation" - }, - "type": "library", - "autoload": { - "files": [ - "lib/Exception/TimeoutException.php" - ], - "psr-4": { - "Facebook\\WebDriver\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A PHP client for Selenium WebDriver. Previously facebook/webdriver.", - "homepage": "https://github.com/php-webdriver/php-webdriver", - "keywords": [ - "Chromedriver", - "geckodriver", - "php", - "selenium", - "webdriver" - ], - "support": { - "issues": "https://github.com/php-webdriver/php-webdriver/issues", - "source": "https://github.com/php-webdriver/php-webdriver/tree/1.12.1" - }, - "time": "2022-05-03T12:16:34+00:00" - }, - { - "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" - ], - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" - }, - "time": "2020-06-27T09:03:43+00:00" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "5.3.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", - "shasum": "" - }, - "require": { - "ext-filter": "*", - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", - "webmozart/assert": "^1.9.1" - }, - "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - }, - { - "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" - } - ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" - }, - "time": "2021-10-19T17:43:47+00:00" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "1.6.1", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "77a32518733312af16a44300404e945338981de3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", - "reference": "77a32518733312af16a44300404e945338981de3", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.0" - }, - "require-dev": { - "ext-tokenizer": "*", - "psalm/phar": "^4.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", - "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" - }, - "time": "2022-03-15T21:29:03+00:00" - }, - { - "name": "phploc/phploc", - "version": "7.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phploc.git", - "reference": "af0d5fc84f3f7725513ba59cdcbe670ac2a4532a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phploc/zipball/af0d5fc84f3f7725513ba59cdcbe670ac2a4532a", - "reference": "af0d5fc84f3f7725513ba59cdcbe670ac2a4532a", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-json": "*", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0", - "sebastian/cli-parser": "^1.0", - "sebastian/version": "^3.0" - }, - "bin": [ - "phploc" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "7.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "A tool for quickly measuring the size of a PHP project.", - "homepage": "https://github.com/sebastianbergmann/phploc", - "support": { - "issues": "https://github.com/sebastianbergmann/phploc/issues", - "source": "https://github.com/sebastianbergmann/phploc/tree/7.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-12-07T05:51:20+00:00" - }, - { - "name": "phpspec/prophecy", - "version": "v1.15.0", - "source": { - "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", - "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.2", - "phpdocumentor/reflection-docblock": "^5.2", - "sebastian/comparator": "^3.0 || ^4.0", - "sebastian/recursion-context": "^3.0 || ^4.0" - }, - "require-dev": { - "phpspec/phpspec": "^6.0 || ^7.0", - "phpunit/phpunit": "^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Prophecy\\": "src/Prophecy" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" - }, - { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" - } - ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" - }, - "time": "2021-12-08T12:19:24+00:00" - }, - { - "name": "phpstan/phpdoc-parser", - "version": "1.5.1", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "981cc368a216c988e862a75e526b6076987d1b50" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/981cc368a216c988e862a75e526b6076987d1b50", - "reference": "981cc368a216c988e862a75e526b6076987d1b50", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.5", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5", - "symfony/process": "^5.2" - }, - "type": "library", - "autoload": { - "psr-4": { - "PHPStan\\PhpDocParser\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPDoc parser with support for nullable, intersection and generic types", - "support": { - "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.5.1" - }, - "time": "2022-05-05T11:32:40+00:00" - }, - { - "name": "phpstan/phpstan", - "version": "0.12.99", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b4d40f1d759942f523be267a1bab6884f46ca3f7", - "reference": "b4d40f1d759942f523be267a1bab6884f46ca3f7", - "shasum": "" - }, - "require": { - "php": "^7.1|^8.0" - }, - "conflict": { - "phpstan/phpstan-shim": "*" - }, - "bin": [ - "phpstan", - "phpstan.phar" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPStan - PHP Static Analysis Tool", - "support": { - "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.99" - }, - "funding": [ - { - "url": "https://github.com/ondrejmirtes", - "type": "github" - }, - { - "url": "https://github.com/phpstan", - "type": "github" - }, - { - "url": "https://www.patreon.com/phpstan", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" - } - ], - "time": "2021-09-12T20:09:55+00:00" - }, - { - "name": "phpstan/phpstan-deprecation-rules", - "version": "0.12.6", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan-deprecation-rules.git", - "reference": "46dbd43c2db973d2876d6653e53f5c2cc3a01fbb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/46dbd43c2db973d2876d6653e53f5c2cc3a01fbb", - "reference": "46dbd43c2db973d2876d6653e53f5c2cc3a01fbb", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.60" - }, - "require-dev": { - "phing/phing": "^2.16.3", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.5.20" - }, - "type": "phpstan-extension", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, - "phpstan": { - "includes": [ - "rules.neon" - ] - } - }, - "autoload": { - "psr-4": { - "PHPStan\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.", - "support": { - "issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues", - "source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/0.12.6" - }, - "time": "2020-12-13T10:20:54+00:00" - }, - { - "name": "phpstan/phpstan-phpunit", - "version": "0.12.22", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc", - "reference": "7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.92" - }, - "conflict": { - "phpunit/phpunit": "<7.0" - }, - "require-dev": { - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-strict-rules": "^0.12.6", - "phpunit/phpunit": "^9.5" - }, - "type": "phpstan-extension", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, - "phpstan": { - "includes": [ - "extension.neon", - "rules.neon" - ] - } - }, - "autoload": { - "psr-4": { - "PHPStan\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPUnit extensions and rules for PHPStan", - "support": { - "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.22" - }, - "time": "2021-08-12T10:53:43+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "9.2.15", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", - "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "nikic/php-parser": "^4.13.0", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-03-07T09:28:20+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" - }, - { - "name": "phpunit/php-invoker", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcntl": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:58:55+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "2.0.4", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T05:33:50+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "5.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:16:10+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "9.5.20", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba", - "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.3.1", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2.13", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.5", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.3", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.0", - "sebastian/version": "^3.0.2" - }, - "require-dev": { - "ext-pdo": "*", - "phpspec/prophecy-phpunit": "^2.0.1" - }, - "suggest": { - "ext-soap": "*", - "ext-xdebug": "*" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.5-dev" - } - }, - "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20" - }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-04-01T12:37:26+00:00" - }, - { - "name": "react/promise", - "version": "v2.9.0", - "source": { - "type": "git", - "url": "https://github.com/reactphp/promise.git", - "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910", - "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910", - "shasum": "" - }, - "require": { - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.36" - }, - "type": "library", - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "React\\Promise\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jan Sorgalla", - "email": "jsorgalla@gmail.com", - "homepage": "https://sorgalla.com/" - }, - { - "name": "Christian Lück", - "email": "christian@clue.engineering", - "homepage": "https://clue.engineering/" - }, - { - "name": "Cees-Jan Kiewiet", - "email": "reactphp@ceesjankiewiet.nl", - "homepage": "https://wyrihaximus.net/" - }, - { - "name": "Chris Boden", - "email": "cboden@gmail.com", - "homepage": "https://cboden.dev/" - } - ], - "description": "A lightweight implementation of CommonJS Promises/A for PHP", - "keywords": [ - "promise", - "promises" - ], - "support": { - "issues": "https://github.com/reactphp/promise/issues", - "source": "https://github.com/reactphp/promise/tree/v2.9.0" - }, - "funding": [ - { - "url": "https://github.com/WyriHaximus", - "type": "github" - }, - { - "url": "https://github.com/clue", - "type": "github" - } - ], - "time": "2022-02-11T10:27:51+00:00" - }, - { - "name": "roave/security-advisories", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "2658dd564ed1a63989404083d7ccb9cb10e07701" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/2658dd564ed1a63989404083d7ccb9cb10e07701", - "reference": "2658dd564ed1a63989404083d7ccb9cb10e07701", - "shasum": "" - }, - "conflict": { - "3f/pygmentize": "<1.2", - "admidio/admidio": "<4.1.9", - "adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3", - "akaunting/akaunting": "<2.1.13", - "alextselegidis/easyappointments": "<1.4.3", - "alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1", - "amazing/media2click": ">=1,<1.3.3", - "amphp/artax": "<1.0.6|>=2,<2.0.6", - "amphp/http": "<1.0.1", - "amphp/http-client": ">=4,<4.4", - "anchorcms/anchor-cms": "<=0.12.7", - "andreapollastri/cipi": "<=3.1.15", - "api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6", - "appwrite/server-ce": "<0.11.1|>=0.12,<0.12.2", - "area17/twill": "<1.2.5|>=2,<2.5.3", - "asymmetricrypt/asymmetricrypt": ">=0,<9.9.99", - "aws/aws-sdk-php": ">=3,<3.2.1", - "bagisto/bagisto": "<0.1.5", - "barrelstrength/sprout-base-email": "<1.2.7", - "barrelstrength/sprout-forms": "<3.9", - "barryvdh/laravel-translation-manager": "<0.6.2", - "baserproject/basercms": "<4.5.4", - "billz/raspap-webgui": "<=2.6.6", - "bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3", - "bmarshall511/wordpress_zero_spam": "<5.2.13", - "bolt/bolt": "<3.7.2", - "bolt/core": "<=4.2", - "bottelet/flarepoint": "<2.2.1", - "brightlocal/phpwhois": "<=4.2.5", - "buddypress/buddypress": "<7.2.1", - "bugsnag/bugsnag-laravel": ">=2,<2.0.2", - "bytefury/crater": "<6.0.2", - "cachethq/cachet": "<2.5.1", - "cakephp/cakephp": "<4.0.6", - "cardgate/magento2": "<2.0.33", - "cart2quote/module-quotation": ">=4.1.6,<=4.4.5|>=5,<5.4.4", - "cartalyst/sentry": "<=2.1.6", - "catfan/medoo": "<1.7.5", - "centreon/centreon": "<20.10.7", - "cesnet/simplesamlphp-module-proxystatistics": "<3.1", - "codeception/codeception": "<3.1.3|>=4,<4.1.22", - "codeigniter/framework": "<=3.0.6", - "codeigniter4/framework": "<4.1.9", - "codiad/codiad": "<=2.8.4", - "composer/composer": "<1.10.26|>=2-alpha.1,<2.2.12|>=2.3,<2.3.5", - "concrete5/concrete5": "<9", - "concrete5/core": "<8.5.7", - "contao-components/mediaelement": ">=2.14.2,<2.21.1", - "contao/core": ">=2,<3.5.39", - "contao/core-bundle": "<4.9.18|>=4.10,<4.11.7|= 4.10.0", - "contao/listing-bundle": ">=4,<4.4.8", - "contao/managed-edition": "<=1.5", - "craftcms/cms": "<3.7.29", - "croogo/croogo": "<3.0.7", - "cuyz/valinor": ">=0.5,<0.7", - "czproject/git-php": "<4.0.3", - "darylldoyle/safe-svg": "<1.9.10", - "datadog/dd-trace": ">=0.30,<0.30.2", - "david-garcia/phpwhois": "<=4.3.1", - "derhansen/sf_event_mgt": "<4.3.1|>=5,<5.1.1", - "directmailteam/direct-mail": "<5.2.4", - "doctrine/annotations": ">=1,<1.2.7", - "doctrine/cache": ">=1,<1.3.2|>=1.4,<1.4.2", - "doctrine/common": ">=2,<2.4.3|>=2.5,<2.5.1", - "doctrine/dbal": ">=2,<2.0.8|>=2.1,<2.1.2|>=3,<3.1.4", - "doctrine/doctrine-bundle": "<1.5.2", - "doctrine/doctrine-module": "<=0.7.1", - "doctrine/mongodb-odm": ">=1,<1.0.2", - "doctrine/mongodb-odm-bundle": ">=2,<3.0.1", - "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4", - "dolibarr/dolibarr": "<16|>= 3.3.beta1, < 13.0.2", - "dompdf/dompdf": "<1.2.1", - "drupal/core": ">=7,<7.88|>=8,<9.2.13|>=9.3,<9.3.6", - "drupal/drupal": ">=7,<7.80|>=8,<8.9.16|>=9,<9.1.12|>=9.2,<9.2.4", - "dweeves/magmi": "<=0.7.24", - "ecodev/newsletter": "<=4", - "ectouch/ectouch": "<=2.7.2", - "elgg/elgg": "<3.3.24|>=4,<4.0.5", - "endroid/qr-code-bundle": "<3.4.2", - "enshrined/svg-sanitize": "<0.15", - "erusev/parsedown": "<1.7.2", - "ether/logs": "<3.0.4", - "ezsystems/demobundle": ">=5.4,<5.4.6.1", - "ezsystems/ez-support-tools": ">=2.2,<2.2.3", - "ezsystems/ezdemo-ls-extension": ">=5.4,<5.4.2.1", - "ezsystems/ezfind-ls": ">=5.3,<5.3.6.1|>=5.4,<5.4.11.1|>=2017.12,<2017.12.0.1", - "ezsystems/ezplatform": "<=1.13.6|>=2,<=2.5.24", - "ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.27", - "ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1", - "ezsystems/ezplatform-kernel": "<=1.2.5|>=1.3,<1.3.17", - "ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8", - "ezsystems/ezplatform-richtext": ">=2.3,<=2.3.7", - "ezsystems/ezplatform-user": ">=1,<1.0.1", - "ezsystems/ezpublish-kernel": "<=6.13.8.1|>=7,<7.5.28", - "ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.6,<=2019.3.5.1", - "ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3", - "ezsystems/repository-forms": ">=2.3,<2.3.2.1", - "ezyang/htmlpurifier": "<4.1.1", - "facade/ignition": "<1.16.15|>=2,<2.4.2|>=2.5,<2.5.2", - "facturascripts/facturascripts": "<2022.6", - "feehi/cms": "<=2.1.1", - "feehi/feehicms": "<=0.1.3", - "fenom/fenom": "<=2.12.1", - "firebase/php-jwt": "<2", - "flarum/core": ">=1,<=1.0.1", - "flarum/sticky": ">=0.1-beta.14,<=0.1-beta.15", - "flarum/tags": "<=0.1-beta.13", - "fluidtypo3/vhs": "<5.1.1", - "fooman/tcpdf": "<6.2.22", - "forkcms/forkcms": "<5.11.1", - "fossar/tcpdf-parser": "<6.2.22", - "francoisjacquet/rosariosis": "<8.1.1", - "friendsofsymfony/oauth2-php": "<1.3", - "friendsofsymfony/rest-bundle": ">=1.2,<1.2.2", - "friendsofsymfony/user-bundle": ">=1.2,<1.3.5", - "friendsoftypo3/mediace": ">=7.6.2,<7.6.5", - "froala/wysiwyg-editor": "<3.2.7", - "froxlor/froxlor": "<=0.10.22", - "fuel/core": "<1.8.1", - "gaoming13/wechat-php-sdk": "<=1.10.2", - "genix/cms": "<=1.1.11", - "getgrav/grav": "<1.7.31", - "getkirby/cms": "<3.5.8", - "getkirby/panel": "<2.5.14", - "gilacms/gila": "<=1.11.4", - "globalpayments/php-sdk": "<2", - "google/protobuf": "<3.15", - "gos/web-socket-bundle": "<1.10.4|>=2,<2.6.1|>=3,<3.3", - "gree/jose": "<=2.2", - "gregwar/rst": "<1.0.3", - "grumpydictator/firefly-iii": "<5.6.5", - "guzzlehttp/guzzle": ">=4-rc.2,<4.2.4|>=5,<5.3.1|>=6,<6.2.1", - "guzzlehttp/psr7": "<1.8.4|>=2,<2.1.1", - "helloxz/imgurl": "<=2.31", - "hillelcoren/invoice-ninja": "<5.3.35", - "hjue/justwriting": "<=1", - "hov/jobfair": "<1.0.13|>=2,<2.0.2", - "hyn/multi-tenant": ">=5.6,<5.7.2", - "ibexa/core": ">=4,<4.0.5|>=4.1,<4.1.2", - "ibexa/post-install": "<=1.0.4", - "icecoder/icecoder": "<=8.1", - "illuminate/auth": ">=4,<4.0.99|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.10", - "illuminate/cookie": ">=4,<=4.0.11|>=4.1,<=4.1.99999|>=4.2,<=4.2.99999|>=5,<=5.0.99999|>=5.1,<=5.1.99999|>=5.2,<=5.2.99999|>=5.3,<=5.3.99999|>=5.4,<=5.4.99999|>=5.5,<=5.5.49|>=5.6,<=5.6.99999|>=5.7,<=5.7.99999|>=5.8,<=5.8.99999|>=6,<6.18.31|>=7,<7.22.4", - "illuminate/database": "<6.20.26|>=7,<7.30.5|>=8,<8.40", - "illuminate/encryption": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.40|>=5.6,<5.6.15", - "illuminate/view": "<6.20.42|>=7,<7.30.6|>=8,<8.75", - "impresscms/impresscms": "<=1.4.3", - "in2code/femanager": "<5.5.1|>=6,<6.3.1", - "intelliants/subrion": "<=4.2.1", - "ivankristianto/phpwhois": "<=4.3", - "jackalope/jackalope-doctrine-dbal": "<1.7.4", - "james-heinrich/getid3": "<1.9.21", - "joomla/archive": "<1.1.12|>=2,<2.0.1", - "joomla/filesystem": "<1.6.2|>=2,<2.0.1", - "joomla/filter": "<1.4.4|>=2,<2.0.1", - "joomla/input": ">=2,<2.0.2", - "joomla/session": "<1.3.1", - "jsdecena/laracom": "<2.0.9", - "jsmitty12/phpwhois": "<5.1", - "kazist/phpwhois": "<=4.2.6", - "kevinpapst/kimai2": "<1.16.7", - "kitodo/presentation": "<3.1.2", - "klaviyo/magento2-extension": ">=1,<3", - "kreait/firebase-php": ">=3.2,<3.8.1", - "la-haute-societe/tcpdf": "<6.2.22", - "laminas/laminas-form": "<2.17.1|>=3,<3.0.2|>=3.1,<3.1.1", - "laminas/laminas-http": "<2.14.2", - "laravel/fortify": "<1.11.1", - "laravel/framework": "<6.20.42|>=7,<7.30.6|>=8,<8.75", - "laravel/laravel": "<=5.8.38", - "laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10", - "latte/latte": "<2.10.8", - "lavalite/cms": "<=5.8", - "lcobucci/jwt": ">=3.4,<3.4.6|>=4,<4.0.4|>=4.1,<4.1.5", - "league/commonmark": "<0.18.3", - "league/flysystem": "<1.1.4|>=2,<2.1.1", - "lexik/jwt-authentication-bundle": "<2.10.7|>=2.11,<2.11.3", - "librenms/librenms": "<22.2.2", - "limesurvey/limesurvey": "<3.27.19", - "livehelperchat/livehelperchat": "<=3.91", - "livewire/livewire": ">2.2.4,<2.2.6", - "lms/routes": "<2.1.1", - "localizationteam/l10nmgr": "<7.4|>=8,<8.7|>=9,<9.2", - "luyadev/yii-helpers": "<1.2.1", - "magento/community-edition": ">=2,<2.2.10|>=2.3,<2.3.3", - "magento/magento1ce": "<1.9.4.3", - "magento/magento1ee": ">=1,<1.14.4.3", - "magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2-p.2", - "marcwillmann/turn": "<0.3.3", - "matyhtf/framework": "<3.0.6", - "mautic/core": "<4.2|= 2.13.1", - "mediawiki/core": ">=1.27,<1.27.6|>=1.29,<1.29.3|>=1.30,<1.30.2|>=1.31,<1.31.9|>=1.32,<1.32.6|>=1.32.99,<1.33.3|>=1.33.99,<1.34.3|>=1.34.99,<1.35", - "microweber/microweber": "<1.3", - "miniorange/miniorange-saml": "<1.4.3", - "mittwald/typo3_forum": "<1.2.1", - "modx/revolution": "<= 2.8.3-pl|<2.8", - "monolog/monolog": ">=1.8,<1.12", - "moodle/moodle": "<3.9.13|>=3.10-beta,<3.10.10|>=3.11,<3.11.6", - "mustache/mustache": ">=2,<2.14.1", - "namshi/jose": "<2.2", - "neoan3-apps/template": "<1.1.1", - "neorazorx/facturascripts": "<2022.4", - "neos/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6", - "neos/form": ">=1.2,<4.3.3|>=5,<5.0.9|>=5.1,<5.1.3", - "neos/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.9.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<3.3.23|>=4,<4.0.17|>=4.1,<4.1.16|>=4.2,<4.2.12|>=4.3,<4.3.3", - "neos/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5", - "netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15", - "nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6", - "nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13", - "nilsteampassnet/teampass": "<=2.1.27.36", - "nukeviet/nukeviet": "<4.3.4", - "nystudio107/craft-seomatic": "<3.4.12", - "nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1", - "october/backend": "<1.1.2", - "october/cms": "= 1.1.1|= 1.0.471|= 1.0.469|>=1.0.319,<1.0.469", - "october/october": ">=1.0.319,<1.0.466|>=2.1,<2.1.12", - "october/rain": "<1.0.472|>=1.1,<1.1.2", - "october/system": "<1.0.475|>=1.1,<1.1.11|>=2,<2.1.27", - "onelogin/php-saml": "<2.10.4", - "oneup/uploader-bundle": "<1.9.3|>=2,<2.1.5", - "open-web-analytics/open-web-analytics": "<1.7.4", - "opencart/opencart": "<=3.0.3.2", - "openid/php-openid": "<2.3", - "openmage/magento-lts": "<19.4.15|>=20,<20.0.13", - "orchid/platform": ">=9,<9.4.4", - "oro/crm": ">=1.7,<1.7.4|>=3.1,<4.1.17|>=4.2,<4.2.7", - "oro/platform": ">=1.7,<1.7.4|>=3.1,<3.1.29|>=4.1,<4.1.17|>=4.2,<4.2.8", - "padraic/humbug_get_contents": "<1.1.2", - "pagarme/pagarme-php": ">=0,<3", - "pagekit/pagekit": "<=1.0.18", - "paragonie/random_compat": "<2", - "passbolt/passbolt_api": "<2.11", - "paypal/merchant-sdk-php": "<3.12", - "pear/archive_tar": "<1.4.14", - "pear/crypt_gpg": "<1.6.7", - "pegasus/google-for-jobs": "<1.5.1|>=2,<2.1.1", - "personnummer/personnummer": "<3.0.2", - "phanan/koel": "<5.1.4", - "phpfastcache/phpfastcache": "<6.1.5|>=7,<7.1.2|>=8,<8.0.7", - "phpmailer/phpmailer": "<6.5", - "phpmussel/phpmussel": ">=1,<1.6", - "phpmyadmin/phpmyadmin": "<5.1.3", - "phpoffice/phpexcel": "<1.8", - "phpoffice/phpspreadsheet": "<1.16", - "phpseclib/phpseclib": "<2.0.31|>=3,<3.0.7", - "phpservermon/phpservermon": "<=3.5.2", - "phpunit/phpunit": ">=4.8.19,<4.8.28|>=5,<5.6.3", - "phpwhois/phpwhois": "<=4.2.5", - "phpxmlrpc/extras": "<0.6.1", - "pimcore/data-hub": "<1.2.4", - "pimcore/pimcore": "<10.4", - "pocketmine/bedrock-protocol": "<8.0.2", - "pocketmine/pocketmine-mp": "<4.2.9", - "pressbooks/pressbooks": "<5.18", - "prestashop/autoupgrade": ">=4,<4.10.1", - "prestashop/contactform": ">1.0.1,<4.3", - "prestashop/gamification": "<2.3.2", - "prestashop/prestashop": ">=1.7,<=1.7.8.2", - "prestashop/productcomments": ">=4,<4.2.1", - "prestashop/ps_emailsubscription": "<2.6.1", - "prestashop/ps_facetedsearch": "<3.4.1", - "prestashop/ps_linklist": "<3.1", - "privatebin/privatebin": "<1.4", - "propel/propel": ">=2-alpha.1,<=2-alpha.7", - "propel/propel1": ">=1,<=1.7.1", - "pterodactyl/panel": "<1.7", - "ptrofimov/beanstalk_console": "<1.7.14", - "pusher/pusher-php-server": "<2.2.1", - "pwweb/laravel-core": "<=0.3.6-beta", - "rainlab/debugbar-plugin": "<3.1", - "remdex/livehelperchat": "<3.99", - "rmccue/requests": ">=1.6,<1.8", - "robrichards/xmlseclibs": "<3.0.4", - "rudloff/alltube": "<3.0.3", - "s-cart/s-cart": "<6.7.2", - "sabberworm/php-css-parser": ">=1,<1.0.1|>=2,<2.0.1|>=3,<3.0.1|>=4,<4.0.1|>=5,<5.0.9|>=5.1,<5.1.3|>=5.2,<5.2.1|>=6,<6.0.2|>=7,<7.0.4|>=8,<8.0.1|>=8.1,<8.1.1|>=8.2,<8.2.1|>=8.3,<8.3.1", - "sabre/dav": ">=1.6,<1.6.99|>=1.7,<1.7.11|>=1.8,<1.8.9", - "scheb/two-factor-bundle": ">=0,<3.26|>=4,<4.11", - "sensiolabs/connect": "<4.2.3", - "serluck/phpwhois": "<=4.2.6", - "shopware/core": "<=6.4.9", - "shopware/platform": "<=6.4.9", - "shopware/production": "<=6.3.5.2", - "shopware/shopware": "<5.7.9", - "shopware/storefront": "<=6.4.8.1", - "showdoc/showdoc": "<2.10.4", - "silverstripe/admin": ">=1,<1.8.1", - "silverstripe/assets": ">=1,<1.4.7|>=1.5,<1.5.2", - "silverstripe/cms": "<4.3.6|>=4.4,<4.4.4", - "silverstripe/comments": ">=1.3,<1.9.99|>=2,<2.9.99|>=3,<3.1.1", - "silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3", - "silverstripe/framework": "<4.10.1", - "silverstripe/graphql": "<3.5.2|>=4-alpha.1,<4-alpha.2|= 4.0.0-alpha1", - "silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1", - "silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4", - "silverstripe/subsites": ">=2,<2.1.1", - "silverstripe/taxonomy": ">=1.3,<1.3.1|>=2,<2.0.1", - "silverstripe/userforms": "<3", - "simple-updates/phpwhois": "<=1", - "simplesamlphp/saml2": "<1.10.6|>=2,<2.3.8|>=3,<3.1.4", - "simplesamlphp/simplesamlphp": "<1.18.6", - "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", - "simplito/elliptic-php": "<1.0.6", - "slim/slim": "<2.6", - "smarty/smarty": "<3.1.43|>=4,<4.0.3", - "snipe/snipe-it": "<5.4.3|>= 6.0.0-RC-1, <= 6.0.0-RC-5", - "socalnick/scn-social-auth": "<1.15.2", - "socialiteproviders/steam": "<1.1", - "spipu/html2pdf": "<5.2.4", - "spoonity/tcpdf": "<6.2.22", - "squizlabs/php_codesniffer": ">=1,<2.8.1|>=3,<3.0.1", - "ssddanbrown/bookstack": "<22.2.3", - "statamic/cms": "<3.2.39|>=3.3,<3.3.2", - "stormpath/sdk": ">=0,<9.9.99", - "studio-42/elfinder": "<2.1.59", - "subrion/cms": "<=4.2.1", - "sulu/sulu": "= 2.4.0-RC1|<1.6.44|>=2,<2.2.18|>=2.3,<2.3.8", - "swiftmailer/swiftmailer": ">=4,<5.4.5", - "sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2", - "sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1", - "sylius/grid-bundle": "<1.10.1", - "sylius/paypal-plugin": ">=1,<1.2.4|>=1.3,<1.3.1", - "sylius/resource-bundle": "<1.3.14|>=1.4,<1.4.7|>=1.5,<1.5.2|>=1.6,<1.6.4", - "sylius/sylius": "<1.9.10|>=1.10,<1.10.11|>=1.11,<1.11.2", - "symbiote/silverstripe-multivaluefield": ">=3,<3.0.99", - "symbiote/silverstripe-queuedjobs": ">=3,<3.0.2|>=3.1,<3.1.4|>=4,<4.0.7|>=4.1,<4.1.2|>=4.2,<4.2.4|>=4.3,<4.3.3|>=4.4,<4.4.3|>=4.5,<4.5.1|>=4.6,<4.6.4", - "symbiote/silverstripe-versionedfiles": "<=2.0.3", - "symfont/process": ">=0,<4", - "symfony/cache": ">=3.1,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8", - "symfony/dependency-injection": ">=2,<2.0.17|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", - "symfony/error-handler": ">=4.4,<4.4.4|>=5,<5.0.4", - "symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", - "symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7|>=5.3.14,<=5.3.14|>=5.4.3,<=5.4.3|>=6.0.3,<=6.0.3|= 6.0.3|= 5.4.3|= 5.3.14", - "symfony/http-foundation": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7", - "symfony/http-kernel": ">=2,<2.8.52|>=3,<3.4.35|>=4,<4.2.12|>=4.3,<4.4.13|>=5,<5.1.5|>=5.2,<5.3.12", - "symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13", - "symfony/maker-bundle": ">=1.27,<1.29.2|>=1.30,<1.31.1", - "symfony/mime": ">=4.3,<4.3.8", - "symfony/phpunit-bridge": ">=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", - "symfony/polyfill": ">=1,<1.10", - "symfony/polyfill-php55": ">=1,<1.10", - "symfony/proxy-manager-bridge": ">=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", - "symfony/routing": ">=2,<2.0.19", - "symfony/security": ">=2,<2.7.51|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.8", - "symfony/security-bundle": ">=2,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11|>=5.3,<5.3.12", - "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<3.4.49|>=4,<4.4.24|>=5,<5.2.9", - "symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", - "symfony/security-guard": ">=2.8,<3.4.48|>=4,<4.4.23|>=5,<5.2.8", - "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.2.12|>=4.3,<4.3.8|>=4.4,<4.4.7|>=5,<5.0.7|>=5.1,<5.2.8|>=5.3,<5.3.2", - "symfony/serializer": ">=2,<2.0.11|>=4.1,<4.4.35|>=5,<5.3.12", - "symfony/symfony": ">=2,<3.4.49|>=4,<4.4.35|>=5,<5.3.12|>=5.3.14,<=5.3.14|>=5.4.3,<=5.4.3|>=6.0.3,<=6.0.3", - "symfony/translation": ">=2,<2.0.17", - "symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3", - "symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8", - "symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4", - "symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7", - "t3/dce": ">=2.2,<2.6.2", - "t3g/svg-sanitizer": "<1.0.3", - "tastyigniter/tastyigniter": "<3.3", - "tecnickcom/tcpdf": "<6.2.22", - "terminal42/contao-tablelookupwizard": "<3.3.5", - "thelia/backoffice-default-template": ">=2.1,<2.1.2", - "thelia/thelia": ">=2.1-beta.1,<2.1.3", - "theonedemon/phpwhois": "<=4.2.5", - "tinymce/tinymce": "<5.10", - "titon/framework": ">=0,<9.9.99", - "topthink/framework": "<6.0.9", - "topthink/think": "<=6.0.9", - "topthink/thinkphp": "<=3.2.3", - "tribalsystems/zenario": "<9.2.55826", - "truckersmp/phpwhois": "<=4.3.1", - "twig/twig": "<1.38|>=2,<2.14.11|>=3,<3.3.8", - "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.38|>=9,<9.5.29|>=10,<10.4.19|>=11,<11.5", - "typo3/cms-backend": ">=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1", - "typo3/cms-core": ">=6.2,<=6.2.56|>=7,<=7.6.52|>=8,<=8.7.41|>=9,<9.5.29|>=10,<10.4.19|>=11,<11.5", - "typo3/cms-form": ">=8,<=8.7.39|>=9,<=9.5.24|>=10,<=10.4.13|>=11,<=11.1", - "typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.12|>=3.1,<3.1.10|>=3.2,<3.2.13|>=3.3,<3.3.13|>=4,<4.0.6", - "typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4|>=2.3,<2.3.99|>=3,<3.0.20|>=3.1,<3.1.18|>=3.2,<3.2.14|>=3.3,<3.3.23|>=4,<4.0.17|>=4.1,<4.1.16|>=4.2,<4.2.12|>=4.3,<4.3.3", - "typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1", - "typo3/swiftmailer": ">=4.1,<4.1.99|>=5.4,<5.4.5", - "typo3fluid/fluid": ">=2,<2.0.8|>=2.1,<2.1.7|>=2.2,<2.2.4|>=2.3,<2.3.7|>=2.4,<2.4.4|>=2.5,<2.5.11|>=2.6,<2.6.10", - "ua-parser/uap-php": "<3.8", - "unisharp/laravel-filemanager": "<=2.3", - "userfrosting/userfrosting": ">=0.3.1,<4.6.3", - "usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2", - "vanilla/safecurl": "<0.9.2", - "verot/class.upload.php": "<=1.0.3|>=2,<=2.0.4", - "vrana/adminer": "<4.8.1", - "wallabag/tcpdf": "<6.2.22", - "wanglelecc/laracms": "<=1.0.3", - "web-auth/webauthn-framework": ">=3.3,<3.3.4", - "webcoast/deferred-image-processing": "<1.0.2", - "wikimedia/parsoid": "<0.12.2", - "willdurand/js-translation-bundle": "<2.1.1", - "wp-cli/wp-cli": "<2.5", - "wpanel/wpanel4-cms": "<=4.3.1", - "wwbn/avideo": "<=11.6", - "yeswiki/yeswiki": "<4.1", - "yetiforce/yetiforce-crm": "<=6.3", - "yidashi/yii2cmf": "<=2", - "yii2mod/yii2-cms": "<1.9.2", - "yiisoft/yii": ">=1.1.14,<1.1.15", - "yiisoft/yii2": "<2.0.38", - "yiisoft/yii2-bootstrap": "<2.0.4", - "yiisoft/yii2-dev": "<2.0.43", - "yiisoft/yii2-elasticsearch": "<2.0.5", - "yiisoft/yii2-gii": "<2.0.4", - "yiisoft/yii2-jui": "<2.0.4", - "yiisoft/yii2-redis": "<2.0.8", - "yoast-seo-for-typo3/yoast_seo": "<7.2.3", - "yourls/yourls": "<=1.8.2", - "zendesk/zendesk_api_client_php": "<2.2.11", - "zendframework/zend-cache": ">=2.4,<2.4.8|>=2.5,<2.5.3", - "zendframework/zend-captcha": ">=2,<2.4.9|>=2.5,<2.5.2", - "zendframework/zend-crypt": ">=2,<2.4.9|>=2.5,<2.5.2", - "zendframework/zend-db": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.10|>=2.3,<2.3.5", - "zendframework/zend-developer-tools": ">=1.2.2,<1.2.3", - "zendframework/zend-diactoros": "<1.8.4", - "zendframework/zend-feed": "<2.10.3", - "zendframework/zend-form": ">=2,<2.2.7|>=2.3,<2.3.1", - "zendframework/zend-http": "<2.8.1", - "zendframework/zend-json": ">=2.1,<2.1.6|>=2.2,<2.2.6", - "zendframework/zend-ldap": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.8|>=2.3,<2.3.3", - "zendframework/zend-mail": ">=2,<2.4.11|>=2.5,<2.7.2", - "zendframework/zend-navigation": ">=2,<2.2.7|>=2.3,<2.3.1", - "zendframework/zend-session": ">=2,<2.0.99|>=2.1,<2.1.99|>=2.2,<2.2.9|>=2.3,<2.3.4", - "zendframework/zend-validator": ">=2.3,<2.3.6", - "zendframework/zend-view": ">=2,<2.2.7|>=2.3,<2.3.1", - "zendframework/zend-xmlrpc": ">=2.1,<2.1.6|>=2.2,<2.2.6", - "zendframework/zendframework": "<=3", - "zendframework/zendframework1": "<1.12.20", - "zendframework/zendopenid": ">=2,<2.0.2", - "zendframework/zendxml": ">=1,<1.0.1", - "zetacomponents/mail": "<1.8.2", - "zf-commons/zfc-user": "<1.2.2", - "zfcampus/zf-apigility-doctrine": ">=1,<1.0.3", - "zfr/zfr-oauth2-server-module": "<0.1.2", - "zoujingli/thinkadmin": "<6.0.22" - }, - "type": "metapackage", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "role": "maintainer" - }, - { - "name": "Ilya Tribusean", - "email": "slash3b@gmail.com", - "role": "maintainer" - } - ], - "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", - "support": { - "issues": "https://github.com/Roave/SecurityAdvisories/issues", - "source": "https://github.com/Roave/SecurityAdvisories/tree/latest" - }, - "funding": [ - { - "url": "https://github.com/Ocramius", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/roave/security-advisories", - "type": "tidelift" - } - ], - "time": "2022-05-05T14:08:42+00:00" - }, - { - "name": "sebastian/cli-parser", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:08:49+00:00" - }, - { - "name": "sebastian/code-unit", - "version": "1.0.8", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:08:54+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:30:19+00:00" - }, - { - "name": "sebastian/comparator", - "version": "4.0.6", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T15:49:45+00:00" - }, - { - "name": "sebastian/complexity", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" + "larastan/larastan": "^2.9.2", + "laravel/framework": "^11.0.0", + "laravel/pint": "^1.14.0", + "laravel/sail": "^1.28.2", + "laravel/sanctum": "^4.0.0", + "laravel/tinker": "^2.9.0", + "orchestra/testbench-core": "^9.0.0", + "pestphp/pest": "^2.34.1 || ^3.0.0", + "sebastian/environment": "^6.0.1 || ^7.0.0" }, "type": "library", "extra": { + "laravel": { + "providers": [ + "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" + ] + }, "branch-alias": { - "dev-master": "2.0-dev" + "dev-8.x": "8.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "./src/Adapters/Phpunit/Autoload.php" + ], + "psr-4": { + "NunoMaduro\\Collision\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" } ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", + "description": "Cli error handling for console/command-line PHP applications.", + "keywords": [ + "artisan", + "cli", + "command-line", + "console", + "error", + "handling", + "laravel", + "laravel-zero", + "php", + "symfony" + ], "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "issues": "https://github.com/nunomaduro/collision/issues", + "source": "https://github.com/nunomaduro/collision" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", "type": "github" + }, + { + "url": "https://www.patreon.com/nunomaduro", + "type": "patreon" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2024-03-06T16:20:09+00:00" }, { - "name": "sebastian/diff", - "version": "4.0.4", + "name": "phar-io/manifest", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "url": "https://github.com/phar-io/manifest.git", + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" + "ext-dom": "*", + "ext-libxml": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -14058,63 +10287,52 @@ ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" }, { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" } ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", + "url": "https://github.com/theseer", "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2024-03-03T12:33:53+00:00" }, { - "name": "sebastian/environment", - "version": "5.1.4", + "name": "phar-io/version", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", - "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-posix": "*" + "php": "^7.2 || ^8.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, "autoload": { "classmap": [ "src/" @@ -14125,137 +10343,135 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "Developer" } ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], + "description": "Library for handling version information and constraints", "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-04-03T09:37:03+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { - "name": "sebastian/exporter", - "version": "4.0.4", + "name": "php-webdriver/webdriver", + "version": "1.15.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" + "url": "https://github.com/php-webdriver/php-webdriver.git", + "reference": "cd52d9342c5aa738c2e75a67e47a1b6df97154e8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/cd52d9342c5aa738c2e75a67e47a1b6df97154e8", + "reference": "cd52d9342c5aa738c2e75a67e47a1b6df97154e8", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" + "ext-curl": "*", + "ext-json": "*", + "ext-zip": "*", + "php": "^7.3 || ^8.0", + "symfony/polyfill-mbstring": "^1.12", + "symfony/process": "^5.0 || ^6.0 || ^7.0" + }, + "replace": { + "facebook/webdriver": "*" }, "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" + "ergebnis/composer-normalize": "^2.20.0", + "ondram/ci-detector": "^4.0", + "php-coveralls/php-coveralls": "^2.4", + "php-mock/php-mock-phpunit": "^2.0", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpunit/phpunit": "^9.3", + "squizlabs/php_codesniffer": "^3.5", + "symfony/var-dumper": "^5.0 || ^6.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } + "suggest": { + "ext-SimpleXML": "For Firefox profile creation" }, + "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "lib/Exception/TimeoutException.php" + ], + "psr-4": { + "Facebook\\WebDriver\\": "lib/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } + "MIT" ], - "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "https://www.github.com/sebastianbergmann/exporter", + "description": "A PHP client for Selenium WebDriver. Previously facebook/webdriver.", + "homepage": "https://github.com/php-webdriver/php-webdriver", "keywords": [ - "export", - "exporter" + "Chromedriver", + "geckodriver", + "php", + "selenium", + "webdriver" ], "support": { - "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" + "issues": "https://github.com/php-webdriver/php-webdriver/issues", + "source": "https://github.com/php-webdriver/php-webdriver/tree/1.15.1" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-11-11T14:18:36+00:00" + "time": "2023-10-20T12:21:20+00:00" }, { - "name": "sebastian/global-state", - "version": "5.0.5", + "name": "phpunit/php-code-coverage", + "version": "10.1.15", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", - "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", + "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-text-template": "^3.0", + "sebastian/code-unit-reverse-lookup": "^3.0", + "sebastian/complexity": "^3.0", + "sebastian/environment": "^6.0", + "sebastian/lines-of-code": "^2.0", + "sebastian/version": "^4.0", + "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.1" }, "suggest": { - "ext-uopz": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0-dev" + "dev-main": "10.1-dev" } }, "autoload": { @@ -14270,17 +10486,21 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", "keywords": [ - "global state" + "coverage", + "testing", + "xunit" ], "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.15" }, "funding": [ { @@ -14288,33 +10508,32 @@ "type": "github" } ], - "time": "2022-02-14T08:28:10+00:00" + "time": "2024-06-29T08:25:15+00:00" }, { - "name": "sebastian/lines-of-code", - "version": "1.0.3", + "name": "phpunit/php-file-iterator", + "version": "4.1.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -14333,11 +10552,16 @@ "role": "lead" } ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" }, "funding": [ { @@ -14345,34 +10569,36 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-08-31T06:24:48+00:00" }, { - "name": "sebastian/object-enumerator", - "version": "4.0.4", + "name": "phpunit/php-invoker", + "version": "4.0.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", "shasum": "" }, "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "ext-pcntl": "*", + "phpunit/phpunit": "^10.0" + }, + "suggest": { + "ext-pcntl": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -14387,14 +10613,18 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" }, "funding": [ { @@ -14402,32 +10632,32 @@ "type": "github" } ], - "time": "2020-10-26T13:12:34+00:00" + "time": "2023-02-03T06:56:09+00:00" }, { - "name": "sebastian/object-reflector", - "version": "2.0.4", + "name": "phpunit/php-text-template", + "version": "3.0.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -14442,14 +10672,19 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" }, "funding": [ { @@ -14457,32 +10692,32 @@ "type": "github" } ], - "time": "2020-10-26T13:14:26+00:00" + "time": "2023-08-31T14:07:24+00:00" }, { - "name": "sebastian/recursion-context", - "version": "4.0.4", + "name": "phpunit/php-timer", + "version": "6.0.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172" + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/cd9d8cf3c5804de4341c283ed787f099f5506172", - "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -14497,22 +10732,18 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.4" + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" }, "funding": [ { @@ -14520,35 +10751,66 @@ "type": "github" } ], - "time": "2020-10-26T13:17:30+00:00" + "time": "2023-02-03T06:57:52+00:00" }, { - "name": "sebastian/resource-operations", - "version": "3.0.3", + "name": "phpunit/phpunit", + "version": "10.5.24", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "5f124e3e3e561006047b532fd0431bf5bb6b9015" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5f124e3e3e561006047b532fd0431bf5bb6b9015", + "reference": "5f124e3e3e561006047b532fd0431bf5bb6b9015", "shasum": "" }, "require": { - "php": ">=7.3" + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=8.1", + "phpunit/php-code-coverage": "^10.1.5", + "phpunit/php-file-iterator": "^4.0", + "phpunit/php-invoker": "^4.0", + "phpunit/php-text-template": "^3.0", + "phpunit/php-timer": "^6.0", + "sebastian/cli-parser": "^2.0", + "sebastian/code-unit": "^2.0", + "sebastian/comparator": "^5.0", + "sebastian/diff": "^5.0", + "sebastian/environment": "^6.0", + "sebastian/exporter": "^5.1", + "sebastian/global-state": "^6.0.1", + "sebastian/object-enumerator": "^5.0", + "sebastian/recursion-context": "^5.0", + "sebastian/type": "^4.0", + "sebastian/version": "^4.0" }, - "require-dev": { - "phpunit/phpunit": "^9.0" + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files" }, + "bin": [ + "phpunit" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "10.5-dev" } }, "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], "classmap": [ "src/" ] @@ -14560,47 +10822,62 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.24" }, "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2024-06-20T13:09:54+00:00" }, { - "name": "sebastian/type", - "version": "3.0.0", + "name": "sebastian/cli-parser", + "version": "2.0.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -14619,11 +10896,12 @@ "role": "lead" } ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" }, "funding": [ { @@ -14631,29 +10909,32 @@ "type": "github" } ], - "time": "2022-03-15T09:54:48+00:00" + "time": "2024-03-02T07:12:49+00:00" }, { - "name": "sebastian/version", - "version": "3.0.2", + "name": "sebastian/code-unit", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c6c1022351a901512170118436c764e473f6de8c" + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", - "reference": "c6c1022351a901512170118436c764e473f6de8c", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", + "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", "shasum": "" }, "require": { - "php": ">=7.3" + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "2.0-dev" } }, "autoload": { @@ -14672,11 +10953,11 @@ "role": "lead" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" }, "funding": [ { @@ -14684,970 +10965,781 @@ "type": "github" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2023-02-03T06:58:43+00:00" }, { - "name": "seld/jsonlint", - "version": "1.9.0", + "name": "sebastian/code-unit-reverse-lookup", + "version": "3.0.0", "source": { "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", - "reference": "4211420d25eba80712bff236a98960ef68b866b7" + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/4211420d25eba80712bff236a98960ef68b866b7", - "reference": "4211420d25eba80712bff236a98960ef68b866b7", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", "shasum": "" }, "require": { - "php": "^5.3 || ^7.0 || ^8.0" + "php": ">=8.1" }, "require-dev": { - "phpstan/phpstan": "^1.5", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^8.5.13" + "phpunit/phpunit": "^10.0" }, - "bin": [ - "bin/jsonlint" - ], "type": "library", - "autoload": { - "psr-4": { - "Seld\\JsonLint\\": "src/Seld/JsonLint/" + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" } }, + "autoload": { + "classmap": [ + "src/" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "description": "JSON Linter", - "keywords": [ - "json", - "linter", - "parser", - "validator" - ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { - "issues": "https://github.com/Seldaek/jsonlint/issues", - "source": "https://github.com/Seldaek/jsonlint/tree/1.9.0" + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" }, "funding": [ { - "url": "https://github.com/Seldaek", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/seld/jsonlint", - "type": "tidelift" } ], - "time": "2022-04-01T13:37:23+00:00" + "time": "2023-02-03T06:59:15+00:00" }, { - "name": "seld/phar-utils", - "version": "1.2.0", + "name": "sebastian/comparator", + "version": "5.0.1", "source": { "type": "git", - "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "9f3452c93ff423469c0d56450431562ca423dcee" + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/9f3452c93ff423469c0d56450431562ca423dcee", - "reference": "9f3452c93ff423469c0d56450431562ca423dcee", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372", "shasum": "" }, "require": { - "php": ">=5.3" + "ext-dom": "*", + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/diff": "^5.0", + "sebastian/exporter": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "5.0-dev" } }, "autoload": { - "psr-4": { - "Seld\\PharUtils\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" } ], - "description": "PHAR file format utilities, for when PHP phars you up", + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", "keywords": [ - "phar" - ], - "support": { - "issues": "https://github.com/Seldaek/phar-utils/issues", - "source": "https://github.com/Seldaek/phar-utils/tree/1.2.0" - }, - "time": "2021-12-10T11:20:11+00:00" - }, - { - "name": "slevomat/coding-standard", - "version": "7.1", - "source": { - "type": "git", - "url": "https://github.com/slevomat/coding-standard.git", - "reference": "b521bd358b5f7a7d69e9637fd139e036d8adeb6f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/b521bd358b5f7a7d69e9637fd139e036d8adeb6f", - "reference": "b521bd358b5f7a7d69e9637fd139e036d8adeb6f", - "shasum": "" - }, - "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", - "php": "^7.2 || ^8.0", - "phpstan/phpdoc-parser": "^1.4.1", - "squizlabs/php_codesniffer": "^3.6.2" - }, - "require-dev": { - "phing/phing": "2.17.2", - "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.4.10|1.5.2", - "phpstan/phpstan-deprecation-rules": "1.0.0", - "phpstan/phpstan-phpunit": "1.0.0|1.1.0", - "phpstan/phpstan-strict-rules": "1.1.0", - "phpunit/phpunit": "7.5.20|8.5.21|9.5.19" - }, - "type": "phpcodesniffer-standard", - "extra": { - "branch-alias": { - "dev-master": "7.x-dev" - } - }, - "autoload": { - "psr-4": { - "SlevomatCodingStandard\\": "SlevomatCodingStandard" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" + "comparator", + "compare", + "equality" ], - "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { - "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.1" + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" }, "funding": [ { - "url": "https://github.com/kukulich", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard", - "type": "tidelift" } ], - "time": "2022-03-29T12:44:16+00:00" + "time": "2023-08-14T13:18:12+00:00" }, { - "name": "squizlabs/php_codesniffer", - "version": "3.6.2", + "name": "sebastian/complexity", + "version": "3.2.0", "source": { "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "68ff824baeae169ec9f2137158ee529584553799" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", + "reference": "68ff824baeae169ec9f2137158ee529584553799", "shasum": "" }, "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "phpunit/phpunit": "^10.0" }, - "bin": [ - "bin/phpcs", - "bin/phpcbf" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-main": "3.2-dev" } }, + "autoload": { + "classmap": [ + "src/" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], "authors": [ { - "name": "Greg Sherwood", + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", "role": "lead" } ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards" - ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" }, - "time": "2021-12-12T21:44:58+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-12-21T08:37:17+00:00" }, { - "name": "symfony/cache", - "version": "v6.0.8", + "name": "sebastian/diff", + "version": "5.1.1", "source": { "type": "git", - "url": "https://github.com/symfony/cache.git", - "reference": "e9a4e9229f078d93f2c492ea30c3f010373312b7" + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/e9a4e9229f078d93f2c492ea30c3f010373312b7", - "reference": "e9a4e9229f078d93f2c492ea30c3f010373312b7", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", + "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", "shasum": "" }, "require": { - "php": ">=8.0.2", - "psr/cache": "^2.0|^3.0", - "psr/log": "^1.1|^2|^3", - "symfony/cache-contracts": "^1.1.7|^2|^3", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/var-exporter": "^5.4|^6.0" - }, - "conflict": { - "doctrine/dbal": "<2.13.1", - "symfony/dependency-injection": "<5.4", - "symfony/http-kernel": "<5.4", - "symfony/var-dumper": "<5.4" - }, - "provide": { - "psr/cache-implementation": "2.0|3.0", - "psr/simple-cache-implementation": "1.0|2.0|3.0", - "symfony/cache-implementation": "1.1|2.0|3.0" + "php": ">=8.1" }, "require-dev": { - "cache/integration-tests": "dev-master", - "doctrine/dbal": "^2.13.1|^3.0", - "predis/predis": "^1.1", - "psr/simple-cache": "^1.0|^2.0|^3.0", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/filesystem": "^5.4|^6.0", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/messenger": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" + "phpunit/phpunit": "^10.0", + "symfony/process": "^6.4" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, "autoload": { - "psr-4": { - "Symfony\\Component\\Cache\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" } ], - "description": "Provides an extended PSR-6, PSR-16 (and tags) implementation", - "homepage": "https://symfony.com", + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", "keywords": [ - "caching", - "psr6" + "diff", + "udiff", + "unidiff", + "unified diff" ], "support": { - "source": "https://github.com/symfony/cache/tree/v6.0.8" + "issues": "https://github.com/sebastianbergmann/diff/issues", + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" } ], - "time": "2022-04-26T13:22:23+00:00" + "time": "2024-03-02T07:15:17+00:00" }, { - "name": "symfony/cache-contracts", - "version": "v3.0.1", + "name": "sebastian/environment", + "version": "6.1.0", "source": { "type": "git", - "url": "https://github.com/symfony/cache-contracts.git", - "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348" + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", - "reference": "1c0a181c9ee221afe4fa55b2d13fc63c5ae14348", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/8074dbcd93529b357029f5cc5058fd3e43666984", + "reference": "8074dbcd93529b357029f5cc5058fd3e43666984", "shasum": "" }, "require": { - "php": ">=8.0.2", - "psr/cache": "^3.0" + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" }, "suggest": { - "symfony/cache-implementation": "" + "ext-posix": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "dev-main": "6.1-dev" } }, "autoload": { - "psr-4": { - "Symfony\\Contracts\\Cache\\": "" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "description": "Generic abstractions related to caching", - "homepage": "https://symfony.com", + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "https://github.com/sebastianbergmann/environment", "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" + "Xdebug", + "environment", + "hhvm" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v3.0.1" + "issues": "https://github.com/sebastianbergmann/environment/issues", + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.1.0" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" } ], - "time": "2022-01-02T09:55:41+00:00" + "time": "2024-03-23T08:47:14+00:00" }, { - "name": "symfony/debug", - "version": "v4.4.41", + "name": "sebastian/exporter", + "version": "5.1.2", "source": { "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "6637e62480b60817b9a6984154a533e8e64c6bd5" + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "955288482d97c19a372d3f31006ab3f37da47adf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/6637e62480b60817b9a6984154a533e8e64c6bd5", - "reference": "6637e62480b60817b9a6984154a533e8e64c6bd5", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", + "reference": "955288482d97c19a372d3f31006ab3f37da47adf", "shasum": "" }, "require": { - "php": ">=7.1.3", - "psr/log": "^1|^2|^3" - }, - "conflict": { - "symfony/http-kernel": "<3.4" + "ext-mbstring": "*", + "php": ">=8.1", + "sebastian/recursion-context": "^5.0" }, "require-dev": { - "symfony/http-kernel": "^3.4|^4.0|^5.0" + "phpunit/phpunit": "^10.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.1-dev" + } + }, "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" }, { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], - "description": "Provides tools to ease debugging PHP code", - "homepage": "https://symfony.com", + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "https://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], "support": { - "source": "https://github.com/symfony/debug/tree/v4.4.41" + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" } ], - "time": "2022-04-12T15:19:55+00:00" + "time": "2024-03-02T07:17:12+00:00" }, { - "name": "symfony/filesystem", - "version": "v6.0.7", + "name": "sebastian/global-state", + "version": "6.0.2", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff" + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff", - "reference": "6c9e4c41f2c51dfde3db298594ed9cba55dbf5ff", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^10.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "6.0-dev" + } + }, "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "description": "Provides basic utilities for the filesystem", - "homepage": "https://symfony.com", + "description": "Snapshotting of global state", + "homepage": "https://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.0.7" + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" } ], - "time": "2022-04-01T12:54:51+00:00" + "time": "2024-03-02T07:19:19+00:00" }, { - "name": "symfony/polyfill-php73", - "version": "v1.25.0", + "name": "sebastian/lines-of-code", + "version": "2.0.2", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", - "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", "shasum": "" }, "require": { - "php": ">=7.1" + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=8.1" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "dev-main": "2.0-dev" } }, "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, "classmap": [ - "Resources/stubs" + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0" + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "time": "2021-06-05T21:20:04+00:00" + "time": "2023-12-21T08:38:20+00:00" }, { - "name": "symfony/stopwatch", - "version": "v6.0.5", + "name": "sebastian/object-enumerator", + "version": "5.0.0", "source": { "type": "git", - "url": "https://github.com/symfony/stopwatch.git", - "reference": "f2c1780607ec6502f2121d9729fd8150a655d337" + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/f2c1780607ec6502f2121d9729fd8150a655d337", - "reference": "f2c1780607ec6502f2121d9729fd8150a655d337", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", + "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", "shasum": "" }, "require": { - "php": ">=8.0.2", - "symfony/service-contracts": "^1|^2|^3" + "php": ">=8.1", + "sebastian/object-reflector": "^3.0", + "sebastian/recursion-context": "^5.0" + }, + "require-dev": { + "phpunit/phpunit": "^10.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "5.0-dev" + } + }, "autoload": { - "psr-4": { - "Symfony\\Component\\Stopwatch\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "description": "Provides a way to profile code", - "homepage": "https://symfony.com", + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.0.5" + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" } ], - "time": "2022-02-21T17:15:17+00:00" + "time": "2023-02-03T07:08:32+00:00" }, { - "name": "symfony/var-exporter", - "version": "v6.0.8", + "name": "sebastian/object-reflector", + "version": "3.0.0", "source": { "type": "git", - "url": "https://github.com/symfony/var-exporter.git", - "reference": "74b272979a490747c6775b0228d06cf246306a99" + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/74b272979a490747c6775b0228d06cf246306a99", - "reference": "74b272979a490747c6775b0228d06cf246306a99", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", + "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=8.1" }, "require-dev": { - "symfony/var-dumper": "^5.4|^6.0" + "phpunit/phpunit": "^10.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.0-dev" + } + }, "autoload": { - "psr-4": { - "Symfony\\Component\\VarExporter\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "description": "Allows exporting any serializable PHP data structure to plain PHP code", - "homepage": "https://symfony.com", - "keywords": [ - "clone", - "construct", - "export", - "hydrate", - "instantiate", - "serialize" - ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.0.8" + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" } ], - "time": "2022-04-26T13:22:23+00:00" + "time": "2023-02-03T07:06:18+00:00" }, { - "name": "thecodingmachine/phpstan-safe-rule", - "version": "v1.0.1", + "name": "sebastian/recursion-context", + "version": "5.0.0", "source": { "type": "git", - "url": "https://github.com/thecodingmachine/phpstan-safe-rule.git", - "reference": "1a1ae26c29011d2d48636353ecadf7fc40997401" + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/phpstan-safe-rule/zipball/1a1ae26c29011d2d48636353ecadf7fc40997401", - "reference": "1a1ae26c29011d2d48636353ecadf7fc40997401", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", + "reference": "05909fb5bc7df4c52992396d0116aed689f93712", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.10 | ^0.11 | ^0.12", - "thecodingmachine/safe": "^1.0" + "php": ">=8.1" }, "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^7.5.2", - "squizlabs/php_codesniffer": "^3.4" + "phpunit/phpunit": "^10.0" }, - "type": "phpstan-extension", + "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" - }, - "phpstan": { - "includes": [ - "phpstan-safe-rule.neon" - ] + "dev-main": "5.0-dev" } }, "autoload": { - "psr-4": { - "TheCodingMachine\\Safe\\PHPStan\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "David Négrier", - "email": "d.negrier@thecodingmachine.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" } ], - "description": "A PHPStan rule to detect safety issues. Must be used in conjunction with thecodingmachine/safe", + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { - "issues": "https://github.com/thecodingmachine/phpstan-safe-rule/issues", - "source": "https://github.com/thecodingmachine/phpstan-safe-rule/tree/v1.0.1" + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" }, - "time": "2020-08-30T11:41:12+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:05:40+00:00" }, { - "name": "thecodingmachine/safe", - "version": "v1.3.3", + "name": "sebastian/type", + "version": "4.0.0", "source": { "type": "git", - "url": "https://github.com/thecodingmachine/safe.git", - "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thecodingmachine/safe/zipball/a8ab0876305a4cdaef31b2350fcb9811b5608dbc", - "reference": "a8ab0876305a4cdaef31b2350fcb9811b5608dbc", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", + "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", "shasum": "" }, "require": { - "php": ">=7.2" + "php": ">=8.1" }, "require-dev": { - "phpstan/phpstan": "^0.12", - "squizlabs/php_codesniffer": "^3.2", - "thecodingmachine/phpstan-strict-rules": "^0.12" + "phpunit/phpunit": "^10.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.1-dev" + "dev-main": "4.0-dev" } }, "autoload": { - "files": [ - "deprecated/apc.php", - "deprecated/libevent.php", - "deprecated/mssql.php", - "deprecated/stats.php", - "lib/special_cases.php", - "generated/apache.php", - "generated/apcu.php", - "generated/array.php", - "generated/bzip2.php", - "generated/calendar.php", - "generated/classobj.php", - "generated/com.php", - "generated/cubrid.php", - "generated/curl.php", - "generated/datetime.php", - "generated/dir.php", - "generated/eio.php", - "generated/errorfunc.php", - "generated/exec.php", - "generated/fileinfo.php", - "generated/filesystem.php", - "generated/filter.php", - "generated/fpm.php", - "generated/ftp.php", - "generated/funchand.php", - "generated/gmp.php", - "generated/gnupg.php", - "generated/hash.php", - "generated/ibase.php", - "generated/ibmDb2.php", - "generated/iconv.php", - "generated/image.php", - "generated/imap.php", - "generated/info.php", - "generated/ingres-ii.php", - "generated/inotify.php", - "generated/json.php", - "generated/ldap.php", - "generated/libxml.php", - "generated/lzf.php", - "generated/mailparse.php", - "generated/mbstring.php", - "generated/misc.php", - "generated/msql.php", - "generated/mysql.php", - "generated/mysqli.php", - "generated/mysqlndMs.php", - "generated/mysqlndQc.php", - "generated/network.php", - "generated/oci8.php", - "generated/opcache.php", - "generated/openssl.php", - "generated/outcontrol.php", - "generated/password.php", - "generated/pcntl.php", - "generated/pcre.php", - "generated/pdf.php", - "generated/pgsql.php", - "generated/posix.php", - "generated/ps.php", - "generated/pspell.php", - "generated/readline.php", - "generated/rpminfo.php", - "generated/rrd.php", - "generated/sem.php", - "generated/session.php", - "generated/shmop.php", - "generated/simplexml.php", - "generated/sockets.php", - "generated/sodium.php", - "generated/solr.php", - "generated/spl.php", - "generated/sqlsrv.php", - "generated/ssdeep.php", - "generated/ssh2.php", - "generated/stream.php", - "generated/strings.php", - "generated/swoole.php", - "generated/uodbc.php", - "generated/uopz.php", - "generated/url.php", - "generated/var.php", - "generated/xdiff.php", - "generated/xml.php", - "generated/xmlrpc.php", - "generated/yaml.php", - "generated/yaz.php", - "generated/zip.php", - "generated/zlib.php" - ], - "psr-4": { - "Safe\\": [ - "lib/", - "deprecated/", - "generated/" - ] - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } ], - "description": "PHP core functions that throw exceptions instead of returning FALSE on error", + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", "support": { - "issues": "https://github.com/thecodingmachine/safe/issues", - "source": "https://github.com/thecodingmachine/safe/tree/v1.3.3" + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" }, - "time": "2020-10-28T17:51:34+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T07:10:45+00:00" }, { - "name": "theseer/tokenizer", - "version": "1.2.1", + "name": "sebastian/version", + "version": "4.0.1", "source": { "type": "git", - "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.2 || ^8.0" + "php": ">=8.1" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "4.0-dev" + } + }, "autoload": { "classmap": [ "src/" @@ -15659,109 +11751,60 @@ ], "authors": [ { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" }, "funding": [ { - "url": "https://github.com/theseer", + "url": "https://github.com/sebastianbergmann", "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-02-07T11:34:05+00:00" }, { - "name": "vimeo/psalm", - "version": "4.23.0", + "name": "symfony/yaml", + "version": "v7.1.1", "source": { "type": "git", - "url": "https://github.com/vimeo/psalm.git", - "reference": "f1fe6ff483bf325c803df9f510d09a03fd796f88" + "url": "https://github.com/symfony/yaml.git", + "reference": "fa34c77015aa6720469db7003567b9f772492bf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/f1fe6ff483bf325c803df9f510d09a03fd796f88", - "reference": "f1fe6ff483bf325c803df9f510d09a03fd796f88", + "url": "https://api.github.com/repos/symfony/yaml/zipball/fa34c77015aa6720469db7003567b9f772492bf2", + "reference": "fa34c77015aa6720469db7003567b9f772492bf2", "shasum": "" }, "require": { - "amphp/amp": "^2.4.2", - "amphp/byte-stream": "^1.5", - "composer/package-versions-deprecated": "^1.8.0", - "composer/semver": "^1.4 || ^2.0 || ^3.0", - "composer/xdebug-handler": "^1.1 || ^2.0 || ^3.0", - "dnoegel/php-xdg-base-dir": "^0.1.1", - "ext-ctype": "*", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-simplexml": "*", - "ext-tokenizer": "*", - "felixfbecker/advanced-json-rpc": "^3.0.3", - "felixfbecker/language-server-protocol": "^1.5", - "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.13", - "openlss/lib-array2xml": "^1.0", - "php": "^7.1|^8", - "sebastian/diff": "^3.0 || ^4.0", - "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0", - "symfony/polyfill-php80": "^1.25", - "webmozart/path-util": "^2.3" + "php": ">=8.2", + "symfony/polyfill-ctype": "^1.8" }, - "provide": { - "psalm/psalm": "self.version" + "conflict": { + "symfony/console": "<6.4" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.2", - "brianium/paratest": "^4.0||^6.0", - "ext-curl": "*", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpdocumentor/reflection-docblock": "^5", - "phpmyadmin/sql-parser": "5.1.0||dev-master", - "phpspec/prophecy": ">=1.9.0", - "phpunit/phpunit": "^9.0", - "psalm/plugin-phpunit": "^0.16", - "slevomat/coding-standard": "^7.0", - "squizlabs/php_codesniffer": "^3.5", - "symfony/process": "^4.3 || ^5.0 || ^6.0", - "weirdan/prophecy-shim": "^1.0 || ^2.0" - }, - "suggest": { - "ext-curl": "In order to send data to shepherd", - "ext-igbinary": "^2.0.5 is required, used to serialize caching data" + "symfony/console": "^6.4|^7.0" }, "bin": [ - "psalm", - "psalm-language-server", - "psalm-plugin", - "psalm-refactor", - "psalter" + "Resources/bin/yaml-lint" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.x-dev", - "dev-3.x": "3.x-dev", - "dev-2.x": "2.x-dev", - "dev-1.x": "1.x-dev" - } - }, "autoload": { - "files": [ - "src/functions.php", - "src/spl_object_id.php" - ], "psr-4": { - "Psalm\\": "src/Psalm/" - } + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -15769,78 +11812,89 @@ ], "authors": [ { - "name": "Matthew Brown" + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A static analysis tool for finding errors in PHP applications", - "keywords": [ - "code", - "inspection", - "php" - ], + "description": "Loads and dumps YAML files", + "homepage": "https://symfony.com", "support": { - "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.23.0" + "source": "https://github.com/symfony/yaml/tree/v7.1.1" }, - "time": "2022-04-28T17:35:49+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:57:53+00:00" }, { - "name": "webmozart/path-util", - "version": "2.3.0", + "name": "theseer/tokenizer", + "version": "1.2.3", "source": { "type": "git", - "url": "https://github.com/webmozart/path-util.git", - "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725" + "url": "https://github.com/theseer/tokenizer.git", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/path-util/zipball/d939f7edc24c9a1bb9c0dee5cb05d8e859490725", - "reference": "d939f7edc24c9a1bb9c0dee5cb05d8e859490725", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { - "php": ">=5.3.3", - "webmozart/assert": "~1.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.3-dev" - } - }, "autoload": { - "psr-4": { - "Webmozart\\PathUtil\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" } ], - "description": "A robust cross-platform utility for normalizing, comparing and modifying file paths.", + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { - "issues": "https://github.com/webmozart/path-util/issues", - "source": "https://github.com/webmozart/path-util/tree/2.3.0" + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, - "abandoned": "symfony/filesystem", - "time": "2015-12-17T08:42:14+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:36:25+00:00" } ], "aliases": [], - "minimum-stability": "dev", - "stability-flags": { - "roave/security-advisories": 20 - }, + "minimum-stability": "stable", + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { @@ -15848,5 +11902,5 @@ "ext-intl": "*" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.6.0" } From b00007d43c4dbb6726bf205162ccc7219a9becc5 Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 22:38:40 +0200 Subject: [PATCH 2/8] yarn/vite --- package.json | 48 +- postcss.config.js | 5 + vite.config.mjs | 33 + yarn.lock | 8488 +++++++++++---------------------------------- 4 files changed, 2120 insertions(+), 6454 deletions(-) create mode 100644 postcss.config.js create mode 100644 vite.config.mjs diff --git a/package.json b/package.json index 3c10156a8..e802f44ff 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,17 @@ { "private": true, "scripts": { - "dev": "yarn development", - "development": "mix", - "predevelopment": "php artisan lang:generate -vvv", - "watch": "mix watch", - "prewatch": "php artisan lang:generate -vvv", - "watch-poll": "mix watch -- --watch-options-poll=1000", - "hot": "mix watch --hot", - "prod": "yarn production", - "production": "mix --production", - "preproduction": "php artisan lang:generate -vvv", - "heroku-postbuild": "yarn run production", + "dev": "vite", + "watch": "vite", + "hot": "vite", + "build": "vite build", "e2e": "cypress run", "e2e-gui": "cypress open", "inst": "yarn install --frozen-lockfile", "lint": "eslint --ext .js,.vue *.js .*.js resources/js/", "lint:cypress": "eslint --ext .js tests/Features/", - "lint:all": "yarn lint & yarn lint:cypress", - "lint:fix": "yarn lint --fix & yarn lint:cypress --fix", + "lint:all": "yarn lint && yarn lint:cypress", + "lint:fix": "yarn lint --fix && yarn lint:cypress --fix", "cypress": "mv .env .env2 && mv .env.cypress.local .env && yarn run e2e-gui", "normal": "mv .env .env.cypress.local && mv .env2 .env", "pretest": "DB_CONNECTION=testing php artisan migrate:fresh && DB_CONNECTION=testing php artisan db:seed", @@ -29,8 +22,8 @@ }, "devDependencies": { "@babel/plugin-syntax-dynamic-import": "^7.2.0", + "@vitejs/plugin-vue": "^1.0.0", "cross-env": "^7.0", - "cypress": "6.1.0", "eslint": "^7.11.0", "eslint-config-standard": "^16.0.3", "eslint-plugin-cypress": ">=2.11.2", @@ -40,39 +33,39 @@ "eslint-plugin-standard": ">=4.0.0", "eslint-plugin-vue": "^7.0.1", "faker": "^5.1.0", - "husky": "^4.3.0", - "laravel-mix": "^6.0.6", - "laravel-mix-purgecss": "^6.0.0", + "husky": "^9.0.11", + "laravel-vite-plugin": "^1.0.0", "lint-staged": "^10.4.0", - "mrm": "^2.5.2", - "postcss": "^8.1.14", - "postcss-import": "^12.0.1", + "mrm": "^4.1.22", + "postcss": "^8.4.34", + "postcss-import": "^16.1.0", "prettier": "^2.1.2", "resolve-url-loader": "^3.1", "sass-loader": "^11.0.0", "tiptap": "^1.30.0", "tiptap-extensions": "^1.24.0", "underscore": "^1.11.0", + "vite": "^2.0.0", "vue-template-compiler": "^2.6.12" }, "dependencies": { "@inertiajs/inertia": "^0.8.4", - "@inertiajs/inertia-vue3": "^0.3.5", "@inertiajs/progress": "^0.2.4", + "@inertiajs/vue3": "^1.2.0", "@popperjs/core": "^2.5", - "@sentry/browser": "^6.2.5", + "@sentry/browser": "^8.13.0", "@sentry/integrations": "^6.2.5", "@sentry/tracing": "^6.2.5", - "@vue/compiler-sfc": "3.0.11", + "@vue/compiler-sfc": "3.4.31", "ant-design-vue": "^3.1.1", - "axios": "^0.21", + "axios": "^1.6", "click-outside-vue3": "^4.0.1", "donutty": "^2.3.0", "lodash": "^4.17.20", "sass": "^1.27.0", "tachyons": "^4.12.0", "tiny-emitter": "^2.1.0", - "uploadcare-vue": "^1.0.0", + "uploadcare-widget": "^3.21.2", "v-calendar": "^3.0.0-alpha.8", "v-tooltip": "^2.0.2", "vue": "^3.0.11", @@ -81,14 +74,15 @@ "vue-loader": "^16.1.2", "vue-loaders": "^4.1.1", "vue-the-mask": "^0.11.1", - "vuedraggable": "^4.1.0" + "vuedraggable": "^4.1.0", + "ziggy-js": "^2.2.1" }, "lint-staged": { "resources/**/*.{css,scss}": [ "prettier --write --ignore-unknown" ], "*.php": [ - "vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php" + "vendor/bin/pint" ], "*.js|.*.js|resources/js/**/*.{vue,js}": [ "yarn lint --fix" diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 000000000..44f8891d0 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,5 @@ +module.exports = { + plugins: { + + }, +}; \ No newline at end of file diff --git a/vite.config.mjs b/vite.config.mjs new file mode 100644 index 000000000..c5f208df5 --- /dev/null +++ b/vite.config.mjs @@ -0,0 +1,33 @@ +import { defineConfig } from 'vite'; +import laravel from 'laravel-vite-plugin'; +import vue from '@vitejs/plugin-vue'; +import path from 'path'; +import { fileURLToPath } from 'url'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +export default defineConfig({ + plugins: [ + laravel({ + input: 'resources/js/app.js', + refresh: true, + }), + vue({ + template: { + transformAssetUrls: { + base: null, + includeAbsolute: false, + }, + compilerOptions: { + isCustomElement: tag => ['select-box', 'help'].includes(tag), + }, + }, + }), + ], + resolve: { + alias: { + '@': path.resolve(__dirname, 'resources/js'), + }, + }, +}); \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 18ded717f..a63211a4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,13 +2,6 @@ # yarn lockfile v1 -"@ampproject/remapping@^2.1.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.2.tgz#4edca94973ded9630d20101cd8559cedb8d8bd34" - integrity sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg== - dependencies: - "@jridgewell/trace-mapping" "^0.3.0" - "@ant-design/colors@^6.0.0": version "6.0.0" resolved "https://registry.yarnpkg.com/@ant-design/colors/-/colors-6.0.0.tgz#9b9366257cffcc47db42b9d0203bb592c13c0298" @@ -17,9 +10,9 @@ "@ctrl/tinycolor" "^3.4.0" "@ant-design/icons-svg@^4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@ant-design/icons-svg/-/icons-svg-4.2.1.tgz#8630da8eb4471a4aabdaed7d1ff6a97dcb2cf05a" - integrity sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw== + version "4.4.2" + resolved "https://registry.yarnpkg.com/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz#ed2be7fb4d82ac7e1d45a54a5b06d6cecf8be6f6" + integrity sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA== "@ant-design/icons-vue@^6.1.0": version "6.1.0" @@ -36,952 +29,62 @@ dependencies: "@babel/highlight" "^7.10.4" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789" - integrity sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg== - dependencies: - "@babel/highlight" "^7.16.7" - -"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.8", "@babel/compat-data@^7.17.0", "@babel/compat-data@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.7.tgz#078d8b833fbbcc95286613be8c716cef2b519fa2" - integrity sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ== - -"@babel/core@^7.15.8": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.9.tgz#6bae81a06d95f4d0dec5bb9d74bbc1f58babdcfe" - integrity sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw== - dependencies: - "@ampproject/remapping" "^2.1.0" - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.17.9" - "@babel/helper-compilation-targets" "^7.17.7" - "@babel/helper-module-transforms" "^7.17.7" - "@babel/helpers" "^7.17.9" - "@babel/parser" "^7.17.9" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.9" - "@babel/types" "^7.17.0" - convert-source-map "^1.7.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.1" - semver "^6.3.0" - -"@babel/generator@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.9.tgz#f4af9fd38fa8de143c29fce3f71852406fc1e2fc" - integrity sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ== - dependencies: - "@babel/types" "^7.17.0" - jsesc "^2.5.1" - source-map "^0.5.0" - -"@babel/helper-annotate-as-pure@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz#bb2339a7534a9c128e3102024c60760a3a7f3862" - integrity sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw== - dependencies: - "@babel/types" "^7.16.7" - -"@babel/helper-builder-binary-assignment-operator-visitor@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz#38d138561ea207f0f69eb1626a418e4f7e6a580b" - integrity sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA== - dependencies: - "@babel/helper-explode-assignable-expression" "^7.16.7" - "@babel/types" "^7.16.7" - -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.7", "@babel/helper-compilation-targets@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.7.tgz#a3c2924f5e5f0379b356d4cfb313d1414dc30e46" - integrity sha512-UFzlz2jjd8kroj0hmCFV5zr+tQPi1dpC2cRsDV/3IEW8bJfCPrPpmcSN6ZS8RqIq4LXcmpipCQFPddyFA5Yc7w== +"@babel/code-frame@^7.0.0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" + integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== dependencies: - "@babel/compat-data" "^7.17.7" - "@babel/helper-validator-option" "^7.16.7" - browserslist "^4.17.5" - semver "^6.3.0" + "@babel/highlight" "^7.24.7" + picocolors "^1.0.0" -"@babel/helper-create-class-features-plugin@^7.16.10", "@babel/helper-create-class-features-plugin@^7.16.7", "@babel/helper-create-class-features-plugin@^7.17.6": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.9.tgz#71835d7fb9f38bd9f1378e40a4c0902fdc2ea49d" - integrity sha512-kUjip3gruz6AJKOq5i3nC6CoCEEF/oHH3cp6tOZhB+IyyyPyW0g1Gfsxn3mkk6S08pIA2y8GQh609v9G/5sHVQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-function-name" "^7.17.9" - "@babel/helper-member-expression-to-functions" "^7.17.7" - "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/helper-replace-supers" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" +"@babel/helper-plugin-utils@^7.8.0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz#98c84fe6fe3d0d3ae7bfc3a5e166a46844feb2a0" + integrity sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg== -"@babel/helper-create-regexp-features-plugin@^7.16.7": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz#1dcc7d40ba0c6b6b25618997c5dbfd310f186fe1" - integrity sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - regexpu-core "^5.0.1" +"@babel/helper-validator-identifier@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" + integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== -"@babel/helper-define-polyfill-provider@^0.3.1": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.1.tgz#52411b445bdb2e676869e5a74960d2d3826d2665" - integrity sha512-J9hGMpJQmtWmj46B3kBHmL38UhJGhYX7eqkcq+2gsstyYt341HmPeWspihX43yVRA0mS+8GGk2Gckc7bY/HCmA== +"@babel/highlight@^7.10.4", "@babel/highlight@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.7.tgz#a05ab1df134b286558aae0ed41e6c5f731bf409d" + integrity sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw== dependencies: - "@babel/helper-compilation-targets" "^7.13.0" - "@babel/helper-module-imports" "^7.12.13" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/traverse" "^7.13.0" - debug "^4.1.1" - lodash.debounce "^4.0.8" - resolve "^1.14.2" - semver "^6.1.2" - -"@babel/helper-environment-visitor@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7" - integrity sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag== - dependencies: - "@babel/types" "^7.16.7" - -"@babel/helper-explode-assignable-expression@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz#12a6d8522fdd834f194e868af6354e8650242b7a" - integrity sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ== - dependencies: - "@babel/types" "^7.16.7" - -"@babel/helper-function-name@^7.16.7", "@babel/helper-function-name@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz#136fcd54bc1da82fcb47565cf16fd8e444b1ff12" - integrity sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg== - dependencies: - "@babel/template" "^7.16.7" - "@babel/types" "^7.17.0" - -"@babel/helper-hoist-variables@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz#86bcb19a77a509c7b77d0e22323ef588fa58c246" - integrity sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg== - dependencies: - "@babel/types" "^7.16.7" - -"@babel/helper-member-expression-to-functions@^7.16.7", "@babel/helper-member-expression-to-functions@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz#a34013b57d8542a8c4ff8ba3f747c02452a4d8c4" - integrity sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw== - dependencies: - "@babel/types" "^7.17.0" - -"@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz#25612a8091a999704461c8a222d0efec5d091437" - integrity sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg== - dependencies: - "@babel/types" "^7.16.7" - -"@babel/helper-module-transforms@^7.16.7", "@babel/helper-module-transforms@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz#3943c7f777139e7954a5355c815263741a9c1cbd" - integrity sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw== - dependencies: - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-simple-access" "^7.17.7" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/helper-validator-identifier" "^7.16.7" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.3" - "@babel/types" "^7.17.0" - -"@babel/helper-optimise-call-expression@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz#a34e3560605abbd31a18546bd2aad3e6d9a174f2" - integrity sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w== - dependencies: - "@babel/types" "^7.16.7" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5" - integrity sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA== - -"@babel/helper-remap-async-to-generator@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz#29ffaade68a367e2ed09c90901986918d25e57e3" - integrity sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-wrap-function" "^7.16.8" - "@babel/types" "^7.16.8" - -"@babel/helper-replace-supers@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz#e9f5f5f32ac90429c1a4bdec0f231ef0c2838ab1" - integrity sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw== - dependencies: - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-member-expression-to-functions" "^7.16.7" - "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/traverse" "^7.16.7" - "@babel/types" "^7.16.7" - -"@babel/helper-simple-access@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz#aaa473de92b7987c6dfa7ce9a7d9674724823367" - integrity sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA== - dependencies: - "@babel/types" "^7.17.0" - -"@babel/helper-skip-transparent-expression-wrappers@^7.16.0": - version "7.16.0" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz#0ee3388070147c3ae051e487eca3ebb0e2e8bb09" - integrity sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw== - dependencies: - "@babel/types" "^7.16.0" - -"@babel/helper-split-export-declaration@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b" - integrity sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw== - dependencies: - "@babel/types" "^7.16.7" - -"@babel/helper-validator-identifier@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" - integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw== - -"@babel/helper-validator-option@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23" - integrity sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ== - -"@babel/helper-wrap-function@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz#58afda087c4cd235de92f7ceedebca2c41274200" - integrity sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw== - dependencies: - "@babel/helper-function-name" "^7.16.7" - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.16.8" - "@babel/types" "^7.16.8" - -"@babel/helpers@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.9.tgz#b2af120821bfbe44f9907b1826e168e819375a1a" - integrity sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q== - dependencies: - "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.9" - "@babel/types" "^7.17.0" - -"@babel/highlight@^7.10.4", "@babel/highlight@^7.16.7": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.17.9.tgz#61b2ee7f32ea0454612def4fccdae0de232b73e3" - integrity sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg== - dependencies: - "@babel/helper-validator-identifier" "^7.16.7" - chalk "^2.0.0" + "@babel/helper-validator-identifier" "^7.24.7" + chalk "^2.4.2" js-tokens "^4.0.0" + picocolors "^1.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.12.0", "@babel/parser@^7.13.9", "@babel/parser@^7.16.4", "@babel/parser@^7.16.7", "@babel/parser@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.9.tgz#9c94189a6062f0291418ca021077983058e171ef" - integrity sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg== - -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz#4eda6d6c2a0aa79c70fa7b6da67763dfe2141050" - integrity sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz#cc001234dfc139ac45f6bcf801866198c8c72ff9" - integrity sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" - "@babel/plugin-proposal-optional-chaining" "^7.16.7" - -"@babel/plugin-proposal-async-generator-functions@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz#3bdd1ebbe620804ea9416706cd67d60787504bc8" - integrity sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-remap-async-to-generator" "^7.16.8" - "@babel/plugin-syntax-async-generators" "^7.8.4" - -"@babel/plugin-proposal-class-properties@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz#925cad7b3b1a2fcea7e59ecc8eb5954f961f91b0" - integrity sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-proposal-class-static-block@^7.16.7": - version "7.17.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.17.6.tgz#164e8fd25f0d80fa48c5a4d1438a6629325ad83c" - integrity sha512-X/tididvL2zbs7jZCeeRJ8167U/+Ac135AM6jCAx6gYXDUviZV5Ku9UDvWS2NCuWlFjIRXklYhwo6HhAC7ETnA== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.17.6" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - -"@babel/plugin-proposal-dynamic-import@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz#c19c897eaa46b27634a00fee9fb7d829158704b2" - integrity sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - -"@babel/plugin-proposal-export-namespace-from@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz#09de09df18445a5786a305681423ae63507a6163" - integrity sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - -"@babel/plugin-proposal-json-strings@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz#9732cb1d17d9a2626a08c5be25186c195b6fa6e8" - integrity sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-json-strings" "^7.8.3" - -"@babel/plugin-proposal-logical-assignment-operators@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz#be23c0ba74deec1922e639832904be0bea73cdea" - integrity sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - -"@babel/plugin-proposal-nullish-coalescing-operator@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz#141fc20b6857e59459d430c850a0011e36561d99" - integrity sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - -"@babel/plugin-proposal-numeric-separator@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz#d6b69f4af63fb38b6ca2558442a7fb191236eba9" - integrity sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - -"@babel/plugin-proposal-object-rest-spread@^7.15.6", "@babel/plugin-proposal-object-rest-spread@^7.16.7": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.17.3.tgz#d9eb649a54628a51701aef7e0ea3d17e2b9dd390" - integrity sha512-yuL5iQA/TbZn+RGAfxQXfi7CNLmKi1f8zInn4IgobuCWcAb7i+zj4TYzQ9l8cEzVyJ89PDGuqxK1xZpUDISesw== - dependencies: - "@babel/compat-data" "^7.17.0" - "@babel/helper-compilation-targets" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.16.7" - -"@babel/plugin-proposal-optional-catch-binding@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz#c623a430674ffc4ab732fd0a0ae7722b67cb74cf" - integrity sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - -"@babel/plugin-proposal-optional-chaining@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz#7cd629564724816c0e8a969535551f943c64c39a" - integrity sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - -"@babel/plugin-proposal-private-methods@^7.16.11": - version "7.16.11" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz#e8df108288555ff259f4527dbe84813aac3a1c50" - integrity sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.16.10" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-proposal-private-property-in-object@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz#b0b8cef543c2c3d57e59e2c611994861d46a3fce" - integrity sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-create-class-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - -"@babel/plugin-proposal-unicode-property-regex@^7.16.7", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz#635d18eb10c6214210ffc5ff4932552de08188a2" - integrity sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-syntax-async-generators@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-class-properties@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" - integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== - dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - -"@babel/plugin-syntax-class-static-block@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" - integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" +"@babel/parser@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.7.tgz#9a5226f92f0c5c8ead550b750f5608e766c8ce85" + integrity sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw== -"@babel/plugin-syntax-dynamic-import@^7.2.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": +"@babel/plugin-syntax-dynamic-import@^7.2.0": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-export-namespace-from@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" - integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.3" - -"@babel/plugin-syntax-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" - integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" - integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" - integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-numeric-separator@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" - integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-object-rest-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" - integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-chaining@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" - integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-private-property-in-object@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" - integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-top-level-await@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" - integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-transform-arrow-functions@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz#44125e653d94b98db76369de9c396dc14bef4154" - integrity sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-async-to-generator@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz#b83dff4b970cf41f1b819f8b49cc0cfbaa53a808" - integrity sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg== - dependencies: - "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-remap-async-to-generator" "^7.16.8" - -"@babel/plugin-transform-block-scoped-functions@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz#4d0d57d9632ef6062cdf354bb717102ee042a620" - integrity sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-block-scoping@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz#f50664ab99ddeaee5bc681b8f3a6ea9d72ab4f87" - integrity sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-classes@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz#8f4b9562850cd973de3b498f1218796eb181ce00" - integrity sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-function-name" "^7.16.7" - "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-replace-supers" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" - globals "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz#66dee12e46f61d2aae7a73710f591eb3df616470" - integrity sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-destructuring@^7.16.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.7.tgz#49dc2675a7afa9a5e4c6bdee636061136c3408d1" - integrity sha512-XVh0r5yq9sLR4vZ6eVZe8FKfIcSgaTBxVBRSYokRj2qksf6QerYnTxz9/GTuKTH/n/HwLP7t6gtlybHetJ/6hQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-dotall-regex@^7.16.7", "@babel/plugin-transform-dotall-regex@^7.4.4": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz#6b2d67686fab15fb6a7fd4bd895d5982cfc81241" - integrity sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-duplicate-keys@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz#2207e9ca8f82a0d36a5a67b6536e7ef8b08823c9" - integrity sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-exponentiation-operator@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz#efa9862ef97e9e9e5f653f6ddc7b665e8536fe9b" - integrity sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA== - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-for-of@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz#649d639d4617dff502a9a158c479b3b556728d8c" - integrity sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-function-name@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz#5ab34375c64d61d083d7d2f05c38d90b97ec65cf" - integrity sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA== - dependencies: - "@babel/helper-compilation-targets" "^7.16.7" - "@babel/helper-function-name" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz#254c9618c5ff749e87cb0c0cef1a0a050c0bdab1" - integrity sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-member-expression-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz#6e5dcf906ef8a098e630149d14c867dd28f92384" - integrity sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-modules-amd@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz#b28d323016a7daaae8609781d1f8c9da42b13186" - integrity sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g== - dependencies: - "@babel/helper-module-transforms" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-commonjs@^7.16.8": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.17.9.tgz#274be1a2087beec0254d4abd4d86e52442e1e5b6" - integrity sha512-2TBFd/r2I6VlYn0YRTz2JdazS+FoUuQ2rIFHoAxtyP/0G3D82SBLaRq9rnUkpqlLg03Byfl/+M32mpxjO6KaPw== - dependencies: - "@babel/helper-module-transforms" "^7.17.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-simple-access" "^7.17.7" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-systemjs@^7.16.7": - version "7.17.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.17.8.tgz#81fd834024fae14ea78fbe34168b042f38703859" - integrity sha512-39reIkMTUVagzgA5x88zDYXPCMT6lcaRKs1+S9K6NKBPErbgO/w/kP8GlNQTC87b412ZTlmNgr3k2JrWgHH+Bw== - dependencies: - "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-module-transforms" "^7.17.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-validator-identifier" "^7.16.7" - babel-plugin-dynamic-import-node "^2.3.3" - -"@babel/plugin-transform-modules-umd@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz#23dad479fa585283dbd22215bff12719171e7618" - integrity sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ== - dependencies: - "@babel/helper-module-transforms" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz#7f860e0e40d844a02c9dcf9d84965e7dfd666252" - integrity sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.16.7" - -"@babel/plugin-transform-new-target@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz#9967d89a5c243818e0800fdad89db22c5f514244" - integrity sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-object-super@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz#ac359cf8d32cf4354d27a46867999490b6c32a94" - integrity sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-replace-supers" "^7.16.7" - -"@babel/plugin-transform-parameters@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz#a1721f55b99b736511cb7e0152f61f17688f331f" - integrity sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-property-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz#2dadac85155436f22c696c4827730e0fe1057a55" - integrity sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-regenerator@^7.16.7": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.17.9.tgz#0a33c3a61cf47f45ed3232903683a0afd2d3460c" - integrity sha512-Lc2TfbxR1HOyn/c6b4Y/b6NHoTb67n/IoWLxTu4kC7h4KQnWlhCq2S8Tx0t2SVvv5Uu87Hs+6JEJ5kt2tYGylQ== - dependencies: - regenerator-transform "^0.15.0" - -"@babel/plugin-transform-reserved-words@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz#1d798e078f7c5958eec952059c460b220a63f586" - integrity sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-runtime@^7.15.8": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.17.0.tgz#0a2e08b5e2b2d95c4b1d3b3371a2180617455b70" - integrity sha512-fr7zPWnKXNc1xoHfrIU9mN/4XKX4VLZ45Q+oMhfsYIaHvg7mHgmhfOy/ckRWqDK7XF3QDigRpkh5DKq6+clE8A== +"@babel/runtime@^7.10.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.21.0": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" + integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== dependencies: - "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - babel-plugin-polyfill-corejs2 "^0.3.0" - babel-plugin-polyfill-corejs3 "^0.5.0" - babel-plugin-polyfill-regenerator "^0.3.0" - semver "^6.3.0" - -"@babel/plugin-transform-shorthand-properties@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz#e8549ae4afcf8382f711794c0c7b6b934c5fbd2a" - integrity sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-spread@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz#a303e2122f9f12e0105daeedd0f30fb197d8ff44" - integrity sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" - -"@babel/plugin-transform-sticky-regex@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz#c84741d4f4a38072b9a1e2e3fd56d359552e8660" - integrity sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-template-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz#f3d1c45d28967c8e80f53666fc9c3e50618217ab" - integrity sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-typeof-symbol@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz#9cdbe622582c21368bd482b660ba87d5545d4f7e" - integrity sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-unicode-escapes@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz#da8717de7b3287a2c6d659750c964f302b31ece3" - integrity sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q== - dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/plugin-transform-unicode-regex@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz#0f7aa4a501198976e25e82702574c34cfebe9ef2" - integrity sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - -"@babel/preset-env@^7.15.8": - version "7.16.11" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.16.11.tgz#5dd88fd885fae36f88fd7c8342475c9f0abe2982" - integrity sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g== - dependencies: - "@babel/compat-data" "^7.16.8" - "@babel/helper-compilation-targets" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-validator-option" "^7.16.7" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.16.7" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.16.7" - "@babel/plugin-proposal-async-generator-functions" "^7.16.8" - "@babel/plugin-proposal-class-properties" "^7.16.7" - "@babel/plugin-proposal-class-static-block" "^7.16.7" - "@babel/plugin-proposal-dynamic-import" "^7.16.7" - "@babel/plugin-proposal-export-namespace-from" "^7.16.7" - "@babel/plugin-proposal-json-strings" "^7.16.7" - "@babel/plugin-proposal-logical-assignment-operators" "^7.16.7" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.16.7" - "@babel/plugin-proposal-numeric-separator" "^7.16.7" - "@babel/plugin-proposal-object-rest-spread" "^7.16.7" - "@babel/plugin-proposal-optional-catch-binding" "^7.16.7" - "@babel/plugin-proposal-optional-chaining" "^7.16.7" - "@babel/plugin-proposal-private-methods" "^7.16.11" - "@babel/plugin-proposal-private-property-in-object" "^7.16.7" - "@babel/plugin-proposal-unicode-property-regex" "^7.16.7" - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - "@babel/plugin-syntax-top-level-await" "^7.14.5" - "@babel/plugin-transform-arrow-functions" "^7.16.7" - "@babel/plugin-transform-async-to-generator" "^7.16.8" - "@babel/plugin-transform-block-scoped-functions" "^7.16.7" - "@babel/plugin-transform-block-scoping" "^7.16.7" - "@babel/plugin-transform-classes" "^7.16.7" - "@babel/plugin-transform-computed-properties" "^7.16.7" - "@babel/plugin-transform-destructuring" "^7.16.7" - "@babel/plugin-transform-dotall-regex" "^7.16.7" - "@babel/plugin-transform-duplicate-keys" "^7.16.7" - "@babel/plugin-transform-exponentiation-operator" "^7.16.7" - "@babel/plugin-transform-for-of" "^7.16.7" - "@babel/plugin-transform-function-name" "^7.16.7" - "@babel/plugin-transform-literals" "^7.16.7" - "@babel/plugin-transform-member-expression-literals" "^7.16.7" - "@babel/plugin-transform-modules-amd" "^7.16.7" - "@babel/plugin-transform-modules-commonjs" "^7.16.8" - "@babel/plugin-transform-modules-systemjs" "^7.16.7" - "@babel/plugin-transform-modules-umd" "^7.16.7" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.16.8" - "@babel/plugin-transform-new-target" "^7.16.7" - "@babel/plugin-transform-object-super" "^7.16.7" - "@babel/plugin-transform-parameters" "^7.16.7" - "@babel/plugin-transform-property-literals" "^7.16.7" - "@babel/plugin-transform-regenerator" "^7.16.7" - "@babel/plugin-transform-reserved-words" "^7.16.7" - "@babel/plugin-transform-shorthand-properties" "^7.16.7" - "@babel/plugin-transform-spread" "^7.16.7" - "@babel/plugin-transform-sticky-regex" "^7.16.7" - "@babel/plugin-transform-template-literals" "^7.16.7" - "@babel/plugin-transform-typeof-symbol" "^7.16.7" - "@babel/plugin-transform-unicode-escapes" "^7.16.7" - "@babel/plugin-transform-unicode-regex" "^7.16.7" - "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.16.8" - babel-plugin-polyfill-corejs2 "^0.3.0" - babel-plugin-polyfill-corejs3 "^0.5.0" - babel-plugin-polyfill-regenerator "^0.3.0" - core-js-compat "^3.20.2" - semver "^6.3.0" - -"@babel/preset-modules@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" - integrity sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" - "@babel/plugin-transform-dotall-regex" "^7.4.4" - "@babel/types" "^7.4.4" - esutils "^2.0.2" - -"@babel/runtime@^7.10.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.15.4", "@babel/runtime@^7.8.4": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72" - integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg== - dependencies: - regenerator-runtime "^0.13.4" - -"@babel/template@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" - integrity sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w== - dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/parser" "^7.16.7" - "@babel/types" "^7.16.7" - -"@babel/traverse@^7.13.0", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.3", "@babel/traverse@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.9.tgz#1f9b207435d9ae4a8ed6998b2b82300d83c37a0d" - integrity sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw== - dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.17.9" - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-function-name" "^7.17.9" - "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/parser" "^7.17.9" - "@babel/types" "^7.17.0" - debug "^4.1.0" - globals "^11.1.0" - -"@babel/types@^7.0.0", "@babel/types@^7.12.0", "@babel/types@^7.13.0", "@babel/types@^7.16.0", "@babel/types@^7.16.7", "@babel/types@^7.16.8", "@babel/types@^7.17.0", "@babel/types@^7.3.0", "@babel/types@^7.4.4": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b" - integrity sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw== - dependencies: - "@babel/helper-validator-identifier" "^7.16.7" - to-fast-properties "^2.0.0" - -"@colors/colors@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" - integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== + regenerator-runtime "^0.14.0" "@ctrl/tinycolor@^3.4.0": - version "3.4.1" - resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.4.1.tgz#75b4c27948c81e88ccd3a8902047bcd797f38d32" - integrity sha512-ej5oVy6lykXsvieQtqZxCOaLT+xD4+QNarq78cIYISHmZXshCvROLudpQN3lfL8G0NL7plMSSK+zlyvCaIJ4Iw== - -"@cypress/listr-verbose-renderer@^0.4.1": - version "0.4.1" - resolved "https://registry.yarnpkg.com/@cypress/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#a77492f4b11dcc7c446a34b3e28721afd33c642a" - integrity sha1-p3SS9LEdzHxEajSz4ochr9M8ZCo= - dependencies: - chalk "^1.1.3" - cli-cursor "^1.0.2" - date-fns "^1.27.2" - figures "^1.7.0" - -"@cypress/request@^2.88.5": - version "2.88.10" - resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.10.tgz#b66d76b07f860d3a4b8d7a0604d020c662752cce" - integrity sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - http-signature "~1.3.6" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^8.3.2" - -"@cypress/xvfb@^1.2.4": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@cypress/xvfb/-/xvfb-1.2.4.tgz#2daf42e8275b39f4aa53c14214e557bd14e7748a" - integrity sha512-skbBzPggOVYCbnGgV+0dmBdW/s77ZkAOXIC1knS8NagwDjBrNC1LuXtQJeiN6l+m7lzmHtaoUw/ctJKdqkG57Q== - dependencies: - debug "^3.1.0" - lodash.once "^4.1.1" + version "3.6.1" + resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz#b6c75a56a1947cc916ea058772d666a2c8932f31" + integrity sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA== -"@discoveryjs/json-ext@^0.5.0": - version "0.5.7" - resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" - integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== +"@esbuild/linux-loong64@0.14.54": + version "0.14.54" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" + integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw== "@eslint/eslintrc@^0.4.3": version "0.4.3" @@ -998,13 +101,6 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@fullhuman/postcss-purgecss@^3.0.0": - version "3.1.3" - resolved "https://registry.yarnpkg.com/@fullhuman/postcss-purgecss/-/postcss-purgecss-3.1.3.tgz#47af7b87c9bfb3de4bc94a38f875b928fffdf339" - integrity sha512-kwOXw8fZ0Lt1QmeOOrd+o4Ibvp4UTEBFQbzvWldjlKv5n+G9sXfIPn1hh63IQIL8K8vbvv1oYMJiIUbuy9bGaA== - dependencies: - purgecss "^3.1.3" - "@humanwhocodes/config-array@^0.5.0": version "0.5.0" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9" @@ -1019,12 +115,15 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== -"@inertiajs/inertia-vue3@^0.3.5": - version "0.3.14" - resolved "https://registry.yarnpkg.com/@inertiajs/inertia-vue3/-/inertia-vue3-0.3.14.tgz#d5c1704b4ccf7bd7552bffbfc3d1520f12d148d4" - integrity sha512-0GU1VccEloABiL2nPrh4Fc8elgD3gmAt6R64IECISrjwu8VrqKUEQLqhgUttPK05ZIj3tyqakN/VgE+4Ovuxng== +"@inertiajs/core@1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@inertiajs/core/-/core-1.2.0.tgz#3cdc88bc17c20eefdae99a778eac7be1ead9b14b" + integrity sha512-6U0gqCPbGGGMcLoDm+ckKipc5gptZMmfVFfPGdO7vlO7yipWf1RD+TKkcZGJklFvfgFMKwK2VPw8GAv1OctuQA== dependencies: - lodash.clonedeep "^4.5.0" + axios "^1.6.0" + deepmerge "^4.0.0" + nprogress "^0.2.0" + qs "^6.9.0" "@inertiajs/inertia@^0.8.4": version "0.8.7" @@ -1042,196 +141,169 @@ dependencies: nprogress "^0.2.0" -"@intlify/core-base@9.1.9": - version "9.1.9" - resolved "https://registry.yarnpkg.com/@intlify/core-base/-/core-base-9.1.9.tgz#e4e8c951010728e4af3a0d13d74cf3f9e7add7f6" - integrity sha512-x5T0p/Ja0S8hs5xs+ImKyYckVkL4CzcEXykVYYV6rcbXxJTe2o58IquSqX9bdncVKbRZP7GlBU1EcRaQEEJ+vw== - dependencies: - "@intlify/devtools-if" "9.1.9" - "@intlify/message-compiler" "9.1.9" - "@intlify/message-resolver" "9.1.9" - "@intlify/runtime" "9.1.9" - "@intlify/shared" "9.1.9" - "@intlify/vue-devtools" "9.1.9" - -"@intlify/devtools-if@9.1.9": - version "9.1.9" - resolved "https://registry.yarnpkg.com/@intlify/devtools-if/-/devtools-if-9.1.9.tgz#a30e1dd1256ff2c5c98d8d75d075384fba898e5d" - integrity sha512-oKSMKjttG3Ut/1UGEZjSdghuP3fwA15zpDPcjkf/1FjlOIm6uIBGMNS5jXzsZy593u+P/YcnrZD6cD3IVFz9vQ== +"@inertiajs/vue3@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@inertiajs/vue3/-/vue3-1.2.0.tgz#fc64a4ca7ed2d018d375b77504545b5e9ec23efe" + integrity sha512-Y6AsvwIK/E1pQKAMp8B7i99CbNApcTYb7j8R+TXM/AFQG6yBlQ1Qb9oFMItb6VimXSnDyfO4+FWe/JPLk9OIVA== dependencies: - "@intlify/shared" "9.1.9" + "@inertiajs/core" "1.2.0" + lodash.clonedeep "^4.5.0" + lodash.isequal "^4.5.0" -"@intlify/message-compiler@9.1.9": - version "9.1.9" - resolved "https://registry.yarnpkg.com/@intlify/message-compiler/-/message-compiler-9.1.9.tgz#1193cbd224a71c2fb981455b8534a3c766d2948d" - integrity sha512-6YgCMF46Xd0IH2hMRLCssZI3gFG4aywidoWQ3QP4RGYQXQYYfFC54DxhSgfIPpVoPLQ+4AD29eoYmhiHZ+qLFQ== +"@intlify/core-base@9.13.1": + version "9.13.1" + resolved "https://registry.yarnpkg.com/@intlify/core-base/-/core-base-9.13.1.tgz#bd1f38e665095993ef9b67aeeb794f3cabcb515d" + integrity sha512-+bcQRkJO9pcX8d0gel9ZNfrzU22sZFSA0WVhfXrf5jdJOS24a+Bp8pozuS9sBI9Hk/tGz83pgKfmqcn/Ci7/8w== dependencies: - "@intlify/message-resolver" "9.1.9" - "@intlify/shared" "9.1.9" - source-map "0.6.1" + "@intlify/message-compiler" "9.13.1" + "@intlify/shared" "9.13.1" -"@intlify/message-resolver@9.1.9": - version "9.1.9" - resolved "https://registry.yarnpkg.com/@intlify/message-resolver/-/message-resolver-9.1.9.tgz#3155ccd2f5e6d0dc16cad8b7f1d8e97fcda05bfc" - integrity sha512-Lx/DBpigeK0sz2BBbzv5mu9/dAlt98HxwbG7xLawC3O2xMF9MNWU5FtOziwYG6TDIjNq0O/3ZbOJAxwITIWXEA== - -"@intlify/runtime@9.1.9": - version "9.1.9" - resolved "https://registry.yarnpkg.com/@intlify/runtime/-/runtime-9.1.9.tgz#2c12ce29518a075629efed0a8ed293ee740cb285" - integrity sha512-XgPw8+UlHCiie3fI41HPVa/VDJb3/aSH7bLhY1hJvlvNV713PFtb4p4Jo+rlE0gAoMsMCGcsiT982fImolSltg== - dependencies: - "@intlify/message-compiler" "9.1.9" - "@intlify/message-resolver" "9.1.9" - "@intlify/shared" "9.1.9" - -"@intlify/shared@9.1.9": - version "9.1.9" - resolved "https://registry.yarnpkg.com/@intlify/shared/-/shared-9.1.9.tgz#0baaf96128b85560666bec784ffb01f6623cc17a" - integrity sha512-xKGM1d0EAxdDFCWedcYXOm6V5Pfw/TMudd6/qCdEb4tv0hk9EKeg7lwQF1azE0dP2phvx0yXxrt7UQK+IZjNdw== - -"@intlify/vue-devtools@9.1.9": - version "9.1.9" - resolved "https://registry.yarnpkg.com/@intlify/vue-devtools/-/vue-devtools-9.1.9.tgz#2be8f4dbe7f7ed4115676eb32348141d411e426b" - integrity sha512-YPehH9uL4vZcGXky4Ev5qQIITnHKIvsD2GKGXgqf+05osMUI6WSEQHaN9USRa318Rs8RyyPCiDfmA0hRu3k7og== - dependencies: - "@intlify/message-resolver" "9.1.9" - "@intlify/runtime" "9.1.9" - "@intlify/shared" "9.1.9" - -"@jridgewell/resolve-uri@^3.0.3": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz#68eb521368db76d040a6315cdb24bf2483037b9c" - integrity sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew== - -"@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.11" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz#771a1d8d744eeb71b6adb35808e1a6c7b9b8c8ec" - integrity sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg== - -"@jridgewell/trace-mapping@^0.3.0": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz#f6a0832dffd5b8a6aaa633b7d9f8e8e94c83a0c3" - integrity sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ== - dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" - -"@leichtgewicht/ip-codec@^2.0.1": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.3.tgz#0300943770e04231041a51bd39f0439b5c7ab4f0" - integrity sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg== - -"@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== +"@intlify/message-compiler@9.13.1": + version "9.13.1" + resolved "https://registry.yarnpkg.com/@intlify/message-compiler/-/message-compiler-9.13.1.tgz#ff8129badf77db3fb648b8d3cceee87c8033ed0a" + integrity sha512-SKsVa4ajYGBVm7sHMXd5qX70O2XXjm55zdZB3VeMFCvQyvLew/dLvq3MqnaIsTMF1VkkOb9Ttr6tHcMlyPDL9w== dependencies: - "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + "@intlify/shared" "9.13.1" + source-map-js "^1.0.2" -"@nodelib/fs.walk@^1.2.3": - version "1.2.8" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== - dependencies: - "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" +"@intlify/shared@9.13.1": + version "9.13.1" + resolved "https://registry.yarnpkg.com/@intlify/shared/-/shared-9.13.1.tgz#202741d11ece1a9c7480bfd3f27afcf9cb8f72e4" + integrity sha512-u3b6BKGhE6j/JeRU6C/RL2FgyJfy6LakbtfeVF8fJXURpZZTzfh3e05J0bu0XPw447Q6/WUp3C4ajv4TMS4YsQ== -"@popperjs/core@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.4.0.tgz#0e1bdf8d021e7ea58affade33d9d607e11365915" - integrity sha512-NMrDy6EWh9TPdSRiHmHH2ye1v5U0gBD7pRYwSwJvomx7Bm4GG04vu63dYiVzebLOx2obPpJugew06xVP0Nk7hA== +"@jridgewell/sourcemap-codec@^1.4.15": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== "@popperjs/core@^2.5": - version "2.11.5" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.5.tgz#db5a11bf66bdab39569719555b0f76e138d7bd64" - integrity sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw== - -"@samverschueren/stream-to-observable@^0.3.0": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301" - integrity sha512-c/qwwcHyafOQuVQJj0IlBjf5yYgBI7YPJ77k4fOJYesb41jio65eaJODRUmfYKhTOFBrIZ66kgvGPlNbjuoRdQ== - dependencies: - any-observable "^0.3.0" - -"@sentry/browser@^6.2.5": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-6.19.6.tgz#75be467667fffa1f4745382fc7a695568609c634" - integrity sha512-V5QyY1cO1iuFCI78dOFbHV7vckbeQEPPq3a5dGSXlBQNYnd9Ec5xoxp5nRNpWQPOZ8/Ixt9IgRxdqVTkWib51g== - dependencies: - "@sentry/core" "6.19.6" - "@sentry/types" "6.19.6" - "@sentry/utils" "6.19.6" - tslib "^1.9.3" - -"@sentry/core@6.19.6": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-6.19.6.tgz#7d4649d0148b5d0be1358ab02e2f869bf7363e9a" - integrity sha512-biEotGRr44/vBCOegkTfC9rwqaqRKIpFljKGyYU6/NtzMRooktqOhjmjmItNCMRknArdeaQwA8lk2jcZDXX3Og== - dependencies: - "@sentry/hub" "6.19.6" - "@sentry/minimal" "6.19.6" - "@sentry/types" "6.19.6" - "@sentry/utils" "6.19.6" - tslib "^1.9.3" - -"@sentry/hub@6.19.6": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-6.19.6.tgz#ada83ceca0827c49534edfaba018221bc1eb75e1" - integrity sha512-PuEOBZxvx3bjxcXmWWZfWXG+orojQiWzv9LQXjIgroVMKM/GG4QtZbnWl1hOckUj7WtKNl4hEGO2g/6PyCV/vA== - dependencies: - "@sentry/types" "6.19.6" - "@sentry/utils" "6.19.6" + version "2.11.8" + resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f" + integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== + +"@sentry-internal/browser-utils@8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/browser-utils/-/browser-utils-8.13.0.tgz#b7c3bdd49d2382f60dde31745716d29dd419b6ba" + integrity sha512-lqq8BYbbs9KTlDuyB5NjdZB6P/llqQs32KUgaCQ/k5DFB4Zf56+BFHXObnMHxwx375X1uixtnEphagWZa+nsLQ== + dependencies: + "@sentry/core" "8.13.0" + "@sentry/types" "8.13.0" + "@sentry/utils" "8.13.0" + +"@sentry-internal/feedback@8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/feedback/-/feedback-8.13.0.tgz#100eeeb558536e2390ded8fb58cba3984ac41abd" + integrity sha512-YyJ6SzpTonixvguAg0H9vkEp7Jq8ZeVY8M4n47ClR0+TtaAUp04ZhcJpHKF7PwBIAzc7DRr2XP112tmWgiVEcg== + dependencies: + "@sentry/core" "8.13.0" + "@sentry/types" "8.13.0" + "@sentry/utils" "8.13.0" + +"@sentry-internal/replay-canvas@8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay-canvas/-/replay-canvas-8.13.0.tgz#fce0fb82ab85badb421244d75bc616948fb6db64" + integrity sha512-lPlfWVIHX+gW4S8a/UOVutuqMyQhlkNUAay0W21MVhZJT5Mtj0p21D/Cz7nrOQRDIiLNq90KAGK2tLxx5NkiWA== + dependencies: + "@sentry-internal/replay" "8.13.0" + "@sentry/core" "8.13.0" + "@sentry/types" "8.13.0" + "@sentry/utils" "8.13.0" + +"@sentry-internal/replay@8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/replay/-/replay-8.13.0.tgz#84e57e3596e24ad0bc31eb61540c81c3737c09ff" + integrity sha512-DJ1jF/Pab0FH4SeCvSGCnGAu/s0wJvhBWM5VjQp7Jjmcfunp+R3vJibqU8gAVZU1nYRLaqprLdIXrSyP2Km8nQ== + dependencies: + "@sentry-internal/browser-utils" "8.13.0" + "@sentry/core" "8.13.0" + "@sentry/types" "8.13.0" + "@sentry/utils" "8.13.0" + +"@sentry/browser@^8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-8.13.0.tgz#38329ff716d681d8dc5445c1660698b186d05723" + integrity sha512-/tp7HZ5qjwDLtwooPMoexdAi2PG7gMNY0bHeMlwy20hs8mclC8RW8ZiJA6czXHfgnbmvxfrHaY53IJyz//JnlA== + dependencies: + "@sentry-internal/browser-utils" "8.13.0" + "@sentry-internal/feedback" "8.13.0" + "@sentry-internal/replay" "8.13.0" + "@sentry-internal/replay-canvas" "8.13.0" + "@sentry/core" "8.13.0" + "@sentry/types" "8.13.0" + "@sentry/utils" "8.13.0" + +"@sentry/core@8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-8.13.0.tgz#5b2a83402013b828bf2c49c82e751ca490f8669a" + integrity sha512-N9Qg4ZGxZWp8eb2eUUHVVKgjBLtFIjS805nG92s6yJmkvOpKm6mLtcUaT/iDf3Hta6nG+xRkhbE3r+Z4cbXG8w== + dependencies: + "@sentry/types" "8.13.0" + "@sentry/utils" "8.13.0" + +"@sentry/hub@6.19.7": + version "6.19.7" + resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-6.19.7.tgz#58ad7776bbd31e9596a8ec46365b45cd8b9cfd11" + integrity sha512-y3OtbYFAqKHCWezF0EGGr5lcyI2KbaXW2Ik7Xp8Mu9TxbSTuwTe4rTntwg8ngPjUQU3SUHzgjqVB8qjiGqFXCA== + dependencies: + "@sentry/types" "6.19.7" + "@sentry/utils" "6.19.7" tslib "^1.9.3" "@sentry/integrations@^6.2.5": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-6.19.6.tgz#157152f16a8ad8df8a97d08bfe740909446b075a" - integrity sha512-K2xuA/ByhTh3qfIe0/XIsQSNf1HrRuIgtkC4TbU7T0QosybtXDsh6t/EWK+qzs2RjVE+Iaqldihstpoyew1JgA== + version "6.19.7" + resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-6.19.7.tgz#e6e126b692077c8731644224c754012bed65b425" + integrity sha512-yNeeFyuygJaV7Mdc5qWuDa13xVj5mVdECaaw2Xs4pfeHaXmRfRzZY17N8ypWFegKWxKBHynyQRMD10W5pBwJvA== dependencies: - "@sentry/types" "6.19.6" - "@sentry/utils" "6.19.6" + "@sentry/types" "6.19.7" + "@sentry/utils" "6.19.7" localforage "^1.8.1" tslib "^1.9.3" -"@sentry/minimal@6.19.6": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-6.19.6.tgz#b6cced3708e25d322039e68ebdf8fadfa445bf7d" - integrity sha512-T1NKcv+HTlmd8EbzUgnGPl4ySQGHWMCyZ8a8kXVMZOPDzphN3fVIzkYzWmSftCWp0rpabXPt9aRF2mfBKU+mAQ== +"@sentry/minimal@6.19.7": + version "6.19.7" + resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-6.19.7.tgz#b3ee46d6abef9ef3dd4837ebcb6bdfd01b9aa7b4" + integrity sha512-wcYmSJOdvk6VAPx8IcmZgN08XTXRwRtB1aOLZm+MVHjIZIhHoBGZJYTVQS/BWjldsamj2cX3YGbGXNunaCfYJQ== dependencies: - "@sentry/hub" "6.19.6" - "@sentry/types" "6.19.6" + "@sentry/hub" "6.19.7" + "@sentry/types" "6.19.7" tslib "^1.9.3" "@sentry/tracing@^6.2.5": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-6.19.6.tgz#faa156886afe441730f03cf9ac9c4982044b7135" - integrity sha512-STZdlEtTBqRmPw6Vjkzi/1kGkGPgiX0zdHaSOhSeA2HXHwx7Wnfu7veMKxtKWdO+0yW9QZGYOYqp0GVf4Swujg== - dependencies: - "@sentry/hub" "6.19.6" - "@sentry/minimal" "6.19.6" - "@sentry/types" "6.19.6" - "@sentry/utils" "6.19.6" + version "6.19.7" + resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-6.19.7.tgz#54bb99ed5705931cd33caf71da347af769f02a4c" + integrity sha512-ol4TupNnv9Zd+bZei7B6Ygnr9N3Gp1PUrNI761QSlHtPC25xXC5ssSD3GMhBgyQrcvpuRcCFHVNNM97tN5cZiA== + dependencies: + "@sentry/hub" "6.19.7" + "@sentry/minimal" "6.19.7" + "@sentry/types" "6.19.7" + "@sentry/utils" "6.19.7" tslib "^1.9.3" -"@sentry/types@6.19.6": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-6.19.6.tgz#70513f9dca05d23d7ab9c2a6cb08d4db6763ca67" - integrity sha512-QH34LMJidEUPZK78l+Frt3AaVFJhEmIi05Zf8WHd9/iTt+OqvCHBgq49DDr1FWFqyYWm/QgW/3bIoikFpfsXyQ== +"@sentry/types@6.19.7": + version "6.19.7" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-6.19.7.tgz#c6b337912e588083fc2896eb012526cf7cfec7c7" + integrity sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg== + +"@sentry/types@8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-8.13.0.tgz#0753700af93592b65272e63c396b3c0202dd3105" + integrity sha512-r63s/H5gvQnQM9tTGBXz2xErUbxZALh4e2Lg/1aHj4zIvGLBjA2z5qWsh6TEZYbpmgAyGShLDr6+rWeUVf9yBQ== -"@sentry/utils@6.19.6": - version "6.19.6" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-6.19.6.tgz#2ddc9ef036c3847084c43d0e5a55e4646bdf9021" - integrity sha512-fAMWcsguL0632eWrROp/vhPgI7sBj/JROWVPzpabwVkm9z3m1rQm6iLFn4qfkZL8Ozy6NVZPXOQ7EXmeU24byg== +"@sentry/utils@6.19.7": + version "6.19.7" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-6.19.7.tgz#6edd739f8185fd71afe49cbe351c1bbf5e7b7c79" + integrity sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA== dependencies: - "@sentry/types" "6.19.6" + "@sentry/types" "6.19.7" tslib "^1.9.3" +"@sentry/utils@8.13.0": + version "8.13.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-8.13.0.tgz#b2cce61705ea95a639db932f000247bddf13aa16" + integrity sha512-PxV0v9VbGWH9zP37P5w2msLUFDr287nYjoY2XVF+RSolyiTs1CQNI5ZMUO3o4MsSac/dpXxjyrZXQd72t/jRYA== + dependencies: + "@sentry/types" "8.13.0" + "@simonwep/pickr@~1.8.0": version "1.8.2" resolved "https://registry.yarnpkg.com/@simonwep/pickr/-/pickr-1.8.2.tgz#96dc86675940d7cad63d69c22083dd1cbb9797cb" @@ -1245,11 +317,6 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== -"@sindresorhus/is@^4.0.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" - integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== - "@szmarczak/http-timer@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" @@ -1257,617 +324,115 @@ dependencies: defer-to-connect "^1.0.1" -"@szmarczak/http-timer@^4.0.5": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" - integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== - dependencies: - defer-to-connect "^2.0.0" - -"@trysound/sax@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" - integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== - -"@types/babel__core@^7.1.16": - version "7.1.19" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460" - integrity sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw== - dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" - "@types/babel__generator" "*" - "@types/babel__template" "*" - "@types/babel__traverse" "*" - -"@types/babel__generator@*": - version "7.6.4" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" - integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== - dependencies: - "@babel/types" "^7.0.0" - -"@types/babel__template@*": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" - integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== - dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" - -"@types/babel__traverse@*": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.14.2.tgz#ffcd470bbb3f8bf30481678fb5502278ca833a43" - integrity sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA== - dependencies: - "@babel/types" "^7.3.0" - -"@types/body-parser@*": - version "1.19.2" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" - integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g== - dependencies: - "@types/connect" "*" - "@types/node" "*" - -"@types/bonjour@^3.5.9": - version "3.5.10" - resolved "https://registry.yarnpkg.com/@types/bonjour/-/bonjour-3.5.10.tgz#0f6aadfe00ea414edc86f5d106357cda9701e275" - integrity sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw== - dependencies: - "@types/node" "*" - -"@types/cacheable-request@^6.0.1": - version "6.0.2" - resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.2.tgz#c324da0197de0a98a2312156536ae262429ff6b9" - integrity sha512-B3xVo+dlKM6nnKTcmm5ZtY/OL8bOAOd2Olee9M1zft65ox50OzjEHW91sDiU9j6cvW8Ejg1/Qkf4xd2kugApUA== - dependencies: - "@types/http-cache-semantics" "*" - "@types/keyv" "*" - "@types/node" "*" - "@types/responselike" "*" - -"@types/clean-css@^4.2.5": - version "4.2.5" - resolved "https://registry.yarnpkg.com/@types/clean-css/-/clean-css-4.2.5.tgz#69ce62cc13557c90ca40460133f672dc52ceaf89" - integrity sha512-NEzjkGGpbs9S9fgC4abuBvTpVwE3i+Acu9BBod3PUyjDVZcNsGx61b8r2PphR61QGPnn0JHVs5ey6/I4eTrkxw== - dependencies: - "@types/node" "*" - source-map "^0.6.0" - -"@types/connect-history-api-fallback@^1.3.5": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae" - integrity sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw== - dependencies: - "@types/express-serve-static-core" "*" - "@types/node" "*" - -"@types/connect@*": - version "3.4.35" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" - integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== - dependencies: - "@types/node" "*" - -"@types/eslint-scope@^3.7.3": - version "3.7.3" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.3.tgz#125b88504b61e3c8bc6f870882003253005c3224" - integrity sha512-PB3ldyrcnAicT35TWPs5IcwKD8S333HMaa2VVv4+wdvebJkjWuW/xESoB8IwRcog8HYVYamb1g/R31Qv5Bx03g== - dependencies: - "@types/eslint" "*" - "@types/estree" "*" - -"@types/eslint@*": - version "8.4.1" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.1.tgz#c48251553e8759db9e656de3efc846954ac32304" - integrity sha512-GE44+DNEyxxh2Kc6ro/VkIj+9ma0pO0bwv9+uHSyBrikYOHr8zYcdPvnBOp1aw8s+CjRvuSx7CyWqRrNFQ59mA== - dependencies: - "@types/estree" "*" - "@types/json-schema" "*" - -"@types/estree@*", "@types/estree@^0.0.51": - version "0.0.51" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" - integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== - -"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18": - version "4.17.28" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz#c47def9f34ec81dc6328d0b1b5303d1ec98d86b8" - integrity sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig== - dependencies: - "@types/node" "*" - "@types/qs" "*" - "@types/range-parser" "*" - -"@types/express@*", "@types/express@^4.17.13": - version "4.17.13" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.13.tgz#a76e2995728999bab51a33fabce1d705a3709034" - integrity sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA== - dependencies: - "@types/body-parser" "*" - "@types/express-serve-static-core" "^4.17.18" - "@types/qs" "*" - "@types/serve-static" "*" - -"@types/glob@^7.1.1": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" - integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== - dependencies: - "@types/minimatch" "*" - "@types/node" "*" - -"@types/http-cache-semantics@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" - integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== - -"@types/http-proxy@^1.17.8": - version "1.17.8" - resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.8.tgz#968c66903e7e42b483608030ee85800f22d03f55" - integrity sha512-5kPLG5BKpWYkw/LVOGWpiq3nEVqxiN32rTgI53Sk12/xHFQ2rG3ehI9IO+O3W2QoKeyB92dJkoka8SUm6BX1pA== - dependencies: - "@types/node" "*" - -"@types/imagemin-gifsicle@^7.0.1": - version "7.0.1" - resolved "https://registry.yarnpkg.com/@types/imagemin-gifsicle/-/imagemin-gifsicle-7.0.1.tgz#0844a96a338438bb98f77b298acf217260d0d409" - integrity sha512-kUz6sUh0P95JOS0RGEaaemWUrASuw+dLsWIveK2UZJx74id/B9epgblMkCk/r5MjUWbZ83wFvacG5Rb/f97gyA== - dependencies: - "@types/imagemin" "*" - -"@types/imagemin-mozjpeg@^8.0.1": - version "8.0.1" - resolved "https://registry.yarnpkg.com/@types/imagemin-mozjpeg/-/imagemin-mozjpeg-8.0.1.tgz#eaf2f07aea3a317a1710ef2c763ec53f3bcfcdc5" - integrity sha512-kMQWEoKxxhlnH4POI3qfW9DjXlQfi80ux3l2b3j5R3eudSCoUIzKQLkfMjNJ6eMYnMWBcB+rfQOWqIzdIwFGKw== - dependencies: - "@types/imagemin" "*" - -"@types/imagemin-optipng@^5.2.1": - version "5.2.1" - resolved "https://registry.yarnpkg.com/@types/imagemin-optipng/-/imagemin-optipng-5.2.1.tgz#6ef033f3b15d281009de4e0bd2cadf6cbd2e741a" - integrity sha512-XCM/3q+HUL7v4zOqMI+dJ5dTxT+MUukY9KU49DSnYb/4yWtSMHJyADP+WHSMVzTR63J2ZvfUOzSilzBNEQW78g== - dependencies: - "@types/imagemin" "*" - -"@types/imagemin-svgo@^8.0.0": - version "8.0.1" - resolved "https://registry.yarnpkg.com/@types/imagemin-svgo/-/imagemin-svgo-8.0.1.tgz#03af689b75dbdeb634c2457ba22043530a00d87e" - integrity sha512-YafkdrVAcr38U0Ln1C+L1n4SIZqC47VBHTyxCq7gTUSd1R9MdIvMcrljWlgU1M9O68WZDeQWUrKipKYfEOCOvQ== - dependencies: - "@types/imagemin" "*" - "@types/svgo" "^1" - -"@types/imagemin@*": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@types/imagemin/-/imagemin-8.0.0.tgz#bf5bbe1feff3b112c7e0de06d024712ad261e033" - integrity sha512-B9X2CUeDv/uUeY9CqkzSTfmsLkeJP6PkmXlh4lODBbf9SwpmNuLS30WzUOi863dgsjY3zt3gY5q2F+UdifRi1A== - dependencies: - "@types/node" "*" - -"@types/json-buffer@~3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/json-buffer/-/json-buffer-3.0.0.tgz#85c1ff0f0948fc159810d4b5be35bf8c20875f64" - integrity sha512-3YP80IxxFJB4b5tYC2SUPwkg0XQLiu0nWvhRgEatgjf+29IcWO9X1k8xRv5DGssJ/lCrjYTjQPcobJr2yWIVuQ== - -"@types/json-schema@*", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== - "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" - integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= - -"@types/keyv@*": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" - integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== - dependencies: - "@types/node" "*" + integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== "@types/lodash@^4.14.165": - version "4.14.181" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.181.tgz#d1d3740c379fda17ab175165ba04e2d03389385d" - integrity sha512-n3tyKthHJbkiWhDZs3DkhkCzt2MexYHXlX0td5iMplyfwketaOeKboEVBqzceH7juqvEg3q5oUoBFxSLu7zFag== - -"@types/mime@^1": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" - integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== - -"@types/minimatch@*": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" - integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== - -"@types/node@*": - version "17.0.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.23.tgz#3b41a6e643589ac6442bdbd7a4a3ded62f33f7da" - integrity sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw== + version "4.17.6" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.6.tgz#193ced6a40c8006cfc1ca3f4553444fb38f0e543" + integrity sha512-OpXEVoCKSS3lQqjx9GGGOapBeuW5eUboYHRlHP9urXPX25IKZ6AnP5ZRxtVf63iieUbsHxLn8NQ5Nlftc6yzAA== "@types/parse-json@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" - integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== - -"@types/qs@*": - version "6.9.7" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" - integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== - -"@types/range-parser@*": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" - integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== - -"@types/responselike@*", "@types/responselike@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" - integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== - dependencies: - "@types/node" "*" - -"@types/retry@^0.12.0": - version "0.12.1" - resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.1.tgz#d8f1c0d0dc23afad6dc16a9e993a0865774b4065" - integrity sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g== - -"@types/serve-index@^1.9.1": - version "1.9.1" - resolved "https://registry.yarnpkg.com/@types/serve-index/-/serve-index-1.9.1.tgz#1b5e85370a192c01ec6cec4735cf2917337a6278" - integrity sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg== - dependencies: - "@types/express" "*" - -"@types/serve-static@*": - version "1.13.10" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.10.tgz#f5e0ce8797d2d7cc5ebeda48a52c96c4fa47a8d9" - integrity sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ== - dependencies: - "@types/mime" "^1" - "@types/node" "*" - -"@types/sinonjs__fake-timers@^6.0.1": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-6.0.4.tgz#0ecc1b9259b76598ef01942f547904ce61a6a77d" - integrity sha512-IFQTJARgMUBF+xVd2b+hIgXWrZEjND3vJtRCvIelcFB5SIXfjV4bOHbHJ0eXKh+0COrBRc8MqteKAz/j88rE0A== - -"@types/sizzle@^2.3.2": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.3.tgz#ff5e2f1902969d305225a047c8a0fd5c915cebef" - integrity sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ== - -"@types/sockjs@^0.3.33": - version "0.3.33" - resolved "https://registry.yarnpkg.com/@types/sockjs/-/sockjs-0.3.33.tgz#570d3a0b99ac995360e3136fd6045113b1bd236f" - integrity sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw== - dependencies: - "@types/node" "*" - -"@types/svgo@^1": - version "1.3.6" - resolved "https://registry.yarnpkg.com/@types/svgo/-/svgo-1.3.6.tgz#9db00a7ddf9b26ad2feb6b834bef1818677845e1" - integrity sha512-AZU7vQcy/4WFEuwnwsNsJnFwupIpbllH1++LXScN6uxT1Z4zPzdrWG97w4/I7eFKFTvfy/bHFStWjdBAg2Vjug== + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" + integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== -"@types/ws@^8.5.1": - version "8.5.3" - resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" - integrity sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w== - dependencies: - "@types/node" "*" +"@types/resize-observer-browser@^0.1.7": + version "0.1.11" + resolved "https://registry.yarnpkg.com/@types/resize-observer-browser/-/resize-observer-browser-0.1.11.tgz#d3c98d788489d8376b7beac23863b1eebdd3c13c" + integrity sha512-cNw5iH8JkMkb3QkCoe7DaZiawbDQEUX8t7iuQaRTyLOyQCR2h+ibBD4GJt7p5yhUHrlOeL7ZtbxNHeipqNsBzQ== -"@vue/compiler-core@3.0.11": - version "3.0.11" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.0.11.tgz#5ef579e46d7b336b8735228758d1c2c505aae69a" - integrity sha512-6sFj6TBac1y2cWCvYCA8YzHJEbsVkX7zdRs/3yK/n1ilvRqcn983XvpBbnN3v4mZ1UiQycTvOiajJmOgN9EVgw== - dependencies: - "@babel/parser" "^7.12.0" - "@babel/types" "^7.12.0" - "@vue/shared" "3.0.11" - estree-walker "^2.0.1" - source-map "^0.6.1" +"@vitejs/plugin-vue@^1.0.0": + version "1.10.2" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-1.10.2.tgz#d718479e2789d8a94b63e00f23f1898ba239253a" + integrity sha512-/QJ0Z9qfhAFtKRY+r57ziY4BSbGUTGsPRMpB/Ron3QPwBZM4OZAZHdTa4a8PafCwU5DTatXG8TMDoP8z+oDqJw== -"@vue/compiler-core@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.32.tgz#a0be08214c55ae48092b413d8b552c0573e3a883" - integrity sha512-bRQ8Rkpm/aYFElDWtKkTPHeLnX5pEkNxhPUcqu5crEJIilZH0yeFu/qUAcV4VfSE2AudNPkQSOwMZofhnuutmA== +"@vue/compiler-core@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.4.31.tgz#b51a76f1b30e9b5eba0553264dff0f171aedb7c6" + integrity sha512-skOiodXWTV3DxfDhB4rOf3OGalpITLlgCeOwb+Y9GJpfQ8ErigdBUHomBzvG78JoVE8MJoQsb+qhZiHfKeNeEg== dependencies: - "@babel/parser" "^7.16.4" - "@vue/shared" "3.2.32" + "@babel/parser" "^7.24.7" + "@vue/shared" "3.4.31" + entities "^4.5.0" estree-walker "^2.0.2" - source-map "^0.6.1" - -"@vue/compiler-dom@3.0.11": - version "3.0.11" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.0.11.tgz#b15fc1c909371fd671746020ba55b5dab4a730ee" - integrity sha512-+3xB50uGeY5Fv9eMKVJs2WSRULfgwaTJsy23OIltKgMrynnIj8hTYY2UL97HCoz78aDw1VDXdrBQ4qepWjnQcw== - dependencies: - "@vue/compiler-core" "3.0.11" - "@vue/shared" "3.0.11" - -"@vue/compiler-dom@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.32.tgz#8ddae1ee463c18c5c3353c4716ec7c84ee29e5ad" - integrity sha512-maa3PNB/NxR17h2hDQfcmS02o1f9r9QIpN1y6fe8tWPrS1E4+q8MqrvDDQNhYVPd84rc3ybtyumrgm9D5Rf/kg== - dependencies: - "@vue/compiler-core" "3.2.32" - "@vue/shared" "3.2.32" - -"@vue/compiler-sfc@3.0.11": - version "3.0.11" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.0.11.tgz#cd8ca2154b88967b521f5ad3b10f5f8b6b665679" - integrity sha512-7fNiZuCecRleiyVGUWNa6pn8fB2fnuJU+3AGjbjl7r1P5wBivfl02H4pG+2aJP5gh2u+0wXov1W38tfWOphsXw== - dependencies: - "@babel/parser" "^7.13.9" - "@babel/types" "^7.13.0" - "@vue/compiler-core" "3.0.11" - "@vue/compiler-dom" "3.0.11" - "@vue/compiler-ssr" "3.0.11" - "@vue/shared" "3.0.11" - consolidate "^0.16.0" - estree-walker "^2.0.1" - hash-sum "^2.0.0" - lru-cache "^5.1.1" - magic-string "^0.25.7" - merge-source-map "^1.1.0" - postcss "^8.1.10" - postcss-modules "^4.0.0" - postcss-selector-parser "^6.0.4" - source-map "^0.6.1" - -"@vue/compiler-sfc@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.32.tgz#63e09762812b985aa97876fb5cc3265ba8990a8a" - integrity sha512-uO6+Gh3AVdWm72lRRCjMr8nMOEqc6ezT9lWs5dPzh1E9TNaJkMYPaRtdY9flUv/fyVQotkfjY/ponjfR+trPSg== - dependencies: - "@babel/parser" "^7.16.4" - "@vue/compiler-core" "3.2.32" - "@vue/compiler-dom" "3.2.32" - "@vue/compiler-ssr" "3.2.32" - "@vue/reactivity-transform" "3.2.32" - "@vue/shared" "3.2.32" + source-map-js "^1.2.0" + +"@vue/compiler-dom@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.4.31.tgz#30961ca847f5d6ad18ffa26236c219f61b195f6b" + integrity sha512-wK424WMXsG1IGMyDGyLqB+TbmEBFM78hIsOJ9QwUVLGrcSk0ak6zYty7Pj8ftm7nEtdU/DGQxAXp0/lM/2cEpQ== + dependencies: + "@vue/compiler-core" "3.4.31" + "@vue/shared" "3.4.31" + +"@vue/compiler-sfc@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.4.31.tgz#cc6bfccda17df8268cc5440842277f61623c591f" + integrity sha512-einJxqEw8IIJxzmnxmJBuK2usI+lJonl53foq+9etB2HAzlPjAS/wa7r0uUpXw5ByX3/0uswVSrjNb17vJm1kQ== + dependencies: + "@babel/parser" "^7.24.7" + "@vue/compiler-core" "3.4.31" + "@vue/compiler-dom" "3.4.31" + "@vue/compiler-ssr" "3.4.31" + "@vue/shared" "3.4.31" estree-walker "^2.0.2" - magic-string "^0.25.7" - postcss "^8.1.10" - source-map "^0.6.1" - -"@vue/compiler-ssr@3.0.11": - version "3.0.11" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.0.11.tgz#ac5a05fd1257412fa66079c823d8203b6a889a13" - integrity sha512-66yUGI8SGOpNvOcrQybRIhl2M03PJ+OrDPm78i7tvVln86MHTKhM3ERbALK26F7tXl0RkjX4sZpucCpiKs3MnA== - dependencies: - "@vue/compiler-dom" "3.0.11" - "@vue/shared" "3.0.11" + magic-string "^0.30.10" + postcss "^8.4.38" + source-map-js "^1.2.0" -"@vue/compiler-ssr@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.32.tgz#06cf7539c483ba4a25b30bd6741e440c222d4c02" - integrity sha512-ZklVUF/SgTx6yrDUkaTaBL/JMVOtSocP+z5Xz/qIqqLdW/hWL90P+ob/jOQ0Xc/om57892Q7sRSrex0wujOL2Q== +"@vue/compiler-ssr@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.4.31.tgz#f62ffecdf15bacb883d0099780cf9a1e3654bfc4" + integrity sha512-RtefmITAje3fJ8FSg1gwgDhdKhZVntIVbwupdyZDSifZTRMiWxWehAOTCc8/KZDnBOcYQ4/9VWxsTbd3wT0hAA== dependencies: - "@vue/compiler-dom" "3.2.32" - "@vue/shared" "3.2.32" + "@vue/compiler-dom" "3.4.31" + "@vue/shared" "3.4.31" -"@vue/devtools-api@^6.0.0-beta.7": - version "6.1.4" - resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.1.4.tgz#b4aec2f4b4599e11ba774a50c67fa378c9824e53" - integrity sha512-IiA0SvDrJEgXvVxjNkHPFfDx6SXw0b/TUkqMcDZWNg9fnCAHbTpoo59YfJ9QLFkwa3raau5vSlRVzMSLDnfdtQ== +"@vue/devtools-api@^6.5.0": + version "6.6.3" + resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.6.3.tgz#b23a588154cba8986bba82b6e1d0248bde3fd1a0" + integrity sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw== -"@vue/reactivity-transform@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.32.tgz#974fd2a1e682e962fbc5840be8432ac4ab8650d3" - integrity sha512-CW1W9zaJtE275tZSWIfQKiPG0iHpdtSlmTqYBu7Y62qvtMgKG5yOxtvBs4RlrZHlaqFSE26avLAgQiTp4YHozw== +"@vue/reactivity@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.4.31.tgz#eda80e90c4f9d7659efe1f5ed99c2dfdc9e93d77" + integrity sha512-VGkTani8SOoVkZNds1PfJ/T1SlAIOf8E58PGAhIOUDYPC4GAmFA2u/E14TDAFcf3vVDKunc4QqCe/SHr8xC65Q== dependencies: - "@babel/parser" "^7.16.4" - "@vue/compiler-core" "3.2.32" - "@vue/shared" "3.2.32" - estree-walker "^2.0.2" - magic-string "^0.25.7" - -"@vue/reactivity@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.32.tgz#a859c8ab28a297d14a46cbd450bf70b3f6f87fac" - integrity sha512-4zaDumuyDqkuhbb63hRd+YHFGopW7srFIWesLUQ2su/rJfWrSq3YUvoKAJE8Eu1EhZ2Q4c1NuwnEreKj1FkDxA== - dependencies: - "@vue/shared" "3.2.32" - -"@vue/runtime-core@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.32.tgz#8f8875dc032f99991bafb72070327ae5584a08dd" - integrity sha512-uKKzK6LaCnbCJ7rcHvsK0azHLGpqs+Vi9B28CV1mfWVq1F3Bj8Okk3cX+5DtD06aUh4V2bYhS2UjjWiUUKUF0w== - dependencies: - "@vue/reactivity" "3.2.32" - "@vue/shared" "3.2.32" - -"@vue/runtime-dom@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.32.tgz#53a8be5c9d72105faf4d11d10202063e9a29c39c" - integrity sha512-AmlIg+GPqjkNoADLjHojEX5RGcAg+TsgXOOcUrtDHwKvA8mO26EnLQLB8nylDjU6AMJh2CIYn8NEgyOV5ZIScQ== - dependencies: - "@vue/runtime-core" "3.2.32" - "@vue/shared" "3.2.32" - csstype "^2.6.8" - -"@vue/server-renderer@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.32.tgz#432e0cb766feabe3b97956ae37b8f75c239f2c37" - integrity sha512-TYKpZZfRJpGTTiy/s6bVYwQJpAUx3G03z4G7/3O18M11oacrMTVHaHjiPuPqf3xQtY8R4LKmQ3EOT/DRCA/7Wg== - dependencies: - "@vue/compiler-ssr" "3.2.32" - "@vue/shared" "3.2.32" - -"@vue/shared@3.0.11": - version "3.0.11" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.0.11.tgz#20d22dd0da7d358bb21c17f9bde8628152642c77" - integrity sha512-b+zB8A2so8eCE0JsxjL24J7vdGl8rzPQ09hZNhystm+KqSbKcAej1A+Hbva1rCMmTTqA+hFnUSDc5kouEo0JzA== - -"@vue/shared@3.2.32": - version "3.2.32" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.32.tgz#1ca0c3b8c03a5e24129156e171df736b2c1d645f" - integrity sha512-bjcixPErUsAnTQRQX4Z5IQnICYjIfNCyCl8p29v1M6kfVzvwOICPw+dz48nNuWlTOOx2RHhzHdazJibE8GSnsw== - -"@webassemblyjs/ast@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" - integrity sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw== - dependencies: - "@webassemblyjs/helper-numbers" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - -"@webassemblyjs/floating-point-hex-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz#f6c61a705f0fd7a6aecaa4e8198f23d9dc179e4f" - integrity sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ== - -"@webassemblyjs/helper-api-error@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz#1a63192d8788e5c012800ba6a7a46c705288fd16" - integrity sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg== - -"@webassemblyjs/helper-buffer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz#832a900eb444884cde9a7cad467f81500f5e5ab5" - integrity sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA== - -"@webassemblyjs/helper-numbers@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz#64d81da219fbbba1e3bd1bfc74f6e8c4e10a62ae" - integrity sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ== - dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/helper-wasm-bytecode@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz#f328241e41e7b199d0b20c18e88429c4433295e1" - integrity sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q== - -"@webassemblyjs/helper-wasm-section@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz#21ee065a7b635f319e738f0dd73bfbda281c097a" - integrity sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - -"@webassemblyjs/ieee754@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz#963929e9bbd05709e7e12243a099180812992614" - integrity sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.1.tgz#ce814b45574e93d76bae1fb2644ab9cdd9527aa5" - integrity sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.1.tgz#d1f8b764369e7c6e6bae350e854dec9a59f0a3ff" - integrity sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ== - -"@webassemblyjs/wasm-edit@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz#ad206ebf4bf95a058ce9880a8c092c5dec8193d6" - integrity sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/helper-wasm-section" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-opt" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - "@webassemblyjs/wast-printer" "1.11.1" - -"@webassemblyjs/wasm-gen@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz#86c5ea304849759b7d88c47a32f4f039ae3c8f76" - integrity sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wasm-opt@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz#657b4c2202f4cf3b345f8a4c6461c8c2418985f2" - integrity sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-buffer" "1.11.1" - "@webassemblyjs/wasm-gen" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - -"@webassemblyjs/wasm-parser@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz#86ca734534f417e9bd3c67c7a1c75d8be41fb199" - integrity sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/helper-api-error" "1.11.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.1" - "@webassemblyjs/ieee754" "1.11.1" - "@webassemblyjs/leb128" "1.11.1" - "@webassemblyjs/utf8" "1.11.1" - -"@webassemblyjs/wast-printer@1.11.1": - version "1.11.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz#d0c73beda8eec5426f10ae8ef55cee5e7084c2f0" - integrity sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg== - dependencies: - "@webassemblyjs/ast" "1.11.1" - "@xtuc/long" "4.2.2" - -"@webpack-cli/configtest@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.1.1.tgz#9f53b1b7946a6efc2a749095a4f450e2932e8356" - integrity sha512-1FBc1f9G4P/AxMqIgfZgeOTuRnwZMten8E7zap5zgpPInnCrP8D4Q81+4CWIch8i/Nf7nXjP0v6CjjbHOrXhKg== + "@vue/shared" "3.4.31" -"@webpack-cli/info@^1.4.1": - version "1.4.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.4.1.tgz#2360ea1710cbbb97ff156a3f0f24556e0fc1ebea" - integrity sha512-PKVGmazEq3oAo46Q63tpMr4HipI3OPfP7LiNOEJg963RMgT0rqheag28NCML0o3GIzA3DmxP1ZIAv9oTX1CUIA== +"@vue/runtime-core@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.4.31.tgz#ad3a41ad76385c0429e3e4dbefb81918494e10cf" + integrity sha512-LDkztxeUPazxG/p8c5JDDKPfkCDBkkiNLVNf7XZIUnJ+66GVGkP+TIh34+8LtPisZ+HMWl2zqhIw0xN5MwU1cw== dependencies: - envinfo "^7.7.3" + "@vue/reactivity" "3.4.31" + "@vue/shared" "3.4.31" -"@webpack-cli/serve@^1.6.1": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.6.1.tgz#0de2875ac31b46b6c5bb1ae0a7d7f0ba5678dffe" - integrity sha512-gNGTiTrjEVQ0OcVnzsRSqTxaBSr+dmTfm+qJsCDluky8uhdLWep7Gcr62QsAKHTMxjCS/8nEITsmFAhfIx+QSw== - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== +"@vue/runtime-dom@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.4.31.tgz#bae7ad844f944af33699c73581bc36125bab96ce" + integrity sha512-2Auws3mB7+lHhTFCg8E9ZWopA6Q6L455EcU7bzcQ4x6Dn4cCPuqj6S2oBZgN2a8vJRS/LSYYxwFFq2Hlx3Fsaw== + dependencies: + "@vue/reactivity" "3.4.31" + "@vue/runtime-core" "3.4.31" + "@vue/shared" "3.4.31" + csstype "^3.1.3" -accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" - integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== +"@vue/server-renderer@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.4.31.tgz#bbe990f793c36d62d05bdbbaf142511d53e159fd" + integrity sha512-D5BLbdvrlR9PE3by9GaUp1gQXlCNadIZytMIb8H2h3FMWJd4oUfkUTEH2wAr3qxoRz25uxbTcbqd3WKlm9EHQA== dependencies: - mime-types "~2.1.34" - negotiator "0.6.3" + "@vue/compiler-ssr" "3.4.31" + "@vue/shared" "3.4.31" -acorn-import-assertions@^1.7.6: - version "1.8.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" - integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== +"@vue/shared@3.4.31": + version "3.4.31" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.4.31.tgz#af9981f57def2c3f080c14bf219314fc0dc808a0" + integrity sha512-Yp3wtJk//8cO4NItOPpi3QkLExAr/aLBGZMmTtW9WpdwBCJpRM6zj9WgWktXAl8IDIozwNMByT45JP3tO3ACWA== acorn-jsx@^5.2.0, acorn-jsx@^5.3.1: version "5.3.2" @@ -1879,11 +444,6 @@ acorn@^7.1.1, acorn@^7.4.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.4.1, acorn@^8.5.0: - version "8.7.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" - integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ== - adjust-sourcemap-loader@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/adjust-sourcemap-loader/-/adjust-sourcemap-loader-3.0.0.tgz#5ae12fb5b7b1c585e80bbb5a63ec163a1a45e61e" @@ -1900,26 +460,7 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv-keywords@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" - integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== - -ajv-keywords@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" - integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== - dependencies: - fast-deep-equal "^3.1.3" - -ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: +ajv@^6.10.0, ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -1929,15 +470,22 @@ ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.0.1, ajv@^8.8.0: - version "8.11.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.0.tgz#977e91dd96ca669f54a11e23e378e33b884a565f" - integrity sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg== +ajv@^8.0.1: + version "8.16.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.16.0.tgz#22e2a92b94f005f7e0f9c9d39652ef0b8f6f0cb4" + integrity sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw== dependencies: - fast-deep-equal "^3.1.1" + fast-deep-equal "^3.1.3" json-schema-traverse "^1.0.0" require-from-string "^2.0.2" - uri-js "^4.2.2" + uri-js "^4.4.1" + +ansi-align@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" + integrity sha512-TdlOggdA/zURfMYa7ABC66j+oqfMew58KpJMbUlH3bcZP1b+cBHIHDDn5uH9INsxrHBPjsqM0tDB4jPTF/vgJA== + dependencies: + string-width "^2.0.0" ansi-align@^3.0.0: version "3.0.1" @@ -1947,14 +495,9 @@ ansi-align@^3.0.0: string-width "^4.1.0" ansi-colors@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" - integrity sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== - -ansi-escapes@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" - integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== + version "4.1.3" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" + integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: version "4.3.2" @@ -1963,21 +506,21 @@ ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: dependencies: type-fest "^0.21.3" -ansi-html-community@^0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" - integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== - ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== ansi-regex@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" @@ -1986,9 +529,9 @@ ansi-regex@^5.0.1: ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= + integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== -ansi-styles@^3.2.1: +ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== @@ -2003,9 +546,9 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: color-convert "^2.0.1" ant-design-vue@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/ant-design-vue/-/ant-design-vue-3.1.1.tgz#429368057bc445975b3e6ee498915d5bd66e0e87" - integrity sha512-QcnESmPllfyPy4SavOlf1jml/bdmzCIcCgYWRwl0WKG5jbuuOQ0vhgfUCC2rI6R+84gb/qf4/0qoZnWcEyQziA== + version "3.2.20" + resolved "https://registry.yarnpkg.com/ant-design-vue/-/ant-design-vue-3.2.20.tgz#552f5f08e2acbcc10bd4089145d4cc2b15d4cfec" + integrity sha512-YWpMfGaGoRastIXEYfCoJiaRiDHk4chqtYhlKQM5GqPt6NfvrM1Vg2e60yHtjxlZjed91wCMm0rAmyUr7Hwzdg== dependencies: "@ant-design/colors" "^6.0.0" "@ant-design/icons-vue" "^6.1.0" @@ -2025,24 +568,14 @@ ant-design-vue@^3.1.1: vue-types "^3.0.0" warning "^4.0.0" -any-observable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b" - integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog== - anymatch@~3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" - integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== dependencies: normalize-path "^3.0.0" picomatch "^2.0.4" -arch@^2.1.2: - version "2.2.0" - resolved "https://registry.yarnpkg.com/arch/-/arch-2.2.0.tgz#1bc47818f305764f23ab3306b0bfc086c5a29d11" - integrity sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ== - argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -2053,27 +586,26 @@ argparse@^1.0.7: arity-n@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/arity-n/-/arity-n-1.0.4.tgz#d9e76b11733e08569c0847ae7b39b2860b30b745" - integrity sha1-2edrEXM+CFacCEeuezmyhgswt0U= - -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= + integrity sha512-fExL2kFDC1Q2DUOx3whE/9KoN66IzkY4b4zUHUBFM1ojEYjZZYDcUW3bek/ufGionX9giIKDC5redH2IlGqcQQ== -array-flatten@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" - integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== - -array-includes@^3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.4.tgz#f5b493162c760f3539631f005ba2bb46acb45ba9" - integrity sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - get-intrinsic "^1.1.1" +array-buffer-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" + integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== + dependencies: + call-bind "^1.0.5" + is-array-buffer "^3.0.4" + +array-includes@^3.1.7: + version "3.1.8" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" + integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" + get-intrinsic "^1.2.4" is-string "^1.0.7" array-tree-filter@^2.1.0: @@ -2081,50 +613,51 @@ array-tree-filter@^2.1.0: resolved "https://registry.yarnpkg.com/array-tree-filter/-/array-tree-filter-2.1.0.tgz#873ac00fec83749f255ac8dd083814b4f6329190" integrity sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw== -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== +array.prototype.findlastindex@^1.2.3: + version "1.2.5" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz#8c35a755c72908719453f87145ca011e39334d0d" + integrity sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-shim-unscopables "^1.0.2" -array.prototype.flat@^1.2.5: - version "1.3.0" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" - integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== +array.prototype.flat@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18" + integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== dependencies: call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" es-shim-unscopables "^1.0.0" -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== - dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" - -asn1@~0.2.3: - version "0.2.6" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" - integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== +array.prototype.flatmap@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" + integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + es-shim-unscopables "^1.0.0" -assert@^1.1.1: - version "1.5.0" - resolved "https://registry.yarnpkg.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb" - integrity sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA== - dependencies: - object-assign "^4.1.1" - util "0.10.3" +arraybuffer.prototype.slice@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz#097972f4255e41bc3425e37dc3f6421cf9aefde6" + integrity sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A== + dependencies: + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.2.1" + get-intrinsic "^1.2.3" + is-array-buffer "^3.0.4" + is-shared-array-buffer "^1.0.2" astral-regex@^2.0.0: version "2.0.0" @@ -2132,203 +665,79 @@ astral-regex@^2.0.0: integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== async-validator@^4.0.0: - version "4.0.7" - resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-4.0.7.tgz#034a0fd2103a6b2ebf010da75183bec299247afe" - integrity sha512-Pj2IR7u8hmUEDOwB++su6baaRi+QvsgajuFB9j95foM1N2gy5HM4z60hfusIO0fBPG5uLAEl6yCJr1jNSVugEQ== - -async@^2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" - integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== - dependencies: - lodash "^4.17.14" - -async@^3.2.0: - version "3.2.3" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.3.tgz#ac53dafd3f4720ee9e8a160628f18ea91df196c9" - integrity sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g== + version "4.2.5" + resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339" + integrity sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg== asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= - -at-least-node@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" - integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== atob@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== -author-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/author-regex/-/author-regex-1.0.0.tgz#d08885be6b9bbf9439fe087c76287245f0a81450" - integrity sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA= - -autoprefixer@^10.4.0: - version "10.4.4" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.4.tgz#3e85a245b32da876a893d3ac2ea19f01e7ea5a1e" - integrity sha512-Tm8JxsB286VweiZ5F0anmbyGiNI3v3wGv3mz9W+cxEDYB/6jbnj6GM9H9mK3wIL8ftgl+C07Lcwb8PG5PCCPzA== - dependencies: - browserslist "^4.20.2" - caniuse-lite "^1.0.30001317" - fraction.js "^4.2.0" - normalize-range "^0.1.2" - picocolors "^1.0.0" - postcss-value-parser "^4.2.0" - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= - -aws4@^1.8.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" - integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== +available-typed-arrays@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" + integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== + dependencies: + possible-typed-array-names "^1.0.0" -axios@^0.21, axios@^0.21.1: +axios@^0.21.1: version "0.21.4" resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== dependencies: follow-redirects "^1.14.0" +axios@^1.6, axios@^1.6.0: + version "1.7.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" + integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== + dependencies: + follow-redirects "^1.15.6" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + babel-code-frame@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" - integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= + integrity sha512-XqYMR2dfdGMW+hd0IUZ2PwK+fGeFkOxZJ0wY+JaQAHzt1Zx8LcvpiZD2NiGkEG8qx0CfkAOr5xt76d1e8vG90g== dependencies: chalk "^1.1.3" esutils "^2.0.2" js-tokens "^3.0.2" -babel-loader@^8.2.3: - version "8.2.4" - resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.4.tgz#95f5023c791b2e9e2ca6f67b0984f39c82ff384b" - integrity sha512-8dytA3gcvPPPv4Grjhnt8b5IIiTcq/zeXOPk4iTYI0SVXcsmuGg7JtBRDp8S9X+gJfhQ8ektjXZlDu1Bb33U8A== - dependencies: - find-cache-dir "^3.3.1" - loader-utils "^2.0.0" - make-dir "^3.1.0" - schema-utils "^2.6.5" - -babel-plugin-dynamic-import-node@^2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" - integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== - dependencies: - object.assign "^4.1.0" - -babel-plugin-polyfill-corejs2@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.1.tgz#440f1b70ccfaabc6b676d196239b138f8a2cfba5" - integrity sha512-v7/T6EQcNfVLfcN2X8Lulb7DjprieyLWJK/zOWH5DUYcAgex9sP3h25Q+DLsX9TloXe3y1O8l2q2Jv9q8UVB9w== - dependencies: - "@babel/compat-data" "^7.13.11" - "@babel/helper-define-polyfill-provider" "^0.3.1" - semver "^6.1.1" - -babel-plugin-polyfill-corejs3@^0.5.0: - version "0.5.2" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.2.tgz#aabe4b2fa04a6e038b688c5e55d44e78cd3a5f72" - integrity sha512-G3uJih0XWiID451fpeFaYGVuxHEjzKTHtc9uGFEjR6hHrvNzeS/PX+LLLcetJcytsB5m4j+K3o/EpXJNb/5IEQ== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.1" - core-js-compat "^3.21.0" - -babel-plugin-polyfill-regenerator@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.1.tgz#2c0678ea47c75c8cc2fbb1852278d8fb68233990" - integrity sha512-Y2B06tvgHYt1x0yz17jGkGeeMr5FeKUu+ASJ+N6nB5lQ8Dapfg42i0OVrf8PNGJ3zKL4A23snMi1IRwrqqND7A== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.3.1" - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.0.2: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -batch@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY= - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= - dependencies: - tweetnacl "^0.14.3" - big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== - -blob-util@2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/blob-util/-/blob-util-2.0.2.tgz#3b4e3c281111bb7f11128518006cdc60b403a1eb" - integrity sha512-T7JQa+zsXXEa6/8ZhHcQEW1UFfVM49Ts65uBkFL6fz2QmrElqmbajIDJvuA0tEhRe5eIjpV9ZF+0RfZR9voJFQ== - -bluebird@^3.7.2: - version "3.7.2" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" - integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== - -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: - version "4.12.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" - integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== - -bn.js@^5.0.0, bn.js@^5.1.1: - version "5.2.0" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" - integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== - -body-parser@1.19.2: - version "1.19.2" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.2.tgz#4714ccd9c157d44797b8b5607d72c0b89952f26e" - integrity sha512-SAAwOxgoCKMGs9uUAUFHygfLAyaniaoun6I8mFY9pRAJL9+Kec34aU+oIjDhTycub1jozEfEwx1W1IuOYxVSFw== - dependencies: - bytes "3.1.2" - content-type "~1.0.4" - debug "2.6.9" - depd "~1.1.2" - http-errors "1.8.1" - iconv-lite "0.4.24" - on-finished "~2.3.0" - qs "6.9.7" - raw-body "2.4.3" - type-is "~1.6.18" - -bonjour-service@^1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.0.11.tgz#5418e5c1ac91c89a406f853a942e7892829c0d89" - integrity sha512-drMprzr2rDTCtgEE3VgdA9uUFaUHF+jXduwYSThHJnKMYM+FhI9Z3ph+TX3xy0LtgYHae6CHYPJ/2UnK8nQHcA== - dependencies: - array-flatten "^2.1.2" - dns-equal "^1.0.0" - fast-deep-equal "^3.1.3" - multicast-dns "^7.2.4" + version "2.3.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== -boolbase@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= +boxen@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" + integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== + dependencies: + ansi-align "^2.0.0" + camelcase "^4.0.0" + chalk "^2.0.1" + cli-boxes "^1.0.0" + string-width "^2.0.0" + term-size "^1.2.0" + widest-line "^2.0.0" boxen@^4.2.0: version "4.2.0" @@ -2352,138 +761,17 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^3.0.2, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== - dependencies: - fill-range "^7.0.1" - -brorand@^1.0.1, brorand@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" - integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= - -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== - dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== - dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - elliptic "^6.5.3" - inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -browserify-zlib@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" - integrity sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA== - dependencies: - pako "~1.0.5" - -browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.16.6, browserslist@^4.17.5, browserslist@^4.19.1, browserslist@^4.20.2: - version "4.20.2" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.20.2.tgz#567b41508757ecd904dab4d1c646c612cd3d4f88" - integrity sha512-CQOBCqp/9pDvDbx3xfMi+86pr4KXIf2FDkTTdeuYw8OxS9t898LA1Khq57gtufFILXpfgsSx5woNgsBgvGjpsA== - dependencies: - caniuse-lite "^1.0.30001317" - electron-to-chromium "^1.4.84" - escalade "^3.1.1" - node-releases "^2.0.2" - picocolors "^1.0.0" - -buffer-crc32@~0.2.3: - version "0.2.13" - resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" - integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= - -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk= - -buffer@^4.3.0: - version "4.9.2" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8" - integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg== +braces@^3.0.3, braces@~3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - -builtin-status-codes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" - integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug= + fill-range "^7.1.1" builtins@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og= - -bytes@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= - -bytes@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" - integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== - -cacheable-lookup@^5.0.3: - version "5.0.4" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" - integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== + integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== cacheable-request@^6.0.0: version "6.1.0" @@ -2496,76 +784,43 @@ cacheable-request@^6.0.0: keyv "^3.0.0" lowercase-keys "^2.0.0" normalize-url "^4.1.0" - responselike "^1.0.2" - -cacheable-request@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" - integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^4.0.0" - lowercase-keys "^2.0.0" - normalize-url "^6.0.1" - responselike "^2.0.0" - -cachedir@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8" - integrity sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw== + responselike "^1.0.2" -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" - integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== +call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.6, call-bind@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" + integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" + es-define-property "^1.0.0" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + set-function-length "^1.2.1" callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -camel-case@^4.1.1: - version "4.1.2" - resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" - integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== - dependencies: - pascal-case "^3.1.2" - tslib "^2.0.3" - -camelcase@5.3.1, camelcase@^5.3.1: +camelcase@5.3.1, camelcase@^5.0.0, camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -caniuse-api@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" - integrity sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== - dependencies: - browserslist "^4.0.0" - caniuse-lite "^1.0.0" - lodash.memoize "^4.1.2" - lodash.uniq "^4.5.0" - -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001317: - version "1.0.30001331" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001331.tgz#41048f2a5cf0c3c6198f40207cd323388b3d4399" - integrity sha512-Y1xk6paHpUXKP/P6YjQv1xqyTbgAP05ycHBcRdQjTcyXlWol868sJJPlmk5ylOekw2BrucWes5jk+LvVd7WZ5Q== +camelcase@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" + integrity sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw== -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= +capture-stack-trace@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.2.tgz#1c43f6b059d4249e7f3f8724f15f048b927d3a8a" + integrity sha512-X/WM2UQs6VMHUtjUDnZTRI+i1crWteJySFzr9UpGoQa4WQffXVTTXuekjl7TjZRlcF2XfjgITT0HxZ9RnxeT0w== -chalk@^1.0.0, chalk@^1.1.3: +chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= + integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== dependencies: ansi-styles "^2.2.1" escape-string-regexp "^1.0.2" @@ -2573,7 +828,7 @@ chalk@^1.0.0, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2590,7 +845,7 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: +chalk@^4.0.0, chalk@^4.1.0: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -2603,20 +858,10 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -charenc@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667" - integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc= - -check-more-types@^2.24.0: - version "2.24.0" - resolved "https://registry.yarnpkg.com/check-more-types/-/check-more-types-2.24.0.tgz#1420ffb10fd444dcfc79b43891bbfffd32a84600" - integrity sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA= - -"chokidar@>=3.0.0 <4.0.0", chokidar@^3.5.2, chokidar@^3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== +"chokidar@>=3.0.0 <4.0.0": + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== dependencies: anymatch "~3.1.2" braces "~3.0.2" @@ -2628,62 +873,31 @@ check-more-types@^2.24.0: optionalDependencies: fsevents "~2.3.2" -chrome-trace-event@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" - integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== +ci-info@^1.5.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" + integrity sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A== ci-info@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - -clean-css@^4.2.3: - version "4.2.4" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.4.tgz#733bf46eba4e607c6891ea57c24a989356831178" - integrity sha512-EJUDT7nDVFDvaQgAo2G/PJvxmp1o/c6iXLbswsBbUFXi1Nr+AjA2cKmfbKDMjMvzEe75g3P6JkaDDAKk96A85A== - dependencies: - source-map "~0.6.0" - -clean-css@^5.2.4: - version "5.3.0" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.0.tgz#ad3d8238d5f3549e83d5f87205189494bc7cbb59" - integrity sha512-YYuuxv4H/iNb1Z/5IbMRoxgrzjWGhOEFfd+groZ5dMCVkpENiMZmwspdrzBo9286JjM1gZJPAyL7ZIdzuvu2AQ== - dependencies: - source-map "~0.6.0" - clean-stack@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== +cli-boxes@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" + integrity sha512-3Fo5wu8Ytle8q9iCzS4D2MWVL2X7JVWRiS1BnXbTFDhS9c/REkM9vd1AmabsoZoY5/dGi5TT9iKL8Kb6DeBRQg== + cli-boxes@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f" integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw== -cli-cursor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" - integrity sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc= - dependencies: - restore-cursor "^1.0.1" - -cli-cursor@^2.0.0, cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU= - dependencies: - restore-cursor "^2.0.0" - cli-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" @@ -2691,23 +905,6 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" -cli-table3@^0.6.0, cli-table3@~0.6.0: - version "0.6.2" - resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.2.tgz#aaf5df9d8b5bf12634dc8b3040806a0c07120d2a" - integrity sha512-QyavHCaIC80cMivimWu4aWHilIpiDpfm3hGmqAmXVL1UsnbLuBSMd21hTX6VY4ZSDSM73ESLeF8TOYId3rBTbw== - dependencies: - string-width "^4.2.0" - optionalDependencies: - "@colors/colors" "1.5.0" - -cli-truncate@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" - integrity sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ= - dependencies: - slice-ansi "0.0.4" - string-width "^1.0.1" - cli-truncate@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" @@ -2726,41 +923,22 @@ click-outside-vue3@^4.0.1: resolved "https://registry.yarnpkg.com/click-outside-vue3/-/click-outside-vue3-4.0.1.tgz#81a6ac01696b301764b42db6fdbdf28e7cd8ef95" integrity sha512-sbplNecrup5oGqA3o4bo8XmvHRT6q9fvw21Z67aDbTqB9M6LF7CuYLTlLvNtOgKU6W3zst5H5zJuEh4auqA34g== -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== +cliui@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" + integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" + string-width "^3.1.0" + strip-ansi "^5.2.0" + wrap-ansi "^5.1.0" clone-response@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" - integrity sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws= + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" + integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== dependencies: mimic-response "^1.0.0" -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= - -collect.js@^4.28.5: - version "4.32.0" - resolved "https://registry.yarnpkg.com/collect.js/-/collect.js-4.32.0.tgz#4c1569243cd340f19cedb955e28c1288d013bd09" - integrity sha512-Ro0fspulC0J325cgFdkzFEkRDs6MmclMy2Fy5adhdFKg5QqMv1nn1zLpCdAxiehlur6Ep08Wr1f7ldNv+fB6+Q== - color-convert@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" @@ -2778,55 +956,35 @@ color-convert@^2.0.1: color-name@1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== color-name@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -colord@^2.9.1: - version "2.9.2" - resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.2.tgz#25e2bacbbaa65991422c07ea209e2089428effb1" - integrity sha512-Uqbg+J445nc1TKn4FoDPS6ZZqAvEDnwrH42yo8B40JSOgSLxMZ/gt3h4nmCtPLQeXhjJJkqBx7SCY35WnIixaQ== - -colorette@^2.0.10, colorette@^2.0.14, colorette@^2.0.16: - version "2.0.16" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.16.tgz#713b9af84fdb000139f04546bd4a93f62a5085da" - integrity sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g== +colorette@^2.0.16: + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== -combined-stream@^1.0.6, combined-stream@~1.0.6: +combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== dependencies: delayed-stream "~1.0.0" -commander@^2.19.0, commander@^2.20.0, commander@^2.9.0: +commander@^2.19.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" - integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== - -commander@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" - integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== - -commander@^6.0.0, commander@^6.2.0: +commander@^6.2.0: version "6.2.1" resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== -commander@^7.0.0, commander@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" - integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== - comment-json@^2.2.0: version "2.4.2" resolved "https://registry.yarnpkg.com/comment-json/-/comment-json-2.4.2.tgz#2111c065864338ad8d98ae01eecde9e02cd2f549" @@ -2837,82 +995,34 @@ comment-json@^2.2.0: has-own-prop "^2.0.0" repeat-string "^1.6.1" -common-tags@^1.8.0: - version "1.8.2" - resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.2.tgz#94ebb3c076d26032745fd54face7f688ef5ac9c6" - integrity sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= - -compare-versions@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62" - integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== - compose-function@3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/compose-function/-/compose-function-3.0.3.tgz#9ed675f13cc54501d30950a486ff6a7ba3ab185f" - integrity sha1-ntZ18TzFRQHTCVCkhv9qe6OrGF8= + integrity sha512-xzhzTJ5eC+gmIzvZq+C3kCJHsp9os6tJkrigDRZclyGtOKINbZtE8n1Tzmeh32jW+BUDPbvZpibwvJHBLGMVwg== dependencies: arity-n "^1.0.4" -compress-brotli@^1.3.6: - version "1.3.6" - resolved "https://registry.yarnpkg.com/compress-brotli/-/compress-brotli-1.3.6.tgz#64bd6f21f4f3e9841dbac392f4c29218caf5e9d9" - integrity sha512-au99/GqZtUtiCBliqLFbWlhnCxn+XSYjwZ77q6mKN4La4qOXDoLVPZ50iXr0WmAyMxl8yqoq3Yq4OeQNPPkyeQ== - dependencies: - "@types/json-buffer" "~3.0.0" - json-buffer "~3.0.1" - -compressible@~2.0.16: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -compression@^1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" - integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== - dependencies: - accepts "~1.3.5" - bytes "3.0.0" - compressible "~2.0.16" - debug "2.6.9" - on-headers "~1.0.2" - safe-buffer "5.1.2" - vary "~1.1.2" - -compute-scroll-into-view@^1.0.17: - version "1.0.17" - resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.17.tgz#6a88f18acd9d42e9cf4baa6bec7e0522607ab7ab" - integrity sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg== +compute-scroll-into-view@^1.0.20: + version "1.0.20" + resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz#1768b5522d1172754f5d0c9b02de3af6be506a43" + integrity sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg== concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concat-stream@^1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - -concat@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/concat/-/concat-1.0.3.tgz#40f3353089d65467695cb1886b45edd637d8cca8" - integrity sha1-QPM1MInWVGdpXLGIa0Xt1jfYzKg= +configstore@^3.0.0: + version "3.1.5" + resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.5.tgz#e9af331fadc14dabd544d3e7e76dc446a09a530f" + integrity sha512-nlOhI4+fdzoK5xmJ+NY+1gZK56bwEaWZr8fYuXohZ9Vkc1o3a4T/R3M+yE/w7x/ZVJ1zF8c+oaOvF0dztdUgmA== dependencies: - commander "^2.9.0" + dot-prop "^4.2.1" + graceful-fs "^4.1.2" + make-dir "^1.0.0" + unique-string "^1.0.0" + write-file-atomic "^2.0.0" + xdg-basedir "^3.0.0" configstore@^5.0.1: version "5.0.1" @@ -2926,45 +1036,6 @@ configstore@^5.0.1: write-file-atomic "^3.0.0" xdg-basedir "^4.0.0" -connect-history-api-fallback@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz#8b32089359308d111115d81cad3fceab888f97bc" - integrity sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg== - -consola@^2.15.3: - version "2.15.3" - resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" - integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== - -console-browserify@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.2.0.tgz#67063cef57ceb6cf4993a2ab3a55840ae8c49336" - integrity sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA== - -consolidate@^0.16.0: - version "0.16.0" - resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.16.0.tgz#a11864768930f2f19431660a65906668f5fbdc16" - integrity sha512-Nhl1wzCslqXYTJVDyJCu3ODohy9OfBMB5uD2BiBTzd7w+QY0lBzafkR8y8755yMYHAaMD4NuzbAw03/xzfw+eQ== - dependencies: - bluebird "^3.7.2" - -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U= - -content-disposition@0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" - integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== - dependencies: - safe-buffer "5.2.1" - -content-type@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== - convert-source-map@1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" @@ -2975,52 +1046,22 @@ convert-source-map@1.7.0: convert-source-map@^0.3.3: version "0.3.5" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190" - integrity sha1-8dgClQr33SYxof6+BZZVDIarMZA= - -convert-source-map@^1.7.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" - integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== - dependencies: - safe-buffer "~5.1.1" - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= - -cookie@0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== - -core-js-compat@^3.20.2, core-js-compat@^3.21.0: - version "3.21.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.21.1.tgz#cac369f67c8d134ff8f9bd1623e3bc2c42068c82" - integrity sha512-gbgX5AUvMb8gwxC7FLVWYT7Kkgu/y7+h/h1X43yJkNqhlK2fuYyQimqvKGNZFAY6CKii/GFKJ2cp/1/42TN36g== - dependencies: - browserslist "^4.19.1" - semver "7.0.0" + integrity sha512-+4nRk0k3oEpwUB7/CalD7xE2z4VmtEnnq0GO2IPTkrooTrAhEsWvuLF5iWP1dXrwluki/azwXV1ve7gtYuPldg== core-js@^3.15.1: - version "3.21.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.21.1.tgz#f2e0ddc1fc43da6f904706e8e955bc19d06a0d94" - integrity sha512-FRq5b/VMrWlrmCzwRrpDYNxyHP9BcAZC+xHJaqTgIE5091ZV1NTmyh0sGOg5XqpnHvR0svdy0sv1gWA1zmhxig== - -core-util-is@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= + version "3.37.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.37.1.tgz#d21751ddb756518ac5a00e4d66499df981a62db9" + integrity sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw== -core-util-is@^1.0.2, core-util-is@~1.0.0: +core-util-is@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== cosmiconfig@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" - integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== dependencies: "@types/parse-json" "^4.0.0" import-fresh "^3.2.1" @@ -3028,36 +1069,12 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -create-ecdh@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" - integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== +create-error-class@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" + integrity sha512-gYTKKexFO3kh200H1Nit76sRwRtOY32vQd3jpAQKpLtZqyNsSQNfI4N7o3eP2wUjV35pTWKRYqFUDBvUha/Pkw== dependencies: - bn.js "^4.1.0" - elliptic "^6.5.3" - -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" + capture-stack-trace "^1.0.0" cross-env@^7.0: version "7.0.3" @@ -3066,7 +1083,16 @@ cross-env@^7.0: dependencies: cross-spawn "^7.0.1" -cross-spawn@7.0.3, cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" + integrity sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A== + dependencies: + lru-cache "^4.0.1" + shebang-command "^1.2.0" + which "^1.2.9" + +cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -3075,78 +1101,16 @@ cross-spawn@7.0.3, cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, c shebang-command "^2.0.0" which "^2.0.1" -crypt@0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" - integrity sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs= - -crypto-browserify@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" +crypto-random-string@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" + integrity sha512-GsVpkFPlycH7/fRR7Dhcmnoii54gV1nz7y4CWyeFS14N+JVBBhY+r8amRHE4BwSYal7BPTDp8isvAlCxyFt3Hg== crypto-random-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== -css-declaration-sorter@^6.2.2: - version "6.2.2" - resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-6.2.2.tgz#bfd2f6f50002d6a3ae779a87d3a0c5d5b10e0f02" - integrity sha512-Ufadglr88ZLsrvS11gjeu/40Lw74D9Am/Jpr3LlYm5Q4ZP5KdlUhG+6u2EjyXeZcxmZ2h1ebCKngDjolpeLHpg== - -css-loader@^5.2.6: - version "5.2.7" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-5.2.7.tgz#9b9f111edf6fb2be5dc62525644cbc9c232064ae" - integrity sha512-Q7mOvpBNBG7YrVGMxRxcBJZFL75o+cH2abNASdibkj/fffYD8qWbInZrD0S9ccI6vZclF3DsHE7njGlLtaHbhg== - dependencies: - icss-utils "^5.1.0" - loader-utils "^2.0.0" - postcss "^8.2.15" - postcss-modules-extract-imports "^3.0.0" - postcss-modules-local-by-default "^4.0.0" - postcss-modules-scope "^3.0.0" - postcss-modules-values "^4.0.0" - postcss-value-parser "^4.1.0" - schema-utils "^3.0.0" - semver "^7.3.5" - -css-select@^4.1.3: - version "4.3.0" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" - integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== - dependencies: - boolbase "^1.0.0" - css-what "^6.0.1" - domhandler "^4.3.1" - domutils "^2.8.0" - nth-check "^2.0.1" - -css-tree@^1.1.2, css-tree@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d" - integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q== - dependencies: - mdn-data "2.0.14" - source-map "^0.6.1" - -css-what@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" - integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== - css@^2.0.0: version "2.2.4" resolved "https://registry.yarnpkg.com/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929" @@ -3157,200 +1121,103 @@ css@^2.0.0: source-map-resolve "^0.5.2" urix "^0.1.0" -cssesc@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" - integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== - -cssnano-preset-default@^5.2.7: - version "5.2.7" - resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-5.2.7.tgz#791e3603fb8f1b46717ac53b47e3c418e950f5f3" - integrity sha512-JiKP38ymZQK+zVKevphPzNSGHSlTI+AOwlasoSRtSVMUU285O7/6uZyd5NbW92ZHp41m0sSHe6JoZosakj63uA== - dependencies: - css-declaration-sorter "^6.2.2" - cssnano-utils "^3.1.0" - postcss-calc "^8.2.3" - postcss-colormin "^5.3.0" - postcss-convert-values "^5.1.0" - postcss-discard-comments "^5.1.1" - postcss-discard-duplicates "^5.1.0" - postcss-discard-empty "^5.1.1" - postcss-discard-overridden "^5.1.0" - postcss-merge-longhand "^5.1.4" - postcss-merge-rules "^5.1.1" - postcss-minify-font-values "^5.1.0" - postcss-minify-gradients "^5.1.1" - postcss-minify-params "^5.1.2" - postcss-minify-selectors "^5.2.0" - postcss-normalize-charset "^5.1.0" - postcss-normalize-display-values "^5.1.0" - postcss-normalize-positions "^5.1.0" - postcss-normalize-repeat-style "^5.1.0" - postcss-normalize-string "^5.1.0" - postcss-normalize-timing-functions "^5.1.0" - postcss-normalize-unicode "^5.1.0" - postcss-normalize-url "^5.1.0" - postcss-normalize-whitespace "^5.1.1" - postcss-ordered-values "^5.1.1" - postcss-reduce-initial "^5.1.0" - postcss-reduce-transforms "^5.1.0" - postcss-svgo "^5.1.0" - postcss-unique-selectors "^5.1.1" - -cssnano-utils@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cssnano-utils/-/cssnano-utils-3.1.0.tgz#95684d08c91511edfc70d2636338ca37ef3a6861" - integrity sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA== +csstype@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== -cssnano@^5.0.8: - version "5.1.7" - resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-5.1.7.tgz#99858bef6c76c9240f0cdc9239570bc7db8368be" - integrity sha512-pVsUV6LcTXif7lvKKW9ZrmX+rGRzxkEdJuVJcp5ftUjWITgwam5LMZOgaTvUrWPkcORBey6he7JKb4XAJvrpKg== +d@1, d@^1.0.1, d@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.2.tgz#2aefd554b81981e7dccf72d6842ae725cb17e5de" + integrity sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw== dependencies: - cssnano-preset-default "^5.2.7" - lilconfig "^2.0.3" - yaml "^1.10.2" + es5-ext "^0.10.64" + type "^2.7.2" -csso@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/csso/-/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" - integrity sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA== +data-view-buffer@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/data-view-buffer/-/data-view-buffer-1.0.1.tgz#8ea6326efec17a2e42620696e671d7d5a8bc66b2" + integrity sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA== dependencies: - css-tree "^1.1.2" + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" -csstype@^2.6.8: - version "2.6.20" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.20.tgz#9229c65ea0b260cf4d3d997cb06288e36a8d6dda" - integrity sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA== - -cypress@6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-6.1.0.tgz#af2596cb110aa98eaf75fef3d8ab379ca0ff2413" - integrity sha512-uQnSxRcZ6hkf9R5cr8KpRBTzN88QZwLIImbf5DWa5RIxH6o5Gpff58EcjiYhAR8/8p9SGv7O6SRygq4H+k0Qpw== - dependencies: - "@cypress/listr-verbose-renderer" "^0.4.1" - "@cypress/request" "^2.88.5" - "@cypress/xvfb" "^1.2.4" - "@types/sinonjs__fake-timers" "^6.0.1" - "@types/sizzle" "^2.3.2" - arch "^2.1.2" - blob-util "2.0.2" - bluebird "^3.7.2" - cachedir "^2.3.0" - chalk "^4.1.0" - check-more-types "^2.24.0" - cli-table3 "~0.6.0" - commander "^5.1.0" - common-tags "^1.8.0" - debug "^4.1.1" - eventemitter2 "^6.4.2" - execa "^4.0.2" - executable "^4.1.1" - extract-zip "^1.7.0" - fs-extra "^9.0.1" - getos "^3.2.1" - is-ci "^2.0.0" - is-installed-globally "^0.3.2" - lazy-ass "^1.6.0" - listr "^0.14.3" - lodash "^4.17.19" - log-symbols "^4.0.0" - minimist "^1.2.5" - moment "^2.27.0" - ospath "^1.2.2" - pretty-bytes "^5.4.1" - ramda "~0.26.1" - request-progress "^3.0.0" - supports-color "^7.2.0" - tmp "~0.2.1" - untildify "^4.0.0" - url "^0.11.0" - yauzl "^2.10.0" - -d@1, d@^1.0.1: +data-view-byte-length@^1.0.1: version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + resolved "https://registry.yarnpkg.com/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz#90721ca95ff280677eb793749fce1011347669e2" + integrity sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ== dependencies: - es5-ext "^0.10.50" - type "^1.0.1" + call-bind "^1.0.7" + es-errors "^1.3.0" + is-data-view "^1.0.1" -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= +data-view-byte-offset@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz#5e0bbfb4828ed2d1b9b400cd8a7d119bca0ff18a" + integrity sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA== dependencies: - assert-plus "^1.0.0" - -date-fns-tz@^1.0.12: - version "1.3.3" - resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-1.3.3.tgz#7884a4b3ed6cd95bfd81831d608e5ef8be500c86" - integrity sha512-Gks46gwbSauBQnV3Oofluj1wTm8J0tM7sbSJ9P+cJq/ZnTCpMohTKmmO5Tn+jQ7dyn0+b8G7cY4O2DZ5P/LXcA== + call-bind "^1.0.6" + es-errors "^1.3.0" + is-data-view "^1.0.1" -date-fns@^1.27.2: - version "1.30.1" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" - integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== +date-fns-tz@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/date-fns-tz/-/date-fns-tz-2.0.1.tgz#0a9b2099031c0d74120b45de9fd23192e48ea495" + integrity sha512-fJCG3Pwx8HUoLhkepdsP7Z5RsucUi+ZBOxyM5d0ZZ6c4SdYustq0VMmOu6Wf7bli+yS/Jwp91TOCqn9jMcVrUA== date-fns@^2.16.1: - version "2.28.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.28.0.tgz#9570d656f5fc13143e50c975a3b6bbeb46cd08b2" - integrity sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw== + version "2.30.0" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" + integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw== + dependencies: + "@babel/runtime" "^7.21.0" dayjs@^1.10.5: - version "1.11.0" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.0.tgz#009bf7ef2e2ea2d5db2e6583d2d39a4b5061e805" - integrity sha512-JLC809s6Y948/FuCZPm5IX8rRhQwOiyMb2TfVVQEixG7P8Lm/gt5S7yoQZmC8x1UehI9Pb7sksEt4xx14m+7Ug== + version "1.11.11" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.11.tgz#dfe0e9d54c5f8b68ccf8ca5f72ac603e7e5ed59e" + integrity sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg== de-indent@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" - integrity sha1-sgOOhG3DO6pXlhKNCAS0VbjB4h0= + integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg== -debug@2.6.9, debug@^2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@^3.1.0, debug@^3.1.1, debug@^3.2.7: +debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== dependencies: ms "^2.1.1" -debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== +debug@^4.0.1, debug@^4.1.1, debug@^4.2.0: + version "4.3.5" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e" + integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== dependencies: ms "2.1.2" +decamelize@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== + decode-uri-component@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" - integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= + version "0.2.2" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" + integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== decompress-response@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M= + integrity sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA== dependencies: mimic-response "^1.0.0" -decompress-response@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" - integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== - dependencies: - mimic-response "^3.1.0" - dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== deep-extend@^0.6.0: version "0.6.0" @@ -3363,100 +1230,43 @@ deep-is@^0.1.3: integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== deepmerge@^4.0.0: - version "4.2.2" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" - integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== - -default-gateway@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/default-gateway/-/default-gateway-6.0.3.tgz#819494c888053bdb743edbf343d6cdf7f2943a71" - integrity sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg== - dependencies: - execa "^5.0.0" + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== defer-to-connect@^1.0.1: version "1.1.3" resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== -defer-to-connect@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" - integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== - -define-lazy-prop@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" - integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== +define-data-property@^1.0.1, define-data-property@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" + integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== + dependencies: + es-define-property "^1.0.0" + es-errors "^1.3.0" + gopd "^1.0.1" -define-properties@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" - integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== +define-properties@^1.2.0, define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== dependencies: - object-keys "^1.0.12" + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= - -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= - -des.js@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" - integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -destroy@~1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" - integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== detect-indent@^6.0.0: version "6.1.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== -detect-node@^2.0.4: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha1-s55/HabrCnW6nBcySzR1PEfgZU0= - -dns-packet@^5.2.2: - version "5.3.1" - resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.3.1.tgz#eb94413789daec0f0ebe2fcc230bdc9d7c91b43d" - integrity sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw== - dependencies: - "@leichtgewicht/ip-codec" "^2.0.1" - doctrine@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" @@ -3472,69 +1282,26 @@ doctrine@^3.0.0: esutils "^2.0.2" dom-align@^1.12.1: - version "1.12.2" - resolved "https://registry.yarnpkg.com/dom-align/-/dom-align-1.12.2.tgz#0f8164ebd0c9c21b0c790310493cd855892acd4b" - integrity sha512-pHuazgqrsTFrGU2WLDdXxCFabkdQDx72ddkraZNih1KsMcN5qsRSTR9O4VJRlwTPCPb5COYg3LOfiMHHcPInHg== + version "1.12.4" + resolved "https://registry.yarnpkg.com/dom-align/-/dom-align-1.12.4.tgz#3503992eb2a7cfcb2ed3b2a6d21e0b9c00d54511" + integrity sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw== dom-scroll-into-view@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/dom-scroll-into-view/-/dom-scroll-into-view-2.0.1.tgz#0decc8522801fd8d3f1c6ba355a74d382c5f989b" integrity sha512-bvVTQe1lfaUr1oFzZX80ce9KLDlZ3iU+XGNE/bz9HnGdklTieqsbmsLHe+rT2XWqopvL0PckkYqN7ksmm5pe3w== -dom-serializer@^1.0.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" - integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== - dependencies: - domelementtype "^2.0.1" - domhandler "^4.2.0" - entities "^2.0.0" - -domain-browser@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" - integrity sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA== - -domelementtype@^2.0.1, domelementtype@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" - integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== - -domhandler@^3.0.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-3.3.0.tgz#6db7ea46e4617eb15cf875df68b2b8524ce0037a" - integrity sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA== - dependencies: - domelementtype "^2.0.1" - -domhandler@^4.2.0, domhandler@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" - integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== - dependencies: - domelementtype "^2.2.0" - -domutils@^2.0.0, domutils@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" - integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== - dependencies: - dom-serializer "^1.0.1" - domelementtype "^2.2.0" - domhandler "^4.2.0" - donutty@^2.3.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/donutty/-/donutty-2.3.1.tgz#85169649bfdd3029bfd46d3469b871e1d6d7fbcc" - integrity sha512-N4QcKsL6aiwq8MTG25+G9HNeHuFqs8VmrvFs1ownJ7ODRGUNc785XzCVJp8Bwrj0GODfSvMXAXWCgkLKcwTFaw== + version "2.4.0" + resolved "https://registry.yarnpkg.com/donutty/-/donutty-2.4.0.tgz#3363e87d1dccbe4c5b1f6417b0a7a3391e35cef9" + integrity sha512-9g/JmMxbPzLbU+NrZGv6erGc4+qUIJYeYANyx1soYfQll+Ew6xIK80FSLf5tc3FxPH5IX260leF78M8QuZleVw== -dot-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" - integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== +dot-prop@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.1.tgz#45884194a71fc2cda71cbb4bceb3a4dd2f433ba4" + integrity sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ== dependencies: - no-case "^3.0.4" - tslib "^2.0.3" + is-obj "^1.0.0" dot-prop@^5.2.0: version "5.3.0" @@ -3543,33 +1310,15 @@ dot-prop@^5.2.0: dependencies: is-obj "^2.0.0" -dotenv-expand@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" - integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== - -dotenv@^10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" - integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== +dotenv@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" + integrity sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow== duplexer3@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" - integrity sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - -editorconfig-to-prettier@0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/editorconfig-to-prettier/-/editorconfig-to-prettier-0.1.1.tgz#7391c7067dfd68ffee65afc2c4fbe4fba8d4219a" - integrity sha512-MMadSSVRDb4uKdxV6bCXXN4cTsxIsXYtV4XdPu6FOCSAw6zsCIDA+QEktEU+u6h+c/mTrul5NR+pwFpPxwetiQ== + version "0.1.5" + resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.5.tgz#0b5e4d7bad5de8901ea4440624c8e1d20099217e" + integrity sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA== editorconfig@^0.15.3: version "0.15.3" @@ -3581,54 +1330,21 @@ editorconfig@^0.15.3: semver "^5.6.0" sigmund "^1.0.1" -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= - -electron-to-chromium@^1.4.84: - version "1.4.107" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.107.tgz#564257014ab14033b4403a309c813123c58a3fb9" - integrity sha512-Huen6taaVrUrSy8o7mGStByba8PfOWWluHNxSHGBrCgEdFVLtvdQDBr9LBCF9Uci8SYxh28QNNMO0oC17wbGAg== - -elegant-spinner@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" - integrity sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4= - -elliptic@^6.5.3: - version "6.5.4" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" - integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== - dependencies: - bn.js "^4.11.9" - brorand "^1.1.0" - hash.js "^1.0.0" - hmac-drbg "^1.0.1" - inherits "^2.0.4" - minimalistic-assert "^1.0.1" - minimalistic-crypto-utils "^1.0.1" +emoji-regex@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" + integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== -emojis-list@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" - integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k= - emojis-list@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= - end-of-stream@^1.1.0: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" @@ -3636,30 +1352,18 @@ end-of-stream@^1.1.0: dependencies: once "^1.4.0" -enhanced-resolve@^5.9.2: - version "5.9.3" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz#44a342c012cbc473254af5cc6ae20ebd0aae5d88" - integrity sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" - enquirer@^2.3.5, enquirer@^2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" - integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== + version "2.4.1" + resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.4.1.tgz#93334b3fbd74fc7097b224ab4a8fb7e40bf4ae56" + integrity sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ== dependencies: ansi-colors "^4.1.1" + strip-ansi "^6.0.1" -entities@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" - integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== - -envinfo@^7.7.3: - version "7.8.1" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== +entities@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== error-ex@^1.3.1: version "1.3.2" @@ -3668,43 +1372,92 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.19.1, es-abstract@^1.19.2: - version "1.19.4" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.4.tgz#79a95527af382eb276075627e53762393ce8b57a" - integrity sha512-flV8e5g9/xulChMG48Fygk1ptpo4lQRJ0eJYtxJFgi7pklLx7EFcOJ34jnvr8pbWlaFN/AT1cZpe0hiFel9Hqg== - dependencies: - call-bind "^1.0.2" +es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.2: + version "1.23.3" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.3.tgz#8f0c5a35cd215312573c5a27c87dfd6c881a0aa0" + integrity sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A== + dependencies: + array-buffer-byte-length "^1.0.1" + arraybuffer.prototype.slice "^1.0.3" + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + data-view-buffer "^1.0.1" + data-view-byte-length "^1.0.1" + data-view-byte-offset "^1.0.0" + es-define-property "^1.0.0" + es-errors "^1.3.0" + es-object-atoms "^1.0.0" + es-set-tostringtag "^2.0.3" es-to-primitive "^1.2.1" - function-bind "^1.1.1" - get-intrinsic "^1.1.1" - get-symbol-description "^1.0.0" - has "^1.0.3" + function.prototype.name "^1.1.6" + get-intrinsic "^1.2.4" + get-symbol-description "^1.0.2" + globalthis "^1.0.3" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" + has-proto "^1.0.3" has-symbols "^1.0.3" - internal-slot "^1.0.3" - is-callable "^1.2.4" - is-negative-zero "^2.0.2" + hasown "^2.0.2" + internal-slot "^1.0.7" + is-array-buffer "^3.0.4" + is-callable "^1.2.7" + is-data-view "^1.0.1" + is-negative-zero "^2.0.3" is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" + is-shared-array-buffer "^1.0.3" is-string "^1.0.7" + is-typed-array "^1.1.13" is-weakref "^1.0.2" - object-inspect "^1.12.0" + object-inspect "^1.13.1" object-keys "^1.1.1" - object.assign "^4.1.2" - string.prototype.trimend "^1.0.4" - string.prototype.trimstart "^1.0.4" - unbox-primitive "^1.0.1" + object.assign "^4.1.5" + regexp.prototype.flags "^1.5.2" + safe-array-concat "^1.1.2" + safe-regex-test "^1.0.3" + string.prototype.trim "^1.2.9" + string.prototype.trimend "^1.0.8" + string.prototype.trimstart "^1.0.8" + typed-array-buffer "^1.0.2" + typed-array-byte-length "^1.0.1" + typed-array-byte-offset "^1.0.2" + typed-array-length "^1.0.6" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.15" + +es-define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" + integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== + dependencies: + get-intrinsic "^1.2.4" -es-module-lexer@^0.9.0: - version "0.9.3" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" - integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== +es-errors@^1.2.1, es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== -es-shim-unscopables@^1.0.0: +es-object-atoms@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" - integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz#ddb55cd47ac2e240701260bc2a8e31ecb643d941" + integrity sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw== + dependencies: + es-errors "^1.3.0" + +es-set-tostringtag@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz#8bb60f0a440c2e4281962428438d58545af39777" + integrity sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ== dependencies: - has "^1.0.3" + get-intrinsic "^1.2.4" + has-tostringtag "^1.0.2" + hasown "^2.0.1" + +es-shim-unscopables@^1.0.0, es-shim-unscopables@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" + integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== + dependencies: + hasown "^2.0.0" es-to-primitive@^1.2.1: version "1.2.1" @@ -3715,51 +1468,174 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.60" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.60.tgz#e8060a86472842b93019c31c34865012449883f4" - integrity sha512-jpKNXIt60htYG59/9FGf2PYT3pwMpnEbNKysU+k/4FGwyGtMotOvcZOuW+EmXXYASRqYSXQfGL5cVIthOTgbkg== +es5-ext@^0.10.35, es5-ext@^0.10.62, es5-ext@^0.10.64, es5-ext@~0.10.14: + version "0.10.64" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.64.tgz#12e4ffb48f1ba2ea777f1fcdd1918ef73ea21714" + integrity sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg== dependencies: es6-iterator "^2.0.3" es6-symbol "^3.1.3" + esniff "^2.0.1" next-tick "^1.1.0" es6-iterator@2.0.3, es6-iterator@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c= + integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== dependencies: d "1" es5-ext "^0.10.35" es6-symbol "^3.1.1" es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + version "3.1.4" + resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.4.tgz#f4e7d28013770b4208ecbf3e0bf14d3bcb557b8c" + integrity sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg== + dependencies: + d "^1.0.2" + ext "^1.7.0" + +esbuild-android-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz#505f41832884313bbaffb27704b8bcaa2d8616be" + integrity sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ== + +esbuild-android-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz#8ce69d7caba49646e009968fe5754a21a9871771" + integrity sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg== + +esbuild-darwin-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz#24ba67b9a8cb890a3c08d9018f887cc221cdda25" + integrity sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug== + +esbuild-darwin-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz#3f7cdb78888ee05e488d250a2bdaab1fa671bf73" + integrity sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw== + +esbuild-freebsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz#09250f997a56ed4650f3e1979c905ffc40bbe94d" + integrity sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg== + +esbuild-freebsd-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz#bafb46ed04fc5f97cbdb016d86947a79579f8e48" + integrity sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q== + +esbuild-linux-32@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz#e2a8c4a8efdc355405325033fcebeb941f781fe5" + integrity sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw== + +esbuild-linux-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz#de5fdba1c95666cf72369f52b40b03be71226652" + integrity sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg== + +esbuild-linux-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz#dae4cd42ae9787468b6a5c158da4c84e83b0ce8b" + integrity sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig== + +esbuild-linux-arm@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz#a2c1dff6d0f21dbe8fc6998a122675533ddfcd59" + integrity sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw== + +esbuild-linux-mips64le@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz#d9918e9e4cb972f8d6dae8e8655bf9ee131eda34" + integrity sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw== + +esbuild-linux-ppc64le@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz#3f9a0f6d41073fb1a640680845c7de52995f137e" + integrity sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ== + +esbuild-linux-riscv64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz#618853c028178a61837bc799d2013d4695e451c8" + integrity sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg== + +esbuild-linux-s390x@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz#d1885c4c5a76bbb5a0fe182e2c8c60eb9e29f2a6" + integrity sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA== + +esbuild-netbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz#69ae917a2ff241b7df1dbf22baf04bd330349e81" + integrity sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w== + +esbuild-openbsd-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz#db4c8495287a350a6790de22edea247a57c5d47b" + integrity sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw== + +esbuild-sunos-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz#54287ee3da73d3844b721c21bc80c1dc7e1bf7da" + integrity sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw== + +esbuild-windows-32@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz#f8aaf9a5667630b40f0fb3aa37bf01bbd340ce31" + integrity sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w== + +esbuild-windows-64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz#bf54b51bd3e9b0f1886ffdb224a4176031ea0af4" + integrity sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ== + +esbuild-windows-arm64@0.14.54: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz#937d15675a15e4b0e4fafdbaa3a01a776a2be982" + integrity sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg== + +esbuild@^0.14.27: + version "0.14.54" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.54.tgz#8b44dcf2b0f1a66fc22459943dccf477535e9aa2" + integrity sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA== + optionalDependencies: + "@esbuild/linux-loong64" "0.14.54" + esbuild-android-64 "0.14.54" + esbuild-android-arm64 "0.14.54" + esbuild-darwin-64 "0.14.54" + esbuild-darwin-arm64 "0.14.54" + esbuild-freebsd-64 "0.14.54" + esbuild-freebsd-arm64 "0.14.54" + esbuild-linux-32 "0.14.54" + esbuild-linux-64 "0.14.54" + esbuild-linux-arm "0.14.54" + esbuild-linux-arm64 "0.14.54" + esbuild-linux-mips64le "0.14.54" + esbuild-linux-ppc64le "0.14.54" + esbuild-linux-riscv64 "0.14.54" + esbuild-linux-s390x "0.14.54" + esbuild-netbsd-64 "0.14.54" + esbuild-openbsd-64 "0.14.54" + esbuild-sunos-64 "0.14.54" + esbuild-windows-32 "0.14.54" + esbuild-windows-64 "0.14.54" + esbuild-windows-arm64 "0.14.54" escape-goat@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q== -escape-html@^1.0.3, escape-html@~1.0.3: +escape-html@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= + integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== escape-string-regexp@^4.0.0: version "4.0.0" @@ -3771,28 +1647,28 @@ eslint-config-standard@^16.0.3: resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-16.0.3.tgz#6c8761e544e96c531ff92642eeb87842b8488516" integrity sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg== -eslint-import-resolver-node@^0.3.6: - version "0.3.6" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd" - integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw== +eslint-import-resolver-node@^0.3.9: + version "0.3.9" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" + integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== dependencies: debug "^3.2.7" - resolve "^1.20.0" + is-core-module "^2.13.0" + resolve "^1.22.4" -eslint-module-utils@^2.7.3: - version "2.7.3" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz#ad7e3a10552fdd0642e1e55292781bd6e34876ee" - integrity sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ== +eslint-module-utils@^2.8.0: + version "2.8.1" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz#52f2404300c3bd33deece9d7372fb337cc1d7c34" + integrity sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q== dependencies: debug "^3.2.7" - find-up "^2.1.0" eslint-plugin-cypress@>=2.11.2: - version "2.12.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-cypress/-/eslint-plugin-cypress-2.12.1.tgz#9aeee700708ca8c058e00cdafe215199918c2632" - integrity sha512-c2W/uPADl5kospNDihgiLc7n87t5XhUbFDoTl6CfVkmG+kDAb5Ux10V9PoLPu9N+r7znpc+iQlcmAqT1A/89HA== + version "3.3.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-cypress/-/eslint-plugin-cypress-3.3.0.tgz#4ab963193d21ad22aca8379e1d15ba02619ae8db" + integrity sha512-HPHMPzYBIshzJM8wqgKSKHG2p/8R0Gbg4Pb3tcdC9WrmkuqxiKxSKbjunUrajhV5l7gCIFrh1P7C7GuBqH6YuQ== dependencies: - globals "^11.12.0" + globals "^13.20.0" eslint-plugin-es@^3.0.0: version "3.0.1" @@ -3803,23 +1679,27 @@ eslint-plugin-es@^3.0.0: regexpp "^3.0.0" eslint-plugin-import@>=2.22.1: - version "2.26.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" - integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== - dependencies: - array-includes "^3.1.4" - array.prototype.flat "^1.2.5" - debug "^2.6.9" + version "2.29.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz#d45b37b5ef5901d639c15270d74d46d161150643" + integrity sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw== + dependencies: + array-includes "^3.1.7" + array.prototype.findlastindex "^1.2.3" + array.prototype.flat "^1.3.2" + array.prototype.flatmap "^1.3.2" + debug "^3.2.7" doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.6" - eslint-module-utils "^2.7.3" - has "^1.0.3" - is-core-module "^2.8.1" + eslint-import-resolver-node "^0.3.9" + eslint-module-utils "^2.8.0" + hasown "^2.0.0" + is-core-module "^2.13.1" is-glob "^4.0.3" minimatch "^3.1.2" - object.values "^1.1.5" - resolve "^1.22.0" - tsconfig-paths "^3.14.1" + object.fromentries "^2.0.7" + object.groupby "^1.0.1" + object.values "^1.1.7" + semver "^6.3.1" + tsconfig-paths "^3.15.0" eslint-plugin-node@>=11.1.0: version "11.1.0" @@ -3834,9 +1714,9 @@ eslint-plugin-node@>=11.1.0: semver "^6.1.0" eslint-plugin-promise@>=4.2.1: - version "6.0.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz#017652c07c9816413a41e11c30adc42c3d55ff18" - integrity sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw== + version "6.4.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-6.4.0.tgz#54926d53c79541efe9cea6ac1d823a58bbed1106" + integrity sha512-/KWWRaD3fGkVCZsdR0RU53PSthFmoHVhZl+y9+6DqeDLSikLdlUVpVEAmI6iCRR5QyOjBYBqHZV/bdv4DJ4Gtw== eslint-plugin-standard@>=4.0.0: version "5.0.0" @@ -3853,7 +1733,7 @@ eslint-plugin-vue@^7.0.1: semver "^6.3.0" vue-eslint-parser "^7.10.0" -eslint-scope@5.1.1, eslint-scope@^5.1.1: +eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -3924,6 +1804,16 @@ eslint@^7.11.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" +esniff@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/esniff/-/esniff-2.0.1.tgz#a4d4b43a5c71c7ec51c51098c1d8a29081f9b308" + integrity sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg== + dependencies: + d "^1.0.1" + es5-ext "^0.10.62" + event-emitter "^0.3.5" + type "^2.7.2" + espree@^6.2.1: version "6.2.1" resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" @@ -3948,9 +1838,9 @@ esprima@^4.0.0, esprima@^4.0.1: integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== esquery@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" - integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== + version "1.5.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== dependencies: estraverse "^5.1.0" @@ -3971,7 +1861,7 @@ estraverse@^5.1.0, estraverse@^5.2.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== -estree-walker@^2.0.1, estree-walker@^2.0.2: +estree-walker@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== @@ -3981,35 +1871,28 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= - -eventemitter2@^6.4.2: - version "6.4.5" - resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.5.tgz#97380f758ae24ac15df8353e0cc27f8b95644655" - integrity sha512-bXE7Dyc1i6oQElDG0jMRZJrRAn9QR2xyyFGmBdZleNmyQX0FqGYmhZIrIrpPfm/w//LTo4tVQGOGQcGCb5q9uw== - -eventemitter3@^4.0.0: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -events@^3.0.0, events@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" + integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== + dependencies: + d "1" + es5-ext "~0.10.14" -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== +execa@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" + integrity sha512-RztN09XglpYI7aBBrJCPW95jEH7YF1UEPOoX9yDhUTPdp7mK+CQvnLTuD10BNXZ3byLTu2uehZ8EcKT/4CGiFw== dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" + cross-spawn "^5.0.1" + get-stream "^3.0.0" + is-stream "^1.1.0" + npm-run-path "^2.0.0" + p-finally "^1.0.0" + signal-exit "^3.0.0" + strip-eof "^1.0.0" -execa@^4.0.2, execa@^4.1.0: +execa@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/execa/-/execa-4.1.0.tgz#4e5491ad1572f2f17a77d388c6c857135b22847a" integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA== @@ -4024,84 +1907,21 @@ execa@^4.0.2, execa@^4.1.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -executable@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/executable/-/executable-4.1.1.tgz#41532bff361d3e57af4d763b70582db18f5d133c" - integrity sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg== - dependencies: - pify "^2.2.0" - -exit-hook@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" - integrity sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g= - -express@^4.17.3: - version "4.17.3" - resolved "https://registry.yarnpkg.com/express/-/express-4.17.3.tgz#f6c7302194a4fb54271b73a1fe7a06478c8f85a1" - integrity sha512-yuSQpz5I+Ch7gFrPCk4/c+dIBKlQUxtgwqzph132bsT6qhuzss6I8cLJQz7B3rFblzd6wtcI0ZbGltH/C4LjUg== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "1.19.2" - content-disposition "0.5.4" - content-type "~1.0.4" - cookie "0.4.2" - cookie-signature "1.0.6" - debug "2.6.9" - depd "~1.1.2" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "~1.1.2" - fresh "0.5.2" - merge-descriptors "1.0.1" - methods "~1.1.2" - on-finished "~2.3.0" - parseurl "~1.3.3" - path-to-regexp "0.1.7" - proxy-addr "~2.0.7" - qs "6.9.7" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "0.17.2" - serve-static "1.14.2" - setprototypeof "1.2.0" - statuses "~1.5.0" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - -ext@^1.1.2: - version "1.6.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52" - integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg== +ext@^1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" + integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== dependencies: - type "^2.5.0" + type "^2.7.2" extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8= + integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== dependencies: is-extendable "^0.1.0" -extend@^3.0.0, extend@~3.0.2: +extend@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== @@ -4115,26 +1935,6 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -extract-zip@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.7.0.tgz#556cc3ae9df7f452c493a0cfb51cc30277940927" - integrity sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA== - dependencies: - concat-stream "^1.6.2" - debug "^2.6.9" - mkdirp "^0.5.4" - yauzl "^2.10.0" - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= - -extsprintf@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" - integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== - faker@^5.1.0: version "5.5.3" resolved "https://registry.yarnpkg.com/faker/-/faker-5.5.3.tgz#c57974ee484431b25205c2c8dc09fda861e51e0e" @@ -4145,17 +1945,6 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-glob@^3.0.3: - version "3.2.11" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -4164,19 +1953,7 @@ fast-json-stable-stringify@^2.0.0: fast-levenshtein@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= - -fastest-levenshtein@^1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz#9990f7d3a88cc5a9ffd1f1745745251700d497e2" - integrity sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow== - -fastq@^1.6.0: - version "1.13.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" - integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== - dependencies: - reusify "^1.0.4" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== fault@^1.0.0: version "1.0.4" @@ -4185,35 +1962,6 @@ fault@^1.0.0: dependencies: format "^0.2.0" -faye-websocket@^0.11.3: - version "0.11.4" - resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" - integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== - dependencies: - websocket-driver ">=0.5.1" - -fd-slicer@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" - integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= - dependencies: - pend "~1.2.0" - -figures@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" - integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= - dependencies: - escape-string-regexp "^1.0.5" - object-assign "^4.1.0" - -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI= - dependencies: - escape-string-regexp "^1.0.5" - figures@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -4228,56 +1976,21 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" -file-loader@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d" - integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw== - dependencies: - loader-utils "^2.0.0" - schema-utils "^3.0.0" - -file-type@^12.0.0: - version "12.4.2" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-12.4.2.tgz#a344ea5664a1d01447ee7fb1b635f72feb6169d9" - integrity sha512-UssQP5ZgIOKelfsaB5CuGAL+Y+q7EmONuiwF3N5HAH0t27rvrttgi6Ra9k/+DVaY9UF6+ybxu5pOXLUdA8N7Vg== - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== dependencies: to-regex-range "^5.0.1" -finalhandler@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" - integrity sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== - dependencies: - debug "2.6.9" - encodeurl "~1.0.2" - escape-html "~1.0.3" - on-finished "~2.3.0" - parseurl "~1.3.3" - statuses "~1.5.0" - unpipe "~1.0.0" - -find-cache-dir@^3.3.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" - integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.2" - pkg-dir "^4.1.0" - -find-up@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= +find-up@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" + integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== dependencies: - locate-path "^2.0.0" + locate-path "^3.0.0" -find-up@^4.0.0, find-up@^4.1.0: +find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== @@ -4285,86 +1998,50 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - -find-versions@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-4.0.0.tgz#3c57e573bf97769b8cb8df16934b627915da4965" - integrity sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ== - dependencies: - semver-regex "^3.1.2" - flat-cache@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" - integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + version "3.2.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" + integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== dependencies: - flatted "^3.1.0" + flatted "^3.2.9" + keyv "^4.5.3" rimraf "^3.0.2" -flatted@^3.1.0: - version "3.2.5" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.5.tgz#76c8584f4fc843db64702a6bd04ab7a8bd666da3" - integrity sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg== +flatted@^3.2.9: + version "3.3.1" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" + integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== -follow-redirects@^1.0.0, follow-redirects@^1.14.0: - version "1.14.9" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7" - integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w== +follow-redirects@^1.14.0, follow-redirects@^1.15.6: + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== +form-data@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" + integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== dependencies: asynckit "^0.4.0" - combined-stream "^1.0.6" + combined-stream "^1.0.8" mime-types "^2.1.12" format@^0.2.0: version "0.2.2" resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" - integrity sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs= - -forwarded@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" - integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== - -fraction.js@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" - integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== - -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= + integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww== fs-exists-sync@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz#982d6893af918e72d08dec9e8673ff2b5a8d6add" - integrity sha1-mC1ok6+RjnLQjeyehnP/K1qNat0= - -fs-extra@^10.0.0: - version "10.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.1.tgz#27de43b4320e833f6867cc044bfce29fdf0ef3b8" - integrity sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" + integrity sha512-cR/vflFyPZtrN6b38ZyWxpWdhlXrzZEBawlpBQMq7033xVY7/kg0GDMBK5jg8lDYQckdJ5x/YC88lM3C7VMsLg== fs-extra@^8.1.0: version "8.1.0" @@ -4375,72 +2052,67 @@ fs-extra@^8.1.0: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^9.0.1: - version "9.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" - integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-monkey@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.3.tgz#ae3ac92d53bb328efe0e9a1d9541f6ad8d48e2d3" - integrity sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q== - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" - integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + +function.prototype.name@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" + integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + es-abstract "^1.22.1" + functions-have-names "^1.2.3" functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" - integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= - -generic-names@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/generic-names/-/generic-names-4.0.0.tgz#0bd8a2fd23fe8ea16cbd0a279acd69c06933d9a3" - integrity sha512-ySFolZQfw9FoDb3ed9d80Cm9f0+r7qj+HJkWjeD9RBfpxEVTlVhol+gvaQB/78WbwYfbnNh8nWHHBSlg072y6A== - dependencies: - loader-utils "^3.2.0" + integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g== -gensync@^1.0.0-beta.2: - version "1.0.0-beta.2" - resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" - integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== +functions-have-names@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== -get-caller-file@^2.0.5: +get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" - integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== +get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" + es-errors "^1.3.0" + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" get-own-enumerable-property-symbols@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== +get-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" + integrity sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ== + get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" @@ -4455,47 +2127,24 @@ get-stream@^5.0.0, get-stream@^5.1.0: dependencies: pump "^3.0.0" -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - -getos@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/getos/-/getos-3.2.1.tgz#0134d1f4e00eb46144c5a9c0ac4dc087cbb27dc5" - integrity sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q== - dependencies: - async "^3.2.0" - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= +get-symbol-description@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.2.tgz#533744d5aa20aca4e079c8e5daf7fd44202821f5" + integrity sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg== dependencies: - assert-plus "^1.0.0" + call-bind "^1.0.5" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" git-config-path@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/git-config-path/-/git-config-path-1.0.1.tgz#6d33f7ed63db0d0e118131503bab3aca47d54664" - integrity sha1-bTP37WPbDQ4RgTFQO6s6ykfVRmQ= + integrity sha512-KcJ2dlrrP5DbBnYIZ2nlikALfRhKzNSX0stvv3ImJ+fvC4hXKoV+U+74SV0upg+jlQZbrtQzc0bu6/Zh+7aQbg== dependencies: extend-shallow "^2.0.1" fs-exists-sync "^0.1.0" homedir-polyfill "^1.0.0" -git-default-branch@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/git-default-branch/-/git-default-branch-1.0.0.tgz#5e6eeb3ac9e4c89500514d53b0f8773183c80b6d" - integrity sha512-/eBj13g+SDiPnRMO82wTCA6P0Xi413TWSeyjf5Qj/vdLzn7iXROotuElMF4fNxNlL7TMbUjUW1EHjd3E9OAItQ== - git-username@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/git-username/-/git-username-1.0.0.tgz#5e31ef29efe15c184cfaa5ed23212c89b0fcf123" @@ -4511,23 +2160,25 @@ glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-to-regexp@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" - integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== - -glob@^7.0.0, glob@^7.1.3, glob@^7.1.6, glob@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== +glob@^7.1.3, glob@^7.1.6: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.4" + minimatch "^3.1.1" once "^1.3.0" path-is-absolute "^1.0.0" +global-dirs@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" + integrity sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg== + dependencies: + ini "^1.3.4" + global-dirs@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-2.1.0.tgz#e9046a49c806ff04d6c1825e196c8f0091e8df4d" @@ -4535,48 +2186,44 @@ global-dirs@^2.0.1: dependencies: ini "1.3.7" -globals@^11.1.0, globals@^11.12.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -globals@^13.6.0, globals@^13.9.0: - version "13.13.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.13.0.tgz#ac32261060d8070e2719dd6998406e27d2b5727b" - integrity sha512-EQ7Q18AJlPwp3vUDL4mKA0KXrXyNIQyWon6T6XQiBQF0XHvRsiCSrWmmeATpUzdJN2HhWZU6Pdl0a9zdep5p6A== +globals@^13.20.0, globals@^13.6.0, globals@^13.9.0: + version "13.24.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== dependencies: type-fest "^0.20.2" -globby@^10.0.0: - version "10.0.2" - resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" - integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== +globalthis@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236" + integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== dependencies: - "@types/glob" "^7.1.1" - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" - slash "^3.0.0" - -got@^11.8.0: - version "11.8.3" - resolved "https://registry.yarnpkg.com/got/-/got-11.8.3.tgz#f496c8fdda5d729a90b4905d2b07dbd148170770" - integrity sha512-7gtQ5KiPh1RtGS9/Jbv1ofDpBFuq42gyfEib+ejaRBJuj/3tQFeR5+gw57e4ipaU8c/rCjvX6fkQz2lyDlGAOg== - dependencies: - "@sindresorhus/is" "^4.0.0" - "@szmarczak/http-timer" "^4.0.5" - "@types/cacheable-request" "^6.0.1" - "@types/responselike" "^1.0.0" - cacheable-lookup "^5.0.3" - cacheable-request "^7.0.2" - decompress-response "^6.0.0" - http2-wrapper "^1.0.0-beta.5.2" - lowercase-keys "^2.0.0" - p-cancelable "^2.0.0" - responselike "^2.0.0" + define-properties "^1.2.1" + gopd "^1.0.1" + +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +got@^6.7.1: + version "6.7.1" + resolved "https://registry.yarnpkg.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" + integrity sha512-Y/K3EDuiQN9rTZhBvPRWMLXIKdeD1Rj0nzunfoi0Yyn5WBEbzxXKU9Ub2X41oZBagVWOBU3MuDonFMgPWQFnwg== + dependencies: + create-error-class "^3.0.0" + duplexer3 "^0.1.4" + get-stream "^3.0.0" + is-redirect "^1.0.0" + is-retry-allowed "^1.0.0" + is-stream "^1.0.0" + lowercase-keys "^1.0.0" + safe-buffer "^5.0.1" + timed-out "^4.0.0" + unzip-response "^2.0.1" + url-parse-lax "^1.0.0" got@^9.6.0: version "9.6.0" @@ -4595,37 +2242,27 @@ got@^9.6.0: to-readable-stream "^1.0.0" url-parse-lax "^3.0.0" -graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - -growly@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" - integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE= - -handle-thing@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" - integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== +graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== has-ansi@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= + integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== dependencies: ansi-regex "^2.0.0" -has-bigints@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.1.tgz#64fe6acb020673e3b78db035a5af69aa9d07b113" - integrity sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA== +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== has-flag@^4.0.0: version "4.0.0" @@ -4637,58 +2274,48 @@ has-own-prop@^2.0.0: resolved "https://registry.yarnpkg.com/has-own-prop/-/has-own-prop-2.0.0.tgz#f0f95d58f65804f5d218db32563bb85b8e0417af" integrity sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ== -has-symbols@^1.0.1, has-symbols@^1.0.2, has-symbols@^1.0.3: +has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" + integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== + dependencies: + es-define-property "^1.0.0" + +has-proto@^1.0.1, has-proto@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" + integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== + +has-symbols@^1.0.2, has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== +has-tostringtag@^1.0.0, has-tostringtag@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== dependencies: - has-symbols "^1.0.2" + has-symbols "^1.0.3" has-yarn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== -has@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" - integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== - dependencies: - function-bind "^1.1.1" - -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -hash-sum@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-1.0.2.tgz#33b40777754c6432573c120cc3808bbd10d47f04" - integrity sha1-M7QHd3VMZDJXPBIMw4CLvRDUfwQ= - hash-sum@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-2.0.0.tgz#81d01bb5de8ea4a214ad5d6ead1b523460b0b45a" integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg== -hash.js@^1.0.0, hash.js@^1.0.3: - version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== +hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: - inherits "^2.0.3" - minimalistic-assert "^1.0.1" + function-bind "^1.1.2" -he@^1.1.0, he@^1.2.0: +he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== @@ -4698,15 +2325,6 @@ highlight.js@~10.7.0: resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531" integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== -hmac-drbg@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" - integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE= - dependencies: - hash.js "^1.0.3" - minimalistic-assert "^1.0.0" - minimalistic-crypto-utils "^1.0.1" - homedir-polyfill@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" @@ -4714,224 +2332,52 @@ homedir-polyfill@^1.0.0: dependencies: parse-passwd "^1.0.0" -hpack.js@^2.1.6: - version "2.1.6" - resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" - integrity sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI= - dependencies: - inherits "^2.0.1" - obuf "^1.0.0" - readable-stream "^2.0.1" - wbuf "^1.1.0" - -html-entities@^2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.3.3.tgz#117d7626bece327fc8baace8868fa6f5ef856e46" - integrity sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA== - -html-loader@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/html-loader/-/html-loader-1.3.2.tgz#5a72ebba420d337083497c9aba7866c9e1aee340" - integrity sha512-DEkUwSd0sijK5PF3kRWspYi56XP7bTNkyg5YWSzBdjaSDmvCufep5c4Vpb3PBf6lUL0YPtLwBfy9fL0t5hBAGA== - dependencies: - html-minifier-terser "^5.1.1" - htmlparser2 "^4.1.0" - loader-utils "^2.0.0" - schema-utils "^3.0.0" - -html-minifier-terser@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz#922e96f1f3bb60832c2634b79884096389b1f054" - integrity sha512-ZPr5MNObqnV/T9akshPKbVgyOqLmy+Bxo7juKCfTfnjNniTAMdy4hz21YQqoofMBJD2kdREaqPPdThoR78Tgxg== - dependencies: - camel-case "^4.1.1" - clean-css "^4.2.3" - commander "^4.1.1" - he "^1.2.0" - param-case "^3.0.3" - relateurl "^0.2.7" - terser "^4.6.3" - -htmlparser2@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-4.1.0.tgz#9a4ef161f2e4625ebf7dfbe6c0a2f52d18a59e78" - integrity sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q== - dependencies: - domelementtype "^2.0.1" - domhandler "^3.0.0" - domutils "^2.0.0" - entities "^2.0.0" +hosted-git-info@^2.7.1: + version "2.8.9" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" + integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== http-cache-semantics@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== - -http-deceiver@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" - integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc= - -http-errors@1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.1.tgz#7c3f28577cbc8a207388455dbd62295ed07bd68c" - integrity sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g== - dependencies: - depd "~1.1.2" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses ">= 1.5.0 < 2" - toidentifier "1.0.1" - -http-errors@~1.6.2: - version "1.6.3" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" - integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0= - dependencies: - depd "~1.1.2" - inherits "2.0.3" - setprototypeof "1.1.0" - statuses ">= 1.4.0 < 2" - -http-parser-js@>=0.5.1: - version "0.5.6" - resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.6.tgz#2e02406ab2df8af8a7abfba62e0da01c62b95afd" - integrity sha512-vDlkRPDJn93swjcjqMSaGSPABbIarsr1TLAui/gLDXzV5VsJNdXNzMYDyNBLQkjWQCJ1uizu8T2oDMhmGt0PRA== - -http-proxy-middleware@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.4.tgz#03af0f4676d172ae775cb5c33f592f40e1a4e07a" - integrity sha512-m/4FxX17SUvz4lJ5WPXOHDUuCwIqXLfLHs1s0uZ3oYjhoXlx9csYxaOa0ElDEJ+h8Q4iJ1s+lTMbiCa4EXIJqg== - dependencies: - "@types/http-proxy" "^1.17.8" - http-proxy "^1.18.1" - is-glob "^4.0.1" - is-plain-obj "^3.0.0" - micromatch "^4.0.2" - -http-proxy@^1.18.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -http-signature@~1.3.6: - version "1.3.6" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.3.6.tgz#cb6fbfdf86d1c974f343be94e87f7fc128662cf9" - integrity sha512-3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw== - dependencies: - assert-plus "^1.0.0" - jsprim "^2.0.2" - sshpk "^1.14.1" - -http2-wrapper@^1.0.0-beta.5.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" - integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== - dependencies: - quick-lru "^5.1.1" - resolve-alpn "^1.0.0" - -https-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" - integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== human-signals@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -husky@^4.3.0: - version "4.3.8" - resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.8.tgz#31144060be963fd6850e5cc8f019a1dfe194296d" - integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow== - dependencies: - chalk "^4.0.0" - ci-info "^2.0.0" - compare-versions "^3.6.0" - cosmiconfig "^7.0.0" - find-versions "^4.0.0" - opencollective-postinstall "^2.0.2" - pkg-dir "^5.0.0" - please-upgrade-node "^3.2.0" - slash "^3.0.0" - which-pm-runs "^1.0.0" - -husky@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e" - integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ== +husky@^9.0.11: + version "9.0.11" + resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9" + integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw== -iconv-lite@0.4.24, iconv-lite@^0.4.24: +iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== dependencies: safer-buffer ">= 2.1.2 < 3" -icss-replace-symbols@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded" - integrity sha1-Bupvg2ead0njhs/h/oEq5dsiPe0= - -icss-utils@^5.0.0, icss-utils@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" - integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== - -ieee754@^1.1.4: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - ignore@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== ignore@^5.1.1: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" - integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== - -imagemin@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/imagemin/-/imagemin-7.0.1.tgz#f6441ca647197632e23db7d971fffbd530c87dbf" - integrity sha512-33AmZ+xjZhg2JMCe+vDf6a9mzWukE7l+wAtesjE7KyteqqKjzxv7aVQeWnul1Ve26mWvEQqyPwl0OctNBfSR9w== - dependencies: - file-type "^12.0.0" - globby "^10.0.0" - graceful-fs "^4.2.2" - junk "^3.1.0" - make-dir "^3.0.0" - p-pipe "^3.0.0" - replace-ext "^1.0.0" - -img-loader@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/img-loader/-/img-loader-4.0.0.tgz#f41fb0737cc8e1d6a8c242f48c29a443640e0638" - integrity sha512-UwRcPQdwdOyEHyCxe1V9s9YFwInwEWCpoO+kJGfIqDrBDqA8jZUsEZTxQ0JteNPGw/Gupmwesk2OhLTcnw6tnQ== - dependencies: - loader-utils "^1.1.0" + version "5.3.1" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== immediate@~3.0.5: version "3.0.6" resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b" - integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps= + integrity sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ== immutable@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0.tgz#b86f78de6adef3608395efb269a91462797e2c23" - integrity sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw== + version "4.3.6" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.6.tgz#6a05f7858213238e587fb83586ffa3b4b27f0447" + integrity sha512-Ju0+lEMyzMVZarkTn/gqRpdqd5dOPaz1mCZ0SH3JV6iFw81PldE/PEB1hWVEA288HPt4WXW8O7AWxB10M+03QQ== import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" @@ -4944,25 +2390,12 @@ import-fresh@^3.0.0, import-fresh@^3.2.1: import-lazy@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" - integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= - -import-local@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" - integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== - dependencies: - pkg-dir "^4.2.0" - resolve-cwd "^3.0.0" + integrity sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A== imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= - -indent-string@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" - integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok= + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== indent-string@^4.0.0: version "4.0.0" @@ -4972,26 +2405,16 @@ indent-string@^4.0.0: inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== dependencies: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: +inherits@2, inherits@^2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -inherits@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" - integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE= - -inherits@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" - integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= - ini@1.3.7: version "1.3.7" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.7.tgz#a09363e1911972ea16d7a8851005d84cf09a9a84" @@ -5021,34 +2444,27 @@ inquirer@^7.0.4: strip-ansi "^6.0.0" through "^2.3.6" -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== +internal-slot@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802" + integrity sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g== dependencies: - get-intrinsic "^1.1.0" - has "^1.0.3" + es-errors "^1.3.0" + hasown "^2.0.0" side-channel "^1.0.4" -interpret@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" - integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== - -ipaddr.js@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" - integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== - -ipaddr.js@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.1.tgz#eca256a7a877e917aeb368b0a7497ddf42ef81c0" - integrity sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng== +is-array-buffer@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz#7a1f92b3d61edd2bc65d24f130530ea93d7fae98" + integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.1" is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== is-bigint@^1.0.1: version "1.0.4" @@ -5072,15 +2488,17 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-buffer@~1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== +is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-callable@^1.1.4, is-callable@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" - integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== +is-ci@^1.0.10: + version "1.2.1" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" + integrity sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg== + dependencies: + ci-info "^1.5.0" is-ci@^2.0.0: version "2.0.0" @@ -5089,12 +2507,19 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" -is-core-module@^2.8.1: - version "2.8.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.1.tgz#f59fdfca701d5879d0a6b100a40aa1560ce27211" - integrity sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA== +is-core-module@^2.13.0, is-core-module@^2.13.1: + version "2.14.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.14.0.tgz#43b8ef9f46a6a08888db67b1ffd4ec9e3dfd59d1" + integrity sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A== dependencies: - has "^1.0.3" + hasown "^2.0.2" + +is-data-view@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-data-view/-/is-data-view-1.0.1.tgz#4b4d3a511b70f3dc26d42c03ca9ca515d847759f" + integrity sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w== + dependencies: + is-typed-array "^1.1.13" is-date-object@^1.0.1: version "1.0.5" @@ -5106,34 +2531,22 @@ is-date-object@^1.0.1: is-directory@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= - -is-docker@^2.0.0, is-docker@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" - integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + integrity sha512-yVChGzahRFvbkscn2MlwGismPO12i9+znNruC5gVEntG3qu0xQMzsGg/JFbrsqDOHtHFPci+V5aP5T9I+yeKqw== is-extendable@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik= + integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= - dependencies: - number-is-nan "^1.0.0" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== is-fullwidth-code-point@^3.0.0: version "3.0.0" @@ -5145,9 +2558,17 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: - is-extglob "^2.1.1" + is-extglob "^2.1.1" + +is-installed-globally@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" + integrity sha512-ERNhMg+i/XgDwPIPF3u24qpajVreaiSuvpb1Uu0jugw7KKcxGyCX8cgp8P5fwTmAuXku6beDHHECdKArjlg7tw== + dependencies: + global-dirs "^0.1.0" + is-path-inside "^1.0.0" -is-installed-globally@^0.3.1, is-installed-globally@^0.3.2: +is-installed-globally@^0.3.1: version "0.3.2" resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.3.2.tgz#fd3efa79ee670d1187233182d5b0a1dd00313141" integrity sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g== @@ -5155,10 +2576,15 @@ is-installed-globally@^0.3.1, is-installed-globally@^0.3.2: global-dirs "^2.0.1" is-path-inside "^3.0.1" -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== +is-negative-zero@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" + integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== + +is-npm@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" + integrity sha512-9r39FIr3d+KD9SbX0sfMsHzb5PP3uimOiwr3YupUaUFG4W0l1U57Rx3utpttV7qz5U3jmrO5auUa04LU9pyHsg== is-npm@^4.0.0: version "4.0.0" @@ -5177,49 +2603,37 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-obj@^1.0.1: +is-obj@^1.0.0, is-obj@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" - integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8= + integrity sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg== is-obj@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-observable@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e" - integrity sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA== +is-path-inside@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" + integrity sha512-qhsCR/Esx4U4hg/9I19OVUAJkGWtjRYHMRgUMZE2TDdj+Ag+kttZanLupfddNyglzz50cUlmWzUaI37GDfNx/g== dependencies: - symbol-observable "^1.1.0" + path-is-inside "^1.0.1" is-path-inside@^3.0.1: version "3.0.3" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-plain-obj@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" - integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== - is-plain-object@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-3.0.1.tgz#662d92d24c0aa4302407b0d45d21f2251c85f85b" integrity sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g== -is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-promise@^2.1.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" - integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== +is-redirect@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" + integrity sha512-cr/SlUEe5zOGmzvj9bUyC4LVvkNVAXu4GytXLNMr1pny+a65MpQ9IJzFHD5vi7FyJgb4qt27+eS3TuQnqB+RQw== is-regex@^1.1.4: version "1.1.4" @@ -5232,19 +2646,24 @@ is-regex@^1.1.4: is-regexp@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" - integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= + integrity sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA== -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== +is-retry-allowed@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" + integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== + +is-shared-array-buffer@^1.0.2, is-shared-array-buffer@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz#1237f1cba059cdb62431d378dcc37d9680181688" + integrity sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg== dependencies: - call-bind "^1.0.2" + call-bind "^1.0.7" -is-stream@^1.1.0: +is-stream@^1.0.0, is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= + integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ== is-stream@^2.0.0: version "2.0.1" @@ -5265,10 +2684,17 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" -is-typedarray@^1.0.0, is-typedarray@~1.0.0: +is-typed-array@^1.1.13: + version "1.1.13" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.13.tgz#d6c5ca56df62334959322d7d7dd1cca50debe229" + integrity sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw== + dependencies: + which-typed-array "^1.1.14" + +is-typedarray@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== is-unicode-supported@^0.1.0: version "0.1.0" @@ -5282,51 +2708,25 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" -is-wsl@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - is-yarn-global@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== -isarray@^1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= +isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= - -isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= - -jest-worker@^27.4.5: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== jquery@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.0.tgz#c72a09f15c1bdce142f49dbf1170bdf8adac2470" - integrity sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw== + version "3.7.1" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de" + integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg== "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" @@ -5336,7 +2736,7 @@ jquery@^3.6.0: js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" - integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= + integrity sha512-RjTcuD4xjtthQkaWH7dFlH85L+QaVtSoOyGdZ3g6HFhS9dFNDfLyqgm2NFe2X6cQpeFmt0452FJjFG5UameExg== js-yaml@^3.13.1: version "3.14.1" @@ -5346,36 +2746,16 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= - -jsesc@^2.5.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" - integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== - -jsesc@~0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" - integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0= - json-buffer@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" - integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= + integrity sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ== -json-buffer@3.0.1, json-buffer@~3.0.1: +json-buffer@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== -json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - json-parse-even-better-errors@^2.3.0: version "2.3.1" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" @@ -5391,64 +2771,30 @@ json-schema-traverse@^1.0.0: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== -json-schema@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" - integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== - json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" - integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= - -json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== -json5@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== +json5@^1.0.1, json5@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== dependencies: minimist "^1.2.0" -json5@^2.1.2, json5@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" - integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== +json5@^2.1.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss= - optionalDependencies: - graceful-fs "^4.1.6" - -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - dependencies: - universalify "^2.0.0" + integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== optionalDependencies: graceful-fs "^4.1.6" -jsprim@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-2.0.2.tgz#77ca23dbcd4135cd364800d22ff82c2185803d4d" - integrity sha512-gqXddjPqQ6G40VdnI6T6yObEC+pDNvyP95wdQhkWkg7crHH3km5qP1FsOXEkzEQwnz6gz5qGTn1c2Y52wP3OyQ== - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.4.0" - verror "1.10.0" - -junk@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/junk/-/junk-3.1.0.tgz#31499098d902b7e98c5d9b9c80f43457a88abfa1" - integrity sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ== - keyv@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" @@ -5456,91 +2802,37 @@ keyv@^3.0.0: dependencies: json-buffer "3.0.0" -keyv@^4.0.0: - version "4.2.2" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.2.2.tgz#4b6f602c0228ef4d8214c03c520bef469ed6b768" - integrity sha512-uYS0vKTlBIjNCAUqrjlxmruxOEiZxZIHXyp32sdcGmP+ukFrmWUnE//RcPXJH3Vxrni1H2gsQbjHE0bH7MtMQQ== +keyv@^4.5.3: + version "4.5.4" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== dependencies: - compress-brotli "^1.3.6" json-buffer "3.0.1" -kind-of@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - kleur@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -klona@^2.0.4, klona@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc" - integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ== +klona@^2.0.4: + version "2.0.6" + resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.6.tgz#85bffbf819c03b2f53270412420a4555ef882e22" + integrity sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA== -laravel-mix-purgecss@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/laravel-mix-purgecss/-/laravel-mix-purgecss-6.0.0.tgz#0e52e1e9f8ddd951c5dc354674c37790ffc8cb40" - integrity sha512-1OVy3xVVqvWrBTI+vQrr9qlrNKKqq3lFlWQpdJxKO2IeK8bMERkNab3fLtldyyOd5ApBuoMd81EqF4ew2N/NdA== - dependencies: - postcss-purgecss-laravel "^2.0.0" - -laravel-mix@^6.0.6: - version "6.0.43" - resolved "https://registry.yarnpkg.com/laravel-mix/-/laravel-mix-6.0.43.tgz#6a9d67419e891f5075fc08bfff47770bf1f00d8a" - integrity sha512-SOO+C1aOpVSAUs30DYc6k/e0QJxfyD42aav4IKJtE5UZKw9ROWcVzkVoek2J475jNeNnl7GkoLAC27gejZsQ8g== - dependencies: - "@babel/core" "^7.15.8" - "@babel/plugin-proposal-object-rest-spread" "^7.15.6" - "@babel/plugin-syntax-dynamic-import" "^7.8.3" - "@babel/plugin-transform-runtime" "^7.15.8" - "@babel/preset-env" "^7.15.8" - "@babel/runtime" "^7.15.4" - "@types/babel__core" "^7.1.16" - "@types/clean-css" "^4.2.5" - "@types/imagemin-gifsicle" "^7.0.1" - "@types/imagemin-mozjpeg" "^8.0.1" - "@types/imagemin-optipng" "^5.2.1" - "@types/imagemin-svgo" "^8.0.0" - autoprefixer "^10.4.0" - babel-loader "^8.2.3" - chalk "^4.1.2" - chokidar "^3.5.2" - clean-css "^5.2.4" - cli-table3 "^0.6.0" - collect.js "^4.28.5" - commander "^7.2.0" - concat "^1.0.3" - css-loader "^5.2.6" - cssnano "^5.0.8" - dotenv "^10.0.0" - dotenv-expand "^5.1.0" - file-loader "^6.2.0" - fs-extra "^10.0.0" - glob "^7.2.0" - html-loader "^1.3.2" - imagemin "^7.0.1" - img-loader "^4.0.0" - lodash "^4.17.21" - md5 "^2.3.0" - mini-css-extract-plugin "^1.6.2" - node-libs-browser "^2.2.1" - postcss-load-config "^3.1.0" - postcss-loader "^6.2.0" - semver "^7.3.5" - strip-ansi "^6.0.0" - style-loader "^2.0.0" - terser "^5.9.0" - terser-webpack-plugin "^5.2.4" - vue-style-loader "^4.1.3" - webpack "^5.60.0" - webpack-cli "^4.9.1" - webpack-dev-server "^4.7.3" - webpack-merge "^5.8.0" - webpack-notifier "^1.14.1" - webpackbar "^5.0.0-3" - yargs "^17.2.1" +laravel-vite-plugin@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/laravel-vite-plugin/-/laravel-vite-plugin-1.0.4.tgz#b9a516ed212aae55c19369984dc5d2f09276560c" + integrity sha512-dEj8Q/Fsn0kKbOQ55bl/NmyJL+dD6OxnVaM/nNByw5XV4b00ky6FzXKVuHLDr4BvSJKH1y6oaOcEG5wKpCZ5+A== + dependencies: + picocolors "^1.0.0" + vite-plugin-full-reload "^1.1.0" + +latest-version@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" + integrity sha512-Be1YRHWWlZaSsrz2U+VInk+tO0EwLIyV+23RhWLINJYwg/UIikxjlj3MhH37/6/EDCAusjajvMkMMUXRaMWl/w== + dependencies: + package-json "^4.0.0" latest-version@^5.0.0: version "5.1.0" @@ -5549,11 +2841,6 @@ latest-version@^5.0.0: dependencies: package-json "^6.3.0" -lazy-ass@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/lazy-ass/-/lazy-ass-1.6.0.tgz#7999655e8646c17f089fdd187d150d3324d54513" - integrity sha1-eZllXoZGwX8In90YfRUNMyTVRRM= - levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -5562,18 +2849,27 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +libnpx@^10.2.4: + version "10.2.4" + resolved "https://registry.yarnpkg.com/libnpx/-/libnpx-10.2.4.tgz#ef0e3258e29aef2ec7ee3276115e20e67f67d4ee" + integrity sha512-BPc0D1cOjBeS8VIBKUu5F80s6njm0wbVt7CsGMrIcJ+SI7pi7V0uVPGpEMH9H5L8csOcclTxAXFE2VAsJXUhfA== + dependencies: + dotenv "^5.0.1" + npm-package-arg "^6.0.0" + rimraf "^2.6.2" + safe-buffer "^5.1.0" + update-notifier "^2.3.0" + which "^1.3.0" + y18n "^4.0.0" + yargs "^14.2.3" + lie@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/lie/-/lie-3.1.1.tgz#9a436b2cc7746ca59de7a41fa469b3efb76bd87e" - integrity sha1-mkNrLMd0bKWd56QfpGmz77dr2H4= + integrity sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw== dependencies: immediate "~3.0.5" -lilconfig@^2.0.3, lilconfig@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.5.tgz#19e57fd06ccc3848fd1891655b5a447092225b25" - integrity sha512-xaYmXZtTHPAw5m+xLN8ab9C+3a8YmV3asNSPOATITbtwrfbwaLJj8h66H1WMIpALCkqsIzK3h7oQ+PdX+LQ9Eg== - lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" @@ -5605,35 +2901,6 @@ listify@^1.0.0: resolved "https://registry.yarnpkg.com/listify/-/listify-1.0.3.tgz#a9335ac351c3d1aea515494ed746976eeb92248b" integrity sha512-083swF7iH7bx8666zdzBColpgEuy46HjN3r1isD4zV6Ix7FuHfb/2/WVnl4CH8hjuoWeFF7P5KkKNXUnJCFEJg== -listr-silent-renderer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" - integrity sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4= - -listr-update-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz#4ea8368548a7b8aecb7e06d8c95cb45ae2ede6a2" - integrity sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA== - dependencies: - chalk "^1.1.3" - cli-truncate "^0.2.1" - elegant-spinner "^1.0.1" - figures "^1.7.0" - indent-string "^3.0.0" - log-symbols "^1.0.2" - log-update "^2.3.0" - strip-ansi "^3.0.1" - -listr-verbose-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz#f1132167535ea4c1261102b9f28dac7cba1e03db" - integrity sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw== - dependencies: - chalk "^2.4.1" - cli-cursor "^2.1.0" - date-fns "^1.27.2" - figures "^2.0.0" - listr2@^3.2.2: version "3.14.0" resolved "https://registry.yarnpkg.com/listr2/-/listr2-3.14.0.tgz#23101cc62e1375fd5836b248276d1d2b51fdbe9e" @@ -5648,58 +2915,24 @@ listr2@^3.2.2: through "^2.3.8" wrap-ansi "^7.0.0" -listr@^0.14.3: - version "0.14.3" - resolved "https://registry.yarnpkg.com/listr/-/listr-0.14.3.tgz#2fea909604e434be464c50bddba0d496928fa586" - integrity sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA== - dependencies: - "@samverschueren/stream-to-observable" "^0.3.0" - is-observable "^1.1.0" - is-promise "^2.1.0" - is-stream "^1.1.0" - listr-silent-renderer "^1.1.1" - listr-update-renderer "^0.5.0" - listr-verbose-renderer "^0.5.0" - p-map "^2.0.0" - rxjs "^6.3.3" - -loader-runner@^4.2.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" - integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== - -loader-utils@1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7" - integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA== - dependencies: - big.js "^5.2.2" - emojis-list "^2.0.0" - json5 "^1.0.1" - -loader-utils@^1.0.2, loader-utils@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" - integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA== +loader-utils@^1.2.3: + version "1.4.2" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3" + integrity sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg== dependencies: big.js "^5.2.2" emojis-list "^3.0.0" json5 "^1.0.1" loader-utils@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.2.tgz#d6e3b4fb81870721ae4e0868ab11dd638368c129" - integrity sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A== + version "2.0.4" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== dependencies: big.js "^5.2.2" emojis-list "^3.0.0" json5 "^2.1.2" -loader-utils@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-3.2.0.tgz#bcecc51a7898bee7473d4bc6b845b23af8304d4f" - integrity sha512-HVl9ZqccQihZ7JM85dco1MvO9G+ONvxoGa9rkhzFsneGLKSUg1gJf9bWzhRhcvm2qChhWpebQhP44qxjKIUCaQ== - localforage@^1.8.1: version "1.10.0" resolved "https://registry.yarnpkg.com/localforage/-/localforage-1.10.0.tgz#5c465dc5f62b2807c3a84c0c6a1b1b3212781dd4" @@ -5707,12 +2940,12 @@ localforage@^1.8.1: dependencies: lie "3.1.1" -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= +locate-path@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" + integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== dependencies: - p-locate "^2.0.0" + p-locate "^3.0.0" path-exists "^3.0.0" locate-path@^5.0.0: @@ -5722,70 +2955,36 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - lodash-es@^4.17.15: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - integrity sha1-soqmKIorn8ZRA1x3EfZathkDMaY= - lodash.clonedeep@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= + integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ== -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= - -lodash.memoize@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= +lodash.isequal@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" + integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash.once@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" - integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w= - lodash.truncate@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" - integrity sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM= - -lodash.uniq@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" - integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= + integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== -lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21: +lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" - integrity sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg= - dependencies: - chalk "^1.0.0" - log-symbols@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" @@ -5794,15 +2993,6 @@ log-symbols@^4.0.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" -log-update@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708" - integrity sha1-iDKP19HOeTiykoN0bwsbwSayRwg= - dependencies: - ansi-escapes "^3.0.0" - cli-cursor "^2.0.0" - wrap-ansi "^3.0.1" - log-update@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/log-update/-/log-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1" @@ -5816,7 +3006,7 @@ log-update@^4.0.0: longest@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" - integrity sha1-eB4YMpaqlPbU2RbcM10NF676I/g= + integrity sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q== loose-envify@^1.0.0: version "1.4.0" @@ -5825,13 +3015,6 @@ loose-envify@^1.0.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -lower-case@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" - integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== - dependencies: - tslib "^2.0.3" - lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" @@ -5850,7 +3033,7 @@ lowlight@^1.17.0: fault "^1.0.0" highlight.js "~10.7.0" -lru-cache@^4.1.5: +lru-cache@^4.0.1, lru-cache@^4.1.5: version "4.1.5" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== @@ -5858,141 +3041,59 @@ lru-cache@^4.1.5: pseudomap "^1.0.2" yallist "^2.1.2" -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" - integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== +magic-string@^0.30.10: + version "0.30.10" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.10.tgz#123d9c41a0cb5640c892b041d4cfb3bd0aa4b39e" + integrity sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ== dependencies: - yallist "^4.0.0" + "@jridgewell/sourcemap-codec" "^1.4.15" -magic-string@^0.25.7: - version "0.25.9" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" - integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== +make-dir@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" + integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== dependencies: - sourcemap-codec "^1.4.8" + pify "^3.0.0" -make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: +make-dir@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== dependencies: semver "^6.0.0" -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -md5@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/md5/-/md5-2.3.0.tgz#c3da9a6aae3a30b46b7b0c349b87b110dc3bda4f" - integrity sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g== - dependencies: - charenc "0.0.2" - crypt "0.0.2" - is-buffer "~1.1.6" - -mdn-data@2.0.14: - version "2.0.14" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" - integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== - -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= - -memfs@^3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.1.tgz#b78092f466a0dce054d63d39275b24c71d3f1305" - integrity sha512-1c9VPVvW5P7I85c35zAdEr1TD5+F11IToIHIlrVIcflfnzPkJa0ZoYEoEdYDP8KgPFoSZ/opDrUsAoZWym3mtw== - dependencies: - fs-monkey "1.0.3" - -merge-descriptors@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" - integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= - -merge-source-map@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646" - integrity sha512-Qkcp7P2ygktpMPh2mCQZaf3jhN6D3Z/qVZHSdWvQ+2Ef5HgRAPBO57A77+ENm0CPx2+1Ce/MYKi3ymqdfuqibw== - dependencies: - source-map "^0.6.1" - merge-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.2.3, merge2@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= - -micromatch@^4.0.2, micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== +micromatch@^4.0.2: + version "4.0.7" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5" + integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== dependencies: - braces "^3.0.2" + braces "^3.0.3" picomatch "^2.3.1" middleearth-names@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/middleearth-names/-/middleearth-names-1.1.0.tgz#c1d5ee48defb368128fbaebfebce8847cd18ddff" - integrity sha1-wdXuSN77NoEo+66/686IR80Y3f8= + integrity sha512-Oo1mbq9odpn6KHsDs8/UA5xFfX/gcrY+jWZpvd5MDaX0tjkxA7S7NTREQuqD7DWfluDgygjhKvETMWbwd3A9sA== dependencies: unique-random-array "1.0.0" -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== - dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" - -mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": +mime-db@1.52.0: version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: +mime-types@^2.1.12: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== dependencies: mime-db "1.52.0" -mime@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== - mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" @@ -6003,427 +3104,135 @@ mimic-response@^1.0.0, mimic-response@^1.0.1: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== -mimic-response@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" - integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== - -mini-css-extract-plugin@^1.6.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-1.6.2.tgz#83172b4fd812f8fc4a09d6f6d16f924f53990ca8" - integrity sha512-WhDvO3SjGm40oV5y26GjMJYjd2UMqrLAGKy5YS2/3QKJy2F7jgynuHTir/tgUUOiNQu5saXHdc8reo7YuhhT4Q== - dependencies: - loader-utils "^2.0.0" - schema-utils "^3.0.0" - webpack-sources "^1.1.0" - -minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== - -minimalistic-crypto-utils@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" - integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= - -minimatch@^3.0.4, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" -minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: - version "1.2.6" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" - integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== - -mkdirp@^0.5.4, mkdirp@^0.5.5: - version "0.5.6" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" - -moment@^2.27.0: - version "2.29.2" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.2.tgz#00910c60b20843bcba52d37d58c628b47b1f20e4" - integrity sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg== - -mrm-core@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/mrm-core/-/mrm-core-5.0.0.tgz#5b411ccaf126c46331b13c61f99309c4879abb50" - integrity sha512-mhuwWDYcbvsBs6C10ZAPWa/kweSrzbXUimdpXugNn+NV2vHsEOvy6pL8mtV7H6QfRvpntXbJpt7G4DzTocls3w== - dependencies: - babel-code-frame "^6.26.0" - comment-json "^2.2.0" - detect-indent "^6.0.0" - editorconfig "^0.15.3" - find-up "^4.1.0" - fs-extra "^8.1.0" - kleur "^3.0.3" - listify "^1.0.0" - lodash "^4.17.15" - minimist "^1.2.0" - prop-ini "^0.0.2" - rc "^1.2.8" - readme-badger "^0.3.0" - semver "^6.3.0" - smpltmpl "^1.0.2" - split-lines "^2.0.0" - strip-bom "^4.0.0" - validate-npm-package-name "^3.0.0" - webpack-merge "^4.2.2" - yaml "^2.0.0-1" - -mrm-preset-default@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/mrm-preset-default/-/mrm-preset-default-2.4.2.tgz#a7fc61149a481504d660b7d827282a797da0971b" - integrity sha512-RgTyAS1OYC3w+TolIKGjHrwA1sq8HDrTJOOok1Wn292Zqj5ciLABmon2Zl5HY8hcRDluV83ElD4JOfXvhrU7ag== - dependencies: - mrm-core "^5.0.0" - mrm-task-ci "^0.3.1" - mrm-task-codecov "^3.1.1" - mrm-task-contributing "^2.1.1" - mrm-task-dependabot "^1.3.1" - mrm-task-editorconfig "^2.1.1" - mrm-task-eslint "^2.1.1" - mrm-task-gitignore "^2.1.1" - mrm-task-jest "^2.1.1" - mrm-task-license "^3.4.1" - mrm-task-lint-staged "^5.0.0" - mrm-task-package "^2.2.1" - mrm-task-prettier "^3.2.1" - mrm-task-readme "^2.4.1" - mrm-task-semantic-release "^4.1.1" - mrm-task-styleguidist "^2.1.1" - mrm-task-stylelint "^3.1.1" - mrm-task-travis "^2.2.1" - mrm-task-typescript "^2.1.1" - -mrm-task-ci@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/mrm-task-ci/-/mrm-task-ci-0.3.1.tgz#5216152dd7766512050a18515778beb159bffcf8" - integrity sha512-6JcqZDgVFyx3gs4tfWBBn0VDkl+DcIqv9nfKqXF5Jdr+zsIWV9aZ87qJk+Dcy0lekvSKaBHZFBV3L4FEWifRFA== - dependencies: - git-default-branch "^1.0.0" - got "^11.8.0" - lodash "^4.17.20" - mrm-core "^5.0.0" - package-repo-url "^1.0.3" - semver-utils "^1.1.4" - -mrm-task-codecov@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-codecov/-/mrm-task-codecov-3.1.1.tgz#e8a1b47317ed6a6f684da4241369fe9926d556f1" - integrity sha512-TA//n3aH49cJRKsldcI/jrFoTejXakebw0dgCUn8bdGujB76A4iwnPa14LwGLRabE9/cDzMn0HQ/KlRkIf9XTg== - dependencies: - git-default-branch "^1.0.0" - mrm-core "^5.0.0" - package-repo-url "^1.0.3" - -mrm-task-contributing@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-contributing/-/mrm-task-contributing-2.1.1.tgz#3d9c8230b343c0c06fa370ce99847bd698415ce6" - integrity sha512-Y1EVEbtjqQQ/YykxnQWfzcOSOmEVaDejv6/keR3i4k58F8X2mV5WU6hfvrAxDAstOcKtbFERd+sgveJpzZrEfA== - dependencies: - git-username "^1.0.0" - mrm-core "^5.0.0" - -mrm-task-dependabot@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mrm-task-dependabot/-/mrm-task-dependabot-1.3.1.tgz#8ab0e1b2637e2e207e3953ba0d7ac5b4d25c1048" - integrity sha512-948IDp1jtmSuZ8Ah1DlcjYnS/hU6we+lbd0xsGFW4ITGuEYRDlYMoSLjFW+Z9Dqz6FcdK24cxONGPowXRtl9dQ== - dependencies: - mrm-core "^5.0.0" - -mrm-task-editorconfig@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-editorconfig/-/mrm-task-editorconfig-2.1.1.tgz#be7451ad8232bf74835a2958051a67e5ac969e44" - integrity sha512-CajSZmrZ9bc/UQdO0q4n7Qu8XxGdtJknFESW6iX1ZpyHf9y9BnP3+Wge65WhiE9p7sN8Sfn+iLtL9b/ZJFIIww== - dependencies: - mrm-core "^5.0.0" - -mrm-task-eslint@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-eslint/-/mrm-task-eslint-2.1.1.tgz#fe57c97e5646a5f0577b01fa654c9df1538eebf0" - integrity sha512-ttxYmAWuM4DiwpfjryswRlB/RvJgCRj3MaQP2Q/J6U03TUZoelVL8dJtADINXn9ynSoQPRWmIV3oKjFqw1J/Rg== - dependencies: - mrm-core "^5.0.0" - -mrm-task-gitignore@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-gitignore/-/mrm-task-gitignore-2.1.1.tgz#55c435f763c2ea05b8abbe9d5ca39419f967fbc2" - integrity sha512-ckWunGHUVbJntcW59Wqb08weEa5j2JYiYSy/xwjIfuQO40Cc9/T/QPuP1Jw0Ctec463+aNCRafches0axNQZOQ== - dependencies: - mrm-core "^5.0.0" - -mrm-task-jest@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-jest/-/mrm-task-jest-2.1.1.tgz#d86d89605085c7c0de84aa2c2919d51093774148" - integrity sha512-SsqLIJEPshsHer95BXo1F7DnQtYhgC+vE8eeo8PEh66nd27Q2QN009Gld2yyUU7vSqsfTQC7NpB1tWuVSQbvyw== - dependencies: - lodash "^4.17.15" - mrm-core "^5.0.0" - -mrm-task-license@^3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/mrm-task-license/-/mrm-task-license-3.4.1.tgz#7dbe7fddcca048e23c0bcf3a6d068ba326f934b7" - integrity sha512-wSpZK6SCRjCj0MhoA5kszHr81qc/8uIz8RiV6iOSMD5L5yt1bwRQVXLMejD//FdB6kEzg26ZGrm62wPmdQ2lTg== - dependencies: - mrm-core "^5.0.0" - parse-author "^2.0.0" - smpltmpl "^1.0.2" - user-meta "^1.0.0" - -mrm-task-lint-staged@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/mrm-task-lint-staged/-/mrm-task-lint-staged-5.0.0.tgz#a6894b5dc306152493a7b338d530e27aab2de28e" - integrity sha512-D/PPsgkhWA6FNKR86AhUsVNh0qJZH8jCrf+fFS8A2iMpoec8QMXkyySCnQiZ4ITnnyoJ/IRi9lwLhZf8IU6jdQ== - dependencies: - husky "^6.0.0" - lodash "^4.17.15" - mrm-core "^5.0.0" - -mrm-task-package@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/mrm-task-package/-/mrm-task-package-2.2.1.tgz#ff4dd415d013c89ba1831a3f816c3723a7eaf0db" - integrity sha512-bW9pK4/q4kYniQYsdAZq5iE+AYSQOFRUzdSexXQ1ilw41sLal6bFAYM90sIMS8PokmSSKoQiKZIM07okebcp1g== - dependencies: - git-username "^1.0.0" - mrm-core "^5.0.0" - rc "^1.2.8" - user-meta "^1.0.0" - -mrm-task-prettier@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/mrm-task-prettier/-/mrm-task-prettier-3.2.1.tgz#b8050d36a49136ebd46248eac1ee107a3dfb91cb" - integrity sha512-0mgmTnSFgojXRrZJsTyn2z9eQHx4KQ4J1vdpxSYo4lR7bN54f15aANLxUNIP0RR+I/lR41hWUct4JOah1MB3tw== - dependencies: - editorconfig-to-prettier "0.1.1" - lodash "^4.17.15" - mrm-core "^5.0.0" - -mrm-task-readme@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/mrm-task-readme/-/mrm-task-readme-2.4.1.tgz#2d5c93651ee0480f0034ab1f3ea087f21b9cfe89" - integrity sha512-LtFX882OUYIDNnfIr8SNQaNwLyJfIf6WJ3tdAj/ItxQIUtbjbz4yrfxxmMcQJcmy5xmL0uMbH5oIt4Va5+nFsg== - dependencies: - git-username "^1.0.0" - mrm-core "^5.0.0" - package-repo-url "^1.0.3" - parse-author "^2.0.0" - smpltmpl "^1.0.2" - user-meta "^1.0.0" - -mrm-task-semantic-release@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-semantic-release/-/mrm-task-semantic-release-4.1.1.tgz#94a7eaec2e34e7c50c9e9e832107a784632d8969" - integrity sha512-MIXkv3cTaa5gBLAqDi6osRkbdZ123T5b4fPqLU21Reaa/LdlfwSdeHiA6PdAibZSAIuTu54G1iLElU+/8HGbww== - dependencies: - mrm-core "^5.0.0" - package-repo-url "^1.0.3" - -mrm-task-styleguidist@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-styleguidist/-/mrm-task-styleguidist-2.1.1.tgz#8555ebae8346171015ae0c114dd7e8bf1797cba2" - integrity sha512-ALUkddvwDIA4aj4zTiT4JYg1lCE3Ujs3HyuwzHi3jvd0fDILHVROxEr79wQHk9Ycff+sOgAm7WFhJLGRex1bfA== - dependencies: - mrm-core "^5.0.0" - -mrm-task-stylelint@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-stylelint/-/mrm-task-stylelint-3.1.1.tgz#1277fec71302284a93e64418edf99c828eb9c226" - integrity sha512-hq5nZ/B2pDO1BDespWoSZLnhO5VTaT6vfUS3Zo/K3bi1J8RJ9MYcvITztO5BxcLaUecOT2ZsMc1is7/L3+eR5Q== - dependencies: - mrm-core "^5.0.0" +minimist@^1.2.0, minimist@^1.2.6: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -mrm-task-travis@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/mrm-task-travis/-/mrm-task-travis-2.2.1.tgz#67ea251951773c70d2011964ca6ff49172a4dea4" - integrity sha512-gbR76dHHuHttgwMCm1a+wq7rLChI+1PtyY7NrzhnVOJuhupsQcbQOb2yFip8JNKjX7ODpw4Ow+II4+7++xYXZg== +mrm-core@^7.1.22: + version "7.1.22" + resolved "https://registry.yarnpkg.com/mrm-core/-/mrm-core-7.1.22.tgz#09a42f35f28d0562eb47e277bc89b7dedb3342bc" + integrity sha512-ZuJBEatzjyvA6+5Ogl02QbV70UNbe2jaxa29NzcL3g5VT7rHAMtE0v+vGOZkcmdl3ZtUDEq0BMj4qXgw8uSCXg== dependencies: + babel-code-frame "^6.26.0" + comment-json "^2.2.0" + detect-indent "^6.0.0" + editorconfig "^0.15.3" + find-up "^4.1.0" + fs-extra "^8.1.0" + kleur "^3.0.3" + listify "^1.0.0" lodash "^4.17.15" - mrm-core "^5.0.0" - package-repo-url "^1.0.3" - semver-utils "^1.1.4" - -mrm-task-typescript@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/mrm-task-typescript/-/mrm-task-typescript-2.1.1.tgz#191b7ce2365efc93e42663475c39f6a86c17c543" - integrity sha512-t5HZtkusEn4E9o+bl0xPno1G3CpEkedFxzyEHLpuLipA4MbkTordGy4TRmSEgqonjQErKNIznx8AelkqKvHlyw== - dependencies: - mrm-core "^5.0.0" + minimist "^1.2.0" + prop-ini "^0.0.2" + rc "^1.2.8" + readme-badger "^0.3.0" + semver "^6.3.0" + smpltmpl "^1.0.2" + split-lines "^2.0.0" + strip-bom "^4.0.0" + validate-npm-package-name "^3.0.0" + webpack-merge "^4.2.2" + yaml "^2.0.0-1" -mrm@^2.5.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/mrm/-/mrm-2.6.2.tgz#d538e6b176596584908abd308e6cc5b1e45493e8" - integrity sha512-EYtzxkBW8ZvPxVJe3/OGKkRQeTW9qXBV+KvwZEu1VMkrAFmAnZlpb5Y7iFVsd6VOe+ZX644dpst0JVhFpMVzeg== +mrm@^4.1.22: + version "4.1.22" + resolved "https://registry.yarnpkg.com/mrm/-/mrm-4.1.22.tgz#f78d94af6a5043d1580782187d1fa54e5d67e957" + integrity sha512-qvlUBfl5MU5YR50SJ3imjloqmYLrbX0uVN0cLIpU3lc0aUWPdl30BqJIX4V3Cr5zF4/QikBY7AYh6XWtp1cDJA== dependencies: - cross-spawn "7.0.3" git-username "^1.0.0" glob "^7.1.6" inquirer "^7.0.4" is-directory "^0.3.1" kleur "^3.0.3" + libnpx "^10.2.4" listify "^1.0.0" lodash "^4.17.15" longest "^2.0.1" middleearth-names "^1.1.0" minimist "^1.2.0" - mrm-core "^5.0.0" - mrm-preset-default "^2.4.2" - package-json "6.5.0" - requireg "^0.2.2" + mrm-core "^7.1.22" semver-utils "^1.1.4" update-notifier "^4.1.0" user-home "^2.0.0" user-meta "^1.0.0" - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= + which "^2.0.2" ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.1.1: +ms@^2.1.1: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -multicast-dns@^7.2.4: - version "7.2.4" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.4.tgz#cf0b115c31e922aeb20b64e6556cbeb34cf0dd19" - integrity sha512-XkCYOU+rr2Ft3LI6w4ye51M3VK31qJXFIxu0XLw169PtKG0Zx47OrXeVW/GCYOfpC9s1yyyf1S+L8/4LY0J9Zw== - dependencies: - dns-packet "^5.2.2" - thunky "^1.0.2" - mute-stream@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -nanoid@^3.3.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.2.tgz#c89622fafb4381cd221421c69ec58547a1eec557" - integrity sha512-CuHBogktKwpm5g2sRgv83jEy2ijFzBwMoYA60orPDR7ynsLijJDqgsi4RDGj3OJpy3Ieb+LYwiRmIOGyytgITA== +nanoid@^3.3.7: + version "3.3.7" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== nanopop@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/nanopop/-/nanopop-2.1.0.tgz#23476513cee2405888afd2e8a4b54066b70b9e60" - integrity sha512-jGTwpFRexSH+fxappnGQtN9dspgE2ipa1aOjtR24igG0pv6JCxImIAmrLRHX+zUF5+1wtsFVbKyfP51kIGAVNw== + version "2.4.2" + resolved "https://registry.yarnpkg.com/nanopop/-/nanopop-2.4.2.tgz#b55482135be7e64f2d0f5aa8ef51a58104ac7b13" + integrity sha512-NzOgmMQ+elxxHeIha+OG/Pv3Oc3p4RU2aBhwWwAqDpXrdTbtRylbRLQztLy8dMMwfl6pclznBdfUhccEn9ZIzw== natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= - -negotiator@0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -nested-error-stacks@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.0.1.tgz#d2cc9fc5235ddb371fc44d506234339c8e4b0a4b" - integrity sha512-SrQrok4CATudVzBS7coSz26QRSmlK9TzzoFbeKfcPBUFPjcQM9Rqvr/DlJkOrwI/0KcgvMub1n1g5Jt9EgRn4A== - next-tick@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== -no-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" - integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== - dependencies: - lower-case "^2.0.2" - tslib "^2.0.3" - -node-forge@^1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" - integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== - -node-libs-browser@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425" - integrity sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q== - dependencies: - assert "^1.1.1" - browserify-zlib "^0.2.0" - buffer "^4.3.0" - console-browserify "^1.1.0" - constants-browserify "^1.0.0" - crypto-browserify "^3.11.0" - domain-browser "^1.1.1" - events "^3.0.0" - https-browserify "^1.0.0" - os-browserify "^0.3.0" - path-browserify "0.0.1" - process "^0.11.10" - punycode "^1.2.4" - querystring-es3 "^0.2.0" - readable-stream "^2.3.3" - stream-browserify "^2.0.1" - stream-http "^2.7.2" - string_decoder "^1.0.0" - timers-browserify "^2.0.4" - tty-browserify "0.0.0" - url "^0.11.0" - util "^0.11.0" - vm-browserify "^1.0.1" - -node-notifier@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-9.0.1.tgz#cea837f4c5e733936c7b9005e6545cea825d1af4" - integrity sha512-fPNFIp2hF/Dq7qLDzSg4vZ0J4e9v60gJR+Qx7RbjbWqzPDdEqeVpEx5CFeDAELIl+A/woaaNn1fQ5nEVerMxJg== - dependencies: - growly "^1.3.0" - is-wsl "^2.2.0" - semver "^7.3.2" - shellwords "^0.1.1" - uuid "^8.3.0" - which "^2.0.2" - -node-releases@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.3.tgz#225ee7488e4a5e636da8da52854844f9d716ca96" - integrity sha512-maHFz6OLqYxz+VQyCAtA3PTX4UP/53pa05fyDNc9CwjvJ0yEh6+xBwKsgCxMNhS8taUKBFYxfuiaD9U/55iFaw== - normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -normalize-range@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" - integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI= - normalize-url@^4.1.0: version "4.5.1" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== -normalize-url@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== +npm-package-arg@^6.0.0: + version "6.1.1" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7" + integrity sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg== + dependencies: + hosted-git-info "^2.7.1" + osenv "^0.1.5" + semver "^5.6.0" + validate-npm-package-name "^3.0.0" + +npm-run-path@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" + integrity sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw== + dependencies: + path-key "^2.0.0" -npm-run-path@^4.0.0, npm-run-path@^4.0.1: +npm-run-path@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== @@ -6433,185 +3242,128 @@ npm-run-path@^4.0.0, npm-run-path@^4.0.1: nprogress@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/nprogress/-/nprogress-0.2.0.tgz#cb8f34c53213d895723fcbab907e9422adbcafb1" - integrity sha1-y480xTIT2JVyP8urkH6UIq28r7E= - -nth-check@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.0.1.tgz#2efe162f5c3da06a28959fbd3db75dbeea9f0fc2" - integrity sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w== - dependencies: - boolbase "^1.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= - -object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + integrity sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA== -object-inspect@^1.12.0, object-inspect@^1.9.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" - integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== +object-inspect@^1.13.1: + version "1.13.2" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" + integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== -object-keys@^1.0.12, object-keys@^1.1.1: +object-keys@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object.assign@^4.1.0, object.assign@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" - integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ== +object.assign@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.5.tgz#3a833f9ab7fdb80fc9e8d2300c803d216d8fdbb0" + integrity sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ== dependencies: - call-bind "^1.0.0" - define-properties "^1.1.3" - has-symbols "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + has-symbols "^1.0.3" object-keys "^1.1.1" -object.values@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" - integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== +object.fromentries@^2.0.7: + version "2.0.8" + resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" + integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.1" - -obuf@^1.0.0, obuf@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" - integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" + es-object-atoms "^1.0.0" -on-finished@~2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" - integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= +object.groupby@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz#9b125c36238129f6f7b61954a1e7176148d5002e" + integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== dependencies: - ee-first "1.1.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.2" -on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== +object.values@^1.1.7: + version "1.2.0" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.2.0.tgz#65405a9d92cee68ac2d303002e0b8470a4d9ab1b" + integrity sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ== + dependencies: + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" -onetime@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" - integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k= - -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - integrity sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ= - dependencies: - mimic-fn "^1.0.0" - -onetime@^5.1.0, onetime@^5.1.2: +onetime@^5.1.0: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== dependencies: mimic-fn "^2.1.0" -open@^8.0.9: - version "8.4.0" - resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" - integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== - dependencies: - define-lazy-prop "^2.0.0" - is-docker "^2.1.1" - is-wsl "^2.2.0" - -opencollective-postinstall@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259" - integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q== - optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== + version "0.9.4" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== dependencies: deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" - word-wrap "^1.2.3" + word-wrap "^1.2.5" -orderedmap@^1.1.0: - version "1.1.5" - resolved "https://registry.yarnpkg.com/orderedmap/-/orderedmap-1.1.5.tgz#4174c90b61bd7c25294932edf789f3b5677744d0" - integrity sha512-/fzlCGKRmfayGoI9UUXvJfc2nMZlJHW30QqEvwPvlg8tsX7jyiUSomYie6mYqx7Z9bOMGoag0H/q1PS/0PjYkg== - -os-browserify@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" - integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= +orderedmap@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/orderedmap/-/orderedmap-2.1.1.tgz#61481269c44031c449915497bf5a4ad273c512d2" + integrity sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g== os-homedir@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= + integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== -os-tmpdir@~1.0.2: +os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== -ospath@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/ospath/-/ospath-1.2.2.tgz#1276639774a3f8ef2572f7fe4280e0ea4550c07b" - integrity sha1-EnZjl3Sj+O8lcvf+QoDg6kVQwHs= +osenv@^0.1.5: + version "0.1.5" + resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" + integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== + dependencies: + os-homedir "^1.0.0" + os-tmpdir "^1.0.0" p-cancelable@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== -p-cancelable@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" - integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" +p-finally@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" + integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== -p-limit@^2.2.0: +p-limit@^2.0.0, p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" -p-limit@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= +p-locate@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" + integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== dependencies: - p-limit "^1.1.0" + p-limit "^2.0.0" p-locate@^4.1.0: version "4.1.0" @@ -6620,18 +3372,6 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - dependencies: - p-limit "^3.0.2" - -p-map@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - p-map@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" @@ -6639,30 +3379,22 @@ p-map@^4.0.0: dependencies: aggregate-error "^3.0.0" -p-pipe@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" - integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== - -p-retry@^4.5.0: - version "4.6.1" - resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.6.1.tgz#8fcddd5cdf7a67a0911a9cf2ef0e5df7f602316c" - integrity sha512-e2xXGNhZOZ0lfgR9kL34iGlU8N/KO0xZnQxVEwdeOvpqNDQfdnxIYizvWtK8RglUa3bGqI8g0R/BdfzLMxRkiA== - dependencies: - "@types/retry" "^0.12.0" - retry "^0.13.1" - -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -package-json@6.5.0, package-json@^6.3.0: +package-json@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" + integrity sha512-q/R5GrMek0vzgoomq6rm9OX+3PQve8sLwTirmK30YB3Cu0Bbt9OX9M/SIUnroN5BGJkzwGsFwDaRGD9EwBOlCA== + dependencies: + got "^6.7.1" + registry-auth-token "^3.0.1" + registry-url "^3.0.3" + semver "^5.1.0" + +package-json@^6.3.0: version "6.5.0" resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== @@ -6672,26 +3404,6 @@ package-json@6.5.0, package-json@^6.3.0: registry-url "^5.0.0" semver "^6.2.0" -package-repo-url@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/package-repo-url/-/package-repo-url-1.0.4.tgz#880e7c6c749f780fcfaee893b8ba7319b6438380" - integrity sha512-k0s6Lav5Cc7UpJNH6hvjmyM06a2EY0Ro5eofp+tVWV9Kmszw9uEn3XIbvSkDIa6vUszpXmyyjpATmgb7fy97tg== - dependencies: - git-username "^1.0.0" - -pako@~1.0.5: - version "1.0.11" - resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" - integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== - -param-case@^3.0.3: - version "3.0.4" - resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" - integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== - dependencies: - dot-case "^3.0.4" - tslib "^2.0.3" - parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -6699,28 +3411,10 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-asn1@^5.0.0, parse-asn1@^5.1.5: - version "5.1.6" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== - dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - -parse-author@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/parse-author/-/parse-author-2.0.0.tgz#d3460bf1ddd0dfaeed42da754242e65fb684a81f" - integrity sha1-00YL8d3Q367tQtp1QkLmX7aEqB8= - dependencies: - author-regex "^1.0.0" - parse-git-config@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/parse-git-config/-/parse-git-config-1.1.1.tgz#d3a9984317132f57398712bba438e129590ddf8c" - integrity sha1-06mYQxcTL1c5hxK7pDjhKVkN34w= + integrity sha512-S3LGXJZVSy/hswvbSkfdbKBRVsnqKrVu6j8fcvdtJ4TxosSELyQDsJPuGPXuZ+EyuYuJd3O4uAF8gcISR0OFrQ== dependencies: extend-shallow "^2.0.1" fs-exists-sync "^0.1.0" @@ -6728,9 +3422,9 @@ parse-git-config@^1.1.1: ini "^1.3.4" parse-github-url@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" - integrity sha512-kgBf6avCbO3Cn6+RnzRGLkUsv4ZVqv/VfAYkRsyBcgkshNvVBkRn1FEZcW0Jb+npXQWm2vHPnnOqFteZxRRGNw== + version "1.0.3" + resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.3.tgz#2ab55642c8685b63fbe2a196f5abe4ae9bd68abc" + integrity sha512-tfalY5/4SqGaV/GIGzWyHnFjlpTPTNpENR9Ea2lLldSJ8EWXMsvacWucqY3m3I4YPtas15IxTLQVQ5NSYXPrww== parse-json@^5.0.0: version "5.2.0" @@ -6745,30 +3439,12 @@ parse-json@^5.0.0: parse-passwd@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= - -parseurl@~1.3.2, parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - -pascal-case@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" - integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== - dependencies: - no-case "^3.0.4" - tslib "^2.0.3" - -path-browserify@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a" - integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ== + integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== path-exists@^4.0.0: version "4.0.0" @@ -6778,390 +3454,80 @@ path-exists@^4.0.0: path-is-absolute@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-parse@^1.0.5, path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-to-regexp@0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" - integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -pbkdf2@^3.0.3: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" - integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= - -picocolors@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f" - integrity sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA== - -picocolors@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" - integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -pify@^2.2.0, pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= - -pkg-dir@^4.1.0, pkg-dir@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -pkg-dir@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760" - integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA== - dependencies: - find-up "^5.0.0" - -please-upgrade-node@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" - integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== - dependencies: - semver-compare "^1.0.0" - -popper.js@^1.16.1: - version "1.16.1" - resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1.tgz#2a223cb3dc7b6213d740e40372be40de43e65b1b" - integrity sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ== - -portfinder@^1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.28.tgz#67c4622852bd5374dd1dd900f779f53462fac778" - integrity sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA== - dependencies: - async "^2.6.2" - debug "^3.1.1" - mkdirp "^0.5.5" - -postcss-calc@^8.2.3: - version "8.2.4" - resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" - integrity sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q== - dependencies: - postcss-selector-parser "^6.0.9" - postcss-value-parser "^4.2.0" - -postcss-colormin@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-5.3.0.tgz#3cee9e5ca62b2c27e84fce63affc0cfb5901956a" - integrity sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg== - dependencies: - browserslist "^4.16.6" - caniuse-api "^3.0.0" - colord "^2.9.1" - postcss-value-parser "^4.2.0" - -postcss-convert-values@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-5.1.0.tgz#f8d3abe40b4ce4b1470702a0706343eac17e7c10" - integrity sha512-GkyPbZEYJiWtQB0KZ0X6qusqFHUepguBCNFi9t5JJc7I2OTXG7C0twbTLvCfaKOLl3rSXmpAwV7W5txd91V84g== - dependencies: - postcss-value-parser "^4.2.0" - -postcss-discard-comments@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-5.1.1.tgz#e90019e1a0e5b99de05f63516ce640bd0df3d369" - integrity sha512-5JscyFmvkUxz/5/+TB3QTTT9Gi9jHkcn8dcmmuN68JQcv3aQg4y88yEHHhwFB52l/NkaJ43O0dbksGMAo49nfQ== - -postcss-discard-duplicates@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz#9eb4fe8456706a4eebd6d3b7b777d07bad03e848" - integrity sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw== - -postcss-discard-empty@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz#e57762343ff7f503fe53fca553d18d7f0c369c6c" - integrity sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A== - -postcss-discard-overridden@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz#7e8c5b53325747e9d90131bb88635282fb4a276e" - integrity sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw== - -postcss-import@^12.0.1: - version "12.0.1" - resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153" - integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw== - dependencies: - postcss "^7.0.1" - postcss-value-parser "^3.2.3" - read-cache "^1.0.0" - resolve "^1.1.7" - -postcss-load-config@^3.1.0: - version "3.1.4" - resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" - integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== - dependencies: - lilconfig "^2.0.5" - yaml "^1.10.2" - -postcss-loader@^6.2.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-6.2.1.tgz#0895f7346b1702103d30fdc66e4d494a93c008ef" - integrity sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q== - dependencies: - cosmiconfig "^7.0.0" - klona "^2.0.5" - semver "^7.3.5" - -postcss-merge-longhand@^5.1.4: - version "5.1.4" - resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.4.tgz#0f46f8753989a33260efc47de9a0cdc571f2ec5c" - integrity sha512-hbqRRqYfmXoGpzYKeW0/NCZhvNyQIlQeWVSao5iKWdyx7skLvCfQFGIUsP9NUs3dSbPac2IC4Go85/zG+7MlmA== - dependencies: - postcss-value-parser "^4.2.0" - stylehacks "^5.1.0" - -postcss-merge-rules@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-5.1.1.tgz#d327b221cd07540bcc8d9ff84446d8b404d00162" - integrity sha512-8wv8q2cXjEuCcgpIB1Xx1pIy8/rhMPIQqYKNzEdyx37m6gpq83mQQdCxgIkFgliyEnKvdwJf/C61vN4tQDq4Ww== - dependencies: - browserslist "^4.16.6" - caniuse-api "^3.0.0" - cssnano-utils "^3.1.0" - postcss-selector-parser "^6.0.5" - -postcss-minify-font-values@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz#f1df0014a726083d260d3bd85d7385fb89d1f01b" - integrity sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA== - dependencies: - postcss-value-parser "^4.2.0" - -postcss-minify-gradients@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz#f1fe1b4f498134a5068240c2f25d46fcd236ba2c" - integrity sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw== - dependencies: - colord "^2.9.1" - cssnano-utils "^3.1.0" - postcss-value-parser "^4.2.0" - -postcss-minify-params@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-5.1.2.tgz#77e250780c64198289c954884ebe3ee4481c3b1c" - integrity sha512-aEP+p71S/urY48HWaRHasyx4WHQJyOYaKpQ6eXl8k0kxg66Wt/30VR6/woh8THgcpRbonJD5IeD+CzNhPi1L8g== - dependencies: - browserslist "^4.16.6" - cssnano-utils "^3.1.0" - postcss-value-parser "^4.2.0" - -postcss-minify-selectors@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-5.2.0.tgz#17c2be233e12b28ffa8a421a02fc8b839825536c" - integrity sha512-vYxvHkW+iULstA+ctVNx0VoRAR4THQQRkG77o0oa4/mBS0OzGvvzLIvHDv/nNEM0crzN2WIyFU5X7wZhaUK3RA== - dependencies: - postcss-selector-parser "^6.0.5" - -postcss-modules-extract-imports@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" - integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== - -postcss-modules-local-by-default@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz#ebbb54fae1598eecfdf691a02b3ff3b390a5a51c" - integrity sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ== - dependencies: - icss-utils "^5.0.0" - postcss-selector-parser "^6.0.2" - postcss-value-parser "^4.1.0" - -postcss-modules-scope@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz#9ef3151456d3bbfa120ca44898dfca6f2fa01f06" - integrity sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg== - dependencies: - postcss-selector-parser "^6.0.4" - -postcss-modules-values@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" - integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== - dependencies: - icss-utils "^5.0.0" - -postcss-modules@^4.0.0: - version "4.3.1" - resolved "https://registry.yarnpkg.com/postcss-modules/-/postcss-modules-4.3.1.tgz#517c06c09eab07d133ae0effca2c510abba18048" - integrity sha512-ItUhSUxBBdNamkT3KzIZwYNNRFKmkJrofvC2nWab3CPKhYBQ1f27XXh1PAPE27Psx58jeelPsxWB/+og+KEH0Q== - dependencies: - generic-names "^4.0.0" - icss-replace-symbols "^1.1.0" - lodash.camelcase "^4.3.0" - postcss-modules-extract-imports "^3.0.0" - postcss-modules-local-by-default "^4.0.0" - postcss-modules-scope "^3.0.0" - postcss-modules-values "^4.0.0" - string-hash "^1.1.1" - -postcss-normalize-charset@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz#9302de0b29094b52c259e9b2cf8dc0879879f0ed" - integrity sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg== - -postcss-normalize-display-values@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz#72abbae58081960e9edd7200fcf21ab8325c3da8" - integrity sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA== - dependencies: - postcss-value-parser "^4.2.0" - -postcss-normalize-positions@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-5.1.0.tgz#902a7cb97cf0b9e8b1b654d4a43d451e48966458" - integrity sha512-8gmItgA4H5xiUxgN/3TVvXRoJxkAWLW6f/KKhdsH03atg0cB8ilXnrB5PpSshwVu/dD2ZsRFQcR1OEmSBDAgcQ== - dependencies: - postcss-value-parser "^4.2.0" - -postcss-normalize-repeat-style@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.0.tgz#f6d6fd5a54f51a741cc84a37f7459e60ef7a6398" - integrity sha512-IR3uBjc+7mcWGL6CtniKNQ4Rr5fTxwkaDHwMBDGGs1x9IVRkYIT/M4NelZWkAOBdV6v3Z9S46zqaKGlyzHSchw== - dependencies: - postcss-value-parser "^4.2.0" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -postcss-normalize-string@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz#411961169e07308c82c1f8c55f3e8a337757e228" - integrity sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w== - dependencies: - postcss-value-parser "^4.2.0" +path-is-inside@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" + integrity sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w== -postcss-normalize-timing-functions@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz#d5614410f8f0b2388e9f240aa6011ba6f52dafbb" - integrity sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg== - dependencies: - postcss-value-parser "^4.2.0" +path-key@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== -postcss-normalize-unicode@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.0.tgz#3d23aede35e160089a285e27bf715de11dc9db75" - integrity sha512-J6M3MizAAZ2dOdSjy2caayJLQT8E8K9XjLce8AUQMwOrCvjCHv24aLC/Lps1R1ylOfol5VIDMaM/Lo9NGlk1SQ== - dependencies: - browserslist "^4.16.6" - postcss-value-parser "^4.2.0" +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== -postcss-normalize-url@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz#ed9d88ca82e21abef99f743457d3729a042adcdc" - integrity sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew== - dependencies: - normalize-url "^6.0.1" - postcss-value-parser "^4.2.0" +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -postcss-normalize-whitespace@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz#08a1a0d1ffa17a7cc6efe1e6c9da969cc4493cfa" - integrity sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA== - dependencies: - postcss-value-parser "^4.2.0" +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -postcss-ordered-values@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-5.1.1.tgz#0b41b610ba02906a3341e92cab01ff8ebc598adb" - integrity sha512-7lxgXF0NaoMIgyihL/2boNAEZKiW0+HkMhdKMTD93CjW8TdCy2hSdj8lsAo+uwm7EDG16Da2Jdmtqpedl0cMfw== - dependencies: - cssnano-utils "^3.1.0" - postcss-value-parser "^4.2.0" +picocolors@^1.0.0, picocolors@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" + integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== -postcss-purgecss-laravel@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/postcss-purgecss-laravel/-/postcss-purgecss-laravel-2.0.0.tgz#f714a4f02a6c839a0b8afca2215693b3735c394c" - integrity sha512-vWObgEC5f0isOdumiLwzJPuZFyp7i1Go9i2Obce5qrVJWciBtCG1rrNiPEb7xp5bU3u/uk30M2P891tLL8tcQQ== - dependencies: - "@fullhuman/postcss-purgecss" "^3.0.0" +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -postcss-reduce-initial@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-5.1.0.tgz#fc31659ea6e85c492fb2a7b545370c215822c5d6" - integrity sha512-5OgTUviz0aeH6MtBjHfbr57tml13PuedK/Ecg8szzd4XRMbYxH4572JFG067z+FqBIf6Zp/d+0581glkvvWMFw== - dependencies: - browserslist "^4.16.6" - caniuse-api "^3.0.0" +pify@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== -postcss-reduce-transforms@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz#333b70e7758b802f3dd0ddfe98bb1ccfef96b6e9" - integrity sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ== - dependencies: - postcss-value-parser "^4.2.0" +pify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" + integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== -postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: - version "6.0.10" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz#79b61e2c0d1bfc2602d549e11d0876256f8df88d" - integrity sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w== +please-upgrade-node@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz#aeddd3f994c933e4ad98b99d9a556efa0e2fe942" + integrity sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== dependencies: - cssesc "^3.0.0" - util-deprecate "^1.0.2" + semver-compare "^1.0.0" -postcss-svgo@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-5.1.0.tgz#0a317400ced789f233a28826e77523f15857d80d" - integrity sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA== - dependencies: - postcss-value-parser "^4.2.0" - svgo "^2.7.0" +popper.js@^1.16.1: + version "1.16.1" + resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.16.1.tgz#2a223cb3dc7b6213d740e40372be40de43e65b1b" + integrity sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ== -postcss-unique-selectors@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz#a9f273d1eacd09e9aa6088f4b0507b18b1b541b6" - integrity sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA== - dependencies: - postcss-selector-parser "^6.0.5" +possible-typed-array-names@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f" + integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== -postcss-value-parser@^3.2.3: - version "3.3.1" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" - integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== +postcss-import@^16.1.0: + version "16.1.0" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-16.1.0.tgz#258732175518129667fe1e2e2a05b19b5654b96a" + integrity sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg== + dependencies: + postcss-value-parser "^4.0.0" + read-cache "^1.0.0" + resolve "^1.1.7" -postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: +postcss-value-parser@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== @@ -7175,57 +3541,34 @@ postcss@7.0.36: source-map "^0.6.1" supports-color "^6.1.0" -postcss@^7.0.1: - version "7.0.39" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.39.tgz#9624375d965630e2e1f2c02a935c82a59cb48309" - integrity sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA== - dependencies: - picocolors "^0.2.1" - source-map "^0.6.1" - -postcss@^8.1.10, postcss@^8.1.14, postcss@^8.2.1, postcss@^8.2.15: - version "8.4.12" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.12.tgz#1e7de78733b28970fa4743f7da6f3763648b1905" - integrity sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg== +postcss@^8.4.13, postcss@^8.4.34, postcss@^8.4.38: + version "8.4.39" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.39.tgz#aa3c94998b61d3a9c259efa51db4b392e1bde0e3" + integrity sha512-0vzE+lAiG7hZl1/9I8yzKLx3aR9Xbof3fBHKunvMfOCYAtMhrsnccJY2iTURb9EZd5+pLuiNV9/c/GZJOHsgIw== dependencies: - nanoid "^3.3.1" - picocolors "^1.0.0" - source-map-js "^1.0.2" + nanoid "^3.3.7" + picocolors "^1.0.1" + source-map-js "^1.2.0" prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== +prepend-http@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" + integrity sha512-PhmXi5XmoyKw1Un4E+opM2KcsJInDvKyuOumcjjw3waw86ZNjHwVUOOWLc4bCzLdcKNaWBH9e99sbWzDQsVaYg== + prepend-http@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" - integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= + integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA== prettier@^2.1.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032" - integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew== - -pretty-bytes@^5.4.1: - version "5.6.0" - resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" - integrity sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg== - -pretty-time@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e" - integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA== - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= + version "2.8.8" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" + integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== progress@^2.0.0: version "2.0.3" @@ -7235,39 +3578,39 @@ progress@^2.0.0: prop-ini@^0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/prop-ini/-/prop-ini-0.0.2.tgz#6733a7cb5242acab2be42e607583d8124b172a5b" - integrity sha1-ZzOny1JCrKsr5C5gdYPYEksXKls= + integrity sha512-qyU57WvAvZDbzmRy9xDbJGVwrGJhmA+rYnVjy4xtX4Ny9c7gzvpmf/j7A3oq9ChbPh15MZQKjPep2mNdnAhtig== dependencies: extend "^3.0.0" prosemirror-collab@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/prosemirror-collab/-/prosemirror-collab-1.2.2.tgz#8d2c0e82779cfef5d051154bd0836428bd6d9c4a" - integrity sha512-tBnHKMLgy5Qmx9MYVcLfs3pAyjtcqYYDd9kp3y+LSiQzkhMQDfZSV3NXWe4Gsly32adSef173BvObwfoSQL5MA== + version "1.3.1" + resolved "https://registry.yarnpkg.com/prosemirror-collab/-/prosemirror-collab-1.3.1.tgz#0e8c91e76e009b53457eb3b3051fb68dad029a33" + integrity sha512-4SnynYR9TTYaQVXd/ieUvsVV4PDMBzrq2xPUWutHivDuOshZXqQ5rGbZM84HEaXKbLdItse7weMGOUdDVcLKEQ== dependencies: prosemirror-state "^1.0.0" prosemirror-commands@^1.1.4: - version "1.2.2" - resolved "https://registry.yarnpkg.com/prosemirror-commands/-/prosemirror-commands-1.2.2.tgz#1bd167372ee20abf488aca9cece63c43fab182c9" - integrity sha512-TX+KpWudMon06frryfpO/u7hsQv2hu8L4VSVbCpi3/7wXHBgl+35mV85qfa3RpT8xD2f3MdeoTqH0vy5JdbXPg== + version "1.5.2" + resolved "https://registry.yarnpkg.com/prosemirror-commands/-/prosemirror-commands-1.5.2.tgz#e94aeea52286f658cd984270de9b4c3fff580852" + integrity sha512-hgLcPaakxH8tu6YvVAaILV2tXYsW3rAdDR8WNkeKGcgeMVQg3/TMhPdVoh7iAmfgVjZGtcOSjKiQaoeKjzd2mQ== dependencies: prosemirror-model "^1.0.0" prosemirror-state "^1.0.0" prosemirror-transform "^1.0.0" prosemirror-dropcursor@^1.3.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/prosemirror-dropcursor/-/prosemirror-dropcursor-1.4.0.tgz#91a859d4ee79c99b1c0ba6ee61c093b195c0d9f0" - integrity sha512-6+YwTjmqDwlA/Dm+5wK67ezgqgjA/MhSDgaNxKUzH97SmeuWFXyLeDRxxOPZeSo7yTxcDGUCWTEjmQZsVBuMrQ== + version "1.8.1" + resolved "https://registry.yarnpkg.com/prosemirror-dropcursor/-/prosemirror-dropcursor-1.8.1.tgz#49b9fb2f583e0d0f4021ff87db825faa2be2832d" + integrity sha512-M30WJdJZLyXHi3N8vxN6Zh5O8ZBbQCz0gURTfPmTIBNQ5pxrdU7A58QkNqfa98YEjSAL1HUyyU34f6Pm5xBSGw== dependencies: prosemirror-state "^1.0.0" prosemirror-transform "^1.1.0" prosemirror-view "^1.1.0" prosemirror-gapcursor@^1.1.5: - version "1.2.2" - resolved "https://registry.yarnpkg.com/prosemirror-gapcursor/-/prosemirror-gapcursor-1.2.2.tgz#7394613ba4a1601fad1f36f1cff8961968c22ffa" - integrity sha512-7YzuRBbu9W7HGQde84kCHfIjaRLNcAdeijbgqrm/R9dsdTWkV+rrdcmic/sCc+bptiNpvjCEE+R6hrbT8zFQeQ== + version "1.3.2" + resolved "https://registry.yarnpkg.com/prosemirror-gapcursor/-/prosemirror-gapcursor-1.3.2.tgz#5fa336b83789c6199a7341c9493587e249215cb4" + integrity sha512-wtjswVBd2vaQRrnYZaBCbyDqr232Ed4p2QPtRIUK5FuqHYKGWkEwl08oQM4Tw7DOR0FsasARV5uJFvMZWxdNxQ== dependencies: prosemirror-keymap "^1.0.0" prosemirror-model "^1.0.0" @@ -7275,57 +3618,60 @@ prosemirror-gapcursor@^1.1.5: prosemirror-view "^1.0.0" prosemirror-history@^1.1.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/prosemirror-history/-/prosemirror-history-1.2.0.tgz#04cc4df8d2f7b2a46651a2780de191ada6d465ea" - integrity sha512-B9v9xtf4fYbKxQwIr+3wtTDNLDZcmMMmGiI3TAPShnUzvo+Rmv1GiUrsQChY1meetHl7rhML2cppF3FTs7f7UQ== + version "1.4.0" + resolved "https://registry.yarnpkg.com/prosemirror-history/-/prosemirror-history-1.4.0.tgz#1edbce630aaf21b808e5a5cd798a09976ecb1827" + integrity sha512-UUiGzDVcqo1lovOPdi9YxxUps3oBFWAIYkXLu3Ot+JPv1qzVogRbcizxK3LhHmtaUxclohgiOVesRw5QSlMnbQ== dependencies: prosemirror-state "^1.2.2" prosemirror-transform "^1.0.0" + prosemirror-view "^1.31.0" rope-sequence "^1.3.0" prosemirror-inputrules@^1.1.2, prosemirror-inputrules@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/prosemirror-inputrules/-/prosemirror-inputrules-1.1.3.tgz#93f9199ca02473259c30d7e352e4c14022d54638" - integrity sha512-ZaHCLyBtvbyIHv0f5p6boQTIJjlD6o2NPZiEaZWT2DA+j591zS29QQEMT4lBqwcLW3qRSf7ZvoKNbf05YrsStw== + version "1.4.0" + resolved "https://registry.yarnpkg.com/prosemirror-inputrules/-/prosemirror-inputrules-1.4.0.tgz#ef1519bb2cb0d1e0cec74bad1a97f1c1555068bb" + integrity sha512-6ygpPRuTJ2lcOXs9JkefieMst63wVJBgHZGl5QOytN7oSZs3Co/BYbc3Yx9zm9H37Bxw8kVzCnDsihsVsL4yEg== dependencies: prosemirror-state "^1.0.0" prosemirror-transform "^1.0.0" prosemirror-keymap@^1.0.0, prosemirror-keymap@^1.1.2, prosemirror-keymap@^1.1.4: - version "1.1.5" - resolved "https://registry.yarnpkg.com/prosemirror-keymap/-/prosemirror-keymap-1.1.5.tgz#b5984c7d30f5c75956c853126c54e9e624c0327b" - integrity sha512-8SZgPH3K+GLsHL2wKuwBD9rxhsbnVBTwpHCO4VUO5GmqUQlxd/2GtBVWTsyLq4Dp3N9nGgPd3+lZFKUDuVp+Vw== + version "1.2.2" + resolved "https://registry.yarnpkg.com/prosemirror-keymap/-/prosemirror-keymap-1.2.2.tgz#14a54763a29c7b2704f561088ccf3384d14eb77e" + integrity sha512-EAlXoksqC6Vbocqc0GtzCruZEzYgrn+iiGnNjsJsH4mrnIGex4qbLdWWNza3AW5W36ZRrlBID0eM6bdKH4OStQ== dependencies: prosemirror-state "^1.0.0" w3c-keyname "^2.2.0" -prosemirror-model@^1.0.0, prosemirror-model@^1.13.1, prosemirror-model@^1.16.0, prosemirror-model@^1.8.1: - version "1.16.1" - resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.16.1.tgz#fb388270bc9609b66298d6a7e15d0cc1d6c61253" - integrity sha512-r1/w0HDU40TtkXp0DyKBnFPYwd8FSlUSJmGCGFv4DeynfeSlyQF2FD0RQbVEMOe6P3PpUSXM6LZBV7W/YNZ4mA== +prosemirror-model@^1.0.0, prosemirror-model@^1.13.1, prosemirror-model@^1.20.0, prosemirror-model@^1.21.0, prosemirror-model@^1.8.1: + version "1.21.3" + resolved "https://registry.yarnpkg.com/prosemirror-model/-/prosemirror-model-1.21.3.tgz#97fa434d670331c1ab25f75964b1bcd7a948ce61" + integrity sha512-nt2Xs/RNGepD9hrrkzXvtCm1mpGJoQfFSPktGa0BF/aav6XsnmVGZ9sTXNWRLupAz5SCLa3EyKlFeK7zJWROKg== dependencies: - orderedmap "^1.1.0" + orderedmap "^2.0.0" prosemirror-schema-list@^1.1.4: - version "1.1.6" - resolved "https://registry.yarnpkg.com/prosemirror-schema-list/-/prosemirror-schema-list-1.1.6.tgz#c3e13fe2f74750e4a53ff88d798dc0c4ccca6707" - integrity sha512-aFGEdaCWmJzouZ8DwedmvSsL50JpRkqhQ6tcpThwJONVVmCgI36LJHtoQ4VGZbusMavaBhXXr33zyD2IVsTlkw== + version "1.4.0" + resolved "https://registry.yarnpkg.com/prosemirror-schema-list/-/prosemirror-schema-list-1.4.0.tgz#03f210a25ec0e36b717defb486d2081d733a40dc" + integrity sha512-nZOIq/AkBSzCENxUyLm5ltWE53e2PLk65ghMN8qLQptOmDVixZlPqtMeQdiNw0odL9vNpalEjl3upgRkuJ/Jyw== dependencies: prosemirror-model "^1.0.0" - prosemirror-transform "^1.0.0" + prosemirror-state "^1.0.0" + prosemirror-transform "^1.7.3" prosemirror-state@^1.0.0, prosemirror-state@^1.2.2, prosemirror-state@^1.3.1, prosemirror-state@^1.3.3: - version "1.3.4" - resolved "https://registry.yarnpkg.com/prosemirror-state/-/prosemirror-state-1.3.4.tgz#4c6b52628216e753fc901c6d2bfd84ce109e8952" - integrity sha512-Xkkrpd1y/TQ6HKzN3agsQIGRcLckUMA9u3j207L04mt8ToRgpGeyhbVv0HI7omDORIBHjR29b7AwlATFFf2GLA== + version "1.4.3" + resolved "https://registry.yarnpkg.com/prosemirror-state/-/prosemirror-state-1.4.3.tgz#94aecf3ffd54ec37e87aa7179d13508da181a080" + integrity sha512-goFKORVbvPuAQaXhpbemJFRKJ2aixr+AZMGiquiqKxaucC6hlpHNZHWgz5R7dS4roHiwq9vDctE//CZ++o0W1Q== dependencies: prosemirror-model "^1.0.0" prosemirror-transform "^1.0.0" + prosemirror-view "^1.27.0" prosemirror-tables@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/prosemirror-tables/-/prosemirror-tables-1.1.1.tgz#ad66300cc49500455cf1243bb129c9e7d883321e" - integrity sha512-LmCz4jrlqQZRsYRDzCRYf/pQ5CUcSOyqZlAj5kv67ZWBH1SVLP2U9WJEvQfimWgeRlIz0y0PQVqO1arRm1+woA== + version "1.3.7" + resolved "https://registry.yarnpkg.com/prosemirror-tables/-/prosemirror-tables-1.3.7.tgz#9d296bd432d2bc7dca90f14e5c3b5c5f61277f7a" + integrity sha512-oEwX1wrziuxMtwFvdDWSFHVUWrFJWt929kVVfHvtTi8yvw+5ppxjXZkMG/fuTdFo+3DXyIPSKfid+Be1npKXDA== dependencies: prosemirror-keymap "^1.1.2" prosemirror-model "^1.8.1" @@ -7333,51 +3679,31 @@ prosemirror-tables@^1.1.1: prosemirror-transform "^1.2.1" prosemirror-view "^1.13.3" -prosemirror-transform@^1.0.0, prosemirror-transform@^1.1.0, prosemirror-transform@^1.2.1, prosemirror-transform@^1.2.8: - version "1.4.2" - resolved "https://registry.yarnpkg.com/prosemirror-transform/-/prosemirror-transform-1.4.2.tgz#35f56091bcab3359f1eb90e82ce9f20cc52105c1" - integrity sha512-bcIsf3uRZhfab0xRfyyxOEh6eqSszq/hJbDbmUumFnbHBoWhB/uXbpz6vvUxfk0XiEvrZDJ+5pXRrNDc1Hu3vQ== +prosemirror-transform@^1.0.0, prosemirror-transform@^1.1.0, prosemirror-transform@^1.2.1, prosemirror-transform@^1.2.8, prosemirror-transform@^1.7.3: + version "1.9.0" + resolved "https://registry.yarnpkg.com/prosemirror-transform/-/prosemirror-transform-1.9.0.tgz#81fd1fbd887929a95369e6dd3d240c23c19313f8" + integrity sha512-5UXkr1LIRx3jmpXXNKDhv8OyAOeLTGuXNwdVfg8x27uASna/wQkr9p6fD3eupGOi4PLJfbezxTyi/7fSJypXHg== dependencies: - prosemirror-model "^1.0.0" + prosemirror-model "^1.21.0" -prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.13.3, prosemirror-view@^1.16.5: - version "1.23.12" - resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.23.12.tgz#196436a964abbd25a7d8efad879575e80d286ba6" - integrity sha512-uvw9ZVz5dNDD9w1bzHkU2r4NWFlpFz85v9rCD8NAhQBau6LYhwM/crjry+C4JgeR8gy6pMXS5eJ1zhNLcK4ctQ== +prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.13.3, prosemirror-view@^1.16.5, prosemirror-view@^1.27.0, prosemirror-view@^1.31.0: + version "1.33.8" + resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.33.8.tgz#cfd76dff421730cbca0b6ea40ce36994daaeda41" + integrity sha512-4PhMr/ufz2cdvFgpUAnZfs+0xij3RsFysreeG9V/utpwX7AJtYCDVyuRxzWoMJIEf4C7wVihuBNMPpFLPCiLQw== dependencies: - prosemirror-model "^1.16.0" + prosemirror-model "^1.20.0" prosemirror-state "^1.0.0" prosemirror-transform "^1.1.0" -proxy-addr@~2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" - integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== - dependencies: - forwarded "0.2.0" - ipaddr.js "1.9.1" +proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= - -psl@^1.1.28: - version "1.8.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" - integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== - -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" + integrity sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ== pump@^3.0.0: version "3.0.0" @@ -7387,20 +3713,10 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0= - -punycode@^1.2.4: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= - -punycode@^2.1.0, punycode@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== +punycode@^2.1.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== pupa@^2.0.1: version "2.1.1" @@ -7409,89 +3725,19 @@ pupa@^2.0.1: dependencies: escape-goat "^2.0.0" -purgecss@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/purgecss/-/purgecss-3.1.3.tgz#26987ec09d12eeadc318e22f6e5a9eb0be094f41" - integrity sha512-hRSLN9mguJ2lzlIQtW4qmPS2kh6oMnA9RxdIYK8sz18QYqd6ePp4GNDl18oWHA1f2v2NEQIh51CO8s/E3YGckQ== +qs@^6.9.0: + version "6.12.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.12.2.tgz#5443b587f3bf73ac68968de491e5b25bafe04478" + integrity sha512-x+NLUpx9SYrcwXtX7ob1gnkSems4i/mGZX5SlYxwIau6RrUSODO89TR/XDGGpn5RPWSYIB+aSfuSlV5+CmbTBg== dependencies: - commander "^6.0.0" - glob "^7.0.0" - postcss "^8.2.1" - postcss-selector-parser "^6.0.2" + side-channel "^1.0.6" -qs@6.9.7: +qs@~6.9.7: version "6.9.7" resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.7.tgz#4610846871485e1e048f44ae3b94033f0e675afe" integrity sha512-IhMFgUmuNpyRfxA90umL7ByLlgRXu6tIfKPpF5TmcfRLlLCckfP/g3IQmju6jjpu+Hh8rA+2p6A27ZSPOOHdKw== -qs@^6.9.0: - version "6.10.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e" - integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ== - dependencies: - side-channel "^1.0.4" - -qs@~6.5.2: - version "6.5.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" - integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== - -querystring-es3@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" - integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM= - -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= - -queue-microtask@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" - integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== - -quick-lru@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" - integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== - -ramda@~0.26.1: - version "0.26.1" - resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.26.1.tgz#8d41351eb8111c55353617fc3bbffad8e4d35d06" - integrity sha512-hLWjpy7EnsDBb0p+Z3B7rPi3GDeRG5ZtiI33kJhTt+ORCd38AbAIjB/9zRIUoeTbE/AVX5ZkU7m6bznsvrf8eQ== - -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== - dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" - -range-parser@^1.2.1, range-parser@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.3.tgz#8f80305d11c2a0a545c2d9d89d7a0286fcead43c" - integrity sha512-UlTNLIcu0uzb4D2f4WltY6cVjLi+/jEN4lgEUj3E04tpMDpUlkBo/eSn6zou9hum2VMNpCCUone0O0WeJim07g== - dependencies: - bytes "3.1.2" - http-errors "1.8.1" - iconv-lite "0.4.24" - unpipe "1.0.0" - -rc@^1.2.1, rc@^1.2.8, rc@~1.2.7: +rc@1.2.8, rc@^1.0.1, rc@^1.1.6, rc@^1.2.1, rc@^1.2.8: version "1.2.8" resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== @@ -7504,32 +3750,10 @@ rc@^1.2.1, rc@^1.2.8, rc@~1.2.7: read-cache@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" - integrity sha1-5mTvMRYRZsl1HNvo28+GtftY93Q= + integrity sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA== dependencies: pify "^2.3.0" -readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@^3.0.6, readable-stream@^3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -7544,65 +3768,52 @@ readme-badger@^0.3.0: dependencies: balanced-match "^1.0.0" -rechoir@^0.7.0: - version "0.7.1" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.7.1.tgz#9478a96a1ca135b5e88fc027f03ee92d6c645686" - integrity sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg== - dependencies: - resolve "^1.9.0" - -regenerate-unicode-properties@^10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.0.1.tgz#7f442732aa7934a3740c779bb9b3340dccc1fb56" - integrity sha512-vn5DU6yg6h8hP/2OkQo3K7uVILvY4iu0oI4t3HFa81UPkhGJwkRwM10JEc3upjdhHjs/k8GJY1sRBhk5sr69Bw== - dependencies: - regenerate "^1.4.2" - -regenerate@^1.4.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" - integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== -regenerator-runtime@^0.13.4: - version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" - integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== +regex-parser@^2.2.11: + version "2.3.0" + resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.3.0.tgz#4bb61461b1a19b8b913f3960364bb57887f920ee" + integrity sha512-TVILVSz2jY5D47F4mA4MppkBrafEaiUWJO/TcZHEIuI13AqoZMkK1WMA4Om1YkYbTx+9Ki1/tSUXbceyr9saRg== -regenerator-transform@^0.15.0: - version "0.15.0" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.0.tgz#cbd9ead5d77fae1a48d957cf889ad0586adb6537" - integrity sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg== +regexp.prototype.flags@^1.5.2: + version "1.5.2" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz#138f644a3350f981a858c44f6bb1a61ff59be334" + integrity sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw== dependencies: - "@babel/runtime" "^7.8.4" - -regex-parser@^2.2.11: - version "2.2.11" - resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.11.tgz#3b37ec9049e19479806e878cabe7c1ca83ccfe58" - integrity sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q== + call-bind "^1.0.6" + define-properties "^1.2.1" + es-errors "^1.3.0" + set-function-name "^2.0.1" regexpp@^3.0.0, regexpp@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== -regexpu-core@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.0.1.tgz#c531122a7840de743dcf9c83e923b5560323ced3" - integrity sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw== +registry-auth-token@^3.0.1: + version "3.4.0" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" + integrity sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A== dependencies: - regenerate "^1.4.2" - regenerate-unicode-properties "^10.0.1" - regjsgen "^0.6.0" - regjsparser "^0.8.2" - unicode-match-property-ecmascript "^2.0.0" - unicode-match-property-value-ecmascript "^2.0.0" + rc "^1.1.6" + safe-buffer "^5.0.1" registry-auth-token@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.1.tgz#6d7b4006441918972ccd5fedcd41dc322c79b250" - integrity sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw== + version "4.2.2" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.2.tgz#f02d49c3668884612ca031419491a13539e21fac" + integrity sha512-PC5ZysNb42zpFME6D/XlIgtNGdTl8bBOCw90xQLVMpzuuubJKYDWFAEuUNc+Cn8Z8724tg2SDhDRrkVEsqfDMg== dependencies: - rc "^1.2.8" + rc "1.2.8" + +registry-url@^3.0.3: + version "3.1.0" + resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" + integrity sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA== + dependencies: + rc "^1.0.1" registry-url@^5.0.0: version "5.1.0" @@ -7611,23 +3822,6 @@ registry-url@^5.0.0: dependencies: rc "^1.2.8" -regjsgen@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.6.0.tgz#83414c5354afd7d6627b16af5f10f41c4e71808d" - integrity sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA== - -regjsparser@^0.8.2: - version "0.8.4" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.8.4.tgz#8a14285ffcc5de78c5b95d62bbf413b6bc132d5f" - integrity sha512-J3LABycON/VNEu3abOviqGHuB/LOtOQj8SKmfP9anY5GfAVw/SPjwzSjxGjbZXIxbGfqTHtJw58C2Li/WkStmA== - dependencies: - jsesc "~0.5.0" - -relateurl@^0.2.7: - version "0.2.7" - resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" - integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= - remote-origin-url@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/remote-origin-url/-/remote-origin-url-1.0.0.tgz#add020aa5f1a0b37372858e02b323dc28d4cd030" @@ -7638,82 +3832,44 @@ remote-origin-url@^1.0.0: repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc= - -replace-ext@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.1.tgz#2d6d996d04a15855d967443631dd5f77825b016a" - integrity sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw== - -request-progress@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/request-progress/-/request-progress-3.0.0.tgz#4ca754081c7fec63f505e4faa825aa06cd669dbe" - integrity sha1-TKdUCBx/7GP1BeT6qCWqBs1mnb4= - dependencies: - throttleit "^1.0.0" + integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== require-from-string@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== -requireg@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/requireg/-/requireg-0.2.2.tgz#437e77a5316a54c9bcdbbf5d1f755fe093089830" - integrity sha512-nYzyjnFcPNGR3lx9lwPPPnuQxv6JWEZd2Ci0u9opN7N5zUEPIhY/GbL3vMGOr2UXwEg9WwSyV9X9Y/kLFgPsOg== - dependencies: - nested-error-stacks "~2.0.1" - rc "~1.2.7" - resolve "~1.7.1" - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= +require-main-filename@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" + integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== resize-observer-polyfill@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== -resolve-alpn@^1.0.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" - integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== - -resolve-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" - integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== - dependencies: - resolve-from "^5.0.0" - resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - resolve-url-loader@^3.1: - version "3.1.4" - resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.4.tgz#3c16caebe0b9faea9c7cc252fa49d2353c412320" - integrity sha512-D3sQ04o0eeQEySLrcz4DsX3saHfsr8/N6tfhblxgZKXxMT2Louargg12oGNfoTRLV09GXhVUe5/qgA5vdgNigg== + version "3.1.5" + resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-3.1.5.tgz#1dce0847d4a2ef43c51f63c9fd30bf6dfbf26716" + integrity sha512-mgFMCmrV/tA4738EsFmPFE5/MaqSgUMe8LK971kVEKA/RrNVb7+VqFsg/qmKyythf34eyq476qIobP/gfFBGSQ== dependencies: adjust-sourcemap-loader "3.0.0" camelcase "5.3.1" compose-function "3.0.3" convert-source-map "1.7.0" es6-iterator "2.0.3" - loader-utils "1.2.3" + loader-utils "^1.2.3" postcss "7.0.36" rework "1.0.1" rework-visit "1.0.0" @@ -7722,54 +3878,24 @@ resolve-url-loader@^3.1: resolve-url@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= + integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== -resolve@^1.1.7, resolve@^1.10.1, resolve@^1.14.2, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.9.0: - version "1.22.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" - integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== +resolve@^1.1.7, resolve@^1.10.1, resolve@^1.22.0, resolve@^1.22.4: + version "1.22.8" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== dependencies: - is-core-module "^2.8.1" + is-core-module "^2.13.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@~1.7.1: - version "1.7.1" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.7.1.tgz#aadd656374fd298aee895bc026b8297418677fd3" - integrity sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw== - dependencies: - path-parse "^1.0.5" - responselike@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" - integrity sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec= + integrity sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ== dependencies: lowercase-keys "^1.0.0" -responselike@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.0.tgz#26391bcc3174f750f9a79eacc40a12a5c42d7723" - integrity sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw== - dependencies: - lowercase-keys "^2.0.0" - -restore-cursor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" - integrity sha1-NGYfRohjJ/7SmRR5FSJS35LapUE= - dependencies: - exit-hook "^1.0.0" - onetime "^1.0.0" - -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - integrity sha1-n37ih/gv0ybU/RYpI9YhKe7g368= - dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" - restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -7778,67 +3904,56 @@ restore-cursor@^3.1.0: onetime "^5.1.0" signal-exit "^3.0.2" -retry@^0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" - integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - rework-visit@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/rework-visit/-/rework-visit-1.0.0.tgz#9945b2803f219e2f7aca00adb8bc9f640f842c9a" - integrity sha1-mUWygD8hni96ygCtuLyfZA+ELJo= + integrity sha512-W6V2fix7nCLUYX1v6eGPrBOZlc03/faqzP4sUxMAJMBMOPYhfV/RyLegTufn5gJKaOITyi+gvf0LXDZ9NzkHnQ== rework@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/rework/-/rework-1.0.1.tgz#30806a841342b54510aa4110850cd48534144aa7" - integrity sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc= + integrity sha512-eEjL8FdkdsxApd0yWVZgBGzfCQiT8yqSc2H1p4jpZpQdtz7ohETiDMoje5PlM8I9WgkqkreVxFUKYOiJdVWDXw== dependencies: convert-source-map "^0.3.3" css "^2.0.0" rfdc@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b" - integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== + version "1.4.1" + resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" + integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA== + +rimraf@^2.6.2: + version "2.7.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== + dependencies: + glob "^7.1.3" -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" +"rollup@>=2.59.0 <2.78.0": + version "2.77.3" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.77.3.tgz#8f00418d3a2740036e15deb653bed1a90ee0cc12" + integrity sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g== + optionalDependencies: + fsevents "~2.3.2" rope-sequence@^1.3.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/rope-sequence/-/rope-sequence-1.3.2.tgz#a19e02d72991ca71feb6b5f8a91154e48e3c098b" - integrity sha512-ku6MFrwEVSVmXLvy3dYph3LAMNS0890K7fabn+0YIRQ2T96T9F4gkFf0vf0WW0JUraNWwGRtInEpH7yO4tbQZg== + version "1.3.4" + resolved "https://registry.yarnpkg.com/rope-sequence/-/rope-sequence-1.3.4.tgz#df85711aaecd32f1e756f76e43a415171235d425" + integrity sha512-UT5EDe2cu2E/6O4igUr5PSFs23nvvukicWHx6GnOPlHAiiYbzNuCRQCuiUdHJQcqKalLKlrYJnjY0ySGsXNQXQ== run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== -run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" - integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== - dependencies: - queue-microtask "^1.2.2" - -rxjs@^6.3.3, rxjs@^6.6.0: +rxjs@^6.6.0: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== @@ -7846,23 +3961,42 @@ rxjs@^6.3.3, rxjs@^6.6.0: tslib "^1.9.0" rxjs@^7.5.1: - version "7.5.5" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" - integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== dependencies: tslib "^2.1.0" -safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== +safe-array-concat@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz#81d77ee0c4e8b863635227c721278dd524c20edb" + integrity sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q== + dependencies: + call-bind "^1.0.7" + get-intrinsic "^1.2.4" + has-symbols "^1.0.3" + isarray "^2.0.5" -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: +safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +safe-regex-test@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz#a5b4c0f06e0ab50ea2c395c14d8371232924c377" + integrity sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw== + dependencies: + call-bind "^1.0.6" + es-errors "^1.3.0" + is-regex "^1.1.4" + +"safer-buffer@>= 2.1.2 < 3": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -7876,65 +4010,32 @@ sass-loader@^11.0.0: neo-async "^2.6.2" sass@^1.27.0: - version "1.50.0" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.50.0.tgz#3e407e2ebc53b12f1e35ce45efb226ea6063c7c8" - integrity sha512-cLsD6MEZ5URXHStxApajEh7gW189kkjn4Rc8DQweMyF+o5HF5nfEz8QYLMlPsTOD88DknatTmBWkOcw5/LnJLQ== + version "1.77.6" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.6.tgz#898845c1348078c2e6d1b64f9ee06b3f8bd489e4" + integrity sha512-ByXE1oLD79GVq9Ht1PeHWCPMPB8XHpBuz1r85oByKHjZY6qV6rWnQovQzXJXuQ/XyE1Oj3iPk3lo28uzaRA2/Q== dependencies: chokidar ">=3.0.0 <4.0.0" immutable "^4.0.0" source-map-js ">=0.6.2 <2.0.0" -schema-utils@^2.6.5: - version "2.7.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" - integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== - dependencies: - "@types/json-schema" "^7.0.5" - ajv "^6.12.4" - ajv-keywords "^3.5.2" - -schema-utils@^3.0.0, schema-utils@^3.1.0, schema-utils@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" - integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== - dependencies: - "@types/json-schema" "^7.0.8" - ajv "^6.12.5" - ajv-keywords "^3.5.2" - -schema-utils@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.0.0.tgz#60331e9e3ae78ec5d16353c467c34b3a0a1d3df7" - integrity sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg== - dependencies: - "@types/json-schema" "^7.0.9" - ajv "^8.8.0" - ajv-formats "^2.1.1" - ajv-keywords "^5.0.0" - scroll-into-view-if-needed@^2.2.25: - version "2.2.29" - resolved "https://registry.yarnpkg.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.29.tgz#551791a84b7e2287706511f8c68161e4990ab885" - integrity sha512-hxpAR6AN+Gh53AdAimHM6C8oTN1ppwVZITihix+WqalywBeFcQ6LdQP5ABNl26nX8GTEL7VT+b8lKpdqq65wXg== + version "2.2.31" + resolved "https://registry.yarnpkg.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz#d3c482959dc483e37962d1521254e3295d0d1587" + integrity sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA== dependencies: - compute-scroll-into-view "^1.0.17" - -select-hose@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" - integrity sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo= - -selfsigned@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/selfsigned/-/selfsigned-2.0.1.tgz#8b2df7fa56bf014d19b6007655fff209c0ef0a56" - integrity sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ== - dependencies: - node-forge "^1" + compute-scroll-into-view "^1.0.20" semver-compare@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" - integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w= + integrity sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow== + +semver-diff@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" + integrity sha512-gL8F8L4ORwsS0+iQ34yCYv///jsOq0ZL7WP55d1HnJ32o7tyFYEFQZQA22mrLIacZdU6xecaBBZ+uEiffGNyXw== + dependencies: + semver "^5.0.3" semver-diff@^3.1.1: version "3.1.1" @@ -7943,122 +4044,65 @@ semver-diff@^3.1.1: dependencies: semver "^6.3.0" -semver-regex@^3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.3.tgz#b2bcc6f97f63269f286994e297e229b6245d0dc3" - integrity sha512-Aqi54Mk9uYTjVexLnR67rTyBusmwd04cLkHy9hNvk3+G3nT2Oyg7E0l4XVbOaNwIvQ3hHeYxGcyEy+mKreyBFQ== - semver-utils@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/semver-utils/-/semver-utils-1.1.4.tgz#cf0405e669a57488913909fc1c3f29bf2a4871e2" integrity sha512-EjnoLE5OGmDAVV/8YDoN5KiajNadjzIp9BAHOhYeQHt7j0UWxjmgsx4YD48wp4Ue1Qogq38F1GNUJNqF1kKKxA== -semver@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" - integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== - -semver@^5.6.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - -semver@^6.0.0, semver@^6.1.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - -semver@^7.2.1, semver@^7.3.2, semver@^7.3.5: - version "7.3.7" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== - dependencies: - lru-cache "^6.0.0" - -send@0.17.2: - version "0.17.2" - resolved "https://registry.yarnpkg.com/send/-/send-0.17.2.tgz#926622f76601c41808012c8bf1688fe3906f7820" - integrity sha512-UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww== - dependencies: - debug "2.6.9" - depd "~1.1.2" - destroy "~1.0.4" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "1.8.1" - mime "1.6.0" - ms "2.1.3" - on-finished "~2.3.0" - range-parser "~1.2.1" - statuses "~1.5.0" - -serialize-javascript@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" - integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== - dependencies: - randombytes "^2.1.0" - -serve-index@^1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" - integrity sha1-03aNabHn2C5c4FD/9bRTvqEqkjk= - dependencies: - accepts "~1.3.4" - batch "0.6.1" - debug "2.6.9" - escape-html "~1.0.3" - http-errors "~1.6.2" - mime-types "~2.1.17" - parseurl "~1.3.2" - -serve-static@1.14.2: - version "1.14.2" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.14.2.tgz#722d6294b1d62626d41b43a013ece4598d292bfa" - integrity sha512-+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ== - dependencies: - encodeurl "~1.0.2" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.17.2" - -setimmediate@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU= +semver@^5.0.3, semver@^5.1.0, semver@^5.6.0: + version "5.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" + integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -setprototypeof@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" - integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== +semver@^6.0.0, semver@^6.1.0, semver@^6.2.0, semver@^6.3.0, semver@^6.3.1: + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -setprototypeof@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" - integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== +semver@^7.2.1: + version "7.6.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" + integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== + +set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== -sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== +set-function-length@^1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" + integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" + define-data-property "^1.1.4" + es-errors "^1.3.0" + function-bind "^1.1.2" + get-intrinsic "^1.2.4" + gopd "^1.0.1" + has-property-descriptors "^1.0.2" -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== +set-function-name@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.2.tgz#16a705c5a0dc2f5e638ca96d8a8cd4e1c2b90985" + integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== dependencies: - kind-of "^6.0.2" + define-data-property "^1.1.4" + es-errors "^1.3.0" + functions-have-names "^1.2.3" + has-property-descriptors "^1.0.2" shallow-equal@^1.0.0: version "1.2.1" resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da" integrity sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA== +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== + dependencies: + shebang-regex "^1.0.0" + shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -8066,45 +4110,36 @@ shebang-command@^2.0.0: dependencies: shebang-regex "^3.0.0" +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== + shebang-regex@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shellwords@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" - integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== - -side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== +side-channel@^1.0.4, side-channel@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" + integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" + call-bind "^1.0.7" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" sigmund@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" - integrity sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA= + integrity sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g== -signal-exit@^3.0.2, signal-exit@^3.0.3: +signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -slice-ansi@0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" - integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= - slice-ansi@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" @@ -8130,29 +4165,15 @@ smpltmpl@^1.0.2: dependencies: babel-code-frame "^6.26.0" -sockjs@^0.3.21: - version "0.3.24" - resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" - integrity sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ== - dependencies: - faye-websocket "^0.11.3" - uuid "^8.3.2" - websocket-driver "^0.7.4" - sortablejs@1.14.0: version "1.14.0" resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.14.0.tgz#6d2e17ccbdb25f464734df621d4f35d4ab35b3d8" integrity sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w== -source-list-map@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" - integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== - -"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" - integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== +"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.2, source-map-js@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af" + integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg== source-map-resolve@^0.5.2: version "0.5.3" @@ -8165,62 +4186,16 @@ source-map-resolve@^0.5.2: source-map-url "^0.4.0" urix "^0.1.0" -source-map-support@~0.5.12, source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - source-map-url@^0.4.0: version "0.4.1" resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== -source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: +source-map@0.6.1, source-map@^0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.5.0: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= - -source-map@~0.7.2: - version "0.7.3" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" - integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== - -sourcemap-codec@^1.4.8: - version "1.4.8" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" - integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== - -spdy-transport@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" - integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== - dependencies: - debug "^4.1.0" - detect-node "^2.0.4" - hpack.js "^2.1.6" - obuf "^1.1.2" - readable-stream "^3.0.6" - wbuf "^1.7.3" - -spdy@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" - integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== - dependencies: - debug "^4.1.0" - handle-thing "^2.0.0" - http-deceiver "^1.2.7" - select-hose "^2.0.0" - spdy-transport "^3.0.0" - split-lines@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/split-lines/-/split-lines-2.1.0.tgz#3bc9dbf75637c8bae6ed5dcbc7dbd83956b72311" @@ -8229,77 +4204,14 @@ split-lines@^2.0.0: sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= - -sshpk@^1.14.1: - version "1.17.0" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" - integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -stable@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" - integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== - -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= - -std-env@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.0.1.tgz#bc4cbc0e438610197e34c2d79c3df30b491f5182" - integrity sha512-mC1Ps9l77/97qeOZc+HrOL7TIaOboHqMZ24dGVQrlxFcpPpfCHpH+qfUT7Dz+6mlG8+JPA1KfBQo19iC/+Ngcw== - -stream-browserify@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" - integrity sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg== - dependencies: - inherits "~2.0.1" - readable-stream "^2.0.2" - -stream-http@^2.7.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" - integrity sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw== - dependencies: - builtin-status-codes "^3.0.0" - inherits "^2.0.1" - readable-stream "^2.3.6" - to-arraybuffer "^1.0.0" - xtend "^4.0.0" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== string-argv@0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== -string-hash@^1.1.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b" - integrity sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs= - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -string-width@^2.1.1: +string-width@^2.0.0, string-width@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -8307,6 +4219,15 @@ string-width@^2.1.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" +string-width@^3.0.0, string-width@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== + dependencies: + emoji-regex "^7.0.1" + is-fullwidth-code-point "^2.0.0" + strip-ansi "^5.1.0" + string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" @@ -8316,35 +4237,33 @@ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2 is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string.prototype.trimend@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80" - integrity sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - -string.prototype.trimstart@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz#b36399af4ab2999b4c9c648bd7a3fb2bb26feeed" - integrity sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw== +string.prototype.trim@^1.2.9: + version "1.2.9" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz#b6fa326d72d2c78b6df02f7759c73f8f6274faa4" + integrity sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-abstract "^1.23.0" + es-object-atoms "^1.0.0" -string_decoder@^1.0.0, string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== +string.prototype.trimend@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz#3651b8513719e8a9f48de7f2f77640b26652b229" + integrity sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ== dependencies: - safe-buffer "~5.2.0" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== +string.prototype.trimstart@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz#7ee834dda8c7c17eff3118472bb35bfedaa34dde" + integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== dependencies: - safe-buffer "~5.1.0" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" stringify-object@^3.3.0: version "3.3.0" @@ -8355,20 +4274,27 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -strip-ansi@^3.0.0, strip-ansi@^3.0.1: +strip-ansi@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== dependencies: ansi-regex "^2.0.0" strip-ansi@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= + integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== dependencies: ansi-regex "^3.0.0" +strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" @@ -8379,13 +4305,18 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== strip-bom@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== +strip-eof@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" + integrity sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q== + strip-final-newline@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" @@ -8399,28 +4330,12 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= - -style-loader@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-2.0.0.tgz#9669602fd4690740eaaec137799a03addbbc393c" - integrity sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ== - dependencies: - loader-utils "^2.0.0" - schema-utils "^3.0.0" - -stylehacks@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-5.1.0.tgz#a40066490ca0caca04e96c6b02153ddc39913520" - integrity sha512-SzLmvHQTrIWfSgljkQCw2++C9+Ne91d/6Sp92I8c5uHTcy/PgeHamwITIbBW9wnFTY/3ZfSXR9HIL6Ikqmcu6Q== - dependencies: - browserslist "^4.16.6" - postcss-selector-parser "^6.0.4" + integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== supports-color@^5.3.0: version "5.5.0" @@ -8436,47 +4351,22 @@ supports-color@^6.1.0: dependencies: has-flag "^3.0.0" -supports-color@^7.1.0, supports-color@^7.2.0: +supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" -supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -svgo@^2.7.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24" - integrity sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg== - dependencies: - "@trysound/sax" "0.2.0" - commander "^7.2.0" - css-select "^4.1.3" - css-tree "^1.1.3" - csso "^4.2.0" - picocolors "^1.0.0" - stable "^0.1.8" - -symbol-observable@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== - table@^6.0.9: - version "6.8.0" - resolved "https://registry.yarnpkg.com/table/-/table-6.8.0.tgz#87e28f14fa4321c3377ba286f07b79b281a3b3ca" - integrity sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA== + version "6.8.2" + resolved "https://registry.yarnpkg.com/table/-/table-6.8.2.tgz#c5504ccf201213fa227248bdc8c5569716ac6c58" + integrity sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA== dependencies: ajv "^8.0.1" lodash.truncate "^4.4.2" @@ -8489,72 +4379,32 @@ tachyons@^4.12.0: resolved "https://registry.yarnpkg.com/tachyons/-/tachyons-4.12.0.tgz#6fdfa8360927a46a1efd996a4dcc94f04bd31df0" integrity sha512-2nA2IrYFy3raCM9fxJ2KODRGHVSZNTW3BR0YnlGsLUf1DA3pk3YfWZ/DdfbnZK6zLZS+jUenlUGJsKcA5fUiZg== -tapable@^2.1.1, tapable@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" - integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== +term-size@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" + integrity sha512-7dPUZQGy/+m3/wjVz3ZW5dobSoD/02NxJpoXUX0WIyjfVS3l0c+b/+9phIDFA7FHzkYtwtMFgeGZ/Y8jVTeqQQ== + dependencies: + execa "^0.7.0" term-size@^2.1.0: version "2.2.1" resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54" integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg== -terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.2.4: - version "5.3.1" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1.tgz#0320dcc270ad5372c1e8993fabbd927929773e54" - integrity sha512-GvlZdT6wPQKbDNW/GDQzZFg/j4vKU96yl2q6mcUkzKOgW4gwf1Z8cZToUCrz31XHlPWH8MVb1r2tFtdDtTGJ7g== - dependencies: - jest-worker "^27.4.5" - schema-utils "^3.1.1" - serialize-javascript "^6.0.0" - source-map "^0.6.1" - terser "^5.7.2" - -terser@^4.6.3: - version "4.8.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17" - integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw== - dependencies: - commander "^2.20.0" - source-map "~0.6.1" - source-map-support "~0.5.12" - -terser@^5.7.2, terser@^5.9.0: - version "5.12.1" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.12.1.tgz#4cf2ebed1f5bceef5c83b9f60104ac4a78b49e9c" - integrity sha512-NXbs+7nisos5E+yXwAD+y7zrcTkMqb0dEJxIGtSKPdCBzopf7ni4odPul2aechpV7EXNvOudYOX2bb5tln1jbQ== - dependencies: - acorn "^8.5.0" - commander "^2.20.0" - source-map "~0.7.2" - source-map-support "~0.5.20" - text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= - -throttleit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/throttleit/-/throttleit-1.0.0.tgz#9e785836daf46743145a5984b6268d828528ac6c" - integrity sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw= + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== through@^2.3.6, through@^2.3.8: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= - -thunky@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" - integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== -timers-browserify@^2.0.4: - version "2.0.12" - resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.12.tgz#44a45c11fbf407f34f97bccd1577c652361b00ee" - integrity sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ== - dependencies: - setimmediate "^1.0.4" +timed-out@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" + integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA== tiny-emitter@^2.1.0: version "2.1.0" @@ -8623,23 +4473,6 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" -tmp@~0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" - integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== - dependencies: - rimraf "^3.0.0" - -to-arraybuffer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" - integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M= - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= - to-readable-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" @@ -8652,26 +4485,13 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -toidentifier@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" - integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== - -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - -tsconfig-paths@^3.14.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" - integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== +tsconfig-paths@^3.15.0: + version "3.15.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4" + integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg== dependencies: "@types/json5" "^0.0.29" - json5 "^1.0.1" + json5 "^1.0.2" minimist "^1.2.6" strip-bom "^3.0.0" @@ -8680,27 +4500,10 @@ tslib@^1.9.0, tslib@^1.9.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.3, tslib@^2.1.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" - integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== - -tty-browserify@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" - integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= +tslib@^2.1.0: + version "2.6.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" + integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" @@ -8724,23 +4527,54 @@ type-fest@^0.8.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== +type@^2.7.2: + version "2.7.3" + resolved "https://registry.yarnpkg.com/type/-/type-2.7.3.tgz#436981652129285cc3ba94f392886c2637ea0486" + integrity sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ== + +typed-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz#1867c5d83b20fcb5ccf32649e5e2fc7424474ff3" + integrity sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ== + dependencies: + call-bind "^1.0.7" + es-errors "^1.3.0" + is-typed-array "^1.1.13" + +typed-array-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz#d92972d3cff99a3fa2e765a28fcdc0f1d89dec67" + integrity sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw== dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== +typed-array-byte-offset@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz#f9ec1acb9259f395093e4567eb3c28a580d02063" + integrity sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" -type@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/type/-/type-2.6.0.tgz#3ca6099af5981d36ca86b78442973694278a219f" - integrity sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ== +typed-array-length@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.6.tgz#57155207c76e64a3457482dfdc1c9d1d3c4c73a3" + integrity sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g== + dependencies: + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-proto "^1.0.3" + is-typed-array "^1.1.13" + possible-typed-array-names "^1.0.0" typedarray-to-buffer@^3.1.5: version "3.1.5" @@ -8749,60 +4583,39 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= - -unbox-primitive@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" - integrity sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw== +unbox-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== dependencies: - function-bind "^1.1.1" - has-bigints "^1.0.1" - has-symbols "^1.0.2" + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" underscore@^1.11.0: - version "1.13.2" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.13.2.tgz#276cea1e8b9722a8dbed0100a407dda572125881" - integrity sha512-ekY1NhRzq0B08g4bGuX4wd2jZx5GnKz6mKSqFL4nqBlfyMGiG10gDFhDTMEfYmDL6Jy0FUIZp7wiRB+0BP7J2g== - -unicode-canonical-property-names-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" - integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== - -unicode-match-property-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" - integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== - dependencies: - unicode-canonical-property-names-ecmascript "^2.0.0" - unicode-property-aliases-ecmascript "^2.0.0" - -unicode-match-property-value-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz#1a01aa57247c14c568b89775a54938788189a714" - integrity sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw== - -unicode-property-aliases-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz#0a36cb9a585c4f6abd51ad1deddb285c165297c8" - integrity sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ== + version "1.13.6" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.13.6.tgz#04786a1f589dc6c09f761fc5f45b89e935136441" + integrity sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A== unique-random-array@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unique-random-array/-/unique-random-array-1.0.0.tgz#42b3721c579388d8b667c93c2dbde3d5d81a9136" - integrity sha1-QrNyHFeTiNi2Z8k8Lb3j1dgakTY= + integrity sha512-vtj2yltjcHPa69nFjNJ3xnhsEwE8pMyjqUQDw2myz/iSezqf4YCAcygwFQEsOgMid5VNW/dCPbnb2BcmaDCCKg== dependencies: unique-random "^1.0.0" unique-random@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unique-random/-/unique-random-1.0.0.tgz#ce3e224c8242cd33a0e77b0d7180d77e6b62d0c4" - integrity sha1-zj4iTIJCzTOg53sNcYDXfmti0MQ= + integrity sha512-K1sUkPf9EXCZFNIlMCoX4icAqcvkR4FMPH4Z61HbyiWhQl1ZGo0zYeV2bJmocK8Cp6tnKYrCnpkeKGebXZoRTQ== + +unique-string@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" + integrity sha512-ODgiYu03y5g76A1I9Gt0/chLCzQjvzDy7DsZGsLOE/1MrF6wriEskSncj1+/C58Xk/kPZDppSctDybCwOSaGAg== + dependencies: + crypto-random-string "^1.0.0" unique-string@^2.0.0: version "2.0.0" @@ -8816,20 +4629,26 @@ universalify@^0.1.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== -universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= +unzip-response@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" + integrity sha512-N0XH6lqDtFH84JxptQoZYmloF4nzrQqqrAymNj+/gW60AO2AZgOcf4O/nUXJcYfyQkqvMo9lSupBZmmgvuVXlw== -untildify@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" - integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== +update-notifier@^2.3.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" + integrity sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw== + dependencies: + boxen "^1.2.1" + chalk "^2.0.1" + configstore "^3.0.0" + import-lazy "^2.1.0" + is-ci "^1.0.10" + is-installed-globally "^0.1.0" + is-npm "^1.0.0" + latest-version "^3.0.0" + semver-diff "^2.0.0" + xdg-basedir "^3.0.0" update-notifier@^4.1.0: version "4.1.3" @@ -8850,22 +4669,15 @@ update-notifier@^4.1.0: semver-diff "^3.1.1" xdg-basedir "^4.0.0" -uploadcare-vue@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/uploadcare-vue/-/uploadcare-vue-1.0.0.tgz#f0b914994741e3a9599ca17bf3e7950b058e51f2" - integrity sha512-SpoNTsCSKpMXVQyF5y+phk62nhkR2WZ1ZUdnk6aiNif6woVVIodqJK806BMuVHOmqGnx6u0A3mpD4Phoe5UuSg== - dependencies: - uploadcare-widget "^3.3.0" - -uploadcare-widget@^3.3.0: - version "3.17.2" - resolved "https://registry.yarnpkg.com/uploadcare-widget/-/uploadcare-widget-3.17.2.tgz#5e09d8c0000eb3653afd9a7ff1d502fb874bbcf7" - integrity sha512-A9fDKCguevWcFaMCrHROtYzwnMZbOozER6Dru+4zrZH1pP0S7zI/g+7wLv+5U4XZTc5m+4ZrwHrZJzkIRnWeMQ== +uploadcare-widget@^3.21.2: + version "3.21.2" + resolved "https://registry.yarnpkg.com/uploadcare-widget/-/uploadcare-widget-3.21.2.tgz#50c1fb46209dcf21c55b4ebdb9c6c967f80dac2d" + integrity sha512-vJ5lS9dKQFMgU9pg+SehcA+iGiGLnhtlok8rY3qVZN9gSo35m4mtt8kRwJuyh/SxJr3g/5wy12sLYeA/qLVoJA== dependencies: escape-html "^1.0.3" jquery "^3.6.0" -uri-js@^4.2.2: +uri-js@^4.2.2, uri-js@^4.4.1: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== @@ -8875,27 +4687,26 @@ uri-js@^4.2.2: urix@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI= + integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== + +url-parse-lax@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" + integrity sha512-BVA4lR5PIviy2PMseNd2jbFQ+jwSwQGdJejf5ctd1rEXt0Ypd7yanUK9+lYechVlN5VaTJGsu2U/3MDDu6KgBA== + dependencies: + prepend-http "^1.0.1" url-parse-lax@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" - integrity sha1-FrXK/Afb42dsGxmZF3gj1lA6yww= + integrity sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ== dependencies: prepend-http "^2.0.0" -url@^0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" - integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE= - dependencies: - punycode "1.3.2" - querystring "0.2.0" - user-home@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/user-home/-/user-home-2.0.0.tgz#9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f" - integrity sha1-nHC/2Babwdy/SGBODwS4tJzenp8= + integrity sha512-KMWqdlOcjCYdtIJpicDSFBQ8nFwS2i9sslAd6f4+CBGcU4gist2REnr2fxj2YocvJFxSF3ZOHLYLVZnUxv4BZQ== dependencies: os-homedir "^1.0.0" @@ -8906,45 +4717,17 @@ user-meta@^1.0.0: dependencies: rc "^1.2.1" -util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= - -util@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" - integrity sha1-evsa/lCAUkZInj23/g7TeTNqwPk= - dependencies: - inherits "2.0.1" - -util@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" - integrity sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== - dependencies: - inherits "2.0.3" - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= - -uuid@^8.3.0, uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - v-calendar@^3.0.0-alpha.8: - version "3.0.0-alpha.8" - resolved "https://registry.yarnpkg.com/v-calendar/-/v-calendar-3.0.0-alpha.8.tgz#3bc8c69f4788fb527c39706f41fd2a502a17c827" - integrity sha512-T23H5UbK0EomrwArlF/jrT2LFbV/lu+Bp9JroZ1paN6rPoaMyvE+HrLxvAmUgi+pODrdTURDMzM3+WPgeFKEBQ== + version "3.1.2" + resolved "https://registry.yarnpkg.com/v-calendar/-/v-calendar-3.1.2.tgz#fb47320a5469973454f030d850134eebcd2307eb" + integrity sha512-QDWrnp4PWCpzUblctgo4T558PrHgHzDtQnTeUNzKxfNf29FkCeFpwGd9bKjAqktaa2aJLcyRl45T5ln1ku34kg== dependencies: - "@popperjs/core" "2.4.0" "@types/lodash" "^4.14.165" + "@types/resize-observer-browser" "^0.1.7" date-fns "^2.16.1" - date-fns-tz "^1.0.12" + date-fns-tz "^2.0.0" lodash "^4.17.20" + vue-screen-utils "^1.0.0-beta.13" v-tooltip@^2.0.2: version "2.1.3" @@ -8957,35 +4740,36 @@ v-tooltip@^2.0.2: vue-resize "^1.0.1" v8-compile-cache@^2.0.3: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== + version "2.4.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz#cdada8bec61e15865f05d097c5f4fd30e94dc128" + integrity sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw== validate-npm-package-name@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34= + integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== dependencies: builtins "^1.0.3" -vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= +vite-plugin-full-reload@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/vite-plugin-full-reload/-/vite-plugin-full-reload-1.1.0.tgz#ca6fa32631024a459ea9e5613dd4c0ff0f3b7995" + integrity sha512-3cObNDzX6DdfhD9E7kf6w2mNunFpD7drxyNgHLw+XwIYAgb+Xt16SEXo0Up4VH+TMf3n+DSVJZtW2POBGcBYAA== dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" + picocolors "^1.0.0" + picomatch "^2.3.1" -vm-browserify@^1.0.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" - integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ== +vite@^2.0.0: + version "2.9.18" + resolved "https://registry.yarnpkg.com/vite/-/vite-2.9.18.tgz#74e2a83b29da81e602dac4c293312cc575f091c7" + integrity sha512-sAOqI5wNM9QvSEE70W3UGMdT8cyEn0+PmJMTFvTB8wB0YbYUWw3gUbY62AOyrXosGieF2htmeLATvNxpv/zNyQ== + dependencies: + esbuild "^0.14.27" + postcss "^8.4.13" + resolve "^1.22.0" + rollup ">=2.59.0 <2.78.0" + optionalDependencies: + fsevents "~2.3.2" vue-eslint-parser@^7.10.0: version "7.11.0" @@ -9001,19 +4785,18 @@ vue-eslint-parser@^7.10.0: semver "^6.3.0" vue-final-modal@^3.4.3: - version "3.4.3" - resolved "https://registry.yarnpkg.com/vue-final-modal/-/vue-final-modal-3.4.3.tgz#8fdf56da8a03cdf9e54bcaeb8293a93f88758915" - integrity sha512-sp6M09oXGcRM3d3Jr80UywWx4C9I18nH/549fgNrs8qbCcw+DJc8QSUFkJ91lqWndGQ1q5rYen4i4IIrpHPVYA== + version "3.4.11" + resolved "https://registry.yarnpkg.com/vue-final-modal/-/vue-final-modal-3.4.11.tgz#5a7cb31fad5bff0f51e4db167ae9309f404f20a1" + integrity sha512-tKBM4hcUo16rUGa/UaYMlut11cRfxMZnahz9u+mAoSk8mQNdnm9FHzOeHIcUxNHvMC/YyVBlOHi+2GqOVO8zig== vue-i18n@^9.0.0: - version "9.1.9" - resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.1.9.tgz#cb53e06ab5cc5b7eed59332f151caf48d47be9bb" - integrity sha512-JeRdNVxS2OGp1E+pye5XB6+M6BBkHwAv9C80Q7+kzoMdUDGRna06tjC0vCB/jDX9aWrl5swxOMFcyAr7or8XTA== + version "9.13.1" + resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.13.1.tgz#a292c8021b7be604ebfca5609ae1f8fafe5c36d7" + integrity sha512-mh0GIxx0wPtPlcB1q4k277y0iKgo25xmDPWioVVYanjPufDBpvu5ySTjP5wOrSvlYQ2m1xI+CFhGdauv/61uQg== dependencies: - "@intlify/core-base" "9.1.9" - "@intlify/shared" "9.1.9" - "@intlify/vue-devtools" "9.1.9" - "@vue/devtools-api" "^6.0.0-beta.7" + "@intlify/core-base" "9.13.1" + "@intlify/shared" "9.13.1" + "@vue/devtools-api" "^6.5.0" vue-loader@^16.1.2: version "16.8.3" @@ -9036,21 +4819,18 @@ vue-resize@^1.0.1: dependencies: "@babel/runtime" "^7.13.10" -vue-style-loader@^4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-4.1.3.tgz#6d55863a51fa757ab24e89d9371465072aa7bc35" - integrity sha512-sFuh0xfbtpRlKfm39ss/ikqs9AbKCoXZBpHeVZ8Tx650o0k0q/YCM7FRvigtxpACezfq6af+a7JeqVTWvncqDg== - dependencies: - hash-sum "^1.0.2" - loader-utils "^1.0.2" +vue-screen-utils@^1.0.0-beta.13: + version "1.0.0-beta.13" + resolved "https://registry.yarnpkg.com/vue-screen-utils/-/vue-screen-utils-1.0.0-beta.13.tgz#0c739e19f6ffbffab63184aba7b6d710b6a63681" + integrity sha512-EJ/8TANKhFj+LefDuOvZykwMr3rrLFPLNb++lNBqPOpVigT2ActRg6icH9RFQVm4nHwlHIHSGm5OY/Clar9yIg== vue-template-compiler@^2.6.12: - version "2.6.14" - resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.14.tgz#a2f0e7d985670d42c9c9ee0d044fed7690f4f763" - integrity sha512-ODQS1SyMbjKoO1JBJZojSw6FE4qnh9rIpUZn2EUT86FKizx9uH5z6uXiIrm4/Nb/gwxTi/o17ZDEGWAXHvtC7g== + version "2.7.16" + resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.7.16.tgz#c81b2d47753264c77ac03b9966a46637482bb03b" + integrity sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ== dependencies: de-indent "^1.0.2" - he "^1.1.0" + he "^1.2.0" vue-the-mask@^0.11.1: version "0.11.1" @@ -9065,15 +4845,15 @@ vue-types@^3.0.0: is-plain-object "3.0.1" vue@^3.0.11: - version "3.2.32" - resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.32.tgz#a09840e237384c673f421ff7280c4469714f2ac0" - integrity sha512-6L3jKZApF042OgbCkh+HcFeAkiYi3Lovi8wNhWqIK98Pi5efAMLZzRHgi91v+60oIRxdJsGS9sTMsb+yDpY8Eg== + version "3.4.31" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.4.31.tgz#83a3c4dab8302b0e974b0d4b92a2f6a6378ae797" + integrity sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ== dependencies: - "@vue/compiler-dom" "3.2.32" - "@vue/compiler-sfc" "3.2.32" - "@vue/runtime-dom" "3.2.32" - "@vue/server-renderer" "3.2.32" - "@vue/shared" "3.2.32" + "@vue/compiler-dom" "3.4.31" + "@vue/compiler-sfc" "3.4.31" + "@vue/runtime-dom" "3.4.31" + "@vue/server-renderer" "3.4.31" + "@vue/shared" "3.4.31" vuedraggable@^4.1.0: version "4.1.0" @@ -9083,9 +4863,9 @@ vuedraggable@^4.1.0: sortablejs "1.14.0" w3c-keyname@^2.2.0: - version "2.2.4" - resolved "https://registry.yarnpkg.com/w3c-keyname/-/w3c-keyname-2.2.4.tgz#4ade6916f6290224cdbd1db8ac49eab03d0eef6b" - integrity sha512-tOhfEwEzFLJzf6d1ZPkYfGj+FWhIpBux9ppoP3rlclw3Z0BZv3N7b7030Z1kYth+6rDuAsXUFr+d0VE6Ed1ikw== + version "2.2.8" + resolved "https://registry.yarnpkg.com/w3c-keyname/-/w3c-keyname-2.2.8.tgz#7b17c8c6883d4e8b86ac8aba79d39e880f8869c5" + integrity sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ== warning@^4.0.0: version "4.0.3" @@ -9094,85 +4874,6 @@ warning@^4.0.0: dependencies: loose-envify "^1.0.0" -watchpack@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.3.1.tgz#4200d9447b401156eeca7767ee610f8809bc9d25" - integrity sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - -wbuf@^1.1.0, wbuf@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" - integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== - dependencies: - minimalistic-assert "^1.0.0" - -webpack-cli@^4.9.1: - version "4.9.2" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.9.2.tgz#77c1adaea020c3f9e2db8aad8ea78d235c83659d" - integrity sha512-m3/AACnBBzK/kMTcxWHcZFPrw/eQuY4Df1TxvIWfWM2x7mRqBQCqKEd96oCUa9jkapLBaFfRce33eGDb4Pr7YQ== - dependencies: - "@discoveryjs/json-ext" "^0.5.0" - "@webpack-cli/configtest" "^1.1.1" - "@webpack-cli/info" "^1.4.1" - "@webpack-cli/serve" "^1.6.1" - colorette "^2.0.14" - commander "^7.0.0" - execa "^5.0.0" - fastest-levenshtein "^1.0.12" - import-local "^3.0.2" - interpret "^2.2.0" - rechoir "^0.7.0" - webpack-merge "^5.7.3" - -webpack-dev-middleware@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz#aa079a8dedd7e58bfeab358a9af7dab304cee57f" - integrity sha512-81EujCKkyles2wphtdrnPg/QqegC/AtqNH//mQkBYSMqwFVCQrxM6ktB2O/SPlZy7LqeEfTbV3cZARGQz6umhg== - dependencies: - colorette "^2.0.10" - memfs "^3.4.1" - mime-types "^2.1.31" - range-parser "^1.2.1" - schema-utils "^4.0.0" - -webpack-dev-server@^4.7.3: - version "4.8.1" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-4.8.1.tgz#58f9d797710d6e25fa17d6afab8708f958c11a29" - integrity sha512-dwld70gkgNJa33czmcj/PlKY/nOy/BimbrgZRaR9vDATBQAYgLzggR0nxDtPLJiLrMgZwbE6RRfJ5vnBBasTyg== - dependencies: - "@types/bonjour" "^3.5.9" - "@types/connect-history-api-fallback" "^1.3.5" - "@types/express" "^4.17.13" - "@types/serve-index" "^1.9.1" - "@types/sockjs" "^0.3.33" - "@types/ws" "^8.5.1" - ansi-html-community "^0.0.8" - bonjour-service "^1.0.11" - chokidar "^3.5.3" - colorette "^2.0.10" - compression "^1.7.4" - connect-history-api-fallback "^1.6.0" - default-gateway "^6.0.3" - express "^4.17.3" - graceful-fs "^4.2.6" - html-entities "^2.3.2" - http-proxy-middleware "^2.0.3" - ipaddr.js "^2.0.1" - open "^8.0.9" - p-retry "^4.5.0" - portfinder "^1.0.28" - rimraf "^3.0.2" - schema-utils "^4.0.0" - selfsigned "^2.0.1" - serve-index "^1.9.1" - sockjs "^0.3.21" - spdy "^4.0.2" - webpack-dev-middleware "^5.3.1" - ws "^8.4.2" - webpack-merge@^4.2.2: version "4.2.2" resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.2.2.tgz#a27c52ea783d1398afd2087f547d7b9d2f43634d" @@ -9180,89 +4881,6 @@ webpack-merge@^4.2.2: dependencies: lodash "^4.17.15" -webpack-merge@^5.7.3, webpack-merge@^5.8.0: - version "5.8.0" - resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.8.0.tgz#2b39dbf22af87776ad744c390223731d30a68f61" - integrity sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q== - dependencies: - clone-deep "^4.0.1" - wildcard "^2.0.0" - -webpack-notifier@^1.14.1: - version "1.15.0" - resolved "https://registry.yarnpkg.com/webpack-notifier/-/webpack-notifier-1.15.0.tgz#72644a1a4ec96b3528704d28f79da5e70048e8ee" - integrity sha512-N2V8UMgRB5komdXQRavBsRpw0hPhJq2/SWNOGuhrXpIgRhcMexzkGQysUyGStHLV5hkUlgpRiF7IUXoBqyMmzQ== - dependencies: - node-notifier "^9.0.0" - strip-ansi "^6.0.0" - -webpack-sources@^1.1.0: - version "1.4.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" - integrity sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ== - dependencies: - source-list-map "^2.0.0" - source-map "~0.6.1" - -webpack-sources@^3.2.3: - version "3.2.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" - integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== - -webpack@^5.60.0: - version "5.72.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.72.0.tgz#f8bc40d9c6bb489a4b7a8a685101d6022b8b6e28" - integrity sha512-qmSmbspI0Qo5ld49htys8GY9XhS9CGqFoHTsOVAnjBdg0Zn79y135R+k4IR4rKK6+eKaabMhJwiVB7xw0SJu5w== - dependencies: - "@types/eslint-scope" "^3.7.3" - "@types/estree" "^0.0.51" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.4.1" - acorn-import-assertions "^1.7.6" - browserslist "^4.14.5" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.9.2" - es-module-lexer "^0.9.0" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.9" - json-parse-better-errors "^1.0.2" - loader-runner "^4.2.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^3.1.0" - tapable "^2.1.1" - terser-webpack-plugin "^5.1.3" - watchpack "^2.3.1" - webpack-sources "^3.2.3" - -webpackbar@^5.0.0-3: - version "5.0.2" - resolved "https://registry.yarnpkg.com/webpackbar/-/webpackbar-5.0.2.tgz#d3dd466211c73852741dfc842b7556dcbc2b0570" - integrity sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ== - dependencies: - chalk "^4.1.0" - consola "^2.15.3" - pretty-time "^1.1.0" - std-env "^3.0.1" - -websocket-driver@>=0.5.1, websocket-driver@^0.7.4: - version "0.7.4" - resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" - integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== - dependencies: - http-parser-js ">=0.5.1" - safe-buffer ">=5.1.0" - websocket-extensions ">=0.1.1" - -websocket-extensions@>=0.1.1: - version "0.1.4" - resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" - integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== - which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" @@ -9274,10 +4892,28 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" -which-pm-runs@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.1.0.tgz#35ccf7b1a0fce87bd8b92a478c9d045785d3bf35" - integrity sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA== +which-module@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" + integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== + +which-typed-array@^1.1.14, which-typed-array@^1.1.15: + version "1.1.15" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.15.tgz#264859e9b11a649b388bfaaf4f767df1f779b38d" + integrity sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA== + dependencies: + available-typed-arrays "^1.0.7" + call-bind "^1.0.7" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.2" + +which@^1.2.9, which@^1.3.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" which@^2.0.1, which@^2.0.2: version "2.0.2" @@ -9286,6 +4922,13 @@ which@^2.0.1, which@^2.0.2: dependencies: isexe "^2.0.0" +widest-line@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc" + integrity sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA== + dependencies: + string-width "^2.1.1" + widest-line@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca" @@ -9293,23 +4936,19 @@ widest-line@^3.1.0: dependencies: string-width "^4.0.0" -wildcard@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" - integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== - -word-wrap@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== +word-wrap@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== -wrap-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba" - integrity sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo= +wrap-ansi@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" + integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" + ansi-styles "^3.2.0" + string-width "^3.0.0" + strip-ansi "^5.0.0" wrap-ansi@^6.2.0: version "6.2.0" @@ -9332,7 +4971,16 @@ wrap-ansi@^7.0.0: wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^2.0.0: + version "2.4.3" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" + integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== + dependencies: + graceful-fs "^4.1.11" + imurmurhash "^0.1.4" + signal-exit "^3.0.2" write-file-atomic@^3.0.0: version "3.0.3" @@ -9344,78 +4992,64 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -ws@^8.4.2: - version "8.5.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f" - integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg== +xdg-basedir@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" + integrity sha512-1Dly4xqlulvPD3fZUQJLY+FUIeqN3N2MM3uqe4rCJftAvOjFa3jFGfctOgluGx4ahPbUCsZkmJILiP0Vi4T6lQ== xdg-basedir@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q== -xtend@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== +y18n@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" + integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== yallist@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= - -yallist@^3.0.2: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A== -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yaml@^1.10.0, yaml@^1.10.2: +yaml@^1.10.0: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== yaml@^2.0.0-1: - version "2.0.0" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.0.0.tgz#cbc588ad58e0cd924cd3f5f2b1a9485103048e25" - integrity sha512-JbfdlHKGP2Ik9IHylzWlGd4pPK++EU46/IxMykphS2ZKw7a7h+dHNmcXObLgpRDriBY+rpWslldikckX8oruWQ== - -yargs-parser@^21.0.0: - version "21.0.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.1.tgz#0267f286c877a4f0f728fceb6f8a3e4cb95c6e35" - integrity sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg== - -yargs@^17.2.1: - version "17.4.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.4.1.tgz#ebe23284207bb75cee7c408c33e722bfb27b5284" - integrity sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" + version "2.4.5" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.5.tgz#60630b206dd6d84df97003d33fc1ddf6296cca5e" + integrity sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg== + +yargs-parser@^15.0.1: + version "15.0.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.3.tgz#316e263d5febe8b38eef61ac092b33dfcc9b1115" + integrity sha512-/MVEVjTXy/cGAjdtQf8dW3V9b97bPN7rNn8ETj6BmAQL7ibC7O1Q9SPJbGjgh3SlwoBNXMzj/ZGIj8mBgl12YA== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + +yargs@^14.2.3: + version "14.2.3" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414" + integrity sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg== + dependencies: + cliui "^5.0.0" + decamelize "^1.2.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.0.0" - -yauzl@^2.10.0: - version "2.10.0" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" - integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^15.0.1" + +ziggy-js@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ziggy-js/-/ziggy-js-2.2.1.tgz#59eefb5c32bb6ae245961d707b7f5f37fb714025" + integrity sha512-iIYCxSfe3oentcccKjcrtQa2FJHXYSZjgBa8FfFCgbdK174AsQ9KpqoWjRu2x9U0pJBgviXBdmf4vSM1gqkVZA== dependencies: - buffer-crc32 "~0.2.3" - fd-slicer "~1.1.0" - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + qs "~6.9.7" From a7c079116f52eeed458a217ac66cfda85d9f2ba3 Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 22:40:57 +0200 Subject: [PATCH 3/8] phpunit tests fix --- phpunit.xml | 38 ++-- resources/js/Pages/Adminland/Audit/Index.vue | 16 +- .../js/Pages/Adminland/Billing/Index.vue | 12 +- resources/js/Pages/Adminland/Billing/Show.vue | 6 +- .../js/Pages/Adminland/CompanyNews/Create.vue | 16 +- .../js/Pages/Adminland/CompanyNews/Edit.vue | 16 +- .../js/Pages/Adminland/CompanyNews/Index.vue | 12 +- .../Adminland/CompanyPTOPolicy/Index.vue | 9 +- .../js/Pages/Adminland/ECoffee/Index.vue | 12 +- .../Adminland/Employee/Archives/Index.vue | 14 +- .../Adminland/Employee/Archives/Show.vue | 11 +- .../js/Pages/Adminland/Employee/Create.vue | 14 +- .../js/Pages/Adminland/Employee/Delete.vue | 14 +- .../js/Pages/Adminland/Employee/Import.vue | 14 +- .../js/Pages/Adminland/Employee/Index.vue | 18 +- .../Pages/Adminland/Employee/IndexActive.vue | 6 +- .../js/Pages/Adminland/Employee/IndexAll.vue | 6 +- .../Pages/Adminland/Employee/IndexLocked.vue | 6 +- .../Adminland/Employee/IndexNoHiringDate.vue | 6 +- .../Pages/Adminland/Employee/Invite/Index.vue | 14 +- .../Pages/Adminland/Employee/Lock/Index.vue | 14 +- .../Employee/Partials/EmployeeList.vue | 15 +- .../Adminland/Employee/Permission/Index.vue | 14 +- .../Pages/Adminland/Employee/Unlock/Index.vue | 14 +- .../Pages/Adminland/EmployeeStatus/Index.vue | 18 +- .../js/Pages/Adminland/Expense/Index.vue | 8 +- .../Adminland/Expense/Partials/Categories.vue | 8 +- .../Adminland/Expense/Partials/Employees.vue | 11 +- .../Adminland/Flow/ActionNotification.vue | 5 +- resources/js/Pages/Adminland/Flow/Actions.vue | 9 +- resources/js/Pages/Adminland/Flow/Create.vue | 19 +- resources/js/Pages/Adminland/Flow/Index.vue | 25 ++- resources/js/Pages/Adminland/Flow/Show.vue | 4 +- .../Pages/Adminland/General/Cancel/Index.vue | 12 +- .../js/Pages/Adminland/General/Index.vue | 16 +- .../Adminland/General/Partials/Currency.vue | 6 +- .../General/Partials/FoundedDate.vue | 8 +- .../Adminland/General/Partials/Location.vue | 8 +- .../Pages/Adminland/General/Partials/Logo.vue | 4 +- .../Pages/Adminland/General/Partials/Name.vue | 6 +- .../Pages/Adminland/General/Partials/Stat.vue | 4 +- .../js/Pages/Adminland/Hardware/Create.vue | 18 +- .../js/Pages/Adminland/Hardware/Edit.vue | 18 +- .../js/Pages/Adminland/Hardware/Index.vue | 19 +- .../js/Pages/Adminland/Hardware/Show.vue | 8 +- resources/js/Pages/Adminland/Index.vue | 80 ++++---- .../js/Pages/Adminland/Position/Index.vue | 14 +- .../js/Pages/Adminland/Project/Index.vue | 14 +- .../js/Pages/Adminland/Question/Index.vue | 16 +- .../js/Pages/Adminland/Recruitment/Index.vue | 18 +- .../js/Pages/Adminland/Recruitment/Show.vue | 12 +- .../js/Pages/Adminland/Software/Create.vue | 18 +- .../js/Pages/Adminland/Software/Edit.vue | 16 +- .../js/Pages/Adminland/Software/Index.vue | 16 +- .../js/Pages/Adminland/Software/Show.vue | 15 +- resources/js/Pages/Adminland/Team/Index.vue | 16 +- resources/js/Pages/Adminland/Team/Logs.vue | 16 +- .../js/Pages/Adminland/WorkFromHome/Index.vue | 12 +- resources/js/Pages/Auth/ConfirmPassword.vue | 12 +- resources/js/Pages/Auth/ForgotPassword.vue | 12 +- .../Auth/Invitation/AcceptInvitation.vue | 4 +- .../Invitation/AcceptInvitationUnlogged.vue | 14 +- resources/js/Pages/Auth/Login.vue | 26 +-- resources/js/Pages/Auth/Register.vue | 16 +- resources/js/Pages/Auth/ResetPassword.vue | 12 +- .../js/Pages/Auth/TwoFactorChallenge.vue | 12 +- resources/js/Pages/Auth/VerifyEmail.vue | 10 +- resources/js/Pages/Company/Group/Create.vue | 19 +- resources/js/Pages/Company/Group/Delete.vue | 12 +- resources/js/Pages/Company/Group/Edit.vue | 16 +- resources/js/Pages/Company/Group/Index.vue | 18 +- .../js/Pages/Company/Group/Meetings/Index.vue | 19 +- .../Group/Meetings/Partials/Agenda.vue | 10 +- .../Company/Group/Meetings/Partials/Date.vue | 4 +- .../Group/Meetings/Partials/Participants.vue | 5 +- .../js/Pages/Company/Group/Meetings/Show.vue | 12 +- .../js/Pages/Company/Group/Members/Index.vue | 13 +- .../Company/Group/Partials/GroupMenu.vue | 14 +- resources/js/Pages/Company/Group/Show.vue | 16 +- .../Company/HR/AskMeAnything/Answered.vue | 18 +- .../Pages/Company/HR/AskMeAnything/Create.vue | 16 +- .../Pages/Company/HR/AskMeAnything/Delete.vue | 12 +- .../Pages/Company/HR/AskMeAnything/Edit.vue | 16 +- .../Pages/Company/HR/AskMeAnything/Index.vue | 22 ++- .../Pages/Company/HR/AskMeAnything/Show.vue | 28 +-- resources/js/Pages/Company/HR/Index.vue | 16 +- .../HR/Partials/AskMeAnythingSession.vue | 8 +- .../Pages/Company/HR/Partials/JobOpenings.vue | 10 +- .../Pages/Company/HR/Partials/Positions.vue | 4 +- .../js/Pages/Company/HR/Positions/Show.vue | 10 +- resources/js/Pages/Company/Index.vue | 26 +-- resources/js/Pages/Company/KB/Create.vue | 16 +- resources/js/Pages/Company/KB/Edit.vue | 16 +- resources/js/Pages/Company/KB/Index.vue | 18 +- resources/js/Pages/Company/KB/Page/Create.vue | 18 +- resources/js/Pages/Company/KB/Page/Edit.vue | 18 +- resources/js/Pages/Company/KB/Page/Show.vue | 8 +- resources/js/Pages/Company/KB/Show.vue | 16 +- resources/js/Pages/Company/News/Index.vue | 8 +- .../js/Pages/Company/Partials/Birthdays.vue | 6 +- .../js/Pages/Company/Partials/CompanyNews.vue | 4 +- .../js/Pages/Company/Partials/Employees.vue | 6 +- .../Company/Partials/GuessEmployeeGame.vue | 4 +- .../js/Pages/Company/Partials/NewHires.vue | 6 +- .../js/Pages/Company/Partials/Questions.vue | 12 +- .../js/Pages/Company/Partials/RecentShips.vue | 4 +- .../Pages/Company/Partials/RecentSkills.vue | 6 +- resources/js/Pages/Company/Partials/Tab.vue | 20 +- resources/js/Pages/Company/Partials/Teams.vue | 10 +- .../UpcomingHiringDateAnniversaries.vue | 8 +- .../js/Pages/Company/Project/Boards/Index.vue | 14 +- .../Project/Boards/Partials/Sprint.vue | 14 +- .../Boards/ProjectIssue/Partials/Assignee.vue | 9 +- .../Project/Boards/ProjectIssue/Show.vue | 42 +++-- .../js/Pages/Company/Project/Boards/Show.vue | 18 +- resources/js/Pages/Company/Project/Create.vue | 21 ++- .../Pages/Company/Project/Decisions/Index.vue | 25 +-- resources/js/Pages/Company/Project/Delete.vue | 12 +- resources/js/Pages/Company/Project/Edit.vue | 16 +- .../js/Pages/Company/Project/Files/Index.vue | 14 +- resources/js/Pages/Company/Project/Index.vue | 18 +- .../Pages/Company/Project/Members/Index.vue | 17 +- .../Pages/Company/Project/Messages/Create.vue | 18 +- .../Pages/Company/Project/Messages/Index.vue | 16 +- .../Pages/Company/Project/Messages/Show.vue | 16 +- .../Pages/Company/Project/Messages/Update.vue | 18 +- .../Company/Project/Partials/Description.vue | 8 +- .../Company/Project/Partials/ProjectLead.vue | 13 +- .../Company/Project/Partials/ProjectLinks.vue | 12 +- .../Company/Project/Partials/ProjectMenu.vue | 38 ++-- .../Project/Partials/ProjectUpdates.vue | 4 +- .../Pages/Company/Project/Partials/Status.vue | 2 +- resources/js/Pages/Company/Project/Show.vue | 20 +- .../Pages/Company/Project/Status/Create.vue | 18 +- .../js/Pages/Company/Project/Tasks/Index.vue | 18 +- .../Tasks/Partials/ProjectTaskCheckbox.vue | 2 +- .../Project/Tasks/Partials/ProjectTasks.vue | 6 +- .../js/Pages/Company/Project/Tasks/Show.vue | 26 +-- resources/js/Pages/Company/Question/Index.vue | 10 +- resources/js/Pages/Company/Question/Show.vue | 14 +- resources/js/Pages/Company/Skill/Index.vue | 10 +- resources/js/Pages/Company/Skill/Show.vue | 20 +- .../js/Pages/Dashboard/Expenses/Approve.vue | 12 +- .../js/Pages/Dashboard/Expenses/Index.vue | 18 +- .../js/Pages/Dashboard/Expenses/Show.vue | 6 +- .../Dashboard/HR/DisciplineCases/Closed.vue | 20 +- .../Dashboard/HR/DisciplineCases/Index.vue | 23 +-- .../Dashboard/HR/DisciplineCases/Show.vue | 16 +- resources/js/Pages/Dashboard/HR/Index.vue | 8 +- .../Dashboard/HR/Partials/DisciplineCase.vue | 8 +- .../Dashboard/HR/Partials/Timesheets.vue | 10 +- .../Pages/Dashboard/HR/Timesheets/Index.vue | 18 +- .../js/Pages/Dashboard/HR/Timesheets/Show.vue | 22 ++- .../Dashboard/Manager/ApproveExpense.vue | 12 +- .../Dashboard/Manager/DisciplineCase/Show.vue | 16 +- .../js/Pages/Dashboard/Manager/Index.vue | 14 +- .../Manager/Partials/ContractRenewal.vue | 8 +- .../Manager/Partials/DisciplineCase.vue | 10 +- .../Dashboard/Manager/Partials/Expense.vue | 8 +- .../Partials/OneOnOneWithDirectReport.vue | 10 +- .../Manager/Partials/TimesheetApprovals.vue | 12 +- .../Dashboard/Manager/Timesheets/Index.vue | 18 +- .../Dashboard/Manager/Timesheets/Show.vue | 22 ++- resources/js/Pages/Dashboard/Me/Index.vue | 30 +-- .../Dashboard/Me/Partials/AskMeAnything.vue | 12 +- .../Me/Partials/ContractRenewalDate.vue | 4 +- .../Pages/Dashboard/Me/Partials/ECoffee.vue | 12 +- .../Pages/Dashboard/Me/Partials/Expense.vue | 12 +- .../Me/Partials/JobOpeningParticipant.vue | 10 +- .../Me/Partials/JobOpeningSponsor.vue | 6 +- .../js/Pages/Dashboard/Me/Partials/Morale.vue | 4 +- .../Me/Partials/OneOnOneWithManager.vue | 10 +- .../Pages/Dashboard/Me/Partials/Projects.vue | 8 +- .../Pages/Dashboard/Me/Partials/Question.vue | 12 +- .../Dashboard/Me/Partials/RateYourManager.vue | 12 +- .../js/Pages/Dashboard/Me/Partials/Task.vue | 2 +- .../Dashboard/Me/Partials/WorkFromHome.vue | 6 +- .../Pages/Dashboard/Me/Partials/Worklogs.vue | 8 +- .../OneOnOnes/Partials/ActionItem.vue | 6 +- .../Dashboard/OneOnOnes/Partials/Note.vue | 4 +- .../OneOnOnes/Partials/TalkingPoint.vue | 6 +- .../js/Pages/Dashboard/OneOnOnes/Show.vue | 32 ++-- .../Dashboard/Partials/DashboardMenu.vue | 38 ++-- resources/js/Pages/Dashboard/Team/Index.vue | 20 +- .../Dashboard/Team/Partials/Birthdays.vue | 6 +- .../Team/Partials/MyTeamEmptyState.vue | 6 +- .../Dashboard/Team/Partials/RecentShips.vue | 6 +- .../UpcomingHiringDateAnniversaries.vue | 8 +- .../Team/Partials/UpcomingNewHires.vue | 8 +- .../Dashboard/Team/Partials/WorkFromHome.vue | 6 +- .../Dashboard/Team/Partials/Worklogs.vue | 4 +- .../js/Pages/Dashboard/Timesheet/Index.vue | 36 ++-- .../Timesheet/Partials/TimesheetRow.vue | 6 +- .../Administration/Expenses/Index.vue | 8 +- .../Employee/Administration/Expenses/Show.vue | 6 +- .../Pages/Employee/Administration/Index.vue | 18 +- .../Administration/Partials/Expenses.vue | 10 +- .../Administration/Partials/Hardware.vue | 2 +- .../Administration/Partials/Holidays.vue | 2 +- .../Administration/Partials/Software.vue | 2 +- .../Administration/Partials/Timesheets.vue | 10 +- .../Administration/Timesheets/Index.vue | 20 +- .../Administration/Timesheets/Show.vue | 22 ++- resources/js/Pages/Employee/ECoffee/Index.vue | 10 +- resources/js/Pages/Employee/Edit.vue | 26 +-- resources/js/Pages/Employee/Edit/Address.vue | 26 +-- resources/js/Pages/Employee/Edit/Contract.vue | 28 +-- resources/js/Pages/Employee/Index.vue | 14 +- resources/js/Pages/Employee/Logs/Index.vue | 16 +- .../js/Pages/Employee/Partials/Avatar.vue | 4 +- .../js/Pages/Employee/Partials/ECoffee.vue | 8 +- .../Employee/Partials/EmployeeContact.vue | 4 +- .../Partials/EmployeeGenderPronoun.vue | 3 +- .../Partials/EmployeeImportantDates.vue | 4 +- .../Employee/Partials/EmployeeLocation.vue | 8 +- .../Employee/Partials/EmployeePosition.vue | 3 +- .../Employee/Partials/EmployeeStatus.vue | 9 +- .../Pages/Employee/Partials/EmployeeTeam.vue | 9 +- .../js/Pages/Employee/Partials/Hierarchy.vue | 19 +- .../Employee/Partials/PersonalDescription.vue | 6 +- .../Employee/Partials/ProfileActions.vue | 6 +- .../Pages/Employee/Partials/ProfileHeader.vue | 12 +- .../Employee/Partials/ProfileSidebar.vue | 14 +- .../Employee/Partials/ProfileTabSwitcher.vue | 16 +- .../js/Pages/Employee/Partials/Question.vue | 2 +- .../js/Pages/Employee/Partials/Skills.vue | 9 +- .../js/Pages/Employee/Performance/Index.vue | 14 +- .../Employee/Performance/OneOnOnes/Index.vue | 12 +- .../Employee/Performance/OneOnOnes/Show.vue | 32 ++-- .../Partials/OneOnOneWithManager.vue | 12 +- .../Partials/RateYourManagerPollResults.vue | 10 +- .../Employee/Performance/Surveys/Index.vue | 10 +- .../Employee/Performance/Surveys/Show.vue | 8 +- resources/js/Pages/Employee/Show.vue | 20 +- resources/js/Pages/Employee/Work/Index.vue | 20 +- .../Pages/Employee/Work/Partials/Groups.vue | 4 +- .../Pages/Employee/Work/Partials/Projects.vue | 6 +- .../Employee/Work/Partials/RecentShips.vue | 8 +- .../Employee/Work/Partials/WorkFromHome.vue | 4 +- .../Pages/Employee/Work/Partials/Worklogs.vue | 2 +- .../Employee/Work/WorkFromHome/Index.vue | 12 +- resources/js/Pages/Home/CreateCompany.vue | 12 +- resources/js/Pages/Home/Index.vue | 26 +-- resources/js/Pages/Home/JoinCompany.vue | 12 +- resources/js/Pages/Jobs/Company/Apply.vue | 16 +- resources/js/Pages/Jobs/Company/Index.vue | 4 +- resources/js/Pages/Jobs/Company/Show.vue | 6 +- resources/js/Pages/Jobs/Company/Success.vue | 6 +- resources/js/Pages/Jobs/Company/Upload.vue | 12 +- resources/js/Pages/Jobs/Index.vue | 8 +- resources/js/Pages/Notification/Index.vue | 4 +- .../LogoutOtherBrowserSessionsForm.vue | 8 +- .../Partials/TwoFactorAuthenticationForm.vue | 6 +- .../Pages/Profile/Partials/UpdateLocale.vue | 7 +- .../Profile/Partials/UpdatePasswordForm.vue | 8 +- .../Partials/UpdateProfileInformationForm.vue | 8 +- resources/js/Pages/Profile/Show.vue | 12 +- .../js/Pages/Recruiting/Candidates/CV.vue | 6 +- .../js/Pages/Recruiting/Candidates/Hire.vue | 14 +- .../Candidates/Partials/Information.vue | 16 +- .../Recruiting/Candidates/Partials/Notes.vue | 8 +- .../Candidates/Partials/Participants.vue | 3 +- .../js/Pages/Recruiting/Candidates/Show.vue | 16 +- resources/js/Pages/Recruiting/Create.vue | 21 ++- resources/js/Pages/Recruiting/Edit.vue | 21 ++- resources/js/Pages/Recruiting/Fulfilled.vue | 10 +- resources/js/Pages/Recruiting/Index.vue | 12 +- .../Pages/Recruiting/Partials/Information.vue | 2 +- .../js/Pages/Recruiting/Partials/Sponsors.vue | 6 +- .../js/Pages/Recruiting/Partials/Tabs.vue | 12 +- resources/js/Pages/Recruiting/Show.vue | 22 ++- resources/js/Pages/Team/Index.vue | 12 +- .../js/Pages/Team/Partials/Birthdays.vue | 6 +- resources/js/Pages/Team/Partials/Members.vue | 9 +- resources/js/Pages/Team/Partials/Morale.vue | 2 +- .../Pages/Team/Partials/NewHiresNextWeek.vue | 6 +- .../js/Pages/Team/Partials/RecentShips.vue | 16 +- .../Pages/Team/Partials/TeamDescription.vue | 6 +- resources/js/Pages/Team/Partials/TeamLead.vue | 15 +- .../js/Pages/Team/Partials/TeamUsefulLink.vue | 12 +- resources/js/Pages/Team/Ship/Create.vue | 21 ++- resources/js/Pages/Team/Ship/Index.vue | 8 +- resources/js/Pages/Team/Ship/Show.vue | 8 +- resources/js/Pages/Team/Show.vue | 30 +-- resources/js/Pages/Team/TeamNews/Create.vue | 16 +- resources/js/Pages/Team/TeamNews/Edit.vue | 16 +- resources/js/Pages/Team/TeamNews/Index.vue | 16 +- resources/js/Pages/Welcome/Index.vue | 4 +- resources/js/Shared/Checkbox.vue | 2 + resources/js/Shared/Comments.vue | 10 +- resources/js/Shared/ConfirmsPassword.vue | 8 +- resources/js/Shared/DialogModal.vue | 2 +- resources/js/Shared/EditableCheckbox.vue | 3 +- resources/js/Shared/Errors.vue | 2 + resources/js/Shared/ExpenseStatus.vue | 2 +- resources/js/Shared/FileInput.vue | 2 + resources/js/Shared/Layout.vue | 65 ++++--- resources/js/Shared/Layout/ActionSection.vue | 2 +- .../js/Shared/Layout/AuthenticationCard.vue | 2 +- .../Shared/Layout/AuthenticationCardLogo.vue | 6 +- resources/js/Shared/Layout/Breadcrumb.vue | 4 +- resources/js/Shared/Layout/FormSection.vue | 2 +- resources/js/Shared/Notifications.vue | 2 +- resources/js/Shared/SmallNameAndAvatar.vue | 4 +- resources/js/Shared/TextArea.vue | 2 + resources/js/Shared/TextDuration.vue | 11 +- resources/js/Shared/TextInput.vue | 2 + resources/js/Shared/Uploadcare.vue | 176 ++++++++++++++++++ resources/js/Shared/UserMenu.vue | 18 +- resources/js/app.js | 88 +++++---- resources/js/bootstrap.js | 11 +- resources/js/methods.js | 4 +- resources/lang/en/account.php | 1 + resources/lang/en/app.php | 1 + resources/lang/en/audit.php | 1 + resources/lang/en/auth.php | 1 + resources/lang/en/company.php | 1 + resources/lang/en/dashboard.php | 1 + resources/lang/en/employee.php | 1 + resources/lang/en/errors.php | 1 + resources/lang/en/format.php | 1 + resources/lang/en/group.php | 1 + resources/lang/en/home.php | 1 + resources/lang/en/kb.php | 1 + resources/lang/en/mail.php | 1 + resources/lang/en/pagination.php | 1 + resources/lang/en/passwords.php | 1 + resources/lang/en/profile.php | 1 + resources/lang/en/project.php | 1 + resources/lang/en/team.php | 1 + resources/lang/en/validation.php | 1 + resources/lang/en/welcome.php | 1 + resources/lang/fr/account.php | 1 + resources/lang/fr/app.php | 1 + resources/lang/fr/audit.php | 1 + resources/lang/fr/auth.php | 1 + resources/lang/fr/company.php | 1 + resources/lang/fr/dashboard.php | 1 + resources/lang/fr/employee.php | 1 + resources/lang/fr/errors.php | 1 + resources/lang/fr/format.php | 1 + resources/lang/fr/group.php | 1 + resources/lang/fr/home.php | 1 + resources/lang/fr/kb.php | 1 + resources/lang/fr/mail.php | 1 + resources/lang/fr/pagination.php | 1 + resources/lang/fr/passwords.php | 1 + resources/lang/fr/profile.php | 1 + resources/lang/fr/project.php | 1 + resources/lang/fr/team.php | 1 + resources/lang/fr/validation.php | 1 + resources/lang/fr/welcome.php | 1 + resources/lang/nb_NO/account.php | 1 + resources/lang/nb_NO/app.php | 1 + resources/lang/nb_NO/audit.php | 1 + resources/lang/nb_NO/auth.php | 1 + resources/lang/nb_NO/company.php | 1 + resources/lang/nb_NO/dashboard.php | 1 + resources/lang/nb_NO/employee.php | 1 + resources/lang/nb_NO/errors.php | 1 + resources/lang/nb_NO/format.php | 1 + resources/lang/nb_NO/group.php | 1 + resources/lang/nb_NO/home.php | 1 + resources/lang/nb_NO/kb.php | 1 + resources/lang/nb_NO/mail.php | 1 + resources/lang/nb_NO/pagination.php | 1 + resources/lang/nb_NO/passwords.php | 1 + resources/lang/nb_NO/profile.php | 1 + resources/lang/nb_NO/project.php | 1 + resources/lang/nb_NO/team.php | 1 + resources/lang/nb_NO/validation.php | 1 + resources/lang/nb_NO/welcome.php | 1 + resources/lang/ru/account.php | 1 + resources/lang/ru/app.php | 1 + resources/lang/ru/audit.php | 1 + resources/lang/ru/auth.php | 1 + resources/lang/ru/company.php | 1 + resources/lang/ru/dashboard.php | 1 + resources/lang/ru/employee.php | 1 + resources/lang/ru/errors.php | 1 + resources/lang/ru/format.php | 1 + resources/lang/ru/group.php | 1 + resources/lang/ru/home.php | 1 + resources/lang/ru/kb.php | 1 + resources/lang/ru/mail.php | 1 + resources/lang/ru/pagination.php | 1 + resources/lang/ru/passwords.php | 1 + resources/lang/ru/profile.php | 1 + resources/lang/ru/project.php | 1 + resources/lang/ru/team.php | 1 + resources/lang/ru/validation.php | 1 + resources/lang/ru/welcome.php | 1 + resources/sass/app.scss | 2 - resources/views/app.blade.php | 4 +- tests/ApiTestCase.php | 10 +- tests/CreatesApplication.php | 2 +- tests/Features/support/helpers/app.js | 2 +- tests/Helpers/CommandCallerFake.php | 4 +- tests/Helpers/GuzzleMock.php | 5 +- .../Integration/SetupFrontEndTestUserTest.php | 5 +- .../VerifyEmailOfLastCreatedEmployeeTest.php | 5 +- tests/TestCase.php | 50 +---- tests/TestCaseHelpers.php | 32 ++++ .../Collections/CompanyNewsCollectionTest.php | 7 +- .../Collections/QuestionCollectionTest.php | 7 +- .../Collections/TeamNewsCollectionTest.php | 7 +- .../TeamUsefulLinkCollectionTest.php | 7 +- .../WorkFromHomeCollectionTest.php | 7 +- .../Collections/WorklogCollectionTest.php | 7 +- ...ulateTimeOffBalanceForAllEmployeesTest.php | 9 +- .../GenerateNewECoffeeSessionTest.php | 9 +- tests/Unit/Commands/SetupCommandTest.php | 4 +- ...StartRateYourManagerProcessFromCliTest.php | 9 +- .../StopRateYourManagerProcessFromCliTest.php | 9 +- .../Auth/RegisterControllerTest.php | 7 +- .../Auth/SocialiteCallbackControllerTest.php | 10 +- .../Auth/UserInvitationControllerTest.php | 9 +- tests/Unit/Controllers/ControllerTest.php | 11 +- tests/Unit/HelpCenterTest.php | 5 +- tests/Unit/Helpers/BirthdayHelperTest.php | 5 +- tests/Unit/Helpers/DateHelperTest.php | 7 +- tests/Unit/Helpers/FileHelperTest.php | 5 +- tests/Unit/Helpers/HolidayHelperTest.php | 9 +- tests/Unit/Helpers/ImageHelperTest.php | 7 +- tests/Unit/Helpers/LocaleHelperTest.php | 15 +- tests/Unit/Helpers/LogHelperTest.php | 9 +- tests/Unit/Helpers/MapHelperTest.php | 5 +- tests/Unit/Helpers/MoneyHelperTest.php | 5 +- tests/Unit/Helpers/NotificationHelperTest.php | 9 +- tests/Unit/Helpers/PaginatorHelperTest.php | 7 +- tests/Unit/Helpers/PermissionHelperTest.php | 7 +- tests/Unit/Helpers/QuestionHelperTest.php | 7 +- tests/Unit/Helpers/RandomHelperTest.php | 5 +- tests/Unit/Helpers/SearchHelperTest.php | 5 +- tests/Unit/Helpers/StringHelperTest.php | 5 +- tests/Unit/Helpers/TimeHelperTest.php | 5 +- tests/Unit/Helpers/TimezoneHelperTest.php | 5 +- tests/Unit/Helpers/WorkFromHomeHelperTest.php | 7 +- tests/Unit/Helpers/WorklogHelperTest.php | 10 +- .../AskEmployeesToRateTheirManagerTest.php | 7 +- .../Unit/Jobs/CalculateTimeOffBalanceTest.php | 9 +- ...ovedToAccountingWhenManagerChangesTest.php | 7 +- .../Unit/Jobs/CreateNewECoffeeSessionTest.php | 9 +- .../CreateMonthlyInvoiceForCompaniesTest.php | 9 +- ...NumberOfActiveEmployeesInCompaniesTest.php | 7 +- tests/Unit/Jobs/LogAccountAuditTest.php | 5 +- tests/Unit/Jobs/LogEmployeeAuditTest.php | 5 +- tests/Unit/Jobs/LogMissedWorklogEntryTest.php | 9 +- tests/Unit/Jobs/LogTeamAuditTest.php | 7 +- tests/Unit/Jobs/NotifyEmployeeTest.php | 5 +- tests/Unit/Jobs/ProcessCompanyMoraleTest.php | 9 +- tests/Unit/Jobs/ProcessTeamMoraleTest.php | 11 +- tests/Unit/Jobs/SendVerifyEmailTest.php | 9 +- tests/Unit/Jobs/ServiceQueueTest.php | 5 +- tests/Unit/Jobs/ServiceQueueTester.php | 10 +- .../Jobs/StartRateYourManagerProcessTest.php | 9 +- .../Jobs/StopRateYourManagerProcessTest.php | 9 +- .../Jobs/UpdateDashboardPreferenceTest.php | 5 +- tests/Unit/Models/Company/AgendaItemTest.php | 7 +- tests/Unit/Models/Company/AnswerTest.php | 5 +- .../Company/AskMeAnythingQuestionTest.php | 5 +- .../Company/AskMeAnythingSessionTest.php | 7 +- tests/Unit/Models/Company/AuditLogTest.php | 5 +- .../Models/Company/CandidateStageNoteTest.php | 5 +- .../Company/CandidateStageParticipantTest.php | 5 +- .../Models/Company/CandidateStageTest.php | 5 +- tests/Unit/Models/Company/CandidateTest.php | 7 +- tests/Unit/Models/Company/CommentTest.php | 5 +- .../Models/Company/CompanyCalendarTest.php | 5 +- .../Company/CompanyDailyUsageHistoryTest.php | 5 +- .../Models/Company/CompanyInvoiceTest.php | 5 +- tests/Unit/Models/Company/CompanyNewsTest.php | 7 +- .../Models/Company/CompanyPTOPolicyTest.php | 5 +- tests/Unit/Models/Company/CompanyTest.php | 55 +++--- .../CompanyUsageHistoryDetailsTest.php | 5 +- .../Models/Company/ConsultantRateTest.php | 5 +- .../Models/Company/DisciplineCaseTest.php | 7 +- .../Models/Company/DisciplineEventTest.php | 9 +- .../Unit/Models/Company/ECoffeeMatchTest.php | 5 +- tests/Unit/Models/Company/ECoffeeTest.php | 5 +- .../EmployeeDailyCalendarEntryTest.php | 5 +- tests/Unit/Models/Company/EmployeeLogTest.php | 5 +- .../Company/EmployeePlannedHolidayTest.php | 5 +- .../Company/EmployeePositionHistoryTest.php | 5 +- .../Models/Company/EmployeeStatusTest.php | 5 +- tests/Unit/Models/Company/EmployeeTest.php | 65 +++---- .../Models/Company/ExpenseCategoryTest.php | 5 +- tests/Unit/Models/Company/ExpenseTest.php | 5 +- tests/Unit/Models/Company/FileTest.php | 7 +- tests/Unit/Models/Company/FlowTest.php | 5 +- tests/Unit/Models/Company/GroupTest.php | 7 +- .../Models/Company/GuessEmployeeGameTest.php | 5 +- tests/Unit/Models/Company/HardwareTest.php | 5 +- .../Models/Company/ImportJobReportTest.php | 5 +- tests/Unit/Models/Company/ImportJobTest.php | 5 +- tests/Unit/Models/Company/IssueTypeTest.php | 5 +- tests/Unit/Models/Company/JobOpeningTest.php | 7 +- .../Models/Company/MeetingDecisionTest.php | 5 +- tests/Unit/Models/Company/MeetingTest.php | 9 +- .../Company/MoraleCompanyHistoryTest.php | 5 +- .../Models/Company/MoraleTeamHistoryTest.php | 5 +- tests/Unit/Models/Company/MoraleTest.php | 5 +- .../Unit/Models/Company/NotificationTest.php | 5 +- .../Models/Company/OneOnOneActionItemTest.php | 5 +- .../Unit/Models/Company/OneOnOneEntryTest.php | 9 +- .../Unit/Models/Company/OneOnOneNoteTest.php | 5 +- .../Company/OneOnOneTalkingPointTest.php | 5 +- .../Unit/Models/Company/PageRevisionTest.php | 5 +- tests/Unit/Models/Company/PageTest.php | 13 +- tests/Unit/Models/Company/PageviewTest.php | 5 +- tests/Unit/Models/Company/PlaceTest.php | 7 +- tests/Unit/Models/Company/PositionTest.php | 7 +- .../Unit/Models/Company/ProjectBoardTest.php | 5 +- .../Models/Company/ProjectDecisionTest.php | 5 +- .../Unit/Models/Company/ProjectIssueTest.php | 5 +- .../Unit/Models/Company/ProjectLabelTest.php | 5 +- tests/Unit/Models/Company/ProjectLinkTest.php | 5 +- .../Company/ProjectMemberActivityTest.php | 5 +- .../Models/Company/ProjectMessageTest.php | 5 +- .../Unit/Models/Company/ProjectSprintTest.php | 5 +- .../Unit/Models/Company/ProjectStatusTest.php | 5 +- .../Models/Company/ProjectTaskListTest.php | 5 +- tests/Unit/Models/Company/ProjectTaskTest.php | 5 +- tests/Unit/Models/Company/ProjectTest.php | 17 +- tests/Unit/Models/Company/QuestionTest.php | 5 +- .../Company/RateYourManagerAnswerTest.php | 5 +- .../Company/RateYourManagerSurveyTest.php | 5 +- .../Company/RecruitingStageTemplateTest.php | 5 +- .../Models/Company/RecruitingStageTest.php | 5 +- tests/Unit/Models/Company/ShipTest.php | 7 +- tests/Unit/Models/Company/SkillTest.php | 7 +- tests/Unit/Models/Company/SoftwareTest.php | 7 +- tests/Unit/Models/Company/StepTest.php | 7 +- tests/Unit/Models/Company/TaskTest.php | 7 +- tests/Unit/Models/Company/TeamLogTest.php | 5 +- tests/Unit/Models/Company/TeamNewsTest.php | 5 +- tests/Unit/Models/Company/TeamTest.php | 15 +- .../Models/Company/TeamUsefulLinkTest.php | 5 +- .../Models/Company/TimeTrackingEntryTest.php | 5 +- tests/Unit/Models/Company/TimesheetTest.php | 5 +- tests/Unit/Models/Company/WikiTest.php | 5 +- .../Unit/Models/Company/WorkFromHomeTest.php | 5 +- tests/Unit/Models/Company/WorklogTest.php | 7 +- tests/Unit/Models/User/PronounTest.php | 5 +- tests/Unit/Models/User/UserTest.php | 7 +- .../Unit/Notifications/EmailMessagingTest.php | 7 +- tests/Unit/Services/BaseServiceTest.php | 23 +-- .../AnswerAskMeAnythingQuestionTest.php | 15 +- .../CreateAskMeAnythingQuestionTest.php | 11 +- .../CreateAskMeAnythingSessionTest.php | 11 +- .../DestroyAskMeAnythingQuestionTest.php | 15 +- .../DestroyAskMeAnythingSessionTest.php | 11 +- .../ToggleAskMeAnythingSessionTest.php | 11 +- .../UpdateAskMeAnythingSessionTest.php | 11 +- .../Company/AddUserToCompanyTest.php | 11 +- .../Adminland/Company/CreateCompanyTest.php | 11 +- .../Adminland/Company/DestroyCompanyTest.php | 15 +- .../Adminland/Company/JoinCompanyTest.php | 11 +- .../ProvisionDefaultAccountDataTest.php | 9 +- .../Adminland/Company/RenameCompanyTest.php | 9 +- .../Company/UpdateCompanyCurrencyTest.php | 9 +- .../Company/UpdateCompanyFoundedDateTest.php | 11 +- .../Company/UpdateCompanyLocationTest.php | 11 +- .../Company/UpdateCompanyLogoTest.php | 13 +- .../Company/UpdateCompanySlugTest.php | 5 +- .../CompanyNews/CreateCompanyNewsTest.php | 11 +- .../CompanyNews/DestroyCompanyNewsTest.php | 13 +- .../CompanyNews/UpdateCompanyNewsTest.php | 13 +- .../CreateCompanyPTOPolicyTest.php | 17 +- .../UpdateCompanyPTOPolicyTest.php | 17 +- .../ECoffee/ToggleECoffeeProcessTest.php | 11 +- .../Employee/AddEmployeeToCompanyTest.php | 21 +-- .../Employee/ChangePermissionLevelTest.php | 11 +- .../Employee/DestroyEmployeeTest.php | 13 +- .../Employee/ImportEmployeesFromCSVTest.php | 17 +- .../ImportEmployeesFromTemporaryTableTest.php | 11 +- .../InviteEmployeeToBecomeUserTest.php | 15 +- .../Adminland/Employee/LockEmployeeTest.php | 13 +- ...reEmployeesFromCSVInTemporaryTableTest.php | 11 +- .../Adminland/Employee/UnlockEmployeeTest.php | 11 +- .../Adminland/Employee/UpdateEmployeeTest.php | 7 +- .../CreateEmployeeStatusTest.php | 11 +- .../DestroyEmployeeStatusTest.php | 13 +- .../UpdateEmployeeStatusTest.php | 13 +- .../AllowEmployeeToManageExpensesTest.php | 11 +- ...ntFromOneCurrencyToCompanyCurrencyTest.php | 15 +- .../DisallowEmployeeToManageExpensesTest.php | 9 +- .../CreateExpenseCategoryTest.php | 11 +- .../DestroyExpenseCategoryTest.php | 13 +- .../UpdateExpenseCategoryTest.php | 13 +- .../Company/Adminland/File/UploadFileTest.php | 9 +- .../Adminland/Flow/AddActionToStepTest.php | 13 +- .../Adminland/Flow/AddStepToFlowTest.php | 11 +- .../Company/Adminland/Flow/CreateFlowTest.php | 11 +- .../Flow/RemoveActionfromStepTest.php | 15 +- .../Adminland/Flow/RemoveStepFromFlowTest.php | 13 +- .../Adminland/Hardware/CreateHardwareTest.php | 9 +- .../Hardware/DestroyHardwareTest.php | 11 +- .../Adminland/Hardware/LendHardwareTest.php | 13 +- .../Adminland/Hardware/RegainHardwareTest.php | 13 +- .../Adminland/Hardware/UpdateHardwareTest.php | 11 +- .../JobOpening/AddFileToCandidateTest.php | 9 +- .../CreateCandidateStageNoteTest.php | 15 +- .../CreateCandidateStageParticipantTest.php | 15 +- .../JobOpening/CreateCandidateTest.php | 9 +- .../JobOpening/CreateJobOpeningTest.php | 17 +- .../CreateRecruitingStageTemplateTest.php | 11 +- .../JobOpening/CreateRecruitingStageTest.php | 13 +- ...yCandidateDuringApplicationProcessTest.php | 7 +- ...didateFileDuringApplicationProcessTest.php | 11 +- .../DestroyCandidateStageNoteTest.php | 15 +- .../DestroyCandidateStageParticipantTest.php | 15 +- .../JobOpening/DestroyRecruitingStageTest.php | 13 +- .../DestroyRecruitingTemplateTest.php | 13 +- .../JobOpening/HireCandidateTest.php | 17 +- .../JobOpening/ProcessCandidateStageTest.php | 15 +- .../JobOpening/ToggleJobOpeningTest.php | 9 +- .../UpdateCandidateStageNoteTest.php | 15 +- .../JobOpening/UpdateJobOpeningTest.php | 17 +- .../UpdateRecruitingStageTemplateTest.php | 13 +- .../JobOpening/UpdateRecruitingStageTest.php | 13 +- .../Adminland/Position/CreatePositionTest.php | 9 +- .../Position/DestroyJobOpeningTest.php | 11 +- .../Position/DestroyPositionTest.php | 11 +- .../Adminland/Position/UpdatePositionTest.php | 11 +- .../Question/ActivateQuestionTest.php | 11 +- .../Adminland/Question/CreateQuestionTest.php | 9 +- .../Question/DeactivateQuestionTest.php | 11 +- .../Question/DestroyQuestionTest.php | 11 +- .../Adminland/Question/UpdateQuestionTest.php | 11 +- .../Software/AddFileToSoftwareTest.php | 13 +- .../Adminland/Software/CreateSoftwareTest.php | 9 +- .../Software/DestroySoftwareTest.php | 11 +- .../Software/GiveSeatToEmployeeTest.php | 9 +- .../Software/GiveSeatToEveryEmployeeTest.php | 9 +- .../Software/TakeSeatFromEmployeeTest.php | 9 +- .../Adminland/Software/UpdateSoftwareTest.php | 9 +- .../Company/Adminland/Team/CreateTeamTest.php | 15 +- .../Adminland/Team/DestroyTeamTest.php | 13 +- .../Company/Adminland/Team/UpdateTeamTest.php | 17 +- .../ToggleWorkFromHomeProcessTest.php | 11 +- .../Employee/Answer/CreateAnswerTest.php | 11 +- .../Employee/Answer/DestroyAnswerTest.php | 11 +- .../Employee/Answer/UpdateAnswerTest.php | 11 +- .../Employee/Birthdate/SetBirthdateTest.php | 15 +- .../DestroyConsultantRateTest.php | 15 +- .../ConsultantRate/SetConsultantRateTest.php | 19 +- .../Contract/SetContractRenewalDateTest.php | 17 +- .../ClearPersonalDescriptionTest.php | 11 +- .../SetPersonalDescriptionTest.php | 11 +- .../CreateDisciplineCaseTest.php | 11 +- .../CreateDisciplineEventTest.php | 13 +- .../DestroyDisciplineCaseTest.php | 13 +- .../DestroyDisciplineEventTest.php | 13 +- .../ToggleDisciplineCaseTest.php | 13 +- .../MarkECoffeeSessionAsHappenedTest.php | 13 +- .../ECoffee/MatchEmployeesForECoffeeTest.php | 7 +- .../AssignEmployeeStatusToEmployeeTest.php | 13 +- .../RemoveEmployeeStatusFromEmployeeTest.php | 11 +- .../Expense/AcceptExpenseAsAccountantTest.php | 17 +- .../Expense/AcceptExpenseAsManagerTest.php | 19 +- .../Employee/Expense/CreateExpenseTest.php | 17 +- .../Employee/Expense/DestroyExpenseTest.php | 13 +- .../Expense/RejectExpenseAsAccountantTest.php | 17 +- .../Expense/RejectExpenseAsManagerTest.php | 19 +- .../Employee/HiringDate/SetHiringDateTest.php | 15 +- .../Employee/Holiday/CreateTimeOffTest.php | 17 +- .../Employee/Holiday/DestroyTimeOffTest.php | 11 +- .../ProcessDailyTimeOffBalanceTest.php | 11 +- .../Employee/Manager/AssignManagerTest.php | 13 +- .../Employee/Manager/UnassignManagerTest.php | 15 +- .../Company/Employee/Morale/LogMoraleTest.php | 17 +- .../AddNotificationInUIForEmployeeTest.php | 7 +- .../MarkNotificationsAsReadTest.php | 11 +- .../OneOnOne/CreateOneOnOneActionItemTest.php | 11 +- .../OneOnOne/CreateOneOnOneEntryTest.php | 15 +- .../OneOnOne/CreateOneOnOneNoteTest.php | 13 +- .../CreateOneOnOneTalkingPointTest.php | 11 +- .../DestroyOneOnOneActionItemTest.php | 9 +- .../OneOnOne/DestroyOneOnOneEntryTest.php | 9 +- .../OneOnOne/DestroyOneOnOneNoteTest.php | 9 +- .../DestroyOneOnOneTalkingPointTest.php | 9 +- .../MarkOneOnOneEntryAsHappenedTest.php | 7 +- .../OneOnOne/ToggleOneOnOneActionItemTest.php | 9 +- .../ToggleOneOnOneTalkingPointTest.php | 9 +- .../OneOnOne/UpdateOneOnOneActionItemTest.php | 9 +- .../OneOnOne/UpdateOneOnOneNoteTest.php | 9 +- .../UpdateOneOnOneTalkingPointTest.php | 9 +- .../SetPersonalDetailsTest.php | 11 +- .../PersonalDetails/SetSlackHandleTest.php | 11 +- .../PersonalDetails/SetTwitterHandleTest.php | 11 +- .../Position/AssignPositionToEmployeeTest.php | 15 +- .../RemovePositionFromEmployeeTest.php | 11 +- .../Pronoun/AssignPronounToEmployeeTest.php | 13 +- .../Pronoun/RemovePronounFromEmployeeTest.php | 11 +- .../AddCommentToRatingAboutManagerTest.php | 15 +- .../RateYourManager/RateYourManagerTest.php | 13 +- .../Skill/AttachEmployeeToSkillTest.php | 15 +- .../Employee/Skill/DestroySkillTest.php | 13 +- .../Skill/RemoveSkillFromEmployeeTest.php | 13 +- .../Employee/Skill/UpdateSkillTest.php | 17 +- .../Employee/Team/AddEmployeeToTeamTest.php | 17 +- .../Team/RemoveEmployeeFromTeamTest.php | 17 +- .../Timesheet/ApproveTimesheetTest.php | 13 +- .../Timesheet/CreateOrGetTimesheetTest.php | 13 +- .../Timesheet/CreateTimeTrackingEntryTest.php | 21 +-- .../Timesheet/DestroyTimesheetRowTest.php | 19 +- .../Timesheet/RejectTimesheetTest.php | 13 +- .../Timesheet/SubmitTimesheetTest.php | 13 +- .../UpdateWorkFromHomeInformationTest.php | 9 +- .../Employee/Worklog/DestroyWorklogTest.php | 13 +- .../Employee/Worklog/LogWorklogTest.php | 11 +- .../Company/Group/AddEmployeeToGroupTest.php | 11 +- .../Company/Group/AddGuestToMeetingTest.php | 15 +- .../Company/Group/CreateAgendaItemTest.php | 17 +- .../Company/Group/CreateGroupTest.php | 17 +- .../Group/CreateMeetingDecisionTest.php | 15 +- .../Company/Group/CreateMeetingTest.php | 13 +- .../Company/Group/DestroyAgendaItemTest.php | 15 +- .../Company/Group/DestroyGroupTest.php | 13 +- .../Group/DestroyMeetingDecisionTest.php | 13 +- .../Company/Group/DestroyMeetingTest.php | 11 +- .../Group/RemoveEmployeeFromGroupTest.php | 11 +- .../Group/RemoveGuestFromMeetingTest.php | 15 +- ...ggleEmployeeParticipationInMeetingTest.php | 15 +- .../Company/Group/UpdateAgendaItemTest.php | 17 +- .../Company/Group/UpdateGroupTest.php | 13 +- .../Company/Group/UpdateMeetingDateTest.php | 13 +- .../Group/UpdateMeetingDecisionTest.php | 15 +- .../CreateGuessEmployeeGameTest.php | 11 +- .../VoteGuessEmployeeGameTest.php | 11 +- .../Company/Place/CreatePlaceTest.php | 11 +- .../Company/Place/GetGPSCoordinateTest.php | 7 +- .../Project/AddEmployeeToProjectTest.php | 11 +- .../Company/Project/AddFileToProjectTest.php | 13 +- .../AssignAssigneeToProjectIssueTest.php | 11 +- .../Project/AssignIssueToSprintTest.php | 11 +- .../Project/AssignLabelToIssueTest.php | 11 +- .../AssignProjectTaskToEmployeeTest.php | 11 +- .../AssignProjectTaskToTaskListTest.php | 13 +- .../Company/Project/ClearProjectLeadTest.php | 11 +- .../Company/Project/CloseProjectTest.php | 15 +- .../Company/Project/CreateIssueTypeTest.php | 9 +- .../Project/CreateProjectBoardTest.php | 11 +- .../Project/CreateProjectDecisionTest.php | 13 +- .../Project/CreateProjectIssueCommentTest.php | 11 +- .../Project/CreateProjectIssueTest.php | 11 +- .../Project/CreateProjectLabelTest.php | 13 +- .../Company/Project/CreateProjectLinkTest.php | 11 +- .../CreateProjectMessageCommentTest.php | 13 +- .../Project/CreateProjectMessageTest.php | 13 +- .../Project/CreateProjectSprintTest.php | 11 +- .../Project/CreateProjectStatusTest.php | 11 +- .../Project/CreateProjectTaskCommentTest.php | 11 +- .../Project/CreateProjectTaskListTest.php | 11 +- .../Company/Project/CreateProjectTaskTest.php | 15 +- .../Company/Project/CreateProjectTest.php | 15 +- .../Company/Project/DestroyIssueTypeTest.php | 11 +- .../Project/DestroyProjectBoardTest.php | 11 +- .../Project/DestroyProjectDecisionTest.php | 11 +- .../Project/DestroyProjectFileTest.php | 13 +- .../DestroyProjectIssueCommentTest.php | 11 +- .../Project/DestroyProjectIssueTest.php | 15 +- .../Project/DestroyProjectLabelTest.php | 11 +- .../Project/DestroyProjectLinkTest.php | 11 +- .../DestroyProjectMessageCommentTest.php | 13 +- .../Project/DestroyProjectMessageTest.php | 11 +- .../Project/DestroyProjectSprintTest.php | 11 +- .../Project/DestroyProjectTaskCommentTest.php | 11 +- .../Project/DestroyProjectTaskListTest.php | 11 +- .../Project/DestroyProjectTaskTest.php | 13 +- .../Company/Project/DestroyProjectTest.php | 15 +- .../Company/Project/DuplicateIssueTest.php | 11 +- .../Project/MarkProjectMessageasReadTest.php | 13 +- .../Company/Project/PauseProjectTest.php | 13 +- .../RemoveAssigneeFromProjectIssueTest.php | 11 +- .../Project/RemoveEmployeeFromProjectTest.php | 11 +- .../Project/RemoveLabelFromIssueTest.php | 11 +- .../Company/Project/RemoveParentIssueTest.php | 11 +- .../Company/Project/SetParentIssueTest.php | 11 +- .../Project/StartProjectSprintTest.php | 13 +- .../Company/Project/StartProjectTest.php | 13 +- .../Company/Project/StopProjectSprintTest.php | 13 +- .../Project/ToggleProjectSprintTest.php | 11 +- .../Company/Project/ToggleProjectTaskTest.php | 11 +- .../Company/Project/UpdateIssueTypeTest.php | 11 +- .../Project/UpdateProjectBoardTest.php | 11 +- .../Project/UpdateProjectDescriptionTest.php | 13 +- .../Project/UpdateProjectInformationTest.php | 11 +- .../Project/UpdateProjectIssueCommentTest.php | 11 +- .../UpdateProjectIssuePositionTest.php | 11 +- .../UpdateProjectIssueStoryPointTest.php | 11 +- .../Project/UpdateProjectIssueTest.php | 11 +- .../Project/UpdateProjectLabelTest.php | 13 +- .../Company/Project/UpdateProjectLeadTest.php | 11 +- .../UpdateProjectMessageCommentTest.php | 13 +- .../Project/UpdateProjectMessageTest.php | 11 +- .../Project/UpdateProjectSprintTest.php | 11 +- .../Project/UpdateProjectTaskCommentTest.php | 11 +- .../Project/UpdateProjectTaskListTest.php | 11 +- .../Company/Project/UpdateProjectTaskTest.php | 11 +- .../Project/UpdateTypeOfProjectIssueTest.php | 11 +- .../Services/Company/Task/CreateTaskTest.php | 11 +- .../Description/ClearTeamDescriptionTest.php | 13 +- .../Description/SetTeamDescriptionTest.php | 13 +- .../Team/Links/CreateTeamUsefulLinkTest.php | 15 +- .../Team/Links/DestroyTeamUsefulLinkTest.php | 15 +- .../Team/Links/UpdateTeamUsefulLinkTest.php | 15 +- .../Services/Company/Team/SetTeamLeadTest.php | 17 +- .../Team/Ship/AttachEmployeeToShipTest.php | 15 +- .../Company/Team/Ship/CreateShipTest.php | 17 +- .../Company/Team/Ship/DestroyShipTest.php | 13 +- .../Team/TeamNews/CreateTeamNewsTest.php | 13 +- .../Team/TeamNews/DestroyTeamNewsTest.php | 13 +- .../Team/TeamNews/UpdateTeamNewsTest.php | 13 +- .../Company/Team/UnsetTeamLeadTest.php | 11 +- .../Company/Wiki/AddPageToWikiTest.php | 13 +- .../Company/Wiki/CreatePageRevisionTest.php | 13 +- .../Services/Company/Wiki/CreateWikiTest.php | 9 +- .../Services/Company/Wiki/DestroyPageTest.php | 13 +- .../Services/Company/Wiki/DestroyWikiTest.php | 11 +- .../Wiki/IncrementPageViewForPageTest.php | 9 +- .../Services/Company/Wiki/UpdatePageTest.php | 15 +- .../Services/Company/Wiki/UpdateWikiTest.php | 11 +- .../Services/Logs/LogAccountActionTest.php | 11 +- .../Services/Logs/LogEmployeeActionTest.php | 9 +- .../Unit/Services/Logs/LogTeamActionTest.php | 11 +- .../Unit/Services/User/CreateAccountTest.php | 5 +- .../Preferences/ChangeHelpPreferencesTest.php | 7 +- .../Preferences/UpdateDashboardViewTest.php | 7 +- .../Services/User/ResetUserPasswordTest.php | 7 +- tests/Unit/Services/User/UpdateLocaleTest.php | 5 +- .../Services/User/UpdateUserPasswordTest.php | 7 +- .../User/UpdateUserProfileInformationTest.php | 7 +- .../Unit/Traits/JsonRespondControllerTest.php | 4 +- .../Adminland/AdminAuditLogViewHelperTest.php | 8 +- .../Adminland/AdminBillingViewHelperTest.php | 11 +- .../Adminland/AdminECoffeeViewHelperTest.php | 7 +- .../AdminEmployeeStatusViewHelperTest.php | 7 +- .../Adminland/AdminEmployeeViewHelperTest.php | 21 +-- .../Adminland/AdminExpenseViewHelperTest.php | 7 +- .../Adminland/AdminGeneralViewHelperTest.php | 10 +- .../Adminland/AdminHardwareViewHelperTest.php | 12 +- .../Adminland/AdminPositionViewHelperTest.php | 7 +- .../AdminProjectManagementViewHelperTest.php | 7 +- .../AdminRecruitmentViewHelperTest.php | 7 +- .../Adminland/AdminSoftwareViewHelperTest.php | 19 +- .../Adminland/AdminTeamViewHelperTest.php | 8 +- .../AdminUploadEmployeeViewHelperTest.php | 7 +- .../AdminWorkFromHomeViewHelperTest.php | 7 +- .../Company/CompanyNewsViewHelperTest.php | 10 +- .../Company/CompanyQuestionViewHelperTest.php | 10 +- .../Company/CompanySkillViewHelperTest.php | 10 +- .../Company/CompanyViewHelperTest.php | 24 ++- .../Group/GroupCreateViewHelperTest.php | 7 +- .../Group/GroupMeetingsViewHelperTest.php | 11 +- .../Group/GroupMembersViewHelperTest.php | 11 +- .../Company/Group/GroupShowViewHelperTest.php | 9 +- .../Company/Group/GroupViewHelperTest.php | 11 +- .../CompanyHRAskMeAnythingViewHelperTest.php | 13 +- .../CompanyHRPositionShowViewHelperTest.php | 7 +- .../Company/HR/CompanyHRViewHelperTest.php | 17 +- .../Company/HeaderSearchViewHelperTest.php | 9 +- .../Company/KB/PageEditViewHelperTest.php | 9 +- .../Company/KB/PageShowViewHelperTest.php | 13 +- .../Company/KB/WikiShowViewHelperTest.php | 13 +- .../Company/KB/WikiViewHelperTest.php | 13 +- .../Project/ProjectBoardsViewHelperTest.php | 9 +- .../ProjectDecisionsViewHelperTest.php | 7 +- .../Project/ProjectFilesViewHelperTest.php | 9 +- .../Project/ProjectIssuesViewHelperTest.php | 15 +- .../Project/ProjectMembersViewHelperTest.php | 7 +- .../Project/ProjectMessagesViewHelperTest.php | 17 +- .../Project/ProjectSprintsViewHelperTest.php | 13 +- .../Project/ProjectTasksViewHelperTest.php | 13 +- .../Company/Project/ProjectViewHelperTest.php | 9 +- .../DashboardExpenseViewHelperTest.php | 10 +- .../Dashboard/DashboardHRViewHelperTest.php | 9 +- .../DashboardManagerViewHelperTest.php | 24 ++- .../Dashboard/DashboardMeViewHelperTest.php | 42 ++--- .../DashboardOneOnOneViewHelperTest.php | 11 +- .../Dashboard/DashboardTeamViewHelperTest.php | 11 +- .../DashboardTimesheetViewHelperTest.php | 11 +- .../Dashboard/DashboardViewHelperTest.php | 9 +- ...ashboardHRDisciplineCaseViewHelperTest.php | 11 +- ...shboardHRDisciplineEventViewHelperTest.php | 9 +- .../HR/DashboardHRTimesheetViewHelperTest.php | 13 +- ...ashboardManagerTimesheetViewHelperTest.php | 13 +- .../EmployeeECoffeeViewHelperTest.php | 9 +- .../EmployeeEditContractViewHelperTest.php | 7 +- .../Employee/EmployeeEditViewHelperTest.php | 7 +- .../EmployeeExpenseViewHelperTest.php | 9 +- .../EmployeeHierarchyViewHelperTest.php | 7 +- .../Employee/EmployeeLogViewHelperTest.php | 7 +- .../EmployeeOneOnOneViewHelperTest.php | 13 +- .../EmployeePerformanceViewHelperTest.php | 9 +- .../Employee/EmployeeShowViewHelperTest.php | 35 ++-- .../Employee/EmployeeSkillViewHelperTest.php | 9 +- .../EmployeeSurveysViewHelperTest.php | 15 +- .../EmployeeTimesheetViewHelperTest.php | 18 +- .../EmployeeWorkFromHomeViewHelperTest.php | 10 +- .../Employee/EmployeeWorkViewHelperTest.php | 21 +-- .../EmployeeWorklogViewHelperTest.php | 12 +- .../Jobs/JobsCompanyViewHelperTest.php | 21 +-- .../ViewHelpers/Jobs/JobsViewHelperTest.php | 7 +- .../RecruitingCandidatesViewHelperTest.php | 33 ++-- .../RecruitingJobOpeningsViewHelperTest.php | 31 ++- .../Team/TeamIndexViewHelperTest.php | 7 +- .../Team/TeamMembersViewHelperTest.php | 9 +- .../Team/TeamRecentShipViewHelperTest.php | 11 +- .../Team/TeamShowViewHelperTest.php | 13 +- 911 files changed, 4365 insertions(+), 5440 deletions(-) create mode 100644 resources/js/Shared/Uploadcare.vue create mode 100644 tests/TestCaseHelpers.php diff --git a/phpunit.xml b/phpunit.xml index cca947e25..f0f0aa55e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,20 +1,13 @@ - - - - ./app - - + ./tests/Unit @@ -23,14 +16,13 @@ ./tests/Integration - - - + - + + @@ -38,5 +30,11 @@ + + + + ./app + + diff --git a/resources/js/Pages/Adminland/Audit/Index.vue b/resources/js/Pages/Adminland/Audit/Index.vue index 2bf48a27d..8adb80902 100644 --- a/resources/js/Pages/Adminland/Audit/Index.vue +++ b/resources/js/Pages/Adminland/Audit/Index.vue @@ -46,7 +46,7 @@
- {{ log.author.name }} + {{ log.author.name }} {{ log.author.name }} @@ -66,12 +66,12 @@
- + ← {{ $t('app.previous') }} - - + + {{ $t('app.next') }} → - +
@@ -80,9 +80,9 @@ \ No newline at end of file diff --git a/resources/js/Shared/UserMenu.vue b/resources/js/Shared/UserMenu.vue index f7946087c..bd500df4c 100644 --- a/resources/js/Shared/UserMenu.vue +++ b/resources/js/Shared/UserMenu.vue @@ -75,9 +75,9 @@ svg { - + {{ $t('app.header_go_to_employee_profile') }} - + @@ -87,9 +87,9 @@ svg { - + {{ $t('app.header_switch_company') }} - + @@ -103,9 +103,9 @@ svg { - + {{ $t('app.header_settings') }} - + @@ -130,9 +130,9 @@ svg { - + {{ $t('app.header_logout') }} - + @@ -141,7 +141,7 @@ svg { + + @vite(['resources/js/app.js']) @yield('title', config('app.name')) diff --git a/tests/ApiTestCase.php b/tests/ApiTestCase.php index ec5a6c04f..cb330cc3b 100644 --- a/tests/ApiTestCase.php +++ b/tests/ApiTestCase.php @@ -9,8 +9,6 @@ class ApiTestCase extends TestCase { /** * Create a user and sign in as that user. - * - * @return User */ public function signIn(User $user): User { @@ -22,8 +20,6 @@ public function signIn(User $user): User /** * Test that the response contains a not found notification. - * - * @param TestResponse $response */ public function expectNotFound(TestResponse $response): void { @@ -40,8 +36,7 @@ public function expectNotFound(TestResponse $response): void /** * Test that the response contains a data error notification. * - * @param TestResponse $response - * @param array|string $message + * @param array|string $message */ public function expectDataError(TestResponse $response, $message = ''): void { @@ -58,8 +53,7 @@ public function expectDataError(TestResponse $response, $message = ''): void /** * Test that the response contains a non authorized response. * - * @param TestResponse $response - * @param array|string $message + * @param array|string $message */ public function expectNotAuthorized(TestResponse $response, $message = ''): void { diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php index 0fcb88c9f..dda8cba52 100644 --- a/tests/CreatesApplication.php +++ b/tests/CreatesApplication.php @@ -2,8 +2,8 @@ namespace Tests; -use Illuminate\Support\Facades\Hash; use Illuminate\Contracts\Console\Kernel; +use Illuminate\Support\Facades\Hash; trait CreatesApplication { diff --git a/tests/Features/support/helpers/app.js b/tests/Features/support/helpers/app.js index 3bac36232..c48d38fd1 100644 --- a/tests/Features/support/helpers/app.js +++ b/tests/Features/support/helpers/app.js @@ -13,7 +13,7 @@ Cypress.Commands.add('login', (callback) => { }); Cypress.Commands.add('loginin', (id) => { - cy.visit('/_dusk/login/'+id+'/'); + cy.request('/_dusk/login/'+id+'/'); }); Cypress.Commands.add('loginLegacy', (role) => { diff --git a/tests/Helpers/CommandCallerFake.php b/tests/Helpers/CommandCallerFake.php index 0b77e418c..1fd97370f 100644 --- a/tests/Helpers/CommandCallerFake.php +++ b/tests/Helpers/CommandCallerFake.php @@ -2,8 +2,8 @@ namespace Tests\Helpers; -use PHPUnit\Framework\Assert; use App\Console\Commands\Helpers\CommandCallerContract; +use PHPUnit\Framework\Assert; class CommandCallerFake implements CommandCallerContract { @@ -31,7 +31,7 @@ public function artisan($command, $message, $commandline, array $arguments = []) foreach ($arguments as $key => $value) { $info = $info.' '.$key.'='.$value; } - $this->buffer->push(['message' =>$message, 'command' => 'php artisan '.$commandline.$info]); + $this->buffer->push(['message' => $message, 'command' => 'php artisan '.$commandline.$info]); } /** diff --git a/tests/Helpers/GuzzleMock.php b/tests/Helpers/GuzzleMock.php index e53d943a4..8cf078dec 100644 --- a/tests/Helpers/GuzzleMock.php +++ b/tests/Helpers/GuzzleMock.php @@ -3,10 +3,10 @@ namespace Tests\Helpers; use GuzzleHttp\Client; +use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\Middleware; use GuzzleHttp\Psr7\Response; use PHPUnit\Framework\Assert; -use GuzzleHttp\Handler\MockHandler; class GuzzleMock extends Assert { @@ -25,6 +25,7 @@ public function __construct($responses) if (is_array($item)) { return new Response(200, [], json_encode($item)); } + return $item; }, $responses)); $stack->push($history); @@ -34,8 +35,6 @@ public function __construct($responses) /** * Get current client. - * - * @return Client */ public function getClient(): Client { diff --git a/tests/Integration/SetupFrontEndTestUserTest.php b/tests/Integration/SetupFrontEndTestUserTest.php index 669cb3f1c..a00eff6fc 100644 --- a/tests/Integration/SetupFrontEndTestUserTest.php +++ b/tests/Integration/SetupFrontEndTestUserTest.php @@ -2,14 +2,11 @@ namespace Tests\Integration; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class SetupFrontEndTestUserTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_user_for_frontend_tests(): void { diff --git a/tests/Integration/VerifyEmailOfLastCreatedEmployeeTest.php b/tests/Integration/VerifyEmailOfLastCreatedEmployeeTest.php index ff711771f..99dd3ff62 100644 --- a/tests/Integration/VerifyEmailOfLastCreatedEmployeeTest.php +++ b/tests/Integration/VerifyEmailOfLastCreatedEmployeeTest.php @@ -2,14 +2,11 @@ namespace Tests\Integration; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class VerifyEmailOfLastCreatedEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_marks_the_last_created_employee_as_verified(): void { diff --git a/tests/TestCase.php b/tests/TestCase.php index d8b26a5f0..beb85c02f 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -4,22 +4,22 @@ use App\Models\Company\Employee; use App\Models\Company\EmployeeStatus; -use Illuminate\Foundation\Testing\RefreshDatabase; use App\Services\Company\Employee\Manager\AssignManager; +use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { - use RefreshDatabase, CreatesApplication; + use CreatesApplication, RefreshDatabase, TestCaseHelpers; /** * Check if the given route is accessible by a user with the given * permission. * - * @param Employee $employee - * @param int $permissionLevel - * @param string $route - * @param int $statusCode + * @param Employee $employee + * @param int $permissionLevel + * @param string $route + * @param int $statusCode */ public function accessibleBy($employee, $permissionLevel, $route, $statusCode): void { @@ -31,41 +31,9 @@ public function accessibleBy($employee, $permissionLevel, $route, $statusCode): $response->assertStatus($statusCode); } - /** - * Create an administrator in an account. - * - * @return Employee - */ - public function createAdministrator(): Employee - { - return Employee::factory()->asAdministrator()->create(); - } - - /** - * Create an employee with HR privileges in an account. - * - * @return Employee - */ - public function createHR(): Employee - { - return Employee::factory()->asHR()->create(); - } - - /** - * Create an employee with User privileges in an account. - * - * @return Employee - */ - public function createEmployee(): Employee - { - return Employee::factory()->asNormalEmployee()->create(); - } - /** * Create another employee with User privileges in the same account as the * given employee. - * - * @return Employee */ public function createAnotherEmployee(Employee $employee): Employee { @@ -78,8 +46,6 @@ public function createAnotherEmployee(Employee $employee): Employee /** * Create another employee who will be a direct report of the given * employee, who will become a manager. - * - * @return Employee */ public function createDirectReport(Employee $employee): Employee { @@ -108,10 +74,6 @@ public function createDirectReport(Employee $employee): Employee /** * Set the employee status. - * - * @param Employee $employee - * @param string $type - * @return Employee */ public function setEmployeeStatus(Employee $employee, string $type): Employee { diff --git a/tests/TestCaseHelpers.php b/tests/TestCaseHelpers.php new file mode 100644 index 000000000..303a30811 --- /dev/null +++ b/tests/TestCaseHelpers.php @@ -0,0 +1,32 @@ +asAdministrator()->create(); + } + + /** + * Create an employee with HR privileges in an account. + */ + public function createHR(): Employee + { + return Employee::factory()->asHR()->create(); + } + + /** + * Create an employee with User privileges in an account. + */ + public function createEmployee(): Employee + { + return Employee::factory()->asNormalEmployee()->create(); + } +} \ No newline at end of file diff --git a/tests/Unit/Collections/CompanyNewsCollectionTest.php b/tests/Unit/Collections/CompanyNewsCollectionTest.php index 42fc8b041..530ccebc3 100644 --- a/tests/Unit/Collections/CompanyNewsCollectionTest.php +++ b/tests/Unit/Collections/CompanyNewsCollectionTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Collections; -use Tests\TestCase; -use App\Models\Company\CompanyNews; use App\Http\Collections\CompanyNewsCollection; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\CompanyNews; +use Tests\TestCase; class CompanyNewsCollectionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_collection(): void { diff --git a/tests/Unit/Collections/QuestionCollectionTest.php b/tests/Unit/Collections/QuestionCollectionTest.php index cd0c326ea..8c2612890 100644 --- a/tests/Unit/Collections/QuestionCollectionTest.php +++ b/tests/Unit/Collections/QuestionCollectionTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Collections; -use Tests\TestCase; -use App\Models\Company\Question; use App\Http\Collections\QuestionCollection; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Question; +use Tests\TestCase; class QuestionCollectionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_collection(): void { diff --git a/tests/Unit/Collections/TeamNewsCollectionTest.php b/tests/Unit/Collections/TeamNewsCollectionTest.php index bf1f49135..8a24bc6ff 100644 --- a/tests/Unit/Collections/TeamNewsCollectionTest.php +++ b/tests/Unit/Collections/TeamNewsCollectionTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Collections; -use Tests\TestCase; +use App\Http\Collections\TeamNewsCollection; use App\Models\Company\Team; use App\Models\Company\TeamNews; -use App\Http\Collections\TeamNewsCollection; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class TeamNewsCollectionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_collection(): void { diff --git a/tests/Unit/Collections/TeamUsefulLinkCollectionTest.php b/tests/Unit/Collections/TeamUsefulLinkCollectionTest.php index 21f77d2aa..04eaa70d2 100644 --- a/tests/Unit/Collections/TeamUsefulLinkCollectionTest.php +++ b/tests/Unit/Collections/TeamUsefulLinkCollectionTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Collections; -use Tests\TestCase; +use App\Http\Collections\TeamUsefulLinkCollection; use App\Models\Company\Team; use App\Models\Company\TeamUsefulLink; -use App\Http\Collections\TeamUsefulLinkCollection; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class TeamUsefulLinkCollectionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_collection(): void { diff --git a/tests/Unit/Collections/WorkFromHomeCollectionTest.php b/tests/Unit/Collections/WorkFromHomeCollectionTest.php index 63b3dde3e..9691bba11 100644 --- a/tests/Unit/Collections/WorkFromHomeCollectionTest.php +++ b/tests/Unit/Collections/WorkFromHomeCollectionTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Collections; -use Tests\TestCase; -use App\Models\Company\WorkFromHome; use App\Http\Collections\WorkFromHomeCollection; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\WorkFromHome; +use Tests\TestCase; class WorkFromHomeCollectionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_collection(): void { diff --git a/tests/Unit/Collections/WorklogCollectionTest.php b/tests/Unit/Collections/WorklogCollectionTest.php index e77a0af00..13a13eaf0 100644 --- a/tests/Unit/Collections/WorklogCollectionTest.php +++ b/tests/Unit/Collections/WorklogCollectionTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Collections; -use Tests\TestCase; -use App\Models\Company\Worklog; use App\Http\Collections\WorklogCollection; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Worklog; +use Tests\TestCase; class WorklogCollectionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_collection(): void { diff --git a/tests/Unit/Commands/CalculateTimeOffBalanceForAllEmployeesTest.php b/tests/Unit/Commands/CalculateTimeOffBalanceForAllEmployeesTest.php index a019bc9e8..442f1effc 100644 --- a/tests/Unit/Commands/CalculateTimeOffBalanceForAllEmployeesTest.php +++ b/tests/Unit/Commands/CalculateTimeOffBalanceForAllEmployeesTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Commands; -use Tests\TestCase; -use RuntimeException; +use App\Jobs\CalculateTimeOffBalance; use App\Models\Company\Employee; use Illuminate\Support\Facades\Bus; -use App\Jobs\CalculateTimeOffBalance; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use RuntimeException; +use Tests\TestCase; class CalculateTimeOffBalanceForAllEmployeesTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_triggers_the_job(): void { diff --git a/tests/Unit/Commands/GenerateNewECoffeeSessionTest.php b/tests/Unit/Commands/GenerateNewECoffeeSessionTest.php index 6234dc1f1..2ae26cb1d 100644 --- a/tests/Unit/Commands/GenerateNewECoffeeSessionTest.php +++ b/tests/Unit/Commands/GenerateNewECoffeeSessionTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Commands; -use Tests\TestCase; -use App\Models\Company\Company; use App\Jobs\CreateNewECoffeeSession; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Company; use Illuminate\Support\Facades\Artisan; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Queue; +use Tests\TestCase; class GenerateNewECoffeeSessionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_starts_the_generate_new_e_coffee_sessions(): void { diff --git a/tests/Unit/Commands/SetupCommandTest.php b/tests/Unit/Commands/SetupCommandTest.php index cb450f7f4..bca3ddac1 100644 --- a/tests/Unit/Commands/SetupCommandTest.php +++ b/tests/Unit/Commands/SetupCommandTest.php @@ -2,9 +2,9 @@ namespace Tests\Unit\Commands; -use Tests\TestCase; -use Illuminate\Support\Facades\Artisan; use App\Console\Commands\Helpers\Command; +use Illuminate\Support\Facades\Artisan; +use Tests\TestCase; class SetupCommandTest extends TestCase { diff --git a/tests/Unit/Commands/StartRateYourManagerProcessFromCliTest.php b/tests/Unit/Commands/StartRateYourManagerProcessFromCliTest.php index ba94b3341..1707a9687 100644 --- a/tests/Unit/Commands/StartRateYourManagerProcessFromCliTest.php +++ b/tests/Unit/Commands/StartRateYourManagerProcessFromCliTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Commands; -use Tests\TestCase; -use Illuminate\Support\Facades\Queue; -use Illuminate\Support\Facades\Artisan; use App\Jobs\StartRateYourManagerProcess; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Artisan; +use Illuminate\Support\Facades\Queue; +use Tests\TestCase; class StartRateYourManagerProcessFromCliTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_starts_the_rate_your_manager_process_from_the_cli(): void { diff --git a/tests/Unit/Commands/StopRateYourManagerProcessFromCliTest.php b/tests/Unit/Commands/StopRateYourManagerProcessFromCliTest.php index 1ef04b5df..824896590 100644 --- a/tests/Unit/Commands/StopRateYourManagerProcessFromCliTest.php +++ b/tests/Unit/Commands/StopRateYourManagerProcessFromCliTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Commands; -use Tests\TestCase; -use Illuminate\Support\Facades\Queue; -use Illuminate\Support\Facades\Artisan; use App\Jobs\StopRateYourManagerProcess; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Artisan; +use Illuminate\Support\Facades\Queue; +use Tests\TestCase; class StopRateYourManagerProcessFromCliTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_stops_the_rate_your_manager_process_from_the_cli(): void { diff --git a/tests/Unit/Controllers/Auth/RegisterControllerTest.php b/tests/Unit/Controllers/Auth/RegisterControllerTest.php index 10a77a706..4eddb8045 100644 --- a/tests/Unit/Controllers/Auth/RegisterControllerTest.php +++ b/tests/Unit/Controllers/Auth/RegisterControllerTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Controllers\Auth; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Support\Facades\Notification; use Illuminate\Auth\Notifications\VerifyEmail; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Notification; +use Tests\TestCase; class RegisterControllerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_user(): void { diff --git a/tests/Unit/Controllers/Auth/SocialiteCallbackControllerTest.php b/tests/Unit/Controllers/Auth/SocialiteCallbackControllerTest.php index d62a82339..8f024ab9d 100644 --- a/tests/Unit/Controllers/Auth/SocialiteCallbackControllerTest.php +++ b/tests/Unit/Controllers/Auth/SocialiteCallbackControllerTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Controllers\Auth; -use Tests\TestCase; use App\Models\User\User; -use Tests\Helpers\GuzzleMock; use App\Models\User\UserToken; +use Laravel\Socialite\Contracts\Factory as SocialiteFactory; use Laravel\Socialite\Facades\Socialite; use Laravel\Socialite\Two\GithubProvider; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Laravel\Socialite\Contracts\Factory as SocialiteFactory; +use Tests\Helpers\GuzzleMock; +use Tests\TestCase; class SocialiteCallbackControllerTest extends TestCase { - use DatabaseTransactions; - private function mockSocialite($client = null): void { config(['auth.login_providers' => 'test']); @@ -45,6 +42,7 @@ private function getMock(): GuzzleMock 'login' => 'dwigth', 'name' => 'Dwight Schrute', 'avatar_url' => '', + 'node_id' => '', ], 'https://api.github.com/user/emails' => [[ 'primary' => true, diff --git a/tests/Unit/Controllers/Auth/UserInvitationControllerTest.php b/tests/Unit/Controllers/Auth/UserInvitationControllerTest.php index 14275637b..36bf737b6 100644 --- a/tests/Unit/Controllers/Auth/UserInvitationControllerTest.php +++ b/tests/Unit/Controllers/Auth/UserInvitationControllerTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Controllers\Auth; -use Tests\TestCase; -use App\Models\User\User; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Notification; +use App\Models\User\User; use Illuminate\Auth\Notifications\VerifyEmail; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Notification; +use Tests\TestCase; class UserInvitationControllerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_user_invited(): void { diff --git a/tests/Unit/Controllers/ControllerTest.php b/tests/Unit/Controllers/ControllerTest.php index 9575e6619..57601d4cf 100644 --- a/tests/Unit/Controllers/ControllerTest.php +++ b/tests/Unit/Controllers/ControllerTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Controllers; -use Tests\TestCase; -use App\Models\User\User; -use App\Models\Company\Employee; -use App\Http\Controllers\Controller; use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Http\Controllers\Controller; +use App\Models\Company\Employee; +use App\Models\User\User; +use Tests\TestCase; class ControllerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_validates_permission_level(): void { diff --git a/tests/Unit/HelpCenterTest.php b/tests/Unit/HelpCenterTest.php index d753cd739..39fe6287a 100644 --- a/tests/Unit/HelpCenterTest.php +++ b/tests/Unit/HelpCenterTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit; -use Tests\TestCase; use GuzzleHttp\Client as GuzzleClient; use GuzzleHttp\Promise\Utils as GuzzleUtils; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class HelpCenterTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_checks_that_links_that_point_to_the_help_center_are_valid(): void { diff --git a/tests/Unit/Helpers/BirthdayHelperTest.php b/tests/Unit/Helpers/BirthdayHelperTest.php index 1036ad3cf..a0040d47d 100644 --- a/tests/Unit/Helpers/BirthdayHelperTest.php +++ b/tests/Unit/Helpers/BirthdayHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Helpers; +use App\Helpers\BirthdayHelper; use Carbon\Carbon; use Tests\TestCase; -use App\Helpers\BirthdayHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; class BirthdayHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_indicates_if_a_birthday_occurs_in_the_next_x_days(): void { diff --git a/tests/Unit/Helpers/DateHelperTest.php b/tests/Unit/Helpers/DateHelperTest.php index 854d730f4..94749189a 100644 --- a/tests/Unit/Helpers/DateHelperTest.php +++ b/tests/Unit/Helpers/DateHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Helpers; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use Carbon\Carbon; +use Tests\TestCase; class DateHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_date_with_english_locale(): void { diff --git a/tests/Unit/Helpers/FileHelperTest.php b/tests/Unit/Helpers/FileHelperTest.php index db45bca66..fcb34266f 100644 --- a/tests/Unit/Helpers/FileHelperTest.php +++ b/tests/Unit/Helpers/FileHelperTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\FileHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class FileHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_file_size_in_the_right_format(): void { diff --git a/tests/Unit/Helpers/HolidayHelperTest.php b/tests/Unit/Helpers/HolidayHelperTest.php index d3f0b9240..faeb4d864 100644 --- a/tests/Unit/Helpers/HolidayHelperTest.php +++ b/tests/Unit/Helpers/HolidayHelperTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Helpers; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\HolidayHelper; -use App\Models\Company\Employee; use App\Models\Company\CompanyCalendar; use App\Models\Company\CompanyPTOPolicy; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; +use Carbon\Carbon; +use Tests\TestCase; class HolidayHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_number_of_holidays_earned_each_month(): void { diff --git a/tests/Unit/Helpers/ImageHelperTest.php b/tests/Unit/Helpers/ImageHelperTest.php index 5dd276a96..e31c29780 100644 --- a/tests/Unit/Helpers/ImageHelperTest.php +++ b/tests/Unit/Helpers/ImageHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\File; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\File; +use Tests\TestCase; class ImageHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_default_avatar(): void { diff --git a/tests/Unit/Helpers/LocaleHelperTest.php b/tests/Unit/Helpers/LocaleHelperTest.php index 7deb27589..bd1ee0e2b 100644 --- a/tests/Unit/Helpers/LocaleHelperTest.php +++ b/tests/Unit/Helpers/LocaleHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; -use App\Models\User\User; use App\Helpers\LocaleHelper; +use App\Models\User\User; use Illuminate\Support\Facades\App; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class LocaleHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_locale_english_by_default() { @@ -68,9 +65,11 @@ public function it_get_direction_for_hebrew() /** * @test + * * @dataProvider localeHelperGetLangProvider - * @param mixed $locale - * @param mixed $expect + * + * @param mixed $locale + * @param mixed $expect */ public function it_return_languages($locale, $expect) { @@ -82,7 +81,7 @@ public function it_return_languages($locale, $expect) ); } - public function localeHelperGetLangProvider() + public static function localeHelperGetLangProvider() { return [ ['en', 'en'], diff --git a/tests/Unit/Helpers/LogHelperTest.php b/tests/Unit/Helpers/LogHelperTest.php index 2cd3c7782..a33685eed 100644 --- a/tests/Unit/Helpers/LogHelperTest.php +++ b/tests/Unit/Helpers/LogHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\LogHelper; -use App\Models\Company\Team; -use App\Models\Company\TeamLog; use App\Models\Company\AuditLog; use App\Models\Company\EmployeeLog; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Team; +use App\Models\Company\TeamLog; +use Tests\TestCase; class LogHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_string_explaining_the_audit_log(): void { diff --git a/tests/Unit/Helpers/MapHelperTest.php b/tests/Unit/Helpers/MapHelperTest.php index a98db40e6..cebff8eef 100644 --- a/tests/Unit/Helpers/MapHelperTest.php +++ b/tests/Unit/Helpers/MapHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\MapHelper; use App\Models\Company\Place; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class MapHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_static_map_url(): void { diff --git a/tests/Unit/Helpers/MoneyHelperTest.php b/tests/Unit/Helpers/MoneyHelperTest.php index f96ae83af..bfeea7ac3 100644 --- a/tests/Unit/Helpers/MoneyHelperTest.php +++ b/tests/Unit/Helpers/MoneyHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\MoneyHelper; use Illuminate\Support\Facades\App; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class MoneyHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_amount_correctly_formatted_depending_on_the_currency(): void { diff --git a/tests/Unit/Helpers/NotificationHelperTest.php b/tests/Unit/Helpers/NotificationHelperTest.php index a80a7d7f3..ccda3878f 100644 --- a/tests/Unit/Helpers/NotificationHelperTest.php +++ b/tests/Unit/Helpers/NotificationHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; -use App\Models\Company\Team; -use Illuminate\Support\Collection; use App\Helpers\NotificationHelper; use App\Models\Company\Notification; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Team; +use Illuminate\Support\Collection; +use Tests\TestCase; class NotificationHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_notifications_for_this_employee_as_a_collection(): void { diff --git a/tests/Unit/Helpers/PaginatorHelperTest.php b/tests/Unit/Helpers/PaginatorHelperTest.php index 34faad8bc..fac4fc481 100644 --- a/tests/Unit/Helpers/PaginatorHelperTest.php +++ b/tests/Unit/Helpers/PaginatorHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; -use App\Models\Company\Company; use App\Helpers\PaginatorHelper; +use App\Models\Company\Company; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class PaginatorHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_an_array_containing_everything_needed_for_a_pagination() { diff --git a/tests/Unit/Helpers/PermissionHelperTest.php b/tests/Unit/Helpers/PermissionHelperTest.php index 45a8342d6..66e4973c3 100644 --- a/tests/Unit/Helpers/PermissionHelperTest.php +++ b/tests/Unit/Helpers/PermissionHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; -use App\Models\Company\Employee; use App\Helpers\PermissionHelper; +use App\Models\Company\Employee; use App\Models\Company\EmployeeStatus; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class PermissionHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_lets_the_employee_see_the_full_birthdate(): void { diff --git a/tests/Unit/Helpers/QuestionHelperTest.php b/tests/Unit/Helpers/QuestionHelperTest.php index 99c02cf11..19662e475 100644 --- a/tests/Unit/Helpers/QuestionHelperTest.php +++ b/tests/Unit/Helpers/QuestionHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; -use App\Models\Company\Answer; use App\Helpers\QuestionHelper; +use App\Models\Company\Answer; use App\Models\Company\Question; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class QuestionHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_answer_of_the_question_made_by_the_employee(): void { diff --git a/tests/Unit/Helpers/RandomHelperTest.php b/tests/Unit/Helpers/RandomHelperTest.php index b0d696aa4..26febead4 100644 --- a/tests/Unit/Helpers/RandomHelperTest.php +++ b/tests/Unit/Helpers/RandomHelperTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\RandomHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class RandomHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_a_random_and_hopefully_unique_number(): void { diff --git a/tests/Unit/Helpers/SearchHelperTest.php b/tests/Unit/Helpers/SearchHelperTest.php index 5a417224a..1663744f7 100644 --- a/tests/Unit/Helpers/SearchHelperTest.php +++ b/tests/Unit/Helpers/SearchHelperTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\SearchHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class SearchHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_builds_a_sql_query(): void { diff --git a/tests/Unit/Helpers/StringHelperTest.php b/tests/Unit/Helpers/StringHelperTest.php index 51c400aad..b4107364b 100644 --- a/tests/Unit/Helpers/StringHelperTest.php +++ b/tests/Unit/Helpers/StringHelperTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\StringHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class StringHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_parsed_content(): void { diff --git a/tests/Unit/Helpers/TimeHelperTest.php b/tests/Unit/Helpers/TimeHelperTest.php index c91ccd9b8..f3e7c400b 100644 --- a/tests/Unit/Helpers/TimeHelperTest.php +++ b/tests/Unit/Helpers/TimeHelperTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Helpers; -use Tests\TestCase; use App\Helpers\TimeHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class TimeHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_number_of_hours_and_minutes(): void { diff --git a/tests/Unit/Helpers/TimezoneHelperTest.php b/tests/Unit/Helpers/TimezoneHelperTest.php index e5986bcd3..d7934f5dd 100644 --- a/tests/Unit/Helpers/TimezoneHelperTest.php +++ b/tests/Unit/Helpers/TimezoneHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Helpers; +use App\Helpers\TimezoneHelper; use DateTimeZone; use Tests\TestCase; -use App\Helpers\TimezoneHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; class TimezoneHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_list_of_timezones(): void { diff --git a/tests/Unit/Helpers/WorkFromHomeHelperTest.php b/tests/Unit/Helpers/WorkFromHomeHelperTest.php index e061c40d9..1c5ea01c7 100644 --- a/tests/Unit/Helpers/WorkFromHomeHelperTest.php +++ b/tests/Unit/Helpers/WorkFromHomeHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Helpers; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\WorkFromHomeHelper; use App\Models\Company\WorkFromHome; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; +use Tests\TestCase; class WorkFromHomeHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_indicates_that_an_employee_worked_from_home(): void { diff --git a/tests/Unit/Helpers/WorklogHelperTest.php b/tests/Unit/Helpers/WorklogHelperTest.php index a81796134..c30519048 100644 --- a/tests/Unit/Helpers/WorklogHelperTest.php +++ b/tests/Unit/Helpers/WorklogHelperTest.php @@ -2,19 +2,17 @@ namespace Tests\Unit\Helpers; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\WorklogHelper; +use App\Models\Company\Employee; use App\Models\Company\Morale; use App\Models\Company\Worklog; -use App\Models\Company\Employee; +use Carbon\Carbon; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class WorklogHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_the_content_of_the_worklog_for_a_given_employee_and_a_given_day(): void diff --git a/tests/Unit/Jobs/AskEmployeesToRateTheirManagerTest.php b/tests/Unit/Jobs/AskEmployeesToRateTheirManagerTest.php index 0c362d8c5..c1d175c5e 100644 --- a/tests/Unit/Jobs/AskEmployeesToRateTheirManagerTest.php +++ b/tests/Unit/Jobs/AskEmployeesToRateTheirManagerTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Jobs; -use Carbon\Carbon; -use Tests\TestCase; use App\Jobs\AskEmployeesToRateTheirManager; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; +use Carbon\Carbon; +use Tests\TestCase; class AskEmployeesToRateTheirManagerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_asks_every_employee_to_rate_the_given_manager(): void { diff --git a/tests/Unit/Jobs/CalculateTimeOffBalanceTest.php b/tests/Unit/Jobs/CalculateTimeOffBalanceTest.php index e676fb735..bf6bf53e7 100644 --- a/tests/Unit/Jobs/CalculateTimeOffBalanceTest.php +++ b/tests/Unit/Jobs/CalculateTimeOffBalanceTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Jobs; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\Employee; use App\Jobs\CalculateTimeOffBalance; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use Carbon\Carbon; +use Tests\TestCase; class CalculateTimeOffBalanceTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_triggers_the_service(): void { diff --git a/tests/Unit/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChangesTest.php b/tests/Unit/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChangesTest.php index d059274da..e26bdbd00 100644 --- a/tests/Unit/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChangesTest.php +++ b/tests/Unit/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChangesTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Jobs; -use Tests\TestCase; +use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; use App\Models\Company\Expense; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; -use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; +use Tests\TestCase; class CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChangesTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_moves_all_expenses_for_employees_with_no_managers(): void { diff --git a/tests/Unit/Jobs/CreateNewECoffeeSessionTest.php b/tests/Unit/Jobs/CreateNewECoffeeSessionTest.php index bb617d664..9ca279229 100644 --- a/tests/Unit/Jobs/CreateNewECoffeeSessionTest.php +++ b/tests/Unit/Jobs/CreateNewECoffeeSessionTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Jobs; -use Carbon\Carbon; -use Tests\TestCase; +use App\Jobs\CreateNewECoffeeSession; use App\Models\Company\Company; use App\Models\Company\Employee; +use Carbon\Carbon; use Illuminate\Support\Facades\Bus; -use App\Jobs\CreateNewECoffeeSession; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreateNewECoffeeSessionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_launches_a_match_employee_for_ecoffee_process(): void { diff --git a/tests/Unit/Jobs/Invoicing/CreateMonthlyInvoiceForCompaniesTest.php b/tests/Unit/Jobs/Invoicing/CreateMonthlyInvoiceForCompaniesTest.php index a31d382f1..c39334e56 100644 --- a/tests/Unit/Jobs/Invoicing/CreateMonthlyInvoiceForCompaniesTest.php +++ b/tests/Unit/Jobs/Invoicing/CreateMonthlyInvoiceForCompaniesTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Jobs\Invoicing; -use Carbon\Carbon; -use Tests\TestCase; +use App\Jobs\Invoicing\CreateMonthlyInvoiceForCompanies; use App\Models\Company\Company; use App\Models\Company\CompanyDailyUsageHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Jobs\Invoicing\CreateMonthlyInvoiceForCompanies; +use Carbon\Carbon; +use Tests\TestCase; class CreateMonthlyInvoiceForCompaniesTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_the_monthly_invoice_for_a_company(): void { diff --git a/tests/Unit/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompaniesTest.php b/tests/Unit/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompaniesTest.php index 5f2fbfd9b..2e4884218 100644 --- a/tests/Unit/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompaniesTest.php +++ b/tests/Unit/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompaniesTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Jobs\Invoicing; -use Tests\TestCase; +use App\Jobs\Invoicing\LogDailyMaxNumberOfActiveEmployeesInCompanies; use App\Models\Company\Company; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Jobs\Invoicing\LogDailyMaxNumberOfActiveEmployeesInCompanies; +use Tests\TestCase; class LogDailyMaxNumberOfActiveEmployeesInCompaniesTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_the_number_of_employees_who_are_not_locked_in_all_the_companies_in_the_instance(): void { diff --git a/tests/Unit/Jobs/LogAccountAuditTest.php b/tests/Unit/Jobs/LogAccountAuditTest.php index 6f36acbcc..83c135f12 100644 --- a/tests/Unit/Jobs/LogAccountAuditTest.php +++ b/tests/Unit/Jobs/LogAccountAuditTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Jobs; +use App\Jobs\LogAccountAudit; use Carbon\Carbon; use Tests\TestCase; -use App\Jobs\LogAccountAudit; -use Illuminate\Foundation\Testing\DatabaseTransactions; class LogAccountAuditTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_an_account_audit(): void { diff --git a/tests/Unit/Jobs/LogEmployeeAuditTest.php b/tests/Unit/Jobs/LogEmployeeAuditTest.php index 3e1f81964..bdaccc187 100644 --- a/tests/Unit/Jobs/LogEmployeeAuditTest.php +++ b/tests/Unit/Jobs/LogEmployeeAuditTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Jobs; +use App\Jobs\LogEmployeeAudit; use Carbon\Carbon; use Tests\TestCase; -use App\Jobs\LogEmployeeAudit; -use Illuminate\Foundation\Testing\DatabaseTransactions; class LogEmployeeAuditTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_an_employee_audit(): void { diff --git a/tests/Unit/Jobs/LogMissedWorklogEntryTest.php b/tests/Unit/Jobs/LogMissedWorklogEntryTest.php index 74e2daafa..3e1bcc2c9 100644 --- a/tests/Unit/Jobs/LogMissedWorklogEntryTest.php +++ b/tests/Unit/Jobs/LogMissedWorklogEntryTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Jobs; +use App\Jobs\LogMissedWorklogEntry; +use App\Models\Company\Employee; +use App\Models\Company\Worklog; use Carbon\Carbon; use Tests\TestCase; -use App\Models\Company\Worklog; -use App\Models\Company\Employee; -use App\Jobs\LogMissedWorklogEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; class LogMissedWorklogEntryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_an_employee_missing_a_worklog(): void { diff --git a/tests/Unit/Jobs/LogTeamAuditTest.php b/tests/Unit/Jobs/LogTeamAuditTest.php index 4b244ea7d..d5f9b5c81 100644 --- a/tests/Unit/Jobs/LogTeamAuditTest.php +++ b/tests/Unit/Jobs/LogTeamAuditTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Jobs; -use Carbon\Carbon; -use Tests\TestCase; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; +use Tests\TestCase; class LogTeamAuditTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_a_team_audit(): void { diff --git a/tests/Unit/Jobs/NotifyEmployeeTest.php b/tests/Unit/Jobs/NotifyEmployeeTest.php index e96192047..8259623bb 100644 --- a/tests/Unit/Jobs/NotifyEmployeeTest.php +++ b/tests/Unit/Jobs/NotifyEmployeeTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Jobs; -use Tests\TestCase; use App\Jobs\NotifyEmployee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class NotifyEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_a_notification(): void { diff --git a/tests/Unit/Jobs/ProcessCompanyMoraleTest.php b/tests/Unit/Jobs/ProcessCompanyMoraleTest.php index 8822b683a..3d1ccf193 100644 --- a/tests/Unit/Jobs/ProcessCompanyMoraleTest.php +++ b/tests/Unit/Jobs/ProcessCompanyMoraleTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Jobs; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\Morale; use App\Jobs\ProcessCompanyMorale; +use App\Models\Company\Morale; use App\Models\Company\MoraleCompanyHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; +use Tests\TestCase; class ProcessCompanyMoraleTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_the_statistics_about_how_employees_feel(): void { diff --git a/tests/Unit/Jobs/ProcessTeamMoraleTest.php b/tests/Unit/Jobs/ProcessTeamMoraleTest.php index 43103d475..5b6cfb2ec 100644 --- a/tests/Unit/Jobs/ProcessTeamMoraleTest.php +++ b/tests/Unit/Jobs/ProcessTeamMoraleTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Jobs; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\Team; -use App\Models\Company\Morale; use App\Jobs\ProcessTeamMorale; +use App\Models\Company\Morale; use App\Models\Company\MoraleTeamHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Team; +use Carbon\Carbon; +use Tests\TestCase; class ProcessTeamMoraleTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_the_statistics_about_how_the_team_feels(): void { diff --git a/tests/Unit/Jobs/SendVerifyEmailTest.php b/tests/Unit/Jobs/SendVerifyEmailTest.php index 76fb5d29d..d7d2bf2f4 100644 --- a/tests/Unit/Jobs/SendVerifyEmailTest.php +++ b/tests/Unit/Jobs/SendVerifyEmailTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Jobs; -use Tests\TestCase; -use App\Models\User\User; use App\Jobs\SendVerifyEmail; -use Illuminate\Support\Facades\Notification; +use App\Models\User\User; use Illuminate\Auth\Notifications\VerifyEmail; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Notification; +use Tests\TestCase; class SendVerifyEmailTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_send_a_verification_mail(): void { diff --git a/tests/Unit/Jobs/ServiceQueueTest.php b/tests/Unit/Jobs/ServiceQueueTest.php index 6072c6a4d..c28767ea4 100644 --- a/tests/Unit/Jobs/ServiceQueueTest.php +++ b/tests/Unit/Jobs/ServiceQueueTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Jobs; -use Tests\TestCase; use App\Jobs\ServiceQueue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\Company\AddUserToCompany; +use Tests\TestCase; class ServiceQueueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_run_a_service_ok(): void { diff --git a/tests/Unit/Jobs/ServiceQueueTester.php b/tests/Unit/Jobs/ServiceQueueTester.php index 87327312f..59f61b113 100644 --- a/tests/Unit/Jobs/ServiceQueueTester.php +++ b/tests/Unit/Jobs/ServiceQueueTester.php @@ -2,25 +2,25 @@ namespace Tests\Unit\Jobs; -use Throwable; use App\Services\BaseService; -use App\Services\QueuableService; use App\Services\DispatchableService; +use App\Services\QueuableService; +use Throwable; class ServiceQueueTester extends BaseService implements QueuableService { use DispatchableService; public ?array $data = null; + public static bool $executed = false; + public static bool $failed = false; public bool $object; /** * Initialize the service. - * - * @param array $data */ public function __construct(array $data = []) { @@ -43,8 +43,6 @@ public function handle(): void /** * Handle a job failure. - * - * @param \Throwable $exception */ public function failed(Throwable $exception): void { diff --git a/tests/Unit/Jobs/StartRateYourManagerProcessTest.php b/tests/Unit/Jobs/StartRateYourManagerProcessTest.php index e0d4fea33..c5290f7e8 100644 --- a/tests/Unit/Jobs/StartRateYourManagerProcessTest.php +++ b/tests/Unit/Jobs/StartRateYourManagerProcessTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Jobs; -use Tests\TestCase; -use Illuminate\Support\Facades\Queue; -use App\Jobs\StartRateYourManagerProcess; use App\Jobs\AskEmployeesToRateTheirManager; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Jobs\StartRateYourManagerProcess; use App\Services\Company\Employee\Manager\AssignManager; +use Illuminate\Support\Facades\Queue; +use Tests\TestCase; class StartRateYourManagerProcessTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_starts_the_rate_your_manager_process(): void { diff --git a/tests/Unit/Jobs/StopRateYourManagerProcessTest.php b/tests/Unit/Jobs/StopRateYourManagerProcessTest.php index e84a92988..d966c7fb3 100644 --- a/tests/Unit/Jobs/StopRateYourManagerProcessTest.php +++ b/tests/Unit/Jobs/StopRateYourManagerProcessTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Jobs; -use Carbon\Carbon; -use Tests\TestCase; -use Illuminate\Support\Facades\DB; use App\Jobs\StopRateYourManagerProcess; use App\Models\Company\RateYourManagerSurvey; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; +use Tests\TestCase; class StopRateYourManagerProcessTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_stops_the_rate_your_manager_process(): void { diff --git a/tests/Unit/Jobs/UpdateDashboardPreferenceTest.php b/tests/Unit/Jobs/UpdateDashboardPreferenceTest.php index 4ccca34d0..b1c3f4412 100644 --- a/tests/Unit/Jobs/UpdateDashboardPreferenceTest.php +++ b/tests/Unit/Jobs/UpdateDashboardPreferenceTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Jobs; -use Tests\TestCase; use App\Jobs\UpdateDashboardPreference; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class UpdateDashboardPreferenceTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_user_preference_for_the_dashboard(): void { diff --git a/tests/Unit/Models/Company/AgendaItemTest.php b/tests/Unit/Models/Company/AgendaItemTest.php index 97408c2b6..39794541c 100644 --- a/tests/Unit/Models/Company/AgendaItemTest.php +++ b/tests/Unit/Models/Company/AgendaItemTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Employee; use App\Models\Company\AgendaItem; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; +use Tests\TestCase; class AgendaItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_meeting(): void { diff --git a/tests/Unit/Models/Company/AnswerTest.php b/tests/Unit/Models/Company/AnswerTest.php index cc82544e2..ca3fd5aa6 100644 --- a/tests/Unit/Models/Company/AnswerTest.php +++ b/tests/Unit/Models/Company/AnswerTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Answer; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class AnswerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_question(): void { diff --git a/tests/Unit/Models/Company/AskMeAnythingQuestionTest.php b/tests/Unit/Models/Company/AskMeAnythingQuestionTest.php index 8a80d8422..fed11d1a7 100644 --- a/tests/Unit/Models/Company/AskMeAnythingQuestionTest.php +++ b/tests/Unit/Models/Company/AskMeAnythingQuestionTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\AskMeAnythingQuestion; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class AskMeAnythingQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_session(): void { diff --git a/tests/Unit/Models/Company/AskMeAnythingSessionTest.php b/tests/Unit/Models/Company/AskMeAnythingSessionTest.php index f34e9e693..c27610366 100644 --- a/tests/Unit/Models/Company/AskMeAnythingSessionTest.php +++ b/tests/Unit/Models/Company/AskMeAnythingSessionTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\AskMeAnythingSession; use App\Models\Company\AskMeAnythingQuestion; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\AskMeAnythingSession; +use Tests\TestCase; class AskMeAnythingSessionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/AuditLogTest.php b/tests/Unit/Models/Company/AuditLogTest.php index 0c4f0cfc9..74d0aba11 100644 --- a/tests/Unit/Models/Company/AuditLogTest.php +++ b/tests/Unit/Models/Company/AuditLogTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\AuditLog; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class AuditLogTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/CandidateStageNoteTest.php b/tests/Unit/Models/Company/CandidateStageNoteTest.php index a11c706f9..5616b4518 100644 --- a/tests/Unit/Models/Company/CandidateStageNoteTest.php +++ b/tests/Unit/Models/Company/CandidateStageNoteTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\CandidateStageNote; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CandidateStageNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_candidate_stage(): void { diff --git a/tests/Unit/Models/Company/CandidateStageParticipantTest.php b/tests/Unit/Models/Company/CandidateStageParticipantTest.php index 0a38516c6..0bdc74836 100644 --- a/tests/Unit/Models/Company/CandidateStageParticipantTest.php +++ b/tests/Unit/Models/Company/CandidateStageParticipantTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\CandidateStageParticipant; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CandidateStageParticipantTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_candidate_stage(): void { diff --git a/tests/Unit/Models/Company/CandidateStageTest.php b/tests/Unit/Models/Company/CandidateStageTest.php index c22a3cf54..f33881a60 100644 --- a/tests/Unit/Models/Company/CandidateStageTest.php +++ b/tests/Unit/Models/Company/CandidateStageTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; use App\Models\Company\CandidateStageParticipant; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CandidateStageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_candidate(): void { diff --git a/tests/Unit/Models/Company/CandidateTest.php b/tests/Unit/Models/Company/CandidateTest.php index d1815e3b6..f5acd2732 100644 --- a/tests/Unit/Models/Company/CandidateTest.php +++ b/tests/Unit/Models/Company/CandidateTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\File; use App\Models\Company\Candidate; use App\Models\Company\CandidateStage; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\File; +use Tests\TestCase; class CandidateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/CommentTest.php b/tests/Unit/Models/Company/CommentTest.php index 02595ce47..5a6ee86ab 100644 --- a/tests/Unit/Models/Company/CommentTest.php +++ b/tests/Unit/Models/Company/CommentTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Comment; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_company(): void { diff --git a/tests/Unit/Models/Company/CompanyCalendarTest.php b/tests/Unit/Models/Company/CompanyCalendarTest.php index 4902fc510..6736fbf13 100644 --- a/tests/Unit/Models/Company/CompanyCalendarTest.php +++ b/tests/Unit/Models/Company/CompanyCalendarTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\CompanyCalendar; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class CompanyCalendarTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company_pto_policy(): void { diff --git a/tests/Unit/Models/Company/CompanyDailyUsageHistoryTest.php b/tests/Unit/Models/Company/CompanyDailyUsageHistoryTest.php index 8cd16d7bd..3a453eac3 100644 --- a/tests/Unit/Models/Company/CompanyDailyUsageHistoryTest.php +++ b/tests/Unit/Models/Company/CompanyDailyUsageHistoryTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\CompanyDailyUsageHistory; use App\Models\Company\CompanyUsageHistoryDetails; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CompanyDailyUsageHistoryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/CompanyInvoiceTest.php b/tests/Unit/Models/Company/CompanyInvoiceTest.php index 6cdea8d4e..13b66eb18 100644 --- a/tests/Unit/Models/Company/CompanyInvoiceTest.php +++ b/tests/Unit/Models/Company/CompanyInvoiceTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\CompanyInvoice; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CompanyInvoiceTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/CompanyNewsTest.php b/tests/Unit/Models/Company/CompanyNewsTest.php index e22be1a04..7a5dc7e4f 100644 --- a/tests/Unit/Models/Company/CompanyNewsTest.php +++ b/tests/Unit/Models/Company/CompanyNewsTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; -use App\Models\Company\Employee; use App\Models\Company\CompanyNews; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; +use Tests\ApiTestCase; class CompanyNewsTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/CompanyPTOPolicyTest.php b/tests/Unit/Models/Company/CompanyPTOPolicyTest.php index f8c797a67..32bda4e84 100644 --- a/tests/Unit/Models/Company/CompanyPTOPolicyTest.php +++ b/tests/Unit/Models/Company/CompanyPTOPolicyTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\Company; use App\Models\Company\CompanyCalendar; use App\Models\Company\CompanyPTOPolicy; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class CompanyPTOPolicyTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/CompanyTest.php b/tests/Unit/Models/Company/CompanyTest.php index 376d5ce09..31eada5df 100644 --- a/tests/Unit/Models/Company/CompanyTest.php +++ b/tests/Unit/Models/Company/CompanyTest.php @@ -2,47 +2,44 @@ namespace Tests\Unit\Models\Company; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\File; -use App\Models\Company\Flow; -use App\Models\Company\Team; -use App\Models\Company\Wiki; -use App\Models\Company\Group; -use App\Models\Company\Skill; +use App\Models\Company\AskMeAnythingSession; +use App\Models\Company\AuditLog; +use App\Models\Company\Candidate; use App\Models\Company\Comment; use App\Models\Company\Company; +use App\Models\Company\CompanyDailyUsageHistory; +use App\Models\Company\CompanyInvoice; +use App\Models\Company\CompanyNews; +use App\Models\Company\CompanyPTOPolicy; +use App\Models\Company\ConsultantRate; +use App\Models\Company\DirectReport; +use App\Models\Company\DisciplineCase; use App\Models\Company\ECoffee; -use App\Models\Company\Expense; -use App\Models\Company\Project; -use App\Models\Company\AuditLog; use App\Models\Company\Employee; +use App\Models\Company\EmployeeStatus; +use App\Models\Company\Expense; +use App\Models\Company\ExpenseCategory; +use App\Models\Company\File; +use App\Models\Company\Flow; +use App\Models\Company\Group; use App\Models\Company\Hardware; -use App\Models\Company\Position; -use App\Models\Company\Question; -use App\Models\Company\Software; -use App\Models\Company\Candidate; use App\Models\Company\ImportJob; use App\Models\Company\IssueType; -use App\Models\Company\Timesheet; use App\Models\Company\JobOpening; -use App\Models\Company\CompanyNews; -use App\Models\Company\DirectReport; -use App\Models\Company\CompanyInvoice; -use App\Models\Company\ConsultantRate; -use App\Models\Company\DisciplineCase; -use App\Models\Company\EmployeeStatus; -use App\Models\Company\ExpenseCategory; -use App\Models\Company\CompanyPTOPolicy; -use App\Models\Company\AskMeAnythingSession; +use App\Models\Company\Position; +use App\Models\Company\Project; +use App\Models\Company\Question; use App\Models\Company\RecruitingStageTemplate; -use App\Models\Company\CompanyDailyUsageHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Skill; +use App\Models\Company\Software; +use App\Models\Company\Team; +use App\Models\Company\Timesheet; +use App\Models\Company\Wiki; +use Carbon\Carbon; +use Tests\TestCase; class CompanyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_has_many_employees(): void { diff --git a/tests/Unit/Models/Company/CompanyUsageHistoryDetailsTest.php b/tests/Unit/Models/Company/CompanyUsageHistoryDetailsTest.php index f14aacf82..a40e54851 100644 --- a/tests/Unit/Models/Company/CompanyUsageHistoryDetailsTest.php +++ b/tests/Unit/Models/Company/CompanyUsageHistoryDetailsTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\CompanyUsageHistoryDetails; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CompanyUsageHistoryDetailsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company_daily_usage_history(): void { diff --git a/tests/Unit/Models/Company/ConsultantRateTest.php b/tests/Unit/Models/Company/ConsultantRateTest.php index e561ec873..478e840b5 100644 --- a/tests/Unit/Models/Company/ConsultantRateTest.php +++ b/tests/Unit/Models/Company/ConsultantRateTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ConsultantRate; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ConsultantRateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/DisciplineCaseTest.php b/tests/Unit/Models/Company/DisciplineCaseTest.php index 52078fc14..0c5313c8a 100644 --- a/tests/Unit/Models/Company/DisciplineCaseTest.php +++ b/tests/Unit/Models/Company/DisciplineCaseTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Employee; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; +use Tests\TestCase; class DisciplineCaseTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/DisciplineEventTest.php b/tests/Unit/Models/Company/DisciplineEventTest.php index a55c74230..3953e5a5c 100644 --- a/tests/Unit/Models/Company/DisciplineEventTest.php +++ b/tests/Unit/Models/Company/DisciplineEventTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\File; -use App\Models\Company\Employee; use App\Models\Company\DisciplineEvent; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; +use App\Models\Company\File; +use Tests\TestCase; class DisciplineEventTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_case(): void { diff --git a/tests/Unit/Models/Company/ECoffeeMatchTest.php b/tests/Unit/Models/Company/ECoffeeMatchTest.php index 481012793..dd6c68117 100644 --- a/tests/Unit/Models/Company/ECoffeeMatchTest.php +++ b/tests/Unit/Models/Company/ECoffeeMatchTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ECoffeeMatch; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ECoffeeMatchTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_e_coffee(): void { diff --git a/tests/Unit/Models/Company/ECoffeeTest.php b/tests/Unit/Models/Company/ECoffeeTest.php index 3ef7f6367..24fbf86ff 100644 --- a/tests/Unit/Models/Company/ECoffeeTest.php +++ b/tests/Unit/Models/Company/ECoffeeTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ECoffee; use App\Models\Company\ECoffeeMatch; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ECoffeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/EmployeeDailyCalendarEntryTest.php b/tests/Unit/Models/Company/EmployeeDailyCalendarEntryTest.php index 30d2439e3..d9a6ac482 100644 --- a/tests/Unit/Models/Company/EmployeeDailyCalendarEntryTest.php +++ b/tests/Unit/Models/Company/EmployeeDailyCalendarEntryTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\EmployeeDailyCalendarEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class EmployeeDailyCalendarEntryTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/Company/EmployeeLogTest.php b/tests/Unit/Models/Company/EmployeeLogTest.php index 812aecf18..d04e079d0 100644 --- a/tests/Unit/Models/Company/EmployeeLogTest.php +++ b/tests/Unit/Models/Company/EmployeeLogTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\EmployeeLog; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class EmployeeLogTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/Company/EmployeePlannedHolidayTest.php b/tests/Unit/Models/Company/EmployeePlannedHolidayTest.php index 42b415989..07becbcdb 100644 --- a/tests/Unit/Models/Company/EmployeePlannedHolidayTest.php +++ b/tests/Unit/Models/Company/EmployeePlannedHolidayTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\EmployeePlannedHoliday; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class EmployeePlannedHolidayTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/Company/EmployeePositionHistoryTest.php b/tests/Unit/Models/Company/EmployeePositionHistoryTest.php index 47f562646..240c247e1 100644 --- a/tests/Unit/Models/Company/EmployeePositionHistoryTest.php +++ b/tests/Unit/Models/Company/EmployeePositionHistoryTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\EmployeePositionHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class EmployeePositionHistoryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/Company/EmployeeStatusTest.php b/tests/Unit/Models/Company/EmployeeStatusTest.php index 1b1d9b7cc..1d74de754 100644 --- a/tests/Unit/Models/Company/EmployeeStatusTest.php +++ b/tests/Unit/Models/Company/EmployeeStatusTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\Company; use App\Models\Company\EmployeeStatus; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class EmployeeStatusTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/EmployeeTest.php b/tests/Unit/Models/Company/EmployeeTest.php index f8ecf5395..7036593ae 100644 --- a/tests/Unit/Models/Company/EmployeeTest.php +++ b/tests/Unit/Models/Company/EmployeeTest.php @@ -2,53 +2,50 @@ namespace Tests\Unit\Models\Company; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\File; -use App\Models\Company\Ship; -use App\Models\Company\Task; -use App\Models\Company\Team; -use App\Models\Company\Group; -use App\Models\Company\Place; -use App\Models\Company\Skill; +use App\Models\Company\AgendaItem; use App\Models\Company\Answer; -use App\Models\Company\Morale; use App\Models\Company\Comment; -use App\Models\Company\Expense; -use App\Models\Company\Meeting; -use App\Models\Company\Project; -use App\Models\Company\Worklog; +use App\Models\Company\CompanyNews; +use App\Models\Company\CompanyPTOPolicy; +use App\Models\Company\ConsultantRate; +use App\Models\Company\DirectReport; +use App\Models\Company\DisciplineCase; use App\Models\Company\Employee; +use App\Models\Company\EmployeeDailyCalendarEntry; +use App\Models\Company\EmployeeLog; +use App\Models\Company\EmployeePlannedHoliday; +use App\Models\Company\EmployeePositionHistory; +use App\Models\Company\Expense; +use App\Models\Company\File; +use App\Models\Company\Group; +use App\Models\Company\GuessEmployeeGame; use App\Models\Company\Hardware; -use App\Models\Company\Software; -use App\Models\Company\TeamNews; -use App\Models\Company\Timesheet; -use App\Models\Company\AgendaItem; use App\Models\Company\JobOpening; -use App\Models\Company\CompanyNews; -use App\Models\Company\EmployeeLog; -use App\Models\Company\ProjectTask; -use App\Models\Company\DirectReport; +use App\Models\Company\Meeting; +use App\Models\Company\Morale; use App\Models\Company\Notification; -use App\Models\Company\ProjectIssue; -use App\Models\Company\WorkFromHome; use App\Models\Company\OneOnOneEntry; -use App\Models\Company\ConsultantRate; -use App\Models\Company\DisciplineCase; +use App\Models\Company\Place; +use App\Models\Company\Project; use App\Models\Company\ProjectDecision; -use App\Models\Company\CompanyPTOPolicy; -use App\Models\Company\GuessEmployeeGame; +use App\Models\Company\ProjectIssue; +use App\Models\Company\ProjectTask; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; -use App\Models\Company\EmployeePlannedHoliday; -use App\Models\Company\EmployeePositionHistory; -use App\Models\Company\EmployeeDailyCalendarEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Ship; +use App\Models\Company\Skill; +use App\Models\Company\Software; +use App\Models\Company\Task; +use App\Models\Company\Team; +use App\Models\Company\TeamNews; +use App\Models\Company\Timesheet; +use App\Models\Company\WorkFromHome; +use App\Models\Company\Worklog; +use Carbon\Carbon; +use Tests\TestCase; class EmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_user(): void { diff --git a/tests/Unit/Models/Company/ExpenseCategoryTest.php b/tests/Unit/Models/Company/ExpenseCategoryTest.php index 41215457c..cc7fb15af 100644 --- a/tests/Unit/Models/Company/ExpenseCategoryTest.php +++ b/tests/Unit/Models/Company/ExpenseCategoryTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Expense; use App\Models\Company\ExpenseCategory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ExpenseCategoryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/ExpenseTest.php b/tests/Unit/Models/Company/ExpenseTest.php index 748252c40..a091b4784 100644 --- a/tests/Unit/Models/Company/ExpenseTest.php +++ b/tests/Unit/Models/Company/ExpenseTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Expense; use App\Models\Company\ExpenseCategory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ExpenseTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/FileTest.php b/tests/Unit/Models/Company/FileTest.php index 12dd25d1f..461621603 100644 --- a/tests/Unit/Models/Company/FileTest.php +++ b/tests/Unit/Models/Company/FileTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\File; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\File; +use Tests\TestCase; class FileTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/FlowTest.php b/tests/Unit/Models/Company/FlowTest.php index 4d138e7be..11ba23b20 100644 --- a/tests/Unit/Models/Company/FlowTest.php +++ b/tests/Unit/Models/Company/FlowTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\Flow; use App\Models\Company\Step; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class FlowTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/GroupTest.php b/tests/Unit/Models/Company/GroupTest.php index d559ce840..b7ff8fee6 100644 --- a/tests/Unit/Models/Company/GroupTest.php +++ b/tests/Unit/Models/Company/GroupTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; +use App\Models\Company\Employee; use App\Models\Company\Group; use App\Models\Company\Meeting; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class GroupTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/GuessEmployeeGameTest.php b/tests/Unit/Models/Company/GuessEmployeeGameTest.php index 422d45a1b..c7e7c2ad3 100644 --- a/tests/Unit/Models/Company/GuessEmployeeGameTest.php +++ b/tests/Unit/Models/Company/GuessEmployeeGameTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\GuessEmployeeGame; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class GuessEmployeeGameTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_player(): void { diff --git a/tests/Unit/Models/Company/HardwareTest.php b/tests/Unit/Models/Company/HardwareTest.php index 32f074497..f819504b2 100644 --- a/tests/Unit/Models/Company/HardwareTest.php +++ b/tests/Unit/Models/Company/HardwareTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\Employee; use App\Models\Company\Hardware; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class HardwareTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/ImportJobReportTest.php b/tests/Unit/Models/Company/ImportJobReportTest.php index 2545fe5ba..90db1884b 100644 --- a/tests/Unit/Models/Company/ImportJobReportTest.php +++ b/tests/Unit/Models/Company/ImportJobReportTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ImportJobReport; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ImportJobReportTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_import_job(): void { diff --git a/tests/Unit/Models/Company/ImportJobTest.php b/tests/Unit/Models/Company/ImportJobTest.php index d5f611be8..47e8745bb 100644 --- a/tests/Unit/Models/Company/ImportJobTest.php +++ b/tests/Unit/Models/Company/ImportJobTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ImportJob; use App\Models\Company\ImportJobReport; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ImportJobTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/IssueTypeTest.php b/tests/Unit/Models/Company/IssueTypeTest.php index eeb12194d..b90f730c4 100644 --- a/tests/Unit/Models/Company/IssueTypeTest.php +++ b/tests/Unit/Models/Company/IssueTypeTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\IssueType; use App\Models\Company\ProjectIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class IssueTypeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/JobOpeningTest.php b/tests/Unit/Models/Company/JobOpeningTest.php index dccdcd425..f4543498b 100644 --- a/tests/Unit/Models/Company/JobOpeningTest.php +++ b/tests/Unit/Models/Company/JobOpeningTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Employee; use App\Models\Company\Candidate; +use App\Models\Company\Employee; use App\Models\Company\JobOpening; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class JobOpeningTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/MeetingDecisionTest.php b/tests/Unit/Models/Company/MeetingDecisionTest.php index 9dc05f412..85d7cf787 100644 --- a/tests/Unit/Models/Company/MeetingDecisionTest.php +++ b/tests/Unit/Models/Company/MeetingDecisionTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\MeetingDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class MeetingDecisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_agenda_item(): void { diff --git a/tests/Unit/Models/Company/MeetingTest.php b/tests/Unit/Models/Company/MeetingTest.php index c92c6a778..10a90b0b8 100644 --- a/tests/Unit/Models/Company/MeetingTest.php +++ b/tests/Unit/Models/Company/MeetingTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Meeting; -use App\Models\Company\Employee; use App\Models\Company\AgendaItem; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; +use App\Models\Company\Meeting; +use Tests\TestCase; class MeetingTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_group(): void { diff --git a/tests/Unit/Models/Company/MoraleCompanyHistoryTest.php b/tests/Unit/Models/Company/MoraleCompanyHistoryTest.php index a47889917..04b23d7a3 100644 --- a/tests/Unit/Models/Company/MoraleCompanyHistoryTest.php +++ b/tests/Unit/Models/Company/MoraleCompanyHistoryTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\MoraleCompanyHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class MoraleCompanyHistoryTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/MoraleTeamHistoryTest.php b/tests/Unit/Models/Company/MoraleTeamHistoryTest.php index 7e09691ae..2e735db6f 100644 --- a/tests/Unit/Models/Company/MoraleTeamHistoryTest.php +++ b/tests/Unit/Models/Company/MoraleTeamHistoryTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\MoraleTeamHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class MoraleTeamHistoryTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_team(): void { diff --git a/tests/Unit/Models/Company/MoraleTest.php b/tests/Unit/Models/Company/MoraleTest.php index 898107ea2..806c48aea 100644 --- a/tests/Unit/Models/Company/MoraleTest.php +++ b/tests/Unit/Models/Company/MoraleTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\Morale; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class MoraleTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/Company/NotificationTest.php b/tests/Unit/Models/Company/NotificationTest.php index 4d31f93c9..e205f30fa 100644 --- a/tests/Unit/Models/Company/NotificationTest.php +++ b/tests/Unit/Models/Company/NotificationTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Notification; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class NotificationTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/Company/OneOnOneActionItemTest.php b/tests/Unit/Models/Company/OneOnOneActionItemTest.php index f5c0ec6c4..7a34e6f55 100644 --- a/tests/Unit/Models/Company/OneOnOneActionItemTest.php +++ b/tests/Unit/Models/Company/OneOnOneActionItemTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\OneOnOneActionItem; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class OneOnOneActionItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_entry(): void { diff --git a/tests/Unit/Models/Company/OneOnOneEntryTest.php b/tests/Unit/Models/Company/OneOnOneEntryTest.php index fabbc1621..40b8686f9 100644 --- a/tests/Unit/Models/Company/OneOnOneEntryTest.php +++ b/tests/Unit/Models/Company/OneOnOneEntryTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\OneOnOneNote; -use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneActionItem; +use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class OneOnOneEntryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_manager(): void { diff --git a/tests/Unit/Models/Company/OneOnOneNoteTest.php b/tests/Unit/Models/Company/OneOnOneNoteTest.php index 5412b2b58..1a50db325 100644 --- a/tests/Unit/Models/Company/OneOnOneNoteTest.php +++ b/tests/Unit/Models/Company/OneOnOneNoteTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\OneOnOneNote; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class OneOnOneNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_entry(): void { diff --git a/tests/Unit/Models/Company/OneOnOneTalkingPointTest.php b/tests/Unit/Models/Company/OneOnOneTalkingPointTest.php index b2cc9c72a..92b5c7c8d 100644 --- a/tests/Unit/Models/Company/OneOnOneTalkingPointTest.php +++ b/tests/Unit/Models/Company/OneOnOneTalkingPointTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class OneOnOneTalkingPointTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_entry(): void { diff --git a/tests/Unit/Models/Company/PageRevisionTest.php b/tests/Unit/Models/Company/PageRevisionTest.php index 031c3777c..e26bd2236 100644 --- a/tests/Unit/Models/Company/PageRevisionTest.php +++ b/tests/Unit/Models/Company/PageRevisionTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\PageRevision; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class PageRevisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_page(): void { diff --git a/tests/Unit/Models/Company/PageTest.php b/tests/Unit/Models/Company/PageTest.php index efc131101..b31943d28 100644 --- a/tests/Unit/Models/Company/PageTest.php +++ b/tests/Unit/Models/Company/PageTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Models\Company; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; use App\Models\Company\Page; -use App\Models\Company\Pageview; use App\Models\Company\PageRevision; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Pageview; +use Carbon\Carbon; +use Tests\TestCase; class PageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_wiki(): void { @@ -64,7 +61,7 @@ public function it_gets_the_original_author(): void 'id' => $revisionA->employee->id, 'avatar' => ImageHelper::getAvatar($revisionA->employee, 10), 'name' => $revisionA->employee->name, - 'url' => env('APP_URL') . '/' . $revisionA->employee->company_id . '/employees/' . $revisionA->employee->id, + 'url' => env('APP_URL').'/'.$revisionA->employee->company_id.'/employees/'.$revisionA->employee->id, 'created_at' => 'Nov 01, 2017', ], $page->getOriginalAuthor(10) @@ -94,7 +91,7 @@ public function it_gets_the_most_recent_author(): void 'id' => $revisionC->employee->id, 'avatar' => ImageHelper::getAvatar($revisionC->employee, 10), 'name' => $revisionC->employee->name, - 'url' => env('APP_URL') . '/' . $revisionC->employee->company_id . '/employees/' . $revisionC->employee->id, + 'url' => env('APP_URL').'/'.$revisionC->employee->company_id.'/employees/'.$revisionC->employee->id, 'created_at' => 'Jan 01, 2018', ], $page->getMostRecentAuthor(10) diff --git a/tests/Unit/Models/Company/PageviewTest.php b/tests/Unit/Models/Company/PageviewTest.php index c51e7d314..721485c7a 100644 --- a/tests/Unit/Models/Company/PageviewTest.php +++ b/tests/Unit/Models/Company/PageviewTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Pageview; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class PageviewTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_page(): void { diff --git a/tests/Unit/Models/Company/PlaceTest.php b/tests/Unit/Models/Company/PlaceTest.php index dff0459e5..af55fd884 100644 --- a/tests/Unit/Models/Company/PlaceTest.php +++ b/tests/Unit/Models/Company/PlaceTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Place; use App\Models\Company\Country; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Place; +use Tests\TestCase; class PlaceTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_has_one_country(): void { diff --git a/tests/Unit/Models/Company/PositionTest.php b/tests/Unit/Models/Company/PositionTest.php index 38dfd3f69..bf0c246d4 100644 --- a/tests/Unit/Models/Company/PositionTest.php +++ b/tests/Unit/Models/Company/PositionTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\EmployeePositionHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Position; +use Tests\TestCase; class PositionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_company(): void { diff --git a/tests/Unit/Models/Company/ProjectBoardTest.php b/tests/Unit/Models/Company/ProjectBoardTest.php index 3041c9239..ea35bc760 100644 --- a/tests/Unit/Models/Company/ProjectBoardTest.php +++ b/tests/Unit/Models/Company/ProjectBoardTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectBoardTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectDecisionTest.php b/tests/Unit/Models/Company/ProjectDecisionTest.php index 0a1dd3b2d..e8bfffb6e 100644 --- a/tests/Unit/Models/Company/ProjectDecisionTest.php +++ b/tests/Unit/Models/Company/ProjectDecisionTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectDecisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectIssueTest.php b/tests/Unit/Models/Company/ProjectIssueTest.php index a90b94762..d19a518e5 100644 --- a/tests/Unit/Models/Company/ProjectIssueTest.php +++ b/tests/Unit/Models/Company/ProjectIssueTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Employee; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectLabel; use App\Models\Company\ProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectLabelTest.php b/tests/Unit/Models/Company/ProjectLabelTest.php index 1befa6c5a..8953e7f9b 100644 --- a/tests/Unit/Models/Company/ProjectLabelTest.php +++ b/tests/Unit/Models/Company/ProjectLabelTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectLabel; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectLabelTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectLinkTest.php b/tests/Unit/Models/Company/ProjectLinkTest.php index 314c75ffe..3baf9f792 100644 --- a/tests/Unit/Models/Company/ProjectLinkTest.php +++ b/tests/Unit/Models/Company/ProjectLinkTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectLink; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectLinkTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectMemberActivityTest.php b/tests/Unit/Models/Company/ProjectMemberActivityTest.php index 450be0099..00f6ce68d 100644 --- a/tests/Unit/Models/Company/ProjectMemberActivityTest.php +++ b/tests/Unit/Models/Company/ProjectMemberActivityTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectMemberActivity; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectMemberActivityTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectMessageTest.php b/tests/Unit/Models/Company/ProjectMessageTest.php index 195f78694..96fd22271 100644 --- a/tests/Unit/Models/Company/ProjectMessageTest.php +++ b/tests/Unit/Models/Company/ProjectMessageTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectMessageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectSprintTest.php b/tests/Unit/Models/Company/ProjectSprintTest.php index ba3e01635..10ad39ff5 100644 --- a/tests/Unit/Models/Company/ProjectSprintTest.php +++ b/tests/Unit/Models/Company/ProjectSprintTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectStatusTest.php b/tests/Unit/Models/Company/ProjectStatusTest.php index 6d501a6b1..165fc49e0 100644 --- a/tests/Unit/Models/Company/ProjectStatusTest.php +++ b/tests/Unit/Models/Company/ProjectStatusTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectStatus; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectStatusTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectTaskListTest.php b/tests/Unit/Models/Company/ProjectTaskListTest.php index 0f08de9ec..86f0000b2 100644 --- a/tests/Unit/Models/Company/ProjectTaskListTest.php +++ b/tests/Unit/Models/Company/ProjectTaskListTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\ProjectTaskList; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectTaskListTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectTaskTest.php b/tests/Unit/Models/Company/ProjectTaskTest.php index b48a4296d..a05e53a5d 100644 --- a/tests/Unit/Models/Company/ProjectTaskTest.php +++ b/tests/Unit/Models/Company/ProjectTaskTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Employee; use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectTaskTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/ProjectTest.php b/tests/Unit/Models/Company/ProjectTest.php index 2597ce0ce..ea1c18288 100644 --- a/tests/Unit/Models/Company/ProjectTest.php +++ b/tests/Unit/Models/Company/ProjectTest.php @@ -2,28 +2,25 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; +use App\Models\Company\Employee; use App\Models\Company\File; -use App\Models\Company\Team; use App\Models\Company\Project; -use App\Models\Company\Employee; -use App\Models\Company\ProjectLink; -use App\Models\Company\ProjectTask; use App\Models\Company\ProjectBoard; +use App\Models\Company\ProjectDecision; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectLabel; +use App\Models\Company\ProjectLink; +use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectStatus; -use App\Models\Company\ProjectMessage; -use App\Models\Company\ProjectDecision; +use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; +use App\Models\Company\Team; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/QuestionTest.php b/tests/Unit/Models/Company/QuestionTest.php index 8b8fa5bb0..2941b6128 100644 --- a/tests/Unit/Models/Company/QuestionTest.php +++ b/tests/Unit/Models/Company/QuestionTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Answer; use App\Models\Company\Company; use App\Models\Company\Question; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class QuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/RateYourManagerAnswerTest.php b/tests/Unit/Models/Company/RateYourManagerAnswerTest.php index 116f2537d..348475221 100644 --- a/tests/Unit/Models/Company/RateYourManagerAnswerTest.php +++ b/tests/Unit/Models/Company/RateYourManagerAnswerTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\RateYourManagerAnswer; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class RateYourManagerAnswerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_entry(): void { diff --git a/tests/Unit/Models/Company/RateYourManagerSurveyTest.php b/tests/Unit/Models/Company/RateYourManagerSurveyTest.php index f37dace46..dbc4555d9 100644 --- a/tests/Unit/Models/Company/RateYourManagerSurveyTest.php +++ b/tests/Unit/Models/Company/RateYourManagerSurveyTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class RateYourManagerSurveyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_manager(): void { diff --git a/tests/Unit/Models/Company/RecruitingStageTemplateTest.php b/tests/Unit/Models/Company/RecruitingStageTemplateTest.php index d3e0caa61..277a29718 100644 --- a/tests/Unit/Models/Company/RecruitingStageTemplateTest.php +++ b/tests/Unit/Models/Company/RecruitingStageTemplateTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\JobOpening; use App\Models\Company\RecruitingStage; use App\Models\Company\RecruitingStageTemplate; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class RecruitingStageTemplateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/RecruitingStageTest.php b/tests/Unit/Models/Company/RecruitingStageTest.php index 48ce0ed02..dc27f17ec 100644 --- a/tests/Unit/Models/Company/RecruitingStageTest.php +++ b/tests/Unit/Models/Company/RecruitingStageTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\RecruitingStage; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class RecruitingStageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_template(): void { diff --git a/tests/Unit/Models/Company/ShipTest.php b/tests/Unit/Models/Company/ShipTest.php index bb5a38fb4..204a2057f 100644 --- a/tests/Unit/Models/Company/ShipTest.php +++ b/tests/Unit/Models/Company/ShipTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Ship; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Ship; +use Tests\TestCase; class ShipTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_team(): void { diff --git a/tests/Unit/Models/Company/SkillTest.php b/tests/Unit/Models/Company/SkillTest.php index fa5b7e45a..9c4086354 100644 --- a/tests/Unit/Models/Company/SkillTest.php +++ b/tests/Unit/Models/Company/SkillTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Skill; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Skill; +use Tests\TestCase; class SkillTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/SoftwareTest.php b/tests/Unit/Models/Company/SoftwareTest.php index bf0e54ff7..b1f27c98c 100644 --- a/tests/Unit/Models/Company/SoftwareTest.php +++ b/tests/Unit/Models/Company/SoftwareTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; -use App\Models\Company\File; use App\Models\Company\Employee; +use App\Models\Company\File; use App\Models\Company\Software; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class SoftwareTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/StepTest.php b/tests/Unit/Models/Company/StepTest.php index 871efd8ff..321c92d1a 100644 --- a/tests/Unit/Models/Company/StepTest.php +++ b/tests/Unit/Models/Company/StepTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; -use App\Models\Company\Step; use App\Models\Company\Action; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Step; +use Tests\ApiTestCase; class StepTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_flow(): void { diff --git a/tests/Unit/Models/Company/TaskTest.php b/tests/Unit/Models/Company/TaskTest.php index d20402446..57559e1d1 100644 --- a/tests/Unit/Models/Company/TaskTest.php +++ b/tests/Unit/Models/Company/TaskTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; -use App\Models\Company\Task; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Task; +use Tests\ApiTestCase; class TaskTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_assignee(): void { diff --git a/tests/Unit/Models/Company/TeamLogTest.php b/tests/Unit/Models/Company/TeamLogTest.php index b0f7b2c31..4c405ddb6 100644 --- a/tests/Unit/Models/Company/TeamLogTest.php +++ b/tests/Unit/Models/Company/TeamLogTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\TeamLog; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class TeamLogTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_team(): void { diff --git a/tests/Unit/Models/Company/TeamNewsTest.php b/tests/Unit/Models/Company/TeamNewsTest.php index 6e4cd83e7..6e7b0b7b5 100644 --- a/tests/Unit/Models/Company/TeamNewsTest.php +++ b/tests/Unit/Models/Company/TeamNewsTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Helpers\ImageHelper; use App\Models\Company\Employee; use App\Models\Company\TeamNews; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class TeamNewsTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_team(): void { diff --git a/tests/Unit/Models/Company/TeamTest.php b/tests/Unit/Models/Company/TeamTest.php index a45da097f..01e2985f1 100644 --- a/tests/Unit/Models/Company/TeamTest.php +++ b/tests/Unit/Models/Company/TeamTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Models\Company; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; +use App\Models\Company\Project; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Models\Company\Project; -use App\Models\Company\Worklog; -use App\Models\Company\Employee; use App\Models\Company\TeamNews; -use App\Models\Company\JobOpening; use App\Models\Company\TeamUsefulLink; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Worklog; +use Carbon\Carbon; +use Tests\TestCase; class TeamTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_company() { diff --git a/tests/Unit/Models/Company/TeamUsefulLinkTest.php b/tests/Unit/Models/Company/TeamUsefulLinkTest.php index 499f69818..763a2bb75 100644 --- a/tests/Unit/Models/Company/TeamUsefulLinkTest.php +++ b/tests/Unit/Models/Company/TeamUsefulLinkTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\TeamUsefulLink; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class TeamUsefulLinkTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_team(): void { diff --git a/tests/Unit/Models/Company/TimeTrackingEntryTest.php b/tests/Unit/Models/Company/TimeTrackingEntryTest.php index ca778aeeb..53f2df1fd 100644 --- a/tests/Unit/Models/Company/TimeTrackingEntryTest.php +++ b/tests/Unit/Models/Company/TimeTrackingEntryTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class TimeTrackingEntryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_project(): void { diff --git a/tests/Unit/Models/Company/TimesheetTest.php b/tests/Unit/Models/Company/TimesheetTest.php index d4e4441f0..cd9e33ac1 100644 --- a/tests/Unit/Models/Company/TimesheetTest.php +++ b/tests/Unit/Models/Company/TimesheetTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class TimesheetTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/WikiTest.php b/tests/Unit/Models/Company/WikiTest.php index 64c79abcb..4ae3345fd 100644 --- a/tests/Unit/Models/Company/WikiTest.php +++ b/tests/Unit/Models/Company/WikiTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; use App\Models\Company\Page; use App\Models\Company\Wiki; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class WikiTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_a_company(): void { diff --git a/tests/Unit/Models/Company/WorkFromHomeTest.php b/tests/Unit/Models/Company/WorkFromHomeTest.php index a591c9cc8..e8e6b296d 100644 --- a/tests/Unit/Models/Company/WorkFromHomeTest.php +++ b/tests/Unit/Models/Company/WorkFromHomeTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\ApiTestCase; use App\Models\Company\Employee; use App\Models\Company\WorkFromHome; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class WorkFromHomeTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/Company/WorklogTest.php b/tests/Unit/Models/Company/WorklogTest.php index c50c9dcb2..7ed33e9b0 100644 --- a/tests/Unit/Models/Company/WorklogTest.php +++ b/tests/Unit/Models/Company/WorklogTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Models\Company; -use Tests\TestCase; -use App\Models\Company\Worklog; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Worklog; +use Tests\TestCase; class WorklogTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_belongs_to_an_employee(): void { diff --git a/tests/Unit/Models/User/PronounTest.php b/tests/Unit/Models/User/PronounTest.php index 3b1e49425..5a29d8444 100644 --- a/tests/Unit/Models/User/PronounTest.php +++ b/tests/Unit/Models/User/PronounTest.php @@ -2,14 +2,11 @@ namespace Tests\Unit\Models\User; -use Tests\TestCase; use App\Models\User\Pronoun; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class PronounTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_the_translated_label(): void { diff --git a/tests/Unit/Models/User/UserTest.php b/tests/Unit/Models/User/UserTest.php index b016b842e..20925b374 100644 --- a/tests/Unit/Models/User/UserTest.php +++ b/tests/Unit/Models/User/UserTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Models\User; -use Tests\TestCase; -use App\Models\User\User; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Models\User\User; use Illuminate\Auth\Notifications\VerifyEmail; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Support\Facades\Notification as FacadesNotification; +use Tests\TestCase; class UserTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_has_many_employees(): void { diff --git a/tests/Unit/Notifications/EmailMessagingTest.php b/tests/Unit/Notifications/EmailMessagingTest.php index 254117ed2..08a5306cc 100644 --- a/tests/Unit/Notifications/EmailMessagingTest.php +++ b/tests/Unit/Notifications/EmailMessagingTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Notifications; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Support\Facades\Notification; use Illuminate\Auth\Notifications\VerifyEmail; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Notification; +use Tests\TestCase; class EmailMessagingTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sends_a_confirmation_email() { diff --git a/tests/Unit/Services/BaseServiceTest.php b/tests/Unit/Services/BaseServiceTest.php index 0eb257702..6e180cfdc 100644 --- a/tests/Unit/Services/BaseServiceTest.php +++ b/tests/Unit/Services/BaseServiceTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\User\User; -use App\Models\Company\Team; -use App\Services\BaseService; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Team; +use App\Models\User\User; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Tests\TestCase; class BaseServiceTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_an_empty_rule_array(): void { @@ -37,8 +34,8 @@ public function it_validates_rules(): void $stub = $this->getMockForAbstractClass(BaseService::class, [], '', true, true, true, ['rules']); $stub->expects($this->any()) - ->method('rules') - ->will($this->returnValue($rules)); + ->method('rules') + ->will($this->returnValue($rules)); $this->assertTrue( $stub->validateRules([ @@ -57,8 +54,8 @@ public function it_validates_rules_fail(): void $stub = $this->getMockForAbstractClass(BaseService::class, [], '', true, true, true, ['rules']); $stub->expects($this->any()) - ->method('rules') - ->will($this->returnValue($rules)); + ->method('rules') + ->will($this->returnValue($rules)); $this->expectException(\Illuminate\Validation\ValidationException::class); $this->assertFalse( diff --git a/tests/Unit/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestionTest.php b/tests/Unit/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestionTest.php index 85cf0a770..58634f1c5 100644 --- a/tests/Unit/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestionTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\AskMeAnything; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; +use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Employee; +use App\Services\Company\Adminland\AskMeAnything\AnswerAskMeAnythingQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; -use App\Models\Company\AskMeAnythingSession; -use App\Models\Company\AskMeAnythingQuestion; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\AskMeAnything\AnswerAskMeAnythingQuestion; +use Tests\TestCase; class AnswerAskMeAnythingQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_question_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestionTest.php b/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestionTest.php index 111474d03..e1c7784a6 100644 --- a/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestionTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Adminland\AskMeAnything; -use Tests\TestCase; +use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Employee; +use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingQuestion; use Illuminate\Support\Facades\Queue; -use App\Models\Company\AskMeAnythingSession; -use App\Models\Company\AskMeAnythingQuestion; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingQuestion; +use Tests\TestCase; class CreateAskMeAnythingQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_question_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSessionTest.php b/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSessionTest.php index 28fb4a631..feb9bb95d 100644 --- a/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSessionTest.php +++ b/tests/Unit/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSessionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\AskMeAnything; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Employee; +use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingSession; use Illuminate\Support\Facades\Queue; -use App\Models\Company\AskMeAnythingSession; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingSession; +use Tests\TestCase; class CreateAskMeAnythingSessionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_session_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestionTest.php b/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestionTest.php index ceaec9228..f1da2754a 100644 --- a/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\AskMeAnything; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Employee; +use App\Services\Company\Adminland\AskMeAnything\DestroyAskMeAnythingQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; -use App\Models\Company\AskMeAnythingSession; -use App\Models\Company\AskMeAnythingQuestion; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\AskMeAnything\DestroyAskMeAnythingQuestion; +use Tests\TestCase; class DestroyAskMeAnythingQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_question_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSessionTest.php b/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSessionTest.php index fcbeab75d..6e4aaf184 100644 --- a/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSessionTest.php +++ b/tests/Unit/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSessionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\AskMeAnything; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Employee; +use App\Services\Company\Adminland\AskMeAnything\DestroyAskMeAnythingSession; use Illuminate\Support\Facades\Queue; -use App\Models\Company\AskMeAnythingSession; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\AskMeAnything\DestroyAskMeAnythingSession; +use Tests\TestCase; class DestroyAskMeAnythingSessionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_session_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSessionTest.php b/tests/Unit/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSessionTest.php index 78526cccc..1ffc151a2 100644 --- a/tests/Unit/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSessionTest.php +++ b/tests/Unit/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSessionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\AskMeAnything; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Employee; +use App\Services\Company\Adminland\AskMeAnything\ToggleAskMeAnythingSession; use Illuminate\Support\Facades\Queue; -use App\Models\Company\AskMeAnythingSession; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\AskMeAnything\ToggleAskMeAnythingSession; +use Tests\TestCase; class ToggleAskMeAnythingSessionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_a_session_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSessionTest.php b/tests/Unit/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSessionTest.php index e9d607eb3..66fe7525b 100644 --- a/tests/Unit/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSessionTest.php +++ b/tests/Unit/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSessionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\AskMeAnything; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Employee; +use App\Services\Company\Adminland\AskMeAnything\UpdateAskMeAnythingSession; use Illuminate\Support\Facades\Queue; -use App\Models\Company\AskMeAnythingSession; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\AskMeAnything\UpdateAskMeAnythingSession; +use Tests\TestCase; class UpdateAskMeAnythingSessionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_session_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/AddUserToCompanyTest.php b/tests/Unit/Services/Company/Adminland/Company/AddUserToCompanyTest.php index 9eefbad54..f0577d3f1 100644 --- a/tests/Unit/Services/Company/Adminland/Company/AddUserToCompanyTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/AddUserToCompanyTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; -use App\Models\User\User; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; +use App\Models\User\User; +use App\Services\Company\Adminland\Company\AddUserToCompany; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Company\AddUserToCompany; +use Tests\TestCase; class AddUserToCompanyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_user_to_a_company_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/CreateCompanyTest.php b/tests/Unit/Services/Company/Adminland/Company/CreateCompanyTest.php index c52514550..707b226bc 100644 --- a/tests/Unit/Services/Company/Adminland/Company/CreateCompanyTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/CreateCompanyTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; -use App\Models\User\User; use App\Jobs\LogAccountAudit; +use App\Jobs\ProvisionDefaultAccountData; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Models\User\User; +use App\Services\Company\Adminland\Company\CreateCompany; use Illuminate\Support\Facades\Queue; -use App\Jobs\ProvisionDefaultAccountData; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Company\CreateCompany; +use Tests\TestCase; class CreateCompanyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_company(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/DestroyCompanyTest.php b/tests/Unit/Services/Company/Adminland/Company/DestroyCompanyTest.php index 81ee3dcd9..6f8678238 100644 --- a/tests/Unit/Services/Company/Adminland/Company/DestroyCompanyTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/DestroyCompanyTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Mail\Company\SendAccountCancellationToAdministratorMail; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Company\DestroyCompany; +use App\Services\Company\Adminland\Company\RenameCompany; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Company\RenameCompany; -use App\Services\Company\Adminland\Company\DestroyCompany; -use App\Mail\Company\SendAccountCancellationToAdministratorMail; +use Tests\TestCase; class DestroyCompanyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_company_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/JoinCompanyTest.php b/tests/Unit/Services/Company/Adminland/Company/JoinCompanyTest.php index 00b9b35a7..9635cc08a 100644 --- a/tests/Unit/Services/Company/Adminland/Company/JoinCompanyTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/JoinCompanyTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; -use App\Models\User\User; +use App\Exceptions\UserAlreadyInvitedException; use App\Jobs\LogAccountAudit; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Models\User\User; +use App\Services\Company\Adminland\Company\JoinCompany; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\UserAlreadyInvitedException; -use App\Services\Company\Adminland\Company\JoinCompany; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class JoinCompanyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_joins_a_company(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/ProvisionDefaultAccountDataTest.php b/tests/Unit/Services/Company/Adminland/Company/ProvisionDefaultAccountDataTest.php index 8a85385d6..d572fe141 100644 --- a/tests/Unit/Services/Company/Adminland/Company/ProvisionDefaultAccountDataTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/ProvisionDefaultAccountDataTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Carbon\Carbon; -use Tests\TestCase; use App\Models\Company\CompanyCalendar; -use App\Models\Company\ExpenseCategory; use App\Models\Company\CompanyPTOPolicy; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\ExpenseCategory; use App\Services\Company\Adminland\Company\ProvisionDefaultAccountData; +use Carbon\Carbon; +use Tests\TestCase; class ProvisionDefaultAccountDataTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_populates_default_data_in_the_account(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/RenameCompanyTest.php b/tests/Unit/Services/Company/Adminland/Company/RenameCompanyTest.php index 4cddb5cfd..24ddb8db2 100644 --- a/tests/Unit/Services/Company/Adminland/Company/RenameCompanyTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/RenameCompanyTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Company\RenameCompany; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Company\RenameCompany; +use Tests\TestCase; class RenameCompanyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_renames_a_company_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyCurrencyTest.php b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyCurrencyTest.php index 083534950..5865901e4 100644 --- a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyCurrencyTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyCurrencyTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Company\UpdateCompanyCurrency; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Company\UpdateCompanyCurrency; +use Tests\TestCase; class UpdateCompanyCurrencyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_company_currency_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyFoundedDateTest.php b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyFoundedDateTest.php index e1a721faa..6e550d897 100644 --- a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyFoundedDateTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyFoundedDateTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Company; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\Company\UpdateCompanyCurrency; use App\Services\Company\Adminland\Company\UpdateCompanyFoundedDate; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateCompanyFoundedDateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_company_founded_date_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLocationTest.php b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLocationTest.php index b76692e3b..b529029d1 100644 --- a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLocationTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLocationTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Company; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\Company\UpdateCompanyCurrency; use App\Services\Company\Adminland\Company\UpdateCompanyLocation; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateCompanyLocationTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_company_location_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLogoTest.php b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLogoTest.php index 2a3e1444c..3f3d71c20 100644 --- a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLogoTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanyLogoTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; -use App\Models\Company\File; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\File; use App\Services\Company\Adminland\Company\RenameCompany; use App\Services\Company\Adminland\Company\UpdateCompanyLogo; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateCompanyLogoTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_changes_the_logo_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanySlugTest.php b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanySlugTest.php index be6c02fde..f785bbae1 100644 --- a/tests/Unit/Services/Company/Adminland/Company/UpdateCompanySlugTest.php +++ b/tests/Unit/Services/Company/Adminland/Company/UpdateCompanySlugTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\Services\Company\Adminland\Company; -use Tests\TestCase; use App\Models\Company\Company; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\Company\UpdateCompanySlug; +use Tests\TestCase; class UpdateCompanySlugTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_slug(): void { diff --git a/tests/Unit/Services/Company/Adminland/CompanyNews/CreateCompanyNewsTest.php b/tests/Unit/Services/Company/Adminland/CompanyNews/CreateCompanyNewsTest.php index 4319e967f..0b2b557c3 100644 --- a/tests/Unit/Services/Company/Adminland/CompanyNews/CreateCompanyNewsTest.php +++ b/tests/Unit/Services/Company/Adminland/CompanyNews/CreateCompanyNewsTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\CompanyNews; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\CompanyNews; +use App\Models\Company\Employee; +use App\Services\Company\Adminland\CompanyNews\CreateCompanyNews; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\CompanyNews\CreateCompanyNews; +use Tests\TestCase; class CreateCompanyNewsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_company_news_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/CompanyNews/DestroyCompanyNewsTest.php b/tests/Unit/Services/Company/Adminland/CompanyNews/DestroyCompanyNewsTest.php index 771d73ffd..a9e777f44 100644 --- a/tests/Unit/Services/Company/Adminland/CompanyNews/DestroyCompanyNewsTest.php +++ b/tests/Unit/Services/Company/Adminland/CompanyNews/DestroyCompanyNewsTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\CompanyNews; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\CompanyNews; +use App\Models\Company\Employee; +use App\Services\Company\Adminland\CompanyNews\DestroyCompanyNews; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\CompanyNews\DestroyCompanyNews; +use Tests\TestCase; class DestroyCompanyNewsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_company_news_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/CompanyNews/UpdateCompanyNewsTest.php b/tests/Unit/Services/Company/Adminland/CompanyNews/UpdateCompanyNewsTest.php index 364855c74..d07d86709 100644 --- a/tests/Unit/Services/Company/Adminland/CompanyNews/UpdateCompanyNewsTest.php +++ b/tests/Unit/Services/Company/Adminland/CompanyNews/UpdateCompanyNewsTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\CompanyNews; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\CompanyNews; +use App\Models\Company\Employee; +use App\Services\Company\Adminland\CompanyNews\UpdateCompanyNews; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\CompanyNews\UpdateCompanyNews; +use Tests\TestCase; class UpdateCompanyNewsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_company_news_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicyTest.php b/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicyTest.php index 098b234c2..2ed638b84 100644 --- a/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicyTest.php +++ b/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicyTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\CompanyPTOPolicy; -use Tests\TestCase; +use App\Exceptions\CompanyPTOPolicyAlreadyExistException; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use Illuminate\Support\Carbon; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CompanyCalendar; use App\Models\Company\CompanyPTOPolicy; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Exceptions\CompanyPTOPolicyAlreadyExistException; +use App\Models\Company\Employee; use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use Illuminate\Support\Carbon; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateCompanyPTOPolicyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_company_pto_policy_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicyTest.php b/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicyTest.php index 02f78ef45..612db57be 100644 --- a/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicyTest.php +++ b/tests/Unit/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicyTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\CompanyPTOPolicy; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CompanyCalendar; use App\Models\Company\CompanyPTOPolicy; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; use App\Services\Company\Adminland\CompanyPTOPolicy\UpdateCompanyPTOPolicy; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateCompanyPTOPolicyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_company_pto_policy_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/ECoffee/ToggleECoffeeProcessTest.php b/tests/Unit/Services/Company/Adminland/ECoffee/ToggleECoffeeProcessTest.php index b47ea2ef9..9be9fa033 100644 --- a/tests/Unit/Services/Company/Adminland/ECoffee/ToggleECoffeeProcessTest.php +++ b/tests/Unit/Services/Company/Adminland/ECoffee/ToggleECoffeeProcessTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\ECoffee; -use Tests\TestCase; -use App\Models\User\User; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Models\User\User; +use App\Services\Company\Adminland\ECoffee\ToggleECoffeeProcess; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\ECoffee\ToggleECoffeeProcess; +use Tests\TestCase; class ToggleECoffeeProcessTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_the_ecoffee_process_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/AddEmployeeToCompanyTest.php b/tests/Unit/Services/Company/Adminland/Employee/AddEmployeeToCompanyTest.php index 8a1d7ed69..4a653fe66 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/AddEmployeeToCompanyTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/AddEmployeeToCompanyTest.php @@ -2,28 +2,25 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Carbon\Carbon; -use Tests\TestCase; -use Faker\Factory as Faker; +use App\Exceptions\EmailAlreadyUsedException; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\ImageHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; +use App\Mail\Company\InviteEmployeeToBecomeUserMail; +use App\Models\Company\CompanyPTOPolicy; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Employee\AddEmployeeToCompany; +use Carbon\Carbon; +use Faker\Factory as Faker; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Queue; -use App\Models\Company\CompanyPTOPolicy; -use App\Exceptions\EmailAlreadyUsedException; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use App\Mail\Company\InviteEmployeeToBecomeUserMail; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Employee\AddEmployeeToCompany; +use Tests\TestCase; class AddEmployeeToCompanyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_an_employee_to_a_company_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/ChangePermissionLevelTest.php b/tests/Unit/Services/Company/Adminland/Employee/ChangePermissionLevelTest.php index 50bbf8f5c..e2f84912b 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/ChangePermissionLevelTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/ChangePermissionLevelTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Employee\ChangePermissionLevel; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Employee\ChangePermissionLevel; +use Tests\TestCase; class ChangePermissionLevelTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_changes_permission_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/DestroyEmployeeTest.php b/tests/Unit/Services/Company/Adminland/Employee/DestroyEmployeeTest.php index e2826c338..33c3dc30c 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/DestroyEmployeeTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/DestroyEmployeeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Employee\DestroyEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Employee\DestroyEmployee; -use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; +use Tests\TestCase; class DestroyEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_an_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromCSVTest.php b/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromCSVTest.php index a9155aece..63c109ad7 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromCSVTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromCSVTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; -use App\Models\Company\File; +use App\Exceptions\MalformedCSVException; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Employee; +use App\Models\Company\File; use App\Models\Company\ImportJob; -use Illuminate\Support\Facades\Http; use App\Models\Company\ImportJobReport; -use Illuminate\Support\Facades\Storage; -use App\Exceptions\MalformedCSVException; +use App\Services\Company\Adminland\Employee\ImportEmployeesFromCSV; use Illuminate\Http\Client\RequestException; +use Illuminate\Support\Facades\Http; +use Illuminate\Support\Facades\Storage; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Employee\ImportEmployeesFromCSV; +use Tests\TestCase; class ImportEmployeesFromCSVTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_stores_employees_in_a_temporary_table_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTableTest.php b/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTableTest.php index 8868e6c5f..0e075fd45 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTableTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTableTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\ServiceQueue; use App\Models\Company\Employee; use App\Models\Company\ImportJob; -use Illuminate\Support\Facades\Queue; use App\Models\Company\ImportJobReport; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\Employee\AddEmployeeToCompany; use App\Services\Company\Adminland\Employee\ImportEmployeesFromTemporaryTable; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ImportEmployeesFromTemporaryTableTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_stores_employees_in_a_temporary_table_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUserTest.php b/tests/Unit/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUserTest.php index e9f0a173a..b19fcf7a1 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUserTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUserTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\UserAlreadyInvitedException; use App\Jobs\LogAccountAudit; +use App\Mail\Company\InviteEmployeeToBecomeUserMail; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Employee\InviteEmployeeToBecomeUser; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\UserAlreadyInvitedException; -use App\Exceptions\NotEnoughPermissionException; -use App\Mail\Company\InviteEmployeeToBecomeUserMail; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Employee\InviteEmployeeToBecomeUser; +use Tests\TestCase; class InviteEmployeeToBecomeUserTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_invites_an_employee_to_become_a_user_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/LockEmployeeTest.php b/tests/Unit/Services/Company/Adminland/Employee/LockEmployeeTest.php index 553c76df5..4278f86c2 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/LockEmployeeTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/LockEmployeeTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Employee\LockEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Employee\LockEmployee; -use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; +use Tests\TestCase; class LockEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_locks_an_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTableTest.php b/tests/Unit/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTableTest.php index 762a206e7..b952fa960 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTableTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTableTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\ServiceQueue; use App\Models\Company\File; -use Illuminate\Support\Facades\Queue; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\Employee\ImportEmployeesFromCSV; use App\Services\Company\Adminland\Employee\StoreEmployeesFromCSVInTemporaryTable; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Tests\TestCase; class StoreEmployeesFromCSVInTemporaryTableTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_store_employees_from_csv(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/UnlockEmployeeTest.php b/tests/Unit/Services/Company/Adminland/Employee/UnlockEmployeeTest.php index 3eab261df..2be56cb37 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/UnlockEmployeeTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/UnlockEmployeeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Employee\UnlockEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Employee\UnlockEmployee; +use Tests\TestCase; class UnlockEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_unlocks_an_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Employee/UpdateEmployeeTest.php b/tests/Unit/Services/Company/Adminland/Employee/UpdateEmployeeTest.php index cdeb8286c..fcb15d017 100644 --- a/tests/Unit/Services/Company/Adminland/Employee/UpdateEmployeeTest.php +++ b/tests/Unit/Services/Company/Adminland/Employee/UpdateEmployeeTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Services\Company\Adminland\Employee; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Employee\UpdateEmployee; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Employee\UpdateEmployee; +use Tests\TestCase; class UpdateEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_an_employee(): void { diff --git a/tests/Unit/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatusTest.php b/tests/Unit/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatusTest.php index bb97ccaf7..368d307af 100644 --- a/tests/Unit/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatusTest.php +++ b/tests/Unit/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatusTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\EmployeeStatus; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\EmployeeStatus; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\EmployeeStatus\CreateEmployeeStatus; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateEmployeeStatusTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_employee_status_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatusTest.php b/tests/Unit/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatusTest.php index 495958001..02c50d962 100644 --- a/tests/Unit/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatusTest.php +++ b/tests/Unit/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatusTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\EmployeeStatus; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\EmployeeStatus; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\EmployeeStatus\DestroyEmployeeStatus; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyEmployeeStatusTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_an_employee_status_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatusTest.php b/tests/Unit/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatusTest.php index cd9394a93..8918de19f 100644 --- a/tests/Unit/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatusTest.php +++ b/tests/Unit/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatusTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\EmployeeStatus; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\EmployeeStatus; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\EmployeeStatus\UpdateEmployeeStatus; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateEmployeeStatusTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_an_employee_status_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Expense/AllowEmployeeToManageExpensesTest.php b/tests/Unit/Services/Company/Adminland/Expense/AllowEmployeeToManageExpensesTest.php index 767d0caba..582fa9496 100644 --- a/tests/Unit/Services/Company/Adminland/Expense/AllowEmployeeToManageExpensesTest.php +++ b/tests/Unit/Services/Company/Adminland/Expense/AllowEmployeeToManageExpensesTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Expense; -use Tests\TestCase; -use App\Jobs\NotifyEmployee; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Expense\AllowEmployeeToManageExpenses; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Expense\AllowEmployeeToManageExpenses; +use Tests\TestCase; class AllowEmployeeToManageExpensesTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_allows_an_employee_to_manage_expenses_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrencyTest.php b/tests/Unit/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrencyTest.php index c12e8f452..00200304a 100644 --- a/tests/Unit/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrencyTest.php +++ b/tests/Unit/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrencyTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Expense; -use Carbon\Carbon; -use Tests\TestCase; -use Illuminate\Support\Facades\Log; -use Illuminate\Support\Facades\Http; -use Illuminate\Support\Facades\Cache; -use Illuminate\Log\Events\MessageLogged; use App\Exceptions\WrongCurrencyLayerApiKeyException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\Expense\ConvertAmountFromOneCurrencyToCompanyCurrency; +use Carbon\Carbon; +use Illuminate\Log\Events\MessageLogged; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\Http; +use Illuminate\Support\Facades\Log; +use Tests\TestCase; class ConvertAmountFromOneCurrencyToCompanyCurrencyTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_converts_an_amount_from_eur_to_cad_and_store_rate_in_cache(): void { diff --git a/tests/Unit/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpensesTest.php b/tests/Unit/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpensesTest.php index 4fce439f3..8a981c761 100644 --- a/tests/Unit/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpensesTest.php +++ b/tests/Unit/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpensesTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Expense; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Adminland\Expense\DisallowEmployeeToManageExpenses; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Expense\DisallowEmployeeToManageExpenses; +use Tests\TestCase; class DisallowEmployeeToManageExpensesTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_disallows_an_employee_to_manage_expenses_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategoryTest.php b/tests/Unit/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategoryTest.php index 9e585db9e..9fa55cbcb 100644 --- a/tests/Unit/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategoryTest.php +++ b/tests/Unit/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategoryTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\ExpenseCategory; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\ExpenseCategory; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\ExpenseCategory\CreateExpenseCategory; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateExpenseCategoryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_expense_category_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategoryTest.php b/tests/Unit/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategoryTest.php index 5725c1a41..1a3e6b160 100644 --- a/tests/Unit/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategoryTest.php +++ b/tests/Unit/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategoryTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\ExpenseCategory; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\ExpenseCategory; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\ExpenseCategory\DestroyExpenseCategory; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyExpenseCategoryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_an_expense_category_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategoryTest.php b/tests/Unit/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategoryTest.php index 3fb67e703..8d3e62f59 100644 --- a/tests/Unit/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategoryTest.php +++ b/tests/Unit/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategoryTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\ExpenseCategory; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\EmployeeStatus; use App\Models\Company\ExpenseCategory; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\ExpenseCategory\UpdateExpenseCategory; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateExpenseCategoryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_an_expense_category_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/File/UploadFileTest.php b/tests/Unit/Services/Company/Adminland/File/UploadFileTest.php index e1b57d0d1..406dca1f5 100644 --- a/tests/Unit/Services/Company/Adminland/File/UploadFileTest.php +++ b/tests/Unit/Services/Company/Adminland/File/UploadFileTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Services\Company\Adminland\File; -use Tests\TestCase; -use App\Models\Company\File; -use App\Models\Company\Employee; use App\Exceptions\EnvVariablesNotSetException; +use App\Models\Company\Employee; +use App\Models\Company\File; use App\Services\Company\Adminland\File\UploadFile; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class UploadFileTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_file_object_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Flow/AddActionToStepTest.php b/tests/Unit/Services/Company/Adminland/Flow/AddActionToStepTest.php index e4db63594..b24a00650 100644 --- a/tests/Unit/Services/Company/Adminland/Flow/AddActionToStepTest.php +++ b/tests/Unit/Services/Company/Adminland/Flow/AddActionToStepTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Flow; -use Tests\TestCase; -use App\Models\Company\Flow; -use App\Models\Company\Step; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Action; use App\Models\Company\Employee; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Flow; +use App\Models\Company\Step; use App\Services\Company\Adminland\Flow\AddActionToStep; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddActionToStepTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_an_action_to_a_step_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Flow/AddStepToFlowTest.php b/tests/Unit/Services/Company/Adminland/Flow/AddStepToFlowTest.php index 086b8db3f..59f135b7e 100644 --- a/tests/Unit/Services/Company/Adminland/Flow/AddStepToFlowTest.php +++ b/tests/Unit/Services/Company/Adminland/Flow/AddStepToFlowTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Adminland\Flow; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Employee; use App\Models\Company\Flow; use App\Models\Company\Step; -use App\Models\Company\Employee; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; use App\Services\Company\Adminland\Flow\AddStepToFlow; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddStepToFlowTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_step_to_a_flow_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Flow/CreateFlowTest.php b/tests/Unit/Services/Company/Adminland/Flow/CreateFlowTest.php index d62305fea..4805de509 100644 --- a/tests/Unit/Services/Company/Adminland/Flow/CreateFlowTest.php +++ b/tests/Unit/Services/Company/Adminland/Flow/CreateFlowTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Flow; -use Tests\TestCase; -use App\Models\Company\Flow; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; +use App\Models\Company\Flow; +use App\Services\Company\Adminland\Flow\CreateFlow; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use App\Services\Company\Adminland\Flow\CreateFlow; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreateFlowTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_flow_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Flow/RemoveActionfromStepTest.php b/tests/Unit/Services/Company/Adminland/Flow/RemoveActionfromStepTest.php index 31e15b887..549302d6b 100644 --- a/tests/Unit/Services/Company/Adminland/Flow/RemoveActionfromStepTest.php +++ b/tests/Unit/Services/Company/Adminland/Flow/RemoveActionfromStepTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Flow; -use Tests\TestCase; -use App\Models\Company\Flow; -use App\Models\Company\Step; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Action; use App\Models\Company\Employee; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Flow; +use App\Models\Company\Step; use App\Services\Company\Adminland\Flow\RemoveActionFromStep; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class RemoveActionfromStepTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_an_action_from_a_step_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Flow/RemoveStepFromFlowTest.php b/tests/Unit/Services/Company/Adminland/Flow/RemoveStepFromFlowTest.php index e4516c9c3..57200ef8b 100644 --- a/tests/Unit/Services/Company/Adminland/Flow/RemoveStepFromFlowTest.php +++ b/tests/Unit/Services/Company/Adminland/Flow/RemoveStepFromFlowTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Flow; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Employee; use App\Models\Company\Flow; use App\Models\Company\Step; -use App\Models\Company\Employee; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\Flow\RemoveStepFromFlow; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class RemoveStepFromFlowTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_a_step_from_a_flow_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Hardware/CreateHardwareTest.php b/tests/Unit/Services/Company/Adminland/Hardware/CreateHardwareTest.php index 8e5f46795..a977d37af 100644 --- a/tests/Unit/Services/Company/Adminland/Hardware/CreateHardwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Hardware/CreateHardwareTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Hardware; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Hardware; +use App\Services\Company\Adminland\Hardware\CreateHardware; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Hardware\CreateHardware; +use Tests\TestCase; class CreateHardwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_harware_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Hardware/DestroyHardwareTest.php b/tests/Unit/Services/Company/Adminland/Hardware/DestroyHardwareTest.php index 789c4c278..3dcb06057 100644 --- a/tests/Unit/Services/Company/Adminland/Hardware/DestroyHardwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Hardware/DestroyHardwareTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Hardware; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Hardware; +use App\Services\Company\Adminland\Hardware\DestroyHardware; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Hardware\DestroyHardware; +use Tests\TestCase; class DestroyHardwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_hardware_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Hardware/LendHardwareTest.php b/tests/Unit/Services/Company/Adminland/Hardware/LendHardwareTest.php index 613c5d3bd..55fe56110 100644 --- a/tests/Unit/Services/Company/Adminland/Hardware/LendHardwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Hardware/LendHardwareTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\Hardware; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Hardware; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\Hardware\LendHardware; use App\Services\Company\Adminland\Question\ActivateQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class LendHardwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_lends_a_hardware_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Hardware/RegainHardwareTest.php b/tests/Unit/Services/Company/Adminland/Hardware/RegainHardwareTest.php index 153e02c84..303d24e0d 100644 --- a/tests/Unit/Services/Company/Adminland/Hardware/RegainHardwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Hardware/RegainHardwareTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\Hardware; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Hardware; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\Hardware\RegainHardware; use App\Services\Company\Adminland\Question\ActivateQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class RegainHardwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_takes_back_a_hardware_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Hardware/UpdateHardwareTest.php b/tests/Unit/Services/Company/Adminland/Hardware/UpdateHardwareTest.php index d732ccbb7..19751189c 100644 --- a/tests/Unit/Services/Company/Adminland/Hardware/UpdateHardwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Hardware/UpdateHardwareTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Hardware; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Hardware; +use App\Services\Company\Adminland\Hardware\UpdateHardware; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Hardware\UpdateHardware; +use Tests\TestCase; class UpdateHardwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_hardware_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/AddFileToCandidateTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/AddFileToCandidateTest.php index be45aa3bc..cbc22cf3b 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/AddFileToCandidateTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/AddFileToCandidateTest.php @@ -2,18 +2,15 @@ namespace App\Services\Company\Adminland\JobOpening; -use Tests\TestCase; -use App\Models\Company\File; use App\Models\Company\Candidate; +use App\Models\Company\File; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use Tests\TestCase; class AddFileToCandidateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_file_to_a_candidate(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageNoteTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageNoteTest.php index 941eeabd0..54aa35cbc 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageNoteTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageNoteTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; -use Illuminate\Validation\ValidationException; use App\Models\Company\CandidateStageParticipant; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; use App\Services\Company\Adminland\JobOpening\CreateCandidateStageNote; use App\Services\Company\Adminland\JobOpening\CreateCandidateStageParticipant; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateCandidateStageNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_candidate_stage_note_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipantTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipantTest.php index cecb6366a..2174bd844 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipantTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipantTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CandidateStage; -use Illuminate\Validation\ValidationException; use App\Models\Company\CandidateStageParticipant; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; use App\Services\Company\Adminland\JobOpening\CreateCandidateStageParticipant; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateCandidateStageParticipantTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_candidate_stage_participant_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateTest.php index 7215b5ff9..92cf790aa 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/CreateCandidateTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; use App\Models\Company\CandidateStage; +use App\Models\Company\JobOpening; use App\Models\Company\RecruitingStage; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\JobOpening\CreateCandidate; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateCandidateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_candidate(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/CreateJobOpeningTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/CreateJobOpeningTest.php index eb48aa867..9541d5d94 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/CreateJobOpeningTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/CreateJobOpeningTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Position; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Team; use App\Services\Company\Adminland\JobOpening\CreateJobOpening; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateJobOpeningTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_job_opening_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplateTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplateTest.php index 6bc45605d..7918f2a89 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplateTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplateTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\JobOpening\CreateRecruitingStageTemplate; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateRecruitingStageTemplateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_recruiting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTest.php index 577c1768c..2d179eb1e 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/CreateRecruitingStageTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\RecruitingStage; -use Illuminate\Validation\ValidationException; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\JobOpening\CreateRecruitingStage; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateRecruitingStageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_recruiting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcessTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcessTest.php index 0fed0088d..af765b203 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcessTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcessTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Models\Company\Candidate; use App\Models\Company\JobOpening; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Adminland\JobOpening\DestroyCandidateDuringApplicationProcess; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyCandidateDuringApplicationProcessTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_candidate(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcessTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcessTest.php index e99bbc9ba..e70cf2302 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcessTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcessTest.php @@ -2,19 +2,16 @@ namespace App\Services\Company\Adminland\JobOpening; -use Tests\TestCase; -use App\Models\Company\File; -use App\Models\Company\Employee; use App\Models\Company\Candidate; +use App\Models\Company\Employee; +use App\Models\Company\File; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Event; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use Tests\TestCase; class DestroyCandidateFileDuringApplicationProcessTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_a_file_from_a_candidate(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageNoteTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageNoteTest.php index cd8bf5603..e7fab0d9b 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageNoteTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageNoteTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; use App\Services\Company\Adminland\JobOpening\DestroyCandidateStageNote; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyCandidateStageNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_candidate_stage_note_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipantTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipantTest.php index 7aea2c06d..95935450b 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipantTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipantTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CandidateStage; -use Illuminate\Validation\ValidationException; use App\Models\Company\CandidateStageParticipant; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; use App\Services\Company\Adminland\JobOpening\DestroyCandidateStageParticipant; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyCandidateStageParticipantTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_candidate_stage_participant_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTest.php index d72091836..cefe70674 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\RecruitingStage; -use Illuminate\Validation\ValidationException; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\JobOpening\DestroyRecruitingStage; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyRecruitingStageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_recruiting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingTemplateTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingTemplateTest.php index c47cc22c5..0487935d9 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingTemplateTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/DestroyRecruitingTemplateTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\JobOpening\DestroyRecruitingStageTemplate; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyRecruitingTemplateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_recruiting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/HireCandidateTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/HireCandidateTest.php index fce4253b4..d4401866f 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/HireCandidateTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/HireCandidateTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\Candidate; +use App\Models\Company\CompanyPTOPolicy; +use App\Models\Company\Employee; use App\Models\Company\JobOpening; +use App\Services\Company\Adminland\JobOpening\HireCandidate; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; -use App\Models\Company\CompanyPTOPolicy; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\JobOpening\HireCandidate; +use Tests\TestCase; class HireCandidateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_hires_a_candidate_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/ProcessCandidateStageTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/ProcessCandidateStageTest.php index 133f5e352..0c21140fd 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/ProcessCandidateStageTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/ProcessCandidateStageTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CandidateStage; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; use App\Models\Company\RecruitingStage; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\JobOpening\ProcessCandidateStage; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ProcessCandidateStageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_processes_a_candidate_stage_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/ToggleJobOpeningTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/ToggleJobOpeningTest.php index 4810dbfb3..66fcfc7e9 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/ToggleJobOpeningTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/ToggleJobOpeningTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\JobOpening; +use App\Services\Company\Adminland\JobOpening\ToggleJobOpening; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\JobOpening\ToggleJobOpening; +use Tests\TestCase; class ToggleJobOpeningTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_the_job_opening_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateCandidateStageNoteTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateCandidateStageNoteTest.php index 411f6dbd7..b67c570d4 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateCandidateStageNoteTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateCandidateStageNoteTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; use App\Services\Company\Adminland\JobOpening\UpdateCandidateStageNote; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateCandidateStageNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_candidate_stage_note_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateJobOpeningTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateJobOpeningTest.php index c1981951a..229f8425e 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateJobOpeningTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateJobOpeningTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Position; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Team; use App\Services\Company\Adminland\JobOpening\UpdateJobOpening; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateJobOpeningTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_job_opening_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplateTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplateTest.php index 9091eeb94..709caad7b 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplateTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplateTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\JobOpening\UpdateRecruitingStageTemplate; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateRecruitingStageTemplateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_recruiting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTest.php b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTest.php index c4bfdac09..f98bec3e0 100644 --- a/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTest.php +++ b/tests/Unit/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\JobOpening; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\RecruitingStage; -use Illuminate\Validation\ValidationException; use App\Models\Company\RecruitingStageTemplate; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Adminland\JobOpening\UpdateRecruitingStage; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateRecruitingStageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_recruiting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Position/CreatePositionTest.php b/tests/Unit/Services/Company/Adminland/Position/CreatePositionTest.php index 725dab0e7..75e60a848 100644 --- a/tests/Unit/Services/Company/Adminland/Position/CreatePositionTest.php +++ b/tests/Unit/Services/Company/Adminland/Position/CreatePositionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Position; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Position; +use App\Services\Company\Adminland\Position\CreatePosition; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Position\CreatePosition; +use Tests\TestCase; class CreatePositionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_position_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Position/DestroyJobOpeningTest.php b/tests/Unit/Services/Company/Adminland/Position/DestroyJobOpeningTest.php index 8d03ab872..547c6dab5 100644 --- a/tests/Unit/Services/Company/Adminland/Position/DestroyJobOpeningTest.php +++ b/tests/Unit/Services/Company/Adminland/Position/DestroyJobOpeningTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Position; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\JobOpening; +use App\Services\Company\Adminland\JobOpening\DestroyJobOpening; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\JobOpening\DestroyJobOpening; +use Tests\TestCase; class DestroyJobOpeningTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_job_opening_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Position/DestroyPositionTest.php b/tests/Unit/Services/Company/Adminland/Position/DestroyPositionTest.php index 0df724028..473b81c83 100644 --- a/tests/Unit/Services/Company/Adminland/Position/DestroyPositionTest.php +++ b/tests/Unit/Services/Company/Adminland/Position/DestroyPositionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Position; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Position; +use App\Services\Company\Adminland\Position\DestroyPosition; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Position\DestroyPosition; +use Tests\TestCase; class DestroyPositionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_position_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Position/UpdatePositionTest.php b/tests/Unit/Services/Company/Adminland/Position/UpdatePositionTest.php index c5cf3a80b..191702e31 100644 --- a/tests/Unit/Services/Company/Adminland/Position/UpdatePositionTest.php +++ b/tests/Unit/Services/Company/Adminland/Position/UpdatePositionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Position; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Position; +use App\Services\Company\Adminland\Position\UpdatePosition; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Position\UpdatePosition; +use Tests\TestCase; class UpdatePositionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_position_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Question/ActivateQuestionTest.php b/tests/Unit/Services/Company/Adminland/Question/ActivateQuestionTest.php index e37977237..d48b8bbda 100644 --- a/tests/Unit/Services/Company/Adminland/Question/ActivateQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/Question/ActivateQuestionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Question; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Question; +use App\Services\Company\Adminland\Question\ActivateQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Question\ActivateQuestion; +use Tests\TestCase; class ActivateQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_activates_a_question_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Question/CreateQuestionTest.php b/tests/Unit/Services/Company/Adminland/Question/CreateQuestionTest.php index 2cf5d4bb1..be260a56d 100644 --- a/tests/Unit/Services/Company/Adminland/Question/CreateQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/Question/CreateQuestionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Question; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Question; +use App\Services\Company\Adminland\Question\CreateQuestion; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Question\CreateQuestion; +use Tests\TestCase; class CreateQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_question_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Question/DeactivateQuestionTest.php b/tests/Unit/Services/Company/Adminland/Question/DeactivateQuestionTest.php index 77854fbb4..885bc5839 100644 --- a/tests/Unit/Services/Company/Adminland/Question/DeactivateQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/Question/DeactivateQuestionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Question; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Question; +use App\Services\Company\Adminland\Question\DeactivateQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Question\DeactivateQuestion; +use Tests\TestCase; class DeactivateQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_activates_a_question_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Question/DestroyQuestionTest.php b/tests/Unit/Services/Company/Adminland/Question/DestroyQuestionTest.php index d83a52b89..85f2b3281 100644 --- a/tests/Unit/Services/Company/Adminland/Question/DestroyQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/Question/DestroyQuestionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Question; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Question; +use App\Services\Company\Adminland\Question\DestroyQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Question\DestroyQuestion; +use Tests\TestCase; class DestroyQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_position_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Question/UpdateQuestionTest.php b/tests/Unit/Services/Company/Adminland/Question/UpdateQuestionTest.php index 54bcee2ca..363fdbcea 100644 --- a/tests/Unit/Services/Company/Adminland/Question/UpdateQuestionTest.php +++ b/tests/Unit/Services/Company/Adminland/Question/UpdateQuestionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Question; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Question; +use App\Services\Company\Adminland\Question\UpdateQuestion; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Question\UpdateQuestion; +use Tests\TestCase; class UpdateQuestionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_question_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Software/AddFileToSoftwareTest.php b/tests/Unit/Services/Company/Adminland/Software/AddFileToSoftwareTest.php index ec90a2f22..114056ba0 100644 --- a/tests/Unit/Services/Company/Adminland/Software/AddFileToSoftwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Software/AddFileToSoftwareTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\Software; -use Tests\TestCase; -use App\Models\Company\File; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; +use App\Models\Company\File; use App\Models\Company\Software; +use App\Services\Company\Adminland\Software\AddFileToSoftware; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Software\AddFileToSoftware; +use Tests\TestCase; class AddFileToSoftwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_file_to_a_software_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Software/CreateSoftwareTest.php b/tests/Unit/Services/Company/Adminland/Software/CreateSoftwareTest.php index 8feb31aef..2d18ef6d6 100644 --- a/tests/Unit/Services/Company/Adminland/Software/CreateSoftwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Software/CreateSoftwareTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Software; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\Company\Adminland\Software\CreateSoftware; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Software\CreateSoftware; +use Tests\TestCase; class CreateSoftwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_software_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Software/DestroySoftwareTest.php b/tests/Unit/Services/Company/Adminland/Software/DestroySoftwareTest.php index 2eaee9d32..f948443f7 100644 --- a/tests/Unit/Services/Company/Adminland/Software/DestroySoftwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Software/DestroySoftwareTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\Software; -use Tests\TestCase; -use App\Models\Company\File; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; +use App\Models\Company\File; use App\Models\Company\Software; +use App\Services\Company\Adminland\Software\DestroySoftware; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Software\DestroySoftware; +use Tests\TestCase; class DestroySoftwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_software_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEmployeeTest.php b/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEmployeeTest.php index ebad0a1e8..b80f17847 100644 --- a/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEmployeeTest.php +++ b/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEmployeeTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Software; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\Company\Adminland\Software\GiveSeatToEmployee; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Software\GiveSeatToEmployee; +use Tests\TestCase; class GiveSeatToEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gives_a_software_seat_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEveryEmployeeTest.php b/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEveryEmployeeTest.php index 6fc80d5fc..1e7f35772 100644 --- a/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEveryEmployeeTest.php +++ b/tests/Unit/Services/Company/Adminland/Software/GiveSeatToEveryEmployeeTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Software; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\Company\Adminland\Software\GiveSeatToEveryEmployee; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Software\GiveSeatToEveryEmployee; +use Tests\TestCase; class GiveSeatToEveryEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gives_a_software_seat_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Software/TakeSeatFromEmployeeTest.php b/tests/Unit/Services/Company/Adminland/Software/TakeSeatFromEmployeeTest.php index 8eddaa076..fd5305a40 100644 --- a/tests/Unit/Services/Company/Adminland/Software/TakeSeatFromEmployeeTest.php +++ b/tests/Unit/Services/Company/Adminland/Software/TakeSeatFromEmployeeTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Software; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\Company\Adminland\Software\TakeSeatFromEmployee; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Software\TakeSeatFromEmployee; +use Tests\TestCase; class TakeSeatFromEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_takes_a_seat_back_from_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Software/UpdateSoftwareTest.php b/tests/Unit/Services/Company/Adminland/Software/UpdateSoftwareTest.php index 4584036f3..e5748c384 100644 --- a/tests/Unit/Services/Company/Adminland/Software/UpdateSoftwareTest.php +++ b/tests/Unit/Services/Company/Adminland/Software/UpdateSoftwareTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Adminland\Software; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\Company\Adminland\Software\UpdateSoftware; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Software\UpdateSoftware; +use Tests\TestCase; class UpdateSoftwareTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_software_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Team/CreateTeamTest.php b/tests/Unit/Services/Company/Adminland/Team/CreateTeamTest.php index e392158e2..5c8bba013 100644 --- a/tests/Unit/Services/Company/Adminland/Team/CreateTeamTest.php +++ b/tests/Unit/Services/Company/Adminland/Team/CreateTeamTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Adminland\Team; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\TeamNameNotUniqueException; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; +use App\Models\Company\Team; +use App\Services\Company\Adminland\Team\CreateTeam; use Illuminate\Support\Facades\Queue; -use App\Exceptions\TeamNameNotUniqueException; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use App\Services\Company\Adminland\Team\CreateTeam; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreateTeamTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_team_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Team/DestroyTeamTest.php b/tests/Unit/Services/Company/Adminland/Team/DestroyTeamTest.php index 5287e46ed..18c5dab01 100644 --- a/tests/Unit/Services/Company/Adminland/Team/DestroyTeamTest.php +++ b/tests/Unit/Services/Company/Adminland/Team/DestroyTeamTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\Team; -use Tests\TestCase; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Team; use App\Services\Company\Adminland\Team\DestroyTeam; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyTeamTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_team_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/Team/UpdateTeamTest.php b/tests/Unit/Services/Company/Adminland/Team/UpdateTeamTest.php index 84dcf87d7..b0149a38f 100644 --- a/tests/Unit/Services/Company/Adminland/Team/UpdateTeamTest.php +++ b/tests/Unit/Services/Company/Adminland/Team/UpdateTeamTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Adminland\Team; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\TeamNameNotUniqueException; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use App\Exceptions\TeamNameNotUniqueException; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Team; use App\Services\Company\Adminland\Team\UpdateTeam; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateTeamTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_team_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcessTest.php b/tests/Unit/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcessTest.php index ffd29b8c1..5c4917a3e 100644 --- a/tests/Unit/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcessTest.php +++ b/tests/Unit/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcessTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Adminland\WorkFromHome; -use Tests\TestCase; -use App\Models\User\User; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Models\User\User; +use App\Services\Company\Adminland\WorkFromHome\ToggleWorkFromHomeProcess; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\WorkFromHome\ToggleWorkFromHomeProcess; +use Tests\TestCase; class ToggleWorkFromHomeProcessTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_the_work_from_home_process_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Answer/CreateAnswerTest.php b/tests/Unit/Services/Company/Employee/Answer/CreateAnswerTest.php index 71cb65660..7a1e0b9e2 100644 --- a/tests/Unit/Services/Company/Employee/Answer/CreateAnswerTest.php +++ b/tests/Unit/Services/Company/Employee/Answer/CreateAnswerTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\Answer; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Question; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; use App\Services\Company\Employee\Answer\CreateAnswer; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateAnswerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_answer_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Answer/DestroyAnswerTest.php b/tests/Unit/Services/Company/Employee/Answer/DestroyAnswerTest.php index b27196e89..196b1d2d9 100644 --- a/tests/Unit/Services/Company/Employee/Answer/DestroyAnswerTest.php +++ b/tests/Unit/Services/Company/Employee/Answer/DestroyAnswerTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Answer; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Answer; use App\Models\Company\Employee; use App\Models\Company\Question; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; use App\Services\Company\Employee\Answer\DestroyAnswer; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyAnswerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_an_answer_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Answer/UpdateAnswerTest.php b/tests/Unit/Services/Company/Employee/Answer/UpdateAnswerTest.php index d4fea9778..3694a9d82 100644 --- a/tests/Unit/Services/Company/Employee/Answer/UpdateAnswerTest.php +++ b/tests/Unit/Services/Company/Employee/Answer/UpdateAnswerTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Answer; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Answer; use App\Models\Company\Employee; use App\Models\Company\Question; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; use App\Services\Company\Employee\Answer\UpdateAnswer; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateAnswerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_an_answer_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Birthdate/SetBirthdateTest.php b/tests/Unit/Services/Company/Employee/Birthdate/SetBirthdateTest.php index 22fe7c703..875aef55e 100644 --- a/tests/Unit/Services/Company/Employee/Birthdate/SetBirthdateTest.php +++ b/tests/Unit/Services/Company/Employee/Birthdate/SetBirthdateTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Birthdate; -use Exception; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\Birthdate\SetBirthdate; +use Carbon\Carbon; +use Exception; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Birthdate\SetBirthdate; +use Tests\TestCase; class SetBirthdateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_birthdate_of_the_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/ConsultantRate/DestroyConsultantRateTest.php b/tests/Unit/Services/Company/Employee/ConsultantRate/DestroyConsultantRateTest.php index b5bc6d041..9bd4e2e10 100644 --- a/tests/Unit/Services/Company/Employee/ConsultantRate/DestroyConsultantRateTest.php +++ b/tests/Unit/Services/Company/Employee/ConsultantRate/DestroyConsultantRateTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\ConsultantRate; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; +use App\Models\Company\ConsultantRate; use App\Models\Company\Employee; +use App\Services\Company\Employee\ConsultantRate\DestroyConsultantRate; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; -use App\Models\Company\ConsultantRate; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\ConsultantRate\DestroyConsultantRate; +use Tests\TestCase; class DestroyConsultantRateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_the_consultant_rate_of_the_consultant_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/ConsultantRate/SetConsultantRateTest.php b/tests/Unit/Services/Company/Employee/ConsultantRate/SetConsultantRateTest.php index 31b9018a0..893ce0682 100644 --- a/tests/Unit/Services/Company/Employee/ConsultantRate/SetConsultantRateTest.php +++ b/tests/Unit/Services/Company/Employee/ConsultantRate/SetConsultantRateTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\Services\Company\Employee\ConsultantRate; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotConsultantException; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\ConsultantRate; +use App\Models\Company\Employee; use App\Models\Company\EmployeeStatus; -use App\Exceptions\NotConsultantException; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Employee\ConsultantRate\SetConsultantRate; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class SetConsultantRateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_consultant_rate_of_the_consultant_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Contract/SetContractRenewalDateTest.php b/tests/Unit/Services/Company/Employee/Contract/SetContractRenewalDateTest.php index 732b85b72..d8a2d9281 100644 --- a/tests/Unit/Services/Company/Employee/Contract/SetContractRenewalDateTest.php +++ b/tests/Unit/Services/Company/Employee/Contract/SetContractRenewalDateTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\Contract; -use Exception; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\Contract\SetContractRenewalDate; +use App\Services\Company\Employee\HiringDate\SetHiringDate; +use Carbon\Carbon; +use Exception; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\HiringDate\SetHiringDate; -use App\Services\Company\Employee\Contract\SetContractRenewalDate; +use Tests\TestCase; class SetContractRenewalDateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_contract_renewal_date_of_the_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Description/ClearPersonalDescriptionTest.php b/tests/Unit/Services/Company/Employee/Description/ClearPersonalDescriptionTest.php index a30de3b1b..440d426dd 100644 --- a/tests/Unit/Services/Company/Employee/Description/ClearPersonalDescriptionTest.php +++ b/tests/Unit/Services/Company/Employee/Description/ClearPersonalDescriptionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\Description; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\Description\ClearPersonalDescription; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Description\ClearPersonalDescription; +use Tests\TestCase; class ClearPersonalDescriptionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_clears_a_personal_description_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Description/SetPersonalDescriptionTest.php b/tests/Unit/Services/Company/Employee/Description/SetPersonalDescriptionTest.php index 93bb6e2a1..fa6b8719f 100644 --- a/tests/Unit/Services/Company/Employee/Description/SetPersonalDescriptionTest.php +++ b/tests/Unit/Services/Company/Employee/Description/SetPersonalDescriptionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\Description; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\Description\SetPersonalDescription; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Description\SetPersonalDescription; +use Tests\TestCase; class SetPersonalDescriptionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_a_personal_description_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineCaseTest.php b/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineCaseTest.php index e05ce31cc..c32d8c052 100644 --- a/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineCaseTest.php +++ b/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineCaseTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Services\Company\Employee\DisciplineCase; -use Tests\TestCase; -use App\Models\Company\Employee; -use App\Models\Company\DisciplineCase; -use Illuminate\Validation\ValidationException; use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\DisciplineCase; +use App\Models\Company\Employee; use App\Services\Company\Employee\DisciplineCase\CreateDisciplineCase; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateDisciplineCaseTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_discipline_case_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineEventTest.php b/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineEventTest.php index 0a9f0a364..89ff99b16 100644 --- a/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineEventTest.php +++ b/tests/Unit/Services/Company/Employee/DisciplineCase/CreateDisciplineEventTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Employee\DisciplineCase; -use Tests\TestCase; -use App\Models\Company\Employee; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; use App\Services\Company\Employee\DisciplineCase\CreateDisciplineEvent; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateDisciplineEventTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_discipline_event_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineCaseTest.php b/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineCaseTest.php index 879747c47..744625cde 100644 --- a/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineCaseTest.php +++ b/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineCaseTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\DisciplineCase; -use Tests\TestCase; -use App\Models\Company\Employee; -use App\Models\Company\DisciplineCase; -use Illuminate\Validation\ValidationException; use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\DisciplineCase; +use App\Models\Company\Employee; use App\Services\Company\Employee\DisciplineCase\DestroyDisciplineCase; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyDisciplineCaseTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_discipline_case_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineEventTest.php b/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineEventTest.php index 1839aba96..0a879be4c 100644 --- a/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineEventTest.php +++ b/tests/Unit/Services/Company/Employee/DisciplineCase/DestroyDisciplineEventTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Employee\DisciplineCase; -use Tests\TestCase; -use App\Models\Company\Employee; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; use App\Services\Company\Employee\DisciplineCase\DestroyDisciplineEvent; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyDisciplineEventTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_discipline_event_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/DisciplineCase/ToggleDisciplineCaseTest.php b/tests/Unit/Services/Company/Employee/DisciplineCase/ToggleDisciplineCaseTest.php index 6df9b1af2..ba1cb10c4 100644 --- a/tests/Unit/Services/Company/Employee/DisciplineCase/ToggleDisciplineCaseTest.php +++ b/tests/Unit/Services/Company/Employee/DisciplineCase/ToggleDisciplineCaseTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Employee\DisciplineCase; -use Tests\TestCase; -use App\Models\Company\Employee; -use App\Models\Company\DisciplineCase; -use Illuminate\Validation\ValidationException; use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\DisciplineCase; +use App\Models\Company\Employee; use App\Services\Company\Adminland\CompanyNews\UpdateCompanyNews; use App\Services\Company\Employee\DisciplineCase\ToggleDisciplineCase; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ToggleDisciplineCaseTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggle_the_discipline_case_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappenedTest.php b/tests/Unit/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappenedTest.php index 595f3ca05..aa824e8b8 100644 --- a/tests/Unit/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappenedTest.php +++ b/tests/Unit/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappenedTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\ECoffee; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\ECoffee; -use App\Models\Company\Employee; use App\Models\Company\ECoffeeMatch; +use App\Models\Company\Employee; +use App\Services\Company\Employee\ECoffee\MarkECoffeeSessionAsHappened; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\ECoffee\MarkECoffeeSessionAsHappened; +use Tests\TestCase; class MarkECoffeeSessionAsHappenedTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_marks_an_ecoffee_session_as_happened_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/ECoffee/MatchEmployeesForECoffeeTest.php b/tests/Unit/Services/Company/Employee/ECoffee/MatchEmployeesForECoffeeTest.php index cec3bda02..2837f8ace 100644 --- a/tests/Unit/Services/Company/Employee/ECoffee/MatchEmployeesForECoffeeTest.php +++ b/tests/Unit/Services/Company/Employee/ECoffee/MatchEmployeesForECoffeeTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Services\Company\Employee\ECoffee; -use Tests\TestCase; use App\Models\Company\ECoffee; -use App\Models\Company\Employee; use App\Models\Company\ECoffeeMatch; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; use App\Services\Company\Employee\ECoffee\MatchEmployeesForECoffee; +use Tests\TestCase; class MatchEmployeesForECoffeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_matches_employees(): void { diff --git a/tests/Unit/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployeeTest.php b/tests/Unit/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployeeTest.php index 0dc9102a4..7da563aba 100644 --- a/tests/Unit/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployeeTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\EmployeeStatus; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\EmployeeStatus; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Employee\EmployeeStatus\AssignEmployeeStatusToEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AssignEmployeeStatusToEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_an_employee_status_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployeeTest.php b/tests/Unit/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployeeTest.php index dc4decc6c..249523266 100644 --- a/tests/Unit/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployeeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\EmployeeStatus; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\EmployeeStatus\RemoveEmployeeStatusFromEmployee; +use App\Services\Company\Employee\Position\RemovePositionFromEmployee; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Position\RemovePositionFromEmployee; -use App\Services\Company\Employee\EmployeeStatus\RemoveEmployeeStatusFromEmployee; +use Tests\TestCase; class RemoveEmployeeStatusFromEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_resets_an_employees_status_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsAccountantTest.php b/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsAccountantTest.php index 72678dfd6..3f589b6fb 100644 --- a/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsAccountantTest.php +++ b/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsAccountantTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\Expense; -use ErrorException; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Models\Company\Expense; +use App\Services\Company\Employee\Expense\AcceptExpenseAsAccountant; +use ErrorException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Expense\AcceptExpenseAsAccountant; +use Tests\TestCase; class AcceptExpenseAsAccountantTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_accepts_an_expense_as_the_accouting(): void { @@ -117,7 +114,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new AcceptExpenseAsAccountant)->execute($request); } - private function executeService(Employee $manager, Employee $employee = null, Expense $expense): void + private function executeService(Employee $manager, ?Employee $employee, Expense $expense): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsManagerTest.php b/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsManagerTest.php index 399dbe740..a6e4b0620 100644 --- a/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsManagerTest.php +++ b/tests/Unit/Services/Company/Employee/Expense/AcceptExpenseAsManagerTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\Services\Company\Employee\Expense; -use ErrorException; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Models\Company\Expense; +use App\Services\Company\Employee\Expense\AcceptExpenseAsManager; +use App\Services\Company\Employee\Manager\AssignManager; +use ErrorException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Manager\AssignManager; -use App\Services\Company\Employee\Expense\AcceptExpenseAsManager; +use Tests\TestCase; class AcceptExpenseAsManagerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_accepts_an_expense_as_the_manager(): void { @@ -126,7 +123,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new AcceptExpenseAsManager)->execute($request); } - private function executeService(Employee $manager, Employee $employee = null, Expense $expense): void + private function executeService(Employee $manager, ?Employee $employee, Expense $expense): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/Expense/CreateExpenseTest.php b/tests/Unit/Services/Company/Employee/Expense/CreateExpenseTest.php index f275babbf..0d8f691d5 100644 --- a/tests/Unit/Services/Company/Employee/Expense/CreateExpenseTest.php +++ b/tests/Unit/Services/Company/Employee/Expense/CreateExpenseTest.php @@ -2,27 +2,24 @@ namespace Tests\Unit\Services\Company\Employee\Expense; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; use App\Jobs\ConvertExpense; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Expense; use App\Models\Company\ExpenseCategory; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Expense\CreateExpense; use App\Services\Company\Employee\Manager\AssignManager; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateExpenseTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_expense_as_administrator(): void { @@ -186,7 +183,7 @@ public function it_fails_if_amount_not_positive(): void (new CreateExpense)->execute($request); } - private function executeService(Employee $michael, Employee $dwight, ExpenseCategory $category = null): void + private function executeService(Employee $michael, Employee $dwight, ?ExpenseCategory $category = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/Expense/DestroyExpenseTest.php b/tests/Unit/Services/Company/Employee/Expense/DestroyExpenseTest.php index 1961e78d8..23e779975 100644 --- a/tests/Unit/Services/Company/Employee/Expense/DestroyExpenseTest.php +++ b/tests/Unit/Services/Company/Employee/Expense/DestroyExpenseTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\Expense; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; use App\Models\Company\Employee; +use App\Models\Company\Expense; +use App\Services\Company\Employee\Expense\DestroyExpense; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Expense\DestroyExpense; +use Tests\TestCase; class DestroyExpenseTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_an_expense_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsAccountantTest.php b/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsAccountantTest.php index d8343b6aa..26bd2c099 100644 --- a/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsAccountantTest.php +++ b/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsAccountantTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\Expense; -use ErrorException; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Models\Company\Expense; +use App\Services\Company\Employee\Expense\RejectExpenseAsAccountant; +use ErrorException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Expense\RejectExpenseAsAccountant; +use Tests\TestCase; class RejectExpenseAsAccountantTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_rejects_an_expense_as_the_accountant(): void { @@ -117,7 +114,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new RejectExpenseAsAccountant)->execute($request); } - private function executeService(Employee $manager, Employee $employee = null, Expense $expense): void + private function executeService(Employee $manager, ?Employee $employee, Expense $expense): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsManagerTest.php b/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsManagerTest.php index 4fe4db184..a22b48f27 100644 --- a/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsManagerTest.php +++ b/tests/Unit/Services/Company/Employee/Expense/RejectExpenseAsManagerTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\Services\Company\Employee\Expense; -use ErrorException; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Models\Company\Expense; +use App\Services\Company\Employee\Expense\RejectExpenseAsManager; +use App\Services\Company\Employee\Manager\AssignManager; +use ErrorException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Manager\AssignManager; -use App\Services\Company\Employee\Expense\RejectExpenseAsManager; +use Tests\TestCase; class RejectExpenseAsManagerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_rejects_an_expense_as_the_manager(): void { @@ -126,7 +123,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new RejectExpenseAsManager)->execute($request); } - private function executeService(Employee $manager, Employee $employee = null, Expense $expense): void + private function executeService(Employee $manager, ?Employee $employee, Expense $expense): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/HiringDate/SetHiringDateTest.php b/tests/Unit/Services/Company/Employee/HiringDate/SetHiringDateTest.php index 082f51ec1..b176913f5 100644 --- a/tests/Unit/Services/Company/Employee/HiringDate/SetHiringDateTest.php +++ b/tests/Unit/Services/Company/Employee/HiringDate/SetHiringDateTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\HiringDate; -use Exception; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\HiringDate\SetHiringDate; +use Carbon\Carbon; +use Exception; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\HiringDate\SetHiringDate; +use Tests\TestCase; class SetHiringDateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_hiring_date_of_the_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Holiday/CreateTimeOffTest.php b/tests/Unit/Services/Company/Employee/Holiday/CreateTimeOffTest.php index b1a19fd20..342463b3e 100644 --- a/tests/Unit/Services/Company/Employee/Holiday/CreateTimeOffTest.php +++ b/tests/Unit/Services/Company/Employee/Holiday/CreateTimeOffTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\Services\Company\Employee\Holiday; -use Exception; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\EmployeePlannedHoliday; +use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use App\Services\Company\Employee\Holiday\CreateTimeOff; +use Carbon\Carbon; +use Exception; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Queue; -use App\Models\Company\EmployeePlannedHoliday; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Holiday\CreateTimeOff; -use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use Tests\TestCase; class CreateTimeOffTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_a_new_time_off_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Holiday/DestroyTimeOffTest.php b/tests/Unit/Services/Company/Employee/Holiday/DestroyTimeOffTest.php index 7dfdeb2a7..55de1c5d7 100644 --- a/tests/Unit/Services/Company/Employee/Holiday/DestroyTimeOffTest.php +++ b/tests/Unit/Services/Company/Employee/Holiday/DestroyTimeOffTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\Holiday; -use Carbon\Carbon; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\EmployeePlannedHoliday; +use App\Services\Company\Employee\Holiday\DestroyTimeOff; +use Carbon\Carbon; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Queue; -use App\Models\Company\EmployeePlannedHoliday; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Holiday\DestroyTimeOff; +use Tests\TestCase; class DestroyTimeOffTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_time_off_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalanceTest.php b/tests/Unit/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalanceTest.php index ba607eec1..466e9e95e 100644 --- a/tests/Unit/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalanceTest.php +++ b/tests/Unit/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalanceTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\Holiday; -use Carbon\Carbon; -use Tests\TestCase; use App\Models\Company\Employee; -use Illuminate\Validation\ValidationException; use App\Models\Company\EmployeeDailyCalendarEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Holiday\ProcessDailyTimeOffBalance; use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use App\Services\Company\Employee\Holiday\ProcessDailyTimeOffBalance; +use Carbon\Carbon; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ProcessDailyTimeOffBalanceTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_calculates_the_daily_time_off_balance(): void { diff --git a/tests/Unit/Services/Company/Employee/Manager/AssignManagerTest.php b/tests/Unit/Services/Company/Employee/Manager/AssignManagerTest.php index 10ff32498..90b15a594 100644 --- a/tests/Unit/Services/Company/Employee/Manager/AssignManagerTest.php +++ b/tests/Unit/Services/Company/Employee/Manager/AssignManagerTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\Manager; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\SameIdsException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use App\Exceptions\SameIdsException; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AssignManagerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_a_manager_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Manager/UnassignManagerTest.php b/tests/Unit/Services/Company/Employee/Manager/UnassignManagerTest.php index edb727154..3db85e7c7 100644 --- a/tests/Unit/Services/Company/Employee/Manager/UnassignManagerTest.php +++ b/tests/Unit/Services/Company/Employee/Manager/UnassignManagerTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\Manager; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Company; -use App\Models\Company\Employee; use App\Models\Company\DirectReport; +use App\Models\Company\Employee; +use App\Services\Company\Employee\Manager\UnassignManager; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Manager\UnassignManager; -use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; +use Tests\TestCase; class UnassignManagerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_unassigns_a_manager_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Morale/LogMoraleTest.php b/tests/Unit/Services/Company/Employee/Morale/LogMoraleTest.php index c4cbefb71..8c18a8f16 100644 --- a/tests/Unit/Services/Company/Employee/Morale/LogMoraleTest.php +++ b/tests/Unit/Services/Company/Employee/Morale/LogMoraleTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\Morale; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\MoraleAlreadyLoggedTodayException; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Morale; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Morale; use App\Services\Company\Employee\Morale\LogMorale; -use App\Exceptions\MoraleAlreadyLoggedTodayException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class LogMoraleTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_a_morale_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Notification/AddNotificationInUIForEmployeeTest.php b/tests/Unit/Services/Company/Employee/Notification/AddNotificationInUIForEmployeeTest.php index 787e189f6..493200f45 100644 --- a/tests/Unit/Services/Company/Employee/Notification/AddNotificationInUIForEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/Notification/AddNotificationInUIForEmployeeTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Services\Company\Employee\Notification; -use Tests\TestCase; use App\Models\Company\Employee; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Notification\AddNotificationInUIForEmployee; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddNotificationInUIForEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_a_notification(): void { diff --git a/tests/Unit/Services/Company/Employee/Notification/MarkNotificationsAsReadTest.php b/tests/Unit/Services/Company/Employee/Notification/MarkNotificationsAsReadTest.php index 6f0f2189a..d5d5e41bf 100644 --- a/tests/Unit/Services/Company/Employee/Notification/MarkNotificationsAsReadTest.php +++ b/tests/Unit/Services/Company/Employee/Notification/MarkNotificationsAsReadTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\Notification; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Employee; use App\Models\Company\Notification; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Employee\Notification\MarkNotificationsAsRead; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class MarkNotificationsAsReadTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_marks_all_notifications_in_the_account_as_read_regardless_of_permission_level(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItemTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItemTest.php index 6426a4695..6027a94ba 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItemTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItemTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\OneOnOneActionItem; use App\Models\Company\OneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneActionItem; use Illuminate\Support\Facades\Queue; -use App\Models\Company\OneOnOneActionItem; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneActionItem; +use Tests\TestCase; class CreateOneOnOneActionItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_action_item_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneEntryTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneEntryTest.php index 07c805232..8edf722cc 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneEntryTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneEntryTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; +use App\Exceptions\SameIdsException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Exceptions\SameIdsException; +use App\Models\Company\OneOnOneActionItem; use App\Models\Company\OneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; -use App\Models\Company\OneOnOneActionItem; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; +use Tests\TestCase; class CreateOneOnOneEntryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_entry_as_administrator(): void { @@ -120,7 +117,7 @@ public function it_fails_if_the_manager_is_not_in_the_company(): void $this->executeService($michael, $dwight); } - private function executeService(Employee $manager, Employee $employee, OneOnOneEntry $oldEntry = null): void + private function executeService(Employee $manager, Employee $employee, ?OneOnOneEntry $oldEntry = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneNoteTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneNoteTest.php index 75f7a9c20..d9639643c 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneNoteTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneNoteTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneActionItem; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneNote; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneNote; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneActionItem; +use Tests\TestCase; class CreateOneOnOneNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_note_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPointTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPointTest.php index 006bfbe91..90a51a7bd 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPointTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPointTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; -use Illuminate\Support\Facades\Queue; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\OneOnOne\CreateOneOnOneTalkingPoint; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateOneOnOneTalkingPointTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_talking_point_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItemTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItemTest.php index d62e6b94c..6d2e372d3 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItemTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItemTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\OneOnOneActionItem; use App\Models\Company\OneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneActionItem; use Illuminate\Support\Facades\Queue; -use App\Models\Company\OneOnOneActionItem; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneActionItem; +use Tests\TestCase; class DestroyOneOnOneActionItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_an_action_item_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntryTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntryTest.php index fb5a3a01d..f121f6cca 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntryTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntryTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneEntry; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneEntry; +use Tests\TestCase; class DestroyOneOnOneEntryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_an_entry_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneNoteTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneNoteTest.php index 7f51f3ba9..4071e7933 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneNoteTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneNoteTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; +use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneNote; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneNote; +use Tests\TestCase; class DestroyOneOnOneNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_note_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPointTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPointTest.php index c9e66a66f..b80e4514f 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPointTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPointTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; -use Illuminate\Support\Facades\Queue; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneTalkingPoint; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyOneOnOneTalkingPointTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_talking_point_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappenedTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappenedTest.php index 89bd89a5d..ed316ba2e 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappenedTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappenedTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\MarkOneOnOneEntryAsHappened; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\MarkOneOnOneEntryAsHappened; +use Tests\TestCase; class MarkOneOnOneEntryAsHappenedTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_marks_an_one_on_one_as_completed_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItemTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItemTest.php index 0fb491a0b..16fdfbef5 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItemTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItemTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Models\Company\Employee; +use App\Models\Company\OneOnOneActionItem; use App\Models\Company\OneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneActionItem; use Illuminate\Support\Facades\Queue; -use App\Models\Company\OneOnOneActionItem; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneActionItem; +use Tests\TestCase; class ToggleOneOnOneActionItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_an_one_on_one_action_item_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPointTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPointTest.php index ba47f59cc..67ac97efa 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPointTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPointTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; -use Illuminate\Support\Facades\Queue; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneTalkingPoint; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ToggleOneOnOneTalkingPointTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_an_one_on_one_talking_point_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItemTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItemTest.php index 58723af96..b0066e8f3 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItemTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItemTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Models\Company\Employee; +use App\Models\Company\OneOnOneActionItem; use App\Models\Company\OneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneActionItem; use Illuminate\Support\Facades\Queue; -use App\Models\Company\OneOnOneActionItem; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneActionItem; +use Tests\TestCase; class UpdateOneOnOneActionItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_an_action_item_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneNoteTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneNoteTest.php index ace736e1c..0f2841983 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneNoteTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneNoteTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Models\Company\Employee; -use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; +use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneNote; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneNote; +use Tests\TestCase; class UpdateOneOnOneNoteTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_note_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPointTest.php b/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPointTest.php index 7a51f802b..65c0b881f 100644 --- a/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPointTest.php +++ b/tests/Unit/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPointTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\OneOnOne; -use Tests\TestCase; use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; -use Illuminate\Support\Facades\Queue; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneTalkingPoint; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateOneOnOneTalkingPointTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_talking_point_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/PersonalDetails/SetPersonalDetailsTest.php b/tests/Unit/Services/Company/Employee/PersonalDetails/SetPersonalDetailsTest.php index bce108d82..0f9459bf7 100644 --- a/tests/Unit/Services/Company/Employee/PersonalDetails/SetPersonalDetailsTest.php +++ b/tests/Unit/Services/Company/Employee/PersonalDetails/SetPersonalDetailsTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\PersonalDetails; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\PersonalDetails\SetPersonalDetails; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\PersonalDetails\SetPersonalDetails; +use Tests\TestCase; class SetPersonalDetailsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_name_and_email_of_the_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/PersonalDetails/SetSlackHandleTest.php b/tests/Unit/Services/Company/Employee/PersonalDetails/SetSlackHandleTest.php index 4825697f6..12df4616e 100644 --- a/tests/Unit/Services/Company/Employee/PersonalDetails/SetSlackHandleTest.php +++ b/tests/Unit/Services/Company/Employee/PersonalDetails/SetSlackHandleTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\PersonalDetails; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\PersonalDetails\SetSlackHandle; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\PersonalDetails\SetSlackHandle; +use Tests\TestCase; class SetSlackHandleTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_slack_handle_of_the_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/PersonalDetails/SetTwitterHandleTest.php b/tests/Unit/Services/Company/Employee/PersonalDetails/SetTwitterHandleTest.php index 2fdddda78..db42a6a7f 100644 --- a/tests/Unit/Services/Company/Employee/PersonalDetails/SetTwitterHandleTest.php +++ b/tests/Unit/Services/Company/Employee/PersonalDetails/SetTwitterHandleTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\PersonalDetails; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\PersonalDetails\SetTwitterHandle; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\PersonalDetails\SetTwitterHandle; +use Tests\TestCase; class SetTwitterHandleTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_twitter_handle_of_the_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Position/AssignPositionToEmployeeTest.php b/tests/Unit/Services/Company/Employee/Position/AssignPositionToEmployeeTest.php index 5cd87b8db..9c4a42571 100644 --- a/tests/Unit/Services/Company/Employee/Position/AssignPositionToEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/Position/AssignPositionToEmployeeTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\Position; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\EmployeePositionHistory; use App\Models\Company\Position; +use App\Services\Company\Employee\Position\AssignPositionToEmployee; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Models\Company\EmployeePositionHistory; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Position\AssignPositionToEmployee; +use Tests\TestCase; class AssignPositionToEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_a_position_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Position/RemovePositionFromEmployeeTest.php b/tests/Unit/Services/Company/Employee/Position/RemovePositionFromEmployeeTest.php index ec322b91e..7d7a9940b 100644 --- a/tests/Unit/Services/Company/Employee/Position/RemovePositionFromEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/Position/RemovePositionFromEmployeeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\Position; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\Position\RemovePositionFromEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Position\RemovePositionFromEmployee; +use Tests\TestCase; class RemovePositionFromEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_resets_an_employees_position_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Pronoun/AssignPronounToEmployeeTest.php b/tests/Unit/Services/Company/Employee/Pronoun/AssignPronounToEmployeeTest.php index 323642ff8..69ef45ec8 100644 --- a/tests/Unit/Services/Company/Employee/Pronoun/AssignPronounToEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/Pronoun/AssignPronounToEmployeeTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\Pronoun; -use Tests\TestCase; -use App\Models\User\Pronoun; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\User\Pronoun; +use App\Services\Company\Employee\Pronoun\AssignPronounToEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Pronoun\AssignPronounToEmployee; +use Tests\TestCase; class AssignPronounToEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_a_pronoun_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Pronoun/RemovePronounFromEmployeeTest.php b/tests/Unit/Services/Company/Employee/Pronoun/RemovePronounFromEmployeeTest.php index 0a9e8291d..c42abcb5b 100644 --- a/tests/Unit/Services/Company/Employee/Pronoun/RemovePronounFromEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/Pronoun/RemovePronounFromEmployeeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\Pronoun; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\Pronoun\RemovePronounFromEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Pronoun\RemovePronounFromEmployee; +use Tests\TestCase; class RemovePronounFromEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_resets_an_employees_pronoun_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManagerTest.php b/tests/Unit/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManagerTest.php index 5fe7d34c5..d602c0fc8 100644 --- a/tests/Unit/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManagerTest.php +++ b/tests/Unit/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManagerTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\RateYourManager; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\SurveyNotActiveAnymoreException; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use App\Exceptions\SurveyNotActiveAnymoreException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\RateYourManager\RateYourManager; use App\Services\Company\Employee\RateYourManager\AddCommentToRatingAboutManager; +use App\Services\Company\Employee\RateYourManager\RateYourManager; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddCommentToRatingAboutManagerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_comment_about_the_rating_of_the_manager(): void { diff --git a/tests/Unit/Services/Company/Employee/RateYourManager/RateYourManagerTest.php b/tests/Unit/Services/Company/Employee/RateYourManager/RateYourManagerTest.php index e712f4273..c13b41c55 100644 --- a/tests/Unit/Services/Company/Employee/RateYourManager/RateYourManagerTest.php +++ b/tests/Unit/Services/Company/Employee/RateYourManager/RateYourManagerTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\RateYourManager; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\SurveyNotActiveAnymoreException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use App\Exceptions\SurveyNotActiveAnymoreException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\RateYourManager\RateYourManager; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class RateYourManagerTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_rates_a_manager(): void { diff --git a/tests/Unit/Services/Company/Employee/Skill/AttachEmployeeToSkillTest.php b/tests/Unit/Services/Company/Employee/Skill/AttachEmployeeToSkillTest.php index a490f8e85..f18d8152b 100644 --- a/tests/Unit/Services/Company/Employee/Skill/AttachEmployeeToSkillTest.php +++ b/tests/Unit/Services/Company/Employee/Skill/AttachEmployeeToSkillTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\Skill; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Skill; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\Skill; +use App\Services\Company\Employee\Skill\AttachEmployeeToSkill; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Skill\AttachEmployeeToSkill; +use Tests\TestCase; class AttachEmployeeToSkillTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_a_skill_as_administrator(): void { @@ -84,7 +81,7 @@ public function it_fails_if_the_employee_is_not_in_the_authors_company(): void $this->executeService($michael, $dwight, 'PéÔ', 'peo'); } - private function executeService(Employee $michael, Employee $dwight, string $skillName, string $name, Skill $skillAlreadyExisting = null): void + private function executeService(Employee $michael, Employee $dwight, string $skillName, string $name, ?Skill $skillAlreadyExisting = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/Skill/DestroySkillTest.php b/tests/Unit/Services/Company/Employee/Skill/DestroySkillTest.php index 3d7981cf5..83d162d4b 100644 --- a/tests/Unit/Services/Company/Employee/Skill/DestroySkillTest.php +++ b/tests/Unit/Services/Company/Employee/Skill/DestroySkillTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\Skill; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Skill; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Skill; use App\Services\Company\Employee\Skill\DestroySkill; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroySkillTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_skill_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Skill/RemoveSkillFromEmployeeTest.php b/tests/Unit/Services/Company/Employee/Skill/RemoveSkillFromEmployeeTest.php index 638bddbe3..c48009699 100644 --- a/tests/Unit/Services/Company/Employee/Skill/RemoveSkillFromEmployeeTest.php +++ b/tests/Unit/Services/Company/Employee/Skill/RemoveSkillFromEmployeeTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Employee\Skill; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Skill; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\Skill; +use App\Services\Company\Employee\Skill\RemoveSkillFromEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Skill\RemoveSkillFromEmployee; +use Tests\TestCase; class RemoveSkillFromEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_a_skill_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Skill/UpdateSkillTest.php b/tests/Unit/Services/Company/Employee/Skill/UpdateSkillTest.php index 51d1238a0..07aa50b02 100644 --- a/tests/Unit/Services/Company/Employee/Skill/UpdateSkillTest.php +++ b/tests/Unit/Services/Company/Employee/Skill/UpdateSkillTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Skill; -use Tests\TestCase; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\SkillNameNotUniqueException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Skill; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\SkillNameNotUniqueException; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Skill; +use App\Models\Company\Team; use App\Services\Company\Employee\Skill\UpdateSkill; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateSkillTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_skill_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Team/AddEmployeeToTeamTest.php b/tests/Unit/Services/Company/Employee/Team/AddEmployeeToTeamTest.php index b08270207..fb5ac3b3b 100644 --- a/tests/Unit/Services/Company/Employee/Team/AddEmployeeToTeamTest.php +++ b/tests/Unit/Services/Company/Employee/Team/AddEmployeeToTeamTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Employee\Team; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Jobs\NotifyEmployee; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; +use App\Jobs\LogTeamAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Models\Company\Team; +use App\Services\Company\Employee\Team\AddEmployeeToTeam; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Team\AddEmployeeToTeam; +use Tests\TestCase; class AddEmployeeToTeamTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_an_employee_to_a_team_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Team/RemoveEmployeeFromTeamTest.php b/tests/Unit/Services/Company/Employee/Team/RemoveEmployeeFromTeamTest.php index dbf1ccd77..85a4bc89e 100644 --- a/tests/Unit/Services/Company/Employee/Team/RemoveEmployeeFromTeamTest.php +++ b/tests/Unit/Services/Company/Employee/Team/RemoveEmployeeFromTeamTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\Services\Company\Employee\Team; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Jobs\NotifyEmployee; -use App\Models\Company\Team; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; +use App\Jobs\LogTeamAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Models\Company\Team; +use App\Services\Company\Employee\Team\RemoveEmployeeFromTeam; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Team\RemoveEmployeeFromTeam; +use Tests\TestCase; class RemoveEmployeeFromTeamTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_an_employee_from_a_team_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Timesheet/ApproveTimesheetTest.php b/tests/Unit/Services/Company/Employee/Timesheet/ApproveTimesheetTest.php index 68a50d0e0..bc7542ae9 100644 --- a/tests/Unit/Services/Company/Employee/Timesheet/ApproveTimesheetTest.php +++ b/tests/Unit/Services/Company/Employee/Timesheet/ApproveTimesheetTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Timesheet; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Services\Company\Employee\Timesheet\ApproveTimesheet; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Timesheet\ApproveTimesheet; +use Tests\TestCase; class ApproveTimesheetTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_approves_a_timesheet_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Timesheet/CreateOrGetTimesheetTest.php b/tests/Unit/Services/Company/Employee/Timesheet/CreateOrGetTimesheetTest.php index d7496bcdb..36fc8abe9 100644 --- a/tests/Unit/Services/Company/Employee/Timesheet/CreateOrGetTimesheetTest.php +++ b/tests/Unit/Services/Company/Employee/Timesheet/CreateOrGetTimesheetTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Employee\Timesheet; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Employee; use App\Models\Company\Timesheet; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Employee\Timesheet\CreateOrGetTimesheet; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateOrGetTimesheetTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_timesheet_as_administrator(): void { @@ -86,7 +83,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new CreateOrGetTimesheet)->execute($request); } - private function executeService(Employee $author, Employee $employee, Timesheet $existingTimesheet = null): void + private function executeService(Employee $author, Employee $employee, ?Timesheet $existingTimesheet = null): void { $request = [ 'company_id' => $author->company_id, diff --git a/tests/Unit/Services/Company/Employee/Timesheet/CreateTimeTrackingEntryTest.php b/tests/Unit/Services/Company/Employee/Timesheet/CreateTimeTrackingEntryTest.php index 4c429ef87..05384d629 100644 --- a/tests/Unit/Services/Company/Employee/Timesheet/CreateTimeTrackingEntryTest.php +++ b/tests/Unit/Services/Company/Employee/Timesheet/CreateTimeTrackingEntryTest.php @@ -2,26 +2,23 @@ namespace Tests\Unit\Services\Company\Employee\Timesheet; -use Tests\TestCase; +use App\Exceptions\DurationExceedingMaximalDurationException; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Exceptions\DurationExceedingMaximalDurationException; use App\Services\Company\Employee\Timesheet\CreateTimeTrackingEntry; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateTimeTrackingEntryTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_time_tracking_entry_as_administrator(): void { @@ -150,7 +147,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new CreateTimeTrackingEntry)->execute($request); } - private function executeService(Employee $author, Employee $employee, Project $project = null, ProjectTask $task): void + private function executeService(Employee $author, Employee $employee, ?Project $project, ProjectTask $task): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/Timesheet/DestroyTimesheetRowTest.php b/tests/Unit/Services/Company/Employee/Timesheet/DestroyTimesheetRowTest.php index 470f3563f..4b649fbde 100644 --- a/tests/Unit/Services/Company/Employee/Timesheet/DestroyTimesheetRowTest.php +++ b/tests/Unit/Services/Company/Employee/Timesheet/DestroyTimesheetRowTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Timesheet; -use Tests\TestCase; -use App\Models\Company\Project; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Employee\Timesheet\DestroyTimesheetRow; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyTimesheetRowTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_timesheet_row_as_administrator(): void { @@ -244,7 +241,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new DestroyTimesheetRow)->execute($request); } - private function executeService(Employee $author, Employee $employee, Project $project = null, ProjectTask $task, Timesheet $timesheet): void + private function executeService(Employee $author, Employee $employee, ?Project $project, ProjectTask $task, Timesheet $timesheet): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Employee/Timesheet/RejectTimesheetTest.php b/tests/Unit/Services/Company/Employee/Timesheet/RejectTimesheetTest.php index acd3d3996..66c6eaebb 100644 --- a/tests/Unit/Services/Company/Employee/Timesheet/RejectTimesheetTest.php +++ b/tests/Unit/Services/Company/Employee/Timesheet/RejectTimesheetTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Timesheet; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Services\Company\Employee\Timesheet\RejectTimesheet; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Timesheet\RejectTimesheet; +use Tests\TestCase; class RejectTimesheetTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_rejects_a_timesheet_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Timesheet/SubmitTimesheetTest.php b/tests/Unit/Services/Company/Employee/Timesheet/SubmitTimesheetTest.php index 6070c62f4..57a8e2217 100644 --- a/tests/Unit/Services/Company/Employee/Timesheet/SubmitTimesheetTest.php +++ b/tests/Unit/Services/Company/Employee/Timesheet/SubmitTimesheetTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Employee\Timesheet; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Services\Company\Employee\Timesheet\SubmitTimesheet; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Timesheet\SubmitTimesheet; +use Tests\TestCase; class SubmitTimesheetTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_submits_a_timesheet_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformationTest.php b/tests/Unit/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformationTest.php index 38580fa3e..783ea8475 100644 --- a/tests/Unit/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformationTest.php +++ b/tests/Unit/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformationTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\WorkFromHome; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\Company\Employee\WorkFromHome\UpdateWorkFromHomeInformation; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\WorkFromHome\UpdateWorkFromHomeInformation; +use Tests\TestCase; class UpdateWorkFromHomeInformationTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_new_work_from_home_entry_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Worklog/DestroyWorklogTest.php b/tests/Unit/Services/Company/Employee/Worklog/DestroyWorklogTest.php index bdbdfab7c..996e09910 100644 --- a/tests/Unit/Services/Company/Employee/Worklog/DestroyWorklogTest.php +++ b/tests/Unit/Services/Company/Employee/Worklog/DestroyWorklogTest.php @@ -2,22 +2,17 @@ namespace Tests\Unit\Services\Company\Employee\Worklog; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Worklog; use App\Models\Company\Employee; +use App\Models\Company\Worklog; +use App\Services\Company\Employee\Worklog\DestroyWorklog; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Worklog\DestroyWorklog; +use Tests\TestCase; class DestroyWorklogTest extends TestCase { - use DatabaseTransactions; - - use DatabaseTransactions; - /** @test */ public function it_destroys_a_worklog_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Employee/Worklog/LogWorklogTest.php b/tests/Unit/Services/Company/Employee/Worklog/LogWorklogTest.php index 1e3d1ef0c..b97bce794 100644 --- a/tests/Unit/Services/Company/Employee/Worklog/LogWorklogTest.php +++ b/tests/Unit/Services/Company/Employee/Worklog/LogWorklogTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Employee\Worklog; -use Tests\TestCase; +use App\Exceptions\WorklogAlreadyLoggedTodayException; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Worklog; use App\Models\Company\Employee; +use App\Models\Company\Worklog; +use App\Services\Company\Employee\Worklog\LogWorklog; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Services\Company\Employee\Worklog\LogWorklog; -use App\Exceptions\WorklogAlreadyLoggedTodayException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class LogWorklogTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_a_worklog_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/AddEmployeeToGroupTest.php b/tests/Unit/Services/Company/Group/AddEmployeeToGroupTest.php index 2b8b5e421..a58a52404 100644 --- a/tests/Unit/Services/Company/Group/AddEmployeeToGroupTest.php +++ b/tests/Unit/Services/Company/Group/AddEmployeeToGroupTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Group; use App\Services\Company\Group\AddEmployeeToGroup; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddEmployeeToGroupTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_an_employee_to_a_group_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/AddGuestToMeetingTest.php b/tests/Unit/Services/Company/Group/AddGuestToMeetingTest.php index 83b9b4eea..2272cf158 100644 --- a/tests/Unit/Services/Company/Group/AddGuestToMeetingTest.php +++ b/tests/Unit/Services/Company/Group/AddGuestToMeetingTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Services\Company\Group\AddGuestToMeeting; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddGuestToMeetingTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_an_employee_to_a_meeting_as_guest_as_administrator(): void { @@ -142,7 +139,7 @@ private function executeService(Employee $michael, Employee $dwight, Group $grou $job->auditLog['objects'] === json_encode([ 'group_id' => $group->id, 'group_name' => $group->name, - 'meeting_id' => $meeting->id, + 'meeting_id' => $meeting->id, ]); }); } diff --git a/tests/Unit/Services/Company/Group/CreateAgendaItemTest.php b/tests/Unit/Services/Company/Group/CreateAgendaItemTest.php index 49bd87443..ec9e6c843 100644 --- a/tests/Unit/Services/Company/Group/CreateAgendaItemTest.php +++ b/tests/Unit/Services/Company/Group/CreateAgendaItemTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; +use App\Models\Company\AgendaItem; use App\Models\Company\Company; -use App\Models\Company\Meeting; use App\Models\Company\Employee; -use App\Models\Company\AgendaItem; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Services\Company\Group\CreateAgendaItem; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateAgendaItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_agenda_item_as_administrator(): void { @@ -131,7 +128,7 @@ public function it_fails_if_the_presenter_is_not_in_the_company(): void $this->executeService($michael, $michael->company, $group, $meeting, $dwight); } - private function executeService(Employee $michael, Company $company, Group $group, Meeting $meeting, Employee $presenter = null): void + private function executeService(Employee $michael, Company $company, Group $group, Meeting $meeting, ?Employee $presenter = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Group/CreateGroupTest.php b/tests/Unit/Services/Company/Group/CreateGroupTest.php index 7d8634223..73bf7df1d 100644 --- a/tests/Unit/Services/Company/Group/CreateGroupTest.php +++ b/tests/Unit/Services/Company/Group/CreateGroupTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; -use App\Jobs\ServiceQueue; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; +use App\Jobs\ServiceQueue; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Group; +use App\Services\Company\Group\AddEmployeeToGroup; use App\Services\Company\Group\CreateGroup; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProject; -use App\Services\Company\Group\AddEmployeeToGroup; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateGroupTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_group_as_administrator(): void { @@ -64,7 +61,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new CreateProject)->execute($request); } - private function executeService(Employee $michael, array $employees = null): void + private function executeService(Employee $michael, ?array $employees = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Group/CreateMeetingDecisionTest.php b/tests/Unit/Services/Company/Group/CreateMeetingDecisionTest.php index 5a2c4b746..b1cba6f74 100644 --- a/tests/Unit/Services/Company/Group/CreateMeetingDecisionTest.php +++ b/tests/Unit/Services/Company/Group/CreateMeetingDecisionTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; +use App\Models\Company\AgendaItem; use App\Models\Company\Company; -use App\Models\Company\Meeting; use App\Models\Company\Employee; -use App\Models\Company\AgendaItem; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Models\Company\MeetingDecision; -use Illuminate\Validation\ValidationException; use App\Services\Company\Group\CreateMeetingDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateMeetingDecisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_meeting_decision_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/CreateMeetingTest.php b/tests/Unit/Services/Company/Group/CreateMeetingTest.php index 45fe37609..effe8bbd4 100644 --- a/tests/Unit/Services/Company/Group/CreateMeetingTest.php +++ b/tests/Unit/Services/Company/Group/CreateMeetingTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Models\Company\Company; -use App\Models\Company\Meeting; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Services\Company\Group\CreateMeeting; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProject; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateMeetingTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_meeting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/DestroyAgendaItemTest.php b/tests/Unit/Services/Company/Group/DestroyAgendaItemTest.php index 3851469f2..86fa8b2c8 100644 --- a/tests/Unit/Services/Company/Group/DestroyAgendaItemTest.php +++ b/tests/Unit/Services/Company/Group/DestroyAgendaItemTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; +use App\Models\Company\AgendaItem; +use App\Models\Company\Employee; use App\Models\Company\Group; use App\Models\Company\Meeting; -use App\Models\Company\Employee; -use App\Models\Company\AgendaItem; -use Illuminate\Support\Facades\Queue; -use App\Services\Company\Group\DestroyMeeting; -use Illuminate\Validation\ValidationException; use App\Services\Company\Group\DestroyAgendaItem; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Services\Company\Group\DestroyMeeting; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyAgendaItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_an_agenda_item_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/DestroyGroupTest.php b/tests/Unit/Services/Company/Group/DestroyGroupTest.php index dd70f7029..e36206673 100644 --- a/tests/Unit/Services/Company/Group/DestroyGroupTest.php +++ b/tests/Unit/Services/Company/Group/DestroyGroupTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Group; use App\Services\Company\Group\DestroyGroup; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyGroupTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_group_as_administrator(): void { @@ -69,7 +66,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new DestroyGroup)->execute($request); } - private function executeService(Employee $michael, Group $group = null): void + private function executeService(Employee $michael, ?Group $group = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Group/DestroyMeetingDecisionTest.php b/tests/Unit/Services/Company/Group/DestroyMeetingDecisionTest.php index 743faff16..e9578f832 100644 --- a/tests/Unit/Services/Company/Group/DestroyMeetingDecisionTest.php +++ b/tests/Unit/Services/Company/Group/DestroyMeetingDecisionTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; +use App\Models\Company\AgendaItem; +use App\Models\Company\Employee; use App\Models\Company\Group; use App\Models\Company\Meeting; -use App\Models\Company\Employee; -use App\Models\Company\AgendaItem; -use Illuminate\Support\Facades\Queue; use App\Models\Company\MeetingDecision; -use Illuminate\Validation\ValidationException; use App\Services\Company\Group\DestroyMeetingDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyMeetingDecisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_meeting_decision_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/DestroyMeetingTest.php b/tests/Unit/Services/Company/Group/DestroyMeetingTest.php index eee2ff9c2..70b50b434 100644 --- a/tests/Unit/Services/Company/Group/DestroyMeetingTest.php +++ b/tests/Unit/Services/Company/Group/DestroyMeetingTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; +use App\Models\Company\Employee; use App\Models\Company\Group; use App\Models\Company\Meeting; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Services\Company\Group\DestroyMeeting; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyMeetingTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_meeting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/RemoveEmployeeFromGroupTest.php b/tests/Unit/Services/Company/Group/RemoveEmployeeFromGroupTest.php index a8e80fa2e..6beb042b2 100644 --- a/tests/Unit/Services/Company/Group/RemoveEmployeeFromGroupTest.php +++ b/tests/Unit/Services/Company/Group/RemoveEmployeeFromGroupTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Group; use App\Services\Company\Group\RemoveEmployeeFromGroup; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class RemoveEmployeeFromGroupTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_an_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/RemoveGuestFromMeetingTest.php b/tests/Unit/Services/Company/Group/RemoveGuestFromMeetingTest.php index 179e643eb..2be7d58f6 100644 --- a/tests/Unit/Services/Company/Group/RemoveGuestFromMeetingTest.php +++ b/tests/Unit/Services/Company/Group/RemoveGuestFromMeetingTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Models\Company\Meeting; +use App\Services\Company\Group\RemoveGuestFromMeeting; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Services\Company\Group\RemoveGuestFromMeeting; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use Tests\TestCase; class RemoveGuestFromMeetingTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_an_employee_from_a_meeting_as_administrator(): void { @@ -143,7 +140,7 @@ private function executeService(Employee $michael, Employee $dwight, Group $grou $job->auditLog['objects'] === json_encode([ 'group_id' => $group->id, 'group_name' => $group->name, - 'meeting_id' => $meeting->id, + 'meeting_id' => $meeting->id, ]); }); } diff --git a/tests/Unit/Services/Company/Group/ToggleEmployeeParticipationInMeetingTest.php b/tests/Unit/Services/Company/Group/ToggleEmployeeParticipationInMeetingTest.php index 20a4b9d53..31f163e62 100644 --- a/tests/Unit/Services/Company/Group/ToggleEmployeeParticipationInMeetingTest.php +++ b/tests/Unit/Services/Company/Group/ToggleEmployeeParticipationInMeetingTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Models\Company\Meeting; +use App\Services\Company\Group\ToggleEmployeeParticipationInMeeting; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Group\ToggleEmployeeParticipationInMeeting; +use Tests\TestCase; class ToggleEmployeeParticipationInMeetingTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_a_participation_to_a_meeting_as_administrator(): void { @@ -151,7 +148,7 @@ private function executeService(Employee $michael, Employee $dwight, Group $grou $job->auditLog['objects'] === json_encode([ 'group_id' => $group->id, 'group_name' => $group->name, - 'meeting_id' => $meeting->id, + 'meeting_id' => $meeting->id, ]); }); } diff --git a/tests/Unit/Services/Company/Group/UpdateAgendaItemTest.php b/tests/Unit/Services/Company/Group/UpdateAgendaItemTest.php index c1184c52d..984d74faa 100644 --- a/tests/Unit/Services/Company/Group/UpdateAgendaItemTest.php +++ b/tests/Unit/Services/Company/Group/UpdateAgendaItemTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; +use App\Models\Company\AgendaItem; use App\Models\Company\Company; -use App\Models\Company\Meeting; use App\Models\Company\Employee; -use App\Models\Company\AgendaItem; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Services\Company\Group\UpdateAgendaItem; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateAgendaItemTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_an_agenda_item_as_administrator(): void { @@ -166,7 +163,7 @@ public function it_fails_if_the_presenter_is_not_in_the_company(): void $this->executeService($michael, $michael->company, $group, $meeting, $agendaItem, $dwight); } - private function executeService(Employee $michael, Company $company, Group $group, Meeting $meeting, AgendaItem $agendaItem, Employee $presenter = null): void + private function executeService(Employee $michael, Company $company, Group $group, Meeting $meeting, AgendaItem $agendaItem, ?Employee $presenter = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Group/UpdateGroupTest.php b/tests/Unit/Services/Company/Group/UpdateGroupTest.php index a1cbf0771..df538fa74 100644 --- a/tests/Unit/Services/Company/Group/UpdateGroupTest.php +++ b/tests/Unit/Services/Company/Group/UpdateGroupTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use App\Services\Company\Group\UpdateGroup; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Group; use App\Services\Company\Group\RemoveGuestFromMeeting; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Services\Company\Group\UpdateGroup; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateGroupTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_details_of_the_group_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/UpdateMeetingDateTest.php b/tests/Unit/Services/Company/Group/UpdateMeetingDateTest.php index 5b2b21517..01a487226 100644 --- a/tests/Unit/Services/Company/Group/UpdateMeetingDateTest.php +++ b/tests/Unit/Services/Company/Group/UpdateMeetingDateTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; +use App\Models\Company\Employee; use App\Models\Company\Group; use App\Models\Company\Meeting; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Services\Company\Group\UpdateMeetingDate; use App\Services\Company\Group\RemoveGuestFromMeeting; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Services\Company\Group\UpdateMeetingDate; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateMeetingDateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_date_of_a_meeting_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Group/UpdateMeetingDecisionTest.php b/tests/Unit/Services/Company/Group/UpdateMeetingDecisionTest.php index 8f5d46395..042d56f19 100644 --- a/tests/Unit/Services/Company/Group/UpdateMeetingDecisionTest.php +++ b/tests/Unit/Services/Company/Group/UpdateMeetingDecisionTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\Services\Company\Group; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; +use App\Models\Company\AgendaItem; use App\Models\Company\Company; -use App\Models\Company\Meeting; use App\Models\Company\Employee; -use App\Models\Company\AgendaItem; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Models\Company\MeetingDecision; -use Illuminate\Validation\ValidationException; use App\Services\Company\Group\UpdateAgendaItem; use App\Services\Company\Group\UpdateMeetingDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateMeetingDecisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_meeting_decision_as_administrator(): void { diff --git a/tests/Unit/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGameTest.php b/tests/Unit/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGameTest.php index 64bab90c5..61b42ef5f 100644 --- a/tests/Unit/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGameTest.php +++ b/tests/Unit/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGameTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\GuessEmployeeGame; -use Tests\TestCase; -use OutOfRangeException; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\GuessEmployeeGame; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\GuessEmployeeGame\CreateGuessEmployeeGame; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use OutOfRangeException; +use Tests\TestCase; class CreateGuessEmployeeGameTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_game_as_administrator(): void { diff --git a/tests/Unit/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGameTest.php b/tests/Unit/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGameTest.php index 04c49cbfe..da057e366 100644 --- a/tests/Unit/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGameTest.php +++ b/tests/Unit/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGameTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\GuessEmployeeGame; -use Tests\TestCase; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; use App\Models\Company\GuessEmployeeGame; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\GuessEmployeeGame\VoteGuessEmployeeGame; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class VoteGuessEmployeeGameTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_votes_a_game_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Place/CreatePlaceTest.php b/tests/Unit/Services/Company/Place/CreatePlaceTest.php index 1b7738c84..991cc0087 100644 --- a/tests/Unit/Services/Company/Place/CreatePlaceTest.php +++ b/tests/Unit/Services/Company/Place/CreatePlaceTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Place; -use Tests\TestCase; -use App\Models\Company\Place; +use App\Jobs\FetchAddressGeocoding; use App\Models\Company\Country; use App\Models\Company\Employee; +use App\Models\Company\Place; +use App\Services\Company\Place\CreatePlace; use Illuminate\Support\Facades\DB; -use App\Jobs\FetchAddressGeocoding; use Illuminate\Support\Facades\Queue; -use App\Services\Company\Place\CreatePlace; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreatePlaceTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_place_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Place/GetGPSCoordinateTest.php b/tests/Unit/Services/Company/Place/GetGPSCoordinateTest.php index 78df48fc6..b62232ebd 100644 --- a/tests/Unit/Services/Company/Place/GetGPSCoordinateTest.php +++ b/tests/Unit/Services/Company/Place/GetGPSCoordinateTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Services\Company\Place; -use Tests\TestCase; use App\Models\Company\Place; +use App\Services\Company\Place\GetGPSCoordinate; use Illuminate\Support\Facades\Http; use Illuminate\Validation\ValidationException; -use App\Services\Company\Place\GetGPSCoordinate; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class GetGPSCoordinateTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_returns_null_if_geolocation_is_disabled() { diff --git a/tests/Unit/Services/Company/Project/AddEmployeeToProjectTest.php b/tests/Unit/Services/Company/Project/AddEmployeeToProjectTest.php index 1975f7a13..bba2b6fa5 100644 --- a/tests/Unit/Services/Company/Project/AddEmployeeToProjectTest.php +++ b/tests/Unit/Services/Company/Project/AddEmployeeToProjectTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Project; use App\Services\Company\Project\AddEmployeeToProject; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddEmployeeToProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_an_employee_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/AddFileToProjectTest.php b/tests/Unit/Services/Company/Project/AddFileToProjectTest.php index 78f8e02b9..829cc4259 100644 --- a/tests/Unit/Services/Company/Project/AddFileToProjectTest.php +++ b/tests/Unit/Services/Company/Project/AddFileToProjectTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\File; +use App\Models\Company\Project; use App\Services\Company\Project\AddFileToProject; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddFileToProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_file_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/AssignAssigneeToProjectIssueTest.php b/tests/Unit/Services/Company/Project/AssignAssigneeToProjectIssueTest.php index 76f99b61c..fa50d447d 100644 --- a/tests/Unit/Services/Company/Project/AssignAssigneeToProjectIssueTest.php +++ b/tests/Unit/Services/Company/Project/AssignAssigneeToProjectIssueTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; +use App\Services\Company\Project\AssignAssigneeToProjectIssue; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\AssignAssigneeToProjectIssue; +use Tests\TestCase; class AssignAssigneeToProjectIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_the_issue_to_an_employeee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/AssignIssueToSprintTest.php b/tests/Unit/Services/Company/Project/AssignIssueToSprintTest.php index 935264443..3345e9154 100644 --- a/tests/Unit/Services/Company/Project/AssignIssueToSprintTest.php +++ b/tests/Unit/Services/Company/Project/AssignIssueToSprintTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\AssignIssueToSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AssignIssueToSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_the_issue_to_a_sprint_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/AssignLabelToIssueTest.php b/tests/Unit/Services/Company/Project/AssignLabelToIssueTest.php index 1d80f3268..3af06ae2c 100644 --- a/tests/Unit/Services/Company/Project/AssignLabelToIssueTest.php +++ b/tests/Unit/Services/Company/Project/AssignLabelToIssueTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectLabel; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\AssignLabelToIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AssignLabelToIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_the_project_label_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/AssignProjectTaskToEmployeeTest.php b/tests/Unit/Services/Company/Project/AssignProjectTaskToEmployeeTest.php index 3168fb728..0f5a4ca85 100644 --- a/tests/Unit/Services/Company/Project/AssignProjectTaskToEmployeeTest.php +++ b/tests/Unit/Services/Company/Project/AssignProjectTaskToEmployeeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Services\Company\Project\AssignProjectTaskToEmployee; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\AssignProjectTaskToEmployee; +use Tests\TestCase; class AssignProjectTaskToEmployeeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_assigns_a_task_to_an_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/AssignProjectTaskToTaskListTest.php b/tests/Unit/Services/Company/Project/AssignProjectTaskToTaskListTest.php index 467aa61e4..d72135905 100644 --- a/tests/Unit/Services/Company/Project/AssignProjectTaskToTaskListTest.php +++ b/tests/Unit/Services/Company/Project/AssignProjectTaskToTaskListTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; -use Illuminate\Support\Facades\Queue; use App\Models\Company\ProjectTaskList; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Project\AssignProjectTaskToTaskList; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AssignProjectTaskToTaskListTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_project_task_to_a_task_list_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/ClearProjectLeadTest.php b/tests/Unit/Services/Company/Project/ClearProjectLeadTest.php index 07d7763fc..410ac265a 100644 --- a/tests/Unit/Services/Company/Project/ClearProjectLeadTest.php +++ b/tests/Unit/Services/Company/Project/ClearProjectLeadTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Project; use App\Services\Company\Project\ClearProjectLead; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ClearProjectLeadTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_clears_the_project_lead_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CloseProjectTest.php b/tests/Unit/Services/Company/Project/CloseProjectTest.php index 733676f5e..ae0461945 100644 --- a/tests/Unit/Services/Company/Project/CloseProjectTest.php +++ b/tests/Unit/Services/Company/Project/CloseProjectTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Carbon\Carbon; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Services\Company\Project\CloseProject; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CloseProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_stops_a_project_as_administrator(): void { @@ -70,7 +67,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new CloseProject)->execute($request); } - private function executeService(Employee $michael, Project $project = null): void + private function executeService(Employee $michael, ?Project $project = null): void { Queue::fake(); Carbon::setTestNow(Carbon::create(2019, 1, 1)); diff --git a/tests/Unit/Services/Company/Project/CreateIssueTypeTest.php b/tests/Unit/Services/Company/Project/CreateIssueTypeTest.php index dd361a0c1..26d3168b7 100644 --- a/tests/Unit/Services/Company/Project/CreateIssueTypeTest.php +++ b/tests/Unit/Services/Company/Project/CreateIssueTypeTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\IssueType; +use App\Services\Company\Project\CreateIssueType; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use App\Services\Company\Project\CreateIssueType; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreateIssueTypeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_issue_type_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectBoardTest.php b/tests/Unit/Services/Company/Project/CreateProjectBoardTest.php index 93b438269..d4815b914 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectBoardTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectBoardTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProjectBoard; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectBoardTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_board_in_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectDecisionTest.php b/tests/Unit/Services/Company/Project/CreateProjectDecisionTest.php index e0647da2f..d22b85c08 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectDecisionTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectDecisionTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectDecision; -use Illuminate\Validation\ValidationException; -use App\Services\Company\Project\CreateProjectStatus; use App\Services\Company\Project\CreateProjectDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Services\Company\Project\CreateProjectStatus; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectDecisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_decision_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectIssueCommentTest.php b/tests/Unit/Services/Company/Project/CreateProjectIssueCommentTest.php index 10010d3d1..210c9a1f3 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectIssueCommentTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectIssueCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; +use App\Services\Company\Project\CreateProjectIssueComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\CreateProjectIssueComment; +use Tests\TestCase; class CreateProjectIssueCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_comment_to_an_issue_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectIssueTest.php b/tests/Unit/Services/Company/Project/CreateProjectIssueTest.php index c415a8035..e148cb563 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectIssueTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectIssueTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; use App\Models\Company\IssueType; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProjectIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_an_issue_in_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectLabelTest.php b/tests/Unit/Services/Company/Project/CreateProjectLabelTest.php index d329ed8b7..eb4f512a6 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectLabelTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectLabelTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; +use App\Exceptions\LabelAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectLabel; -use Illuminate\Support\Facades\Queue; -use App\Exceptions\LabelAlreadyExistException; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProjectLabel; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectLabelTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_label_in_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectLinkTest.php b/tests/Unit/Services/Company/Project/CreateProjectLinkTest.php index ea8649a2a..d5cddb4da 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectLinkTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectLinkTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectLink; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProjectLink; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectLinkTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_link_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectMessageCommentTest.php b/tests/Unit/Services/Company/Project/CreateProjectMessageCommentTest.php index 83021b280..742a55283 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectMessageCommentTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectMessageCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Project\CreateProjectMessageComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectMessageCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_comment_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectMessageTest.php b/tests/Unit/Services/Company/Project/CreateProjectMessageTest.php index a0b81c491..da728de73 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectMessageTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectMessageTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; -use Illuminate\Validation\ValidationException; -use App\Services\Company\Project\CreateProjectStatus; use App\Services\Company\Project\CreateProjectMessage; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Services\Company\Project\CreateProjectStatus; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectMessageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_message_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectSprintTest.php b/tests/Unit/Services/Company/Project/CreateProjectSprintTest.php index 620ad6a8f..0ac569f7d 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectSprintTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectSprintTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_sprint_in_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectStatusTest.php b/tests/Unit/Services/Company/Project/CreateProjectStatusTest.php index f3dcbf80a..327988e59 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectStatusTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectStatusTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectStatus; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProjectStatus; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectStatusTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_status_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectTaskCommentTest.php b/tests/Unit/Services/Company/Project/CreateProjectTaskCommentTest.php index 3e60e8dbb..5e2f57f99 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectTaskCommentTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectTaskCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Services\Company\Project\CreateProjectTaskComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\CreateProjectTaskComment; +use Tests\TestCase; class CreateProjectTaskCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_comment_to_a_task_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectTaskListTest.php b/tests/Unit/Services/Company/Project/CreateProjectTaskListTest.php index c243e297b..6c3ed47c7 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectTaskListTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectTaskListTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectTaskList; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\CreateProjectTaskList; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectTaskListTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_task_list_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/CreateProjectTaskTest.php b/tests/Unit/Services/Company/Project/CreateProjectTaskTest.php index 3a1daca96..406ce676a 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectTaskTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectTaskTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; -use Illuminate\Support\Facades\Queue; use App\Models\Company\ProjectTaskList; -use Illuminate\Validation\ValidationException; -use App\Services\Company\Project\CreateProjectTask; use App\Services\Company\Project\CreateProjectStatus; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Services\Company\Project\CreateProjectTask; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectTaskTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_task_to_a_project_as_administrator(): void { @@ -94,7 +91,7 @@ public function it_fails_if_the_project_task_is_not_in_the_project(): void $this->executeService($michael, $project, $projectTaskList); } - private function executeService(Employee $michael, Project $project, ProjectTaskList $taskList = null): void + private function executeService(Employee $michael, Project $project, ?ProjectTaskList $taskList = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Project/CreateProjectTest.php b/tests/Unit/Services/Company/Project/CreateProjectTest.php index 6dd0cda55..888511c01 100644 --- a/tests/Unit/Services/Company/Project/CreateProjectTest.php +++ b/tests/Unit/Services/Company/Project/CreateProjectTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; +use App\Exceptions\ProjectCodeAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Project; use App\Services\Company\Project\CreateProject; -use App\Exceptions\ProjectCodeAlreadyExistException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_project_as_administrator(): void { @@ -99,7 +96,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new CreateProject)->execute($request); } - private function executeService(Employee $michael, Employee $lead = null): void + private function executeService(Employee $michael, ?Employee $lead = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Project/DestroyIssueTypeTest.php b/tests/Unit/Services/Company/Project/DestroyIssueTypeTest.php index a43952ecf..ea3d54c50 100644 --- a/tests/Unit/Services/Company/Project/DestroyIssueTypeTest.php +++ b/tests/Unit/Services/Company/Project/DestroyIssueTypeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\IssueType; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; use App\Services\Company\Project\DestroyIssueType; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyIssueTypeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_the_issue_type_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectBoardTest.php b/tests/Unit/Services/Company/Project/DestroyProjectBoardTest.php index 4000b9ac9..939489a2f 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectBoardTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectBoardTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\DestroyProjectBoard; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectBoardTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_board_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectDecisionTest.php b/tests/Unit/Services/Company/Project/DestroyProjectDecisionTest.php index 9c07b2149..d736958b6 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectDecisionTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectDecisionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectDecision; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Project\DestroyProjectDecision; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectDecisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_decision_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectFileTest.php b/tests/Unit/Services/Company/Project/DestroyProjectFileTest.php index 620350595..941f28583 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectFileTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectFileTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\File; +use App\Models\Company\Project; +use App\Services\Company\Project\DestroyProjectFile; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Services\Company\Project\DestroyProjectFile; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use Tests\TestCase; class DestroyProjectFileTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_a_file_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectIssueCommentTest.php b/tests/Unit/Services/Company/Project/DestroyProjectIssueCommentTest.php index dd08b8f30..b2b260d29 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectIssueCommentTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectIssueCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; +use App\Services\Company\Project\DestroyProjectIssueComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\DestroyProjectIssueComment; +use Tests\TestCase; class DestroyProjectIssueCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_comment_to_a_issue_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectIssueTest.php b/tests/Unit/Services/Company/Project/DestroyProjectIssueTest.php index 7d8b3944a..b3f13f41e 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectIssueTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectIssueTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\DestroyProjectIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_the_project_issue_as_administrator(): void { @@ -151,12 +148,12 @@ private function executeService(Employee $michael, Project $project, ProjectSpri ]); $this->assertDatabaseHas('project_issue_project_sprint', [ - 'project_sprint_id' => $sprint->id, + 'project_sprint_id' => $sprint->id, 'project_issue_id' => $olderIssue->id, 'position' => 4, ]); $this->assertDatabaseHas('project_issue_project_sprint', [ - 'project_sprint_id' => $sprint->id, + 'project_sprint_id' => $sprint->id, 'project_issue_id' => $youngerIssue->id, 'position' => 2, ]); diff --git a/tests/Unit/Services/Company/Project/DestroyProjectLabelTest.php b/tests/Unit/Services/Company/Project/DestroyProjectLabelTest.php index 2edaceb81..130b89a66 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectLabelTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectLabelTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectLabel; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\DestroyProjectLabel; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectLabelTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_the_project_label_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectLinkTest.php b/tests/Unit/Services/Company/Project/DestroyProjectLinkTest.php index 600304f80..00aaa6e55 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectLinkTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectLinkTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectLink; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\DestroyProjectLink; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectLinkTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_link_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectMessageCommentTest.php b/tests/Unit/Services/Company/Project/DestroyProjectMessageCommentTest.php index 43cd4a386..06d29233f 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectMessageCommentTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectMessageCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Project\DestroyProjectMessageComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectMessageCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_comment_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectMessageTest.php b/tests/Unit/Services/Company/Project/DestroyProjectMessageTest.php index 14ed31145..65f9cd244 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectMessageTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectMessageTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\DestroyProjectMessage; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectMessageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_message_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectSprintTest.php b/tests/Unit/Services/Company/Project/DestroyProjectSprintTest.php index fc00205ea..a2354f6cc 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectSprintTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectSprintTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\DestroyProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_sprint_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectTaskCommentTest.php b/tests/Unit/Services/Company/Project/DestroyProjectTaskCommentTest.php index 2c4c95cba..756526cba 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectTaskCommentTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectTaskCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Services\Company\Project\DestroyProjectTaskComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\DestroyProjectTaskComment; +use Tests\TestCase; class DestroyProjectTaskCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_comment_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectTaskListTest.php b/tests/Unit/Services/Company/Project/DestroyProjectTaskListTest.php index 9dbd15a2a..ee859e61f 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectTaskListTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectTaskListTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectTaskList; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Project\DestroyProjectTaskList; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectTaskListTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_task_list_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectTaskTest.php b/tests/Unit/Services/Company/Project/DestroyProjectTaskTest.php index 4ef245331..d2f3b681c 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectTaskTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectTaskTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Services\Company\Project\DestroyProjectTask; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Project\DestroyProjectDecision; +use App\Services\Company\Project\DestroyProjectTask; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyProjectTaskTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_task_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/DestroyProjectTest.php b/tests/Unit/Services/Company/Project/DestroyProjectTest.php index c917501ec..4025e6514 100644 --- a/tests/Unit/Services/Company/Project/DestroyProjectTest.php +++ b/tests/Unit/Services/Company/Project/DestroyProjectTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\File; +use App\Models\Company\Project; +use App\Services\Company\Project\DestroyProject; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Services\Company\Project\DestroyProject; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use Tests\TestCase; class DestroyProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_project_as_administrator(): void { @@ -87,7 +84,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new DestroyProject)->execute($request); } - private function executeService(Employee $michael, Project $project = null): void + private function executeService(Employee $michael, ?Project $project = null): void { Queue::fake(); Event::fake(); diff --git a/tests/Unit/Services/Company/Project/DuplicateIssueTest.php b/tests/Unit/Services/Company/Project/DuplicateIssueTest.php index ec60e0bd3..e18919a3e 100644 --- a/tests/Unit/Services/Company/Project/DuplicateIssueTest.php +++ b/tests/Unit/Services/Company/Project/DuplicateIssueTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\DuplicateIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DuplicateIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_duplicates_a_project_issue_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/MarkProjectMessageasReadTest.php b/tests/Unit/Services/Company/Project/MarkProjectMessageasReadTest.php index b2bb9143c..c913cc55e 100644 --- a/tests/Unit/Services/Company/Project/MarkProjectMessageasReadTest.php +++ b/tests/Unit/Services/Company/Project/MarkProjectMessageasReadTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Project\DestroyProjectDecision; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Project\MarkProjectMessageasRead; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class MarkProjectMessageasReadTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_reads_a_message_from_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/PauseProjectTest.php b/tests/Unit/Services/Company/Project/PauseProjectTest.php index 7bda83372..8cb6533ba 100644 --- a/tests/Unit/Services/Company/Project/PauseProjectTest.php +++ b/tests/Unit/Services/Company/Project/PauseProjectTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Services\Company\Project\PauseProject; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class PauseProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_stops_a_project_as_administrator(): void { @@ -69,7 +66,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new PauseProject)->execute($request); } - private function executeService(Employee $michael, Project $project = null): void + private function executeService(Employee $michael, ?Project $project = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Project/RemoveAssigneeFromProjectIssueTest.php b/tests/Unit/Services/Company/Project/RemoveAssigneeFromProjectIssueTest.php index 191e5e0fb..91e0a5a08 100644 --- a/tests/Unit/Services/Company/Project/RemoveAssigneeFromProjectIssueTest.php +++ b/tests/Unit/Services/Company/Project/RemoveAssigneeFromProjectIssueTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; +use App\Services\Company\Project\RemoveAssigneeFromProjectIssue; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\RemoveAssigneeFromProjectIssue; +use Tests\TestCase; class RemoveAssigneeFromProjectIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_unassigns_the_issue_to_an_employeee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/RemoveEmployeeFromProjectTest.php b/tests/Unit/Services/Company/Project/RemoveEmployeeFromProjectTest.php index d26fa1553..ef2e26060 100644 --- a/tests/Unit/Services/Company/Project/RemoveEmployeeFromProjectTest.php +++ b/tests/Unit/Services/Company/Project/RemoveEmployeeFromProjectTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; +use App\Services\Company\Project\RemoveEmployeeFromProject; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\RemoveEmployeeFromProject; +use Tests\TestCase; class RemoveEmployeeFromProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_an_employee_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/RemoveLabelFromIssueTest.php b/tests/Unit/Services/Company/Project/RemoveLabelFromIssueTest.php index cf7696ac4..1b90032ff 100644 --- a/tests/Unit/Services/Company/Project/RemoveLabelFromIssueTest.php +++ b/tests/Unit/Services/Company/Project/RemoveLabelFromIssueTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectLabel; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\RemoveLabelFromIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class RemoveLabelFromIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_the_project_label_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/RemoveParentIssueTest.php b/tests/Unit/Services/Company/Project/RemoveParentIssueTest.php index 204d7c6c9..7b11912dc 100644 --- a/tests/Unit/Services/Company/Project/RemoveParentIssueTest.php +++ b/tests/Unit/Services/Company/Project/RemoveParentIssueTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\RemoveParentIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class RemoveParentIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_removes_a_parent_issue_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/SetParentIssueTest.php b/tests/Unit/Services/Company/Project/SetParentIssueTest.php index 90e5938d2..e153fb806 100644 --- a/tests/Unit/Services/Company/Project/SetParentIssueTest.php +++ b/tests/Unit/Services/Company/Project/SetParentIssueTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\SetParentIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class SetParentIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_a_parent_issue_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/StartProjectSprintTest.php b/tests/Unit/Services/Company/Project/StartProjectSprintTest.php index c2143f7d5..33d2e3562 100644 --- a/tests/Unit/Services/Company/Project/StartProjectSprintTest.php +++ b/tests/Unit/Services/Company/Project/StartProjectSprintTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Carbon\Carbon; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\StartProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class StartProjectSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_starts_the_project_sprint_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/StartProjectTest.php b/tests/Unit/Services/Company/Project/StartProjectTest.php index 59a5953f0..be4f28722 100644 --- a/tests/Unit/Services/Company/Project/StartProjectTest.php +++ b/tests/Unit/Services/Company/Project/StartProjectTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Services\Company\Project\StartProject; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class StartProjectTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_starts_a_project_as_administrator(): void { @@ -69,7 +66,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new StartProject)->execute($request); } - private function executeService(Employee $michael, Project $project = null): void + private function executeService(Employee $michael, ?Project $project = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Project/StopProjectSprintTest.php b/tests/Unit/Services/Company/Project/StopProjectSprintTest.php index 95e4158b8..899c49943 100644 --- a/tests/Unit/Services/Company/Project/StopProjectSprintTest.php +++ b/tests/Unit/Services/Company/Project/StopProjectSprintTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Carbon\Carbon; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\StopProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class StopProjectSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_stops_the_project_sprint_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/ToggleProjectSprintTest.php b/tests/Unit/Services/Company/Project/ToggleProjectSprintTest.php index b3e7f2ce6..d316bc81e 100644 --- a/tests/Unit/Services/Company/Project/ToggleProjectSprintTest.php +++ b/tests/Unit/Services/Company/Project/ToggleProjectSprintTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\ToggleProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ToggleProjectSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_the_project_sprint_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/ToggleProjectTaskTest.php b/tests/Unit/Services/Company/Project/ToggleProjectTaskTest.php index a93b7b70d..6572dc94a 100644 --- a/tests/Unit/Services/Company/Project/ToggleProjectTaskTest.php +++ b/tests/Unit/Services/Company/Project/ToggleProjectTaskTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\ToggleProjectTask; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ToggleProjectTaskTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_toggles_a_project_task_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateIssueTypeTest.php b/tests/Unit/Services/Company/Project/UpdateIssueTypeTest.php index 357bae3dc..aed429d21 100644 --- a/tests/Unit/Services/Company/Project/UpdateIssueTypeTest.php +++ b/tests/Unit/Services/Company/Project/UpdateIssueTypeTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; use App\Models\Company\IssueType; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; use App\Services\Company\Project\UpdateIssueType; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateIssueTypeTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_issue_type_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectBoardTest.php b/tests/Unit/Services/Company/Project/UpdateProjectBoardTest.php index d95dbcbec..3b5f45f74 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectBoardTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectBoardTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\UpdateProjectBoard; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectBoardTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_board_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectDescriptionTest.php b/tests/Unit/Services/Company/Project/UpdateProjectDescriptionTest.php index 40a547de8..55a5c74c3 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectDescriptionTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectDescriptionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; +use App\Services\Company\Project\UpdateProjectDescription; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\UpdateProjectDescription; +use Tests\TestCase; class UpdateProjectDescriptionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_description_as_administrator(): void { @@ -69,7 +66,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new UpdateProjectDescription)->execute($request); } - private function executeService(Employee $michael, Project $project = null): void + private function executeService(Employee $michael, ?Project $project = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Project/UpdateProjectInformationTest.php b/tests/Unit/Services/Company/Project/UpdateProjectInformationTest.php index 8002ebc4d..5c8e28477 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectInformationTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectInformationTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; +use App\Exceptions\ProjectCodeAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; +use App\Services\Company\Project\UpdateProjectInformation; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Exceptions\ProjectCodeAlreadyExistException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Project\UpdateProjectInformation; +use Tests\TestCase; class UpdateProjectInformationTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_project_information_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectIssueCommentTest.php b/tests/Unit/Services/Company/Project/UpdateProjectIssueCommentTest.php index bc0c45aa1..76487d54a 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectIssueCommentTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectIssueCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; +use App\Services\Company\Project\UpdateProjectIssueComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\UpdateProjectIssueComment; +use Tests\TestCase; class UpdateProjectIssueCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_an_issue_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectIssuePositionTest.php b/tests/Unit/Services/Company/Project/UpdateProjectIssuePositionTest.php index 3419d71e5..6b7dae9b2 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectIssuePositionTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectIssuePositionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectSprint; +use App\Services\Company\Project\UpdateProjectIssuePosition; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\UpdateProjectIssuePosition; +use Tests\TestCase; class UpdateProjectIssuePositionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_issue_position_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectIssueStoryPointTest.php b/tests/Unit/Services/Company/Project/UpdateProjectIssueStoryPointTest.php index 866edd1b5..dd8002f51 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectIssueStoryPointTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectIssueStoryPointTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; +use App\Services\Company\Project\UpdateProjectIssueStoryPoint; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\UpdateProjectIssueStoryPoint; +use Tests\TestCase; class UpdateProjectIssueStoryPointTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_issue_story_point_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectIssueTest.php b/tests/Unit/Services/Company/Project/UpdateProjectIssueTest.php index 18630d536..3385b8035 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectIssueTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectIssueTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\UpdateProjectIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_issue_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectLabelTest.php b/tests/Unit/Services/Company/Project/UpdateProjectLabelTest.php index 03697a103..7f50b63a1 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectLabelTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectLabelTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; +use App\Exceptions\LabelAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectLabel; -use Illuminate\Support\Facades\Queue; -use App\Exceptions\LabelAlreadyExistException; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\UpdateProjectLabel; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectLabelTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_label_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectLeadTest.php b/tests/Unit/Services/Company/Project/UpdateProjectLeadTest.php index befa996d9..6d7aebbc3 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectLeadTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectLeadTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Project; use App\Services\Company\Project\UpdateProjectLead; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectLeadTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_lead_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectMessageCommentTest.php b/tests/Unit/Services/Company/Project/UpdateProjectMessageCommentTest.php index 19e3711b0..aa7227f67 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectMessageCommentTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectMessageCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Project\UpdateProjectMessageComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectMessageCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_comment_to_a_project_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectMessageTest.php b/tests/Unit/Services/Company/Project/UpdateProjectMessageTest.php index fa8eabbd9..443c3f47f 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectMessageTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectMessageTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\UpdateProjectMessage; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectMessageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_message_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectSprintTest.php b/tests/Unit/Services/Company/Project/UpdateProjectSprintTest.php index 209e094d0..d4aea2c7d 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectSprintTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectSprintTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectSprint; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\UpdateProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectSprintTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_sprint_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectTaskCommentTest.php b/tests/Unit/Services/Company/Project/UpdateProjectTaskCommentTest.php index 045f5f345..4ddfafcac 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectTaskCommentTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectTaskCommentTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; use App\Models\Company\Comment; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Services\Company\Project\UpdateProjectTaskComment; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\UpdateProjectTaskComment; +use Tests\TestCase; class UpdateProjectTaskCommentTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_comment_to_a_task_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectTaskListTest.php b/tests/Unit/Services/Company/Project/UpdateProjectTaskListTest.php index 597eb8080..cd7862e30 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectTaskListTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectTaskListTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Project; use App\Models\Company\ProjectTaskList; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\UpdateProjectTaskList; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectTaskListTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_task_list_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateProjectTaskTest.php b/tests/Unit/Services/Company/Project/UpdateProjectTaskTest.php index 7dc88befa..7c7b6bba6 100644 --- a/tests/Unit/Services/Company/Project/UpdateProjectTaskTest.php +++ b/tests/Unit/Services/Company/Project/UpdateProjectTaskTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Project\UpdateProjectTask; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateProjectTaskTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_project_task_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Project/UpdateTypeOfProjectIssueTest.php b/tests/Unit/Services/Company/Project/UpdateTypeOfProjectIssueTest.php index 13656ad06..24deb0164 100644 --- a/tests/Unit/Services/Company/Project/UpdateTypeOfProjectIssueTest.php +++ b/tests/Unit/Services/Company/Project/UpdateTypeOfProjectIssueTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Project; -use Tests\TestCase; use App\Jobs\LogAccountAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; use App\Models\Company\IssueType; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; +use App\Services\Company\Project\UpdateTypeOfProjectIssue; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Project\UpdateTypeOfProjectIssue; +use Tests\TestCase; class UpdateTypeOfProjectIssueTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_type_of_project_issue_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Task/CreateTaskTest.php b/tests/Unit/Services/Company/Task/CreateTaskTest.php index baf69053b..e81c7b824 100644 --- a/tests/Unit/Services/Company/Task/CreateTaskTest.php +++ b/tests/Unit/Services/Company/Task/CreateTaskTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Task; -use Tests\TestCase; -use App\Jobs\NotifyEmployee; -use App\Models\Company\Task; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Task; use App\Services\Company\Task\CreateTask; +use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreateTaskTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_task_as_an_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/Description/ClearTeamDescriptionTest.php b/tests/Unit/Services/Company/Team/Description/ClearTeamDescriptionTest.php index 36cb4d3de..4d5c90335 100644 --- a/tests/Unit/Services/Company/Team/Description/ClearTeamDescriptionTest.php +++ b/tests/Unit/Services/Company/Team/Description/ClearTeamDescriptionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Team\Description; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; +use App\Models\Company\Team; +use App\Services\Company\Team\Description\ClearTeamDescription; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Team\Description\ClearTeamDescription; +use Tests\TestCase; class ClearTeamDescriptionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_clears_the_team_description_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/Description/SetTeamDescriptionTest.php b/tests/Unit/Services/Company/Team/Description/SetTeamDescriptionTest.php index 09477e462..188950a18 100644 --- a/tests/Unit/Services/Company/Team/Description/SetTeamDescriptionTest.php +++ b/tests/Unit/Services/Company/Team/Description/SetTeamDescriptionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Team\Description; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; +use App\Models\Company\Team; +use App\Services\Company\Team\Description\SetTeamDescription; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Team\Description\SetTeamDescription; +use Tests\TestCase; class SetTeamDescriptionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_team_description_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/Links/CreateTeamUsefulLinkTest.php b/tests/Unit/Services/Company/Team/Links/CreateTeamUsefulLinkTest.php index 7c494eb43..4e2f2a275 100644 --- a/tests/Unit/Services/Company/Team/Links/CreateTeamUsefulLinkTest.php +++ b/tests/Unit/Services/Company/Team/Links/CreateTeamUsefulLinkTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Team\Links; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Team; use App\Models\Company\TeamUsefulLink; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Team\Links\CreateTeamUsefulLink; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateTeamUsefulLinkTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_team_useful_link_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/Links/DestroyTeamUsefulLinkTest.php b/tests/Unit/Services/Company/Team/Links/DestroyTeamUsefulLinkTest.php index 904f42915..7e472a0c2 100644 --- a/tests/Unit/Services/Company/Team/Links/DestroyTeamUsefulLinkTest.php +++ b/tests/Unit/Services/Company/Team/Links/DestroyTeamUsefulLinkTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Team\Links; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Team; use App\Models\Company\TeamUsefulLink; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Team\Links\DestroyTeamUsefulLink; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyTeamUsefulLinkTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_team_useful_link_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/Links/UpdateTeamUsefulLinkTest.php b/tests/Unit/Services/Company/Team/Links/UpdateTeamUsefulLinkTest.php index c4271c782..a55a40176 100644 --- a/tests/Unit/Services/Company/Team/Links/UpdateTeamUsefulLinkTest.php +++ b/tests/Unit/Services/Company/Team/Links/UpdateTeamUsefulLinkTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Team\Links; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Team; use App\Models\Company\TeamUsefulLink; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Team\Links\UpdateTeamUsefulLink; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateTeamUsefulLinkTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_team_useful_link_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/SetTeamLeadTest.php b/tests/Unit/Services/Company/Team/SetTeamLeadTest.php index 1f72260c5..26bc0b390 100644 --- a/tests/Unit/Services/Company/Team/SetTeamLeadTest.php +++ b/tests/Unit/Services/Company/Team/SetTeamLeadTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Team; -use Carbon\Carbon; -use Tests\TestCase; +use App\Exceptions\NotEnoughPermissionException; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Jobs\NotifyEmployee; -use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Team; use App\Services\Company\Team\SetTeamLead; -use Illuminate\Validation\ValidationException; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class SetTeamLeadTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_someone_a_team_lead_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/Ship/AttachEmployeeToShipTest.php b/tests/Unit/Services/Company/Team/Ship/AttachEmployeeToShipTest.php index 2daa0121c..df7cfe8a6 100644 --- a/tests/Unit/Services/Company/Team/Ship/AttachEmployeeToShipTest.php +++ b/tests/Unit/Services/Company/Team/Ship/AttachEmployeeToShipTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\Services\Company\Team\Ship; -use Tests\TestCase; -use App\Jobs\NotifyEmployee; -use App\Models\Company\Ship; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Ship; +use App\Models\Company\Team; use App\Services\Company\Team\Ship\AttachEmployeeToShip; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AttachEmployeeToShipTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_attaches_an_employee_to_a_recent_ship_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/Ship/CreateShipTest.php b/tests/Unit/Services/Company/Team/Ship/CreateShipTest.php index 0f91adb86..a25d15efe 100644 --- a/tests/Unit/Services/Company/Team/Ship/CreateShipTest.php +++ b/tests/Unit/Services/Company/Team/Ship/CreateShipTest.php @@ -2,24 +2,21 @@ namespace Tests\Unit\Services\Company\Team\Ship; -use Tests\TestCase; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Jobs\ServiceQueue; +use App\Models\Company\Employee; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use App\Services\Company\Team\Ship\CreateShip; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Team\Ship\AttachEmployeeToShip; +use App\Services\Company\Team\Ship\CreateShip; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateShipTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_recent_ship_entry_as_administrator(): void { @@ -96,7 +93,7 @@ public function it_fails_if_wrong_parameters_are_given(): void (new CreateShip)->execute($request); } - private function executeService(Employee $michael, Team $team, array $employees = null): void + private function executeService(Employee $michael, Team $team, ?array $employees = null): void { Queue::fake(); diff --git a/tests/Unit/Services/Company/Team/Ship/DestroyShipTest.php b/tests/Unit/Services/Company/Team/Ship/DestroyShipTest.php index b5b3f4832..cd0a98a91 100644 --- a/tests/Unit/Services/Company/Team/Ship/DestroyShipTest.php +++ b/tests/Unit/Services/Company/Team/Ship/DestroyShipTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Team\Ship; -use Tests\TestCase; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; +use App\Models\Company\Employee; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Team\Ship\DestroyShip; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyShipTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_recent_ship_entry_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/TeamNews/CreateTeamNewsTest.php b/tests/Unit/Services/Company/Team/TeamNews/CreateTeamNewsTest.php index 64e9057be..d3bf20676 100644 --- a/tests/Unit/Services/Company/Team/TeamNews/CreateTeamNewsTest.php +++ b/tests/Unit/Services/Company/Team/TeamNews/CreateTeamNewsTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Team\TeamNews; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; +use App\Models\Company\Team; use App\Models\Company\TeamNews; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; use App\Services\Company\Team\TeamNews\CreateTeamNews; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreateTeamNewsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_team_news_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/TeamNews/DestroyTeamNewsTest.php b/tests/Unit/Services/Company/Team/TeamNews/DestroyTeamNewsTest.php index 7d66f98fb..3fac562a2 100644 --- a/tests/Unit/Services/Company/Team/TeamNews/DestroyTeamNewsTest.php +++ b/tests/Unit/Services/Company/Team/TeamNews/DestroyTeamNewsTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Team\TeamNews; -use Exception; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; +use App\Models\Company\Team; use App\Models\Company\TeamNews; +use App\Services\Company\Team\TeamNews\DestroyTeamNews; +use Exception; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Services\Company\Team\TeamNews\DestroyTeamNews; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class DestroyTeamNewsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_company_news_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/TeamNews/UpdateTeamNewsTest.php b/tests/Unit/Services/Company/Team/TeamNews/UpdateTeamNewsTest.php index 7702f316e..bdba8d18c 100644 --- a/tests/Unit/Services/Company/Team/TeamNews/UpdateTeamNewsTest.php +++ b/tests/Unit/Services/Company/Team/TeamNews/UpdateTeamNewsTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Team\TeamNews; -use Exception; -use Tests\TestCase; -use App\Jobs\LogTeamAudit; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Jobs\LogTeamAudit; use App\Models\Company\Employee; +use App\Models\Company\Team; use App\Models\Company\TeamNews; +use App\Services\Company\Team\TeamNews\UpdateTeamNews; +use Exception; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Services\Company\Team\TeamNews\UpdateTeamNews; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class UpdateTeamNewsTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_company_news_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Team/UnsetTeamLeadTest.php b/tests/Unit/Services/Company/Team/UnsetTeamLeadTest.php index ec226d516..c2c5cb5ad 100644 --- a/tests/Unit/Services/Company/Team/UnsetTeamLeadTest.php +++ b/tests/Unit/Services/Company/Team/UnsetTeamLeadTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Team; -use Tests\TestCase; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Jobs\NotifyEmployee; -use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Team; use App\Services\Company\Team\UnsetTeamLead; +use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class UnsetTeamLeadTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_resets_a_team_leader(): void { diff --git a/tests/Unit/Services/Company/Wiki/AddPageToWikiTest.php b/tests/Unit/Services/Company/Wiki/AddPageToWikiTest.php index 2d4a9aab1..f59660199 100644 --- a/tests/Unit/Services/Company/Wiki/AddPageToWikiTest.php +++ b/tests/Unit/Services/Company/Wiki/AddPageToWikiTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Page; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Page; +use App\Models\Company\Wiki; use App\Services\Company\Wiki\AddPageToWiki; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class AddPageToWikiTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_adds_a_page_to_a_wiki_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Wiki/CreatePageRevisionTest.php b/tests/Unit/Services/Company/Wiki/CreatePageRevisionTest.php index 8ee980176..112907742 100644 --- a/tests/Unit/Services/Company/Wiki/CreatePageRevisionTest.php +++ b/tests/Unit/Services/Company/Wiki/CreatePageRevisionTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Page; -use App\Models\Company\Wiki; use App\Models\Company\Employee; +use App\Models\Company\Page; use App\Models\Company\PageRevision; -use Illuminate\Support\Facades\Queue; -use Illuminate\Validation\ValidationException; +use App\Models\Company\Wiki; use App\Services\Company\Wiki\CreatePageRevision; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class CreatePageRevisionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_page_revision_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Wiki/CreateWikiTest.php b/tests/Unit/Services/Company/Wiki/CreateWikiTest.php index 003e44c36..cfbf90d82 100644 --- a/tests/Unit/Services/Company/Wiki/CreateWikiTest.php +++ b/tests/Unit/Services/Company/Wiki/CreateWikiTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Wiki; use App\Services\Company\Wiki\CreateWiki; +use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreateWikiTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_wiki_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Wiki/DestroyPageTest.php b/tests/Unit/Services/Company/Wiki/DestroyPageTest.php index 949387223..8bfec5bbb 100644 --- a/tests/Unit/Services/Company/Wiki/DestroyPageTest.php +++ b/tests/Unit/Services/Company/Wiki/DestroyPageTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Page; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Page; +use App\Models\Company\Wiki; use App\Services\Company\Wiki\DestroyPage; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyPageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_destroys_a_page_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Wiki/DestroyWikiTest.php b/tests/Unit/Services/Company/Wiki/DestroyWikiTest.php index 8f00a443b..1be2c3253 100644 --- a/tests/Unit/Services/Company/Wiki/DestroyWikiTest.php +++ b/tests/Unit/Services/Company/Wiki/DestroyWikiTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Wiki; use App\Services\Company\Wiki\DestroyWiki; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class DestroyWikiTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_deletes_a_wiki_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Wiki/IncrementPageViewForPageTest.php b/tests/Unit/Services/Company/Wiki/IncrementPageViewForPageTest.php index 2ef086ac8..5c0e8a814 100644 --- a/tests/Unit/Services/Company/Wiki/IncrementPageViewForPageTest.php +++ b/tests/Unit/Services/Company/Wiki/IncrementPageViewForPageTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Page; use App\Models\Company\Employee; +use App\Models\Company\Page; +use App\Services\Company\Wiki\IncrementPageViewForPage; use Illuminate\Support\Facades\Queue; use Illuminate\Validation\ValidationException; -use App\Services\Company\Wiki\IncrementPageViewForPage; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class IncrementPageViewForPageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_increments_the_page_view_on_a_page_as_admin(): void { diff --git a/tests/Unit/Services/Company/Wiki/UpdatePageTest.php b/tests/Unit/Services/Company/Wiki/UpdatePageTest.php index 17044d3b6..ce33055ae 100644 --- a/tests/Unit/Services/Company/Wiki/UpdatePageTest.php +++ b/tests/Unit/Services/Company/Wiki/UpdatePageTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Page; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; -use App\Services\Company\Wiki\UpdatePage; +use App\Models\Company\Page; +use App\Models\Company\Wiki; use App\Services\Company\Wiki\AddPageToWiki; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Services\Company\Wiki\UpdatePage; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdatePageTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_edits_a_page_as_administrator(): void { diff --git a/tests/Unit/Services/Company/Wiki/UpdateWikiTest.php b/tests/Unit/Services/Company/Wiki/UpdateWikiTest.php index ded340e3d..45a3e2465 100644 --- a/tests/Unit/Services/Company/Wiki/UpdateWikiTest.php +++ b/tests/Unit/Services/Company/Wiki/UpdateWikiTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Company\Wiki; -use Tests\TestCase; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; use App\Models\Company\Employee; -use Illuminate\Support\Facades\Queue; +use App\Models\Company\Wiki; use App\Services\Company\Wiki\UpdateWiki; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Queue; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateWikiTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_a_wiki_as_administrator(): void { diff --git a/tests/Unit/Services/Logs/LogAccountActionTest.php b/tests/Unit/Services/Logs/LogAccountActionTest.php index 2c1d9b536..5f345a63c 100644 --- a/tests/Unit/Services/Logs/LogAccountActionTest.php +++ b/tests/Unit/Services/Logs/LogAccountActionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Logs; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\Company; use App\Models\Company\AuditLog; +use App\Models\Company\Company; use App\Models\Company\Employee; use App\Services\Logs\LogAccountAction; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class LogAccountActionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_an_action(): void { diff --git a/tests/Unit/Services/Logs/LogEmployeeActionTest.php b/tests/Unit/Services/Logs/LogEmployeeActionTest.php index 4e766f3c2..6d22e8e04 100644 --- a/tests/Unit/Services/Logs/LogEmployeeActionTest.php +++ b/tests/Unit/Services/Logs/LogEmployeeActionTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\Services\Logs; -use Carbon\Carbon; -use Tests\TestCase; use App\Models\Company\Employee; use App\Models\Company\EmployeeLog; use App\Services\Logs\LogEmployeeAction; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class LogEmployeeActionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_an_action(): void { diff --git a/tests/Unit/Services/Logs/LogTeamActionTest.php b/tests/Unit/Services/Logs/LogTeamActionTest.php index 361c5158b..744e0cfcb 100644 --- a/tests/Unit/Services/Logs/LogTeamActionTest.php +++ b/tests/Unit/Services/Logs/LogTeamActionTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\Services\Logs; -use Carbon\Carbon; -use Tests\TestCase; +use App\Models\Company\Employee; use App\Models\Company\Team; use App\Models\Company\TeamLog; -use App\Models\Company\Employee; use App\Services\Logs\LogTeamAction; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class LogTeamActionTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_logs_an_action(): void { diff --git a/tests/Unit/Services/User/CreateAccountTest.php b/tests/Unit/Services/User/CreateAccountTest.php index ae4e7796d..020572c4f 100644 --- a/tests/Unit/Services/User/CreateAccountTest.php +++ b/tests/Unit/Services/User/CreateAccountTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Services\User; -use Tests\TestCase; use App\Models\User\User; use App\Services\User\CreateAccount; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CreateAccountTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_creates_a_user(): void { diff --git a/tests/Unit/Services/User/Preferences/ChangeHelpPreferencesTest.php b/tests/Unit/Services/User/Preferences/ChangeHelpPreferencesTest.php index 532b26a97..2b4d40242 100644 --- a/tests/Unit/Services/User/Preferences/ChangeHelpPreferencesTest.php +++ b/tests/Unit/Services/User/Preferences/ChangeHelpPreferencesTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Services\User\Preferences; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\User\Preferences\ChangeHelpPreferences; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class ChangeHelpPreferencesTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_sets_the_help_preference(): void { diff --git a/tests/Unit/Services/User/Preferences/UpdateDashboardViewTest.php b/tests/Unit/Services/User/Preferences/UpdateDashboardViewTest.php index b4cda8f10..d3f47d473 100644 --- a/tests/Unit/Services/User/Preferences/UpdateDashboardViewTest.php +++ b/tests/Unit/Services/User/Preferences/UpdateDashboardViewTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\Services\User\Preferences; -use Tests\TestCase; use App\Models\Company\Company; use App\Models\Company\Employee; -use Illuminate\Validation\ValidationException; use App\Services\User\Preferences\UpdateDashboardView; -use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateDashboardViewTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_updates_the_default_dashboard_view_parameter(): void { diff --git a/tests/Unit/Services/User/ResetUserPasswordTest.php b/tests/Unit/Services/User/ResetUserPasswordTest.php index 55b0b7ed0..c1cd53590 100644 --- a/tests/Unit/Services/User/ResetUserPasswordTest.php +++ b/tests/Unit/Services/User/ResetUserPasswordTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Services\User; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Support\Facades\Hash; use App\Services\User\ResetUserPassword; +use Illuminate\Support\Facades\Hash; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class ResetUserPasswordTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_reset_the_password(): void { diff --git a/tests/Unit/Services/User/UpdateLocaleTest.php b/tests/Unit/Services/User/UpdateLocaleTest.php index cb4ba3d35..f70887df3 100644 --- a/tests/Unit/Services/User/UpdateLocaleTest.php +++ b/tests/Unit/Services/User/UpdateLocaleTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Services\User; -use Tests\TestCase; use App\Models\User\User; use App\Services\User\UpdateLocale; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class UpdateLocaleTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_update_the_locale(): void { diff --git a/tests/Unit/Services/User/UpdateUserPasswordTest.php b/tests/Unit/Services/User/UpdateUserPasswordTest.php index 00a88a188..d6b3aa944 100644 --- a/tests/Unit/Services/User/UpdateUserPasswordTest.php +++ b/tests/Unit/Services/User/UpdateUserPasswordTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\Services\User; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Support\Facades\Hash; use App\Services\User\UpdateUserPassword; +use Illuminate\Support\Facades\Hash; use Illuminate\Validation\ValidationException; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class UpdateUserPasswordTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_update_the_password(): void { diff --git a/tests/Unit/Services/User/UpdateUserProfileInformationTest.php b/tests/Unit/Services/User/UpdateUserProfileInformationTest.php index 4968daa96..9475118e8 100644 --- a/tests/Unit/Services/User/UpdateUserProfileInformationTest.php +++ b/tests/Unit/Services/User/UpdateUserProfileInformationTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\Services\User; -use Tests\TestCase; use App\Models\User\User; -use Illuminate\Validation\ValidationException; use App\Services\User\UpdateUserProfileInformation; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Validation\ValidationException; +use Tests\TestCase; class UpdateUserProfileInformationTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_update_the_profile(): void { diff --git a/tests/Unit/Traits/JsonRespondControllerTest.php b/tests/Unit/Traits/JsonRespondControllerTest.php index 4e4f34ebd..b3a6a8214 100644 --- a/tests/Unit/Traits/JsonRespondControllerTest.php +++ b/tests/Unit/Traits/JsonRespondControllerTest.php @@ -2,10 +2,10 @@ namespace Tests\Unit\Traits; -use Tests\TestCase; -use Illuminate\Http\JsonResponse; use App\Traits\JsonRespondController; +use Illuminate\Http\JsonResponse; use Illuminate\Support\Facades\Validator; +use Tests\TestCase; class JsonRespondControllerTest extends TestCase { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminAuditLogViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminAuditLogViewHelperTest.php index 7da981601..8d77f9d73 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminAuditLogViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminAuditLogViewHelperTest.php @@ -2,17 +2,15 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Adminland\AdminAuditLogViewHelper; use App\Models\Company\AuditLog; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminAuditLogViewHelper; +use Tests\TestCase; class AdminAuditLogViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_the_list_of_audit_logs(): void diff --git a/tests/Unit/ViewHelpers/Adminland/AdminBillingViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminBillingViewHelperTest.php index 68b2f5f8d..3314cfad3 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminBillingViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminBillingViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\CompanyInvoice; +use App\Http\ViewHelpers\Adminland\AdminBillingViewHelper; use App\Models\Company\CompanyDailyUsageHistory; +use App\Models\Company\CompanyInvoice; use App\Models\Company\CompanyUsageHistoryDetails; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminBillingViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class AdminBillingViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_list_of_months(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminECoffeeViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminECoffeeViewHelperTest.php index 14c1b81a3..9f124e496 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminECoffeeViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminECoffeeViewHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; -use App\Models\Company\Company; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Adminland\AdminECoffeeViewHelper; +use App\Models\Company\Company; +use Tests\TestCase; class AdminECoffeeViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_the_ecoffee_process(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminEmployeeStatusViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminEmployeeStatusViewHelperTest.php index 317b22e9a..c46772dc2 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminEmployeeStatusViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminEmployeeStatusViewHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; -use App\Models\Company\EmployeeStatus; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Adminland\AdminEmployeeStatusViewHelper; +use App\Models\Company\EmployeeStatus; +use Tests\TestCase; class AdminEmployeeStatusViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_the_employee_statuses(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminEmployeeViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminEmployeeViewHelperTest.php index f5dc68cbb..0d5d40152 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminEmployeeViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminEmployeeViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Adminland\AdminEmployeeViewHelper; +use App\Models\Company\Employee; +use Carbon\Carbon; +use Tests\TestCase; class AdminEmployeeViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_statistics_about_employees(): void { @@ -66,12 +63,12 @@ public function it_gets_information_about_all_employees_in_the_company(): void 'invited' => (! $michael->invitation_used_at && $michael->invitation_link) === true, 'has_user_account' => ($michael->invitation_used_at && $michael->invitation_link) === true, 'locked' => false, - 'url_view' => env('APP_URL') . '/' . $michael->company_id . '/employees/'.$michael->id, - 'url_delete' => env('APP_URL') . '/' . $michael->company_id . '/account/employees/'.$michael->id.'/delete', - 'url_lock' => env('APP_URL') . '/' . $michael->company_id . '/account/employees/'.$michael->id.'/lock', - 'url_invite' => env('APP_URL') . '/' . $michael->company_id . '/account/employees/'.$michael->id.'/invite', - 'url_unlock' => env('APP_URL') . '/' . $michael->company_id . '/account/employees/'.$michael->id.'/unlock', - 'url_permission' => env('APP_URL') . '/' . $michael->company_id . '/account/employees/'.$michael->id.'/permissions', + 'url_view' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, + 'url_delete' => env('APP_URL').'/'.$michael->company_id.'/account/employees/'.$michael->id.'/delete', + 'url_lock' => env('APP_URL').'/'.$michael->company_id.'/account/employees/'.$michael->id.'/lock', + 'url_invite' => env('APP_URL').'/'.$michael->company_id.'/account/employees/'.$michael->id.'/invite', + 'url_unlock' => env('APP_URL').'/'.$michael->company_id.'/account/employees/'.$michael->id.'/unlock', + 'url_permission' => env('APP_URL').'/'.$michael->company_id.'/account/employees/'.$michael->id.'/permissions', ], ], $collection->toArray() diff --git a/tests/Unit/ViewHelpers/Adminland/AdminExpenseViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminExpenseViewHelperTest.php index daa9ef1e3..4a2a07595 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminExpenseViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminExpenseViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Adminland\AdminExpenseViewHelper; use App\Models\Company\Employee; use App\Models\Company\ExpenseCategory; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminExpenseViewHelper; +use Tests\TestCase; class AdminExpenseViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_expense_categories_in_the_company(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminGeneralViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminGeneralViewHelperTest.php index 758c8cc9a..7f68dc11e 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminGeneralViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminGeneralViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Adminland\AdminGeneralViewHelper; use App\Models\Company\File; +use Carbon\Carbon; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminGeneralViewHelper; +use Tests\TestCase; class AdminGeneralViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_information_about_the_company(): void diff --git a/tests/Unit/ViewHelpers/Adminland/AdminHardwareViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminHardwareViewHelperTest.php index fa1a9d42d..60d55c984 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminHardwareViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminHardwareViewHelperTest.php @@ -2,20 +2,18 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Hardware; -use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Adminland\Hardware\LendHardware; use App\Http\ViewHelpers\Adminland\AdminHardwareViewHelper; +use App\Models\Company\Hardware; use App\Services\Company\Adminland\Hardware\CreateHardware; +use App\Services\Company\Adminland\Hardware\LendHardware; use App\Services\Company\Adminland\Hardware\UpdateHardware; +use GrahamCampbell\TestBenchCore\HelperTrait; +use Tests\TestCase; class AdminHardwareViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_null_if_there_are_no_hardware_in_the_company(): void diff --git a/tests/Unit/ViewHelpers/Adminland/AdminPositionViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminPositionViewHelperTest.php index 7c3a9616d..9919273fd 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminPositionViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminPositionViewHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; -use App\Models\Company\Position; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Adminland\AdminPositionViewHelper; +use App\Models\Company\Position; +use Tests\TestCase; class AdminPositionViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_positions(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminProjectManagementViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminProjectManagementViewHelperTest.php index f6b86ffc9..a8b292609 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminProjectManagementViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminProjectManagementViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\ApiTestCase; +use App\Http\ViewHelpers\Adminland\AdminProjectManagementViewHelper; use App\Models\Company\Company; use App\Models\Company\IssueType; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminProjectManagementViewHelper; +use Tests\ApiTestCase; class AdminProjectManagementViewHelperTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_all_the_issue_types(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminRecruitmentViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminRecruitmentViewHelperTest.php index 7e53fc51a..6d15743c6 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminRecruitmentViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminRecruitmentViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\ApiTestCase; +use App\Http\ViewHelpers\Adminland\AdminRecruitmentViewHelper; use App\Models\Company\RecruitingStage; use App\Models\Company\RecruitingStageTemplate; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminRecruitmentViewHelper; +use Tests\ApiTestCase; class AdminRecruitmentViewHelperTest extends ApiTestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_templates(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminSoftwareViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminSoftwareViewHelperTest.php index 294d79bb9..d99168a8c 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminSoftwareViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminSoftwareViewHelperTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\File; +use App\Http\ViewHelpers\Adminland\AdminSoftwareViewHelper; use App\Models\Company\Employee; +use App\Models\Company\File; use App\Models\Company\Software; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminSoftwareViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class AdminSoftwareViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_information_about_software_used_in_the_company(): void { @@ -37,14 +34,14 @@ public function it_gets_the_information_about_software_used_in_the_company(): vo 'name' => 'Office 365', 'seats' => 9, 'remaining_seats' => 8, - 'url' => env('APP_URL') . '/' . $michael->company_id . '/account/softwares/'.$office365->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/account/softwares/'.$office365->id, ], ], $array['softwares']->toArray() ); $this->assertEquals( - env('APP_URL') . '/' . $michael->company_id . '/account/softwares/create', + env('APP_URL').'/'.$michael->company_id.'/account/softwares/create', $array['url_new'] ); } @@ -106,7 +103,7 @@ public function it_gets_the_employees_linked_to_a_software(): void 'name' => $michael->name, 'avatar' => ImageHelper::getAvatar($michael, 21), 'product_key' => null, - 'url' => env('APP_URL') . '/' . $michael->company_id . '/employees/' . $michael->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, ], ], $collection->toArray() @@ -191,7 +188,7 @@ public function it_gets_a_collection_of_files(): void 'id' => $michael->id, 'name' => $michael->name, 'avatar' => ImageHelper::getAvatar($michael, 24), - 'url' => env('APP_URL') . '/' . $michael->company_id . '/employees/' . $michael->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, ], 'created_at' => 'Jan 01, 2019', ], diff --git a/tests/Unit/ViewHelpers/Adminland/AdminTeamViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminTeamViewHelperTest.php index dfa04f3c5..b0f2616af 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminTeamViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminTeamViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\ApiTestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Adminland\AdminTeamViewHelper; use App\Models\Company\Team; use App\Models\Company\TeamLog; use GrahamCampbell\TestBenchCore\HelperTrait; -use App\Http\ViewHelpers\Adminland\AdminTeamViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\ApiTestCase; class AdminTeamViewHelperTest extends ApiTestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_collection_of_teams(): void diff --git a/tests/Unit/ViewHelpers/Adminland/AdminUploadEmployeeViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminUploadEmployeeViewHelperTest.php index 40b6d9db0..33956865c 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminUploadEmployeeViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminUploadEmployeeViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; +use App\Http\ViewHelpers\Adminland\AdminUploadEmployeeViewHelper; use App\Models\Company\ImportJob; use App\Models\Company\ImportJobReport; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Adminland\AdminUploadEmployeeViewHelper; +use Tests\TestCase; class AdminUploadEmployeeViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_past_csv_import_jobs(): void { diff --git a/tests/Unit/ViewHelpers/Adminland/AdminWorkFromHomeViewHelperTest.php b/tests/Unit/ViewHelpers/Adminland/AdminWorkFromHomeViewHelperTest.php index eebe8f564..b66130529 100644 --- a/tests/Unit/ViewHelpers/Adminland/AdminWorkFromHomeViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Adminland/AdminWorkFromHomeViewHelperTest.php @@ -2,15 +2,12 @@ namespace Tests\Unit\ViewHelpers\Adminland; -use Tests\TestCase; -use App\Models\Company\Company; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Adminland\AdminWorkFromHomeViewHelper; +use App\Models\Company\Company; +use Tests\TestCase; class AdminWorkFromHomeViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_the_work_from_home_process(): void { diff --git a/tests/Unit/ViewHelpers/Company/CompanyNewsViewHelperTest.php b/tests/Unit/ViewHelpers/Company/CompanyNewsViewHelperTest.php index 114e2b335..e0fbd8fc4 100644 --- a/tests/Unit/ViewHelpers/Company/CompanyNewsViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/CompanyNewsViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Company; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Company\CompanyNewsViewHelper; use App\Models\Company\CompanyNews; +use Carbon\Carbon; use GrahamCampbell\TestBenchCore\HelperTrait; -use App\Http\ViewHelpers\Company\CompanyNewsViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class CompanyNewsViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_the_company_news_in_the_company(): void diff --git a/tests/Unit/ViewHelpers/Company/CompanyQuestionViewHelperTest.php b/tests/Unit/ViewHelpers/Company/CompanyQuestionViewHelperTest.php index 24ff7f47a..0bd95800e 100644 --- a/tests/Unit/ViewHelpers/Company/CompanyQuestionViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/CompanyQuestionViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Company; -use Tests\TestCase; -use App\Models\Company\Team; +use App\Http\ViewHelpers\Company\CompanyQuestionViewHelper; use App\Models\Company\Answer; use App\Models\Company\Question; +use App\Models\Company\Team; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\CompanyQuestionViewHelper; +use Tests\TestCase; class CompanyQuestionViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_null_if_there_are_no_questions_in_the_company(): void diff --git a/tests/Unit/ViewHelpers/Company/CompanySkillViewHelperTest.php b/tests/Unit/ViewHelpers/Company/CompanySkillViewHelperTest.php index f51ab53a6..626e38e51 100644 --- a/tests/Unit/ViewHelpers/Company/CompanySkillViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/CompanySkillViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Company; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Team; +use App\Http\ViewHelpers\Company\CompanySkillViewHelper; use App\Models\Company\Skill; +use App\Models\Company\Team; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\CompanySkillViewHelper; +use Tests\TestCase; class CompanySkillViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_the_information_about_skills_in_the_company(): void diff --git a/tests/Unit/ViewHelpers/Company/CompanyViewHelperTest.php b/tests/Unit/ViewHelpers/Company/CompanyViewHelperTest.php index 76ceb10fb..be6462cfa 100644 --- a/tests/Unit/ViewHelpers/Company/CompanyViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/CompanyViewHelperTest.php @@ -2,28 +2,26 @@ namespace Tests\Unit\ViewHelpers\Company; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\File; -use App\Models\Company\Ship; -use App\Models\Company\Team; -use App\Models\Company\Skill; +use App\Http\ViewHelpers\Company\CompanyViewHelper; use App\Models\Company\Answer; use App\Models\Company\Company; +use App\Models\Company\CompanyNews; use App\Models\Company\Employee; +use App\Models\Company\File; use App\Models\Company\Position; use App\Models\Company\Question; -use App\Models\Company\CompanyNews; -use GrahamCampbell\TestBenchCore\HelperTrait; -use App\Http\ViewHelpers\Company\CompanyViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Ship; +use App\Models\Company\Skill; +use App\Models\Company\Team; use App\Services\Company\GuessEmployeeGame\CreateGuessEmployeeGame; +use Carbon\Carbon; +use GrahamCampbell\TestBenchCore\HelperTrait; +use Tests\TestCase; class CompanyViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_information_about_the_company(): void @@ -96,7 +94,7 @@ public function it_gets_the_latest_questions_in_the_company(): void 'title' => 'Do you like Michael', 'number_of_answers' => 0, 'active' => true, - 'url' => env('APP_URL') . '/' . $michael->company_id . '/company/questions/' . $questionB->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/questions/'.$questionB->id, ], $response['active_question'] ); diff --git a/tests/Unit/ViewHelpers/Company/Group/GroupCreateViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Group/GroupCreateViewHelperTest.php index c244881b2..ac42bf68d 100644 --- a/tests/Unit/ViewHelpers/Company/Group/GroupCreateViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Group/GroupCreateViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Company\Group; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Company\Group\GroupCreateViewHelper; +use App\Models\Company\Employee; +use Tests\TestCase; class GroupCreateViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_searches_employees_to_assign_to_a_group(): void { diff --git a/tests/Unit/ViewHelpers/Company/Group/GroupMeetingsViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Group/GroupMeetingsViewHelperTest.php index 3b1806ada..0f74f99f5 100644 --- a/tests/Unit/ViewHelpers/Company/Group/GroupMeetingsViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Group/GroupMeetingsViewHelperTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\ViewHelpers\Company\Group; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Company\Group\GroupMeetingsViewHelper; +use App\Models\Company\Employee; use App\Models\Company\Group; use App\Models\Company\Meeting; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Group\GroupMeetingsViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class GroupMeetingsViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_list_of_meetings(): void { diff --git a/tests/Unit/ViewHelpers/Company/Group/GroupMembersViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Group/GroupMembersViewHelperTest.php index e2e14d6ad..be024b537 100644 --- a/tests/Unit/ViewHelpers/Company/Group/GroupMembersViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Group/GroupMembersViewHelperTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\ViewHelpers\Company\Group; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Group; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Company\Group\GroupMembersViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Group; +use Carbon\Carbon; +use Tests\TestCase; class GroupMembersViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_employees(): void { diff --git a/tests/Unit/ViewHelpers/Company/Group/GroupShowViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Group/GroupShowViewHelperTest.php index 0c8637c73..0219e13f7 100644 --- a/tests/Unit/ViewHelpers/Company/Group/GroupShowViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Group/GroupShowViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Company\Group; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; use App\Models\Company\Group; use App\Models\Company\Meeting; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class GroupShowViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_the_group(): void { diff --git a/tests/Unit/ViewHelpers/Company/Group/GroupViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Group/GroupViewHelperTest.php index bca194f90..eefe845e9 100644 --- a/tests/Unit/ViewHelpers/Company/Group/GroupViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Group/GroupViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Company\Group; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Group; use App\Http\ViewHelpers\Company\Group\GroupViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Group; +use Carbon\Carbon; +use Tests\TestCase; class GroupViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_list_of_groups(): void { @@ -27,7 +24,7 @@ public function it_gets_a_list_of_groups(): void $array = GroupViewHelper::index($michael->company); $this->assertEquals( - env('APP_URL') . '/' . $michael->company_id . '/company/groups/create', + env('APP_URL').'/'.$michael->company_id.'/company/groups/create', $array['url_create'] ); diff --git a/tests/Unit/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelperTest.php b/tests/Unit/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelperTest.php index 99cecd103..c6bc12a22 100644 --- a/tests/Unit/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelperTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\ViewHelpers\Company\HR; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Company\HR\CompanyHRAskMeAnythingViewHelper; +use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\AskMeAnythingSession; -use App\Models\Company\AskMeAnythingQuestion; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\HR\CompanyHRAskMeAnythingViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class CompanyHRAskMeAnythingViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_list_of_all_the_ama_sessions(): void { diff --git a/tests/Unit/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelperTest.php b/tests/Unit/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelperTest.php index c913c86b5..f5f7a8388 100644 --- a/tests/Unit/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Company\HR; -use Tests\TestCase; +use App\Http\ViewHelpers\Company\HR\CompanyHRPositionShowViewHelper; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Position; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\HR\CompanyHRPositionShowViewHelper; +use Tests\TestCase; class CompanyHRPositionShowViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_detail_about_a_specific_position(): void { diff --git a/tests/Unit/ViewHelpers/Company/HR/CompanyHRViewHelperTest.php b/tests/Unit/ViewHelpers/Company/HR/CompanyHRViewHelperTest.php index e2752ae64..fe80bcbfd 100644 --- a/tests/Unit/ViewHelpers/Company/HR/CompanyHRViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/HR/CompanyHRViewHelperTest.php @@ -2,23 +2,20 @@ namespace Tests\Unit\ViewHelpers\Company\HR; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\User\Pronoun; +use App\Http\ViewHelpers\Company\HR\CompanyHRViewHelper; +use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Company; use App\Models\Company\ECoffee; +use App\Models\Company\ECoffeeMatch; use App\Models\Company\Employee; use App\Models\Company\Position; -use App\Models\Company\ECoffeeMatch; -use App\Models\Company\AskMeAnythingSession; -use App\Models\Company\AskMeAnythingQuestion; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\HR\CompanyHRViewHelper; +use App\Models\User\Pronoun; +use Carbon\Carbon; +use Tests\TestCase; class CompanyHRViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_list_of_statistic_about_ecoffees_in_the_company(): void { diff --git a/tests/Unit/ViewHelpers/Company/HeaderSearchViewHelperTest.php b/tests/Unit/ViewHelpers/Company/HeaderSearchViewHelperTest.php index e607f2f46..0b8c5bb10 100644 --- a/tests/Unit/ViewHelpers/Company/HeaderSearchViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/HeaderSearchViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Company; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Team; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Company\HeaderSearchViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Team; +use Tests\TestCase; class HeaderSearchViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_handles_an_empty_employees_search(): void { diff --git a/tests/Unit/ViewHelpers/Company/KB/PageEditViewHelperTest.php b/tests/Unit/ViewHelpers/Company/KB/PageEditViewHelperTest.php index 868a73501..bff6ba41a 100644 --- a/tests/Unit/ViewHelpers/Company/KB/PageEditViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/KB/PageEditViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Company\KB; -use Carbon\Carbon; -use Tests\TestCase; +use App\Http\ViewHelpers\Company\KB\PageEditViewHelper; use App\Models\Company\Page; use App\Models\Company\Wiki; -use App\Http\ViewHelpers\Company\KB\PageEditViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; +use Tests\TestCase; class PageEditViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_detail_of_a_page(): void { diff --git a/tests/Unit/ViewHelpers/Company/KB/PageShowViewHelperTest.php b/tests/Unit/ViewHelpers/Company/KB/PageShowViewHelperTest.php index 044c9e0f9..0e511fdd2 100644 --- a/tests/Unit/ViewHelpers/Company/KB/PageShowViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/KB/PageShowViewHelperTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\ViewHelpers\Company\KB; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Page; -use App\Models\Company\Wiki; use App\Helpers\StringHelper; -use App\Models\Company\PageRevision; use App\Http\ViewHelpers\Company\KB\PageShowViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Page; +use App\Models\Company\PageRevision; +use App\Models\Company\Wiki; +use Carbon\Carbon; +use Tests\TestCase; class PageShowViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_detail_of_a_page(): void { diff --git a/tests/Unit/ViewHelpers/Company/KB/WikiShowViewHelperTest.php b/tests/Unit/ViewHelpers/Company/KB/WikiShowViewHelperTest.php index 5b3fa93ae..f776955ed 100644 --- a/tests/Unit/ViewHelpers/Company/KB/WikiShowViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/KB/WikiShowViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Company\KB; -use Tests\TestCase; +use App\Http\ViewHelpers\Company\KB\WikiShowViewHelper; use App\Models\Company\Page; use App\Models\Company\Wiki; -use App\Http\ViewHelpers\Company\KB\WikiShowViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class WikiShowViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_detail_of_a_wiki(): void { @@ -42,7 +39,7 @@ public function it_gets_the_detail_of_a_wiki(): void 'title' => $page->title, 'first_revision' => null, 'last_revision' => null, - 'url' => env('APP_URL').'/'.$michael->company_id. '/company/kb/'.$wiki->id.'/pages/'.$page->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/kb/'.$wiki->id.'/pages/'.$page->id, ], ], $array['pages']->toArray() @@ -50,8 +47,8 @@ public function it_gets_the_detail_of_a_wiki(): void $this->assertEquals( [ - 'create' => env('APP_URL').'/'.$michael->company_id. '/company/kb/'.$wiki->id.'/pages/create', - 'edit' => env('APP_URL').'/'.$michael->company_id. '/company/kb/'.$wiki->id.'/edit', + 'create' => env('APP_URL').'/'.$michael->company_id.'/company/kb/'.$wiki->id.'/pages/create', + 'edit' => env('APP_URL').'/'.$michael->company_id.'/company/kb/'.$wiki->id.'/edit', ], $array['urls'] ); diff --git a/tests/Unit/ViewHelpers/Company/KB/WikiViewHelperTest.php b/tests/Unit/ViewHelpers/Company/KB/WikiViewHelperTest.php index 755758ab8..eded01fef 100644 --- a/tests/Unit/ViewHelpers/Company/KB/WikiViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/KB/WikiViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Company\KB; -use Tests\TestCase; -use Illuminate\Support\Str; +use App\Http\ViewHelpers\Company\KB\WikiViewHelper; use App\Models\Company\Page; use App\Models\Company\Wiki; use Illuminate\Support\Facades\DB; -use App\Http\ViewHelpers\Company\KB\WikiViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Illuminate\Support\Str; +use Tests\TestCase; class WikiViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_list_of_wikis(): void { @@ -42,9 +39,9 @@ public function it_gets_the_list_of_wikis(): void 'most_recent_page' => [ 'id' => $page->id, 'title' => $page->title, - 'url' => env('APP_URL').'/'.$michael->company_id. '/company/kb/'.$wiki->id.'/pages/'.$page->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/kb/'.$wiki->id.'/pages/'.$page->id, ], - 'url' => env('APP_URL').'/'.$michael->company_id. '/company/kb/'.$wiki->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/kb/'.$wiki->id, ], ], $array['data']->toArray() diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectBoardsViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectBoardsViewHelperTest.php index 4b2089560..70677bc2f 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectBoardsViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectBoardsViewHelperTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Tests\TestCase; +use App\Http\ViewHelpers\Company\Project\ProjectBoardsViewHelper; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; use App\Models\Company\IssueType; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectBoardsViewHelper; +use Tests\TestCase; class ProjectBoardsViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_boards(): void { diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectDecisionsViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectDecisionsViewHelperTest.php index 90e3f40bf..99f855d9c 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectDecisionsViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectDecisionsViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Company\Project\ProjectDecisionsViewHelper; use App\Models\Company\Employee; use App\Models\Company\ProjectDecision; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectDecisionsViewHelper; +use Tests\TestCase; class ProjectDecisionsViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_decisions(): void { diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectFilesViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectFilesViewHelperTest.php index 799c255f3..e33debe30 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectFilesViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectFilesViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Company\Project\ProjectFilesViewHelper; use App\Models\Company\File; use App\Models\Company\Project; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectFilesViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class ProjectFilesViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_files(): void { diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectIssuesViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectIssuesViewHelperTest.php index f515e1630..189a5a422 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectIssuesViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectIssuesViewHelperTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Company\Project\ProjectIssuesViewHelper; use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectIssue; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectIssuesViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class ProjectIssuesViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_details_of_the_issue(): void { @@ -71,7 +68,7 @@ public function it_gets_the_details_of_the_issue(): void [ 'points' => $issue->story_points, 'url' => [ - 'store' => env('APP_URL').'/'.$issue->project->company_id.'/company/projects/'.$issue->project->id.'/boards/'.$issue->board->id. '/issues/'.$issue->id.'/points', + 'store' => env('APP_URL').'/'.$issue->project->company_id.'/company/projects/'.$issue->project->id.'/boards/'.$issue->board->id.'/issues/'.$issue->id.'/points', ], ], $array['story_points'] @@ -103,7 +100,7 @@ public function it_gets_the_details_of_the_issue(): void $this->assertEquals( [ 'index' => env('APP_URL').'/'.$issue->project->company_id.'/company/projects/'.$issue->project->id.'/boards/'.$issue->board->id.'/members', - 'store' => env('APP_URL').'/'.$issue->project->company_id.'/company/projects/'.$issue->project->id.'/boards/'.$issue->board->id. '/issues/'.$issue->id.'/assignees', + 'store' => env('APP_URL').'/'.$issue->project->company_id.'/company/projects/'.$issue->project->id.'/boards/'.$issue->board->id.'/issues/'.$issue->id.'/assignees', ], $array['assignees']['url'] ); @@ -115,7 +112,7 @@ public function it_gets_the_details_of_the_issue(): void 'avatar' => ImageHelper::getAvatar($michael, 25), 'url' => [ 'show' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, - 'destroy' => env('APP_URL').'/'.$issue->project->company_id.'/company/projects/'.$issue->project->id.'/boards/'.$issue->board->id. '/issues/'.$issue->id.'/assignees/'.$michael->id, + 'destroy' => env('APP_URL').'/'.$issue->project->company_id.'/company/projects/'.$issue->project->id.'/boards/'.$issue->board->id.'/issues/'.$issue->id.'/assignees/'.$michael->id, ], ], ], diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectMembersViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectMembersViewHelperTest.php index f2efa2a37..226a18930 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectMembersViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectMembersViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Project; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Company\Project\ProjectMembersViewHelper; +use App\Models\Company\Project; +use Tests\TestCase; class ProjectMembersViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_employees(): void { diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectMessagesViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectMessagesViewHelperTest.php index 431a205e6..3d257de44 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectMessagesViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectMessagesViewHelperTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; +use App\Http\ViewHelpers\Company\Project\ProjectMessagesViewHelper; use App\Models\Company\Comment; use App\Models\Company\Project; -use Illuminate\Support\Facades\DB; use App\Models\Company\ProjectMessage; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectMessagesViewHelper; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; +use Tests\TestCase; class ProjectMessagesViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_messages(): void { @@ -53,7 +50,7 @@ public function it_gets_a_collection_of_messages(): void 'read_status' => false, 'comment_count' => 1, 'written_at' => $projectMessageB->created_at->diffForHumans(), - 'url' => env('APP_URL') . '/' . $michael->company_id . '/company/projects/' . $project->id . '/messages/' . $projectMessageB->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/projects/'.$project->id.'/messages/'.$projectMessageB->id, 'author' => null, ], 1 => [ @@ -62,12 +59,12 @@ public function it_gets_a_collection_of_messages(): void 'read_status' => true, 'comment_count' => 0, 'written_at' => $projectMessageA->created_at->diffForHumans(), - 'url' => env('APP_URL') . '/' . $michael->company_id . '/company/projects/' . $project->id . '/messages/' . $projectMessageA->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/projects/'.$project->id.'/messages/'.$projectMessageA->id, 'author' => [ 'id' => $michael->id, 'name' => $michael->name, 'avatar' => ImageHelper::getAvatar($michael, 22), - 'url_view' => env('APP_URL') . '/' . $michael->company_id . '/employees/' . $michael->id, + 'url_view' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, ], ], ], diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectSprintsViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectSprintsViewHelperTest.php index 891d26e30..7491d5cb6 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectSprintsViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectSprintsViewHelperTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Tests\TestCase; use App\Helpers\DateHelper; +use App\Http\ViewHelpers\Company\Project\ProjectSprintsViewHelper; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectSprint; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectSprintsViewHelper; +use Tests\TestCase; class ProjectSprintsViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_the_sprint(): void { @@ -68,8 +65,8 @@ public function it_gets_information_about_the_sprint(): void ); $this->assertEquals( [ - 'store' => env('APP_URL').'/'.$company->id. '/company/projects/'.$project->id.'/boards/'.$projectBoard->id.'/sprints/'.$backlog->id.'/issues', - 'toggle' => env('APP_URL').'/'.$company->id. '/company/projects/'.$project->id.'/boards/'.$projectBoard->id.'/sprints/'.$backlog->id.'/toggle', + 'store' => env('APP_URL').'/'.$company->id.'/company/projects/'.$project->id.'/boards/'.$projectBoard->id.'/sprints/'.$backlog->id.'/issues', + 'toggle' => env('APP_URL').'/'.$company->id.'/company/projects/'.$project->id.'/boards/'.$projectBoard->id.'/sprints/'.$backlog->id.'/toggle', ], $array['url'] ); diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectTasksViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectTasksViewHelperTest.php index f4094a90c..c207894d0 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectTasksViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectTasksViewHelperTest.php @@ -2,24 +2,23 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; +use App\Http\ViewHelpers\Company\Project\ProjectTasksViewHelper; use App\Models\Company\Comment; use App\Models\Company\Project; -use App\Models\Company\Timesheet; use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; +use Carbon\Carbon; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectTasksViewHelper; +use Tests\TestCase; class ProjectTasksViewHelperTest extends TestCase { - use DatabaseTransactions, HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_collection_of_tasks_without_task_lists(): void @@ -264,7 +263,7 @@ public function it_gets_the_details_of_a_single_task(): void 'id' => $michael->id, 'name' => $michael->name, 'avatar' => ImageHelper::getAvatar($michael, 35), - 'url' => env('APP_URL') . '/' . $michael->company_id . '/employees/' . $michael->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, ], $array['assignee'] ); diff --git a/tests/Unit/ViewHelpers/Company/Project/ProjectViewHelperTest.php b/tests/Unit/ViewHelpers/Company/Project/ProjectViewHelperTest.php index 60570eaec..05a610602 100644 --- a/tests/Unit/ViewHelpers/Company/Project/ProjectViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Company/Project/ProjectViewHelperTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\ViewHelpers\Company\Project; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; -use App\Models\Company\Project; +use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectLink; use App\Models\Company\ProjectStatus; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use Tests\TestCase; class ProjectViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_list_of_projects(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardExpenseViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardExpenseViewHelperTest.php index da2a0b94b..48858d7e7 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardExpenseViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardExpenseViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Dashboard\DashboardExpenseViewHelper; use App\Models\Company\Expense; +use Carbon\Carbon; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Dashboard\DashboardExpenseViewHelper; +use Tests\TestCase; class DashboardExpenseViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_collection_of_expenses_that_are_awaiting_for_accounting_approval(): void diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardHRViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardHRViewHelperTest.php index fc4814ae4..cc6a66372 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardHRViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardHRViewHelperTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Dashboard\DashboardHRViewHelper; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Timesheet; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; -use App\Http\ViewHelpers\Dashboard\DashboardHRViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class DashboardHRViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_employees_without_managers_who_have_pending_timesheets(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardManagerViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardManagerViewHelperTest.php index 4c17f53de..64471ad08 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardManagerViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardManagerViewHelperTest.php @@ -2,27 +2,25 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Dashboard\DashboardManagerViewHelper; +use App\Models\Company\DisciplineCase; +use App\Models\Company\Employee; +use App\Models\Company\EmployeeStatus; use App\Models\Company\Expense; +use App\Models\Company\OneOnOneEntry; use App\Models\Company\Project; -use App\Models\Company\Employee; -use App\Models\Company\Timesheet; use App\Models\Company\ProjectTask; -use App\Models\Company\OneOnOneEntry; -use App\Models\Company\DisciplineCase; -use App\Models\Company\EmployeeStatus; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; -use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; -use App\Http\ViewHelpers\Dashboard\DashboardManagerViewHelper; +use Carbon\Carbon; +use GrahamCampbell\TestBenchCore\HelperTrait; +use Tests\TestCase; class DashboardManagerViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_collection_of_pending_expenses(): void @@ -336,7 +334,7 @@ public function it_gets_an_array_about_the_opened_cases(): void 'name' => $dwight->name, 'avatar' => ImageHelper::getAvatar($dwight, 40), 'position' => (! $dwight->position) ? null : $dwight->position->title, - 'url' =>env('APP_URL').'/'.$michael->company_id.'/employees/'.$dwight->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$dwight->id, ], 'url' => env('APP_URL').'/'.$michael->company_id.'/dashboard/manager/discipline-cases/'.$openCase->id, ], diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardMeViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardMeViewHelperTest.php index 0993f07d7..e415ac398 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardMeViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardMeViewHelperTest.php @@ -2,40 +2,38 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Task; +use App\Http\ViewHelpers\Dashboard\DashboardMeViewHelper; +use App\Jobs\StartRateYourManagerProcess; use App\Models\Company\Answer; -use App\Models\Company\Morale; +use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; +use App\Models\Company\Candidate; +use App\Models\Company\CandidateStage; +use App\Models\Company\CandidateStageParticipant; use App\Models\Company\Company; use App\Models\Company\ECoffee; +use App\Models\Company\ECoffeeMatch; +use App\Models\Company\Employee; +use App\Models\Company\EmployeeStatus; use App\Models\Company\Expense; +use App\Models\Company\ExpenseCategory; +use App\Models\Company\JobOpening; +use App\Models\Company\Morale; +use App\Models\Company\OneOnOneEntry; use App\Models\Company\Project; -use App\Models\Company\Worklog; -use App\Models\Company\Employee; use App\Models\Company\Question; -use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use App\Models\Company\ECoffeeMatch; +use App\Models\Company\Task; use App\Models\Company\WorkFromHome; -use App\Models\Company\OneOnOneEntry; -use App\Models\Company\CandidateStage; -use App\Models\Company\EmployeeStatus; -use App\Models\Company\ExpenseCategory; -use App\Jobs\StartRateYourManagerProcess; -use App\Models\Company\AskMeAnythingSession; -use App\Models\Company\AskMeAnythingQuestion; -use GrahamCampbell\TestBenchCore\HelperTrait; -use App\Models\Company\CandidateStageParticipant; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Worklog; use App\Services\Company\Employee\Manager\AssignManager; -use App\Http\ViewHelpers\Dashboard\DashboardMeViewHelper; +use Carbon\Carbon; +use GrahamCampbell\TestBenchCore\HelperTrait; +use Tests\TestCase; class DashboardMeViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_an_empty_array_if_there_is_no_active_question_in_the_company(): void diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardOneOnOneViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardOneOnOneViewHelperTest.php index 984c007f9..8562b29f1 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardOneOnOneViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardOneOnOneViewHelperTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\OneOnOneNote; -use App\Models\Company\OneOnOneEntry; +use App\Http\ViewHelpers\Dashboard\DashboardOneOnOneViewHelper; use App\Models\Company\OneOnOneActionItem; +use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Dashboard\DashboardOneOnOneViewHelper; +use Tests\TestCase; class DashboardOneOnOneViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_an_array_containing_all_the_information_about_a_one_on_one_entry(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardTeamViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardTeamViewHelperTest.php index a92999726..9a66aa647 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardTeamViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardTeamViewHelperTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Dashboard\DashboardTeamViewHelper; +use App\Models\Company\Employee; use App\Models\Company\Ship; use App\Models\Company\Team; use App\Models\Company\Worklog; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Dashboard\DashboardTeamViewHelper; use App\Services\Company\Employee\WorkFromHome\UpdateWorkFromHomeInformation; +use Carbon\Carbon; +use Tests\TestCase; class DashboardTeamViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_birthdates(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardTimesheetViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardTimesheetViewHelperTest.php index 67a8acdc2..3a81597dc 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardTimesheetViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardTimesheetViewHelperTest.php @@ -2,20 +2,17 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Dashboard\DashboardTimesheetViewHelper; use App\Models\Company\Project; -use App\Models\Company\Timesheet; use App\Models\Company\ProjectTask; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Dashboard\DashboardTimesheetViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class DashboardTimesheetViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_details_of_a_timesheet(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/DashboardViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/DashboardViewHelperTest.php index 09c54a934..72eb17afd 100644 --- a/tests/Unit/ViewHelpers/Dashboard/DashboardViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/DashboardViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; +use Tests\TestCase; class DashboardViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_information_about_the_employee(): void { @@ -27,7 +24,7 @@ public function it_gets_information_about_the_employee(): void 'can_manage_expenses' => false, 'is_manager' => false, 'can_manage_hr' => true, - 'url' => env('APP_URL') . '/' . $michael->company_id . '/employees/' . $michael->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, ], DashboardViewHelper::information($michael, 'info') ); diff --git a/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelperTest.php index f09d7efb4..25c348202 100644 --- a/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelperTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\ViewHelpers\Dashboard\HR; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Employee; +use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineCaseViewHelper; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineCaseViewHelper; +use App\Models\Company\Employee; +use Carbon\Carbon; +use Tests\TestCase; class DashboardHRDisciplineCaseViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_an_array_about_the_opened_cases(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelperTest.php index 3b91088de..ea38a3382 100644 --- a/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Dashboard\HR; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineEventViewHelper; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineEventViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class DashboardHRDisciplineEventViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_data_transfer_object(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelperTest.php index cc1139aa0..d6ea81027 100644 --- a/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelperTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\ViewHelpers\Dashboard\HR; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Project; +use App\Http\ViewHelpers\Dashboard\HR\DashboardHRTimesheetViewHelper; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; -use App\Http\ViewHelpers\Dashboard\HR\DashboardHRTimesheetViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class DashboardHRTimesheetViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_employees_who_have_timesheets_to_approve(): void { diff --git a/tests/Unit/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelperTest.php b/tests/Unit/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelperTest.php index a3486be84..ceafebcd4 100644 --- a/tests/Unit/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelperTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\ViewHelpers\Dashboard\Manager; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Project; +use App\Http\ViewHelpers\Dashboard\Manager\DashboardManagerTimesheetViewHelper; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; -use App\Http\ViewHelpers\Dashboard\Manager\DashboardManagerTimesheetViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class DashboardManagerTimesheetViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_employees_who_have_timesheets_to_approve(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeECoffeeViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeECoffeeViewHelperTest.php index 75877f926..f46254680 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeECoffeeViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeECoffeeViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Employee\EmployeeECoffeeViewHelper; use App\Models\Company\ECoffee; use App\Models\Company\ECoffeeMatch; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeECoffeeViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class EmployeeECoffeeViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_all_e_coffee_sessions(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeEditContractViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeEditContractViewHelperTest.php index 72af783ef..1369428ee 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeEditContractViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeEditContractViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Employee; +use App\Http\ViewHelpers\Employee\EmployeeEditContractViewHelper; +use App\Models\Company\ConsultantRate; use Carbon\Carbon; use Tests\TestCase; -use App\Models\Company\ConsultantRate; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeEditContractViewHelper; class EmployeeEditContractViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_information_about_the_contract(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeEditViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeEditViewHelperTest.php index f04db3e63..9ac36a47d 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeEditViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeEditViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Employee; +use App\Http\ViewHelpers\Employee\EmployeeEditViewHelper; +use App\Models\Company\Employee; use Carbon\Carbon; use Tests\TestCase; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeEditViewHelper; class EmployeeEditViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_information_about_the_employee(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeExpenseViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeExpenseViewHelperTest.php index 488e64a4c..f1bd789b0 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeExpenseViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeExpenseViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Employee; +use App\Http\ViewHelpers\Employee\EmployeeExpenseViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Expense; use Carbon\Carbon; use Tests\TestCase; -use App\Models\Company\Expense; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeExpenseViewHelper; class EmployeeExpenseViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_an_array_of_statistics_about_the_expenses_of_this_employee(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeHierarchyViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeHierarchyViewHelperTest.php index 9c649bb76..1a15c99be 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeHierarchyViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeHierarchyViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Tests\TestCase; +use App\Http\ViewHelpers\Employee\EmployeeHierarchyViewHelper; use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Services\Company\Employee\Manager\AssignManager; -use App\Http\ViewHelpers\Employee\EmployeeHierarchyViewHelper; +use Tests\TestCase; class EmployeeHierarchyViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_searches_employees(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeLogViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeLogViewHelperTest.php index a151322c7..111928da7 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeLogViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeLogViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Employee\EmployeeLogViewHelper; use App\Models\Company\Employee; use App\Models\Company\EmployeeLog; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeLogViewHelper; +use Tests\TestCase; class EmployeeLogViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_employee_logs(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeOneOnOneViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeOneOnOneViewHelperTest.php index 2769017f1..f9c7849cc 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeOneOnOneViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeOneOnOneViewHelperTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Employee\EmployeeOneOnOneViewHelper; use App\Models\Company\Employee; -use App\Models\Company\OneOnOneNote; -use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneActionItem; +use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneTalkingPoint; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeOneOnOneViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class EmployeeOneOnOneViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_an_array_of_statistics_about_the_ones_on_ones(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeePerformanceViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeePerformanceViewHelperTest.php index 1736bfa7d..84247d313 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeePerformanceViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeePerformanceViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Carbon\Carbon; -use Tests\TestCase; +use App\Http\ViewHelpers\Employee\EmployeePerformanceViewHelper; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeePerformanceViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class EmployeePerformanceViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_latest_surveys_about_the_manager(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeShowViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeShowViewHelperTest.php index 2be0550c2..d7b863345 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeShowViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeShowViewHelperTest.php @@ -2,39 +2,36 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Ship; -use App\Models\Company\Team; -use App\Models\User\Pronoun; -use App\Models\Company\Skill; +use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; use App\Models\Company\Answer; use App\Models\Company\ECoffee; -use App\Models\Company\Expense; -use App\Models\Company\Project; +use App\Models\Company\ECoffeeMatch; use App\Models\Company\Employee; +use App\Models\Company\EmployeePositionHistory; +use App\Models\Company\EmployeeStatus; +use App\Models\Company\Expense; use App\Models\Company\Hardware; +use App\Models\Company\OneOnOneEntry; use App\Models\Company\Position; +use App\Models\Company\Project; +use App\Models\Company\ProjectTask; use App\Models\Company\Question; +use App\Models\Company\Ship; +use App\Models\Company\Skill; use App\Models\Company\Software; +use App\Models\Company\Team; use App\Models\Company\Timesheet; -use App\Models\Company\ProjectTask; -use App\Models\Company\ECoffeeMatch; -use App\Models\Company\WorkFromHome; -use App\Models\Company\OneOnOneEntry; -use App\Models\Company\EmployeeStatus; use App\Models\Company\TimeTrackingEntry; -use App\Models\Company\EmployeePositionHistory; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Services\Company\Employee\Manager\AssignManager; -use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\WorkFromHome; +use App\Models\User\Pronoun; use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use App\Services\Company\Employee\Manager\AssignManager; +use Carbon\Carbon; +use Tests\TestCase; class EmployeeShowViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_information_about_the_employee(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeSkillViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeSkillViewHelperTest.php index 4ad0c35fa..9fcd972e8 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeSkillViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeSkillViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Tests\TestCase; -use App\Models\Company\Skill; -use App\Models\Company\Employee; -use Illuminate\Foundation\Testing\DatabaseTransactions; use App\Http\ViewHelpers\Employee\EmployeeSkillViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Skill; use App\Services\Company\Employee\Skill\AttachEmployeeToSkill; +use Tests\TestCase; class EmployeeSkillViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_handles_an_empty_search(): void { diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeSurveysViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeSurveysViewHelperTest.php index 5cee7d1d7..0fbbf52e9 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeSurveysViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeSurveysViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Employee\EmployeeSurveysViewHelper; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeSurveysViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class EmployeeSurveysViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_all_surveys_about_the_manager(): void { @@ -244,9 +241,9 @@ public function it_gets_information_about_the_current_survey(): void $this->assertEquals( [ - 'bad' => 1, - 'average' => 1, - 'good' => 1, + 'bad' => 1, + 'average' => 1, + 'good' => 1, ], $array['results'] ); diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeTimesheetViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeTimesheetViewHelperTest.php index 58daba31a..22f6f2dbf 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeTimesheetViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeTimesheetViewHelperTest.php @@ -2,23 +2,21 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Carbon\Carbon; -use Tests\TestCase; -use App\Models\Company\Project; +use App\Http\ViewHelpers\Employee\EmployeeTimesheetViewHelper; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; -use Illuminate\Support\Collection; -use Illuminate\Support\Facades\DB; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; +use Carbon\Carbon; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeTimesheetViewHelper; +use Illuminate\Support\Collection; +use Illuminate\Support\Facades\DB; +use Tests\TestCase; class EmployeeTimesheetViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_collection_of_employee_timesheets(): void diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelperTest.php index fec92c1f2..ddfe36750 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Tests\TestCase; +use App\Http\ViewHelpers\Employee\EmployeeWorkFromHomeViewHelper; use App\Models\Company\Employee; -use Illuminate\Support\Collection; use App\Models\Company\WorkFromHome; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeWorkFromHomeViewHelper; +use Illuminate\Support\Collection; +use Tests\TestCase; class EmployeeWorkFromHomeViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_collection_of_years_representing_all_the_years_the_employee_has_a_worklog_for(): void diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeWorkViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeWorkViewHelperTest.php index aa77eb397..66325f91d 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeWorkViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeWorkViewHelperTest.php @@ -2,22 +2,19 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Employee\EmployeeWorkViewHelper; use App\Models\Company\Group; use App\Models\Company\Morale; use App\Models\Company\Project; -use App\Models\Company\Worklog; -use App\Models\Company\ProjectTask; use App\Models\Company\ProjectMessage; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeWorkViewHelper; +use App\Models\Company\ProjectTask; +use App\Models\Company\Worklog; +use Carbon\Carbon; +use Tests\TestCase; class EmployeeWorkViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_details_of_a_worklog(): void { @@ -170,7 +167,7 @@ public function it_gets_a_collection_of_all_projects_for_this_employee(): void 'role' => null, 'messages_count' => 0, 'tasks_count' => 0, - 'url' => env('APP_URL') . '/' . $michael->company_id . '/company/projects/' . $projectB->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/projects/'.$projectB->id, ], 1 => [ 'id' => $projectA->id, @@ -180,7 +177,7 @@ public function it_gets_a_collection_of_all_projects_for_this_employee(): void 'role' => trans('project.project_title_lead'), 'messages_count' => 1, 'tasks_count' => 2, - 'url' => env('APP_URL') . '/' . $michael->company_id . '/company/projects/' . $projectA->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/company/projects/'.$projectA->id, ], ], $collection->toArray() @@ -216,7 +213,7 @@ public function it_gets_a_list_of_groups(): void ); $this->assertEquals( - env('APP_URL') . '/' . $michael->company_id . '/company/groups/' . $group->id, + env('APP_URL').'/'.$michael->company_id.'/company/groups/'.$group->id, $collection->toArray()[0]['url'] ); @@ -230,7 +227,7 @@ public function it_gets_a_list_of_groups(): void 0 => [ 'id' => $michael->id, 'avatar' => ImageHelper::getAvatar($michael, 25), - 'url' => env('APP_URL') . '/' . $michael->company_id . '/employees/' . $michael->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, ], ], $collection->toArray()[0]['preview_members']->toArray() diff --git a/tests/Unit/ViewHelpers/Employee/EmployeeWorklogViewHelperTest.php b/tests/Unit/ViewHelpers/Employee/EmployeeWorklogViewHelperTest.php index 9d0928d57..7488a7c5d 100644 --- a/tests/Unit/ViewHelpers/Employee/EmployeeWorklogViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Employee/EmployeeWorklogViewHelperTest.php @@ -2,18 +2,16 @@ namespace Tests\Unit\ViewHelpers\Employee; -use Tests\TestCase; -use App\Models\Company\Worklog; +use App\Http\ViewHelpers\Employee\EmployeeWorklogViewHelper; use App\Models\Company\Employee; -use Illuminate\Support\Collection; +use App\Models\Company\Worklog; use GrahamCampbell\TestBenchCore\HelperTrait; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Employee\EmployeeWorklogViewHelper; +use Illuminate\Support\Collection; +use Tests\TestCase; class EmployeeWorklogViewHelperTest extends TestCase { - use DatabaseTransactions, - HelperTrait; + use HelperTrait; /** @test */ public function it_gets_a_collection_representing_all_the_worklogs_for_a_given_year(): void diff --git a/tests/Unit/ViewHelpers/Jobs/JobsCompanyViewHelperTest.php b/tests/Unit/ViewHelpers/Jobs/JobsCompanyViewHelperTest.php index df578570f..14d139810 100644 --- a/tests/Unit/ViewHelpers/Jobs/JobsCompanyViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Jobs/JobsCompanyViewHelperTest.php @@ -2,17 +2,14 @@ namespace Tests\Unit\ViewHelpers\Jobs; -use Tests\TestCase; -use App\Models\Company\Team; +use App\Http\ViewHelpers\Jobs\JobsCompanyViewHelper; use App\Models\Company\Company; use App\Models\Company\JobOpening; -use App\Http\ViewHelpers\Jobs\JobsCompanyViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Team; +use Tests\TestCase; class JobsCompanyViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_all_the_active_job_openings_in_the_company(): void { @@ -48,7 +45,7 @@ public function it_gets_all_the_active_job_openings_in_the_company(): void 'team' => [ 'name' => $team->name, ], - 'url' => env('APP_URL') . '/jobs/' . $company->slug . '/jobs/' . $opening->slug, + 'url' => env('APP_URL').'/jobs/'.$company->slug.'/jobs/'.$opening->slug, ], ], $array['job_openings']->toArray() @@ -78,7 +75,7 @@ public function it_gets_the_details_about_a_specific_job(): void 'name' => $company->name, 'location' => $company->location, 'logo' => null, - 'url' => env('APP_URL') . '/jobs/' . $company->slug, + 'url' => env('APP_URL').'/jobs/'.$company->slug, ], $array['company'] ); @@ -97,7 +94,7 @@ public function it_gets_the_details_about_a_specific_job(): void ); $this->assertEquals( - env('APP_URL') . '/jobs/' . $company->slug . '/jobs/' . $opening->slug.'/apply', + env('APP_URL').'/jobs/'.$company->slug.'/jobs/'.$opening->slug.'/apply', $array['url_apply'] ); } @@ -141,17 +138,17 @@ public function it_gets_the_details_needed_for_the_apply_page(): void ); $this->assertEquals( - env('APP_URL') . '/jobs', + env('APP_URL').'/jobs', $array['url_all'] ); $this->assertEquals( - env('APP_URL') . '/jobs/' . $company->slug, + env('APP_URL').'/jobs/'.$company->slug, $array['url_company'] ); $this->assertEquals( - env('APP_URL') . '/jobs/' . $company->slug . '/jobs/' . $opening->slug, + env('APP_URL').'/jobs/'.$company->slug.'/jobs/'.$opening->slug, $array['url_back'] ); } diff --git a/tests/Unit/ViewHelpers/Jobs/JobsViewHelperTest.php b/tests/Unit/ViewHelpers/Jobs/JobsViewHelperTest.php index 543df9bb1..b3089ad57 100644 --- a/tests/Unit/ViewHelpers/Jobs/JobsViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Jobs/JobsViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Jobs; -use Tests\TestCase; +use App\Http\ViewHelpers\Jobs\JobsViewHelper; use App\Models\Company\Company; use App\Models\Company\JobOpening; -use App\Http\ViewHelpers\Jobs\JobsViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class JobsViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_all_the_companies_with_open_job_openings_in_the_instance(): void { diff --git a/tests/Unit/ViewHelpers/Recruiting/RecruitingCandidatesViewHelperTest.php b/tests/Unit/ViewHelpers/Recruiting/RecruitingCandidatesViewHelperTest.php index 43043e173..fa2c2bfa9 100644 --- a/tests/Unit/ViewHelpers/Recruiting/RecruitingCandidatesViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Recruiting/RecruitingCandidatesViewHelperTest.php @@ -2,28 +2,25 @@ namespace Tests\Unit\ViewHelpers\Recruiting; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\File; use App\Helpers\StringHelper; +use App\Http\ViewHelpers\Recruiting\RecruitingCandidatesViewHelper; +use App\Models\Company\Candidate; +use App\Models\Company\CandidateStage; +use App\Models\Company\CandidateStageNote; +use App\Models\Company\CandidateStageParticipant; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\Candidate; +use App\Models\Company\File; use App\Models\Company\JobOpening; -use App\Models\Company\CandidateStage; use App\Models\Company\RecruitingStage; -use App\Models\Company\CandidateStageNote; use App\Models\Company\RecruitingStageTemplate; -use App\Models\Company\CandidateStageParticipant; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Recruiting\RecruitingCandidatesViewHelper; +use Carbon\Carbon; +use Tests\TestCase; class RecruitingCandidatesViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_the_details_about_the_job_opening(): void { @@ -61,7 +58,7 @@ public function it_gets_the_details_about_the_job_opening(): void 'count' => 0, 'url' => env('APP_URL').'/'.$company->id.'/teams/'.$opening->team->id, ], - 'url' => env('APP_URL').'/'.$company->id. '/recruiting/job-openings/'.$opening->id, + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$opening->id, ], $array ); @@ -155,14 +152,14 @@ public function it_gets_the_details_about_the_candidate(): void 'name' => $stage1->stage_name, 'position' => $stage1->stage_position, 'status' => CandidateStage::STATUS_PASSED, - 'url' => env('APP_URL').'/'.$company->id. '/recruiting/job-openings/'.$opening->id.'/candidates/'.$candidate->id.'/stages/'.$stage1->id, + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$opening->id.'/candidates/'.$candidate->id.'/stages/'.$stage1->id, ], 1 => [ 'id' => $stage2->id, 'name' => $stage2->stage_name, 'position' => $stage2->stage_position, 'status' => CandidateStage::STATUS_PENDING, - 'url' => env('APP_URL').'/'.$company->id. '/recruiting/job-openings/'.$opening->id.'/candidates/'.$candidate->id.'/stages/'.$stage2->id, + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$opening->id.'/candidates/'.$candidate->id.'/stages/'.$stage2->id, ], ], $array['stages']->toArray() @@ -269,7 +266,7 @@ public function it_gets_the_details_about_the_candidate_stage(): void 'id' => $stage->decider->position->id, 'title' => $stage->decider->position->title, ], - 'url' => env('APP_URL').'/'.$stage->decider->company_id.'/employees/'.$stage->decider->id, + 'url' => env('APP_URL').'/'.$stage->decider->company_id.'/employees/'.$stage->decider->id, ], 'decided_at' => 'Jan 01, 2018', ], @@ -298,7 +295,7 @@ public function it_gets_the_details_about_the_participants(): void 'avatar' => ImageHelper::getAvatar($jim, 32), 'participated' => true, 'participant_id' => $candidateStageParticipant->id, - 'url' => env('APP_URL').'/'.$jim->company_id. '/employees/'.$jim->id, + 'url' => env('APP_URL').'/'.$jim->company_id.'/employees/'.$jim->id, ], ], $collection->toArray() @@ -453,7 +450,7 @@ public function it_gets_the_notes(): void 'id' => $candidateStageNoteB->author->id, 'name' => $candidateStageNoteB->author->name, 'avatar' => ImageHelper::getAvatar($candidateStageNoteB->author, 32), - 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$candidateStageNoteB->author->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$candidateStageNoteB->author->id, ], 'permissions' => [ 'can_edit' => false, @@ -469,7 +466,7 @@ public function it_gets_the_notes(): void 'id' => $candidateStageNote->author->id, 'name' => $candidateStageNote->author->name, 'avatar' => ImageHelper::getAvatar($michael, 32), - 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, + 'url' => env('APP_URL').'/'.$michael->company_id.'/employees/'.$michael->id, ], 'permissions' => [ 'can_edit' => true, diff --git a/tests/Unit/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelperTest.php b/tests/Unit/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelperTest.php index 8cde1ceae..b8bc9ee59 100644 --- a/tests/Unit/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelperTest.php @@ -2,25 +2,22 @@ namespace Tests\Unit\ViewHelpers\Recruiting; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Team; use App\Helpers\StringHelper; +use App\Http\ViewHelpers\Recruiting\RecruitingJobOpeningsViewHelper; +use App\Models\Company\Candidate; +use App\Models\Company\CandidateStage; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\Position; -use App\Models\Company\Candidate; use App\Models\Company\JobOpening; -use App\Models\Company\CandidateStage; +use App\Models\Company\Position; use App\Models\Company\RecruitingStageTemplate; -use Illuminate\Foundation\Testing\DatabaseTransactions; -use App\Http\ViewHelpers\Recruiting\RecruitingJobOpeningsViewHelper; +use App\Models\Company\Team; +use Carbon\Carbon; +use Tests\TestCase; class RecruitingJobOpeningsViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_positions(): void { @@ -185,7 +182,7 @@ public function it_gets_a_collection_of_open_job_openings(): void 'reference_number' => $jobOpeningA->reference_number, 'active' => $jobOpeningA->active, 'team' => null, - 'url' => env('APP_URL').'/'. $company->id.'/recruiting/job-openings/'.$jobOpeningA->id, + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$jobOpeningA->id, ], 1 => [ 'id' => $jobOpeningB->id, @@ -248,7 +245,7 @@ public function it_gets_a_collection_of_fulfilled_job_openings(): void 'reference_number' => $jobOpening->reference_number, 'fulfilled_at' => 'Jan 01, 2018', 'team' => null, - 'url' => env('APP_URL') . '/' . $company->id . '/recruiting/job-openings/' . $jobOpening->id, + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$jobOpening->id, ], ], $array['fulfilled_job_openings']->toArray() @@ -257,13 +254,13 @@ public function it_gets_a_collection_of_fulfilled_job_openings(): void $this->assertEquals( [ 'count' => 2, - 'url' => env('APP_URL') . '/' . $company->id . '/recruiting/job-openings', + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings', ], $array['open_job_openings'] ); $this->assertEquals( - env('APP_URL') . '/' . $company->id . '/recruiting/job-openings/create', + env('APP_URL').'/'.$company->id.'/recruiting/job-openings/create', $array['url_create'] ); } @@ -524,15 +521,15 @@ public function it_gets_the_stats(): void [ 'to_sort' => [ 'count' => 1, - 'url' => env('APP_URL').'/'.$company->id. '/recruiting/job-openings/'.$jobOpening->id, + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$jobOpening->id, ], 'selected' => [ 'count' => 1, - 'url' => env('APP_URL').'/'.$company->id. '/recruiting/job-openings/'.$jobOpening->id.'/selected', + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$jobOpening->id.'/selected', ], 'rejected' => [ 'count' => 1, - 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$jobOpening->id.'/rejected', + 'url' => env('APP_URL').'/'.$company->id.'/recruiting/job-openings/'.$jobOpening->id.'/rejected', ], ], $array diff --git a/tests/Unit/ViewHelpers/Team/TeamIndexViewHelperTest.php b/tests/Unit/ViewHelpers/Team/TeamIndexViewHelperTest.php index f00382e53..24ff8718a 100644 --- a/tests/Unit/ViewHelpers/Team/TeamIndexViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Team/TeamIndexViewHelperTest.php @@ -2,16 +2,13 @@ namespace Tests\Unit\ViewHelpers\Team; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Team; use App\Http\ViewHelpers\Team\TeamIndexViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Team; +use Tests\TestCase; class TeamIndexViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_teams(): void { diff --git a/tests/Unit/ViewHelpers/Team/TeamMembersViewHelperTest.php b/tests/Unit/ViewHelpers/Team/TeamMembersViewHelperTest.php index 67ab99c2a..8f13aa6c3 100644 --- a/tests/Unit/ViewHelpers/Team/TeamMembersViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Team/TeamMembersViewHelperTest.php @@ -2,18 +2,15 @@ namespace Tests\Unit\ViewHelpers\Team; -use Tests\TestCase; use App\Helpers\ImageHelper; -use App\Models\Company\Team; -use App\Models\Company\Employee; use App\Http\ViewHelpers\Team\TeamMembersViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use App\Models\Company\Employee; +use App\Models\Company\Team; use App\Services\Company\Employee\Team\AddEmployeeToTeam; +use Tests\TestCase; class TeamMembersViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_potential_team_members(): void { diff --git a/tests/Unit/ViewHelpers/Team/TeamRecentShipViewHelperTest.php b/tests/Unit/ViewHelpers/Team/TeamRecentShipViewHelperTest.php index b7bcbfb03..c97569ad9 100644 --- a/tests/Unit/ViewHelpers/Team/TeamRecentShipViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Team/TeamRecentShipViewHelperTest.php @@ -2,19 +2,16 @@ namespace Tests\Unit\ViewHelpers\Team; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Team\TeamRecentShipViewHelper; +use App\Models\Company\Employee; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Models\Company\Employee; -use App\Http\ViewHelpers\Team\TeamRecentShipViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Carbon\Carbon; +use Tests\TestCase; class TeamRecentShipViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_recent_ships(): void { diff --git a/tests/Unit/ViewHelpers/Team/TeamShowViewHelperTest.php b/tests/Unit/ViewHelpers/Team/TeamShowViewHelperTest.php index 074683fef..fdb0ebb92 100644 --- a/tests/Unit/ViewHelpers/Team/TeamShowViewHelperTest.php +++ b/tests/Unit/ViewHelpers/Team/TeamShowViewHelperTest.php @@ -2,21 +2,18 @@ namespace Tests\Unit\ViewHelpers\Team; -use Carbon\Carbon; -use Tests\TestCase; use App\Helpers\ImageHelper; +use App\Http\ViewHelpers\Team\TeamShowViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\MoraleTeamHistory; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Models\Company\Employee; +use Carbon\Carbon; use Illuminate\Support\Facades\Log; -use App\Models\Company\MoraleTeamHistory; -use App\Http\ViewHelpers\Team\TeamShowViewHelper; -use Illuminate\Foundation\Testing\DatabaseTransactions; +use Tests\TestCase; class TeamShowViewHelperTest extends TestCase { - use DatabaseTransactions; - /** @test */ public function it_gets_a_collection_of_employees(): void { From e0b475b5cdce32acfec5d29edf525c0c25dc6693 Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 22:42:22 +0200 Subject: [PATCH 4/8] pint fixes --- ...CalculateTimeOffBalanceForAllEmployees.php | 4 +- app/Console/Commands/Demo/ResetDemo.php | 7 +- .../Commands/GenerateNewECoffeeSession.php | 2 +- app/Console/Commands/Helpers/Command.php | 15 +- .../Commands/Helpers/CommandCaller.php | 16 +- .../Helpers/CommandCallerContract.php | 14 +- app/Console/Commands/Setup.php | 4 +- .../StartRateYourManagerProcessFromCli.php | 2 +- .../StopRateYourManagerProcessFromCli.php | 2 +- .../Commands/Tests/SetupDummyAccount.php | 211 +++++++++++------- .../Commands/Tests/SetupFrontEndTest.php | 2 +- app/Console/Kernel.php | 12 +- app/Events/FileDeleted.php | 4 +- .../CompanyPTOPolicyAlreadyExistException.php | 4 +- app/Exceptions/ConvertAmountException.php | 4 +- ...ationExceedingMaximalDurationException.php | 4 +- app/Exceptions/EmailAlreadyUsedException.php | 4 +- .../EnvVariablesNotSetException.php | 4 +- app/Exceptions/Handler.php | 11 +- app/Exceptions/LabelAlreadyExistException.php | 4 +- app/Exceptions/MalformedCSVException.php | 4 +- .../MoraleAlreadyLoggedTodayException.php | 4 +- app/Exceptions/NotConsultantException.php | 4 +- .../NotEnoughPermissionException.php | 4 +- app/Exceptions/NotEnoughSoftwareSeat.php | 4 +- app/Exceptions/NotSameCompanyException.php | 4 +- app/Exceptions/NotTheManagerException.php | 4 +- .../ProjectCodeAlreadyExistException.php | 4 +- app/Exceptions/SameIdsException.php | 4 +- .../SkillNameNotUniqueException.php | 4 +- .../StartDateAfterEndDateException.php | 4 +- .../SurveyNotActiveAnymoreException.php | 4 +- app/Exceptions/TeamNameNotUniqueException.php | 4 +- .../UserAlreadyInvitedException.php | 4 +- .../WorklogAlreadyLoggedTodayException.php | 4 +- app/Helpers/AccountHelper.php | 2 +- app/Helpers/BirthdayHelper.php | 17 +- app/Helpers/DateHelper.php | 70 ++---- app/Helpers/FileHelper.php | 3 - app/Helpers/HolidayHelper.php | 25 +-- app/Helpers/ImageHelper.php | 13 +- app/Helpers/InstanceHelper.php | 2 +- app/Helpers/LocaleHelper.php | 17 +- app/Helpers/LogHelper.php | 88 ++++---- app/Helpers/MapHelper.php | 7 - app/Helpers/MoneyHelper.php | 16 +- app/Helpers/NotificationHelper.php | 12 +- app/Helpers/PaginatorHelper.php | 4 +- app/Helpers/PermissionHelper.php | 4 - app/Helpers/QuestionHelper.php | 4 - app/Helpers/RandomHelper.php | 2 - app/Helpers/SQLHelper.php | 10 - app/Helpers/SearchHelper.php | 5 - app/Helpers/StringHelper.php | 4 - app/Helpers/TimeHelper.php | 8 +- app/Helpers/TimezoneHelper.php | 10 +- app/Helpers/WorkFromHomeHelper.php | 7 +- app/Helpers/WorklogHelper.php | 12 +- .../Collections/CompanyNewsCollection.php | 4 +- .../CompanyPTOPolicyCollection.php | 4 +- app/Http/Collections/QuestionCollection.php | 4 +- app/Http/Collections/TeamNewsCollection.php | 4 +- .../Collections/TeamUsefulLinkCollection.php | 4 +- .../Collections/WorkFromHomeCollection.php | 4 +- app/Http/Collections/WorklogCollection.php | 4 +- app/Http/Controllers/Auth/LoginController.php | 9 +- .../Auth/SocialiteCallbackController.php | 40 +--- .../Auth/UserInvitationController.php | 26 +-- .../Adminland/AdminAuditController.php | 11 +- .../Adminland/AdminBillingController.php | 10 +- .../AdminCancelAccountController.php | 10 +- .../Adminland/AdminCompanyNewsController.php | 37 +-- .../Adminland/AdminECoffeeController.php | 14 +- .../Adminland/AdminEmployeeController.php | 72 +----- .../AdminEmployeePermissionController.php | 18 +- .../AdminEmployeeStatusController.php | 26 +-- .../Adminland/AdminExpenseController.php | 42 +--- .../Company/Adminland/AdminFlowController.php | 25 +-- .../Adminland/AdminGeneralController.php | 38 +--- .../Adminland/AdminHardwareController.php | 52 +---- .../Adminland/AdminPTOPoliciesController.php | 21 +- .../Adminland/AdminPositionController.php | 26 +-- .../AdminProjectManagementController.php | 28 +-- .../Adminland/AdminQuestionController.php | 42 +--- .../Adminland/AdminRecruitmentController.php | 42 +--- .../Adminland/AdminSoftwareController.php | 87 ++------ .../Company/Adminland/AdminTeamController.php | 34 +-- .../AdminUploadEmployeeController.php | 31 +-- .../Adminland/AdminWorkFromHomeController.php | 14 +- .../Company/Adminland/AdminlandController.php | 10 +- .../Company/Company/CompanyController.php | 19 +- .../Company/Company/CompanyNewsController.php | 21 +- .../Company/Company/Group/GroupController.php | 64 +----- .../Company/Group/GroupMeetingsController.php | 126 ++--------- .../Company/Group/GroupMembersController.php | 35 +-- .../HR/CompanyHRAskMeAnythingController.php | 57 +---- .../Company/HR/CompanyHRController.php | 8 +- .../HR/CompanyHRPositionController.php | 13 +- .../Company/KB/KnowledgeBaseController.php | 46 +--- .../KB/KnowledgeBasePageController.php | 52 +---- .../Company/Company/PositionController.php | 6 +- .../Project/ProjectBoardsController.php | 27 +-- .../Company/Project/ProjectController.php | 134 ++--------- .../Project/ProjectDecisionsController.php | 41 +--- .../Project/ProjectFilesController.php | 32 +-- .../ProjectIssueAssigneesController.php | 23 +- .../ProjectIssuePointsController.php | 8 +- .../ProjectIssue/ProjectIssuesController.php | 25 +-- .../Project/ProjectMembersController.php | 40 +--- .../ProjectMessagesCommentController.php | 31 +-- .../Project/ProjectMessagesController.php | 52 +---- .../Project/ProjectSprintController.php | 15 +- .../Project/ProjectTaskListsController.php | 28 +-- .../Project/ProjectTasksCommentController.php | 31 +-- .../Project/ProjectTasksController.php | 76 ++----- .../Company/Company/PronounController.php | 6 +- .../Company/Company/QuestionController.php | 29 +-- .../Company/Company/SkillController.php | 33 +-- .../Controllers/Company/CompanyController.php | 20 +- .../DashboardExpensesController.php | 28 +-- .../Company/Dashboard/DashboardController.php | 7 +- .../HR/DashboardDisciplineCasesController.php | 40 +--- .../DashboardDisciplineEventsController.php | 21 +- .../Dashboard/HR/DashboardHRController.php | 8 +- .../HR/DashboardHRTimesheetController.php | 37 +-- .../Manager/DashboardManagerController.php | 41 +--- ...shboardManagerDisciplineCaseController.php | 10 +- .../DashboardManagerTimesheetController.php | 39 +--- ...shboardAskMeAnythingQuestionController.php | 9 +- .../Dashboard/Me/DashboardMeController.php | 12 +- .../Me/DashboardMeECoffeeController.php | 10 +- .../Me/DashboardMeExpenseController.php | 11 +- .../Me/DashboardMeOneOnOneController.php | 97 ++------ .../Me/DashboardMeRecruitingController.php | 11 +- .../Me/DashboardMoraleController.php | 7 +- .../Me/DashboardQuestionController.php | 19 +- .../Me/DashboardRateYourManagerController.php | 16 +- .../Me/DashboardWorkFromHomeController.php | 9 +- .../Me/DashboardWorklogController.php | 7 +- .../Teams/DashboardTeamController.php | 38 +--- .../DashboardTimesheetController.php | 42 +--- .../EmployeeAdministrationController.php | 13 +- .../Expenses/EmployeeExpenseController.php | 25 +-- .../EmployeeTimesheetController.php | 42 ++-- .../Edit/EmployeeEditAvatarController.php | 11 +- .../Employee/Edit/EmployeeEditController.php | 69 ++---- .../Company/Employee/EmployeeController.php | 10 +- .../EmployeeDescriptionController.php | 19 +- .../Employee/EmployeeLogsController.php | 17 +- .../Employee/EmployeePositionController.php | 16 +- .../Employee/EmployeePronounController.php | 17 +- .../Employee/EmployeeStatusController.php | 22 +- .../Employee/EmployeeTeamController.php | 22 +- .../EmployeePerformanceController.php | 17 +- .../OneOnOnes/EmployeeOneOnOneController.php | 23 +- .../Surveys/EmployeeSurveysController.php | 17 +- .../EmployeePresentationController.php | 39 +--- .../Presentation/EmployeeSearchController.php | 11 +- .../Presentation/EmployeeSkillController.php | 24 +- .../eCoffee/EmployeeECoffeeController.php | 11 +- .../Employee/Work/EmployeeWorkController.php | 30 +-- .../EmployeeWorkFromHomeController.php | 37 +-- .../RecruitingCandidateController.php | 96 ++------ .../RecruitingJobOpeningController.php | 60 +---- .../Company/Team/TeamController.php | 19 +- .../Team/TeamDescriptionController.php | 9 +- .../Company/Team/TeamLeadController.php | 22 +- .../Company/Team/TeamMembersController.php | 27 +-- .../Company/Team/TeamNewsController.php | 45 +--- .../Company/Team/TeamRecentShipController.php | 43 +--- .../Company/Team/TeamUsefulLinkController.php | 15 +- app/Http/Controllers/Controller.php | 14 +- .../Controllers/HeaderSearchController.php | 12 +- app/Http/Controllers/HelpController.php | 7 +- app/Http/Controllers/HomeController.php | 5 +- .../Jobs/JobsCompanyController.php | 62 +---- app/Http/Controllers/Jobs/JobsController.php | 6 +- .../Controllers/User/LocaleController.php | 7 +- .../MarkNotificationAsReadController.php | 8 +- .../Notification/NotificationController.php | 11 +- app/Http/Controllers/WelcomeController.php | 6 +- app/Http/Kernel.php | 2 +- app/Http/Middleware/Authenticate.php | 2 +- app/Http/Middleware/CheckAccountantRole.php | 6 +- .../Middleware/CheckAdministratorRole.php | 6 +- app/Http/Middleware/CheckBoard.php | 6 +- app/Http/Middleware/CheckCompany.php | 12 +- .../CheckEmployeeOrManagerOrAtLeastRH.php | 8 +- app/Http/Middleware/CheckHRRole.php | 6 +- app/Http/Middleware/CheckLocale.php | 3 +- app/Http/Middleware/CheckProject.php | 6 +- app/Http/Middleware/EnsureEmailIsVerified.php | 3 +- app/Http/Middleware/HandleInertiaRequests.php | 9 +- .../Middleware/RedirectIfAuthenticated.php | 4 +- app/Http/Middleware/SentryContext.php | 6 +- app/Http/Middleware/ShareInertiaData.php | 2 +- app/Http/Middleware/TrustProxies.php | 4 +- .../Adminland/AdminBillingViewHelper.php | 8 +- .../Adminland/AdminECoffeeViewHelper.php | 3 - .../AdminEmployeeStatusViewHelper.php | 8 +- .../Adminland/AdminEmployeeViewHelper.php | 6 +- .../Adminland/AdminExpenseViewHelper.php | 10 +- .../Adminland/AdminGeneralViewHelper.php | 8 +- .../Adminland/AdminHardwareViewHelper.php | 18 +- .../Adminland/AdminPositionViewHelper.php | 3 +- .../AdminProjectManagementViewHelper.php | 3 - .../Adminland/AdminRecruitmentViewHelper.php | 6 - .../Adminland/AdminSoftwareViewHelper.php | 31 +-- .../Adminland/AdminTeamViewHelper.php | 9 +- .../AdminUploadEmployeeViewHelper.php | 12 +- .../Adminland/AdminWorkFromHomeViewHelper.php | 3 - .../Company/CompanyNewsViewHelper.php | 4 - .../Company/CompanyQuestionViewHelper.php | 21 +- .../Company/CompanySkillViewHelper.php | 9 +- .../ViewHelpers/Company/CompanyViewHelper.php | 38 +--- .../Company/Group/GroupCreateViewHelper.php | 6 +- .../Company/Group/GroupMeetingsViewHelper.php | 20 +- .../Company/Group/GroupMembersViewHelper.php | 10 +- .../Company/Group/GroupShowViewHelper.php | 18 +- .../Company/Group/GroupViewHelper.php | 14 +- .../HR/CompanyHRAskMeAnythingViewHelper.php | 25 +-- .../HR/CompanyHRPositionShowViewHelper.php | 8 +- .../Company/HR/CompanyHRViewHelper.php | 47 ++-- .../Company/HeaderSearchViewHelper.php | 8 - .../Company/KB/PageEditViewHelper.php | 3 - .../Company/KB/PageShowViewHelper.php | 5 +- .../Company/KB/WikiShowViewHelper.php | 6 +- .../ViewHelpers/Company/KB/WikiViewHelper.php | 9 +- .../Project/ProjectBoardsViewHelper.php | 20 +- .../Project/ProjectDecisionsViewHelper.php | 10 +- .../Project/ProjectFilesViewHelper.php | 6 +- .../Project/ProjectIssuesViewHelper.php | 8 +- .../Project/ProjectMembersViewHelper.php | 6 - .../Project/ProjectMessagesViewHelper.php | 17 +- .../Project/ProjectSprintsViewHelper.php | 12 +- .../Project/ProjectTasksViewHelper.php | 37 +-- .../Company/Project/ProjectViewHelper.php | 24 +- .../Dashboard/DashboardExpenseViewHelper.php | 18 +- .../Dashboard/DashboardHRViewHelper.php | 5 +- .../Dashboard/DashboardManagerViewHelper.php | 40 +--- .../Dashboard/DashboardMeViewHelper.php | 82 ++----- .../Dashboard/DashboardOneOnOneViewHelper.php | 4 - .../Dashboard/DashboardTeamViewHelper.php | 38 +--- .../DashboardTimesheetViewHelper.php | 25 +-- .../Dashboard/DashboardViewHelper.php | 4 - .../DashboardHRDisciplineCaseViewHelper.php | 21 +- .../DashboardHRDisciplineEventViewHelper.php | 5 - .../HR/DashboardHRTimesheetViewHelper.php | 9 +- .../DashboardManagerTimesheetViewHelper.php | 8 +- .../Employee/EmployeeECoffeeViewHelper.php | 8 +- .../EmployeeEditContractViewHelper.php | 9 +- .../Employee/EmployeeEditViewHelper.php | 5 +- .../Employee/EmployeeExpenseViewHelper.php | 8 +- .../Employee/EmployeeHierarchyViewHelper.php | 5 - .../Employee/EmployeeLogViewHelper.php | 3 +- .../Employee/EmployeeOneOnOneViewHelper.php | 14 +- .../EmployeePerformanceViewHelper.php | 5 +- .../Employee/EmployeeShowViewHelper.php | 79 +------ .../Employee/EmployeeSkillViewHelper.php | 7 +- .../Employee/EmployeeSurveysViewHelper.php | 10 +- .../Employee/EmployeeTimesheetViewHelper.php | 18 +- .../EmployeeWorkFromHomeViewHelper.php | 11 +- .../Employee/EmployeeWorkViewHelper.php | 33 +-- .../Employee/EmployeeWorklogViewHelper.php | 16 +- .../Jobs/JobsCompanyViewHelper.php | 9 - app/Http/ViewHelpers/Jobs/JobsViewHelper.php | 2 - .../RecruitingCandidatesViewHelper.php | 86 +++---- .../RecruitingJobOpeningsViewHelper.php | 55 +---- .../ViewHelpers/Team/TeamIndexViewHelper.php | 3 - .../Team/TeamMembersViewHelper.php | 11 +- .../Team/TeamRecentShipViewHelper.php | 16 +- .../ViewHelpers/Team/TeamShowViewHelper.php | 37 +-- app/Jobs/AskEmployeesToRateTheirManager.php | 10 +- app/Jobs/CalculateTimeOffBalance.php | 15 +- ...dBeMovedToAccountingWhenManagerChanges.php | 12 +- app/Jobs/ConvertExpense.php | 12 +- app/Jobs/ConvertSoftwarePurchase.php | 12 +- app/Jobs/CreateNewECoffeeSession.php | 12 +- app/Jobs/FetchAddressGeocoding.php | 10 +- .../CreateMonthlyInvoiceForCompanies.php | 10 +- ...yMaxNumberOfActiveEmployeesInCompanies.php | 48 ++-- app/Jobs/LogAccountAudit.php | 8 +- app/Jobs/LogCompaniesMorale.php | 16 +- app/Jobs/LogEmployeeAudit.php | 8 +- app/Jobs/LogMissedWorklogEntry.php | 8 +- app/Jobs/LogTeamAudit.php | 8 +- app/Jobs/LogTeamsMorale.php | 8 +- app/Jobs/NotifyEmployee.php | 8 +- app/Jobs/ProcessCompanyMorale.php | 30 ++- app/Jobs/ProcessTeamMorale.php | 12 +- app/Jobs/ProvisionDefaultAccountData.php | 10 +- app/Jobs/SendVerifyEmail.php | 6 +- app/Jobs/ServiceQueue.php | 14 +- app/Jobs/StartRateYourManagerProcess.php | 10 +- app/Jobs/StopRateYourManagerProcess.php | 8 +- app/Jobs/UpdateDashboardPreference.php | 10 +- app/Listeners/DeleteFileInStorage.php | 20 +- .../InviteEmployeeToBecomeUserMail.php | 2 +- ...AccountCancellationToAdministratorMail.php | 2 +- app/Models/Company/Action.php | 2 +- app/Models/Company/AgendaItem.php | 6 +- app/Models/Company/Answer.php | 2 +- app/Models/Company/AskMeAnythingQuestion.php | 2 +- app/Models/Company/AskMeAnythingSession.php | 14 +- app/Models/Company/AuditLog.php | 15 +- app/Models/Company/Candidate.php | 4 +- app/Models/Company/CandidateStage.php | 10 +- app/Models/Company/CandidateStageNote.php | 2 +- .../Company/CandidateStageParticipant.php | 12 +- app/Models/Company/Comment.php | 4 +- app/Models/Company/Company.php | 20 +- app/Models/Company/CompanyCalendar.php | 2 +- .../Company/CompanyDailyUsageHistory.php | 4 +- app/Models/Company/CompanyInvoice.php | 2 +- app/Models/Company/CompanyNews.php | 4 +- app/Models/Company/CompanyPTOPolicy.php | 6 +- .../Company/CompanyUsageHistoryDetails.php | 2 +- app/Models/Company/ConsultantRate.php | 2 +- app/Models/Company/Country.php | 2 +- app/Models/Company/DirectReport.php | 2 +- app/Models/Company/DisciplineCase.php | 4 +- app/Models/Company/DisciplineEvent.php | 6 +- app/Models/Company/ECoffee.php | 4 +- app/Models/Company/ECoffeeMatch.php | 2 +- app/Models/Company/Employee.php | 78 ++----- .../Company/EmployeeDailyCalendarEntry.php | 6 +- app/Models/Company/EmployeeLog.php | 19 +- app/Models/Company/EmployeePlannedHoliday.php | 12 +- .../Company/EmployeePositionHistory.php | 8 +- app/Models/Company/EmployeeStatus.php | 5 +- app/Models/Company/Expense.php | 23 +- app/Models/Company/ExpenseCategory.php | 4 +- app/Models/Company/File.php | 2 +- app/Models/Company/Flow.php | 4 +- app/Models/Company/Group.php | 4 +- app/Models/Company/GuessEmployeeGame.php | 2 +- app/Models/Company/Hardware.php | 2 +- app/Models/Company/ImportJob.php | 16 +- app/Models/Company/ImportJobReport.php | 2 +- app/Models/Company/IssueType.php | 4 +- app/Models/Company/JobOpening.php | 16 +- app/Models/Company/Meeting.php | 14 +- app/Models/Company/MeetingDecision.php | 2 +- app/Models/Company/Morale.php | 13 +- app/Models/Company/MoraleCompanyHistory.php | 2 +- app/Models/Company/MoraleTeamHistory.php | 2 +- app/Models/Company/Notification.php | 9 +- app/Models/Company/OneOnOneActionItem.php | 2 +- app/Models/Company/OneOnOneEntry.php | 14 +- app/Models/Company/OneOnOneNote.php | 2 +- app/Models/Company/OneOnOneTalkingPoint.php | 2 +- app/Models/Company/Page.php | 14 +- app/Models/Company/PageRevision.php | 2 +- app/Models/Company/Pageview.php | 2 +- app/Models/Company/Place.php | 21 +- app/Models/Company/Position.php | 4 +- app/Models/Company/Project.php | 22 +- app/Models/Company/ProjectBoard.php | 2 +- app/Models/Company/ProjectDecision.php | 6 +- app/Models/Company/ProjectIssue.php | 4 +- app/Models/Company/ProjectLabel.php | 2 +- app/Models/Company/ProjectLink.php | 6 +- app/Models/Company/ProjectMemberActivity.php | 2 +- app/Models/Company/ProjectMessage.php | 2 +- app/Models/Company/ProjectSprint.php | 14 +- app/Models/Company/ProjectStatus.php | 4 +- app/Models/Company/ProjectTask.php | 14 +- app/Models/Company/ProjectTaskList.php | 2 +- app/Models/Company/Question.php | 21 +- app/Models/Company/RateYourManagerAnswer.php | 4 +- app/Models/Company/RateYourManagerSurvey.php | 14 +- app/Models/Company/RecruitingStage.php | 2 +- .../Company/RecruitingStageTemplate.php | 4 +- app/Models/Company/Ship.php | 2 +- app/Models/Company/Skill.php | 2 +- app/Models/Company/Software.php | 14 +- app/Models/Company/Step.php | 4 +- app/Models/Company/Task.php | 17 +- app/Models/Company/Team.php | 14 +- app/Models/Company/TeamLog.php | 19 +- app/Models/Company/TeamNews.php | 4 +- app/Models/Company/TeamUsefulLink.php | 8 +- app/Models/Company/TimeTrackingEntry.php | 6 +- app/Models/Company/Timesheet.php | 15 +- app/Models/Company/Wiki.php | 4 +- app/Models/Company/WorkFromHome.php | 14 +- app/Models/Company/Worklog.php | 13 +- app/Models/User/Pronoun.php | 12 +- app/Models/User/User.php | 22 +- app/Models/User/UserToken.php | 2 +- app/Notifications/EmailMessaging.php | 4 +- app/Providers/AppServiceProvider.php | 8 +- app/Providers/Auth/MonicaExtendSocialite.php | 2 - app/Providers/BroadcastServiceProvider.php | 2 +- app/Providers/EventServiceProvider.php | 2 +- app/Providers/FortifyServiceProvider.php | 12 +- app/Providers/RouteServiceProvider.php | 14 +- app/Services/BaseService.php | 56 ++--- .../AnswerAskMeAnythingQuestion.php | 13 +- .../CreateAskMeAnythingQuestion.php | 11 +- .../CreateAskMeAnythingSession.php | 10 +- .../DestroyAskMeAnythingQuestion.php | 9 +- .../DestroyAskMeAnythingSession.php | 8 +- .../ToggleAskMeAnythingSession.php | 10 +- .../UpdateAskMeAnythingSession.php | 10 +- .../Adminland/Company/AddUserToCompany.php | 12 +- .../Adminland/Company/CreateCompany.php | 18 +- .../Adminland/Company/DestroyCompany.php | 8 +- .../Company/Adminland/Company/JoinCompany.php | 18 +- .../Company/ProvisionDefaultAccountData.php | 12 +- .../Adminland/Company/RenameCompany.php | 12 +- .../Company/UpdateCompanyCurrency.php | 12 +- .../Company/UpdateCompanyFoundedDate.php | 9 +- .../Company/UpdateCompanyLocation.php | 9 +- .../Adminland/Company/UpdateCompanyLogo.php | 13 +- .../Adminland/Company/UpdateCompanySlug.php | 10 +- .../CompanyNews/CreateCompanyNews.php | 10 +- .../CompanyNews/DestroyCompanyNews.php | 10 +- .../CompanyNews/UpdateCompanyNews.php | 10 +- .../CreateCompanyPTOPolicy.php | 17 +- .../UpdateCompanyPTOPolicy.php | 14 +- .../ECoffee/ToggleECoffeeProcess.php | 9 +- .../Employee/AddEmployeeToCompany.php | 18 +- .../Employee/ChangePermissionLevel.php | 10 +- .../Adminland/Employee/DestroyEmployee.php | 10 +- .../Employee/ImportEmployeesFromCSV.php | 23 +- .../ImportEmployeesFromTemporaryTable.php | 15 +- .../Employee/InviteEmployeeToBecomeUser.php | 18 +- .../Adminland/Employee/LockEmployee.php | 13 +- .../StoreEmployeesFromCSVInTemporaryTable.php | 7 +- .../Adminland/Employee/UnlockEmployee.php | 8 +- .../Adminland/Employee/UpdateEmployee.php | 10 +- .../EmployeeStatus/CreateEmployeeStatus.php | 9 +- .../EmployeeStatus/DestroyEmployeeStatus.php | 10 +- .../EmployeeStatus/UpdateEmployeeStatus.php | 10 +- .../Expense/AllowEmployeeToManageExpenses.php | 12 +- ...AmountFromOneCurrencyToCompanyCurrency.php | 27 ++- .../DisallowEmployeeToManageExpenses.php | 10 +- .../ExpenseCategory/CreateExpenseCategory.php | 10 +- .../DestroyExpenseCategory.php | 10 +- .../ExpenseCategory/UpdateExpenseCategory.php | 10 +- .../Company/Adminland/File/UploadFile.php | 7 +- .../Adminland/Flow/AddActionToStep.php | 8 +- .../Company/Adminland/Flow/AddStepToFlow.php | 6 - .../Company/Adminland/Flow/CreateFlow.php | 10 +- .../Adminland/Flow/RemoveActionFromStep.php | 8 +- .../Adminland/Flow/RemoveStepFromFlow.php | 6 - .../Adminland/Hardware/CreateHardware.php | 10 +- .../Adminland/Hardware/DestroyHardware.php | 10 +- .../Adminland/Hardware/LendHardware.php | 12 +- .../Adminland/Hardware/RegainHardware.php | 12 +- .../Adminland/Hardware/UpdateHardware.php | 10 +- .../JobOpening/AddFileToCandidate.php | 9 +- .../Adminland/JobOpening/CreateCandidate.php | 13 +- .../JobOpening/CreateCandidateStageNote.php | 20 +- .../CreateCandidateStageParticipant.php | 22 +- .../Adminland/JobOpening/CreateJobOpening.php | 18 +- .../JobOpening/CreateRecruitingStage.php | 12 +- .../CreateRecruitingStageTemplate.php | 10 +- ...stroyCandidateDuringApplicationProcess.php | 7 +- ...yCandidateFileDuringApplicationProcess.php | 8 +- .../JobOpening/DestroyCandidateStageNote.php | 19 +- .../DestroyCandidateStageParticipant.php | 21 +- .../JobOpening/DestroyJobOpening.php | 9 +- .../JobOpening/DestroyRecruitingStage.php | 11 +- .../DestroyRecruitingStageTemplate.php | 10 +- .../Adminland/JobOpening/HireCandidate.php | 19 +- .../JobOpening/ProcessCandidateStage.php | 16 +- .../Adminland/JobOpening/ToggleJobOpening.php | 10 +- .../JobOpening/UpdateCandidateStageNote.php | 20 +- .../Adminland/JobOpening/UpdateJobOpening.php | 20 +- .../JobOpening/UpdateRecruitingStage.php | 12 +- .../UpdateRecruitingStageTemplate.php | 10 +- .../Adminland/Position/CreatePosition.php | 10 +- .../Adminland/Position/DestroyPosition.php | 10 +- .../Adminland/Position/UpdatePosition.php | 10 +- .../Adminland/Question/ActivateQuestion.php | 16 +- .../Adminland/Question/CreateQuestion.php | 11 +- .../Adminland/Question/DeactivateQuestion.php | 14 +- .../Adminland/Question/DestroyQuestion.php | 10 +- .../Adminland/Question/UpdateQuestion.php | 11 +- .../Adminland/Software/AddFileToSoftware.php | 13 +- .../Adminland/Software/CreateSoftware.php | 12 +- .../Adminland/Software/DestroySoftware.php | 9 +- .../Software/DestroySoftwareFile.php | 12 +- .../Adminland/Software/GiveSeatToEmployee.php | 11 +- .../Software/GiveSeatToEveryEmployee.php | 11 +- .../Software/TakeSeatFromEmployee.php | 11 +- .../Adminland/Software/UpdateSoftware.php | 12 +- .../Company/Adminland/Team/CreateTeam.php | 18 +- .../Company/Adminland/Team/DestroyTeam.php | 10 +- .../Company/Adminland/Team/UpdateTeam.php | 17 +- .../ToggleWorkFromHomeProcess.php | 9 +- .../Company/Employee/Answer/CreateAnswer.php | 11 +- .../Company/Employee/Answer/DestroyAnswer.php | 10 +- .../Company/Employee/Answer/UpdateAnswer.php | 11 +- .../Employee/Birthdate/SetBirthdate.php | 4 +- .../ConsultantRate/DestroyConsultantRate.php | 6 +- .../ConsultantRate/SetConsultantRate.php | 8 +- .../Contract/SetContractRenewalDate.php | 4 +- .../Description/ClearPersonalDescription.php | 10 +- .../Description/SetPersonalDescription.php | 10 +- .../DisciplineCase/CreateDisciplineCase.php | 9 +- .../DisciplineCase/CreateDisciplineEvent.php | 7 +- .../DisciplineCase/DestroyDisciplineCase.php | 7 +- .../DisciplineCase/DestroyDisciplineEvent.php | 7 +- .../DisciplineCase/ToggleDisciplineCase.php | 7 +- .../ECoffee/MarkECoffeeSessionAsHappened.php | 8 +- .../ECoffee/MatchEmployeesForECoffee.php | 6 +- .../AssignEmployeeStatusToEmployee.php | 10 +- .../RemoveEmployeeStatusFromEmployee.php | 14 +- .../Expense/AcceptExpenseAsAccountant.php | 15 +- .../Expense/AcceptExpenseAsManager.php | 15 +- .../Employee/Expense/CreateExpense.php | 18 +- .../Employee/Expense/DestroyExpense.php | 14 +- .../Expense/RejectExpenseAsAccountant.php | 15 +- .../Expense/RejectExpenseAsManager.php | 15 +- .../Employee/HiringDate/SetHiringDate.php | 4 +- .../Employee/Holiday/CreateTimeOff.php | 41 +--- .../Employee/Holiday/DestroyTimeOff.php | 10 +- .../Holiday/ProcessDailyTimeOffBalance.php | 10 +- .../Employee/Manager/AssignManager.php | 15 +- .../Employee/Manager/UnassignManager.php | 14 +- .../Company/Employee/Morale/LogMorale.php | 24 +- .../AddNotificationInUIForEmployee.php | 8 +- .../Notification/MarkNotificationsAsRead.php | 10 +- .../OneOnOne/CreateOneOnOneActionItem.php | 13 +- .../Employee/OneOnOne/CreateOneOnOneEntry.php | 15 +- .../Employee/OneOnOne/CreateOneOnOneNote.php | 13 +- .../OneOnOne/CreateOneOnOneTalkingPoint.php | 11 +- .../OneOnOne/DestroyOneOnOneActionItem.php | 12 +- .../OneOnOne/DestroyOneOnOneEntry.php | 10 +- .../Employee/OneOnOne/DestroyOneOnOneNote.php | 12 +- .../OneOnOne/DestroyOneOnOneTalkingPoint.php | 10 +- .../OneOnOne/MarkOneOnOneEntryAsHappened.php | 11 +- .../OneOnOne/ToggleOneOnOneActionItem.php | 9 +- .../OneOnOne/ToggleOneOnOneTalkingPoint.php | 9 +- .../OneOnOne/UpdateOneOnOneActionItem.php | 11 +- .../Employee/OneOnOne/UpdateOneOnOneNote.php | 11 +- .../OneOnOne/UpdateOneOnOneTalkingPoint.php | 9 +- .../PersonalDetails/SetPersonalDetails.php | 11 +- .../PersonalDetails/SetSlackHandle.php | 4 +- .../PersonalDetails/SetTwitterHandle.php | 4 +- .../Position/AssignPositionToEmployee.php | 14 +- .../Position/RemovePositionFromEmployee.php | 10 +- .../Pronoun/AssignPronounToEmployee.php | 12 +- .../Pronoun/RemovePronounFromEmployee.php | 12 +- .../AddCommentToRatingAboutManager.php | 11 +- .../RateYourManager/RateYourManager.php | 13 +- .../Employee/Skill/AttachEmployeeToSkill.php | 14 +- .../Company/Employee/Skill/DestroySkill.php | 6 +- .../Skill/RemoveSkillFromEmployee.php | 10 +- .../Company/Employee/Skill/UpdateSkill.php | 14 +- .../Employee/Team/AddEmployeeToTeam.php | 19 +- .../Employee/Team/RemoveEmployeeFromTeam.php | 19 +- .../Employee/Timesheet/ApproveTimesheet.php | 9 +- .../Timesheet/CreateOrGetTimesheet.php | 9 +- .../Timesheet/CreateTimeTrackingEntry.php | 15 +- .../Timesheet/DestroyTimesheetRow.php | 10 +- .../Employee/Timesheet/RejectTimesheet.php | 9 +- .../Employee/Timesheet/SubmitTimesheet.php | 9 +- .../UpdateWorkFromHomeInformation.php | 10 +- .../Employee/Worklog/DestroyWorklog.php | 9 +- .../Company/Employee/Worklog/LogWorklog.php | 14 +- .../Company/Group/AddEmployeeToGroup.php | 12 +- .../Company/Group/AddGuestToMeeting.php | 16 +- .../Company/Group/CreateAgendaItem.php | 19 +- app/Services/Company/Group/CreateGroup.php | 8 +- app/Services/Company/Group/CreateMeeting.php | 11 +- .../Company/Group/CreateMeetingDecision.php | 17 +- .../Company/Group/DestroyAgendaItem.php | 13 +- app/Services/Company/Group/DestroyGroup.php | 7 +- app/Services/Company/Group/DestroyMeeting.php | 10 +- .../Company/Group/DestroyMeetingDecision.php | 14 +- .../Company/Group/RemoveEmployeeFromGroup.php | 10 +- .../Company/Group/RemoveGuestFromMeeting.php | 15 +- .../ToggleEmployeeParticipationInMeeting.php | 18 +- .../Company/Group/UpdateAgendaItem.php | 19 +- app/Services/Company/Group/UpdateGroup.php | 10 +- .../Company/Group/UpdateMeetingDate.php | 13 +- .../Company/Group/UpdateMeetingDecision.php | 17 +- .../CreateGuessEmployeeGame.php | 15 +- .../VoteGuessEmployeeGame.php | 9 +- app/Services/Company/Place/CreatePlace.php | 22 +- .../Company/Place/GetGPSCoordinate.php | 17 +- .../Company/Project/AddEmployeeToProject.php | 13 +- .../Company/Project/AddFileToProject.php | 13 +- .../Project/AssignAssigneeToProjectIssue.php | 14 +- .../Company/Project/AssignIssueToSprint.php | 14 +- .../Company/Project/AssignLabelToIssue.php | 11 +- .../Project/AssignProjectTaskToEmployee.php | 16 +- .../Project/AssignProjectTaskToTaskList.php | 12 +- .../Company/Project/ClearProjectLead.php | 11 +- app/Services/Company/Project/CloseProject.php | 9 +- .../Company/Project/CreateIssueType.php | 10 +- .../Company/Project/CreateProject.php | 14 +- .../Company/Project/CreateProjectBoard.php | 11 +- .../Company/Project/CreateProjectDecision.php | 11 +- .../Company/Project/CreateProjectIssue.php | 24 +- .../Project/CreateProjectIssueComment.php | 12 +- .../Company/Project/CreateProjectLabel.php | 13 +- .../Company/Project/CreateProjectLink.php | 11 +- .../Company/Project/CreateProjectMessage.php | 11 +- .../Project/CreateProjectMessageComment.php | 14 +- .../Company/Project/CreateProjectSprint.php | 17 +- .../Company/Project/CreateProjectStatus.php | 11 +- .../Company/Project/CreateProjectTask.php | 11 +- .../Project/CreateProjectTaskComment.php | 14 +- .../Company/Project/CreateProjectTaskList.php | 11 +- .../Company/Project/DestroyIssueType.php | 9 +- .../Company/Project/DestroyProject.php | 9 +- .../Company/Project/DestroyProjectBoard.php | 10 +- .../Project/DestroyProjectDecision.php | 8 +- .../Company/Project/DestroyProjectFile.php | 12 +- .../Company/Project/DestroyProjectIssue.php | 16 +- .../Project/DestroyProjectIssueComment.php | 12 +- .../Company/Project/DestroyProjectLabel.php | 10 +- .../Company/Project/DestroyProjectLink.php | 8 +- .../Company/Project/DestroyProjectMessage.php | 10 +- .../Project/DestroyProjectMessageComment.php | 14 +- .../Company/Project/DestroyProjectSprint.php | 12 +- .../Company/Project/DestroyProjectTask.php | 10 +- .../Project/DestroyProjectTaskComment.php | 14 +- .../Project/DestroyProjectTaskList.php | 10 +- .../Company/Project/DuplicateIssue.php | 12 +- .../Project/MarkProjectMessageasRead.php | 12 +- app/Services/Company/Project/PauseProject.php | 9 +- .../RemoveAssigneeFromProjectIssue.php | 13 +- .../Project/RemoveEmployeeFromProject.php | 10 +- .../Company/Project/RemoveLabelFromIssue.php | 11 +- .../Company/Project/RemoveParentIssue.php | 11 +- .../Company/Project/SetParentIssue.php | 11 +- app/Services/Company/Project/StartProject.php | 10 +- .../Company/Project/StartProjectSprint.php | 13 +- .../Company/Project/StopProjectSprint.php | 13 +- .../Company/Project/ToggleProjectSprint.php | 12 +- .../Company/Project/ToggleProjectTask.php | 11 +- .../Company/Project/UpdateIssueType.php | 10 +- .../Company/Project/UpdateProjectBoard.php | 11 +- .../Project/UpdateProjectDescription.php | 9 +- .../Project/UpdateProjectInformation.php | 12 +- .../Company/Project/UpdateProjectIssue.php | 13 +- .../Project/UpdateProjectIssueComment.php | 12 +- .../Project/UpdateProjectIssuePosition.php | 15 +- .../Project/UpdateProjectIssueStoryPoint.php | 12 +- .../Company/Project/UpdateProjectLabel.php | 13 +- .../Company/Project/UpdateProjectLead.php | 11 +- .../Company/Project/UpdateProjectMessage.php | 13 +- .../Project/UpdateProjectMessageComment.php | 14 +- .../Company/Project/UpdateProjectSprint.php | 13 +- .../Company/Project/UpdateProjectTask.php | 14 +- .../Project/UpdateProjectTaskComment.php | 14 +- .../Company/Project/UpdateProjectTaskList.php | 11 +- .../Project/UpdateTypeOfProjectIssue.php | 13 +- app/Services/Company/Task/CreateTask.php | 14 +- .../Team/Description/ClearTeamDescription.php | 10 +- .../Team/Description/SetTeamDescription.php | 10 +- .../Team/Links/CreateTeamUsefulLink.php | 20 +- .../Team/Links/DestroyTeamUsefulLink.php | 12 +- .../Team/Links/UpdateTeamUsefulLink.php | 16 +- app/Services/Company/Team/SetTeamLead.php | 20 +- .../Team/Ship/AttachEmployeeToShip.php | 16 +- app/Services/Company/Team/Ship/CreateShip.php | 10 +- .../Company/Team/Ship/DestroyShip.php | 10 +- .../Company/Team/TeamNews/CreateTeamNews.php | 12 +- .../Company/Team/TeamNews/DestroyTeamNews.php | 14 +- .../Company/Team/TeamNews/UpdateTeamNews.php | 14 +- app/Services/Company/Team/UnsetTeamLead.php | 19 +- app/Services/Company/Wiki/AddPageToWiki.php | 11 +- .../Company/Wiki/CreatePageRevision.php | 10 +- app/Services/Company/Wiki/CreateWiki.php | 10 +- app/Services/Company/Wiki/DestroyPage.php | 10 +- app/Services/Company/Wiki/DestroyWiki.php | 9 +- .../Company/Wiki/IncrementPageViewForPage.php | 7 +- app/Services/Company/Wiki/UpdatePage.php | 11 +- app/Services/Company/Wiki/UpdateWiki.php | 10 +- app/Services/DispatchableService.php | 14 +- app/Services/Logs/LogAccountAction.php | 8 +- app/Services/Logs/LogEmployeeAction.php | 8 +- app/Services/Logs/LogTeamAction.php | 10 +- app/Services/QueuableService.php | 2 - app/Services/User/CreateAccount.php | 17 +- app/Services/User/PasswordValidationRules.php | 2 +- .../Preferences/ChangeHelpPreferences.php | 6 - .../User/Preferences/UpdateDashboardView.php | 8 +- app/Services/User/ResetUserPassword.php | 3 - app/Services/User/UpdateLocale.php | 8 +- app/Services/User/UpdateUserPassword.php | 3 - .../User/UpdateUserProfileInformation.php | 4 +- app/Traits/JsonRespondController.php | 29 +-- config/app.php | 1 - config/auth.php | 2 +- config/cache.php | 18 +- config/clockwork.php | 2 +- config/debugbar.php | 56 ++--- config/fortify.php | 2 +- config/insights.php | 26 +-- config/logging.php | 4 +- config/officelife.php | 2 +- config/services.php | 2 +- database/factories/Company/ActionFactory.php | 2 +- .../factories/Company/AgendaItemFactory.php | 2 +- .../Company/AskMeAnythingQuestionFactory.php | 4 +- .../Company/AskMeAnythingSessionFactory.php | 2 +- .../factories/Company/AuditLogFactory.php | 2 +- .../factories/Company/CandidateFactory.php | 2 +- .../Company/CandidateStageFactory.php | 2 +- .../Company/CandidateStageNoteFactory.php | 2 +- .../CandidateStageParticipantFactory.php | 2 +- .../Company/CompanyInvoiceFactory.php | 2 +- .../factories/Company/CompanyNewsFactory.php | 2 +- .../Company/ConsultantRateFactory.php | 2 +- .../factories/Company/DirectReportFactory.php | 2 +- .../Company/DisciplineCaseFactory.php | 2 +- .../Company/DisciplineEventFactory.php | 2 +- .../factories/Company/ECoffeeMatchFactory.php | 2 +- .../factories/Company/EmployeeFactory.php | 7 +- .../EmployeePositionHistoryFactory.php | 4 +- database/factories/Company/ExpenseFactory.php | 2 +- database/factories/Company/FileFactory.php | 2 +- database/factories/Company/FlowFactory.php | 2 +- database/factories/Company/GroupFactory.php | 2 +- .../factories/Company/JobOpeningFactory.php | 6 +- database/factories/Company/MeetingFactory.php | 2 +- database/factories/Company/MoraleFactory.php | 2 +- .../Company/MoraleTeamHistoryFactory.php | 2 +- .../Company/OneOnOneActionItemFactory.php | 2 +- .../factories/Company/OneOnOneNoteFactory.php | 2 +- .../factories/Company/PageRevisionFactory.php | 2 +- .../factories/Company/PageviewFactory.php | 2 +- database/factories/Company/PlaceFactory.php | 2 +- .../Company/ProjectDecisionFactory.php | 4 +- .../factories/Company/ProjectIssueFactory.php | 2 +- .../Company/ProjectMemberActivityFactory.php | 2 +- .../Company/ProjectMessageFactory.php | 2 +- .../Company/ProjectStatusFactory.php | 2 +- .../factories/Company/ProjectTaskFactory.php | 2 +- .../Company/ProjectTaskListFactory.php | 2 +- database/factories/Company/SkillFactory.php | 2 +- database/factories/Company/TaskFactory.php | 2 +- database/factories/Company/TeamFactory.php | 2 +- database/factories/Company/TeamLogFactory.php | 2 +- .../factories/Company/TeamNewsFactory.php | 2 +- .../Company/TimeTrackingEntryFactory.php | 6 +- .../factories/Company/TimesheetFactory.php | 2 +- database/factories/Company/WikiFactory.php | 2 +- database/factories/Company/WorklogFactory.php | 2 +- .../2014_10_12_000000_create_users_table.php | 4 +- ...12_100000_create_password_resets_table.php | 4 +- ..._add_two_factor_columns_to_users_table.php | 12 +- ...19_01_18_184542_create_companies_table.php | 4 +- ...19_01_18_194542_create_employees_table.php | 4 +- ...01_25_010641_create_activity_log_table.php | 4 +- .../2019_01_25_133723_create_teams_table.php | 4 +- ...19_01_26_181403_create_audit_log_table.php | 4 +- .../2019_01_29_002604_create_jobs_table.php | 4 +- ...02_26_025413_add_team_manager_to_teams.php | 4 +- .../2019_02_27_023816_add_reports_table.php | 4 +- ...03_30_185805_create_employee_log_table.php | 4 +- ...19_04_07_212958_create_positions_table.php | 4 +- ...019_04_15_004856_create_team_log_table.php | 4 +- .../2019_04_25_000440_create_flows_table.php | 4 +- ...4_27_142110_create_notifications_table.php | 4 +- .../2019_04_27_151029_create_tasks_table.php | 4 +- ...2019_07_01_151704_create_worklog_table.php | 4 +- ..._114759_create_employee_statuses_table.php | 4 +- .../2019_08_23_121231_create_cache_table.php | 4 +- .../2019_08_24_042947_create_morale_table.php | 4 +- ...08_25_112911_create_company_news_table.php | 4 +- .../2019_09_15_013403_create_places_table.php | 4 +- ..._09_22_000726_create_failed_jobs_table.php | 4 +- ..._23_013517_create_company_pto_policies.php | 4 +- ...09_26_010323_create_employee_pto_table.php | 4 +- ...8_015610_create_company_calendar_table.php | 4 +- ...019_11_17_190650_create_pronouns_table.php | 4 +- ...17_214642_add_description_to_employees.php | 4 +- ...1_19_031456_add_birthdate_to_employees.php | 4 +- ..._12_03_021634_add_description_to_teams.php | 4 +- ..._030757_create_team_useful_links_table.php | 4 +- ...19_12_07_023651_create_team_news_table.php | 4 +- ...01_create_personal_access_tokens_table.php | 4 +- ...7_create_employee_work_from_home_table.php | 4 +- ...20_04_03_234225_create_questions_table.php | 4 +- ..._04_17_020451_add_help_notice_to_users.php | 4 +- ...020_04_18_163749_create_hardware_table.php | 4 +- .../2020_06_07_020824_create_ships_table.php | 4 +- ...20_06_20_025159_create_specialty_table.php | 4 +- ...013240_create_expense_categories_table.php | 4 +- ...020_06_30_211833_create_expenses_table.php | 4 +- ..._120202_create_rate_your_manager_table.php | 4 +- ...015731_create_one_on_one_entries_table.php | 4 +- ...350_create_guess_employees_games_table.php | 4 +- ...020_10_01_183156_create_projects_table.php | 4 +- ...0_195724_create_project_decision_table.php | 4 +- ...0_195724_create_project_messages_table.php | 4 +- ...1_211117_add_phone_number_to_employees.php | 4 +- ...1_02_184020_create_project_tasks_table.php | 4 +- ...1_16_200332_create_time_tracking_table.php | 4 +- ..._024047_update_employee_statuses_table.php | 4 +- ...add_contract_renewal_date_to_employees.php | 4 +- ...0_202031_create_consultant_rates_table.php | 4 +- ...021_02_02_183758_create_e_coffee_table.php | 4 +- ...1_02_10_195852_create_import_job_table.php | 4 +- .../2021_03_03_031835_create_groups_table.php | 4 +- .../2021_03_10_160917_create_files_table.php | 4 +- ...631_update_employees_with_avatar_table.php | 4 +- ...03_16_015736_create_file_project_table.php | 4 +- .../2021_03_16_234714_add_company_logo.php | 4 +- ...4_03_182709_add_timezones_to_employees.php | 4 +- ...company_creation_date_to_company_table.php | 4 +- ...021_04_20_180102_create_sessions_table.php | 4 +- ...2_create_project_member_activity_table.php | 4 +- ...4_25_171141_add_position_history_table.php | 4 +- ...513_create_company_usage_history_table.php | 4 +- ...21_05_08_023945_create_softwares_table.php | 4 +- .../2021_05_28_192850_user_locale.php | 4 +- ..._add_code_to_join_company_to_companies.php | 4 +- ..._15_034642_add_files_to_software_table.php | 4 +- ...021_06_15_165524_add_uui_to_failed_job.php | 4 +- ...06_19_211855_add_toggle_work_from_home.php | 4 +- .../2021_06_21_105847_add_wiki_table.php | 4 +- ...2021_07_06_065356_user_token_socialite.php | 4 +- ...13_164157_fix_expense_converted_amount.php | 4 +- ...1_07_28_122010_create_recruiting_table.php | 4 +- ...07_29_010459_create_job_openings_table.php | 4 +- ...2600_add_company_location_to_companies.php | 4 +- ...2_184706_add_company_slug_to_companies.php | 6 +- ...fulfilled_at_date_to_job_opening_table.php | 4 +- ...14614_add_employee_to_candidates_table.php | 4 +- ...021_09_08_195122_create_comments_table.php | 4 +- ..._create_ask_me_anything_sessions_table.php | 4 +- .../2021_09_18_211406_create_boards_table.php | 4 +- ...09_18_212311_add_shortcode_to_projects.php | 4 +- ..._10_03_201954_create_issue_types_table.php | 6 +- ...2021_10_12_002926_create_sprints_table.php | 4 +- .../2021_10_12_011717_create_issues_table.php | 4 +- ..._13_020122_create_issue_assignee_table.php | 4 +- ...0_13_121026_create_issue_parents_table.php | 4 +- ..._10_14_014624_create_story_point_table.php | 4 +- ...224131_create_sprint_story_order_table.php | 4 +- ...29_014438_add_separator_to_issue_table.php | 4 +- .../2021_11_05_211302_add_order_to_table.php | 4 +- ...rint_position_to_project_sprints_table.php | 4 +- ...1_202132_create_discipline_cases_table.php | 4 +- ...2_03_24_152231_drop_activity_log_table.php | 5 +- database/seeds/DatabaseSeeder.php | 4 +- public/index.php | 2 +- routes/api.php | 3 +- routes/web.php | 4 +- 849 files changed, 3088 insertions(+), 7617 deletions(-) diff --git a/app/Console/Commands/CalculateTimeOffBalanceForAllEmployees.php b/app/Console/Commands/CalculateTimeOffBalanceForAllEmployees.php index 6e47d6c75..86a99e73c 100644 --- a/app/Console/Commands/CalculateTimeOffBalanceForAllEmployees.php +++ b/app/Console/Commands/CalculateTimeOffBalanceForAllEmployees.php @@ -2,9 +2,9 @@ namespace App\Console\Commands; -use Illuminate\Console\Command; -use App\Models\Company\Employee; use App\Jobs\CalculateTimeOffBalance; +use App\Models\Company\Employee; +use Illuminate\Console\Command; class CalculateTimeOffBalanceForAllEmployees extends Command { diff --git a/app/Console/Commands/Demo/ResetDemo.php b/app/Console/Commands/Demo/ResetDemo.php index 2b71031d7..f0210ca97 100644 --- a/app/Console/Commands/Demo/ResetDemo.php +++ b/app/Console/Commands/Demo/ResetDemo.php @@ -3,11 +3,11 @@ namespace App\Console\Commands\Demo; use Illuminate\Console\Command; +use Illuminate\Console\ConfirmableTrait; +use Illuminate\Support\Facades\Artisan; +use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Http; -use Illuminate\Support\Facades\Cache; -use Illuminate\Support\Facades\Artisan; -use Illuminate\Console\ConfirmableTrait; class ResetDemo extends Command { @@ -35,6 +35,7 @@ public function handle(): void { if (! config('officelife.demo_mode')) { $this->line('This command is only available in demo mode.'); + return; } diff --git a/app/Console/Commands/GenerateNewECoffeeSession.php b/app/Console/Commands/GenerateNewECoffeeSession.php index 8aa5352d8..01a250c96 100644 --- a/app/Console/Commands/GenerateNewECoffeeSession.php +++ b/app/Console/Commands/GenerateNewECoffeeSession.php @@ -2,9 +2,9 @@ namespace App\Console\Commands; +use App\Jobs\CreateNewECoffeeSession; use App\Models\Company\Company; use Illuminate\Console\Command; -use App\Jobs\CreateNewECoffeeSession; class GenerateNewECoffeeSession extends Command { diff --git a/app/Console/Commands/Helpers/Command.php b/app/Console/Commands/Helpers/Command.php index e6307775e..937cc9051 100644 --- a/app/Console/Commands/Helpers/Command.php +++ b/app/Console/Commands/Helpers/Command.php @@ -12,10 +12,8 @@ class Command { /** * Switch to a fake executor for testing purpose. - * - * @return CommandCallerContract */ - public static function fake() : CommandCallerContract + public static function fake(): CommandCallerContract { static::setBackend($fake = app(CommandCallerFake::class)); @@ -31,10 +29,8 @@ public static function fake() : CommandCallerContract /** * Get the current backend command. - * - * @return CommandCallerContract */ - private static function getBackend() : CommandCallerContract + private static function getBackend(): CommandCallerContract { if (! static::$commandCaller) { static::$commandCaller = app(CommandCaller::class); // @codeCoverageIgnore @@ -45,10 +41,8 @@ private static function getBackend() : CommandCallerContract /** * Set the current backend command. - * - * @param CommandCallerContract $executor */ - public static function setBackend(CommandCallerContract $executor) : void + public static function setBackend(CommandCallerContract $executor): void { static::$commandCaller = $executor; } @@ -58,8 +52,9 @@ public static function setBackend(CommandCallerContract $executor) : void * * @param string $method * @param array $args - * @throws \RuntimeException * @return mixed + * + * @throws \RuntimeException */ public static function __callStatic($method, $args) { diff --git a/app/Console/Commands/Helpers/CommandCaller.php b/app/Console/Commands/Helpers/CommandCaller.php index 11e7ad682..dbc4a995d 100644 --- a/app/Console/Commands/Helpers/CommandCaller.php +++ b/app/Console/Commands/Helpers/CommandCaller.php @@ -2,8 +2,8 @@ namespace App\Console\Commands\Helpers; -use Illuminate\Console\Command; use Illuminate\Console\Application; +use Illuminate\Console\Command; use Symfony\Component\Console\Output\OutputInterface; class CommandCaller implements CommandCallerContract @@ -11,9 +11,9 @@ class CommandCaller implements CommandCallerContract /** * Print a message on the console, then execute a command. * - * @param Command $command Laravel command context - * @param string $message Message to output - * @param string $commandline Command to execute + * @param Command $command Laravel command context + * @param string $message Message to output + * @param string $commandline Command to execute * * @codeCoverageIgnore */ @@ -31,10 +31,10 @@ public function exec(Command $command, string $message, string $commandline): vo /** * Print a message on the console, then execute an artisan command. * - * @param Command $command Laravel command context - * @param string $message Message to output - * @param string $commandline Artisan command name to execute - * @param array $arguments Optional arguments to pass to the artisan command + * @param Command $command Laravel command context + * @param string $message Message to output + * @param string $commandline Artisan command name to execute + * @param array $arguments Optional arguments to pass to the artisan command * * @codeCoverageIgnore */ diff --git a/app/Console/Commands/Helpers/CommandCallerContract.php b/app/Console/Commands/Helpers/CommandCallerContract.php index 75d249278..483c30620 100644 --- a/app/Console/Commands/Helpers/CommandCallerContract.php +++ b/app/Console/Commands/Helpers/CommandCallerContract.php @@ -9,19 +9,19 @@ interface CommandCallerContract /** * Print a message on the console, then execute a command. * - * @param Command $command Laravel command context - * @param string $message Message to output - * @param string $commandline Command to execute + * @param Command $command Laravel command context + * @param string $message Message to output + * @param string $commandline Command to execute */ public function exec(Command $command, string $message, string $commandline): void; /** * Print a message on the console, then execute an artisan command. * - * @param Command $command Laravel command context - * @param string $message Message to output - * @param string $commandline Artisan command name to execute - * @param array $arguments Optional arguments to pass to the artisan command + * @param Command $command Laravel command context + * @param string $message Message to output + * @param string $commandline Artisan command name to execute + * @param array $arguments Optional arguments to pass to the artisan command */ public function artisan(Command $command, string $message, string $commandline, array $arguments = []): void; } diff --git a/app/Console/Commands/Setup.php b/app/Console/Commands/Setup.php index 67a5dbe9e..9f4830aaa 100644 --- a/app/Console/Commands/Setup.php +++ b/app/Console/Commands/Setup.php @@ -3,8 +3,8 @@ namespace App\Console\Commands; use Illuminate\Console\Command; -use Illuminate\Support\Facades\Schema; use Illuminate\Console\ConfirmableTrait; +use Illuminate\Support\Facades\Schema; class Setup extends Command { @@ -42,7 +42,7 @@ public function handle(): void $this->artisan('✓ Clear config cache', 'config:clear'); $this->artisan('✓ Resetting route cache', 'route:cache'); $this->artisan('✓ Resetting view cache', 'view:clear'); - // @codeCoverageIgnoreEnd + // @codeCoverageIgnoreEnd } else { $this->artisan('✓ Clear config cache', 'config:clear'); $this->artisan('✓ Clear route cache', 'route:clear'); diff --git a/app/Console/Commands/StartRateYourManagerProcessFromCli.php b/app/Console/Commands/StartRateYourManagerProcessFromCli.php index 86770c9d9..6c793fd1e 100644 --- a/app/Console/Commands/StartRateYourManagerProcessFromCli.php +++ b/app/Console/Commands/StartRateYourManagerProcessFromCli.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use Illuminate\Console\Command; use App\Jobs\StartRateYourManagerProcess; +use Illuminate\Console\Command; class StartRateYourManagerProcessFromCli extends Command { diff --git a/app/Console/Commands/StopRateYourManagerProcessFromCli.php b/app/Console/Commands/StopRateYourManagerProcessFromCli.php index 6dbfdaf21..b6d73fcc3 100644 --- a/app/Console/Commands/StopRateYourManagerProcessFromCli.php +++ b/app/Console/Commands/StopRateYourManagerProcessFromCli.php @@ -2,8 +2,8 @@ namespace App\Console\Commands; -use Illuminate\Console\Command; use App\Jobs\StopRateYourManagerProcess; +use Illuminate\Console\Command; class StopRateYourManagerProcessFromCli extends Command { diff --git a/app/Console/Commands/Tests/SetupDummyAccount.php b/app/Console/Commands/Tests/SetupDummyAccount.php index 7bc760dab..92d8596ca 100644 --- a/app/Console/Commands/Tests/SetupDummyAccount.php +++ b/app/Console/Commands/Tests/SetupDummyAccount.php @@ -2,181 +2,236 @@ namespace App\Console\Commands\Tests; -use Carbon\Carbon; -use Carbon\CarbonImmutable; -use Faker\Factory as Faker; use App\Jobs\LogTeamsMorale; -use App\Models\Company\File; -use App\Models\Company\Team; -use App\Models\User\Pronoun; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Company; -use App\Models\Company\Project; -use Illuminate\Console\Command; -use App\Models\Company\Employee; -use App\Models\Company\Position; -use App\Models\Company\Question; -use Illuminate\Support\Facades\DB; -use App\Models\Company\ECoffeeMatch; -use App\Services\User\CreateAccount; -use App\Models\Company\ProjectStatus; +use App\Models\Company\CompanyDailyUsageHistory; use App\Models\Company\CompanyInvoice; +use App\Models\Company\CompanyUsageHistoryDetails; +use App\Models\Company\ECoffeeMatch; +use App\Models\Company\Employee; +use App\Models\Company\EmployeePositionHistory; use App\Models\Company\EmployeeStatus; use App\Models\Company\ExpenseCategory; -use App\Services\Company\Wiki\CreateWiki; -use App\Services\Company\Team\SetTeamLead; -use App\Services\Company\Group\CreateGroup; -use App\Models\Company\AskMeAnythingSession; -use App\Services\Company\Wiki\AddPageToWiki; -use Illuminate\Database\Eloquent\Collection; +use App\Models\Company\File; +use App\Models\Company\Position; +use App\Models\Company\Project; +use App\Models\Company\ProjectStatus; +use App\Models\Company\Question; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; -use App\Services\Company\Group\CreateMeeting; -use App\Services\Company\Project\StartProject; -use App\Services\Company\Team\Ship\CreateShip; -use App\Models\Company\EmployeePositionHistory; use App\Models\Company\RecruitingStageTemplate; -use App\Services\Company\Project\CreateProject; -use App\Models\Company\CompanyDailyUsageHistory; -use App\Services\Company\Group\CreateAgendaItem; -use App\Services\Company\Group\UpdateMeetingDate; -use Symfony\Component\Console\Helper\ProgressBar; -use App\Models\Company\CompanyUsageHistoryDetails; -use App\Services\Company\Adminland\Team\CreateTeam; -use App\Services\Company\Employee\Morale\LogMorale; -use App\Services\Company\Project\CreateProjectLink; -use App\Services\Company\Project\CreateProjectTask; -use App\Services\Company\Employee\Worklog\LogWorklog; -use App\Services\Company\Group\CreateMeetingDecision; -use App\Services\Company\Project\CreateProjectStatus; -use App\Services\Company\Employee\Answer\CreateAnswer; -use App\Services\Company\Project\AddEmployeeToProject; -use App\Services\Company\Project\CreateProjectMessage; -use App\Services\Company\Project\CreateProjectDecision; -use App\Services\Company\Project\CreateProjectTaskList; -use App\Services\Company\Employee\Expense\CreateExpense; -use App\Services\Company\Employee\Manager\AssignManager; +use App\Models\Company\Team; +use App\Models\User\Pronoun; +use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingQuestion; +use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingSession; +use App\Services\Company\Adminland\AskMeAnything\ToggleAskMeAnythingSession; use App\Services\Company\Adminland\Company\CreateCompany; -use App\Services\Company\Adminland\Hardware\LendHardware; -use App\Services\Company\Employee\Birthdate\SetBirthdate; -use App\Services\Company\Employee\Team\AddEmployeeToTeam; -use App\Services\Company\Project\MarkProjectMessageasRead; +use App\Services\Company\Adminland\Employee\AddEmployeeToCompany; +use App\Services\Company\Adminland\EmployeeStatus\CreateEmployeeStatus; +use App\Services\Company\Adminland\Expense\AllowEmployeeToManageExpenses; use App\Services\Company\Adminland\Hardware\CreateHardware; +use App\Services\Company\Adminland\Hardware\LendHardware; +use App\Services\Company\Adminland\JobOpening\CreateJobOpening; +use App\Services\Company\Adminland\JobOpening\CreateRecruitingStage; +use App\Services\Company\Adminland\JobOpening\CreateRecruitingStageTemplate; +use App\Services\Company\Adminland\JobOpening\ToggleJobOpening; use App\Services\Company\Adminland\Position\CreatePosition; use App\Services\Company\Adminland\Question\CreateQuestion; use App\Services\Company\Adminland\Software\CreateSoftware; -use App\Services\Company\Employee\HiringDate\SetHiringDate; -use App\Services\Company\Employee\Timesheet\RejectTimesheet; -use App\Services\Company\Employee\Timesheet\SubmitTimesheet; -use App\Services\Company\Employee\Timesheet\ApproveTimesheet; -use App\Services\Company\Project\AssignProjectTaskToEmployee; -use App\Services\Company\Team\Description\SetTeamDescription; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneNote; -use App\Services\Company\Employee\Skill\AttachEmployeeToSkill; -use App\Services\Company\Adminland\JobOpening\CreateJobOpening; -use App\Services\Company\Adminland\JobOpening\ToggleJobOpening; use App\Services\Company\Adminland\Software\GiveSeatToEmployee; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; -use App\Services\Company\Adminland\Employee\AddEmployeeToCompany; -use App\Services\Company\Employee\Timesheet\CreateOrGetTimesheet; +use App\Services\Company\Adminland\Team\CreateTeam; +use App\Services\Company\Employee\Answer\CreateAnswer; +use App\Services\Company\Employee\Birthdate\SetBirthdate; use App\Services\Company\Employee\Contract\SetContractRenewalDate; -use App\Services\Company\Employee\Pronoun\AssignPronounToEmployee; +use App\Services\Company\Employee\Description\SetPersonalDescription; use App\Services\Company\Employee\ECoffee\MatchEmployeesForECoffee; -use App\Services\Company\Adminland\JobOpening\CreateRecruitingStage; +use App\Services\Company\Employee\EmployeeStatus\AssignEmployeeStatusToEmployee; +use App\Services\Company\Employee\Expense\CreateExpense; +use App\Services\Company\Employee\HiringDate\SetHiringDate; +use App\Services\Company\Employee\Manager\AssignManager; +use App\Services\Company\Employee\Morale\LogMorale; use App\Services\Company\Employee\OneOnOne\CreateOneOnOneActionItem; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneNote; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneTalkingPoint; +use App\Services\Company\Employee\OneOnOne\MarkOneOnOneEntryAsHappened; use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneActionItem; +use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneTalkingPoint; use App\Services\Company\Employee\Position\AssignPositionToEmployee; +use App\Services\Company\Employee\Pronoun\AssignPronounToEmployee; +use App\Services\Company\Employee\Skill\AttachEmployeeToSkill; +use App\Services\Company\Employee\Team\AddEmployeeToTeam; +use App\Services\Company\Employee\Timesheet\ApproveTimesheet; +use App\Services\Company\Employee\Timesheet\CreateOrGetTimesheet; use App\Services\Company\Employee\Timesheet\CreateTimeTrackingEntry; -use App\Services\Company\Employee\Description\SetPersonalDescription; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneTalkingPoint; -use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneTalkingPoint; -use App\Services\Company\Adminland\EmployeeStatus\CreateEmployeeStatus; -use App\Services\Company\Employee\OneOnOne\MarkOneOnOneEntryAsHappened; -use App\Services\Company\Adminland\Expense\AllowEmployeeToManageExpenses; -use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingSession; -use App\Services\Company\Adminland\AskMeAnything\ToggleAskMeAnythingSession; -use App\Services\Company\Adminland\JobOpening\CreateRecruitingStageTemplate; -use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingQuestion; +use App\Services\Company\Employee\Timesheet\RejectTimesheet; +use App\Services\Company\Employee\Timesheet\SubmitTimesheet; use App\Services\Company\Employee\WorkFromHome\UpdateWorkFromHomeInformation; -use App\Services\Company\Employee\EmployeeStatus\AssignEmployeeStatusToEmployee; +use App\Services\Company\Employee\Worklog\LogWorklog; +use App\Services\Company\Group\CreateAgendaItem; +use App\Services\Company\Group\CreateGroup; +use App\Services\Company\Group\CreateMeeting; +use App\Services\Company\Group\CreateMeetingDecision; +use App\Services\Company\Group\UpdateMeetingDate; +use App\Services\Company\Project\AddEmployeeToProject; +use App\Services\Company\Project\AssignProjectTaskToEmployee; +use App\Services\Company\Project\CreateProject; +use App\Services\Company\Project\CreateProjectDecision; +use App\Services\Company\Project\CreateProjectLink; +use App\Services\Company\Project\CreateProjectMessage; +use App\Services\Company\Project\CreateProjectStatus; +use App\Services\Company\Project\CreateProjectTask; +use App\Services\Company\Project\CreateProjectTaskList; +use App\Services\Company\Project\MarkProjectMessageasRead; +use App\Services\Company\Project\StartProject; +use App\Services\Company\Team\Description\SetTeamDescription; +use App\Services\Company\Team\SetTeamLead; +use App\Services\Company\Team\Ship\CreateShip; +use App\Services\Company\Wiki\AddPageToWiki; +use App\Services\Company\Wiki\CreateWiki; +use App\Services\User\CreateAccount; +use Carbon\Carbon; +use Carbon\CarbonImmutable; +use Faker\Factory as Faker; +use Illuminate\Console\Command; +use Illuminate\Database\Eloquent\Collection; +use Illuminate\Support\Facades\DB; +use Symfony\Component\Console\Helper\ProgressBar; class SetupDummyAccount extends Command { protected ProgressBar $progress; + protected Company $company; + protected Collection $employees; + protected Collection $teams; // All the employees protected Employee $jan; + protected Employee $michael; + protected Employee $dwight; + protected Employee $phyllis; + protected Employee $jim; + protected Employee $kelly; + protected Employee $angela; + protected Employee $oscar; + protected Employee $dakota; + protected Employee $toby; + protected Employee $kevin; + protected Employee $erin; + protected Employee $pete; + protected Employee $meredith; + protected Employee $val; + protected Employee $nate; + protected Employee $glenn; + protected Employee $philip; + protected Employee $debra; // The employee statuses protected EmployeeStatus $employeeStatusPartTime; + protected EmployeeStatus $employeeStatusFullTime; + protected EmployeeStatus $employeeStatusConsultant; // Positions protected Position $positionRegionalManager; + protected Position $positionAssistantToTheRegionalManager; + protected Position $positionRegionalDirectorOfSales; + protected Position $positionSalesRep; + protected Position $positionTravelingSalesRepresentative; + protected Position $positionSeniorAccountant; + protected Position $positionHeadOfAccounting; + protected Position $positionAccountant; + protected Position $positionHRRep; + protected Position $positionReceptionist; + protected Position $positionCustomerServiceRepresentative; + protected Position $positionSupplierRelationsRep; + protected Position $positionQualityAssurance; + protected Position $positionWarehouseForeman; + protected Position $positionWarehouseStaff; // Teams protected Team $teamManagement; + protected Team $teamSales; + protected Team $teamAccounting; + protected Team $teamHumanResources; + protected Team $teamReception; + protected Team $teamProductOversight; + protected Team $teamWarehouse; // Pronouns protected Pronoun $pronounHeHim; + protected Pronoun $pronounSheHer; + protected Pronoun $pronounTheyThem; // Expense categories protected ExpenseCategory $expenseCategoryMaintenanceAndRepairs; + protected ExpenseCategory $expenseCategoryMealsAndEntertainment; + protected ExpenseCategory $expenseCategoryOfficeExpense; + protected ExpenseCategory $expenseCategoryTravel; + protected ExpenseCategory $expenseCategoryMotorVehicleExpenses; // Questions protected Question $questionWhatIsYourFavoriteAnimal; + protected Question $questionWhatIsTheBestMovieYouHaveSeenThisYear; + protected Question $questionCareToShareYourBestRestaurantInTown; + protected Question $questionWhatIsYourFavoriteBand; + protected Question $questionWhatAreTheCurrentHighlightsOfThisYearForYou; + protected Question $questionDoYouHaveAnyPersonalGoalsThatYouWouldLikeToShareWithUsThisWeek; + protected Question $questionWhatIsTheBestTVShowOfThisYearSoFar; // Projects @@ -824,7 +879,7 @@ private function createFutureEmployees(): void $this->employees = Employee::all(); } - private function addSpecificDataToEmployee(Employee $employee, ?string $description, Pronoun $pronoun, Team $team, EmployeeStatus $status, Position $position, string $birthdate = null, Employee $manager = null, Team $leaderOfTeam = null): void + private function addSpecificDataToEmployee(Employee $employee, ?string $description, Pronoun $pronoun, Team $team, EmployeeStatus $status, Position $position, ?string $birthdate = null, ?Employee $manager = null, ?Team $leaderOfTeam = null): void { (new AddEmployeeToTeam)->execute([ 'company_id' => $this->company->id, @@ -1067,11 +1122,13 @@ private function addWorkFromHomeEntries(): void while (! $twoYearsAgo->isTomorrow()) { if ($twoYearsAgo->isSaturday() || $twoYearsAgo->isSunday()) { $twoYearsAgo->addDay(); + continue; } if (rand(1, 3) != 1) { $twoYearsAgo->addDay(); + continue; } @@ -1272,11 +1329,13 @@ private function addWorklogEntriesAndMorale(): void while (! $twoYearsAgo->isSameDay(Carbon::now())) { if ($twoYearsAgo->isSaturday() || $twoYearsAgo->isSunday()) { $twoYearsAgo->addDay(); + continue; } if (rand(1, 3) != 1 && $twoYearsAgo->diffInDays(Carbon::now()) >= 7) { $twoYearsAgo->addDay(); + continue; } diff --git a/app/Console/Commands/Tests/SetupFrontEndTest.php b/app/Console/Commands/Tests/SetupFrontEndTest.php index e1a23a872..2a699684b 100644 --- a/app/Console/Commands/Tests/SetupFrontEndTest.php +++ b/app/Console/Commands/Tests/SetupFrontEndTest.php @@ -3,8 +3,8 @@ namespace App\Console\Commands\Tests; use App\Models\User\User; -use Illuminate\Console\Command; use App\Services\User\CreateAccount; +use Illuminate\Console\Command; class SetupFrontEndTest extends Command { diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 482cb1007..d51bc02db 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -2,16 +2,16 @@ namespace App\Console; -use Carbon\Carbon; -use App\Jobs\LogTeamsMorale; +use App\Jobs\Invoicing\CreateMonthlyInvoiceForCompanies; +use App\Jobs\Invoicing\LogDailyMaxNumberOfActiveEmployeesInCompanies; use App\Jobs\LogCompaniesMorale; use App\Jobs\LogMissedWorklogEntry; -use App\Jobs\StopRateYourManagerProcess; +use App\Jobs\LogTeamsMorale; use App\Jobs\StartRateYourManagerProcess; +use App\Jobs\StopRateYourManagerProcess; +use Carbon\Carbon; use Illuminate\Console\Scheduling\Schedule; -use App\Jobs\Invoicing\CreateMonthlyInvoiceForCompanies; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; -use App\Jobs\Invoicing\LogDailyMaxNumberOfActiveEmployeesInCompanies; class Kernel extends ConsoleKernel { @@ -25,8 +25,6 @@ class Kernel extends ConsoleKernel /** * Define the application's command schedule. - * - * @param \Illuminate\Console\Scheduling\Schedule $schedule */ protected function schedule(Schedule $schedule) { diff --git a/app/Events/FileDeleted.php b/app/Events/FileDeleted.php index d67b19b77..e23069661 100644 --- a/app/Events/FileDeleted.php +++ b/app/Events/FileDeleted.php @@ -3,9 +3,9 @@ namespace App\Events; use App\Models\Company\File; -use Illuminate\Queue\SerializesModels; -use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\InteractsWithSockets; +use Illuminate\Foundation\Events\Dispatchable; +use Illuminate\Queue\SerializesModels; class FileDeleted { diff --git a/app/Exceptions/CompanyPTOPolicyAlreadyExistException.php b/app/Exceptions/CompanyPTOPolicyAlreadyExistException.php index feb8d12b8..626a5cd4e 100644 --- a/app/Exceptions/CompanyPTOPolicyAlreadyExistException.php +++ b/app/Exceptions/CompanyPTOPolicyAlreadyExistException.php @@ -4,6 +4,4 @@ use Exception; -class CompanyPTOPolicyAlreadyExistException extends Exception -{ -} +class CompanyPTOPolicyAlreadyExistException extends Exception {} diff --git a/app/Exceptions/ConvertAmountException.php b/app/Exceptions/ConvertAmountException.php index bb9104d5f..970b95ac7 100644 --- a/app/Exceptions/ConvertAmountException.php +++ b/app/Exceptions/ConvertAmountException.php @@ -4,6 +4,4 @@ use ErrorException; -class ConvertAmountException extends ErrorException -{ -} +class ConvertAmountException extends ErrorException {} diff --git a/app/Exceptions/DurationExceedingMaximalDurationException.php b/app/Exceptions/DurationExceedingMaximalDurationException.php index 79e1d6db1..2f6f51577 100644 --- a/app/Exceptions/DurationExceedingMaximalDurationException.php +++ b/app/Exceptions/DurationExceedingMaximalDurationException.php @@ -4,6 +4,4 @@ use Exception; -class DurationExceedingMaximalDurationException extends Exception -{ -} +class DurationExceedingMaximalDurationException extends Exception {} diff --git a/app/Exceptions/EmailAlreadyUsedException.php b/app/Exceptions/EmailAlreadyUsedException.php index 5d3e37117..3c8a87681 100644 --- a/app/Exceptions/EmailAlreadyUsedException.php +++ b/app/Exceptions/EmailAlreadyUsedException.php @@ -4,6 +4,4 @@ use Exception; -class EmailAlreadyUsedException extends Exception -{ -} +class EmailAlreadyUsedException extends Exception {} diff --git a/app/Exceptions/EnvVariablesNotSetException.php b/app/Exceptions/EnvVariablesNotSetException.php index 5727a21e5..35695a0e4 100644 --- a/app/Exceptions/EnvVariablesNotSetException.php +++ b/app/Exceptions/EnvVariablesNotSetException.php @@ -4,6 +4,4 @@ use Exception; -class EnvVariablesNotSetException extends Exception -{ -} +class EnvVariablesNotSetException extends Exception {} diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index a632ff2fb..807289554 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -2,9 +2,9 @@ namespace App\Exceptions; -use Throwable; -use Inertia\Inertia; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; +use Inertia\Inertia; +use Throwable; class Handler extends ExceptionHandler { @@ -30,12 +30,10 @@ class Handler extends ExceptionHandler /** * Render an exception into an HTTP response. * - * @param \Illuminate\Http\Request $request - * @param \Throwable $e + * @param \Illuminate\Http\Request $request + * @return \Symfony\Component\HttpFoundation\Response * * @throws \Throwable - * - * @return \Symfony\Component\HttpFoundation\Response */ public function render($request, Throwable $e) { @@ -57,7 +55,6 @@ public function render($request, Throwable $e) /** * Report or log an exception. * - * @param \Throwable $e * * @throws \Throwable */ diff --git a/app/Exceptions/LabelAlreadyExistException.php b/app/Exceptions/LabelAlreadyExistException.php index 4a67048cf..4b2ad9a7e 100644 --- a/app/Exceptions/LabelAlreadyExistException.php +++ b/app/Exceptions/LabelAlreadyExistException.php @@ -4,6 +4,4 @@ use Exception; -class LabelAlreadyExistException extends Exception -{ -} +class LabelAlreadyExistException extends Exception {} diff --git a/app/Exceptions/MalformedCSVException.php b/app/Exceptions/MalformedCSVException.php index 9a5e47f6b..ff41bd3f4 100644 --- a/app/Exceptions/MalformedCSVException.php +++ b/app/Exceptions/MalformedCSVException.php @@ -4,6 +4,4 @@ use Exception; -class MalformedCSVException extends Exception -{ -} +class MalformedCSVException extends Exception {} diff --git a/app/Exceptions/MoraleAlreadyLoggedTodayException.php b/app/Exceptions/MoraleAlreadyLoggedTodayException.php index 42a2b341e..8e1a91949 100644 --- a/app/Exceptions/MoraleAlreadyLoggedTodayException.php +++ b/app/Exceptions/MoraleAlreadyLoggedTodayException.php @@ -4,6 +4,4 @@ use Exception; -class MoraleAlreadyLoggedTodayException extends Exception -{ -} +class MoraleAlreadyLoggedTodayException extends Exception {} diff --git a/app/Exceptions/NotConsultantException.php b/app/Exceptions/NotConsultantException.php index 28ade12e7..2b8bbabc9 100644 --- a/app/Exceptions/NotConsultantException.php +++ b/app/Exceptions/NotConsultantException.php @@ -4,6 +4,4 @@ use Exception; -class NotConsultantException extends Exception -{ -} +class NotConsultantException extends Exception {} diff --git a/app/Exceptions/NotEnoughPermissionException.php b/app/Exceptions/NotEnoughPermissionException.php index 18100dd21..2ccd54688 100644 --- a/app/Exceptions/NotEnoughPermissionException.php +++ b/app/Exceptions/NotEnoughPermissionException.php @@ -4,6 +4,4 @@ use Exception; -class NotEnoughPermissionException extends Exception -{ -} +class NotEnoughPermissionException extends Exception {} diff --git a/app/Exceptions/NotEnoughSoftwareSeat.php b/app/Exceptions/NotEnoughSoftwareSeat.php index 80aaa1f1d..df47d5cc3 100644 --- a/app/Exceptions/NotEnoughSoftwareSeat.php +++ b/app/Exceptions/NotEnoughSoftwareSeat.php @@ -4,6 +4,4 @@ use Exception; -class NotEnoughSoftwareSeat extends Exception -{ -} +class NotEnoughSoftwareSeat extends Exception {} diff --git a/app/Exceptions/NotSameCompanyException.php b/app/Exceptions/NotSameCompanyException.php index fd9df0ec3..b4d806c7f 100644 --- a/app/Exceptions/NotSameCompanyException.php +++ b/app/Exceptions/NotSameCompanyException.php @@ -4,6 +4,4 @@ use Exception; -class NotSameCompanyException extends Exception -{ -} +class NotSameCompanyException extends Exception {} diff --git a/app/Exceptions/NotTheManagerException.php b/app/Exceptions/NotTheManagerException.php index 01cc7844d..3f22310e3 100644 --- a/app/Exceptions/NotTheManagerException.php +++ b/app/Exceptions/NotTheManagerException.php @@ -4,6 +4,4 @@ use Exception; -class NotTheManagerException extends Exception -{ -} +class NotTheManagerException extends Exception {} diff --git a/app/Exceptions/ProjectCodeAlreadyExistException.php b/app/Exceptions/ProjectCodeAlreadyExistException.php index 66ad5d5bd..8e24381dd 100644 --- a/app/Exceptions/ProjectCodeAlreadyExistException.php +++ b/app/Exceptions/ProjectCodeAlreadyExistException.php @@ -4,6 +4,4 @@ use Exception; -class ProjectCodeAlreadyExistException extends Exception -{ -} +class ProjectCodeAlreadyExistException extends Exception {} diff --git a/app/Exceptions/SameIdsException.php b/app/Exceptions/SameIdsException.php index 869366b6b..994dd6dd5 100644 --- a/app/Exceptions/SameIdsException.php +++ b/app/Exceptions/SameIdsException.php @@ -4,6 +4,4 @@ use Exception; -class SameIdsException extends Exception -{ -} +class SameIdsException extends Exception {} diff --git a/app/Exceptions/SkillNameNotUniqueException.php b/app/Exceptions/SkillNameNotUniqueException.php index 9bf3d9385..f4a58eeda 100644 --- a/app/Exceptions/SkillNameNotUniqueException.php +++ b/app/Exceptions/SkillNameNotUniqueException.php @@ -4,6 +4,4 @@ use Exception; -class SkillNameNotUniqueException extends Exception -{ -} +class SkillNameNotUniqueException extends Exception {} diff --git a/app/Exceptions/StartDateAfterEndDateException.php b/app/Exceptions/StartDateAfterEndDateException.php index 327e0a84f..d9bffcf87 100644 --- a/app/Exceptions/StartDateAfterEndDateException.php +++ b/app/Exceptions/StartDateAfterEndDateException.php @@ -4,6 +4,4 @@ use Exception; -class StartDateAfterEndDateException extends Exception -{ -} +class StartDateAfterEndDateException extends Exception {} diff --git a/app/Exceptions/SurveyNotActiveAnymoreException.php b/app/Exceptions/SurveyNotActiveAnymoreException.php index 59218c8cc..008d8b749 100644 --- a/app/Exceptions/SurveyNotActiveAnymoreException.php +++ b/app/Exceptions/SurveyNotActiveAnymoreException.php @@ -4,6 +4,4 @@ use Exception; -class SurveyNotActiveAnymoreException extends Exception -{ -} +class SurveyNotActiveAnymoreException extends Exception {} diff --git a/app/Exceptions/TeamNameNotUniqueException.php b/app/Exceptions/TeamNameNotUniqueException.php index 86bf25de4..ae826cd6c 100644 --- a/app/Exceptions/TeamNameNotUniqueException.php +++ b/app/Exceptions/TeamNameNotUniqueException.php @@ -4,6 +4,4 @@ use Exception; -class TeamNameNotUniqueException extends Exception -{ -} +class TeamNameNotUniqueException extends Exception {} diff --git a/app/Exceptions/UserAlreadyInvitedException.php b/app/Exceptions/UserAlreadyInvitedException.php index 180f0d5d2..f2138b743 100644 --- a/app/Exceptions/UserAlreadyInvitedException.php +++ b/app/Exceptions/UserAlreadyInvitedException.php @@ -4,6 +4,4 @@ use Exception; -class UserAlreadyInvitedException extends Exception -{ -} +class UserAlreadyInvitedException extends Exception {} diff --git a/app/Exceptions/WorklogAlreadyLoggedTodayException.php b/app/Exceptions/WorklogAlreadyLoggedTodayException.php index 792553719..cc2622020 100644 --- a/app/Exceptions/WorklogAlreadyLoggedTodayException.php +++ b/app/Exceptions/WorklogAlreadyLoggedTodayException.php @@ -4,6 +4,4 @@ use Exception; -class WorklogAlreadyLoggedTodayException extends Exception -{ -} +class WorklogAlreadyLoggedTodayException extends Exception {} diff --git a/app/Helpers/AccountHelper.php b/app/Helpers/AccountHelper.php index 093bd1ea8..92d9e1d2f 100644 --- a/app/Helpers/AccountHelper.php +++ b/app/Helpers/AccountHelper.php @@ -4,7 +4,7 @@ /** * Gets the URL prefixed by the account number. * - * @param string $route + * @param string $route * @return string */ function tenant($route) diff --git a/app/Helpers/BirthdayHelper.php b/app/Helpers/BirthdayHelper.php index 9a21572f5..e21b66ede 100644 --- a/app/Helpers/BirthdayHelper.php +++ b/app/Helpers/BirthdayHelper.php @@ -9,11 +9,11 @@ class BirthdayHelper /** * Calculate the age of the person's birthdate, relatively to the timezone. * - * @param Carbon $birthdate Birthdate of the person - * @param string $timezone Timezone of the connected user - * @return int Age of the person + * @param Carbon $birthdate Birthdate of the person + * @param string $timezone Timezone of the connected user + * @return int Age of the person */ - public static function age(Carbon $birthdate, string $timezone = null): int + public static function age(Carbon $birthdate, ?string $timezone = null): int { $now = Carbon::now($timezone); $now = Carbon::create($now->year, $now->month, $now->day); @@ -23,10 +23,6 @@ public static function age(Carbon $birthdate, string $timezone = null): int /** * Indicates whether the given date is a birthday in the next X days. - * @param Carbon $startDate - * @param Carbon $birthdate - * @param int $numberOfDays - * @return bool */ public static function isBirthdayInXDays(Carbon $startDate, Carbon $birthdate, int $numberOfDays): bool { @@ -42,11 +38,6 @@ public static function isBirthdayInXDays(Carbon $startDate, Carbon $birthdate, i /** * Check if the birthdate will happen in the given range. - * - * @param Carbon $birthdate - * @param Carbon $minDate - * @param Carbon $maxDate - * @return bool */ public static function isBirthdayInRange(Carbon $birthdate, Carbon $minDate, Carbon $maxDate): bool { diff --git a/app/Helpers/DateHelper.php b/app/Helpers/DateHelper.php index cdf1439eb..cd90660c3 100644 --- a/app/Helpers/DateHelper.php +++ b/app/Helpers/DateHelper.php @@ -2,20 +2,16 @@ namespace App\Helpers; -use Carbon\Carbon; use App\Models\Company\CompanyPTOPolicy; +use Carbon\Carbon; class DateHelper { /** * Return a date according to the timezone of the user, in a * short format like "Oct 29, 1981". - * - * @param Carbon $date - * @param string $timezone - * @return string */ - public static function formatDate(Carbon $date, string $timezone = null): string + public static function formatDate(Carbon $date, ?string $timezone = null): string { if ($timezone) { $date->setTimezone($timezone); @@ -27,12 +23,8 @@ public static function formatDate(Carbon $date, string $timezone = null): string /** * Return a date and the time according to the timezone of the user, in a * short format like "Oct 29, 1981 19:32". - * - * @param Carbon $date - * @param string $timezone - * @return string */ - public static function formatShortDateWithTime(Carbon $date, string $timezone = null): string + public static function formatShortDateWithTime(Carbon $date, ?string $timezone = null): string { if ($timezone) { $date->setTimezone($timezone); @@ -43,9 +35,6 @@ public static function formatShortDateWithTime(Carbon $date, string $timezone = /** * Return the day and the month in a format like "July 29th". - * - * @param Carbon $date - * @return string */ public static function formatMonthAndDay(Carbon $date): string { @@ -54,9 +43,6 @@ public static function formatMonthAndDay(Carbon $date): string /** * Return the short month and the year in a format like "Jul 2020". - * - * @param Carbon $date - * @return string */ public static function formatMonthAndYear(Carbon $date): string { @@ -65,9 +51,6 @@ public static function formatMonthAndYear(Carbon $date): string /** * Return the day and the month in a format like "Jul 29". - * - * @param Carbon $date - * @return string */ public static function formatShortMonthAndDay(Carbon $date): string { @@ -76,12 +59,8 @@ public static function formatShortMonthAndDay(Carbon $date): string /** * Return the day and the month in a format like "Monday (July 29th)". - * - * @param Carbon $date - * @param string $timezone - * @return string */ - public static function formatDayAndMonthInParenthesis(Carbon $date, string $timezone = null): string + public static function formatDayAndMonthInParenthesis(Carbon $date, ?string $timezone = null): string { if ($timezone) { $date->setTimezone($timezone); @@ -92,9 +71,6 @@ public static function formatDayAndMonthInParenthesis(Carbon $date, string $time /** * Return the complete date like "Monday, July 29th 2020". - * - * @param Carbon $date - * @return string */ public static function formatFullDate(Carbon $date): string { @@ -103,9 +79,6 @@ public static function formatFullDate(Carbon $date): string /** * Translate the given month to a string using the locale of the app. - * - * @param Carbon $date - * @return string */ public static function translateMonth(Carbon $date): string { @@ -114,9 +87,6 @@ public static function translateMonth(Carbon $date): string /** * Return the day as a string like "Wednesday". - * - * @param Carbon $date - * @return string */ public static function day(Carbon $date): string { @@ -125,9 +95,6 @@ public static function day(Carbon $date): string /** * Return the day as a string like "Jul. 29th". - * - * @param Carbon $date - * @return string */ public static function dayWithShortMonth(Carbon $date): string { @@ -136,9 +103,6 @@ public static function dayWithShortMonth(Carbon $date): string /** * Calculate the next occurence in the future for this date. - * - * @param Carbon $date - * @return Carbon */ public static function getNextOccurence(Carbon $date): Carbon { @@ -157,9 +121,6 @@ public static function getNextOccurence(Carbon $date): Carbon /** * Get the number of days in a given year. - * - * @param Carbon $date - * @return int */ public static function getNumberOfDaysInYear(Carbon $date): int { @@ -168,9 +129,6 @@ public static function getNumberOfDaysInYear(Carbon $date): int /** * Determine if the date is in the future, in the present or in the past. - * - * @param Carbon $date - * @return string */ public static function determineDateStatus(Carbon $date): string { @@ -191,19 +149,25 @@ public static function determineDateStatus(Carbon $date): string /** * Return a string indicating the number of days or hours left, like * `3 hours left` or `1 day left`, depending on the given date. - * - * @param Carbon $date - * @return string */ public static function hoursOrDaysLeft(Carbon $date): string { $now = Carbon::now(); $hoursLeft = $now->diffInHours($date); + if ($hoursLeft < 0) { + $hoursLeft = $hoursLeft * -1; + } + if ($hoursLeft < 24) { - $timeLeft = trans_choice('app.hours_left', $hoursLeft); + $timeLeft = trans_choice('app.hours_left', floor($hoursLeft)); } else { - $timeLeft = trans_choice('app.days_left', $now->diffInDays($date)); + $days = $now->diffInDays($date); + if ($days < 0) { + $days = $days * -1; + } + + $timeLeft = trans_choice('app.days_left', floor($days)); } return $timeLeft; @@ -214,10 +178,6 @@ public static function hoursOrDaysLeft(Carbon $date): string * This array contains a row for each month. The first entry in this array * is the current month. * This is used to populate the PTO policies in the Adminland page. - * - * @param CompanyPTOPolicy $ptoPolicy - * @param string $locale - * @return array */ public static function prepareCalendar(CompanyPTOPolicy $ptoPolicy, string $locale = 'en'): array { diff --git a/app/Helpers/FileHelper.php b/app/Helpers/FileHelper.php index 3df2012ad..ff48807b0 100644 --- a/app/Helpers/FileHelper.php +++ b/app/Helpers/FileHelper.php @@ -6,9 +6,6 @@ class FileHelper { /** * Formats the file size to a human readable size. - * - * @param int $bytes - * @return string|null */ public static function getSize(int $bytes): ?string { diff --git a/app/Helpers/HolidayHelper.php b/app/Helpers/HolidayHelper.php index 518cfb176..abdadef50 100644 --- a/app/Helpers/HolidayHelper.php +++ b/app/Helpers/HolidayHelper.php @@ -2,20 +2,16 @@ namespace App\Helpers; -use Carbon\Carbon; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\DB; use App\Models\Company\CompanyCalendar; use App\Models\Company\CompanyPTOPolicy; +use App\Models\Company\Employee; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class HolidayHelper { /** * Return the number of holidays an employee earns each month. - * - * @param Employee $employee - * - * @return float */ public static function getHolidaysEarnedEachMonth(Employee $employee): float { @@ -25,11 +21,6 @@ public static function getHolidaysEarnedEachMonth(Employee $employee): float /** * Return the number of days that an employee will earn as holidays from * today til the end of the year. - * - * @param CompanyPTOPolicy $ptoPolicy - * @param Employee $employee - * - * @return float */ public static function getNumberOfDaysLeftToEarn(CompanyPTOPolicy $ptoPolicy, Employee $employee): float { @@ -49,11 +40,6 @@ public static function getNumberOfDaysLeftToEarn(CompanyPTOPolicy $ptoPolicy, Em /** * Return the number of holidays an employee earns each day. - * - * @param CompanyPTOPolicy $ptoPolicy - * @param Employee $employee - * - * @return float */ public static function getHolidaysEarnedEachDay(CompanyPTOPolicy $ptoPolicy, Employee $employee): float { @@ -64,11 +50,6 @@ public static function getHolidaysEarnedEachDay(CompanyPTOPolicy $ptoPolicy, Emp /** * Check if the date is considered off in the company. - * - * @param CompanyPTOPolicy $ptoPolicy - * @param Carbon $date - * - * @return bool */ public static function isDayWorkedForCompany(CompanyPTOPolicy $ptoPolicy, Carbon $date): ?bool { diff --git a/app/Helpers/ImageHelper.php b/app/Helpers/ImageHelper.php index 08fd77ee7..841114f9d 100644 --- a/app/Helpers/ImageHelper.php +++ b/app/Helpers/ImageHelper.php @@ -2,17 +2,13 @@ namespace App\Helpers; -use App\Models\Company\File; use App\Models\Company\Employee; +use App\Models\Company\File; class ImageHelper { /** * Get the avatar of the user, at the requested size if it exists. - * - * @param Employee $employee - * @param int $width - * @return array|null */ public static function getAvatar(Employee $employee, int $width = 64): ?array { @@ -39,13 +35,8 @@ public static function getAvatar(Employee $employee, int $width = 64): ?array /** * Get the URL of an image. - * - * @param File $file - * @param int $width - * @param int $height - * @return string|null */ - public static function getImage(File $file, int $width = null, int $height = null): ?string + public static function getImage(File $file, ?int $width = null, ?int $height = null): ?string { return $file->cdn_url.'-/preview/'.$width.'x'.$height.'/'; } diff --git a/app/Helpers/InstanceHelper.php b/app/Helpers/InstanceHelper.php index 4606de33b..45e5d2dc9 100644 --- a/app/Helpers/InstanceHelper.php +++ b/app/Helpers/InstanceHelper.php @@ -26,7 +26,7 @@ public static function getLoggedCompany() public static function getLoggedEmployee() { if (Auth::check()) { - return Cache::get('cachedEmployeeObject_' . Auth::user()->id); + return Cache::get('cachedEmployeeObject_'.Auth::user()->id); } } } diff --git a/app/Helpers/LocaleHelper.php b/app/Helpers/LocaleHelper.php index a3569fc9a..2aab63087 100644 --- a/app/Helpers/LocaleHelper.php +++ b/app/Helpers/LocaleHelper.php @@ -4,7 +4,6 @@ use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Auth; -use Vluzrmos\LanguageDetector\Facades\LanguageDetector; class LocaleHelper { @@ -19,7 +18,7 @@ public static function getLocale() { $locale = Auth::check() ? Auth::user()->locale : null; if (! $locale) { - $locale = LanguageDetector::detect() ?: config('app.locale'); + $locale = config('app.locale'); } return $locale; @@ -28,8 +27,8 @@ public static function getLocale() /** * Get the current lang from locale. * - * @param mixed|null $locale - * @return string lang, lowercase form + * @param mixed|null $locale + * @return string lang, lowercase form */ public static function getLang($locale = null) { @@ -50,7 +49,7 @@ public static function getLang($locale = null) */ public static function getLocaleList() { - return collect(config('lang-detector.languages'))->map(function ($lang) { + return collect(['en', 'fr'])->map(function ($lang) { return [ 'lang' => $lang, 'name' => self::getLocaleName($lang), @@ -62,10 +61,8 @@ public static function getLocaleList() /** * Get the name of one language. * - * @param string $lang - * @param string $locale - * - * @return string + * @param string $lang + * @param string $locale */ private static function getLocaleName($lang, $locale = null): string { @@ -101,7 +98,7 @@ public static function getDirection() case 'ps': case 'ur': case 'yi': - // @codeCoverageIgnoreEnd + // @codeCoverageIgnoreEnd return 'rtl'; default: return 'ltr'; diff --git a/app/Helpers/LogHelper.php b/app/Helpers/LogHelper.php index 3f268ed9e..2354a8847 100644 --- a/app/Helpers/LogHelper.php +++ b/app/Helpers/LogHelper.php @@ -2,9 +2,9 @@ namespace App\Helpers; -use App\Models\Company\TeamLog; use App\Models\Company\AuditLog; use App\Models\Company\EmployeeLog; +use App\Models\Company\TeamLog; class LogHelper { @@ -12,10 +12,6 @@ class LogHelper * Return an sentence explaining what the log contains. * A log is stored in a json file and needs some kind of processing to make * it understandable by a human. - * - * @param AuditLog $log - * - * @return string */ public static function processAuditLog(AuditLog $log): string { @@ -824,10 +820,10 @@ public static function processAuditLog(AuditLog $log): string case 'project_link_destroyed': $sentence = trans('account.log_project_link_destroyed', [ - 'project_id' => $log->object->{'project_id'}, - 'project_name' => $log->object->{'project_name'}, - 'project_link_name' => $log->object->{'project_link_name'}, - ]); + 'project_id' => $log->object->{'project_id'}, + 'project_name' => $log->object->{'project_name'}, + 'project_link_name' => $log->object->{'project_link_name'}, + ]); break; case 'project_status_created': @@ -1000,10 +996,10 @@ public static function processAuditLog(AuditLog $log): string case 'employee_contract_renewed_at_set': $sentence = trans('account.log_employee_contract_renewed_at_set', [ - 'employee_id' => $log->object->{'employee_id'}, - 'employee_name' => $log->object->{'employee_name'}, - 'contract_renewed_at' => $log->object->{'contract_renewed_at'}, - ]); + 'employee_id' => $log->object->{'employee_id'}, + 'employee_name' => $log->object->{'employee_name'}, + 'contract_renewed_at' => $log->object->{'contract_renewed_at'}, + ]); break; case 'timesheet_submitted': @@ -1017,20 +1013,20 @@ public static function processAuditLog(AuditLog $log): string case 'timesheet_approved': $sentence = trans('account.log_timesheet_approved', [ - 'timesheet_id' => $log->object->{'timesheet_id'}, - 'employee_id' => $log->object->{'employee_id'}, - 'started_at' => $log->object->{'started_at'}, - 'ended_at' => $log->object->{'ended_at'}, - ]); + 'timesheet_id' => $log->object->{'timesheet_id'}, + 'employee_id' => $log->object->{'employee_id'}, + 'started_at' => $log->object->{'started_at'}, + 'ended_at' => $log->object->{'ended_at'}, + ]); break; case 'timesheet_rejected': $sentence = trans('account.log_timesheet_rejected', [ - 'timesheet_id' => $log->object->{'timesheet_id'}, - 'employee_id' => $log->object->{'employee_id'}, - 'started_at' => $log->object->{'started_at'}, - 'ended_at' => $log->object->{'ended_at'}, - ]); + 'timesheet_id' => $log->object->{'timesheet_id'}, + 'employee_id' => $log->object->{'employee_id'}, + 'started_at' => $log->object->{'started_at'}, + 'ended_at' => $log->object->{'ended_at'}, + ]); break; case 'employee_avatar_set': @@ -1344,11 +1340,11 @@ public static function processAuditLog(AuditLog $log): string case 'page_updated': $sentence = trans('account.log_page_updated', [ - 'wiki_id' => $log->object->{'wiki_id'}, - 'wiki_title' => $log->object->{'wiki_title'}, - 'page_id' => $log->object->{'page_id'}, - 'page_title' => $log->object->{'page_title'}, - ]); + 'wiki_id' => $log->object->{'wiki_id'}, + 'wiki_title' => $log->object->{'wiki_title'}, + 'page_id' => $log->object->{'page_id'}, + 'page_title' => $log->object->{'page_title'}, + ]); break; case 'page_destroyed': @@ -1833,10 +1829,6 @@ public static function processAuditLog(AuditLog $log): string /** * Transform an action into an understandable sentence. - * - * @param EmployeeLog $log - * - * @return string */ public static function processEmployeeLog(EmployeeLog $log): string { @@ -2273,32 +2265,32 @@ public static function processEmployeeLog(EmployeeLog $log): string case 'contract_renewed_at_set': $sentence = trans('account.employee_log_contract_renewed_at_set', [ - 'contract_renewed_at' => $log->object->{'contract_renewed_at'}, - ]); + 'contract_renewed_at' => $log->object->{'contract_renewed_at'}, + ]); break; case 'timesheet_submitted': $sentence = trans('account.employee_log_timesheet_submitted', [ - 'timesheet_id' => $log->object->{'timesheet_id'}, - 'started_at' => $log->object->{'started_at'}, - 'ended_at' => $log->object->{'ended_at'}, - ]); + 'timesheet_id' => $log->object->{'timesheet_id'}, + 'started_at' => $log->object->{'started_at'}, + 'ended_at' => $log->object->{'ended_at'}, + ]); break; case 'timesheet_approved': $sentence = trans('account.employee_log_timesheet_approved', [ - 'timesheet_id' => $log->object->{'timesheet_id'}, - 'started_at' => $log->object->{'started_at'}, - 'ended_at' => $log->object->{'ended_at'}, - ]); + 'timesheet_id' => $log->object->{'timesheet_id'}, + 'started_at' => $log->object->{'started_at'}, + 'ended_at' => $log->object->{'ended_at'}, + ]); break; case 'timesheet_rejected': $sentence = trans('account.employee_log_timesheet_rejected', [ - 'timesheet_id' => $log->object->{'timesheet_id'}, - 'started_at' => $log->object->{'started_at'}, - 'ended_at' => $log->object->{'ended_at'}, - ]); + 'timesheet_id' => $log->object->{'timesheet_id'}, + 'started_at' => $log->object->{'started_at'}, + 'ended_at' => $log->object->{'ended_at'}, + ]); break; case 'employee_avatar_set': @@ -2417,10 +2409,6 @@ public static function processEmployeeLog(EmployeeLog $log): string /** * Transform an action into an understandable sentence. - * - * @param TeamLog $log - * - * @return string */ public static function processTeamLog(TeamLog $log): string { diff --git a/app/Helpers/MapHelper.php b/app/Helpers/MapHelper.php index 90e0d15e3..71ad2b002 100644 --- a/app/Helpers/MapHelper.php +++ b/app/Helpers/MapHelper.php @@ -8,13 +8,6 @@ class MapHelper { /** * Return the URL for a static image for the given place. - * - * @param Place $place - * @param int $width - * @param int $height - * @param int $zoom - * - * @return string|null */ public static function getStaticImage(Place $place, int $width, int $height, int $zoom = 7): ?string { diff --git a/app/Helpers/MoneyHelper.php b/app/Helpers/MoneyHelper.php index dafa86135..eb2d0e8ce 100644 --- a/app/Helpers/MoneyHelper.php +++ b/app/Helpers/MoneyHelper.php @@ -2,22 +2,17 @@ namespace App\Helpers; -use Money\Money; -use Money\Currency; use Illuminate\Support\Facades\App; use Money\Currencies\ISOCurrencies; -use Money\Parser\DecimalMoneyParser; +use Money\Currency; use Money\Formatter\IntlMoneyFormatter; +use Money\Money; +use Money\Parser\DecimalMoneyParser; class MoneyHelper { /** * Formats the money to get the correct display depending on the currency. - * - * @param integer $amount - * @param string $currency - * @param string|null $locale - * @return string|null */ public static function format(int $amount, string $currency, ?string $locale = null): ?string { @@ -34,9 +29,8 @@ public static function format(int $amount, string $currency, ?string $locale = n * Parse a monetary exchange value as storable integer. * Currency is used to know the precision of this currency. * - * @param string $exchange Amount value in exchange format (ex: 1.00). - * @param string $currency - * @return int amount as storable format (ex: 14500) + * @param string $exchange Amount value in exchange format (ex: 1.00). + * @return int amount as storable format (ex: 14500) */ public static function parseInput(string $exchange, string $currency): int { diff --git a/app/Helpers/NotificationHelper.php b/app/Helpers/NotificationHelper.php index e2189a27d..a207e1630 100644 --- a/app/Helpers/NotificationHelper.php +++ b/app/Helpers/NotificationHelper.php @@ -3,17 +3,13 @@ namespace App\Helpers; use App\Models\Company\Employee; -use Illuminate\Support\Collection; use App\Models\Company\Notification; +use Illuminate\Support\Collection; class NotificationHelper { /** * Returns the notifications for this employee. - * - * @param Employee $employee - * - * @return Collection */ public static function getNotifications(Employee $employee): Collection { @@ -37,10 +33,6 @@ public static function getNotifications(Employee $employee): Collection /** * Return an sentence explaining what the notification contains. - * - * @param Notification $notification - * - * @return string */ public static function process(Notification $notification): string { @@ -110,7 +102,7 @@ public static function process(Notification $notification): string $sentence = trans('account.notification_expense_rejected_by_manager', [ 'title' => $notification->object->{'title'}, ]); - break; + break; case 'expense_accepted_by_accounting': $sentence = trans('account.notification_expense_accepted_by_accounting', [ diff --git a/app/Helpers/PaginatorHelper.php b/app/Helpers/PaginatorHelper.php index 5ef60927e..1a2adc183 100644 --- a/app/Helpers/PaginatorHelper.php +++ b/app/Helpers/PaginatorHelper.php @@ -7,9 +7,7 @@ class PaginatorHelper /** * Provide an array of all the data needed to display a pagination. * - * @param mixed $eloquentCollection - * - * @return array + * @param mixed $eloquentCollection */ public static function getData($eloquentCollection): array { diff --git a/app/Helpers/PermissionHelper.php b/app/Helpers/PermissionHelper.php index dc1150566..ccd38a846 100644 --- a/app/Helpers/PermissionHelper.php +++ b/app/Helpers/PermissionHelper.php @@ -10,10 +10,6 @@ class PermissionHelper /** * Get all the permissions about what the logged employee can do * against another employee. - * - * @param Employee $loggedEmployee - * @param Employee $employee - * @return array */ public static function permissions(Employee $loggedEmployee, Employee $employee): array { diff --git a/app/Helpers/QuestionHelper.php b/app/Helpers/QuestionHelper.php index 151111c7f..27be66805 100644 --- a/app/Helpers/QuestionHelper.php +++ b/app/Helpers/QuestionHelper.php @@ -11,10 +11,6 @@ class QuestionHelper { /** * Get the answer made by the employee for the given question. - * - * @param Question $question - * @param Employee $employee - * @return Answer|null */ public static function getAnswer(Question $question, Employee $employee): ?Answer { diff --git a/app/Helpers/RandomHelper.php b/app/Helpers/RandomHelper.php index 4d8c84776..a81f666f2 100644 --- a/app/Helpers/RandomHelper.php +++ b/app/Helpers/RandomHelper.php @@ -6,8 +6,6 @@ class RandomHelper { /** * Generate a random number, large enough. - * - * @return int */ public static function getNumber(): int { diff --git a/app/Helpers/SQLHelper.php b/app/Helpers/SQLHelper.php index e3a760aaa..b0d42085e 100644 --- a/app/Helpers/SQLHelper.php +++ b/app/Helpers/SQLHelper.php @@ -8,10 +8,6 @@ class SQLHelper { /** * Performs a concatenation in SQL. - * - * @param string $firstParam - * @param string $secondParam - * @return string */ public static function concat(string $firstParam, string $secondParam): string { @@ -37,9 +33,6 @@ public static function concat(string $firstParam, string $secondParam): string /** * Extract the year. - * - * @param string $dateColumnName - * @return string */ public static function year(string $dateColumnName): string { @@ -65,9 +58,6 @@ public static function year(string $dateColumnName): string /** * Extract the month. - * - * @param string $dateColumnName - * @return string */ public static function month(string $dateColumnName): string { diff --git a/app/Helpers/SearchHelper.php b/app/Helpers/SearchHelper.php index 82a4c5356..f26a03b9a 100644 --- a/app/Helpers/SearchHelper.php +++ b/app/Helpers/SearchHelper.php @@ -8,11 +8,6 @@ class SearchHelper { /** * Build a query based on the array that contains column names. - * - * @param array $array - * @param string $searchTerm - * - * @return string */ public static function buildQuery(array $array, string $searchTerm): string { diff --git a/app/Helpers/StringHelper.php b/app/Helpers/StringHelper.php index f17c319d5..1bfca35af 100644 --- a/app/Helpers/StringHelper.php +++ b/app/Helpers/StringHelper.php @@ -9,10 +9,6 @@ class StringHelper /** * Return the Markdown text as a parsed string. * Also apply a safe mode to get rid of dangerous html. - * - * @param string $content - * - * @return string */ public static function parse(string $content): string { diff --git a/app/Helpers/TimeHelper.php b/app/Helpers/TimeHelper.php index cc63d8da3..86daad633 100644 --- a/app/Helpers/TimeHelper.php +++ b/app/Helpers/TimeHelper.php @@ -6,11 +6,8 @@ class TimeHelper { /** * Convert a number of minutes to their equivalent in hours + minutes. - * - * @param int $minutes - * @return array */ - public static function convertToHoursAndMinutes(int $minutes = null): array + public static function convertToHoursAndMinutes(?int $minutes = null): array { if (! $minutes || $minutes == 0) { return [ @@ -34,9 +31,6 @@ public static function convertToHoursAndMinutes(int $minutes = null): array /** * Gets a sentence representing the time, like '2h12'. - * - * @param int $duration - * @return string */ public static function durationInHumanFormat(int $duration): string { diff --git a/app/Helpers/TimezoneHelper.php b/app/Helpers/TimezoneHelper.php index b0246e018..e6ffe6b18 100644 --- a/app/Helpers/TimezoneHelper.php +++ b/app/Helpers/TimezoneHelper.php @@ -2,15 +2,13 @@ namespace App\Helpers; -use DateTimeZone; use Carbon\Carbon; +use DateTimeZone; class TimezoneHelper { /** * Get the list of timezones. - * - * @return array */ public static function getListOfTimezones(): array { @@ -39,9 +37,6 @@ public static function getListOfTimezones(): array /** * Format a timezone to be displayed (english locale only). - * - * @param string $timezone - * @return array */ private static function formatTimezone(string $timezone): array { @@ -87,9 +82,6 @@ private static function getOffset(string $timezoneName): string /** * Get the value/label combo of the timezone in an array based on its codename. - * - * @param string $timezoneName - * @return array */ public static function getTimezoneKeyValue(string $timezoneName): array { diff --git a/app/Helpers/WorkFromHomeHelper.php b/app/Helpers/WorkFromHomeHelper.php index 1bf426d12..5f812cbf4 100644 --- a/app/Helpers/WorkFromHomeHelper.php +++ b/app/Helpers/WorkFromHomeHelper.php @@ -2,19 +2,14 @@ namespace App\Helpers; -use Carbon\Carbon; use App\Models\Company\Employee; +use Carbon\Carbon; class WorkFromHomeHelper { /** * Indicates if the given employee has indicated he worked from home on the * given date. - * - * @param Employee $employee - * @param Carbon $date - * - * @return bool */ public static function hasWorkedFromHomeOnDate(Employee $employee, Carbon $date): bool { diff --git a/app/Helpers/WorklogHelper.php b/app/Helpers/WorklogHelper.php index f074b9f08..bd17ecac8 100644 --- a/app/Helpers/WorklogHelper.php +++ b/app/Helpers/WorklogHelper.php @@ -2,24 +2,18 @@ namespace App\Helpers; -use Carbon\Carbon; +use App\Models\Company\Employee; use App\Models\Company\Morale; use App\Models\Company\Worklog; -use App\Models\Company\Employee; +use Carbon\Carbon; class WorklogHelper { /** * Prepares an array containing all the information regarding the worklogs * logged on the given day, along with the morale (if logged). - * - * @param Carbon $date - * @param Worklog|null $worklog - * @param Morale|null $morale - * @param Employee $loggedEmployee - * @return array */ - public static function getDailyInformationForEmployee(Carbon $date, Worklog $worklog = null, Morale $morale = null, Employee $loggedEmployee): array + public static function getDailyInformationForEmployee(Carbon $date, ?Worklog $worklog, ?Morale $morale, Employee $loggedEmployee): array { return [ 'date' => DateHelper::formatShortDateWithTime($date, $loggedEmployee->timezone), diff --git a/app/Http/Collections/CompanyNewsCollection.php b/app/Http/Collections/CompanyNewsCollection.php index bb2a4070a..44e58cb3e 100644 --- a/app/Http/Collections/CompanyNewsCollection.php +++ b/app/Http/Collections/CompanyNewsCollection.php @@ -9,9 +9,7 @@ class CompanyNewsCollection /** * Prepare a collection of company news. * - * @param mixed $companyNews - * - * @return Collection + * @param mixed $companyNews */ public static function prepare($companyNews): Collection { diff --git a/app/Http/Collections/CompanyPTOPolicyCollection.php b/app/Http/Collections/CompanyPTOPolicyCollection.php index d15e578ca..d656dbbd4 100644 --- a/app/Http/Collections/CompanyPTOPolicyCollection.php +++ b/app/Http/Collections/CompanyPTOPolicyCollection.php @@ -9,9 +9,7 @@ class CompanyPTOPolicyCollection /** * Prepare a collection of company news. * - * @param mixed $statuses - * - * @return Collection + * @param mixed $statuses */ public static function prepare($statuses): Collection { diff --git a/app/Http/Collections/QuestionCollection.php b/app/Http/Collections/QuestionCollection.php index 6f02f949d..ec33de67e 100644 --- a/app/Http/Collections/QuestionCollection.php +++ b/app/Http/Collections/QuestionCollection.php @@ -9,9 +9,7 @@ class QuestionCollection /** * Prepare a collection of questions. * - * @param mixed $questions - * - * @return Collection + * @param mixed $questions */ public static function prepare($questions): Collection { diff --git a/app/Http/Collections/TeamNewsCollection.php b/app/Http/Collections/TeamNewsCollection.php index b5ac7cd94..297bbd8f4 100644 --- a/app/Http/Collections/TeamNewsCollection.php +++ b/app/Http/Collections/TeamNewsCollection.php @@ -9,9 +9,7 @@ class TeamNewsCollection /** * Prepare a collection of team news. * - * @param mixed $teamNews - * - * @return Collection + * @param mixed $teamNews */ public static function prepare($teamNews): Collection { diff --git a/app/Http/Collections/TeamUsefulLinkCollection.php b/app/Http/Collections/TeamUsefulLinkCollection.php index 5be1f9189..3c690e700 100644 --- a/app/Http/Collections/TeamUsefulLinkCollection.php +++ b/app/Http/Collections/TeamUsefulLinkCollection.php @@ -9,9 +9,7 @@ class TeamUsefulLinkCollection /** * Prepare a collection of team news. * - * @param mixed $teamUsefulLinks - * - * @return Collection + * @param mixed $teamUsefulLinks */ public static function prepare($teamUsefulLinks): Collection { diff --git a/app/Http/Collections/WorkFromHomeCollection.php b/app/Http/Collections/WorkFromHomeCollection.php index f94e8c2dd..ce9472aad 100644 --- a/app/Http/Collections/WorkFromHomeCollection.php +++ b/app/Http/Collections/WorkFromHomeCollection.php @@ -9,9 +9,7 @@ class WorkFromHomeCollection /** * Prepare a collection of work from home. * - * @param mixed $entries - * - * @return Collection + * @param mixed $entries */ public static function prepare($entries): Collection { diff --git a/app/Http/Collections/WorklogCollection.php b/app/Http/Collections/WorklogCollection.php index 3e1c5ffcd..810efeab9 100644 --- a/app/Http/Collections/WorklogCollection.php +++ b/app/Http/Collections/WorklogCollection.php @@ -9,9 +9,7 @@ class WorklogCollection /** * Prepare a collection of worklogs. * - * @param mixed $worklogs - * - * @return Collection + * @param mixed $worklogs */ public static function prepare($worklogs): Collection { diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index b1c0daa0c..1c5432b1c 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -2,20 +2,17 @@ namespace App\Http\Controllers\Auth; -use Inertia\Inertia; -use Inertia\Response; +use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Collection; -use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Route; +use Inertia\Inertia; +use Inertia\Response; class LoginController extends Controller { /** * Display the login view. - * - * @param Request $request - * @return \Inertia\Response */ public function __invoke(Request $request): Response { diff --git a/app/Http/Controllers/Auth/SocialiteCallbackController.php b/app/Http/Controllers/Auth/SocialiteCallbackController.php index 66fab200e..94852ae0c 100644 --- a/app/Http/Controllers/Auth/SocialiteCallbackController.php +++ b/app/Http/Controllers/Auth/SocialiteCallbackController.php @@ -2,32 +2,27 @@ namespace App\Http\Controllers\Auth; -use Carbon\Carbon; +use App\Http\Controllers\Controller; use App\Models\User\User; -use Illuminate\Support\Str; -use Illuminate\Http\Request; use App\Models\User\UserToken; -use App\Http\Controllers\Controller; use App\Services\User\CreateAccount; -use Illuminate\Support\Facades\Auth; +use Carbon\Carbon; use Illuminate\Http\RedirectResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Redirect; +use Illuminate\Support\Str; +use Illuminate\Validation\ValidationException; +use Laravel\Socialite\Contracts\User as SocialiteUser; use Laravel\Socialite\Facades\Socialite; use Laravel\Socialite\One\User as OAuth1User; use Laravel\Socialite\Two\User as OAuth2User; -use Illuminate\Validation\ValidationException; -use Laravel\Socialite\Contracts\User as SocialiteUser; use Symfony\Component\HttpFoundation\RedirectResponse as SymfonyRedirectResponse; class SocialiteCallbackController extends Controller { /** * Handle socalite login. - * - * @param Request $request - * @param string $driver - * - * @return \Symfony\Component\HttpFoundation\RedirectResponse */ public function login(Request $request, string $driver): SymfonyRedirectResponse { @@ -43,11 +38,6 @@ public function login(Request $request, string $driver): SymfonyRedirectResponse /** * Handle socalite callback. - * - * @param Request $request - * @param string $driver - * - * @return \Illuminate\Http\RedirectResponse */ public function callback(Request $request, string $driver): RedirectResponse { @@ -73,10 +63,7 @@ public function callback(Request $request, string $driver): RedirectResponse /** * Authenticate the user. * - * @param string $driver - * @param \Laravel\Socialite\Contracts\User $socialite - * - * @return User + * @param \Laravel\Socialite\Contracts\User $socialite */ private function authenticateUser(string $driver, $socialite): User { @@ -105,9 +92,6 @@ private function authenticateUser(string $driver, $socialite): User /** * Get authenticated user. - * - * @param SocialiteUser $socialite - * @return User */ private function getUser(SocialiteUser $socialite): User { @@ -134,12 +118,6 @@ private function getUser(SocialiteUser $socialite): User /** * Create the user token register. - * - * @param User $user - * @param string $driver - * @param string $driverId - * @param SocialiteUser $socialite - * @return UserToken */ private function createUserToken(User $user, string $driver, string $driverId, SocialiteUser $socialite): UserToken { @@ -167,8 +145,6 @@ private function createUserToken(User $user, string $driver, string $driverId, S /** * Check if the driver is activated. - * - * @param string $driver */ private function checkProvider(string $driver): void { diff --git a/app/Http/Controllers/Auth/UserInvitationController.php b/app/Http/Controllers/Auth/UserInvitationController.php index 12193fa67..b2b8208a2 100644 --- a/app/Http/Controllers/Auth/UserInvitationController.php +++ b/app/Http/Controllers/Auth/UserInvitationController.php @@ -2,27 +2,22 @@ namespace App\Http\Controllers\Auth; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\User\User; -use Illuminate\Http\Request; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Models\Company\Employee; +use App\Models\User\User; use App\Services\User\CreateAccount; -use Illuminate\Support\Facades\Auth; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\Auth; +use Inertia\Inertia; +use Inertia\Response; class UserInvitationController extends Controller { /** * Validates the invitation page. - * - * @param Request $request - * @param string $invitationLink - * - * @return Response */ public function check(Request $request, string $invitationLink): Response { @@ -56,11 +51,6 @@ public function check(Request $request, string $invitationLink): Response /** * Create or login with a user account to accept the invitation. * We use the same route to check both actions. - * - * @param Request $request - * @param string $invitationLink - * - * @return JsonResponse */ public function join(Request $request, string $invitationLink): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminAuditController.php b/app/Http/Controllers/Company/Adminland/AdminAuditController.php index 0a5cf03d5..82bade9ea 100644 --- a/app/Http/Controllers/Company/Adminland/AdminAuditController.php +++ b/app/Http/Controllers/Company/Adminland/AdminAuditController.php @@ -2,22 +2,19 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Helpers\PaginatorHelper; use App\Helpers\NotificationHelper; +use App\Helpers\PaginatorHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Adminland\AdminAuditLogViewHelper; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminAuditController extends Controller { /** * Show the audit log. - * - * @param Request $request - * @return Response */ public function index(Request $request): Response { diff --git a/app/Http/Controllers/Company/Adminland/AdminBillingController.php b/app/Http/Controllers/Company/Adminland/AdminBillingController.php index 1822c4578..ef806d815 100644 --- a/app/Http/Controllers/Company/Adminland/AdminBillingController.php +++ b/app/Http/Controllers/Company/Adminland/AdminBillingController.php @@ -2,21 +2,20 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Adminland\AdminBillingViewHelper; use App\Models\Company\CompanyInvoice; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Adminland\AdminBillingViewHelper; +use Illuminate\Http\Request; +use Inertia\Inertia; class AdminBillingController extends Controller { /** * Show the Invoices & billing page. * - * @param Request $request * @return mixed */ public function index(Request $request) @@ -36,9 +35,6 @@ public function index(Request $request) /** * Show the details of the invoice. * - * @param Request $request - * @param int $companyId - * @param int $invoiceId * @return mixed */ public function show(Request $request, int $companyId, int $invoiceId) diff --git a/app/Http/Controllers/Company/Adminland/AdminCancelAccountController.php b/app/Http/Controllers/Company/Adminland/AdminCancelAccountController.php index 3907cb371..dcf1fa366 100644 --- a/app/Http/Controllers/Company/Adminland/AdminCancelAccountController.php +++ b/app/Http/Controllers/Company/Adminland/AdminCancelAccountController.php @@ -2,20 +2,18 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Services\Company\Adminland\Company\DestroyCompany; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminCancelAccountController extends Controller { /** * Show the Cancel account page. - * - * @return Response */ public function index(): Response { @@ -27,8 +25,6 @@ public function index(): Response /** * Destroy the company. * - * @param Request $request - * @param int $companyId * @return mixed */ public function destroy(Request $request, int $companyId) diff --git a/app/Http/Controllers/Company/Adminland/AdminCompanyNewsController.php b/app/Http/Controllers/Company/Adminland/AdminCompanyNewsController.php index fe0b24d54..46de574df 100644 --- a/app/Http/Controllers/Company/Adminland/AdminCompanyNewsController.php +++ b/app/Http/Controllers/Company/Adminland/AdminCompanyNewsController.php @@ -2,26 +2,24 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; -use App\Models\Company\CompanyNews; -use App\Http\Controllers\Controller; use App\Http\Collections\CompanyNewsCollection; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Http\Controllers\Controller; +use App\Models\Company\CompanyNews; use App\Services\Company\Adminland\CompanyNews\CreateCompanyNews; -use App\Services\Company\Adminland\CompanyNews\UpdateCompanyNews; use App\Services\Company\Adminland\CompanyNews\DestroyCompanyNews; +use App\Services\Company\Adminland\CompanyNews\UpdateCompanyNews; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminCompanyNewsController extends Controller { /** * Show the list of company news. - * - * @return Response */ public function index(): Response { @@ -38,8 +36,6 @@ public function index(): Response /** * Show the Create news view. - * - * @return Response */ public function create(): Response { @@ -50,10 +46,6 @@ public function create(): Response /** * Create the company news. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -77,9 +69,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the company news edit page. * - * @param Request $request - * @param int $companyId - * @param int $newsId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -100,11 +89,6 @@ public function edit(Request $request, int $companyId, int $newsId) /** * Update the company news. - * - * @param Request $request - * @param int $companyId - * @param int $newsId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $newsId): JsonResponse { @@ -128,11 +112,6 @@ public function update(Request $request, int $companyId, int $newsId): JsonRespo /** * Delete the company news. - * - * @param Request $request - * @param int $companyId - * @param int $companyNewsId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $companyNewsId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminECoffeeController.php b/app/Http/Controllers/Company/Adminland/AdminECoffeeController.php index 78037c3a0..cbb51d3cf 100644 --- a/app/Http/Controllers/Company/Adminland/AdminECoffeeController.php +++ b/app/Http/Controllers/Company/Adminland/AdminECoffeeController.php @@ -2,22 +2,20 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Adminland\AdminECoffeeViewHelper; use App\Services\Company\Adminland\ECoffee\ToggleECoffeeProcess; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminECoffeeController extends Controller { /** * Show the eCoffee page. - * - * @return Response */ public function index(): Response { @@ -33,10 +31,6 @@ public function index(): Response /** * Toggle the eCoffee session in the company. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminEmployeeController.php b/app/Http/Controllers/Company/Adminland/AdminEmployeeController.php index 267173687..39588699d 100644 --- a/app/Http/Controllers/Company/Adminland/AdminEmployeeController.php +++ b/app/Http/Controllers/Company/Adminland/AdminEmployeeController.php @@ -2,31 +2,29 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; +use App\Exceptions\EmailAlreadyUsedException; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Support\Facades\View; -use App\Exceptions\EmailAlreadyUsedException; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Employee\LockEmployee; use App\Http\ViewHelpers\Adminland\AdminEmployeeViewHelper; -use App\Services\Company\Adminland\Employee\UnlockEmployee; -use App\Services\Company\Employee\HiringDate\SetHiringDate; -use App\Services\Company\Adminland\Employee\DestroyEmployee; +use App\Models\Company\Employee; use App\Services\Company\Adminland\Employee\AddEmployeeToCompany; +use App\Services\Company\Adminland\Employee\DestroyEmployee; use App\Services\Company\Adminland\Employee\InviteEmployeeToBecomeUser; +use App\Services\Company\Adminland\Employee\LockEmployee; +use App\Services\Company\Adminland\Employee\UnlockEmployee; +use App\Services\Company\Employee\HiringDate\SetHiringDate; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\View; +use Inertia\Inertia; +use Inertia\Response; class AdminEmployeeController extends Controller { /** * Show the list of employees. - * - * @return Response */ public function index(): Response { @@ -41,8 +39,6 @@ public function index(): Response /** * Show the list of all employees. - * - * @return Response */ public function all(): Response { @@ -59,8 +55,6 @@ public function all(): Response /** * Show the list of all active employees. - * - * @return Response */ public function active(): Response { @@ -78,8 +72,6 @@ public function active(): Response /** * Show the list of all locked employees. - * - * @return Response */ public function locked(): Response { @@ -97,8 +89,6 @@ public function locked(): Response /** * Show the list of all employees without an hiring date. - * - * @return Response */ public function noHiringDate(): Response { @@ -116,8 +106,6 @@ public function noHiringDate(): Response /** * Show the Create employee view. - * - * @return Response */ public function create(): Response { @@ -128,10 +116,6 @@ public function create(): Response /** * Create the employee. - * - * @param Request $request - * @param int $companyId - * @return mixed */ public function store(Request $request, int $companyId): mixed { @@ -177,9 +161,6 @@ public function store(Request $request, int $companyId): mixed /** * Show the Lock employee view. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function lock(Request $request, int $companyId, int $employeeId) @@ -213,11 +194,6 @@ public function lock(Request $request, int $companyId, int $employeeId) /** * Lock the employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function lockAccount(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -240,9 +216,6 @@ public function lockAccount(Request $request, int $companyId, int $employeeId): /** * Show the Unlock employee view. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function unlock(Request $request, int $companyId, int $employeeId) @@ -276,11 +249,6 @@ public function unlock(Request $request, int $companyId, int $employeeId) /** * Unlock the employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function unlockAccount(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -303,9 +271,6 @@ public function unlockAccount(Request $request, int $companyId, int $employeeId) /** * Show the Delete employee view. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function delete(Request $request, int $companyId, int $employeeId) @@ -343,11 +308,6 @@ public function delete(Request $request, int $companyId, int $employeeId) /** * Delete the employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -370,9 +330,6 @@ public function destroy(Request $request, int $companyId, int $employeeId): Json /** * Show the Invite employee view. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function invite(Request $request, int $companyId, int $employeeId) @@ -408,11 +365,6 @@ public function invite(Request $request, int $companyId, int $employeeId) /** * Send an invite to an employee to become user. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function sendInvite(Request $request, int $companyId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminEmployeePermissionController.php b/app/Http/Controllers/Company/Adminland/AdminEmployeePermissionController.php index 3768447fc..793e1fac9 100644 --- a/app/Http/Controllers/Company/Adminland/AdminEmployeePermissionController.php +++ b/app/Http/Controllers/Company/Adminland/AdminEmployeePermissionController.php @@ -2,24 +2,21 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; use App\Services\Company\Adminland\Employee\ChangePermissionLevel; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class AdminEmployeePermissionController extends Controller { /** * Show the Change permission view. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function show(Request $request, int $companyId, int $employeeId) @@ -54,11 +51,6 @@ public function show(Request $request, int $companyId, int $employeeId) /** * Change permission. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminEmployeeStatusController.php b/app/Http/Controllers/Company/Adminland/AdminEmployeeStatusController.php index 4e31f4fa4..48c6405ef 100644 --- a/app/Http/Controllers/Company/Adminland/AdminEmployeeStatusController.php +++ b/app/Http/Controllers/Company/Adminland/AdminEmployeeStatusController.php @@ -2,24 +2,22 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Adminland\AdminEmployeeStatusViewHelper; use App\Services\Company\Adminland\EmployeeStatus\CreateEmployeeStatus; -use App\Services\Company\Adminland\EmployeeStatus\UpdateEmployeeStatus; use App\Services\Company\Adminland\EmployeeStatus\DestroyEmployeeStatus; +use App\Services\Company\Adminland\EmployeeStatus\UpdateEmployeeStatus; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminEmployeeStatusController extends Controller { /** * Show the list of employee statuses. - * - * @return Response */ public function index(): Response { @@ -35,10 +33,6 @@ public function index(): Response /** * Create the employee status. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -61,10 +55,7 @@ public function store(Request $request, int $companyId): JsonResponse /** * Update the employee status. * - * @param Request $request - * @param int $companyId - * @param int $employeeStatusId - * @return JsonResponse + * @param int $companyId */ public function update(Request $request, $companyId, int $employeeStatusId): JsonResponse { @@ -87,11 +78,6 @@ public function update(Request $request, $companyId, int $employeeStatusId): Jso /** * Delete the employee status. - * - * @param Request $request - * @param int $companyId - * @param int $employeeStatusId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $employeeStatusId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminExpenseController.php b/app/Http/Controllers/Company/Adminland/AdminExpenseController.php index dc26fb8bb..abd24b91f 100644 --- a/app/Http/Controllers/Company/Adminland/AdminExpenseController.php +++ b/app/Http/Controllers/Company/Adminland/AdminExpenseController.php @@ -2,28 +2,26 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Adminland\AdminExpenseViewHelper; +use App\Models\Company\Employee; use App\Services\Company\Adminland\Expense\AllowEmployeeToManageExpenses; +use App\Services\Company\Adminland\Expense\DisallowEmployeeToManageExpenses; use App\Services\Company\Adminland\ExpenseCategory\CreateExpenseCategory; -use App\Services\Company\Adminland\ExpenseCategory\UpdateExpenseCategory; use App\Services\Company\Adminland\ExpenseCategory\DestroyExpenseCategory; -use App\Services\Company\Adminland\Expense\DisallowEmployeeToManageExpenses; +use App\Services\Company\Adminland\ExpenseCategory\UpdateExpenseCategory; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminExpenseController extends Controller { /** * Show the list of expense categories. - * - * @return Response */ public function index(): Response { @@ -41,10 +39,6 @@ public function index(): Response /** * Create a new expense category. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -69,11 +63,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Update the expense category. - * - * @param Request $request - * @param int $companyId - * @param int $expenseCategoryId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $expenseCategoryId): JsonResponse { @@ -99,11 +88,6 @@ public function update(Request $request, int $companyId, int $expenseCategoryId) /** * Delete the expense category. - * - * @param Request $request - * @param int $companyId - * @param int $expenseCategoryId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $expenseCategoryId): JsonResponse { @@ -125,10 +109,6 @@ public function destroy(Request $request, int $companyId, int $expenseCategoryId /** * Search an employee to add him as someone with the right to manage * expenses in the company. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function search(Request $request, int $companyId): JsonResponse { @@ -142,10 +122,6 @@ public function search(Request $request, int $companyId): JsonResponse /** * Assign an employee to let him manage expenses company wide. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function addEmployee(Request $request, int $companyId): JsonResponse { @@ -175,10 +151,6 @@ public function addEmployee(Request $request, int $companyId): JsonResponse /** * Unassing an employee to let him manage expenses company wide. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function removeEmployee(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminFlowController.php b/app/Http/Controllers/Company/Adminland/AdminFlowController.php index d19e2d372..d13a52d73 100644 --- a/app/Http/Controllers/Company/Adminland/AdminFlowController.php +++ b/app/Http/Controllers/Company/Adminland/AdminFlowController.php @@ -2,19 +2,19 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Flow; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Support\Facades\View; -use App\Services\Company\Adminland\Flow\CreateFlow; -use App\Services\Company\Adminland\Flow\AddStepToFlow; +use App\Models\Company\Flow; use App\Services\Company\Adminland\Flow\AddActionToStep; +use App\Services\Company\Adminland\Flow\AddStepToFlow; +use App\Services\Company\Adminland\Flow\CreateFlow; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\View; +use Inertia\Inertia; +use Inertia\Response; class AdminFlowController extends Controller { @@ -32,9 +32,6 @@ public function index(): Response /** * Display the detail of a flow. * - * @param Request $request - * @param int $companyId - * @param int $flowId * @return mixed */ public function show(Request $request, int $companyId, int $flowId) @@ -57,8 +54,6 @@ public function show(Request $request, int $companyId, int $flowId) /** * Show the Create flow view. - * - * @return Response */ public function create(): Response { @@ -69,10 +64,6 @@ public function create(): Response /** * Save the flow. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminGeneralController.php b/app/Http/Controllers/Company/Adminland/AdminGeneralController.php index 9911a3df0..8145039a4 100644 --- a/app/Http/Controllers/Company/Adminland/AdminGeneralController.php +++ b/app/Http/Controllers/Company/Adminland/AdminGeneralController.php @@ -2,28 +2,26 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Adminland\File\UploadFile; -use App\Services\Company\Adminland\Company\RenameCompany; use App\Http\ViewHelpers\Adminland\AdminGeneralViewHelper; -use App\Services\Company\Adminland\Company\UpdateCompanyLogo; +use App\Services\Company\Adminland\Company\RenameCompany; use App\Services\Company\Adminland\Company\UpdateCompanyCurrency; -use App\Services\Company\Adminland\Company\UpdateCompanyLocation; use App\Services\Company\Adminland\Company\UpdateCompanyFoundedDate; +use App\Services\Company\Adminland\Company\UpdateCompanyLocation; +use App\Services\Company\Adminland\Company\UpdateCompanyLogo; +use App\Services\Company\Adminland\File\UploadFile; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminGeneralController extends Controller { /** * Show the General settings company page. - * - * @return Response */ public function index(): Response { @@ -42,10 +40,6 @@ public function index(): Response /** * Rename the company. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function rename(Request $request, int $companyId): JsonResponse { @@ -67,10 +61,6 @@ public function rename(Request $request, int $companyId): JsonResponse /** * Update the company’s currency. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function currency(Request $request, int $companyId): JsonResponse { @@ -92,10 +82,6 @@ public function currency(Request $request, int $companyId): JsonResponse /** * Update the company’s logo. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function logo(Request $request, int $companyId): JsonResponse { @@ -127,10 +113,6 @@ public function logo(Request $request, int $companyId): JsonResponse /** * Update the company’s founded date. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function date(Request $request, int $companyId): JsonResponse { @@ -150,10 +132,6 @@ public function date(Request $request, int $companyId): JsonResponse /** * Update the company’s location. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function location(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminHardwareController.php b/app/Http/Controllers/Company/Adminland/AdminHardwareController.php index 7a3e35e48..84d17661e 100644 --- a/app/Http/Controllers/Company/Adminland/AdminHardwareController.php +++ b/app/Http/Controllers/Company/Adminland/AdminHardwareController.php @@ -2,29 +2,27 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Hardware; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\Hardware\LendHardware; use App\Http\ViewHelpers\Adminland\AdminHardwareViewHelper; +use App\Models\Company\Hardware; use App\Services\Company\Adminland\Hardware\CreateHardware; +use App\Services\Company\Adminland\Hardware\DestroyHardware; +use App\Services\Company\Adminland\Hardware\LendHardware; use App\Services\Company\Adminland\Hardware\RegainHardware; use App\Services\Company\Adminland\Hardware\UpdateHardware; -use App\Services\Company\Adminland\Hardware\DestroyHardware; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminHardwareController extends Controller { /** * Show the list of hardware. - * - * @return Response */ public function index(): Response { @@ -42,8 +40,6 @@ public function index(): Response /** * Show the Create hardware view. - * - * @return Response */ public function create(): Response { @@ -58,10 +54,6 @@ public function create(): Response /** * Create the hardware. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -94,9 +86,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the hardware. * - * @param Request $request - * @param int $companyId - * @param int $hardwareId * @return mixed */ public function show(Request $request, int $companyId, int $hardwareId) @@ -135,9 +124,6 @@ public function show(Request $request, int $companyId, int $hardwareId) /** * Edit the hardware. * - * @param Request $request - * @param int $companyId - * @param int $hardwareId * @return mixed */ public function edit(Request $request, int $companyId, int $hardwareId) @@ -171,11 +157,6 @@ public function edit(Request $request, int $companyId, int $hardwareId) /** * Update the hardware. - * - * @param Request $request - * @param int $companyId - * @param int $hardwareId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $hardwareId): JsonResponse { @@ -233,11 +214,6 @@ public function update(Request $request, int $companyId, int $hardwareId): JsonR /** * Delete the hardware. - * - * @param Request $request - * @param int $companyId - * @param int $hardwareId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $hardwareId): JsonResponse { @@ -259,10 +235,6 @@ public function destroy(Request $request, int $companyId, int $hardwareId): Json /** * Display the list of available hardware. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function available(Request $request, int $companyId): Response { @@ -279,10 +251,6 @@ public function available(Request $request, int $companyId): Response /** * Display the list of lent hardware. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function lent(Request $request, int $companyId): Response { @@ -299,10 +267,6 @@ public function lent(Request $request, int $companyId): Response /** * Search a specific item. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function search(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminPTOPoliciesController.php b/app/Http/Controllers/Company/Adminland/AdminPTOPoliciesController.php index 7930246a0..09251cc63 100644 --- a/app/Http/Controllers/Company/Adminland/AdminPTOPoliciesController.php +++ b/app/Http/Controllers/Company/Adminland/AdminPTOPoliciesController.php @@ -2,24 +2,22 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; +use App\Http\Collections\CompanyPTOPolicyCollection; use App\Http\Controllers\Controller; use App\Models\Company\CompanyPTOPolicy; -use App\Http\Collections\CompanyPTOPolicyCollection; use App\Services\Company\Adminland\CompanyPTOPolicy\UpdateCompanyPTOPolicy; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminPTOPoliciesController extends Controller { /** * Show the list of company news. - * - * @return Response */ public function index(): Response { @@ -36,11 +34,6 @@ public function index(): Response /** * Update the pto policy. - * - * @param Request $request - * @param int $companyId - * @param int $ptoPolicyId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $ptoPolicyId): JsonResponse { @@ -66,10 +59,6 @@ public function update(Request $request, int $companyId, int $ptoPolicyId): Json /** * Get the holidays for a given PTO policy. - * - * @param int $companyId - * @param int $companyPTOPolicyId - * @return array */ public function getHolidays(int $companyId, int $companyPTOPolicyId): array { diff --git a/app/Http/Controllers/Company/Adminland/AdminPositionController.php b/app/Http/Controllers/Company/Adminland/AdminPositionController.php index 90f23c83d..2de898d37 100644 --- a/app/Http/Controllers/Company/Adminland/AdminPositionController.php +++ b/app/Http/Controllers/Company/Adminland/AdminPositionController.php @@ -2,24 +2,22 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Adminland\AdminPositionViewHelper; use App\Services\Company\Adminland\Position\CreatePosition; -use App\Services\Company\Adminland\Position\UpdatePosition; use App\Services\Company\Adminland\Position\DestroyPosition; +use App\Services\Company\Adminland\Position\UpdatePosition; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminPositionController extends Controller { /** * Show the list of positions. - * - * @return Response */ public function index(): Response { @@ -35,10 +33,6 @@ public function index(): Response /** * Create the position. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -63,11 +57,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Update the position. - * - * @param Request $request - * @param int $companyId - * @param int $positionId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $positionId): JsonResponse { @@ -92,11 +81,6 @@ public function update(Request $request, int $companyId, int $positionId): JsonR /** * Delete the position. - * - * @param Request $request - * @param int $companyId - * @param int $positionId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $positionId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminProjectManagementController.php b/app/Http/Controllers/Company/Adminland/AdminProjectManagementController.php index 0a1a9d9e2..3c6a6a004 100644 --- a/app/Http/Controllers/Company/Adminland/AdminProjectManagementController.php +++ b/app/Http/Controllers/Company/Adminland/AdminProjectManagementController.php @@ -2,24 +2,22 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Adminland\AdminProjectManagementViewHelper; use App\Services\Company\Project\CreateIssueType; -use App\Services\Company\Project\UpdateIssueType; use App\Services\Company\Project\DestroyIssueType; -use App\Http\ViewHelpers\Adminland\AdminProjectManagementViewHelper; +use App\Services\Company\Project\UpdateIssueType; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminProjectManagementController extends Controller { /** * Show the project management page. - * - * @return Response */ public function index(): Response { @@ -34,10 +32,6 @@ public function index(): Response /** * Create the issue type. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -74,11 +68,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Update the issue typpe. - * - * @param Request $request - * @param int $companyId - * @param int $issueTypeId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $issueTypeId): JsonResponse { @@ -116,11 +105,6 @@ public function update(Request $request, int $companyId, int $issueTypeId): Json /** * Delete the issue type. - * - * @param Request $request - * @param int $companyId - * @param int $issueTypeId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $issueTypeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminQuestionController.php b/app/Http/Controllers/Company/Adminland/AdminQuestionController.php index 11be05da0..1b92889f1 100644 --- a/app/Http/Controllers/Company/Adminland/AdminQuestionController.php +++ b/app/Http/Controllers/Company/Adminland/AdminQuestionController.php @@ -2,26 +2,24 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; -use App\Http\Controllers\Controller; use App\Http\Collections\QuestionCollection; -use App\Services\Company\Adminland\Question\CreateQuestion; -use App\Services\Company\Adminland\Question\UpdateQuestion; -use App\Services\Company\Adminland\Question\DestroyQuestion; +use App\Http\Controllers\Controller; use App\Services\Company\Adminland\Question\ActivateQuestion; +use App\Services\Company\Adminland\Question\CreateQuestion; use App\Services\Company\Adminland\Question\DeactivateQuestion; +use App\Services\Company\Adminland\Question\DestroyQuestion; +use App\Services\Company\Adminland\Question\UpdateQuestion; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminQuestionController extends Controller { /** * Show the list of questions. - * - * @return Response */ public function index(): Response { @@ -38,10 +36,6 @@ public function index(): Response /** * Create the question. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -64,11 +58,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Update the question. - * - * @param Request $request - * @param int $companyId - * @param int $questionId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $questionId): JsonResponse { @@ -91,11 +80,6 @@ public function update(Request $request, int $companyId, int $questionId): JsonR /** * Delete the question. - * - * @param Request $request - * @param int $companyId - * @param int $questionId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $questionId): JsonResponse { @@ -116,11 +100,6 @@ public function destroy(Request $request, int $companyId, int $questionId): Json /** * Activate the question. - * - * @param Request $request - * @param int $companyId - * @param int $questionId - * @return JsonResponse */ public function activate(Request $request, int $companyId, int $questionId): JsonResponse { @@ -145,11 +124,6 @@ public function activate(Request $request, int $companyId, int $questionId): Jso /** * Deactivate the question. - * - * @param Request $request - * @param int $companyId - * @param int $questionId - * @return JsonResponse */ public function deactivate(Request $request, int $companyId, int $questionId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminRecruitmentController.php b/app/Http/Controllers/Company/Adminland/AdminRecruitmentController.php index 841157145..8490918a5 100644 --- a/app/Http/Controllers/Company/Adminland/AdminRecruitmentController.php +++ b/app/Http/Controllers/Company/Adminland/AdminRecruitmentController.php @@ -2,27 +2,25 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Models\Company\RecruitingStageTemplate; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Adminland\AdminRecruitmentViewHelper; +use App\Models\Company\RecruitingStageTemplate; use App\Services\Company\Adminland\JobOpening\CreateRecruitingStage; -use App\Services\Company\Adminland\JobOpening\UpdateRecruitingStage; -use App\Services\Company\Adminland\JobOpening\DestroyRecruitingStage; use App\Services\Company\Adminland\JobOpening\CreateRecruitingStageTemplate; +use App\Services\Company\Adminland\JobOpening\DestroyRecruitingStage; +use App\Services\Company\Adminland\JobOpening\UpdateRecruitingStage; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminRecruitmentController extends Controller { /** * Show the recruitment page. - * - * @return Response */ public function index(): Response { @@ -38,10 +36,6 @@ public function index(): Response /** * Create the template. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -72,9 +66,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the template content. * - * @param Request $request - * @param int $companyId - * @param int $templateId * @return mixed */ public function show(Request $request, int $companyId, int $templateId) @@ -98,11 +89,6 @@ public function show(Request $request, int $companyId, int $templateId) /** * Create the stage. - * - * @param Request $request - * @param int $companyId - * @param int $templateId - * @return JsonResponse */ public function storeStage(Request $request, int $companyId, int $templateId): JsonResponse { @@ -129,12 +115,6 @@ public function storeStage(Request $request, int $companyId, int $templateId): J /** * Update the stage. - * - * @param Request $request - * @param int $companyId - * @param int $templateId - * @param int $stageId - * @return JsonResponse */ public function updateStage(Request $request, int $companyId, int $templateId, int $stageId): JsonResponse { @@ -163,12 +143,6 @@ public function updateStage(Request $request, int $companyId, int $templateId, i /** * Delete the stage. - * - * @param Request $request - * @param int $companyId - * @param int $templateId - * @param int $stageId - * @return JsonResponse */ public function destroyStage(Request $request, int $companyId, int $templateId, int $stageId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminSoftwareController.php b/app/Http/Controllers/Company/Adminland/AdminSoftwareController.php index eaebc9e8d..8dc680983 100644 --- a/app/Http/Controllers/Company/Adminland/AdminSoftwareController.php +++ b/app/Http/Controllers/Company/Adminland/AdminSoftwareController.php @@ -2,39 +2,37 @@ namespace App\Http\Controllers\Company\Adminland; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; use App\Helpers\FileHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use App\Models\Company\Software; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Adminland\File\UploadFile; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Dashboard\DashboardMeViewHelper; use App\Http\ViewHelpers\Adminland\AdminHardwareViewHelper; use App\Http\ViewHelpers\Adminland\AdminSoftwareViewHelper; +use App\Http\ViewHelpers\Dashboard\DashboardMeViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Software; +use App\Services\Company\Adminland\File\UploadFile; +use App\Services\Company\Adminland\Software\AddFileToSoftware; use App\Services\Company\Adminland\Software\CreateSoftware; -use App\Services\Company\Adminland\Software\UpdateSoftware; use App\Services\Company\Adminland\Software\DestroySoftware; -use App\Services\Company\Adminland\Software\AddFileToSoftware; -use App\Services\Company\Adminland\Software\GiveSeatToEmployee; use App\Services\Company\Adminland\Software\DestroySoftwareFile; -use App\Services\Company\Adminland\Software\TakeSeatFromEmployee; +use App\Services\Company\Adminland\Software\GiveSeatToEmployee; use App\Services\Company\Adminland\Software\GiveSeatToEveryEmployee; +use App\Services\Company\Adminland\Software\TakeSeatFromEmployee; +use App\Services\Company\Adminland\Software\UpdateSoftware; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminSoftwareController extends Controller { /** * Show the list of softwares. - * - * @return Response */ public function index(): Response { @@ -51,8 +49,6 @@ public function index(): Response /** * Show the Create software view. - * - * @return Response */ public function create(): Response { @@ -68,10 +64,6 @@ public function create(): Response /** * Create the software. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -114,9 +106,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the software. * - * @param Request $request - * @param int $companyId - * @param int $softwareId * @return mixed */ public function show(Request $request, int $companyId, int $softwareId) @@ -152,11 +141,6 @@ public function show(Request $request, int $companyId, int $softwareId) /** * Search a potential employee. - * - * @param Request $request - * @param int $companyId - * @param int $softwareId - * @return JsonResponse */ public function potentialEmployees(Request $request, int $companyId, int $softwareId): JsonResponse { @@ -178,11 +162,6 @@ public function potentialEmployees(Request $request, int $companyId, int $softwa /** * Attach an employee to the software. - * - * @param Request $request - * @param int $companyId - * @param int $softwareId - * @return JsonResponse */ public function attach(Request $request, int $companyId, int $softwareId): JsonResponse { @@ -215,11 +194,6 @@ public function attach(Request $request, int $companyId, int $softwareId): JsonR /** * Attach all the employees to the software. - * - * @param Request $request - * @param int $companyId - * @param int $softwareId - * @return JsonResponse */ public function attachAll(Request $request, int $companyId, int $softwareId): JsonResponse { @@ -242,12 +216,6 @@ public function attachAll(Request $request, int $companyId, int $softwareId): Js /** * Detach an employee from the software. - * - * @param Request $request - * @param integer $companyId - * @param integer $softwareId - * @param integer $employeeId - * @return JsonResponse */ public function detach(Request $request, int $companyId, int $softwareId, int $employeeId): JsonResponse { @@ -268,11 +236,6 @@ public function detach(Request $request, int $companyId, int $softwareId, int $e /** * Get the current number of employees who don't have the given software. - * - * @param Request $request - * @param integer $companyId - * @param integer $softwareId - * @return JsonResponse */ public function numberOfEmployeesWhoDontHaveSoftware(Request $request, int $companyId, int $softwareId): JsonResponse { @@ -292,9 +255,6 @@ public function numberOfEmployeesWhoDontHaveSoftware(Request $request, int $comp /** * Edit the software. * - * @param Request $request - * @param integer $companyId - * @param integer $softwareId * @return mixed */ public function edit(Request $request, int $companyId, int $softwareId) @@ -321,9 +281,6 @@ public function edit(Request $request, int $companyId, int $softwareId) /** * Update the software. * - * @param Request $request - * @param integer $companyId - * @param integer $softwareId * @return mixed */ public function update(Request $request, int $companyId, int $softwareId) @@ -368,11 +325,6 @@ public function update(Request $request, int $companyId, int $softwareId) /** * Destroy the software. - * - * @param Request $request - * @param integer $companyId - * @param integer $softwareId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $softwareId): JsonResponse { @@ -392,11 +344,6 @@ public function destroy(Request $request, int $companyId, int $softwareId): Json /** * Store a file. - * - * @param Request $request - * @param int $companyId - * @param int $softwareId - * @return JsonResponse|null */ public function storeFile(Request $request, int $companyId, int $softwareId): ?JsonResponse { @@ -451,12 +398,6 @@ public function storeFile(Request $request, int $companyId, int $softwareId): ?J /** * Destroy a file. - * - * @param Request $request - * @param int $companyId - * @param int $softwareId - * @param int $fileId - * @return JsonResponse|null */ public function destroyFile(Request $request, int $companyId, int $softwareId, int $fileId): ?JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminTeamController.php b/app/Http/Controllers/Company/Adminland/AdminTeamController.php index 70bf976b3..1a2c20577 100644 --- a/app/Http/Controllers/Company/Adminland/AdminTeamController.php +++ b/app/Http/Controllers/Company/Adminland/AdminTeamController.php @@ -2,27 +2,25 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Helpers\PaginatorHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; +use App\Helpers\PaginatorHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Adminland\AdminTeamViewHelper; +use App\Models\Company\Team; use App\Services\Company\Adminland\Team\CreateTeam; -use App\Services\Company\Adminland\Team\UpdateTeam; use App\Services\Company\Adminland\Team\DestroyTeam; -use App\Http\ViewHelpers\Adminland\AdminTeamViewHelper; +use App\Services\Company\Adminland\Team\UpdateTeam; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminTeamController extends Controller { /** * Show the list of teams. - * - * @return Response */ public function index(): Response { @@ -39,9 +37,6 @@ public function index(): Response /** * Create the team. - * - * @param Request $request - * @return JsonResponse */ public function store(Request $request): JsonResponse { @@ -62,11 +57,6 @@ public function store(Request $request): JsonResponse /** * Update the name of the team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $teamId): JsonResponse { @@ -88,11 +78,6 @@ public function update(Request $request, int $companyId, int $teamId): JsonRespo /** * Delete the team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $teamId): JsonResponse { @@ -114,9 +99,6 @@ public function destroy(Request $request, int $companyId, int $teamId): JsonResp /** * Display the logs page for the given team. * - * @param Request $request - * @param int $companyId - * @param int $teamId * @return mixed */ public function logs(Request $request, int $companyId, int $teamId) diff --git a/app/Http/Controllers/Company/Adminland/AdminUploadEmployeeController.php b/app/Http/Controllers/Company/Adminland/AdminUploadEmployeeController.php index 9a351ea12..60e5fa360 100644 --- a/app/Http/Controllers/Company/Adminland/AdminUploadEmployeeController.php +++ b/app/Http/Controllers/Company/Adminland/AdminUploadEmployeeController.php @@ -2,26 +2,24 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\ImportJob; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Adminland\File\UploadFile; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Adminland\AdminUploadEmployeeViewHelper; +use App\Models\Company\ImportJob; use App\Services\Company\Adminland\Employee\ImportEmployeesFromTemporaryTable; use App\Services\Company\Adminland\Employee\StoreEmployeesFromCSVInTemporaryTable; +use App\Services\Company\Adminland\File\UploadFile; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminUploadEmployeeController extends Controller { /** * Show the list of past import employees by csv. - * - * @return Response */ public function index(): Response { @@ -38,8 +36,6 @@ public function index(): Response /** * Show the Upload CSV of employees view. - * - * @return Response */ public function upload(): Response { @@ -51,10 +47,6 @@ public function upload(): Response /** * Upload the CSV. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -89,10 +81,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show an import job. - * - * @param Request $request - * @param int $companyId - * @param int $jobId */ public function show(Request $request, int $companyId, int $jobId) { @@ -116,11 +104,6 @@ public function show(Request $request, int $companyId, int $jobId) /** * Import employees to the system. - * - * @param Request $request - * @param int $companyId - * @param int $jobId - * @return JsonResponse */ public function import(Request $request, int $companyId, int $jobId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminWorkFromHomeController.php b/app/Http/Controllers/Company/Adminland/AdminWorkFromHomeController.php index a8a80596d..39d1cddea 100644 --- a/app/Http/Controllers/Company/Adminland/AdminWorkFromHomeController.php +++ b/app/Http/Controllers/Company/Adminland/AdminWorkFromHomeController.php @@ -2,22 +2,20 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Adminland\AdminWorkFromHomeViewHelper; use App\Services\Company\Adminland\WorkFromHome\ToggleWorkFromHomeProcess; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminWorkFromHomeController extends Controller { /** * Show the work from home page. - * - * @return Response */ public function index(): Response { @@ -33,10 +31,6 @@ public function index(): Response /** * Toggle the work from home setting in the company. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function update(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/Company/Adminland/AdminlandController.php b/app/Http/Controllers/Company/Adminland/AdminlandController.php index 434383ee0..d0907ecb8 100644 --- a/app/Http/Controllers/Company/Adminland/AdminlandController.php +++ b/app/Http/Controllers/Company/Adminland/AdminlandController.php @@ -2,21 +2,17 @@ namespace App\Http\Controllers\Company\Adminland; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class AdminlandController extends Controller { /** * Show the account dashboard. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function index(Request $request, int $companyId): Response { diff --git a/app/Http/Controllers/Company/Company/CompanyController.php b/app/Http/Controllers/Company/Company/CompanyController.php index 516c6541c..7d50ddd3b 100644 --- a/app/Http/Controllers/Company/Company/CompanyController.php +++ b/app/Http/Controllers/Company/Company/CompanyController.php @@ -2,23 +2,21 @@ namespace App\Http\Controllers\Company\Company; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Company\CompanyViewHelper; +use App\Models\Company\Company; use App\Services\Company\GuessEmployeeGame\VoteGuessEmployeeGame; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class CompanyController extends Controller { /** * All the information about the company, for public use. - * - * @return Response */ public function index(): Response { @@ -56,8 +54,6 @@ public function index(): Response /** * Record the vote made on a Guess Employee Game. - * - * @return JsonResponse */ public function vote(Request $request, int $companyId): JsonResponse { @@ -81,11 +77,6 @@ public function vote(Request $request, int $companyId): JsonResponse /** * Create a new Guess Employee Game entry. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function replay(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/CompanyNewsController.php b/app/Http/Controllers/Company/Company/CompanyNewsController.php index 874a87075..22034e5f4 100644 --- a/app/Http/Controllers/Company/Company/CompanyNewsController.php +++ b/app/Http/Controllers/Company/Company/CompanyNewsController.php @@ -2,25 +2,23 @@ namespace App\Http\Controllers\Company\Company; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use App\Helpers\PaginatorHelper; -use App\Models\Company\Question; use App\Helpers\NotificationHelper; +use App\Helpers\PaginatorHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Company\CompanyNewsViewHelper; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Company\CompanyQuestionViewHelper; +use App\Models\Company\Company; +use App\Models\Company\Question; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class CompanyNewsController extends Controller { /** * All the company news in the company. - * - * @return Response */ public function index(): Response { @@ -38,9 +36,6 @@ public function index(): Response /** * Get the detail of a given question. * - * @param Request $request - * @param int $companyId - * @param int $questionId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -62,7 +57,7 @@ public function show(Request $request, int $companyId, int $questionId) $answersCollection = CompanyQuestionViewHelper::question($question, $answers, $employee); return Inertia::render('Company/Question/Show', [ - 'teams' =>$teams, + 'teams' => $teams, 'question' => $answersCollection, 'notifications' => NotificationHelper::getNotifications($employee), 'paginator' => PaginatorHelper::getData($answers), diff --git a/app/Http/Controllers/Company/Company/Group/GroupController.php b/app/Http/Controllers/Company/Company/Group/GroupController.php index 37bdbe21c..4b18b8fd9 100644 --- a/app/Http/Controllers/Company/Company/Group/GroupController.php +++ b/app/Http/Controllers/Company/Company/Group/GroupController.php @@ -2,33 +2,28 @@ namespace App\Http\Controllers\Company\Company\Group; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; -use App\Models\Company\Group; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Group\CreateGroup; -use App\Services\Company\Group\UpdateGroup; -use App\Services\Company\Group\DestroyGroup; use App\Http\ViewHelpers\Company\CompanyViewHelper; +use App\Http\ViewHelpers\Company\Group\GroupCreateViewHelper; +use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; use App\Http\ViewHelpers\Company\Group\GroupViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Services\Company\Group\CreateGroup; +use App\Services\Company\Group\DestroyGroup; +use App\Services\Company\Group\UpdateGroup; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; -use App\Http\ViewHelpers\Company\Group\GroupCreateViewHelper; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class GroupController extends Controller { /** * Display the list of groups. - * - * @param Request $request - * @param int $companyId - * - * @return Response */ public function index(Request $request, int $companyId): Response { @@ -46,9 +41,6 @@ public function index(Request $request, int $companyId): Response /** * Display the group. * - * @param Request $request - * @param int $companyId - * @param int $groupId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -74,11 +66,6 @@ public function show(Request $request, int $companyId, int $groupId) /** * Display the create new group form. - * - * @param Request $request - * @param int $companyId - * - * @return Response */ public function create(Request $request, int $companyId): Response { @@ -89,11 +76,6 @@ public function create(Request $request, int $companyId): Response /** * Search an employee to add as a team lead. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function search(Request $request, int $companyId): JsonResponse { @@ -107,10 +89,6 @@ public function search(Request $request, int $companyId): JsonResponse /** * Actually create the new group. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -147,12 +125,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the delete group page. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * - * @return Response */ public function delete(Request $request, int $companyId, int $groupId): Response { @@ -169,11 +141,6 @@ public function delete(Request $request, int $companyId, int $groupId): Response /** * Actually destroy the group. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $groupId): JsonResponse { @@ -194,11 +161,8 @@ public function destroy(Request $request, int $companyId, int $groupId): JsonRes /** * Display the Edit group page. * - * @param Request $request - * @param int $companyId - * @param int $groupId * - * @return \Illuminate\Http\RedirectResponse|Response + * @return \Illuminate\Http\RedirectResponse|Response */ public function edit(Request $request, int $companyId, int $groupId) { @@ -219,10 +183,6 @@ public function edit(Request $request, int $companyId, int $groupId) /** * Update the group information. - * - * @param Request $request - * @param int $companyId - * @param int $groupId */ public function update(Request $request, int $companyId, int $groupId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Group/GroupMeetingsController.php b/app/Http/Controllers/Company/Company/Group/GroupMeetingsController.php index a41ec8542..29e5fa76c 100644 --- a/app/Http/Controllers/Company/Company/Group/GroupMeetingsController.php +++ b/app/Http/Controllers/Company/Company/Group/GroupMeetingsController.php @@ -2,41 +2,38 @@ namespace App\Http\Controllers\Company\Company\Group; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; -use App\Models\Company\Group; use App\Helpers\InstanceHelper; -use App\Models\Company\Meeting; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Group\CreateMeeting; -use App\Services\Company\Group\DestroyMeeting; -use App\Services\Company\Group\CreateAgendaItem; -use App\Services\Company\Group\UpdateAgendaItem; +use App\Http\ViewHelpers\Company\Group\GroupMeetingsViewHelper; +use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Services\Company\Group\AddGuestToMeeting; -use App\Services\Company\Group\DestroyAgendaItem; -use App\Services\Company\Group\UpdateMeetingDate; +use App\Services\Company\Group\CreateAgendaItem; +use App\Services\Company\Group\CreateMeeting; use App\Services\Company\Group\CreateMeetingDecision; +use App\Services\Company\Group\DestroyAgendaItem; +use App\Services\Company\Group\DestroyMeeting; use App\Services\Company\Group\DestroyMeetingDecision; use App\Services\Company\Group\RemoveGuestFromMeeting; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; -use App\Http\ViewHelpers\Company\Group\GroupMeetingsViewHelper; use App\Services\Company\Group\ToggleEmployeeParticipationInMeeting; +use App\Services\Company\Group\UpdateAgendaItem; +use App\Services\Company\Group\UpdateMeetingDate; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class GroupMeetingsController extends Controller { /** * Display the Meetings page. * - * @param Request $request - * @param int $companyId - * @param int $groupId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -68,9 +65,6 @@ public function index(Request $request, int $companyId, int $groupId) * A meeting doesn't have a dedicated Create screen - viewing, creating * and editing is done on the same page. * - * @param Request $request - * @param int $companyId - * @param int $groupId * * @return \Illuminate\Http\RedirectResponse */ @@ -102,10 +96,6 @@ public function create(Request $request, int $companyId, int $groupId) /** * Show the meeting page. * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -142,10 +132,6 @@ public function show(Request $request, int $companyId, int $groupId, int $meetin /** * Toggle the participation for a person in the meeting. * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId * * @return JsonResponse */ @@ -169,13 +155,6 @@ public function toggleParticipant(Request $request, int $companyId, int $groupId /** * Get the list of potential participants for this meeting. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * - * @return JsonResponse */ public function search(Request $request, int $companyId, int $groupId, int $meetingId): JsonResponse { @@ -208,13 +187,6 @@ public function search(Request $request, int $companyId, int $groupId, int $meet /** * Add participant to the meeting. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * - * @return JsonResponse */ public function addParticipant(Request $request, int $companyId, int $groupId, int $meetingId): JsonResponse { @@ -242,13 +214,6 @@ public function addParticipant(Request $request, int $companyId, int $groupId, i /** * Remove participant from the meeting. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * - * @return JsonResponse */ public function removeParticipant(Request $request, int $companyId, int $groupId, int $meetingId): JsonResponse { @@ -270,13 +235,6 @@ public function removeParticipant(Request $request, int $companyId, int $groupId /** * Set the meeting date. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * - * @return JsonResponse */ public function setDate(Request $request, int $companyId, int $groupId, int $meetingId): JsonResponse { @@ -300,13 +258,6 @@ public function setDate(Request $request, int $companyId, int $groupId, int $mee /** * Destroy the meeting. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $groupId, int $meetingId): JsonResponse { @@ -327,13 +278,6 @@ public function destroy(Request $request, int $companyId, int $groupId, int $mee /** * Create an agenda item. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * - * @return JsonResponse */ public function createAgendaItem(Request $request, int $companyId, int $groupId, int $meetingId): JsonResponse { @@ -371,14 +315,6 @@ public function createAgendaItem(Request $request, int $companyId, int $groupId, /** * Update the agenda item summary. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * @param int $agendaItemId - * - * @return JsonResponse */ public function updateAgendaItem(Request $request, int $companyId, int $groupId, int $meetingId, int $agendaItemId): JsonResponse { @@ -417,12 +353,6 @@ public function updateAgendaItem(Request $request, int $companyId, int $groupId, /** * Destroy the agenda item. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * @param int $agendaItemId */ public function destroyAgendaItem(Request $request, int $companyId, int $groupId, int $meetingId, int $agendaItemId): JsonResponse { @@ -444,13 +374,6 @@ public function destroyAgendaItem(Request $request, int $companyId, int $groupId /** * Get the potential presenters of the agenda item. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * - * @return JsonResponse */ public function getPresenters(Request $request, int $companyId, int $groupId, int $meetingId): JsonResponse { @@ -477,14 +400,6 @@ public function getPresenters(Request $request, int $companyId, int $groupId, in /** * Create a decision. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * @param int $agendaItemId - * - * @return JsonResponse */ public function createDecision(Request $request, int $companyId, int $groupId, int $meetingId, int $agendaItemId): JsonResponse { @@ -510,15 +425,6 @@ public function createDecision(Request $request, int $companyId, int $groupId, i /** * Destroy a decision. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * @param int $meetingId - * @param int $agendaItemId - * @param int $decisionId - * - * @return JsonResponse */ public function destroyDecision(Request $request, int $companyId, int $groupId, int $meetingId, int $agendaItemId, int $decisionId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Group/GroupMembersController.php b/app/Http/Controllers/Company/Company/Group/GroupMembersController.php index c2845f925..43b62aec2 100644 --- a/app/Http/Controllers/Company/Company/Group/GroupMembersController.php +++ b/app/Http/Controllers/Company/Company/Group/GroupMembersController.php @@ -2,29 +2,26 @@ namespace App\Http\Controllers\Company\Company\Group; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; -use App\Models\Company\Group; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\Group\GroupMembersViewHelper; +use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; +use App\Models\Company\Group; use App\Services\Company\Group\AddEmployeeToGroup; use App\Services\Company\Group\RemoveEmployeeFromGroup; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Company\Group\GroupShowViewHelper; -use App\Http\ViewHelpers\Company\Group\GroupMembersViewHelper; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class GroupMembersController extends Controller { /** * Display the list of members in the group. * - * @param Request $request - * @param int $companyId - * @param int $groupId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -52,12 +49,6 @@ public function index(Request $request, int $companyId, int $groupId) /** * Get the list of potential new members for this group. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * - * @return JsonResponse */ public function search(Request $request, int $companyId, int $groupId): JsonResponse { @@ -83,12 +74,6 @@ public function search(Request $request, int $companyId, int $groupId): JsonResp /** * Add the member to the group. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $groupId): JsonResponse { @@ -117,12 +102,6 @@ public function store(Request $request, int $companyId, int $groupId): JsonRespo /** * Remove the member from the group. - * - * @param Request $request - * @param int $companyId - * @param int $groupId - * - * @return JsonResponse */ public function remove(Request $request, int $companyId, int $groupId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/HR/CompanyHRAskMeAnythingController.php b/app/Http/Controllers/Company/Company/HR/CompanyHRAskMeAnythingController.php index 5c105ac7f..36233e15b 100644 --- a/app/Http/Controllers/Company/Company/HR/CompanyHRAskMeAnythingController.php +++ b/app/Http/Controllers/Company/Company/HR/CompanyHRAskMeAnythingController.php @@ -2,29 +2,27 @@ namespace App\Http\Controllers\Company\Company\HR; -use Carbon\Carbon; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Models\Company\AskMeAnythingSession; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Company\HR\CompanyHRAskMeAnythingViewHelper; +use App\Models\Company\AskMeAnythingSession; +use App\Services\Company\Adminland\AskMeAnything\AnswerAskMeAnythingQuestion; use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingSession; +use App\Services\Company\Adminland\AskMeAnything\DestroyAskMeAnythingSession; use App\Services\Company\Adminland\AskMeAnything\ToggleAskMeAnythingSession; use App\Services\Company\Adminland\AskMeAnything\UpdateAskMeAnythingSession; -use App\Services\Company\Adminland\AskMeAnything\AnswerAskMeAnythingQuestion; -use App\Services\Company\Adminland\AskMeAnything\DestroyAskMeAnythingSession; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class CompanyHRAskMeAnythingController extends Controller { /** * Show the list of Ask Me Anything sessions. * - * @param Request $request - * @param int $companyId * @return mixed */ public function index(Request $request, int $companyId) @@ -43,8 +41,6 @@ public function index(Request $request, int $companyId) /** * Show the create Ask Me Anything session screen. * - * @param Request $request - * @param int $companyId * @return mixed */ public function create(Request $request, int $companyId) @@ -62,10 +58,6 @@ public function create(Request $request, int $companyId) /** * Create the session. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -98,9 +90,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the Ask Me Anything session. * - * @param Request $request - * @param int $companyId - * @param int $sessionId * @return mixed */ public function show(Request $request, int $companyId, int $sessionId) @@ -128,9 +117,6 @@ public function show(Request $request, int $companyId, int $sessionId) /** * Show the Edit Ask Me Anything session screen. * - * @param Request $request - * @param int $companyId - * @param int $sessionId * @return mixed */ public function edit(Request $request, int $companyId, int $sessionId) @@ -155,11 +141,6 @@ public function edit(Request $request, int $companyId, int $sessionId) /** * Update the session. - * - * @param Request $request - * @param int $companyId - * @param int $sessionId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $sessionId): JsonResponse { @@ -193,9 +174,6 @@ public function update(Request $request, int $companyId, int $sessionId): JsonRe /** * Show the Ask Me Anything session for the answered questions. * - * @param Request $request - * @param int $companyId - * @param int $sessionId * @return mixed */ public function showAnswered(Request $request, int $companyId, int $sessionId) @@ -222,12 +200,6 @@ public function showAnswered(Request $request, int $companyId, int $sessionId) /** * Toggle the question. - * - * @param Request $request - * @param int $companyId - * @param int $sessionId - * @param int $questionId - * @return JsonResponse */ public function toggle(Request $request, int $companyId, int $sessionId, int $questionId): JsonResponse { @@ -250,11 +222,6 @@ public function toggle(Request $request, int $companyId, int $sessionId, int $qu /** * Toggle the session. - * - * @param Request $request - * @param int $companyId - * @param int $sessionId - * @return JsonResponse */ public function toggleStatus(Request $request, int $companyId, int $sessionId): JsonResponse { @@ -277,9 +244,6 @@ public function toggleStatus(Request $request, int $companyId, int $sessionId): /** * Show the Delete Ask Me Anything session screen. * - * @param Request $request - * @param int $companyId - * @param int $sessionId * @return mixed */ public function delete(Request $request, int $companyId, int $sessionId) @@ -304,11 +268,6 @@ public function delete(Request $request, int $companyId, int $sessionId) /** * Destroy the session. - * - * @param Request $request - * @param int $companyId - * @param int $sessionId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $sessionId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/HR/CompanyHRController.php b/app/Http/Controllers/Company/Company/HR/CompanyHRController.php index 41d395764..16d015eac 100644 --- a/app/Http/Controllers/Company/Company/HR/CompanyHRController.php +++ b/app/Http/Controllers/Company/Company/HR/CompanyHRController.php @@ -2,21 +2,19 @@ namespace App\Http\Controllers\Company\Company\HR; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Company\CompanyViewHelper; use App\Http\ViewHelpers\Company\HR\CompanyHRViewHelper; +use App\Models\Company\Company; +use Inertia\Inertia; +use Inertia\Response; class CompanyHRController extends Controller { /** * Show the HR main page on the Company tab. - * - * @return Response */ public function index(): Response { diff --git a/app/Http/Controllers/Company/Company/HR/CompanyHRPositionController.php b/app/Http/Controllers/Company/Company/HR/CompanyHRPositionController.php index 5a4a74680..c64b66c38 100644 --- a/app/Http/Controllers/Company/Company/HR/CompanyHRPositionController.php +++ b/app/Http/Controllers/Company/Company/HR/CompanyHRPositionController.php @@ -2,25 +2,22 @@ namespace App\Http\Controllers\Company\Company\HR; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; +use App\Helpers\NotificationHelper; +use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\HR\CompanyHRPositionShowViewHelper; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Position; -use App\Helpers\NotificationHelper; -use App\Http\Controllers\Controller; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Company\HR\CompanyHRPositionShowViewHelper; +use Illuminate\Http\Request; +use Inertia\Inertia; class CompanyHRPositionController extends Controller { /** * Show the HR main page on the Company tab. * - * @param Request $request - * @param int $companyId - * @param int $positionId * @return mixed */ public function show(Request $request, int $companyId, int $positionId) diff --git a/app/Http/Controllers/Company/Company/KB/KnowledgeBaseController.php b/app/Http/Controllers/Company/Company/KB/KnowledgeBaseController.php index 9a04a91e7..0ce5aa927 100644 --- a/app/Http/Controllers/Company/Company/KB/KnowledgeBaseController.php +++ b/app/Http/Controllers/Company/Company/KB/KnowledgeBaseController.php @@ -2,30 +2,26 @@ namespace App\Http\Controllers\Company\Company\KB; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Wiki; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Wiki\CreateWiki; -use App\Services\Company\Wiki\UpdateWiki; -use App\Services\Company\Wiki\DestroyWiki; use App\Http\ViewHelpers\Company\CompanyViewHelper; -use App\Http\ViewHelpers\Company\KB\WikiViewHelper; use App\Http\ViewHelpers\Company\KB\WikiShowViewHelper; +use App\Http\ViewHelpers\Company\KB\WikiViewHelper; +use App\Models\Company\Wiki; +use App\Services\Company\Wiki\CreateWiki; +use App\Services\Company\Wiki\DestroyWiki; +use App\Services\Company\Wiki\UpdateWiki; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class KnowledgeBaseController extends Controller { /** * Display the list of wikis. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function index(Request $request, int $companyId): Response { @@ -42,10 +38,6 @@ public function index(Request $request, int $companyId): Response /** * Show the Create wiki page. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function create(Request $request, int $companyId): Response { @@ -56,10 +48,6 @@ public function create(Request $request, int $companyId): Response /** * Actually create the wiki. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -87,9 +75,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Display a wiki. * - * @param Request $request - * @param int $companyId - * @param int $wikiId * @return mixed */ public function show(Request $request, int $companyId, int $wikiId) @@ -112,9 +97,6 @@ public function show(Request $request, int $companyId, int $wikiId) /** * Show the Update wiki page. * - * @param Request $request - * @param int $companyId - * @param int $wikiId * @return mixed */ public function edit(Request $request, int $companyId, int $wikiId) @@ -136,11 +118,6 @@ public function edit(Request $request, int $companyId, int $wikiId) /** * Update the wiki. - * - * @param Request $request - * @param int $companyId - * @param int $wikiId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $wikiId): JsonResponse { @@ -168,11 +145,6 @@ public function update(Request $request, int $companyId, int $wikiId): JsonRespo /** * Delete the wiki. - * - * @param Request $request - * @param int $companyId - * @param int $wikiId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $wikiId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/KB/KnowledgeBasePageController.php b/app/Http/Controllers/Company/Company/KB/KnowledgeBasePageController.php index ba1b35863..6bbd438fe 100644 --- a/app/Http/Controllers/Company/Company/KB/KnowledgeBasePageController.php +++ b/app/Http/Controllers/Company/Company/KB/KnowledgeBasePageController.php @@ -2,34 +2,30 @@ namespace App\Http\Controllers\Company\Company\KB; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Page; -use App\Models\Company\Wiki; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Wiki\UpdatePage; -use App\Services\Company\Wiki\DestroyPage; -use App\Services\Company\Wiki\AddPageToWiki; use App\Http\ViewHelpers\Company\CompanyViewHelper; -use App\Http\ViewHelpers\Company\KB\WikiViewHelper; use App\Http\ViewHelpers\Company\KB\PageEditViewHelper; use App\Http\ViewHelpers\Company\KB\PageShowViewHelper; use App\Http\ViewHelpers\Company\KB\WikiShowViewHelper; +use App\Http\ViewHelpers\Company\KB\WikiViewHelper; +use App\Models\Company\Page; +use App\Models\Company\Wiki; +use App\Services\Company\Wiki\AddPageToWiki; +use App\Services\Company\Wiki\DestroyPage; use App\Services\Company\Wiki\IncrementPageViewForPage; +use App\Services\Company\Wiki\UpdatePage; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class KnowledgeBasePageController extends Controller { /** * Display the list of wikis. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function index(Request $request, int $companyId): Response { @@ -47,9 +43,6 @@ public function index(Request $request, int $companyId): Response /** * Show the Create Page page. * - * @param Request $request - * @param int $companyId - * @param int $wikiId * @return mixed */ public function create(Request $request, int $companyId, int $wikiId) @@ -71,11 +64,6 @@ public function create(Request $request, int $companyId, int $wikiId) /** * Actually create the page. - * - * @param Request $request - * @param int $companyId - * @param int $wikiId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $wikiId): JsonResponse { @@ -106,10 +94,6 @@ public function store(Request $request, int $companyId, int $wikiId): JsonRespon /** * Display a wiki. * - * @param Request $request - * @param int $companyId - * @param int $wikiId - * @param int $pageId * @return mixed */ public function show(Request $request, int $companyId, int $wikiId, int $pageId) @@ -146,10 +130,6 @@ public function show(Request $request, int $companyId, int $wikiId, int $pageId) /** * Show the Edit Page page. * - * @param Request $request - * @param int $companyId - * @param int $wikiId - * @param int $pageId * @return mixed */ public function edit(Request $request, int $companyId, int $wikiId, int $pageId) @@ -178,12 +158,6 @@ public function edit(Request $request, int $companyId, int $wikiId, int $pageId) /** * Update the page. - * - * @param Request $request - * @param int $companyId - * @param int $wikiId - * @param int $pageId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $wikiId, int $pageId): JsonResponse { @@ -214,12 +188,6 @@ public function update(Request $request, int $companyId, int $wikiId, int $pageI /** * Delete the page. - * - * @param Request $request - * @param int $companyId - * @param int $wikiId - * @param int $pageId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $wikiId, int $pageId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/PositionController.php b/app/Http/Controllers/Company/Company/PositionController.php index 61a5ffc97..3d5b3884d 100644 --- a/app/Http/Controllers/Company/Company/PositionController.php +++ b/app/Http/Controllers/Company/Company/PositionController.php @@ -3,17 +3,15 @@ namespace App\Http\Controllers\Company\Company; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\Company; +use Illuminate\Http\JsonResponse; class PositionController extends Controller { /** * Get the list of positions in the company. - * - * @return JsonResponse */ public function index(): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectBoardsController.php b/app/Http/Controllers/Company/Company/Project/ProjectBoardsController.php index bc1aa82ad..6e04a28ff 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectBoardsController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectBoardsController.php @@ -2,26 +2,23 @@ namespace App\Http\Controllers\Company\Company\Project; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Project\CreateProjectBoard; -use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; use App\Http\ViewHelpers\Company\Project\ProjectBoardsViewHelper; +use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Models\Company\Project; +use App\Services\Company\Project\CreateProjectBoard; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class ProjectBoardsController extends Controller { /** * Display the list of boards in the project. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -43,12 +40,6 @@ public function index(Request $request, int $companyId, int $projectId) /** * Add a board to the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId): JsonResponse { @@ -80,10 +71,6 @@ public function store(Request $request, int $companyId, int $projectId): JsonRes /** * Display the board summary. * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId * * @return \Illuminate\Http\RedirectResponse|Response */ diff --git a/app/Http/Controllers/Company/Company/Project/ProjectController.php b/app/Http/Controllers/Company/Company/Project/ProjectController.php index 62d71db55..334e52090 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectController.php @@ -2,42 +2,37 @@ namespace App\Http\Controllers\Company\Company\Project; -use Inertia\Inertia; -use Inertia\Response; +use App\Exceptions\ProjectCodeAlreadyExistException; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; -use App\Helpers\StringHelper; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; +use App\Helpers\StringHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\CompanyViewHelper; +use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Project; +use App\Services\Company\Project\ClearProjectLead; use App\Services\Company\Project\CloseProject; -use App\Services\Company\Project\PauseProject; -use App\Services\Company\Project\StartProject; use App\Services\Company\Project\CreateProject; -use App\Services\Company\Project\DestroyProject; -use App\Services\Company\Project\ClearProjectLead; -use App\Http\ViewHelpers\Company\CompanyViewHelper; use App\Services\Company\Project\CreateProjectLink; -use App\Services\Company\Project\UpdateProjectLead; -use App\Exceptions\ProjectCodeAlreadyExistException; -use App\Services\Company\Project\DestroyProjectLink; use App\Services\Company\Project\CreateProjectStatus; +use App\Services\Company\Project\DestroyProject; +use App\Services\Company\Project\DestroyProjectLink; +use App\Services\Company\Project\PauseProject; +use App\Services\Company\Project\StartProject; use App\Services\Company\Project\UpdateProjectDescription; use App\Services\Company\Project\UpdateProjectInformation; -use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Services\Company\Project\UpdateProjectLead; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class ProjectController extends Controller { /** * Display the list of projects. - * - * @param Request $request - * @param int $companyId - * - * @return Response */ public function index(Request $request, int $companyId): Response { @@ -54,12 +49,6 @@ public function index(Request $request, int $companyId): Response /** * Display the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return Response */ public function show(Request $request, int $companyId, int $projectId): Response { @@ -79,12 +68,6 @@ public function show(Request $request, int $companyId, int $projectId): Response /** * Start the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function start(Request $request, int $companyId, int $projectId): JsonResponse { @@ -106,12 +89,6 @@ public function start(Request $request, int $companyId, int $projectId): JsonRes /** * Pause the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function pause(Request $request, int $companyId, int $projectId): JsonResponse { @@ -133,12 +110,6 @@ public function pause(Request $request, int $companyId, int $projectId): JsonRes /** * Close the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function close(Request $request, int $companyId, int $projectId): JsonResponse { @@ -160,12 +131,6 @@ public function close(Request $request, int $companyId, int $projectId): JsonRes /** * Display the Edit project page. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return Response */ public function edit(Request $request, int $companyId, int $projectId): Response { @@ -180,12 +145,6 @@ public function edit(Request $request, int $companyId, int $projectId): Response /** * Update the project information. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function update(Request $request, int $companyId, int $projectId): JsonResponse { @@ -223,12 +182,6 @@ public function update(Request $request, int $companyId, int $projectId): JsonRe /** * Update the project description. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function description(Request $request, int $companyId, int $projectId): JsonResponse { @@ -255,9 +208,6 @@ public function description(Request $request, int $companyId, int $projectId): J /** * Show the delete project view. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -278,12 +228,6 @@ public function delete(Request $request, int $companyId, int $projectId) /** * Actually delete project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId): JsonResponse { @@ -306,12 +250,6 @@ public function destroy(Request $request, int $companyId, int $projectId): JsonR /** * Assign project lead. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function assign(Request $request, int $companyId, int $projectId): JsonResponse { @@ -347,12 +285,6 @@ public function assign(Request $request, int $companyId, int $projectId): JsonRe /** * Clear project lead. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function clear(Request $request, int $companyId, int $projectId): JsonResponse { @@ -375,11 +307,6 @@ public function clear(Request $request, int $companyId, int $projectId): JsonRes /** * Display the create new project form. - * - * @param Request $request - * @param int $companyId - * - * @return Response */ public function create(Request $request, int $companyId): Response { @@ -390,11 +317,6 @@ public function create(Request $request, int $companyId): Response /** * Search an employee to assign as project lead. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function search(Request $request, int $companyId): JsonResponse { @@ -408,11 +330,6 @@ public function search(Request $request, int $companyId): JsonResponse /** * Actually create the new project. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -451,12 +368,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Create a new project link. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function createLink(Request $request, int $companyId, int $projectId): JsonResponse { @@ -486,13 +397,6 @@ public function createLink(Request $request, int $companyId, int $projectId): Js /** * Destroy a new project link. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $linkId - * - * @return JsonResponse */ public function destroyLink(Request $request, int $companyId, int $projectId, int $linkId): JsonResponse { @@ -516,9 +420,6 @@ public function destroyLink(Request $request, int $companyId, int $projectId, in /** * Display a Create status page. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -549,9 +450,6 @@ public function createStatus(Request $request, int $companyId, int $projectId) /** * Save the new project status. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return JsonResponse */ diff --git a/app/Http/Controllers/Company/Company/Project/ProjectDecisionsController.php b/app/Http/Controllers/Company/Company/Project/ProjectDecisionsController.php index 5a57789a4..bb3a35bab 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectDecisionsController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectDecisionsController.php @@ -2,31 +2,28 @@ namespace App\Http\Controllers\Company\Company\Project; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\Project\ProjectDecisionsViewHelper; +use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Services\Company\Project\CreateProjectDecision; use App\Services\Company\Project\DestroyProjectDecision; -use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; -use App\Http\ViewHelpers\Company\Project\ProjectDecisionsViewHelper; +use Carbon\Carbon; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class ProjectDecisionsController extends Controller { /** * Display the list of decisions taken in the project. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -48,13 +45,6 @@ public function index(Request $request, int $companyId, int $projectId) /** * Delete a decision. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $decisionId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId, int $decisionId): JsonResponse { @@ -77,11 +67,6 @@ public function destroy(Request $request, int $companyId, int $projectId, int $d /** * Search an employee that made a decision. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function search(Request $request, int $companyId): JsonResponse { @@ -95,12 +80,6 @@ public function search(Request $request, int $companyId): JsonResponse /** * Add a decision to the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId): JsonResponse { @@ -133,7 +112,7 @@ public function store(Request $request, int $companyId, int $projectId): JsonRes $decidersCollection->push([ 'id' => $decider->id, 'name' => $decider->name, - 'avatar' => ImageHelper::getAvatar($decider, ), + 'avatar' => ImageHelper::getAvatar($decider), 'url' => route('employees.show', [ 'company' => $loggedCompany, 'employee' => $decider, diff --git a/app/Http/Controllers/Company/Company/Project/ProjectFilesController.php b/app/Http/Controllers/Company/Company/Project/ProjectFilesController.php index f126dd778..27b4e7a6b 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectFilesController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectFilesController.php @@ -2,32 +2,29 @@ namespace App\Http\Controllers\Company\Company\Project; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; use App\Helpers\FileHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Project\AddFileToProject; +use App\Http\ViewHelpers\Company\Project\ProjectFilesViewHelper; +use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Models\Company\Project; use App\Services\Company\Adminland\File\UploadFile; +use App\Services\Company\Project\AddFileToProject; use App\Services\Company\Project\DestroyProjectFile; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; -use App\Http\ViewHelpers\Company\Project\ProjectFilesViewHelper; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class ProjectFilesController extends Controller { /** * Display the list of files in the project. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -50,12 +47,6 @@ public function index(Request $request, int $companyId, int $projectId) /** * Store a file. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse|null */ public function store(Request $request, int $companyId, int $projectId): ?JsonResponse { @@ -110,13 +101,6 @@ public function store(Request $request, int $companyId, int $projectId): ?JsonRe /** * Destroy a file. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $fileId - * - * @return JsonResponse|null */ public function destroy(Request $request, int $companyId, int $projectId, int $fileId): ?JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssueAssigneesController.php b/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssueAssigneesController.php index 71d328abc..73b1011a0 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssueAssigneesController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssueAssigneesController.php @@ -3,23 +3,19 @@ namespace App\Http\Controllers\Company\Company\Project\ProjectIssue; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\Project\ProjectIssuesViewHelper; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Services\Company\Project\AssignAssigneeToProjectIssue; use App\Services\Company\Project\RemoveAssigneeFromProjectIssue; -use App\Http\ViewHelpers\Company\Project\ProjectIssuesViewHelper; +use Illuminate\Http\Request; class ProjectIssueAssigneesController extends Controller { /** * Get the list of members in the project. - * - * @param Request $request - * @param integer $companyId - * @param integer $projectId */ public function index(Request $request, int $companyId, int $projectId) { @@ -35,12 +31,6 @@ public function index(Request $request, int $companyId, int $projectId) /** * Save the assignee. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId - * @param int $issueId */ public function store(Request $request, int $companyId, int $projectId, int $boardId, int $issueId) { @@ -83,13 +73,6 @@ public function store(Request $request, int $companyId, int $projectId, int $boa /** * Remove the assignee. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId - * @param int $issueId - * @param int $assigneeId */ public function destroy(Request $request, int $companyId, int $projectId, int $boardId, int $issueId, int $assigneeId) { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuePointsController.php b/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuePointsController.php index 254011158..519b79ef4 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuePointsController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuePointsController.php @@ -2,21 +2,15 @@ namespace App\Http\Controllers\Company\Company\Project\ProjectIssue; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Http\Controllers\Controller; use App\Services\Company\Project\UpdateProjectIssueStoryPoint; +use Illuminate\Http\Request; class ProjectIssuePointsController extends Controller { /** * Save the number of story points for the given task. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId - * @param int $issueId */ public function store(Request $request, int $companyId, int $projectId, int $boardId, int $issueId) { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuesController.php b/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuesController.php index a97afbb78..655831d41 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuesController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectIssue/ProjectIssuesController.php @@ -2,28 +2,24 @@ namespace App\Http\Controllers\Company\Company\Project\ProjectIssue; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\Project\ProjectIssuesViewHelper; use App\Models\Company\ProjectIssue; use App\Services\Company\Project\CreateProjectIssue; use App\Services\Company\Project\DestroyProjectIssue; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Company\Project\ProjectIssuesViewHelper; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class ProjectIssuesController extends Controller { /** * Display the issue. * - * @param Request $request - * @param int $companyId - * @param string $issueKey - * @param string $issueSlug * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -60,12 +56,6 @@ public function show(Request $request, int $companyId, string $issueKey, string /** * Save the issue. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId - * @param int $sprintId */ public function store(Request $request, int $companyId, int $projectId, int $boardId, int $sprintId) { @@ -119,13 +109,6 @@ public function store(Request $request, int $companyId, int $projectId, int $boa /** * Destroy the issue. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId - * @param int $sprintId - * @param int $issueId */ public function destroy(Request $request, int $companyId, int $projectId, int $boardId, int $sprintId, int $issueId) { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectMembersController.php b/app/Http/Controllers/Company/Company/Project/ProjectMembersController.php index 7bbbcd80e..401ba3c21 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectMembersController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectMembersController.php @@ -2,31 +2,28 @@ namespace App\Http\Controllers\Company\Company\Project; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Project\AddEmployeeToProject; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Http\ViewHelpers\Company\Project\ProjectMembersViewHelper; use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Models\Company\Project; +use App\Services\Company\Project\AddEmployeeToProject; use App\Services\Company\Project\RemoveEmployeeFromProject; -use App\Http\ViewHelpers\Company\Project\ProjectMembersViewHelper; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class ProjectMembersController extends Controller { /** * Display the list of members in the project. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -47,12 +44,6 @@ public function index(Request $request, int $companyId, int $projectId) /** * Returns all potential members, displayed in the Add member modal. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function search(Request $request, int $companyId, int $projectId): JsonResponse { @@ -75,12 +66,6 @@ public function search(Request $request, int $companyId, int $projectId): JsonRe /** * Add an employee to the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId): JsonResponse { @@ -118,13 +103,6 @@ public function store(Request $request, int $companyId, int $projectId): JsonRes /** * Remove an employee from the project. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $employeeId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectMessagesCommentController.php b/app/Http/Controllers/Company/Company/Project/ProjectMessagesCommentController.php index bf2374201..14b563921 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectMessagesCommentController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectMessagesCommentController.php @@ -4,26 +4,19 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; -use App\Helpers\StringHelper; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; +use App\Helpers\StringHelper; use App\Http\Controllers\Controller; use App\Services\Company\Project\CreateProjectMessageComment; -use App\Services\Company\Project\UpdateProjectMessageComment; use App\Services\Company\Project\DestroyProjectMessageComment; +use App\Services\Company\Project\UpdateProjectMessageComment; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class ProjectMessagesCommentController extends Controller { /** * Create the message's comment. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectMessageId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId, int $projectMessageId): JsonResponse { @@ -63,14 +56,6 @@ public function store(Request $request, int $companyId, int $projectId, int $pro /** * Edit a comment. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectMessageId - * @param int $commentId - * - * @return JsonResponse */ public function update(Request $request, int $companyId, int $projectId, int $projectMessageId, int $commentId): JsonResponse { @@ -111,14 +96,6 @@ public function update(Request $request, int $companyId, int $projectId, int $pr /** * Destroy the message. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectMessageId - * @param int $commentId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId, int $projectMessageId, int $commentId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectMessagesController.php b/app/Http/Controllers/Company/Company/Project/ProjectMessagesController.php index fb9a937af..a18fda8a8 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectMessagesController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectMessagesController.php @@ -2,31 +2,28 @@ namespace App\Http\Controllers\Company\Company\Project; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\Project\ProjectMessagesViewHelper; +use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; use App\Services\Company\Project\CreateProjectMessage; -use App\Services\Company\Project\UpdateProjectMessage; use App\Services\Company\Project\DestroyProjectMessage; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Project\MarkProjectMessageasRead; -use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; -use App\Http\ViewHelpers\Company\Project\ProjectMessagesViewHelper; +use App\Services\Company\Project\UpdateProjectMessage; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class ProjectMessagesController extends Controller { /** * Display the list of messages in the project. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -49,9 +46,6 @@ public function index(Request $request, int $companyId, int $projectId) /** * Display the Create message view. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -70,12 +64,6 @@ public function create(Request $request, int $companyId, int $projectId) /** * Create the message. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId): JsonResponse { @@ -100,10 +88,6 @@ public function store(Request $request, int $companyId, int $projectId): JsonRes /** * Display the detail of a given message. * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $messageId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -141,10 +125,6 @@ public function show(Request $request, int $companyId, int $projectId, int $mess /** * Display the edit message page. * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $messageId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -173,13 +153,6 @@ public function edit(Request $request, int $companyId, int $projectId, int $mess /** * Actually update the message. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectMessageId - * - * @return JsonResponse */ public function update(Request $request, int $companyId, int $projectId, int $projectMessageId): JsonResponse { @@ -204,13 +177,6 @@ public function update(Request $request, int $companyId, int $projectId, int $pr /** * Destroy the message. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectMessageId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId, int $projectMessageId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectSprintController.php b/app/Http/Controllers/Company/Company/Project/ProjectSprintController.php index d1bbab401..aeb29fe94 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectSprintController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectSprintController.php @@ -2,23 +2,16 @@ namespace App\Http\Controllers\Company\Company\Project; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Http\Controllers\Controller; use App\Services\Company\Project\ToggleProjectSprint; use App\Services\Company\Project\UpdateProjectIssuePosition; +use Illuminate\Http\Request; class ProjectSprintController extends Controller { /** * Store the position of the issues in the sprint. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId - * @param int $sprintId - * @param int $storyId */ public function storePosition(Request $request, int $companyId, int $projectId, int $boardId, int $sprintId, int $storyId) { @@ -43,12 +36,6 @@ public function storePosition(Request $request, int $companyId, int $projectId, /** * Collapse or expand the sprint for the user. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $boardId - * @param int $sprintId */ public function toggle(Request $request, int $companyId, int $projectId, int $boardId, int $sprintId) { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectTaskListsController.php b/app/Http/Controllers/Company/Company/Project/ProjectTaskListsController.php index 9ce0b97dc..af3cdb6b4 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectTaskListsController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectTaskListsController.php @@ -2,25 +2,19 @@ namespace App\Http\Controllers\Company\Company\Project; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\Project\ProjectTasksViewHelper; use App\Services\Company\Project\CreateProjectTaskList; -use App\Services\Company\Project\UpdateProjectTaskList; use App\Services\Company\Project\DestroyProjectTaskList; -use App\Http\ViewHelpers\Company\Project\ProjectTasksViewHelper; +use App\Services\Company\Project\UpdateProjectTaskList; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class ProjectTaskListsController extends Controller { /** * Create the task list. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId): JsonResponse { @@ -44,13 +38,6 @@ public function store(Request $request, int $companyId, int $projectId): JsonRes /** * Update the task list. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectTaskListId - * - * @return JsonResponse */ public function update(Request $request, int $companyId, int $projectId, int $projectTaskListId): JsonResponse { @@ -75,13 +62,6 @@ public function update(Request $request, int $companyId, int $projectId, int $pr /** * Delete the task list. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectTaskListId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId, int $projectTaskListId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectTasksCommentController.php b/app/Http/Controllers/Company/Company/Project/ProjectTasksCommentController.php index 10446cd04..e4554b33f 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectTasksCommentController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectTasksCommentController.php @@ -4,26 +4,19 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; -use App\Helpers\StringHelper; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; +use App\Helpers\StringHelper; use App\Http\Controllers\Controller; use App\Services\Company\Project\CreateProjectTaskComment; -use App\Services\Company\Project\UpdateProjectTaskComment; use App\Services\Company\Project\DestroyProjectTaskComment; +use App\Services\Company\Project\UpdateProjectTaskComment; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class ProjectTasksCommentController extends Controller { /** * Create the task's comment. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectTaskId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId, int $projectTaskId): JsonResponse { @@ -63,14 +56,6 @@ public function store(Request $request, int $companyId, int $projectId, int $pro /** * Edit a comment. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectTaskId - * @param int $commentId - * - * @return JsonResponse */ public function update(Request $request, int $companyId, int $projectId, int $projectTaskId, int $commentId): JsonResponse { @@ -111,14 +96,6 @@ public function update(Request $request, int $companyId, int $projectId, int $pr /** * Destroy the comment. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectTaskId - * @param int $commentId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId, int $projectTaskId, int $commentId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/Project/ProjectTasksController.php b/app/Http/Controllers/Company/Company/Project/ProjectTasksController.php index 8c8cb688a..671272a76 100644 --- a/app/Http/Controllers/Company/Company/Project/ProjectTasksController.php +++ b/app/Http/Controllers/Company/Company/Project/ProjectTasksController.php @@ -2,37 +2,34 @@ namespace App\Http\Controllers\Company\Company\Project; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; -use App\Helpers\TimeHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use Illuminate\Http\JsonResponse; -use Illuminate\Support\Facades\DB; use App\Helpers\NotificationHelper; -use App\Models\Company\ProjectTask; +use App\Helpers\TimeHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Company\Project\ProjectTasksViewHelper; +use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; +use App\Models\Company\Project; +use App\Models\Company\ProjectTask; +use App\Services\Company\Employee\Timesheet\CreateTimeTrackingEntry; +use App\Services\Company\Project\AssignProjectTaskToEmployee; use App\Services\Company\Project\CreateProjectTask; +use App\Services\Company\Project\DestroyProjectTask; use App\Services\Company\Project\ToggleProjectTask; use App\Services\Company\Project\UpdateProjectTask; -use App\Services\Company\Project\DestroyProjectTask; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Company\Project\ProjectViewHelper; -use App\Services\Company\Project\AssignProjectTaskToEmployee; -use App\Http\ViewHelpers\Company\Project\ProjectTasksViewHelper; -use App\Services\Company\Employee\Timesheet\CreateTimeTrackingEntry; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\DB; +use Inertia\Inertia; +use Inertia\Response; class ProjectTasksController extends Controller { /** * Display the list of tasks in the project. * - * @param Request $request - * @param int $companyId - * @param int $projectId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -55,10 +52,6 @@ public function index(Request $request, int $companyId, int $projectId) /** * Display the detail of a task. * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $taskId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -91,12 +84,6 @@ public function show(Request $request, int $companyId, int $projectId, int $task /** * Create the task. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $projectId): JsonResponse { @@ -151,13 +138,6 @@ public function store(Request $request, int $companyId, int $projectId): JsonRes /** * Actually update the task. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $taskId - * - * @return JsonResponse */ public function update(Request $request, int $companyId, int $projectId, int $taskId): JsonResponse { @@ -217,13 +197,6 @@ public function update(Request $request, int $companyId, int $projectId, int $ta /** * Actually update the message. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $projectTaskId - * - * @return JsonResponse */ public function toggle(Request $request, int $companyId, int $projectId, int $projectTaskId): JsonResponse { @@ -246,13 +219,6 @@ public function toggle(Request $request, int $companyId, int $projectId, int $pr /** * Destroy the task. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $taskId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $projectId, int $taskId): JsonResponse { @@ -275,13 +241,6 @@ public function destroy(Request $request, int $companyId, int $projectId, int $t /** * Get the time tracking entries for the given task. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $taskId - * - * @return JsonResponse */ public function timeTrackingEntries(Request $request, int $companyId, int $projectId, int $taskId): JsonResponse { @@ -305,13 +264,6 @@ public function timeTrackingEntries(Request $request, int $companyId, int $proje /** * Get the time tracking entries for the given task. - * - * @param Request $request - * @param int $companyId - * @param int $projectId - * @param int $taskId - * - * @return JsonResponse */ public function logTime(Request $request, int $companyId, int $projectId, int $taskId): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/PronounController.php b/app/Http/Controllers/Company/Company/PronounController.php index b6aa367a5..bdd8701a0 100644 --- a/app/Http/Controllers/Company/Company/PronounController.php +++ b/app/Http/Controllers/Company/Company/PronounController.php @@ -2,17 +2,15 @@ namespace App\Http\Controllers\Company\Company; -use App\Models\Company\Company; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\Company; +use Illuminate\Http\JsonResponse; class PronounController extends Controller { /** * Get the list of pronouns in the company. - * - * @return JsonResponse */ public function index(): JsonResponse { diff --git a/app/Http/Controllers/Company/Company/QuestionController.php b/app/Http/Controllers/Company/Company/QuestionController.php index 04b677065..d094d5132 100644 --- a/app/Http/Controllers/Company/Company/QuestionController.php +++ b/app/Http/Controllers/Company/Company/QuestionController.php @@ -2,26 +2,24 @@ namespace App\Http\Controllers\Company\Company; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Team; -use Illuminate\Http\Request; -use App\Models\Company\Answer; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use App\Helpers\PaginatorHelper; -use App\Models\Company\Question; use App\Helpers\NotificationHelper; +use App\Helpers\PaginatorHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Company\CompanyQuestionViewHelper; +use App\Models\Company\Answer; +use App\Models\Company\Company; +use App\Models\Company\Question; +use App\Models\Company\Team; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class QuestionController extends Controller { /** * All the questions in the company, for public use. - * - * @return Response */ public function index(): Response { @@ -38,9 +36,6 @@ public function index(): Response /** * Get the detail of a given question. * - * @param Request $request - * @param int $companyId - * @param int $questionId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -62,7 +57,7 @@ public function show(Request $request, int $companyId, int $questionId) $answersCollection = CompanyQuestionViewHelper::question($question, $answers, $employee); return Inertia::render('Company/Question/Show', [ - 'teams' =>$teams, + 'teams' => $teams, 'question' => $answersCollection, 'notifications' => NotificationHelper::getNotifications(InstanceHelper::getLoggedEmployee()), 'paginator' => PaginatorHelper::getData($answers), @@ -72,10 +67,6 @@ public function show(Request $request, int $companyId, int $questionId) /** * Get the detail of a given question for a specific team. * - * @param Request $request - * @param int $companyId - * @param int $questionId - * @param int $teamId * * @return \Illuminate\Http\RedirectResponse|Response */ diff --git a/app/Http/Controllers/Company/Company/SkillController.php b/app/Http/Controllers/Company/Company/SkillController.php index 341b709b8..5b412e48d 100644 --- a/app/Http/Controllers/Company/Company/SkillController.php +++ b/app/Http/Controllers/Company/Company/SkillController.php @@ -2,26 +2,24 @@ namespace App\Http\Controllers\Company\Company; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; -use App\Models\Company\Skill; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Employee\Skill\UpdateSkill; -use App\Services\Company\Employee\Skill\DestroySkill; use App\Http\ViewHelpers\Company\CompanySkillViewHelper; +use App\Models\Company\Company; +use App\Models\Company\Skill; +use App\Services\Company\Employee\Skill\DestroySkill; +use App\Services\Company\Employee\Skill\UpdateSkill; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class SkillController extends Controller { /** * All the skills in the company, for public use. - * - * @return Response */ public function index(): Response { @@ -38,9 +36,6 @@ public function index(): Response /** * Get the detail of a given skill. * - * @param Request $request - * @param int $companyId - * @param int $skillId * * @return \Illuminate\Http\RedirectResponse|Response */ @@ -67,12 +62,6 @@ public function show(Request $request, int $companyId, int $skillId) /** * Update the skill. - * - * @param Request $request - * @param int $companyId - * @param int $skillId - * - * @return JsonResponse */ public function update(Request $request, int $companyId, int $skillId): JsonResponse { @@ -94,12 +83,6 @@ public function update(Request $request, int $companyId, int $skillId): JsonResp /** * Delete the skill. - * - * @param Request $request - * @param int $companyId - * @param int $skillId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $skillId): JsonResponse { diff --git a/app/Http/Controllers/Company/CompanyController.php b/app/Http/Controllers/Company/CompanyController.php index 34b585b91..482101923 100644 --- a/app/Http/Controllers/Company/CompanyController.php +++ b/app/Http/Controllers/Company/CompanyController.php @@ -2,22 +2,20 @@ namespace App\Http\Controllers\Company; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; -use App\Models\Company\Company; use App\Http\Controllers\Controller; -use Illuminate\Support\Facades\Auth; -use Illuminate\Http\RedirectResponse; -use App\Services\Company\Adminland\Company\JoinCompany; +use App\Models\Company\Company; use App\Services\Company\Adminland\Company\CreateCompany; +use App\Services\Company\Adminland\Company\JoinCompany; +use Illuminate\Http\RedirectResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\Auth; +use Inertia\Inertia; +use Inertia\Response; class CompanyController extends Controller { /** * Show the create company form. - * - * @return Response */ public function create(): Response { @@ -27,7 +25,6 @@ public function create(): Response /** * Create the company. * - * @param Request $request * * @return \Illuminate\Routing\Redirector|RedirectResponse */ @@ -44,7 +41,6 @@ public function store(Request $request) /** * Show the Join company screen. * - * @param Request $request * @return Response */ public function join(Request $request) @@ -54,8 +50,6 @@ public function join(Request $request) /** * Join the company. - * - * @param Request $request */ public function actuallyJoin(Request $request) { diff --git a/app/Http/Controllers/Company/Dashboard/Accountant/DashboardExpensesController.php b/app/Http/Controllers/Company/Dashboard/Accountant/DashboardExpensesController.php index 1f2d09682..ef5684399 100644 --- a/app/Http/Controllers/Company/Dashboard/Accountant/DashboardExpensesController.php +++ b/app/Http/Controllers/Company/Dashboard/Accountant/DashboardExpensesController.php @@ -2,19 +2,19 @@ namespace App\Http\Controllers\Company\Dashboard\Accountant; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use App\Models\Company\Expense; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Dashboard\DashboardExpenseViewHelper; +use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; +use App\Models\Company\Company; +use App\Models\Company\Expense; use App\Services\Company\Employee\Expense\AcceptExpenseAsAccountant; use App\Services\Company\Employee\Expense\RejectExpenseAsAccountant; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; /** * This is the controller showing the Expenses tab for the Accountant role. @@ -23,8 +23,6 @@ class DashboardExpensesController extends Controller { /** * Display all expenses in the company. - * - * @return Response */ public function index(): Response { @@ -47,9 +45,6 @@ public function index(): Response /** * Show the expense to validate. * - * @param Request $request - * @param int $companyId - * @param int $expenseId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -81,9 +76,6 @@ public function show(Request $request, int $companyId, int $expenseId) * Only the employees with accountant role, and the employee who submitted * the expense, can see this. * - * @param Request $request - * @param int $companyId - * @param int $expenseId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -113,9 +105,6 @@ public function summary(Request $request, int $companyId, int $expenseId) /** * Accept the expense. * - * @param Request $request - * @param int $companyId - * @param int $expenseId * @return mixed */ public function accept(Request $request, int $companyId, int $expenseId) @@ -151,9 +140,6 @@ public function accept(Request $request, int $companyId, int $expenseId) /** * Reject the expense. * - * @param Request $request - * @param int $companyId - * @param int $expenseId * @return mixed */ public function reject(Request $request, int $companyId, int $expenseId) diff --git a/app/Http/Controllers/Company/Dashboard/DashboardController.php b/app/Http/Controllers/Company/Dashboard/DashboardController.php index 03d31dead..29cb8b2ae 100644 --- a/app/Http/Controllers/Company/Dashboard/DashboardController.php +++ b/app/Http/Controllers/Company/Dashboard/DashboardController.php @@ -3,10 +3,10 @@ namespace App\Http\Controllers\Company\Dashboard; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; use App\Http\Controllers\Controller; -use Illuminate\Http\RedirectResponse; use App\Jobs\UpdateDashboardPreference; +use App\Models\Company\Employee; +use Illuminate\Http\RedirectResponse; use Illuminate\Support\Facades\Redirect; class DashboardController extends Controller @@ -51,9 +51,6 @@ public function index() /** * Update the dashboard default view for the given employee. - * - * @param Employee $employee - * @param string $view */ private function updateDashboard(Employee $employee, string $view): void { diff --git a/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineCasesController.php b/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineCasesController.php index 582fc4d6b..e7f52f02d 100644 --- a/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineCasesController.php +++ b/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineCasesController.php @@ -2,18 +2,18 @@ namespace App\Http\Controllers\Company\Dashboard\HR; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineCaseViewHelper; use App\Models\Company\DisciplineCase; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Services\Company\Employee\DisciplineCase\CreateDisciplineCase; -use App\Services\Company\Employee\DisciplineCase\ToggleDisciplineCase; use App\Services\Company\Employee\DisciplineCase\DestroyDisciplineCase; -use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineCaseViewHelper; +use App\Services\Company\Employee\DisciplineCase\ToggleDisciplineCase; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class DashboardDisciplineCasesController extends Controller { @@ -36,8 +36,6 @@ public function index() /** * Show the list of discipline cases, opened or closed. * - * @param Request $request - * @param int $companyId * @return mixed */ public function closed(Request $request, int $companyId) @@ -53,11 +51,6 @@ public function closed(Request $request, int $companyId) /** * Get the list of potential employees to have a discipline case. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function search(Request $request, int $companyId): JsonResponse { @@ -75,11 +68,6 @@ public function search(Request $request, int $companyId): JsonResponse /** * Create a new discipline case. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -99,10 +87,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the discipline case. - * - * @param Request $request - * @param int $companyId - * @param int $caseId */ public function show(Request $request, int $companyId, int $caseId) { @@ -124,12 +108,6 @@ public function show(Request $request, int $companyId, int $caseId) /** * Close a discipline case. - * - * @param Request $request - * @param int $companyId - * @param int $caseId - * - * @return JsonResponse */ public function toggle(Request $request, int $companyId, int $caseId): JsonResponse { @@ -149,12 +127,6 @@ public function toggle(Request $request, int $companyId, int $caseId): JsonRespo /** * Delete a discipline case. - * - * @param Request $request - * @param int $companyId - * @param int $caseId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $caseId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineEventsController.php b/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineEventsController.php index 8bd961946..34a7026bd 100644 --- a/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineEventsController.php +++ b/app/Http/Controllers/Company/Dashboard/HR/DashboardDisciplineEventsController.php @@ -2,25 +2,19 @@ namespace App\Http\Controllers\Company\Dashboard\HR; -use Carbon\Carbon; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineEventViewHelper; use App\Services\Company\Employee\DisciplineCase\CreateDisciplineEvent; use App\Services\Company\Employee\DisciplineCase\DestroyDisciplineEvent; -use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineEventViewHelper; +use Carbon\Carbon; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardDisciplineEventsController extends Controller { /** * Create a new discipline event. - * - * @param Request $request - * @param int $companyId - * @param int $caseId - * - * @return JsonResponse */ public function store(Request $request, int $companyId, int $caseId): JsonResponse { @@ -42,13 +36,6 @@ public function store(Request $request, int $companyId, int $caseId): JsonRespon /** * Delete a discipline event. - * - * @param Request $request - * @param int $companyId - * @param int $caseId - * @param int $eventId - * - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $caseId, int $eventId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/HR/DashboardHRController.php b/app/Http/Controllers/Company/Dashboard/HR/DashboardHRController.php index 2beff1071..f547043a8 100644 --- a/app/Http/Controllers/Company/Dashboard/HR/DashboardHRController.php +++ b/app/Http/Controllers/Company/Dashboard/HR/DashboardHRController.php @@ -2,14 +2,14 @@ namespace App\Http\Controllers\Company\Dashboard\HR; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Jobs\UpdateDashboardPreference; -use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; use App\Http\ViewHelpers\Dashboard\DashboardHRViewHelper; +use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; +use App\Jobs\UpdateDashboardPreference; +use Illuminate\Http\Request; +use Inertia\Inertia; class DashboardHRController extends Controller { diff --git a/app/Http/Controllers/Company/Dashboard/HR/DashboardHRTimesheetController.php b/app/Http/Controllers/Company/Dashboard/HR/DashboardHRTimesheetController.php index cafd12331..c41401a02 100644 --- a/app/Http/Controllers/Company/Dashboard/HR/DashboardHRTimesheetController.php +++ b/app/Http/Controllers/Company/Dashboard/HR/DashboardHRTimesheetController.php @@ -2,21 +2,21 @@ namespace App\Http\Controllers\Company\Dashboard\HR; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use App\Models\Company\Employee; -use App\Models\Company\Timesheet; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Timesheet\RejectTimesheet; -use App\Services\Company\Employee\Timesheet\ApproveTimesheet; use App\Http\ViewHelpers\Dashboard\DashboardTimesheetViewHelper; use App\Http\ViewHelpers\Dashboard\HR\DashboardHRTimesheetViewHelper; +use App\Models\Company\Company; +use App\Models\Company\Employee; +use App\Models\Company\Timesheet; +use App\Services\Company\Employee\Timesheet\ApproveTimesheet; +use App\Services\Company\Employee\Timesheet\RejectTimesheet; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class DashboardHRTimesheetController extends Controller { @@ -49,9 +49,6 @@ public function index() /** * Show the timesheet to validate. * - * @param Request $request - * @param int $companyId - * @param int $timesheetId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -80,11 +77,6 @@ public function show(Request $request, int $companyId, int $timesheetId) /** * Approve the timesheet. - * - * @param Request $request - * @param int $companyId - * @param int $timesheetId - * @return JsonResponse */ public function approve(Request $request, int $companyId, int $timesheetId): JsonResponse { @@ -109,11 +101,6 @@ public function approve(Request $request, int $companyId, int $timesheetId): Jso /** * Reject the timesheet. - * - * @param Request $request - * @param int $companyId - * @param int $timesheetId - * @return JsonResponse */ public function reject(Request $request, int $companyId, int $timesheetId): JsonResponse { @@ -138,9 +125,7 @@ public function reject(Request $request, int $companyId, int $timesheetId): Json /** * Check that the current employee has access to this method. - * @param Company $company - * @param int $timesheetId - * @param Employee $employee + * * @return mixed */ private function canAccess(Company $company, int $timesheetId, Employee $employee) diff --git a/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerController.php b/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerController.php index 6cc3d74df..3bf026402 100644 --- a/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerController.php +++ b/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerController.php @@ -2,23 +2,23 @@ namespace App\Http\Controllers\Company\Dashboard\Manager; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use App\Models\Company\Expense; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Models\Company\DirectReport; -use App\Jobs\UpdateDashboardPreference; -use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Dashboard\DashboardManagerViewHelper; +use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; +use App\Jobs\UpdateDashboardPreference; +use App\Models\Company\Company; +use App\Models\Company\DirectReport; +use App\Models\Company\Employee; +use App\Models\Company\Expense; use App\Services\Company\Employee\Expense\AcceptExpenseAsManager; use App\Services\Company\Employee\Expense\RejectExpenseAsManager; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class DashboardManagerController extends Controller { @@ -73,9 +73,7 @@ public function index() /** * Check that the current employee has access to this method. - * @param Company $company - * @param int $expenseId - * @param Employee $employee + * * @return mixed */ private function canAccess(Company $company, int $expenseId, Employee $employee) @@ -113,11 +111,6 @@ private function canAccess(Company $company, int $expenseId, Employee $employee) /** * Display the expense. - * - * @param Request $request - * @param int $companyId - * @param int $expenseId - * @return Response */ public function showExpense(Request $request, int $companyId, int $expenseId): Response { @@ -137,11 +130,6 @@ public function showExpense(Request $request, int $companyId, int $expenseId): R /** * Accept the expense. - * - * @param Request $request - * @param int $companyId - * @param int $expenseId - * @return JsonResponse */ public function accept(Request $request, int $companyId, int $expenseId): JsonResponse { @@ -165,11 +153,6 @@ public function accept(Request $request, int $companyId, int $expenseId): JsonRe /** * Reject the expense. - * - * @param Request $request - * @param int $companyId - * @param int $expenseId - * @return JsonResponse */ public function reject(Request $request, int $companyId, int $expenseId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerDisciplineCaseController.php b/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerDisciplineCaseController.php index 8de59ac29..335791572 100644 --- a/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerDisciplineCaseController.php +++ b/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerDisciplineCaseController.php @@ -2,24 +2,20 @@ namespace App\Http\Controllers\Company\Dashboard\Manager; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineCaseViewHelper; use App\Models\Company\DirectReport; use App\Models\Company\DisciplineCase; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Dashboard\HR\DashboardHRDisciplineCaseViewHelper; +use Illuminate\Http\Request; +use Inertia\Inertia; class DashboardManagerDisciplineCaseController extends Controller { /** * Show the discipline case. - * - * @param Request $request - * @param int $companyId - * @param int $caseId */ public function show(Request $request, int $companyId, int $caseId) { diff --git a/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerTimesheetController.php b/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerTimesheetController.php index fec366895..c139d313e 100644 --- a/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerTimesheetController.php +++ b/app/Http/Controllers/Company/Dashboard/Manager/DashboardManagerTimesheetController.php @@ -2,22 +2,22 @@ namespace App\Http\Controllers\Company\Dashboard\Manager; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; -use App\Models\Company\Employee; -use App\Models\Company\Timesheet; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Models\Company\DirectReport; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Timesheet\RejectTimesheet; -use App\Services\Company\Employee\Timesheet\ApproveTimesheet; use App\Http\ViewHelpers\Dashboard\DashboardTimesheetViewHelper; use App\Http\ViewHelpers\Dashboard\Manager\DashboardManagerTimesheetViewHelper; +use App\Models\Company\Company; +use App\Models\Company\DirectReport; +use App\Models\Company\Employee; +use App\Models\Company\Timesheet; +use App\Services\Company\Employee\Timesheet\ApproveTimesheet; +use App\Services\Company\Employee\Timesheet\RejectTimesheet; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class DashboardManagerTimesheetController extends Controller { @@ -56,9 +56,6 @@ public function index() /** * Show the timesheet to validate. * - * @param Request $request - * @param int $companyId - * @param int $timesheetId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -87,11 +84,6 @@ public function show(Request $request, int $companyId, int $timesheetId) /** * Approve the timesheet. - * - * @param Request $request - * @param int $companyId - * @param int $timesheetId - * @return JsonResponse */ public function approve(Request $request, int $companyId, int $timesheetId): JsonResponse { @@ -116,11 +108,6 @@ public function approve(Request $request, int $companyId, int $timesheetId): Jso /** * Reject the timesheet. - * - * @param Request $request - * @param int $companyId - * @param int $timesheetId - * @return JsonResponse */ public function reject(Request $request, int $companyId, int $timesheetId): JsonResponse { @@ -145,9 +132,7 @@ public function reject(Request $request, int $companyId, int $timesheetId): Json /** * Check that the current employee has access to this method. - * @param Company $company - * @param int $timesheetId - * @param Employee $employee + * * @return mixed */ private function canAccess(Company $company, int $timesheetId, Employee $employee) diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardAskMeAnythingQuestionController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardAskMeAnythingQuestionController.php index f73919703..2e53d470b 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardAskMeAnythingQuestionController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardAskMeAnythingQuestionController.php @@ -2,21 +2,16 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Adminland\AskMeAnything\CreateAskMeAnythingQuestion; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardAskMeAnythingQuestionController extends Controller { /** * Submit a question. - * - * @param Request $request - * @param int $companyId - * @param int $sessionId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $sessionId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeController.php index c6c2ab784..880d4e1ec 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeController.php @@ -2,22 +2,20 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\InstanceHelper; -use App\Models\Company\Company; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Jobs\UpdateDashboardPreference; -use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; use App\Http\ViewHelpers\Dashboard\DashboardMeViewHelper; +use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; +use App\Jobs\UpdateDashboardPreference; +use App\Models\Company\Company; +use Inertia\Inertia; +use Inertia\Response; class DashboardMeController extends Controller { /** * Company details. - * - * @return Response */ public function index(): Response { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeECoffeeController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeECoffeeController.php index c730100b7..2a31e8f4e 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeECoffeeController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeECoffeeController.php @@ -2,22 +2,16 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Employee\ECoffee\MarkECoffeeSessionAsHappened; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardMeECoffeeController extends Controller { /** * Mark an e-coffee match as happened. - * - * @param Request $request - * @param int $companyId - * @param int $eCoffeeId - * @param int $eCoffeeMatchId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $eCoffeeId, int $eCoffeeMatchId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeExpenseController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeExpenseController.php index 67f50ff7d..c5f17b4cb 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeExpenseController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeExpenseController.php @@ -2,22 +2,19 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Carbon\Carbon; use App\Helpers\DateHelper; -use App\Helpers\MoneyHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; +use App\Helpers\MoneyHelper; use App\Http\Controllers\Controller; use App\Services\Company\Employee\Expense\CreateExpense; +use Carbon\Carbon; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardMeExpenseController extends Controller { /** * Log an expense. - * - * @param Request $request - * @return JsonResponse */ public function store(Request $request): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeOneOnOneController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeOneOnOneController.php index 0628b18ed..3b84a7a8d 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeOneOnOneController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeOneOnOneController.php @@ -2,37 +2,34 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Dashboard\DashboardOneOnOneViewHelper; use App\Models\Company\OneOnOneEntry; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneActionItem; use App\Services\Company\Employee\OneOnOne\CreateOneOnOneNote; -use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneNote; -use App\Http\ViewHelpers\Dashboard\DashboardOneOnOneViewHelper; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneTalkingPoint; +use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneActionItem; use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneNote; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneActionItem; +use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneTalkingPoint; +use App\Services\Company\Employee\OneOnOne\MarkOneOnOneEntryAsHappened; use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneActionItem; -use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneActionItem; -use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneActionItem; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneTalkingPoint; use App\Services\Company\Employee\OneOnOne\ToggleOneOnOneTalkingPoint; +use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneActionItem; +use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneNote; use App\Services\Company\Employee\OneOnOne\UpdateOneOnOneTalkingPoint; -use App\Services\Company\Employee\OneOnOne\DestroyOneOnOneTalkingPoint; -use App\Services\Company\Employee\OneOnOne\MarkOneOnOneEntryAsHappened; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class DashboardMeOneOnOneController extends Controller { /** * Show the One on One entry. * - * @param Request $request - * @param int $companyId - * @param int $entryId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -65,11 +62,6 @@ public function show(Request $request, int $companyId, int $entryId) /** * Mark an entry as happened. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @return JsonResponse */ public function markHappened(Request $request, int $companyId, int $entryId): JsonResponse { @@ -102,11 +94,6 @@ public function markHappened(Request $request, int $companyId, int $entryId): Js /** * Create a talking point. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @return JsonResponse */ public function storeTalkingPoint(Request $request, int $companyId, int $entryId): JsonResponse { @@ -137,11 +124,6 @@ public function storeTalkingPoint(Request $request, int $companyId, int $entryId /** * Create an action item. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @return JsonResponse */ public function storeActionItem(Request $request, int $companyId, int $entryId): JsonResponse { @@ -172,11 +154,6 @@ public function storeActionItem(Request $request, int $companyId, int $entryId): /** * Create a note. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @return JsonResponse */ public function storeNote(Request $request, int $companyId, int $entryId): JsonResponse { @@ -206,12 +183,6 @@ public function storeNote(Request $request, int $companyId, int $entryId): JsonR /** * Update a talking point. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $talkingPointId - * @return JsonResponse */ public function updateTalkingPoint(Request $request, int $companyId, int $entryId, int $talkingPointId): JsonResponse { @@ -239,12 +210,6 @@ public function updateTalkingPoint(Request $request, int $companyId, int $entryI /** * Update an action item. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $actionItemId - * @return JsonResponse */ public function updateActionItem(Request $request, int $companyId, int $entryId, int $actionItemId): JsonResponse { @@ -272,12 +237,6 @@ public function updateActionItem(Request $request, int $companyId, int $entryId, /** * Update a note. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $noteId - * @return JsonResponse */ public function updateNote(Request $request, int $companyId, int $entryId, int $noteId): JsonResponse { @@ -304,12 +263,6 @@ public function updateNote(Request $request, int $companyId, int $entryId, int $ /** * Toggle a talking point. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $talkingPointId - * @return JsonResponse */ public function toggleTalkingPoint(Request $request, int $companyId, int $entryId, int $talkingPointId): JsonResponse { @@ -336,12 +289,6 @@ public function toggleTalkingPoint(Request $request, int $companyId, int $entryI /** * Toggle an action item. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $actionItemId - * @return JsonResponse */ public function toggleActionItem(Request $request, int $companyId, int $entryId, int $actionItemId): JsonResponse { @@ -368,12 +315,6 @@ public function toggleActionItem(Request $request, int $companyId, int $entryId, /** * Delete a talking point. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $talkingPointId - * @return JsonResponse */ public function destroyTalkingPoint(Request $request, int $companyId, int $entryId, int $talkingPointId): JsonResponse { @@ -396,12 +337,6 @@ public function destroyTalkingPoint(Request $request, int $companyId, int $entry /** * Delete an action item. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $talkingPointId - * @return JsonResponse */ public function destroyActionItem(Request $request, int $companyId, int $entryId, int $talkingPointId): JsonResponse { @@ -424,12 +359,6 @@ public function destroyActionItem(Request $request, int $companyId, int $entryId /** * Delete a note. - * - * @param Request $request - * @param int $companyId - * @param int $entryId - * @param int $noteId - * @return JsonResponse */ public function destroyNote(Request $request, int $companyId, int $entryId, int $noteId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeRecruitingController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeRecruitingController.php index 586670983..78264f862 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardMeRecruitingController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardMeRecruitingController.php @@ -2,23 +2,16 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Adminland\JobOpening\CreateCandidateStageNote; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardMeRecruitingController extends Controller { /** * Add a note as a participant of a recruiting process. - * - * @param Request $request - * @param int $companyId - * @param int $jobOpeningId - * @param int $candidateId - * @param int $candidateStageId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $candidateStageId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardMoraleController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardMoraleController.php index 86aa583de..b7b3c4c65 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardMoraleController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardMoraleController.php @@ -2,19 +2,16 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Employee\Morale\LogMorale; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardMoraleController extends Controller { /** * Create a morale log. - * - * @param Request $request - * @return JsonResponse */ public function store(Request $request): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardQuestionController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardQuestionController.php index 5c8fc0c7a..84bff1997 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardQuestionController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardQuestionController.php @@ -3,21 +3,18 @@ namespace App\Http\Controllers\Company\Dashboard\Me; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Employee\Answer\CreateAnswer; -use App\Services\Company\Employee\Answer\UpdateAnswer; use App\Services\Company\Employee\Answer\DestroyAnswer; +use App\Services\Company\Employee\Answer\UpdateAnswer; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardQuestionController extends Controller { /** * Answer the question. - * - * @param Request $request - * @return JsonResponse */ public function store(Request $request): JsonResponse { @@ -56,11 +53,6 @@ public function store(Request $request): JsonResponse /** * Update the question. - * - * @param Request $request - * @param int $companyId - * @param int $answerId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $answerId): JsonResponse { @@ -92,11 +84,6 @@ public function update(Request $request, int $companyId, int $answerId): JsonRes /** * Delete the question. - * - * @param Request $request - * @param int $companyId - * @param int $answerId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $answerId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardRateYourManagerController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardRateYourManagerController.php index 56f2df7c8..073b6382d 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardRateYourManagerController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardRateYourManagerController.php @@ -2,22 +2,17 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; -use App\Services\Company\Employee\RateYourManager\RateYourManager; use App\Services\Company\Employee\RateYourManager\AddCommentToRatingAboutManager; +use App\Services\Company\Employee\RateYourManager\RateYourManager; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardRateYourManagerController extends Controller { /** * Store the answer of the Rate your manager survey. - * - * @param Request $request - * @param int $companyId - * @param int $answerId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $answerId): JsonResponse { @@ -40,11 +35,6 @@ public function store(Request $request, int $companyId, int $answerId): JsonResp /** * Store the comment about the answer of the Rate your manager survey. - * - * @param Request $request - * @param int $companyId - * @param int $answerId - * @return JsonResponse */ public function storeComment(Request $request, int $companyId, int $answerId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardWorkFromHomeController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardWorkFromHomeController.php index 43adeafe9..dbf9fe4ea 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardWorkFromHomeController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardWorkFromHomeController.php @@ -2,20 +2,17 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Carbon\Carbon; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Employee\WorkFromHome\UpdateWorkFromHomeInformation; +use Carbon\Carbon; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardWorkFromHomeController extends Controller { /** * Change the status of Work from home. - * - * @param Request $request - * @return JsonResponse */ public function store(Request $request): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Me/DashboardWorklogController.php b/app/Http/Controllers/Company/Dashboard/Me/DashboardWorklogController.php index ccdbea5b8..1d0dbeec9 100644 --- a/app/Http/Controllers/Company/Dashboard/Me/DashboardWorklogController.php +++ b/app/Http/Controllers/Company/Dashboard/Me/DashboardWorklogController.php @@ -2,19 +2,16 @@ namespace App\Http\Controllers\Company\Dashboard\Me; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Employee\Worklog\LogWorklog; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class DashboardWorklogController extends Controller { /** * Create a worklog. - * - * @param Request $request - * @return JsonResponse */ public function store(Request $request): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Teams/DashboardTeamController.php b/app/Http/Controllers/Company/Dashboard/Teams/DashboardTeamController.php index 2db467457..016458b8a 100644 --- a/app/Http/Controllers/Company/Dashboard/Teams/DashboardTeamController.php +++ b/app/Http/Controllers/Company/Dashboard/Teams/DashboardTeamController.php @@ -2,33 +2,30 @@ namespace App\Http\Controllers\Company\Dashboard\Teams; -use Carbon\Carbon; -use Inertia\Inertia; -use App\Models\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Jobs\UpdateDashboardPreference; +use App\Http\ViewHelpers\Dashboard\DashboardTeamViewHelper; use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Jobs\UpdateDashboardPreference; +use App\Models\Company\Employee; +use App\Models\Company\Team; use App\Services\Company\Employee\Worklog\DestroyWorklog; -use App\Http\ViewHelpers\Dashboard\DashboardTeamViewHelper; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class DashboardTeamController extends Controller { /** * Displays the Team page on the dashboard. * - * @param Request $request - * @param int $companyId - * @param int|null $teamId - * @param mixed $requestedDate + * @param mixed $requestedDate * @return mixed */ - public function index(Request $request, int $companyId, int $teamId = null, $requestedDate = null) + public function index(Request $request, int $companyId, ?int $teamId = null, $requestedDate = null) { if (! is_null($teamId)) { try { @@ -138,11 +135,7 @@ public function index(Request $request, int $companyId, int $teamId = null, $req /** * Displays the details of the worklogs for a given date. * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param mixed $requestedDate - * @return JsonResponse + * @param mixed $requestedDate */ public function worklogDetails(Request $request, int $companyId, int $teamId, $requestedDate): JsonResponse { @@ -162,13 +155,6 @@ public function worklogDetails(Request $request, int $companyId, int $teamId, $r /** * Delete the worklog. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $worklogId - * @param int $employeeId - * @return JsonResponse */ public function destroyWorkLog(Request $request, int $companyId, int $teamId, int $worklogId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Dashboard/Timesheets/DashboardTimesheetController.php b/app/Http/Controllers/Company/Dashboard/Timesheets/DashboardTimesheetController.php index 6f79fb08e..033ebd3d7 100644 --- a/app/Http/Controllers/Company/Dashboard/Timesheets/DashboardTimesheetController.php +++ b/app/Http/Controllers/Company/Dashboard/Timesheets/DashboardTimesheetController.php @@ -2,31 +2,29 @@ namespace App\Http\Controllers\Company\Dashboard\Timesheets; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Project; -use App\Models\Company\Timesheet; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use App\Jobs\UpdateDashboardPreference; -use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Timesheet\SubmitTimesheet; use App\Http\ViewHelpers\Dashboard\DashboardTimesheetViewHelper; -use App\Services\Company\Employee\Timesheet\DestroyTimesheetRow; +use App\Http\ViewHelpers\Dashboard\DashboardViewHelper; +use App\Jobs\UpdateDashboardPreference; +use App\Models\Company\Project; +use App\Models\Company\Timesheet; use App\Services\Company\Employee\Timesheet\CreateOrGetTimesheet; use App\Services\Company\Employee\Timesheet\CreateTimeTrackingEntry; +use App\Services\Company\Employee\Timesheet\DestroyTimesheetRow; +use App\Services\Company\Employee\Timesheet\SubmitTimesheet; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class DashboardTimesheetController extends Controller { /** * See the detail of the current timesheet. - * - * @return Response */ public function index(): Response { @@ -106,8 +104,6 @@ public function show(Request $request, int $companyId, int $timesheetId) /** * Get the projects the logged employee belongs to. - * - * @return JsonResponse */ public function projects(): JsonResponse { @@ -122,12 +118,6 @@ public function projects(): JsonResponse /** * Get the tasks for the given project. - * - * @param Request $request - * @param int $companyId - * @param int $timesheetId - * @param int $projectId - * @return JsonResponse */ public function tasks(Request $request, int $companyId, int $timesheetId, int $projectId): ?JsonResponse { @@ -188,10 +178,6 @@ public function createTimeTrackingEntry(Request $request, int $companyId, int $t /** * Submit the timesheet for validation. - * - * @param Request $request - * @param int $companyId - * @param int $timesheetId */ public function submit(Request $request, int $companyId, int $timesheetId) { @@ -223,10 +209,6 @@ public function submit(Request $request, int $companyId, int $timesheetId) /** * Destroy the given timesheet row. - * - * @param Request $request - * @param int $companyId - * @param int $timesheetId */ public function destroyRow(Request $request, int $companyId, int $timesheetId) { diff --git a/app/Http/Controllers/Company/Employee/Administration/EmployeeAdministrationController.php b/app/Http/Controllers/Company/Employee/Administration/EmployeeAdministrationController.php index b5faaa1d3..acb7de831 100644 --- a/app/Http/Controllers/Company/Employee/Administration/EmployeeAdministrationController.php +++ b/app/Http/Controllers/Company/Employee/Administration/EmployeeAdministrationController.php @@ -2,24 +2,21 @@ namespace App\Http\Controllers\Company\Employee\Administration; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use App\Helpers\PermissionHelper; use App\Helpers\NotificationHelper; +use App\Helpers\PermissionHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\Employee; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; class EmployeeAdministrationController extends Controller { /** * Display the detail of an employee’s administration panel. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function show(Request $request, int $companyId, int $employeeId) diff --git a/app/Http/Controllers/Company/Employee/Administration/Expenses/EmployeeExpenseController.php b/app/Http/Controllers/Company/Employee/Administration/Expenses/EmployeeExpenseController.php index 8a0451a9b..5753825b3 100644 --- a/app/Http/Controllers/Company/Employee/Administration/Expenses/EmployeeExpenseController.php +++ b/app/Http/Controllers/Company/Employee/Administration/Expenses/EmployeeExpenseController.php @@ -2,26 +2,23 @@ namespace App\Http\Controllers\Company\Employee\Administration\Expenses; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Expense; -use App\Models\Company\Employee; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\Expense\DestroyExpense; -use App\Http\ViewHelpers\Employee\EmployeeExpenseViewHelper; use App\Http\ViewHelpers\Dashboard\DashboardExpenseViewHelper; +use App\Http\ViewHelpers\Employee\EmployeeExpenseViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Expense; +use App\Services\Company\Employee\Expense\DestroyExpense; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; class EmployeeExpenseController extends Controller { /** * Display the list of expenses of this employee. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function index(Request $request, int $companyId, int $employeeId) @@ -55,10 +52,6 @@ public function index(Request $request, int $companyId, int $employeeId) /** * Display a single expense. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $expenseId * @return mixed */ public function show(Request $request, int $companyId, int $employeeId, int $expenseId) @@ -85,10 +78,6 @@ public function show(Request $request, int $companyId, int $employeeId, int $exp /** * Display a single expense. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $expenseId * @return mixed */ public function destroy(Request $request, int $companyId, int $employeeId, int $expenseId) diff --git a/app/Http/Controllers/Company/Employee/Administration/Timesheets/EmployeeTimesheetController.php b/app/Http/Controllers/Company/Employee/Administration/Timesheets/EmployeeTimesheetController.php index b4f0d5150..53a768f06 100644 --- a/app/Http/Controllers/Company/Employee/Administration/Timesheets/EmployeeTimesheetController.php +++ b/app/Http/Controllers/Company/Employee/Administration/Timesheets/EmployeeTimesheetController.php @@ -2,31 +2,28 @@ namespace App\Http\Controllers\Company\Employee\Administration\Timesheets; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use App\Models\Company\Timesheet; -use Illuminate\Routing\Redirector; -use Illuminate\Support\Facades\DB; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Http\RedirectResponse; +use App\Http\ViewHelpers\Dashboard\DashboardTimesheetViewHelper; +use App\Http\ViewHelpers\Employee\EmployeeTimesheetViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Employee\EmployeeTimesheetViewHelper; -use App\Http\ViewHelpers\Dashboard\DashboardTimesheetViewHelper; +use Illuminate\Http\RedirectResponse; +use Illuminate\Http\Request; +use Illuminate\Routing\Redirector; +use Illuminate\Support\Facades\DB; +use Inertia\Inertia; +use Inertia\Response; class EmployeeTimesheetController extends Controller { /** * Show the employee's timesheets, for the current year. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return Redirector|RedirectResponse|Response */ public function index(Request $request, int $companyId, int $employeeId) @@ -76,10 +73,6 @@ public function index(Request $request, int $companyId, int $employeeId) /** * Show the employee's worklogs page, for the given year. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $year * @return Redirector|RedirectResponse|Response */ public function year(Request $request, int $companyId, int $employeeId, int $year) @@ -127,11 +120,6 @@ public function year(Request $request, int $companyId, int $employeeId, int $yea /** * Show the employee's worklogs page, for the given month of the given year. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $year - * @param int $month * @return Redirector|RedirectResponse|Response */ public function month(Request $request, int $companyId, int $employeeId, int $year, int $month) @@ -153,8 +141,8 @@ public function month(Request $request, int $companyId, int $employeeId, int $ye ->whereMonth('started_at', (string) $month) ->addSelect([ 'duration' => TimeTrackingEntry::select(DB::raw('SUM(duration) as duration')) - ->whereColumn('timesheet_id', 'timesheets.id') - ->groupBy('timesheet_id'), + ->whereColumn('timesheet_id', 'timesheets.id') + ->groupBy('timesheet_id'), ]) ->get(); @@ -180,10 +168,6 @@ public function month(Request $request, int $companyId, int $employeeId, int $ye /** * Show a specific employee's timesheet. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $timesheetId * @return Redirector|RedirectResponse|Response */ public function show(Request $request, int $companyId, int $employeeId, int $timesheetId) diff --git a/app/Http/Controllers/Company/Employee/Edit/EmployeeEditAvatarController.php b/app/Http/Controllers/Company/Employee/Edit/EmployeeEditAvatarController.php index c31182662..6a81a4ced 100644 --- a/app/Http/Controllers/Company/Employee/Edit/EmployeeEditAvatarController.php +++ b/app/Http/Controllers/Company/Employee/Edit/EmployeeEditAvatarController.php @@ -3,23 +3,18 @@ namespace App\Http\Controllers\Company\Employee\Edit; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Models\Company\Employee; use App\Services\Company\Adminland\File\UploadFile; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class EmployeeEditAvatarController extends Controller { /** * Update the avatar. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/Edit/EmployeeEditController.php b/app/Http/Controllers/Company/Employee/Edit/EmployeeEditController.php index 1bec931f3..51994992b 100644 --- a/app/Http/Controllers/Company/Employee/Edit/EmployeeEditController.php +++ b/app/Http/Controllers/Company/Employee/Edit/EmployeeEditController.php @@ -2,40 +2,37 @@ namespace App\Http\Controllers\Company\Employee\Edit; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Helpers\TimezoneHelper; -use App\Models\Company\Country; -use App\Models\Company\Employee; -use App\Helpers\PermissionHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; +use App\Helpers\PermissionHelper; +use App\Helpers\TimezoneHelper; use App\Http\Controllers\Controller; -use Illuminate\Support\Facades\Auth; -use App\Services\Company\Place\CreatePlace; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Http\ViewHelpers\Employee\EmployeeEditContractViewHelper; use App\Http\ViewHelpers\Employee\EmployeeEditViewHelper; +use App\Models\Company\Country; +use App\Models\Company\Employee; use App\Services\Company\Employee\Birthdate\SetBirthdate; +use App\Services\Company\Employee\ConsultantRate\DestroyConsultantRate; +use App\Services\Company\Employee\ConsultantRate\SetConsultantRate; +use App\Services\Company\Employee\Contract\SetContractRenewalDate; use App\Services\Company\Employee\HiringDate\SetHiringDate; -use App\Http\ViewHelpers\Employee\EmployeeEditContractViewHelper; +use App\Services\Company\Employee\PersonalDetails\SetPersonalDetails; use App\Services\Company\Employee\PersonalDetails\SetSlackHandle; -use App\Services\Company\Employee\Contract\SetContractRenewalDate; -use App\Services\Company\Employee\ConsultantRate\SetConsultantRate; use App\Services\Company\Employee\PersonalDetails\SetTwitterHandle; -use App\Services\Company\Employee\PersonalDetails\SetPersonalDetails; -use App\Services\Company\Employee\ConsultantRate\DestroyConsultantRate; +use App\Services\Company\Place\CreatePlace; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\Auth; +use Inertia\Inertia; +use Inertia\Response; class EmployeeEditController extends Controller { /** * Show the employee edit page. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function show(Request $request, int $companyId, int $employeeId) @@ -70,11 +67,6 @@ public function show(Request $request, int $companyId, int $employeeId) /** * Update the information about the employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -149,9 +141,6 @@ public function update(Request $request, int $companyId, int $employeeId): JsonR /** * Show the employee edit address page. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -195,11 +184,6 @@ public function address(Request $request, int $companyId, int $employeeId) /** * Update the information about the employee's address. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function updateAddress(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -228,9 +212,6 @@ public function updateAddress(Request $request, int $companyId, int $employeeId) /** * Show the employee edit contract page. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -265,11 +246,6 @@ public function contract(Request $request, int $companyId, int $employeeId) /** * Update the contract information about the employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function updateContractInformation(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -293,11 +269,6 @@ public function updateContractInformation(Request $request, int $companyId, int /** * Store the newly created consultant rate. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function storeRate(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -323,12 +294,6 @@ public function storeRate(Request $request, int $companyId, int $employeeId): Js /** * Destroy the given consultant rate. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $rateId - * @return JsonResponse */ public function destroyRate(Request $request, int $companyId, int $employeeId, int $rateId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/EmployeeController.php b/app/Http/Controllers/Company/Employee/EmployeeController.php index 979a85b17..61a18c7a5 100644 --- a/app/Http/Controllers/Company/Employee/EmployeeController.php +++ b/app/Http/Controllers/Company/Employee/EmployeeController.php @@ -2,22 +2,18 @@ namespace App\Http\Controllers\Company\Employee; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class EmployeeController extends Controller { /** * Display the list of employees. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function index(Request $request, int $companyId): Response { diff --git a/app/Http/Controllers/Company/Employee/EmployeeDescriptionController.php b/app/Http/Controllers/Company/Employee/EmployeeDescriptionController.php index 8ab4848ee..b43530cc2 100644 --- a/app/Http/Controllers/Company/Employee/EmployeeDescriptionController.php +++ b/app/Http/Controllers/Company/Employee/EmployeeDescriptionController.php @@ -2,23 +2,18 @@ namespace App\Http\Controllers\Company\Employee; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; -use App\Services\Company\Employee\Description\SetPersonalDescription; +use App\Models\Company\Employee; use App\Services\Company\Employee\Description\ClearPersonalDescription; +use App\Services\Company\Employee\Description\SetPersonalDescription; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class EmployeeDescriptionController extends Controller { /** * Assign an employee description to the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -40,12 +35,6 @@ public function store(Request $request, int $companyId, int $employeeId): JsonRe /** * Remove the employee description for the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $employeeStatusId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $employeeId, int $employeeStatusId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/EmployeeLogsController.php b/app/Http/Controllers/Company/Employee/EmployeeLogsController.php index d6878e752..f23958388 100644 --- a/app/Http/Controllers/Company/Employee/EmployeeLogsController.php +++ b/app/Http/Controllers/Company/Employee/EmployeeLogsController.php @@ -2,27 +2,24 @@ namespace App\Http\Controllers\Company\Employee; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Helpers\PaginatorHelper; -use App\Models\Company\Employee; -use Illuminate\Routing\Redirector; use App\Helpers\NotificationHelper; +use App\Helpers\PaginatorHelper; use App\Http\Controllers\Controller; -use Illuminate\Support\Facades\Auth; -use Illuminate\Http\RedirectResponse; use App\Http\ViewHelpers\Employee\EmployeeLogViewHelper; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\RedirectResponse; +use Illuminate\Http\Request; +use Illuminate\Routing\Redirector; +use Illuminate\Support\Facades\Auth; +use Inertia\Inertia; class EmployeeLogsController extends Controller { /** * Show the employee log. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * * @return \Inertia\Response|Redirector|RedirectResponse */ diff --git a/app/Http/Controllers/Company/Employee/EmployeePositionController.php b/app/Http/Controllers/Company/Employee/EmployeePositionController.php index f58849faf..47c053607 100644 --- a/app/Http/Controllers/Company/Employee/EmployeePositionController.php +++ b/app/Http/Controllers/Company/Employee/EmployeePositionController.php @@ -3,23 +3,18 @@ namespace App\Http\Controllers\Company\Employee; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Models\Company\Employee; use App\Services\Company\Employee\Position\AssignPositionToEmployee; use App\Services\Company\Employee\Position\RemovePositionFromEmployee; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class EmployeePositionController extends Controller { /** * Assign a position to the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -46,11 +41,6 @@ public function store(Request $request, int $companyId, int $employeeId): JsonRe /** * Remove the position for the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/EmployeePronounController.php b/app/Http/Controllers/Company/Employee/EmployeePronounController.php index ec6261df8..7e99ad6fc 100644 --- a/app/Http/Controllers/Company/Employee/EmployeePronounController.php +++ b/app/Http/Controllers/Company/Employee/EmployeePronounController.php @@ -2,23 +2,18 @@ namespace App\Http\Controllers\Company\Employee; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Models\Company\Employee; use App\Services\Company\Employee\Pronoun\AssignPronounToEmployee; use App\Services\Company\Employee\Pronoun\RemovePronounFromEmployee; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class EmployeePronounController extends Controller { /** * Assign an employee gender pronoun to the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -40,12 +35,6 @@ public function store(Request $request, int $companyId, int $employeeId): JsonRe /** * Remove the employee gender pronoun for the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $employeeStatusId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $employeeId, int $employeeStatusId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/EmployeeStatusController.php b/app/Http/Controllers/Company/Employee/EmployeeStatusController.php index d50e1bfbb..4583ecba1 100644 --- a/app/Http/Controllers/Company/Employee/EmployeeStatusController.php +++ b/app/Http/Controllers/Company/Employee/EmployeeStatusController.php @@ -2,24 +2,19 @@ namespace App\Http\Controllers\Company\Employee; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\Employee; use App\Services\Company\Employee\EmployeeStatus\AssignEmployeeStatusToEmployee; use App\Services\Company\Employee\EmployeeStatus\RemoveEmployeeStatusFromEmployee; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class EmployeeStatusController extends Controller { /** * Return the list of employee statuses in the company. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function index(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -34,11 +29,6 @@ public function index(Request $request, int $companyId, int $employeeId): JsonRe /** * Assign an employee status to the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -60,12 +50,6 @@ public function store(Request $request, int $companyId, int $employeeId): JsonRe /** * Remove the employee status for the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $employeeStatusId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $employeeId, int $employeeStatusId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/EmployeeTeamController.php b/app/Http/Controllers/Company/Employee/EmployeeTeamController.php index 867dfb055..cf5b8486b 100644 --- a/app/Http/Controllers/Company/Employee/EmployeeTeamController.php +++ b/app/Http/Controllers/Company/Employee/EmployeeTeamController.php @@ -2,26 +2,21 @@ namespace App\Http\Controllers\Company\Employee; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; -use Illuminate\Support\Collection; use App\Http\Controllers\Controller; -use App\Services\Company\Employee\Team; use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\Employee; +use App\Services\Company\Employee\Team; use App\Services\Company\Employee\Team\AddEmployeeToTeam; use App\Services\Company\Employee\Team\RemoveEmployeeFromTeam; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Collection; class EmployeeTeamController extends Controller { /** * Return the list of teams in the company. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function index(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -39,9 +34,6 @@ public function index(Request $request, int $companyId, int $employeeId): JsonRe /** * Assign a team to the given employee. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return Collection */ public function store(Request $request, int $companyId, int $employeeId) @@ -64,10 +56,6 @@ public function store(Request $request, int $companyId, int $employeeId) /** * Remove the team for the given employee. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $teamId * @return Collection */ public function destroy(Request $request, int $companyId, int $employeeId, int $teamId) diff --git a/app/Http/Controllers/Company/Employee/Performance/EmployeePerformanceController.php b/app/Http/Controllers/Company/Employee/Performance/EmployeePerformanceController.php index 7c8d21421..b36ee8fcf 100644 --- a/app/Http/Controllers/Company/Employee/Performance/EmployeePerformanceController.php +++ b/app/Http/Controllers/Company/Employee/Performance/EmployeePerformanceController.php @@ -2,26 +2,23 @@ namespace App\Http\Controllers\Company\Employee\Performance; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use App\Helpers\PermissionHelper; use App\Helpers\NotificationHelper; +use App\Helpers\PermissionHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; use App\Http\ViewHelpers\Employee\EmployeePerformanceViewHelper; +use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\Employee; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class EmployeePerformanceController extends Controller { /** * Display the performance of an employee. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return \Illuminate\Http\RedirectResponse|Response */ public function show(Request $request, int $companyId, int $employeeId) diff --git a/app/Http/Controllers/Company/Employee/Performance/OneOnOnes/EmployeeOneOnOneController.php b/app/Http/Controllers/Company/Employee/Performance/OneOnOnes/EmployeeOneOnOneController.php index 85b90b85f..12b1495b8 100644 --- a/app/Http/Controllers/Company/Employee/Performance/OneOnOnes/EmployeeOneOnOneController.php +++ b/app/Http/Controllers/Company/Employee/Performance/OneOnOnes/EmployeeOneOnOneController.php @@ -2,24 +2,21 @@ namespace App\Http\Controllers\Company\Employee\Performance\OneOnOnes; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Employee\EmployeeOneOnOneViewHelper; +use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Http\ViewHelpers\Employee\EmployeeOneOnOneViewHelper; +use Illuminate\Http\Request; +use Inertia\Inertia; class EmployeeOneOnOneController extends Controller { /** * Display the list of one on ones of this employee. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function index(Request $request, int $companyId, int $employeeId) @@ -56,10 +53,6 @@ public function index(Request $request, int $companyId, int $employeeId) /** * Display a single one on one. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $oneOnOneId * @return mixed */ public function show(Request $request, int $companyId, int $employeeId, int $oneOnOneId) @@ -68,10 +61,10 @@ public function show(Request $request, int $companyId, int $employeeId, int $one try { $entry = OneOnOneEntry::with('employee') - ->with('manager') - ->with('actionItems') - ->with('talkingPoints') - ->with('notes') + ->with('manager') + ->with('actionItems') + ->with('talkingPoints') + ->with('notes') ->findOrFail($oneOnOneId); } catch (ModelNotFoundException $e) { return redirect('home'); diff --git a/app/Http/Controllers/Company/Employee/Performance/Surveys/EmployeeSurveysController.php b/app/Http/Controllers/Company/Employee/Performance/Surveys/EmployeeSurveysController.php index 640fc88a8..a898a97b3 100644 --- a/app/Http/Controllers/Company/Employee/Performance/Surveys/EmployeeSurveysController.php +++ b/app/Http/Controllers/Company/Employee/Performance/Surveys/EmployeeSurveysController.php @@ -2,24 +2,21 @@ namespace App\Http\Controllers\Company\Employee\Performance\Surveys; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Employee\EmployeeSurveysViewHelper; +use App\Models\Company\Employee; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class EmployeeSurveysController extends Controller { /** * Display all the surveys about the employee being a manager. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return \Illuminate\Http\RedirectResponse|Response */ public function index(Request $request, int $companyId, int $employeeId) @@ -58,10 +55,6 @@ public function index(Request $request, int $companyId, int $employeeId) /** * Display a specific survey about a specific month. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $surveyId * * @return \Illuminate\Http\RedirectResponse|Response */ diff --git a/app/Http/Controllers/Company/Employee/Presentation/EmployeePresentationController.php b/app/Http/Controllers/Company/Employee/Presentation/EmployeePresentationController.php index 26bf39fb1..1bbcef456 100644 --- a/app/Http/Controllers/Company/Employee/Presentation/EmployeePresentationController.php +++ b/app/Http/Controllers/Company/Employee/Presentation/EmployeePresentationController.php @@ -2,28 +2,25 @@ namespace App\Http\Controllers\Company\Employee\Presentation; -use Inertia\Inertia; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use App\Helpers\PermissionHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; +use App\Helpers\PermissionHelper; use App\Http\Controllers\Controller; -use App\Services\Company\Employee\Manager\AssignManager; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; +use App\Models\Company\Employee; +use App\Services\Company\Employee\Manager\AssignManager; use App\Services\Company\Employee\Manager\UnassignManager; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class EmployeePresentationController extends Controller { /** * Display the detail of an employee. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function show(Request $request, int $companyId, int $employeeId) @@ -91,11 +88,6 @@ public function show(Request $request, int $companyId, int $employeeId) /** * Assign a manager to the employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function assignManager(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -129,11 +121,6 @@ public function assignManager(Request $request, int $companyId, int $employeeId) /** * Assign a direct report to the employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function assignDirectReport(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -151,7 +138,7 @@ public function assignDirectReport(Request $request, int $companyId, int $employ $directReport = Employee::findOrFail($request->input('id')); return response()->json([ - 'data' =>[ + 'data' => [ 'id' => $directReport->id, 'name' => $directReport->name, 'avatar' => ImageHelper::getAvatar($directReport), @@ -169,11 +156,6 @@ public function assignDirectReport(Request $request, int $companyId, int $employ /** * Unassign a manager. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function unassignManager(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -197,11 +179,6 @@ public function unassignManager(Request $request, int $companyId, int $employeeI /** * Unassign a direct report. - * - * @param Request $request - * @param int $companyId - * @param int $managerId - * @return JsonResponse */ public function unassignDirectReport(Request $request, int $companyId, int $managerId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/Presentation/EmployeeSearchController.php b/app/Http/Controllers/Company/Employee/Presentation/EmployeeSearchController.php index 5b935e3b7..0bb7e027b 100644 --- a/app/Http/Controllers/Company/Employee/Presentation/EmployeeSearchController.php +++ b/app/Http/Controllers/Company/Employee/Presentation/EmployeeSearchController.php @@ -2,12 +2,12 @@ namespace App\Http\Controllers\Company\Employee\Presentation; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Employee\EmployeeHierarchyViewHelper; +use App\Models\Company\Employee; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class EmployeeSearchController extends Controller { @@ -18,11 +18,6 @@ class EmployeeSearchController extends Controller * - the list should not contain the current employee * - the list should not contain the current managers of this employee * - the list should not contain the current direct reports of this employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function hierarchy(Request $request, int $companyId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/Presentation/EmployeeSkillController.php b/app/Http/Controllers/Company/Employee/Presentation/EmployeeSkillController.php index 3a3b690e0..da104a29c 100644 --- a/app/Http/Controllers/Company/Employee/Presentation/EmployeeSkillController.php +++ b/app/Http/Controllers/Company/Employee/Presentation/EmployeeSkillController.php @@ -2,25 +2,20 @@ namespace App\Http\Controllers\Company\Employee\Presentation; -use Illuminate\Http\Request; -use App\Models\Company\Skill; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Employee\EmployeeSkillViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Skill; use App\Services\Company\Employee\Skill\AttachEmployeeToSkill; use App\Services\Company\Employee\Skill\RemoveSkillFromEmployee; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class EmployeeSkillController extends Controller { /** * Search an existing skill based on the name. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function search(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -39,11 +34,6 @@ public function search(Request $request, int $companyId, int $employeeId): JsonR /** * Assign a skill to the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $employeeId): JsonResponse { @@ -73,12 +63,6 @@ public function store(Request $request, int $companyId, int $employeeId): JsonRe /** * Remove the skill from the given employee. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $skillId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $employeeId, int $skillId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/Presentation/eCoffee/EmployeeECoffeeController.php b/app/Http/Controllers/Company/Employee/Presentation/eCoffee/EmployeeECoffeeController.php index 3153d7820..624ced7fb 100644 --- a/app/Http/Controllers/Company/Employee/Presentation/eCoffee/EmployeeECoffeeController.php +++ b/app/Http/Controllers/Company/Employee/Presentation/eCoffee/EmployeeECoffeeController.php @@ -2,23 +2,20 @@ namespace App\Http\Controllers\Company\Employee\Presentation\eCoffee; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Employee\EmployeeECoffeeViewHelper; +use App\Models\Company\Employee; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; class EmployeeECoffeeController extends Controller { /** * Show the list of current and past eCoffee sessions. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function index(Request $request, int $companyId, int $employeeId) diff --git a/app/Http/Controllers/Company/Employee/Work/EmployeeWorkController.php b/app/Http/Controllers/Company/Employee/Work/EmployeeWorkController.php index afbac120c..40a5186ec 100644 --- a/app/Http/Controllers/Company/Employee/Work/EmployeeWorkController.php +++ b/app/Http/Controllers/Company/Employee/Work/EmployeeWorkController.php @@ -2,28 +2,25 @@ namespace App\Http\Controllers\Company\Employee\Work; -use Carbon\Carbon; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use App\Helpers\PermissionHelper; -use Illuminate\Http\JsonResponse; use App\Helpers\NotificationHelper; +use App\Helpers\PermissionHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; use App\Http\ViewHelpers\Employee\EmployeeShowViewHelper; use App\Http\ViewHelpers\Employee\EmployeeWorkViewHelper; +use App\Models\Company\Employee; use App\Services\Company\Employee\Worklog\DestroyWorklog; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class EmployeeWorkController extends Controller { /** * Display the detail of an employee’s work panel. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return mixed */ public function show(Request $request, int $companyId, int $employeeId) @@ -85,14 +82,9 @@ public function show(Request $request, int $companyId, int $employeeId) * If the day is null, we'll take the week given in parameter, and take the * Friday of this week. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param string $week - * @param string $day * @return mixed */ - public function worklogDay(Request $request, int $companyId, int $employeeId, string $week, string $day = null) + public function worklogDay(Request $request, int $companyId, int $employeeId, string $week, ?string $day = null) { $loggedCompany = InstanceHelper::getLoggedCompany(); $loggedEmployee = InstanceHelper::getLoggedEmployee(); @@ -122,12 +114,6 @@ public function worklogDay(Request $request, int $companyId, int $employeeId, st /** * Delete the worklog. - * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $worklogId - * @return JsonResponse */ public function destroyWorkLog(Request $request, int $companyId, int $employeeId, int $worklogId): JsonResponse { diff --git a/app/Http/Controllers/Company/Employee/Work/WorkFromHome/EmployeeWorkFromHomeController.php b/app/Http/Controllers/Company/Employee/Work/WorkFromHome/EmployeeWorkFromHomeController.php index f94a82808..f80ebe0d0 100644 --- a/app/Http/Controllers/Company/Employee/Work/WorkFromHome/EmployeeWorkFromHomeController.php +++ b/app/Http/Controllers/Company/Employee/Work/WorkFromHome/EmployeeWorkFromHomeController.php @@ -2,29 +2,26 @@ namespace App\Http\Controllers\Company\Employee\Work\WorkFromHome; -use Carbon\Carbon; -use Inertia\Inertia; -use Inertia\Response; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Routing\Redirector; use App\Helpers\NotificationHelper; -use App\Http\Controllers\Controller; -use Illuminate\Support\Facades\Auth; -use Illuminate\Http\RedirectResponse; use App\Http\Collections\WorkFromHomeCollection; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Employee\EmployeeWorkFromHomeViewHelper; +use App\Models\Company\Employee; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\RedirectResponse; +use Illuminate\Http\Request; +use Illuminate\Routing\Redirector; +use Illuminate\Support\Facades\Auth; +use Inertia\Inertia; +use Inertia\Response; class EmployeeWorkFromHomeController extends Controller { /** * Show the employee's work from home page, for the current year. * - * @param Request $request - * @param int $companyId - * @param int $employeeId * @return Redirector|RedirectResponse|Response */ public function index(Request $request, int $companyId, int $employeeId) @@ -55,10 +52,6 @@ public function index(Request $request, int $companyId, int $employeeId) /** * Show the employee's worklogs page, for the given year. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $year * @return Redirector|RedirectResponse|Response */ public function year(Request $request, int $companyId, int $employeeId, int $year) @@ -87,11 +80,6 @@ public function year(Request $request, int $companyId, int $employeeId, int $yea /** * Show the employee's worklogs page, for the given month of the given year. * - * @param Request $request - * @param int $companyId - * @param int $employeeId - * @param int $year - * @param int $month * @return Redirector|RedirectResponse|Response */ public function month(Request $request, int $companyId, int $employeeId, int $year, int $month) @@ -120,12 +108,9 @@ public function month(Request $request, int $companyId, int $employeeId, int $ye /** * Common page builder for the work from home page. * - * @param Employee $employee - * @param int $year - * @param int|null $month * @return Response */ - private function buildPage(Employee $employee, int $year, int $month = null) + private function buildPage(Employee $employee, int $year, ?int $month = null) { $entries = $employee ->workFromHomes() diff --git a/app/Http/Controllers/Company/Recruiting/RecruitingCandidateController.php b/app/Http/Controllers/Company/Recruiting/RecruitingCandidateController.php index d232ac5a3..53c0dc3df 100644 --- a/app/Http/Controllers/Company/Recruiting/RecruitingCandidateController.php +++ b/app/Http/Controllers/Company/Recruiting/RecruitingCandidateController.php @@ -2,39 +2,33 @@ namespace App\Http\Controllers\Company\Recruiting; -use Carbon\Carbon; -use Inertia\Inertia; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; -use App\Helpers\StringHelper; use App\Helpers\InstanceHelper; -use App\Models\Company\Candidate; -use Illuminate\Http\JsonResponse; -use App\Models\Company\JobOpening; use App\Helpers\NotificationHelper; +use App\Helpers\StringHelper; use App\Http\Controllers\Controller; -use App\Models\Company\CandidateStage; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\JobOpening\HireCandidate; use App\Http\ViewHelpers\Recruiting\RecruitingCandidatesViewHelper; -use App\Services\Company\Adminland\JobOpening\ProcessCandidateStage; +use App\Models\Company\Candidate; +use App\Models\Company\CandidateStage; +use App\Models\Company\JobOpening; use App\Services\Company\Adminland\JobOpening\CreateCandidateStageNote; -use App\Services\Company\Adminland\JobOpening\UpdateCandidateStageNote; -use App\Services\Company\Adminland\JobOpening\DestroyCandidateStageNote; use App\Services\Company\Adminland\JobOpening\CreateCandidateStageParticipant; +use App\Services\Company\Adminland\JobOpening\DestroyCandidateStageNote; use App\Services\Company\Adminland\JobOpening\DestroyCandidateStageParticipant; +use App\Services\Company\Adminland\JobOpening\HireCandidate; +use App\Services\Company\Adminland\JobOpening\ProcessCandidateStage; +use App\Services\Company\Adminland\JobOpening\UpdateCandidateStageNote; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class RecruitingCandidateController extends Controller { /** * Show the detail of a candidate. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @return mixed */ public function show(Request $request, int $companyId, int $jobOpeningId, int $candidateId): mixed { @@ -85,12 +79,6 @@ public function show(Request $request, int $companyId, int $jobOpeningId, int $c /** * Show the cv of a candidate. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @return mixed */ public function showCV(Request $request, int $companyId, int $jobOpeningId, int $candidateId): mixed { @@ -136,13 +124,6 @@ public function showCV(Request $request, int $companyId, int $jobOpeningId, int /** * Show the detail of a candidate. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $candidateStageId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $candidateStageId): JsonResponse { @@ -170,13 +151,6 @@ public function store(Request $request, int $companyId, int $jobOpeningId, int $ /** * Show the detail of a candidate at a given stage. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $stageId - * @return mixed */ public function showStage(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $stageId): mixed { @@ -233,12 +207,6 @@ public function showStage(Request $request, int $companyId, int $jobOpeningId, i /** * Search the potential participants. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $stageId */ public function searchParticipants(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $stageId) { @@ -288,11 +256,6 @@ public function searchParticipants(Request $request, int $companyId, int $jobOpe /** * Actually assign a participant to the recruiting stage. * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $stageId * @return mixed */ public function assignParticipant(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $stageId) @@ -322,12 +285,6 @@ public function assignParticipant(Request $request, int $companyId, int $jobOpen /** * Remove a participant from the recruiting stage. * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $stageId - * @param integer $participantId * @return mixed */ public function removeParticipant(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $stageId, int $participantId) @@ -352,11 +309,6 @@ public function removeParticipant(Request $request, int $companyId, int $jobOpen /** * Create a new note. * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $stageId * @return mixed */ public function notes(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $stageId) @@ -399,12 +351,6 @@ public function notes(Request $request, int $companyId, int $jobOpeningId, int $ /** * Update a note. * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $stageId - * @param integer $noteId * @return mixed */ public function updateNote(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $stageId, int $noteId) @@ -448,12 +394,6 @@ public function updateNote(Request $request, int $companyId, int $jobOpeningId, /** * Destroy a note. * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @param integer $stageId - * @param integer $noteId * @return mixed */ public function destroyNote(Request $request, int $companyId, int $jobOpeningId, int $candidateId, int $stageId, int $noteId) @@ -477,12 +417,6 @@ public function destroyNote(Request $request, int $companyId, int $jobOpeningId, /** * Show the Hire candidate page. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId - * @return mixed */ public function hire(Request $request, int $companyId, int $jobOpeningId, int $candidateId): mixed { @@ -532,10 +466,6 @@ public function hire(Request $request, int $companyId, int $jobOpeningId, int $c /** * Actually hire the candidate. * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @param integer $candidateId * @return mixed */ public function storeHire(Request $request, int $companyId, int $jobOpeningId, int $candidateId) diff --git a/app/Http/Controllers/Company/Recruiting/RecruitingJobOpeningController.php b/app/Http/Controllers/Company/Recruiting/RecruitingJobOpeningController.php index 679478f32..5f0f461bc 100644 --- a/app/Http/Controllers/Company/Recruiting/RecruitingJobOpeningController.php +++ b/app/Http/Controllers/Company/Recruiting/RecruitingJobOpeningController.php @@ -2,20 +2,20 @@ namespace App\Http\Controllers\Company\Recruiting; -use Inertia\Inertia; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\DB; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Http\ViewHelpers\Recruiting\RecruitingJobOpeningsViewHelper; +use App\Models\Company\JobOpening; use App\Services\Company\Adminland\JobOpening\CreateJobOpening; +use App\Services\Company\Adminland\JobOpening\DestroyJobOpening; use App\Services\Company\Adminland\JobOpening\ToggleJobOpening; use App\Services\Company\Adminland\JobOpening\UpdateJobOpening; -use App\Services\Company\Adminland\JobOpening\DestroyJobOpening; -use App\Http\ViewHelpers\Recruiting\RecruitingJobOpeningsViewHelper; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\DB; +use Inertia\Inertia; class RecruitingJobOpeningController extends Controller { @@ -68,8 +68,6 @@ public function fulfilled() /** * Show the Create job opening view. * - * @param Request $request - * @param int $companyId * @return mixed */ public function create(Request $request, int $companyId) @@ -96,11 +94,6 @@ public function create(Request $request, int $companyId) /** * Get the list of potential sponsors for this job opening. - * - * @param Request $request - * @param int $companyId - * - * @return JsonResponse */ public function sponsors(Request $request, int $companyId): JsonResponse { @@ -118,10 +111,6 @@ public function sponsors(Request $request, int $companyId): JsonResponse /** * Store the new job opening. - * - * @param Request $request - * @param integer $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { @@ -154,9 +143,6 @@ public function store(Request $request, int $companyId): JsonResponse /** * Show the Edit job opening view. * - * @param Request $request - * @param int $companyId - * @param int $jobOpeningId * @return mixed */ public function edit(Request $request, int $companyId, int $jobOpeningId) @@ -195,11 +181,6 @@ public function edit(Request $request, int $companyId, int $jobOpeningId) /** * Update the job . - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $jobOpeningId): JsonResponse { @@ -233,11 +214,6 @@ public function update(Request $request, int $companyId, int $jobOpeningId): Jso /** * Show the detail of a job opening. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @return mixed */ public function show(Request $request, int $companyId, int $jobOpeningId): mixed { @@ -286,11 +262,6 @@ public function show(Request $request, int $companyId, int $jobOpeningId): mixed /** * Show the rejected candidates of a job opening. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @return mixed */ public function showRejected(Request $request, int $companyId, int $jobOpeningId): mixed { @@ -339,11 +310,6 @@ public function showRejected(Request $request, int $companyId, int $jobOpeningId /** * Show the selected candidates of a job opening. - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @return mixed */ public function showSelected(Request $request, int $companyId, int $jobOpeningId): mixed { @@ -392,11 +358,6 @@ public function showSelected(Request $request, int $companyId, int $jobOpeningId /** * Toggle the job status (active/inactive). - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @return JsonResponse */ public function toggle(Request $request, int $companyId, int $jobOpeningId): JsonResponse { @@ -418,11 +379,6 @@ public function toggle(Request $request, int $companyId, int $jobOpeningId): Jso /** * Delete the job . - * - * @param Request $request - * @param integer $companyId - * @param integer $jobOpeningId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $jobOpeningId): JsonResponse { diff --git a/app/Http/Controllers/Company/Team/TeamController.php b/app/Http/Controllers/Company/Team/TeamController.php index d4a061382..19e3dd3ff 100644 --- a/app/Http/Controllers/Company/Team/TeamController.php +++ b/app/Http/Controllers/Company/Team/TeamController.php @@ -2,27 +2,23 @@ namespace App\Http\Controllers\Company\Team; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; -use App\Http\Controllers\Controller; use App\Http\Collections\TeamNewsCollection; -use App\Http\ViewHelpers\Team\TeamShowViewHelper; use App\Http\Collections\TeamUsefulLinkCollection; +use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Team\TeamIndexViewHelper; +use App\Http\ViewHelpers\Team\TeamShowViewHelper; +use App\Models\Company\Team; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class TeamController extends Controller { /** * Display the list of teams. - * - * @param Request $request - * @param int $companyId - * @return Response */ public function index(Request $request, int $companyId): Response { @@ -37,9 +33,6 @@ public function index(Request $request, int $companyId): Response /** * Display the detail of a team. * - * @param Request $request - * @param int $companyId - * @param int $teamId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ diff --git a/app/Http/Controllers/Company/Team/TeamDescriptionController.php b/app/Http/Controllers/Company/Team/TeamDescriptionController.php index c74420318..7c96ae3be 100644 --- a/app/Http/Controllers/Company/Team/TeamDescriptionController.php +++ b/app/Http/Controllers/Company/Team/TeamDescriptionController.php @@ -2,22 +2,17 @@ namespace App\Http\Controllers\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Team\TeamShowViewHelper; use App\Services\Company\Team\Description\SetTeamDescription; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class TeamDescriptionController extends Controller { /** * Update the information about the team's description. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $teamId): JsonResponse { diff --git a/app/Http/Controllers/Company/Team/TeamLeadController.php b/app/Http/Controllers/Company/Team/TeamLeadController.php index 66cb7508a..9b26a4cc1 100644 --- a/app/Http/Controllers/Company/Team/TeamLeadController.php +++ b/app/Http/Controllers/Company/Team/TeamLeadController.php @@ -3,23 +3,18 @@ namespace App\Http\Controllers\Company\Team; use App\Helpers\ImageHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Team\TeamShowViewHelper; use App\Services\Company\Team\SetTeamLead; use App\Services\Company\Team\UnsetTeamLead; -use App\Http\ViewHelpers\Team\TeamShowViewHelper; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class TeamLeadController extends Controller { /** * Search all possible team leads for this team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function search(Request $request, int $companyId, int $teamId): JsonResponse { @@ -33,11 +28,6 @@ public function search(Request $request, int $companyId, int $teamId): JsonRespo /** * Update the information about the team's lead. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $teamId): JsonResponse { @@ -67,12 +57,6 @@ public function store(Request $request, int $companyId, int $teamId): JsonRespon /** * Remove the current team lead. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $teamLeadId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $teamId, int $teamLeadId): JsonResponse { diff --git a/app/Http/Controllers/Company/Team/TeamMembersController.php b/app/Http/Controllers/Company/Team/TeamMembersController.php index b4035c772..de187bf75 100644 --- a/app/Http/Controllers/Company/Team/TeamMembersController.php +++ b/app/Http/Controllers/Company/Team/TeamMembersController.php @@ -2,26 +2,21 @@ namespace App\Http\Controllers\Company\Team; -use App\Models\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Team\TeamMembersViewHelper; -use Illuminate\Database\Eloquent\ModelNotFoundException; +use App\Models\Company\Employee; +use App\Models\Company\Team; use App\Services\Company\Employee\Team\AddEmployeeToTeam; use App\Services\Company\Employee\Team\RemoveEmployeeFromTeam; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class TeamMembersController extends Controller { /** * Search members that can be added to the team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function index(Request $request, int $companyId, int $teamId): JsonResponse { @@ -44,12 +39,6 @@ public function index(Request $request, int $companyId, int $teamId): JsonRespon /** * Add the employee to the team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $employeeId - * @return JsonResponse */ public function attach(Request $request, int $companyId, int $teamId, int $employeeId): JsonResponse { @@ -71,12 +60,6 @@ public function attach(Request $request, int $companyId, int $teamId, int $emplo /** * Remove the employee from the team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $employeeId - * @return JsonResponse */ public function detach(Request $request, int $companyId, int $teamId, int $employeeId): JsonResponse { diff --git a/app/Http/Controllers/Company/Team/TeamNewsController.php b/app/Http/Controllers/Company/Team/TeamNewsController.php index 6a730e35c..a7983d7f2 100644 --- a/app/Http/Controllers/Company/Team/TeamNewsController.php +++ b/app/Http/Controllers/Company/Team/TeamNewsController.php @@ -2,29 +2,26 @@ namespace App\Http\Controllers\Company\Team; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\PaginatorHelper; -use App\Models\Company\TeamNews; -use Illuminate\Http\JsonResponse; -use App\Http\Controllers\Controller; use App\Http\Collections\TeamNewsCollection; +use App\Http\Controllers\Controller; +use App\Models\Company\Team; +use App\Models\Company\TeamNews; use App\Services\Company\Team\TeamNews\CreateTeamNews; -use App\Services\Company\Team\TeamNews\UpdateTeamNews; use App\Services\Company\Team\TeamNews\DestroyTeamNews; +use App\Services\Company\Team\TeamNews\UpdateTeamNews; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class TeamNewsController extends Controller { /** * Show the Team News page. * - * @param Request $request - * @param int $companyId - * @param int $teamId * @return mixed */ public function index(Request $request, int $companyId, int $teamId) @@ -55,9 +52,6 @@ public function index(Request $request, int $companyId, int $teamId) /** * Show the Post team news form. * - * @param Request $request - * @param int $companyId - * @param int $teamId * @return mixed */ public function create(Request $request, int $companyId, int $teamId) @@ -79,11 +73,6 @@ public function create(Request $request, int $companyId, int $teamId) /** * Show the Post team news form. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $teamId): JsonResponse { @@ -106,12 +95,6 @@ public function store(Request $request, int $companyId, int $teamId): JsonRespon /** * Show the Edit team news form. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $newsId - * @return Response */ public function edit(Request $request, int $companyId, int $teamId, int $newsId): Response { @@ -129,12 +112,6 @@ public function edit(Request $request, int $companyId, int $teamId, int $newsId) /** * Update the company news. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $newsId - * @return JsonResponse */ public function update(Request $request, int $companyId, int $teamId, int $newsId): JsonResponse { @@ -157,12 +134,6 @@ public function update(Request $request, int $companyId, int $teamId, int $newsI /** * Delete the team news. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $newsId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $teamId, int $newsId): JsonResponse { diff --git a/app/Http/Controllers/Company/Team/TeamRecentShipController.php b/app/Http/Controllers/Company/Team/TeamRecentShipController.php index 65ecba3d2..fd907708d 100644 --- a/app/Http/Controllers/Company/Team/TeamRecentShipController.php +++ b/app/Http/Controllers/Company/Team/TeamRecentShipController.php @@ -2,28 +2,25 @@ namespace App\Http\Controllers\Company\Team; -use Inertia\Inertia; -use Inertia\Response; -use App\Models\Company\Ship; -use App\Models\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use App\Models\Company\Employee; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Team\TeamRecentShipViewHelper; +use App\Models\Company\Employee; +use App\Models\Company\Ship; +use App\Models\Company\Team; use App\Services\Company\Team\Ship\CreateShip; use App\Services\Company\Team\Ship\DestroyShip; -use App\Http\ViewHelpers\Team\TeamRecentShipViewHelper; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class TeamRecentShipController extends Controller { /** * Show the Recent ships page. * - * @param Request $request - * @param int $companyId - * @param int $teamId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -57,10 +54,6 @@ public function index(Request $request, int $companyId, int $teamId) /** * Search an employee to add to the recent ship entry. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function search(Request $request, int $companyId): JsonResponse { @@ -75,9 +68,6 @@ public function search(Request $request, int $companyId): JsonResponse /** * Show the Create recent ship form. * - * @param Request $request - * @param int $companyId - * @param int $teamId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -100,11 +90,6 @@ public function create(Request $request, int $companyId, int $teamId) /** * Show the Post recent ship form. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $teamId): JsonResponse { @@ -139,10 +124,6 @@ public function store(Request $request, int $companyId, int $teamId): JsonRespon /** * Show the details of a recent ship. * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $recentShipId * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|Response */ @@ -153,7 +134,7 @@ public function show(Request $request, int $companyId, int $teamId, int $recentS try { $team = Team::where('company_id', $loggedCompany->id) - ->findOrFail($teamId); + ->findOrFail($teamId); } catch (ModelNotFoundException $e) { return redirect('home'); } @@ -180,12 +161,6 @@ public function show(Request $request, int $companyId, int $teamId, int $recentS /** * Delete the recent ship. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $shipId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $teamId, int $shipId): JsonResponse { diff --git a/app/Http/Controllers/Company/Team/TeamUsefulLinkController.php b/app/Http/Controllers/Company/Team/TeamUsefulLinkController.php index 6d089d3a9..c0f358fb4 100644 --- a/app/Http/Controllers/Company/Team/TeamUsefulLinkController.php +++ b/app/Http/Controllers/Company/Team/TeamUsefulLinkController.php @@ -2,22 +2,17 @@ namespace App\Http\Controllers\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Team\Links\CreateTeamUsefulLink; use App\Services\Company\Team\Links\DestroyTeamUsefulLink; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class TeamUsefulLinkController extends Controller { /** * Add a new useful link to the team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @return JsonResponse */ public function store(Request $request, int $companyId, int $teamId): JsonResponse { @@ -41,12 +36,6 @@ public function store(Request $request, int $companyId, int $teamId): JsonRespon /** * Remove the new useful link from the team. - * - * @param Request $request - * @param int $companyId - * @param int $teamId - * @param int $linkId - * @return JsonResponse */ public function destroy(Request $request, int $companyId, int $teamId, int $linkId): JsonResponse { diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index 2d8a370d2..882b7152c 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -2,13 +2,13 @@ namespace App\Http\Controllers; -use App\Models\User\User; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\Employee; +use App\Models\User\User; +use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; -use App\Exceptions\NotEnoughPermissionException; -use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; -use Illuminate\Foundation\Auth\Access\AuthorizesRequests; +use Illuminate\Routing\Controller as BaseController; class Controller extends BaseController { @@ -27,8 +27,6 @@ class Controller extends BaseController * It is used to restrict what an employee can see. It checks * if the user is either the employee being seen, or a person with at least * the HR role. - * - * @return User */ public function canAccessCurrentPage(): User { @@ -50,24 +48,28 @@ public function canAccessCurrentPage(): User public function asUser(User $user): self { $this->authenticatedUser = $user; + return $this; } public function forEmployee(Employee $employee): self { $this->restrictedToEmployee = $employee; + return $this; } public function forCompanyId(int $companyId): self { $this->restrictedToCompanyId = $companyId; + return $this; } public function asPermissionLevel(int $permissionLevel): self { $this->requiredPermissionLevel = $permissionLevel; + return $this; } } diff --git a/app/Http/Controllers/HeaderSearchController.php b/app/Http/Controllers/HeaderSearchController.php index de8a11729..a63ad52e2 100644 --- a/app/Http/Controllers/HeaderSearchController.php +++ b/app/Http/Controllers/HeaderSearchController.php @@ -2,20 +2,17 @@ namespace App\Http\Controllers; -use App\Models\Company\Team; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; +use App\Http\ViewHelpers\Company\HeaderSearchViewHelper; use App\Models\Company\Employee; +use App\Models\Company\Team; use Illuminate\Http\JsonResponse; -use App\Http\ViewHelpers\Company\HeaderSearchViewHelper; +use Illuminate\Http\Request; class HeaderSearchController extends Controller { /** * Perform search of an employee from the header. - * - * @param Request $request - * @return JsonResponse */ public function employees(Request $request): JsonResponse { @@ -29,9 +26,6 @@ public function employees(Request $request): JsonResponse /** * Perform search of an team from the header. - * - * @param Request $request - * @return JsonResponse */ public function teams(Request $request): JsonResponse { diff --git a/app/Http/Controllers/HelpController.php b/app/Http/Controllers/HelpController.php index 11e1a9d74..b37119010 100644 --- a/app/Http/Controllers/HelpController.php +++ b/app/Http/Controllers/HelpController.php @@ -2,18 +2,15 @@ namespace App\Http\Controllers; -use Illuminate\Http\Request; +use App\Services\User\Preferences\ChangeHelpPreferences; use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; -use App\Services\User\Preferences\ChangeHelpPreferences; class HelpController extends Controller { /** * Toggle help preferences. - * - * @param Request $request - * @return JsonResponse */ public function toggle(Request $request): JsonResponse { diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 0e0eab589..5f2d98eb5 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -2,10 +2,10 @@ namespace App\Http\Controllers; -use Inertia\Inertia; -use Inertia\Response; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Cache; +use Inertia\Inertia; +use Inertia\Response; class HomeController extends Controller { @@ -32,7 +32,6 @@ public function list() /** * Display the list of companies. * - * @param bool $redirect * @return Response|\Symfony\Component\HttpFoundation\RedirectResponse */ private function companies(bool $redirect) diff --git a/app/Http/Controllers/Jobs/JobsCompanyController.php b/app/Http/Controllers/Jobs/JobsCompanyController.php index a58fb3ca7..4d304d062 100644 --- a/app/Http/Controllers/Jobs/JobsCompanyController.php +++ b/app/Http/Controllers/Jobs/JobsCompanyController.php @@ -2,31 +2,29 @@ namespace App\Http\Controllers\Jobs; -use Inertia\Inertia; use App\Helpers\FileHelper; -use App\Models\Company\File; -use Illuminate\Http\Request; +use App\Http\Controllers\Controller; +use App\Http\ViewHelpers\Jobs\JobsCompanyViewHelper; +use App\Models\Company\Candidate; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\Candidate; -use Illuminate\Http\JsonResponse; +use App\Models\Company\File; use App\Models\Company\JobOpening; -use App\Http\Controllers\Controller; use App\Services\Company\Adminland\File\UploadFile; -use App\Http\ViewHelpers\Jobs\JobsCompanyViewHelper; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Adminland\JobOpening\CreateCandidate; use App\Services\Company\Adminland\JobOpening\AddFileToCandidate; +use App\Services\Company\Adminland\JobOpening\CreateCandidate; use App\Services\Company\Adminland\JobOpening\DestroyCandidateDuringApplicationProcess; use App\Services\Company\Adminland\JobOpening\DestroyCandidateFileDuringApplicationProcess; +use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; +use Inertia\Inertia; class JobsCompanyController extends Controller { /** * Shows all the jobs openings in the given company. * - * @param Request $request - * @param string $slug * @return mixed */ public function index(Request $request, string $slug) @@ -47,9 +45,6 @@ public function index(Request $request, string $slug) /** * Shows the details of the job opening. * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug * @return mixed */ public function show(Request $request, string $slug, string $jobOpeningSlug) @@ -82,9 +77,6 @@ public function show(Request $request, string $slug, string $jobOpeningSlug) /** * Shows the Apply to a job page. * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug * @return mixed */ public function apply(Request $request, string $slug, string $jobOpeningSlug) @@ -113,9 +105,6 @@ public function apply(Request $request, string $slug, string $jobOpeningSlug) /** * Store the candidate. * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug * @return mixed */ public function store(Request $request, string $slug, string $jobOpeningSlug) @@ -158,10 +147,6 @@ public function store(Request $request, string $slug, string $jobOpeningSlug) /** * Shows the Upload documents page. * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug - * @param string $candidateSlug * @return mixed */ public function cv(Request $request, string $slug, string $jobOpeningSlug, string $candidateSlug) @@ -202,12 +187,6 @@ public function cv(Request $request, string $slug, string $jobOpeningSlug, strin /** * Store a document. - * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug - * @param string $candidateSlug - * @return JsonResponse|null */ public function storeCv(Request $request, string $slug, string $jobOpeningSlug, string $candidateSlug): ?JsonResponse { @@ -268,13 +247,6 @@ public function storeCv(Request $request, string $slug, string $jobOpeningSlug, /** * Destroy a document. - * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug - * @param string $candidateSlug - * @param string $fileId - * @return JsonResponse|null */ public function destroyCv(Request $request, string $slug, string $jobOpeningSlug, string $candidateSlug, string $fileId): ?JsonResponse { @@ -320,12 +292,6 @@ public function destroyCv(Request $request, string $slug, string $jobOpeningSlug /** * Destroy the candidate during the application process. - * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug - * @param string $candidateSlug - * @return JsonResponse|null */ public function destroy(Request $request, string $slug, string $jobOpeningSlug, string $candidateSlug): ?JsonResponse { @@ -367,12 +333,6 @@ public function destroy(Request $request, string $slug, string $jobOpeningSlug, /** * Finalize the application process. - * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug - * @param string $candidateSlug - * @return JsonResponse|null */ public function finalizeApplication(Request $request, string $slug, string $jobOpeningSlug, string $candidateSlug): ?JsonResponse { @@ -413,10 +373,6 @@ public function finalizeApplication(Request $request, string $slug, string $jobO /** * Shows Success page. * - * @param Request $request - * @param string $slug - * @param string $jobOpeningSlug - * @param string $candidateSlug * @return mixed */ public function success(Request $request, string $slug, string $jobOpeningSlug, string $candidateSlug) diff --git a/app/Http/Controllers/Jobs/JobsController.php b/app/Http/Controllers/Jobs/JobsController.php index 44f7b1e91..7efb058df 100644 --- a/app/Http/Controllers/Jobs/JobsController.php +++ b/app/Http/Controllers/Jobs/JobsController.php @@ -2,17 +2,15 @@ namespace App\Http\Controllers\Jobs; -use Inertia\Inertia; -use Inertia\Response; use App\Http\Controllers\Controller; use App\Http\ViewHelpers\Jobs\JobsViewHelper; +use Inertia\Inertia; +use Inertia\Response; class JobsController extends Controller { /** * Display the index of the jobs page. - * - * @return Response */ public function index(): Response { diff --git a/app/Http/Controllers/User/LocaleController.php b/app/Http/Controllers/User/LocaleController.php index 550b87349..91083edbb 100644 --- a/app/Http/Controllers/User/LocaleController.php +++ b/app/Http/Controllers/User/LocaleController.php @@ -2,10 +2,10 @@ namespace App\Http\Controllers\User; -use Illuminate\Http\Request; -use Illuminate\Http\JsonResponse; -use App\Services\User\UpdateLocale; use App\Http\Controllers\Controller; +use App\Services\User\UpdateLocale; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class LocaleController extends Controller @@ -13,7 +13,6 @@ class LocaleController extends Controller /** * Update the user locale. * - * @param Request $request * @return mixed */ public function update(Request $request) diff --git a/app/Http/Controllers/User/Notification/MarkNotificationAsReadController.php b/app/Http/Controllers/User/Notification/MarkNotificationAsReadController.php index c3f6e23bd..722010ea5 100644 --- a/app/Http/Controllers/User/Notification/MarkNotificationAsReadController.php +++ b/app/Http/Controllers/User/Notification/MarkNotificationAsReadController.php @@ -2,20 +2,16 @@ namespace App\Http\Controllers\User\Notification; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; -use Illuminate\Http\JsonResponse; use App\Http\Controllers\Controller; use App\Services\Company\Employee\Notification\MarkNotificationsAsRead; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; class MarkNotificationAsReadController extends Controller { /** * Mark the notifications as read. - * - * @param Request $request - * @param int $companyId - * @return JsonResponse */ public function store(Request $request, int $companyId): JsonResponse { diff --git a/app/Http/Controllers/User/Notification/NotificationController.php b/app/Http/Controllers/User/Notification/NotificationController.php index eb66486a2..4ab42e142 100644 --- a/app/Http/Controllers/User/Notification/NotificationController.php +++ b/app/Http/Controllers/User/Notification/NotificationController.php @@ -2,23 +2,18 @@ namespace App\Http\Controllers\User\Notification; -use Inertia\Inertia; -use Inertia\Response; use App\Helpers\DateHelper; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Helpers\NotificationHelper; use App\Http\Controllers\Controller; +use Illuminate\Http\Request; +use Inertia\Inertia; +use Inertia\Response; class NotificationController extends Controller { /** * Display the list of notifications. - * - * @param Request $request - * @param int $companyId - * - * @return Response */ public function index(Request $request, int $companyId): Response { diff --git a/app/Http/Controllers/WelcomeController.php b/app/Http/Controllers/WelcomeController.php index 7182314a9..93885c966 100644 --- a/app/Http/Controllers/WelcomeController.php +++ b/app/Http/Controllers/WelcomeController.php @@ -2,11 +2,11 @@ namespace App\Http\Controllers; -use Inertia\Inertia; use App\Helpers\InstanceHelper; +use App\Helpers\NotificationHelper; use App\Models\Company\Employee; use Illuminate\Http\JsonResponse; -use App\Helpers\NotificationHelper; +use Inertia\Inertia; class WelcomeController extends Controller { @@ -35,8 +35,6 @@ public function index() /** * Hide the welcome page. - * - * @return JsonResponse */ public function hide(): JsonResponse { diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 9e1e4ea5b..ca9b1be07 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -15,7 +15,7 @@ class Kernel extends HttpKernel */ protected $middleware = [ \Monicahq\Cloudflare\Http\Middleware\TrustProxies::class, - \Fruitcake\Cors\HandleCors::class, + \Illuminate\Http\Middleware\HandleCors::class, \App\Http\Middleware\PreventRequestsDuringMaintenance::class, \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class, \App\Http\Middleware\TrimStrings::class, diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index 6e41cd8da..8320b6edb 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -9,7 +9,7 @@ class Authenticate extends Middleware /** * Get the path the user should be redirected to when they are not authenticated. * - * @param \Illuminate\Http\Request $request + * @param \Illuminate\Http\Request $request * @return string|null */ protected function redirectTo($request) diff --git a/app/Http/Middleware/CheckAccountantRole.php b/app/Http/Middleware/CheckAccountantRole.php index 444cb5584..6cfe38795 100644 --- a/app/Http/Middleware/CheckAccountantRole.php +++ b/app/Http/Middleware/CheckAccountantRole.php @@ -2,18 +2,16 @@ namespace App\Http\Middleware; +use App\Helpers\InstanceHelper; use Closure; use Illuminate\Http\Request; -use App\Helpers\InstanceHelper; class CheckAccountantRole { /** * Handle an incoming request. * - * @param Request $request - * @param \Closure $next - * + * @param Request $request * @return mixed */ public function handle($request, Closure $next) diff --git a/app/Http/Middleware/CheckAdministratorRole.php b/app/Http/Middleware/CheckAdministratorRole.php index 631f39d4d..034bdd7b8 100644 --- a/app/Http/Middleware/CheckAdministratorRole.php +++ b/app/Http/Middleware/CheckAdministratorRole.php @@ -2,18 +2,16 @@ namespace App\Http\Middleware; +use App\Helpers\InstanceHelper; use Closure; use Illuminate\Http\Request; -use App\Helpers\InstanceHelper; class CheckAdministratorRole { /** * Handle an incoming request. * - * @param Request $request - * @param \Closure $next - * + * @param Request $request * @return mixed */ public function handle($request, Closure $next) diff --git a/app/Http/Middleware/CheckBoard.php b/app/Http/Middleware/CheckBoard.php index 5f83e6618..2e74db31c 100644 --- a/app/Http/Middleware/CheckBoard.php +++ b/app/Http/Middleware/CheckBoard.php @@ -2,8 +2,8 @@ namespace App\Http\Middleware; -use Closure; use App\Models\Company\ProjectBoard; +use Closure; use Illuminate\Database\Eloquent\ModelNotFoundException; class CheckBoard @@ -11,9 +11,7 @@ class CheckBoard /** * Check that the board can be access. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * + * @param \Illuminate\Http\Request $request * @return mixed */ public function handle($request, Closure $next) diff --git a/app/Http/Middleware/CheckCompany.php b/app/Http/Middleware/CheckCompany.php index 97049e617..3f03fa124 100644 --- a/app/Http/Middleware/CheckCompany.php +++ b/app/Http/Middleware/CheckCompany.php @@ -2,21 +2,19 @@ namespace App\Http\Middleware; -use Closure; use App\Models\Company\Company; use App\Models\Company\Employee; +use Closure; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Cache; -use Illuminate\Database\Eloquent\ModelNotFoundException; class CheckCompany { /** * Check that the user can access this company. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * + * @param \Illuminate\Http\Request $request * @return mixed */ public function handle($request, Closure $next) @@ -32,8 +30,8 @@ public function handle($request, Closure $next) abort(401); } - $cachedCompanyObject = 'cachedCompanyObject_' . Auth::user()->id; - $cachedEmployeeObject = 'cachedEmployeeObject_' . Auth::user()->id; + $cachedCompanyObject = 'cachedCompanyObject_'.Auth::user()->id; + $cachedEmployeeObject = 'cachedEmployeeObject_'.Auth::user()->id; Cache::put($cachedCompanyObject, $employee->company, now()->addMinutes(60)); Cache::put($cachedEmployeeObject, $employee, now()->addMinutes(60)); diff --git a/app/Http/Middleware/CheckEmployeeOrManagerOrAtLeastRH.php b/app/Http/Middleware/CheckEmployeeOrManagerOrAtLeastRH.php index f5de91fd2..e4a829292 100644 --- a/app/Http/Middleware/CheckEmployeeOrManagerOrAtLeastRH.php +++ b/app/Http/Middleware/CheckEmployeeOrManagerOrAtLeastRH.php @@ -2,11 +2,11 @@ namespace App\Http\Middleware; -use Closure; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; use App\Models\Company\Employee; +use Closure; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Http\Request; class CheckEmployeeOrManagerOrAtLeastRH { @@ -15,9 +15,7 @@ class CheckEmployeeOrManagerOrAtLeastRH * or his manager * or someone with RH or admin role. * - * @param Request $request - * @param \Closure $next - * + * @param Request $request * @return mixed */ public function handle($request, Closure $next) diff --git a/app/Http/Middleware/CheckHRRole.php b/app/Http/Middleware/CheckHRRole.php index 8b93777a7..ba82ca86c 100644 --- a/app/Http/Middleware/CheckHRRole.php +++ b/app/Http/Middleware/CheckHRRole.php @@ -2,18 +2,16 @@ namespace App\Http\Middleware; +use App\Helpers\InstanceHelper; use Closure; use Illuminate\Http\Request; -use App\Helpers\InstanceHelper; class CheckHRRole { /** * Handle an incoming request. * - * @param Request $request - * @param \Closure $next - * + * @param Request $request * @return mixed */ public function handle($request, Closure $next) diff --git a/app/Http/Middleware/CheckLocale.php b/app/Http/Middleware/CheckLocale.php index 8a0f8f2a0..314002230 100644 --- a/app/Http/Middleware/CheckLocale.php +++ b/app/Http/Middleware/CheckLocale.php @@ -2,8 +2,8 @@ namespace App\Http\Middleware; -use Closure; use App\Helpers\LocaleHelper; +use Closure; use Illuminate\Support\Facades\App; class CheckLocale @@ -12,7 +12,6 @@ class CheckLocale * Handle an incoming request. * * @param \Illuminate\Http\Request $request - * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) diff --git a/app/Http/Middleware/CheckProject.php b/app/Http/Middleware/CheckProject.php index 9499817cd..39bebfae4 100644 --- a/app/Http/Middleware/CheckProject.php +++ b/app/Http/Middleware/CheckProject.php @@ -2,9 +2,9 @@ namespace App\Http\Middleware; -use Closure; use App\Helpers\InstanceHelper; use App\Models\Company\Project; +use Closure; use Illuminate\Database\Eloquent\ModelNotFoundException; class CheckProject @@ -12,9 +12,7 @@ class CheckProject /** * Check that the user can access this project. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * + * @param \Illuminate\Http\Request $request * @return mixed */ public function handle($request, Closure $next) diff --git a/app/Http/Middleware/EnsureEmailIsVerified.php b/app/Http/Middleware/EnsureEmailIsVerified.php index 6eac62365..692e3c969 100644 --- a/app/Http/Middleware/EnsureEmailIsVerified.php +++ b/app/Http/Middleware/EnsureEmailIsVerified.php @@ -11,8 +11,7 @@ class EnsureEmailIsVerified extends Middleware * Handle an incoming request. * * @param \Illuminate\Http\Request $request - * @param \Closure $next - * @param mixed|null $redirectToRoute + * @param mixed|null $redirectToRoute * @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\Response */ public function handle($request, Closure $next, $redirectToRoute = null) diff --git a/app/Http/Middleware/HandleInertiaRequests.php b/app/Http/Middleware/HandleInertiaRequests.php index 434dadd33..14796cbbc 100644 --- a/app/Http/Middleware/HandleInertiaRequests.php +++ b/app/Http/Middleware/HandleInertiaRequests.php @@ -2,9 +2,9 @@ namespace App\Http\Middleware; -use Inertia\Middleware; -use Illuminate\Http\Request; use App\Helpers\InstanceHelper; +use Illuminate\Http\Request; +use Inertia\Middleware; class HandleInertiaRequests extends Middleware { @@ -12,6 +12,7 @@ class HandleInertiaRequests extends Middleware * The root template that's loaded on the first page visit. * * @see https://inertiajs.com/server-side-setup#root-template + * * @var string */ protected $rootView = 'app'; @@ -20,7 +21,7 @@ class HandleInertiaRequests extends Middleware * Determines the current asset version. * * @see https://inertiajs.com/asset-versioning - * @param \Illuminate\Http\Request $request + * * @return string|null */ public function version(Request $request) @@ -32,7 +33,7 @@ public function version(Request $request) * Defines the props that are shared by default. * * @see https://inertiajs.com/shared-data - * @param \Illuminate\Http\Request $request + * * @return array */ public function share(Request $request) diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index 5074ddc8b..fe886b08b 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -2,18 +2,16 @@ namespace App\Http\Middleware; +use App\Providers\RouteServiceProvider; use Closure; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; -use App\Providers\RouteServiceProvider; class RedirectIfAuthenticated { /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next * @param string|null ...$guards * @return mixed */ diff --git a/app/Http/Middleware/SentryContext.php b/app/Http/Middleware/SentryContext.php index fd62b0fb9..11f77e214 100644 --- a/app/Http/Middleware/SentryContext.php +++ b/app/Http/Middleware/SentryContext.php @@ -3,18 +3,16 @@ namespace App\Http\Middleware; use Closure; -use Sentry\State\Scope; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; +use Sentry\State\Scope; class SentryContext { /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @param \Closure $next - * + * @param \Illuminate\Http\Request $request * @return mixed * * @codeCoverageIgnore diff --git a/app/Http/Middleware/ShareInertiaData.php b/app/Http/Middleware/ShareInertiaData.php index 3f332f95a..cbbd33cad 100644 --- a/app/Http/Middleware/ShareInertiaData.php +++ b/app/Http/Middleware/ShareInertiaData.php @@ -2,8 +2,8 @@ namespace App\Http\Middleware; -use Inertia\Inertia; use App\Helpers\LocaleHelper; +use Inertia\Inertia; /** * Used by Jetstream to share data. diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 1d9fded67..3391630ec 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -2,8 +2,8 @@ namespace App\Http\Middleware; -use Illuminate\Http\Request; use Illuminate\Http\Middleware\TrustProxies as Middleware; +use Illuminate\Http\Request; class TrustProxies extends Middleware { @@ -20,7 +20,7 @@ class TrustProxies extends Middleware * @var int */ protected $headers = - Request::HEADER_X_FORWARDED_FOR | + Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | diff --git a/app/Http/ViewHelpers/Adminland/AdminBillingViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminBillingViewHelper.php index fb2d161fd..363a0dfdf 100644 --- a/app/Http/ViewHelpers/Adminland/AdminBillingViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminBillingViewHelper.php @@ -4,16 +4,13 @@ use App\Helpers\DateHelper; use App\Models\Company\Company; -use Illuminate\Support\Collection; use App\Models\Company\CompanyInvoice; +use Illuminate\Support\Collection; class AdminBillingViewHelper { /** * Get all the information about the account usage. - * - * @param Company $company - * @return Collection|null */ public static function index(Company $company): ?Collection { @@ -36,9 +33,6 @@ public static function index(Company $company): ?Collection /** * Get the invoice information. - * - * @param CompanyInvoice $invoice - * @return array|null */ public static function show(CompanyInvoice $invoice): ?array { diff --git a/app/Http/ViewHelpers/Adminland/AdminECoffeeViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminECoffeeViewHelper.php index 580b80385..e050c5a4f 100644 --- a/app/Http/ViewHelpers/Adminland/AdminECoffeeViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminECoffeeViewHelper.php @@ -9,9 +9,6 @@ class AdminECoffeeViewHelper /** * Get the information about the ecoffee process * used in the company. - * - * @param Company $company - * @return array|null */ public static function eCoffee(Company $company): ?array { diff --git a/app/Http/ViewHelpers/Adminland/AdminEmployeeStatusViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminEmployeeStatusViewHelper.php index 8af22343d..64ae532ac 100644 --- a/app/Http/ViewHelpers/Adminland/AdminEmployeeStatusViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminEmployeeStatusViewHelper.php @@ -3,17 +3,14 @@ namespace App\Http\ViewHelpers\Adminland; use App\Models\Company\Company; -use Illuminate\Support\Collection; use App\Models\Company\EmployeeStatus; +use Illuminate\Support\Collection; class AdminEmployeeStatusViewHelper { /** * Collection containing information about all the employee statuses in the * account. - * - * @param Company $company - * @return Collection */ public static function index(Company $company): Collection { @@ -27,9 +24,6 @@ public static function index(Company $company): Collection /** * Get information about one employee status. - * - * @param EmployeeStatus $employeeStatus - * @return array */ public static function show(EmployeeStatus $employeeStatus): array { diff --git a/app/Http/ViewHelpers/Adminland/AdminEmployeeViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminEmployeeViewHelper.php index bcff7de61..26210b1d5 100644 --- a/app/Http/ViewHelpers/Adminland/AdminEmployeeViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminEmployeeViewHelper.php @@ -4,17 +4,13 @@ use App\Helpers\ImageHelper; use App\Models\Company\Company; -use Illuminate\Support\Collection; use Illuminate\Database\Eloquent\Collection as EloquentCollection; +use Illuminate\Support\Collection; class AdminEmployeeViewHelper { /** * Get all the statistics about the employees. - * - * @param EloquentCollection $employees - * @param Company $company - * @return array */ public static function index(EloquentCollection $employees, Company $company): array { diff --git a/app/Http/ViewHelpers/Adminland/AdminExpenseViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminExpenseViewHelper.php index 5c3ca1e0d..1f3183774 100644 --- a/app/Http/ViewHelpers/Adminland/AdminExpenseViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminExpenseViewHelper.php @@ -12,8 +12,7 @@ class AdminExpenseViewHelper * Collection containing all the information about the expense categories * used in the company. * - * @param mixed $company - * @return Collection|null + * @param mixed $company */ public static function categories($company): ?Collection { @@ -33,8 +32,7 @@ public static function categories($company): ?Collection * Collection containing all the employees who have the right to manage * expenses in the company. * - * @param mixed $company - * @return Collection|null + * @param mixed $company */ public static function employees($company): ?Collection { @@ -60,10 +58,6 @@ public static function employees($company): ?Collection /** * Search all employees matching a given criteria. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function search(Company $company, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Adminland/AdminGeneralViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminGeneralViewHelper.php index 94c890d6e..764519ab7 100644 --- a/app/Http/ViewHelpers/Adminland/AdminGeneralViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminGeneralViewHelper.php @@ -4,9 +4,9 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\File; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Models\Company\File; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; use Money\Currencies\ISOCurrencies; @@ -16,9 +16,7 @@ class AdminGeneralViewHelper /** * Get all the information about the current company. * - * @param mixed $company - * @param Employee $loggedEmployee - * @return array|null + * @param mixed $company */ public static function information($company, Employee $loggedEmployee): ?array { @@ -78,8 +76,6 @@ public static function information($company, Employee $loggedEmployee): ?array /** * Get all the currencies used in the instance. - * - * @return Collection|null */ public static function currencies(): ?Collection { diff --git a/app/Http/ViewHelpers/Adminland/AdminHardwareViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminHardwareViewHelper.php index 3cbc50056..6fa595036 100644 --- a/app/Http/ViewHelpers/Adminland/AdminHardwareViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminHardwareViewHelper.php @@ -4,8 +4,8 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Company; use App\Models\Company\AuditLog; +use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Hardware; use Illuminate\Support\Collection; @@ -16,8 +16,7 @@ class AdminHardwareViewHelper * Collection containing all the information about the hardware used in the * company. * - * @param mixed $hardware - * @return array|null + * @param mixed $hardware */ public static function hardware($hardware): ?array { @@ -57,9 +56,6 @@ public static function hardware($hardware): ?array /** * Collection containing all the employees. - * - * @param Company $company - * @return Collection|null */ public static function employeesList(Company $company): ?Collection { @@ -79,8 +75,7 @@ public static function employeesList(Company $company): ?Collection /** * Collection containing all the information about available hardware. * - * @param mixed $hardware - * @return array|null + * @param mixed $hardware */ public static function availableHardware($hardware): ?array { @@ -126,8 +121,7 @@ public static function availableHardware($hardware): ?array * Collection containing all the information about hardware already given to * employees. * - * @param mixed $hardware - * @return array|null + * @param mixed $hardware */ public static function lentHardware($hardware): ?array { @@ -173,10 +167,6 @@ public static function lentHardware($hardware): ?array * Get the complete history of what happened to the item. * This is an expensive request, I don't really like it but I don't know * how to do it differently. - * - * @param Hardware $hardware - * @param Employee $employee - * @return Collection|null */ public static function history(Hardware $hardware, Employee $employee): ?Collection { diff --git a/app/Http/ViewHelpers/Adminland/AdminPositionViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminPositionViewHelper.php index 4df0923b0..6a54597ed 100644 --- a/app/Http/ViewHelpers/Adminland/AdminPositionViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminPositionViewHelper.php @@ -10,8 +10,7 @@ class AdminPositionViewHelper /** * Collection containing all the positions in the company. * - * @param mixed $company - * @return Collection|null + * @param mixed $company */ public static function list($company): ?Collection { diff --git a/app/Http/ViewHelpers/Adminland/AdminProjectManagementViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminProjectManagementViewHelper.php index b96345a3b..97f410189 100644 --- a/app/Http/ViewHelpers/Adminland/AdminProjectManagementViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminProjectManagementViewHelper.php @@ -8,9 +8,6 @@ class AdminProjectManagementViewHelper { /** * Get all the issue types in the company. - * - * @param Company $company - * @return array */ public static function issueTypes(Company $company): array { diff --git a/app/Http/ViewHelpers/Adminland/AdminRecruitmentViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminRecruitmentViewHelper.php index 008e60db8..01769bde4 100644 --- a/app/Http/ViewHelpers/Adminland/AdminRecruitmentViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminRecruitmentViewHelper.php @@ -9,9 +9,6 @@ class AdminRecruitmentViewHelper { /** * Get all the recruiting stage templates in the company. - * - * @param Company $company - * @return array */ public static function index(Company $company): ?array { @@ -55,9 +52,6 @@ public static function index(Company $company): ?array /** * Get the information about the given template. - * - * @param Company $company - * @return array */ public static function show(Company $company, RecruitingStageTemplate $template): ?array { diff --git a/app/Http/ViewHelpers/Adminland/AdminSoftwareViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminSoftwareViewHelper.php index 63be9e57f..1fac2cc6e 100644 --- a/app/Http/ViewHelpers/Adminland/AdminSoftwareViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminSoftwareViewHelper.php @@ -15,9 +15,7 @@ class AdminSoftwareViewHelper /** * Get all the softwares in the company. * - * @param mixed $softwares - * @param Company $company - * @return array + * @param mixed $softwares */ public static function index($softwares, Company $company): array { @@ -47,9 +45,6 @@ public static function index($softwares, Company $company): array /** * Shows the details of a given software. - * - * @param Software $software - * @return array */ public static function show(Software $software): array { @@ -68,7 +63,7 @@ public static function show(Software $software): array 'order_number' => $software->order_number, 'purchase_amount' => $software->purchase_amount / 100, 'currency' => $software->currency, - 'converted_purchase_amount' => $software->converted_purchase_amount, + 'converted_purchase_amount' => $software->converted_purchase_amount / 10000, 'converted_to_currency' => $software->converted_to_currency, 'purchased_at' => $software->purchased_at ? DateHelper::formatDate($software->purchased_at) : null, 'converted_at' => $software->converted_at ? DateHelper::formatDate($software->converted_at) : null, @@ -78,9 +73,6 @@ public static function show(Software $software): array /** * Edit a given software. - * - * @param Software $software - * @return array */ public static function edit(Software $software): array { @@ -104,9 +96,7 @@ public static function edit(Software $software): array /** * Get the employees who are assigned with this software. * - * @param mixed $employees - * @param Company $company - * @return Collection + * @param mixed $employees */ public static function seats($employees, Company $company): Collection { @@ -129,11 +119,6 @@ public static function seats($employees, Company $company): Collection /** * Get the list of potential employees who can be assigned the software. - * - * @param Software $software - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function getPotentialEmployees(Software $software, Company $company, ?string $criteria): Collection { @@ -147,9 +132,9 @@ public static function getPotentialEmployees(Software $software, Company $compan ->notLocked() ->whereNotIn('id', $employees) ->where(function ($query) use ($criteria) { - $query->where('first_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('last_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('email', 'LIKE', '%' . $criteria . '%'); + $query->where('first_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('last_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('email', 'LIKE', '%'.$criteria.'%'); }) ->orderBy('last_name', 'asc') ->take(10) @@ -165,10 +150,6 @@ public static function getPotentialEmployees(Software $software, Company $compan /** * All the information about the files associated with the software. - * - * @param Software $software - * @param Employee $employee - * @return Collection */ public static function files(Software $software, Employee $employee): Collection { diff --git a/app/Http/ViewHelpers/Adminland/AdminTeamViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminTeamViewHelper.php index f743d8937..0cf34b588 100644 --- a/app/Http/ViewHelpers/Adminland/AdminTeamViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminTeamViewHelper.php @@ -10,9 +10,6 @@ class AdminTeamViewHelper { /** * Array containing information about the teams. - * - * @param Collection $teams - * @return Collection */ public static function teams(Collection $teams): Collection { @@ -33,9 +30,6 @@ public static function teams(Collection $teams): Collection /** * Array containing information about a specific team. - * - * @param Team $team - * @return array */ public static function team(Team $team): array { @@ -52,8 +46,7 @@ public static function team(Team $team): array /** * Get all the team audit logs. * - * @param mixed $logs - * @return Collection + * @param mixed $logs */ public static function logs($logs): Collection { diff --git a/app/Http/ViewHelpers/Adminland/AdminUploadEmployeeViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminUploadEmployeeViewHelper.php index ac1ff6ae6..af247310d 100644 --- a/app/Http/ViewHelpers/Adminland/AdminUploadEmployeeViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminUploadEmployeeViewHelper.php @@ -12,10 +12,6 @@ class AdminUploadEmployeeViewHelper { /** * Get all the CSV imports in the account. - * - * @param Company $company - * @param Employee $loggedEmployee - * @return array|null */ public static function index(Company $company, Employee $loggedEmployee): ?array { @@ -48,18 +44,14 @@ public static function index(Company $company, Employee $loggedEmployee): ?array return [ 'entries' => $importJobsCollection, 'url_new' => route('account.employees.upload', [ - 'company' => $company, - ]), + 'company' => $company, + ]), ]; } /** * Get all the details about a specific import job. * This page shows the first five imports, and all the reports that failed. - * - * @param ImportJob $importJob - * @param Employee $loggedEmployee - * @return array|null */ public static function show(ImportJob $importJob, Employee $loggedEmployee): ?array { diff --git a/app/Http/ViewHelpers/Adminland/AdminWorkFromHomeViewHelper.php b/app/Http/ViewHelpers/Adminland/AdminWorkFromHomeViewHelper.php index 3c6832e50..fb1f2461b 100644 --- a/app/Http/ViewHelpers/Adminland/AdminWorkFromHomeViewHelper.php +++ b/app/Http/ViewHelpers/Adminland/AdminWorkFromHomeViewHelper.php @@ -9,9 +9,6 @@ class AdminWorkFromHomeViewHelper /** * Get the information about the work from home process * used in the company. - * - * @param Company $company - * @return array|null */ public static function index(Company $company): ?array { diff --git a/app/Http/ViewHelpers/Company/CompanyNewsViewHelper.php b/app/Http/ViewHelpers/Company/CompanyNewsViewHelper.php index 70bf39076..5df802ea9 100644 --- a/app/Http/ViewHelpers/Company/CompanyNewsViewHelper.php +++ b/app/Http/ViewHelpers/Company/CompanyNewsViewHelper.php @@ -13,10 +13,6 @@ class CompanyNewsViewHelper { /** * Get all the company news in the company. - * - * @param Company $company - * @param Employee $employee - * @return Collection|null */ public static function index(Company $company, Employee $employee): ?Collection { diff --git a/app/Http/ViewHelpers/Company/CompanyQuestionViewHelper.php b/app/Http/ViewHelpers/Company/CompanyQuestionViewHelper.php index bcd8f912f..0364ae402 100644 --- a/app/Http/ViewHelpers/Company/CompanyQuestionViewHelper.php +++ b/app/Http/ViewHelpers/Company/CompanyQuestionViewHelper.php @@ -4,8 +4,8 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Answer; use App\Helpers\QuestionHelper; +use App\Models\Company\Answer; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Question; @@ -15,10 +15,6 @@ class CompanyQuestionViewHelper { /** * Array containing all the information about the questions. - * - * @param Company $company - * - * @return Collection|null */ public static function questions(Company $company): ?Collection { @@ -57,11 +53,7 @@ public static function questions(Company $company): ?Collection * Detail of a question, along with all the answers and the answer of the * employee passed in parameter. * - * @param Question $question - * @param mixed $answers - * @param Employee $employee - * - * @return array|null + * @param mixed $answers */ public static function question(Question $question, $answers, Employee $employee): ?array { @@ -102,10 +94,6 @@ public static function question(Question $question, $answers, Employee $employee /** * Array containing information about the teams. - * - * @param Collection $teams - * - * @return Collection */ public static function teams(Collection $teams): Collection { @@ -120,11 +108,6 @@ public static function teams(Collection $teams): Collection return $teamsCollection; } - /** - * @param Question $question - * - * @return string|null - */ private static function getInformationAboutActivationDate(Question $question): ?string { // building the sentence `This question was asked from Jan 20, 2020 to Mar 21, 2020` diff --git a/app/Http/ViewHelpers/Company/CompanySkillViewHelper.php b/app/Http/ViewHelpers/Company/CompanySkillViewHelper.php index 30653e5ca..65969cd44 100644 --- a/app/Http/ViewHelpers/Company/CompanySkillViewHelper.php +++ b/app/Http/ViewHelpers/Company/CompanySkillViewHelper.php @@ -3,18 +3,14 @@ namespace App\Http\ViewHelpers\Company; use App\Helpers\ImageHelper; -use App\Models\Company\Skill; use App\Models\Company\Company; +use App\Models\Company\Skill; use Illuminate\Support\Collection; class CompanySkillViewHelper { /** * Array containing all the information about the skills. - * - * @param Company $company - * - * @return Collection|null */ public static function skills(Company $company): ?Collection { @@ -53,9 +49,6 @@ public static function skills(Company $company): ?Collection /** * Array containing all the information about the employees who have a given * skill. - * - * @param Skill $skill - * @return Collection|null */ public static function employeesWithSkill(Skill $skill): ?Collection { diff --git a/app/Http/ViewHelpers/Company/CompanyViewHelper.php b/app/Http/ViewHelpers/Company/CompanyViewHelper.php index f72b5fc26..e8b36d697 100644 --- a/app/Http/ViewHelpers/Company/CompanyViewHelper.php +++ b/app/Http/ViewHelpers/Company/CompanyViewHelper.php @@ -2,28 +2,25 @@ namespace App\Http\ViewHelpers\Company; -use Carbon\Carbon; -use Carbon\CarbonPeriod; -use OutOfRangeException; +use App\Helpers\BirthdayHelper; use App\Helpers\DateHelper; -use Illuminate\Support\Str; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; -use App\Helpers\BirthdayHelper; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Question; +use App\Services\Company\GuessEmployeeGame\CreateGuessEmployeeGame; +use Carbon\Carbon; +use Carbon\CarbonPeriod; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; -use App\Services\Company\GuessEmployeeGame\CreateGuessEmployeeGame; +use Illuminate\Support\Str; +use OutOfRangeException; class CompanyViewHelper { /** * Array containing several statistics for this company. - * - * @param Company $company - * @return array */ public static function information(Company $company): array { @@ -41,9 +38,6 @@ public static function information(Company $company): array /** * Array containing all the information about the latest questions in the * company. - * - * @param Company $company - * @return array */ public static function latestQuestions(Company $company): array { @@ -111,9 +105,6 @@ public static function latestQuestions(Company $company): array /** * Array containing all the information about the birthdays of employees * in the current week. - * - * @param Company $company - * @return array */ public static function birthdaysThisWeek(Company $company): array { @@ -154,9 +145,6 @@ public static function birthdaysThisWeek(Company $company): array /** * Array containing all the information about the new employees this week. - * - * @param Company $company - * @return Collection */ public static function newHiresThisWeek(Company $company): Collection { @@ -211,9 +199,6 @@ public static function newHiresThisWeek(Company $company): Collection /** * Array containing all the information about the latest Recent ships * shipped by any team. - * - * @param Company $company - * @return Collection */ public static function latestShips(Company $company): Collection { @@ -243,9 +228,6 @@ public static function latestShips(Company $company): Collection /** * Array containing all the information about the latest created skills. - * - * @param Company $company - * @return array */ public static function latestSkills(Company $company): array { @@ -279,9 +261,6 @@ public static function latestSkills(Company $company): array /** * Array containing all the information about the latest company news. - * - * @param Company $company - * @return array */ public static function latestNews(Company $company): array { @@ -315,8 +294,6 @@ public static function latestNews(Company $company): array /** * Array containing all the information about the Guess Employee Game. * - * @param Employee $employee - * @param Company $company * @return ?array */ public static function guessEmployeeGameInformation(Employee $employee, Company $company): ?array @@ -370,9 +347,6 @@ public static function guessEmployeeGameInformation(Employee $employee, Company /** * Information about the employees in the company. - * - * @param Company $company - * @return array */ public static function employees(Company $company): array { diff --git a/app/Http/ViewHelpers/Company/Group/GroupCreateViewHelper.php b/app/Http/ViewHelpers/Company/Group/GroupCreateViewHelper.php index 5edc8a626..c1e41b2e8 100644 --- a/app/Http/ViewHelpers/Company/Group/GroupCreateViewHelper.php +++ b/app/Http/ViewHelpers/Company/Group/GroupCreateViewHelper.php @@ -3,18 +3,14 @@ namespace App\Http\ViewHelpers\Company\Group; use App\Helpers\ImageHelper; -use App\Models\Company\Group; use App\Models\Company\Company; +use App\Models\Company\Group; use Illuminate\Support\Collection; class GroupCreateViewHelper { /** * Search all potential members for the group. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function search(Company $company, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Company/Group/GroupMeetingsViewHelper.php b/app/Http/ViewHelpers/Company/Group/GroupMeetingsViewHelper.php index 7c186c520..628be1302 100644 --- a/app/Http/ViewHelpers/Company/Group/GroupMeetingsViewHelper.php +++ b/app/Http/ViewHelpers/Company/Group/GroupMeetingsViewHelper.php @@ -2,21 +2,18 @@ namespace App\Http\ViewHelpers\Company\Group; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Group; use App\Models\Company\Company; +use App\Models\Company\Group; use App\Models\Company\Meeting; +use Carbon\Carbon; use Illuminate\Support\Collection; class GroupMeetingsViewHelper { /** * Get all the meetings in the group. - * - * @param Group $group - * @return array */ public static function index(Group $group): array { @@ -69,10 +66,6 @@ public static function index(Group $group): array /** * Get information of a specific meeting. - * - * @param Meeting $meeting - * @param Company $company - * @return array */ public static function show(Meeting $meeting, Company $company): array { @@ -126,11 +119,6 @@ public static function show(Meeting $meeting, Company $company): array /** * Get potential guests of this meeting. - * - * @param Meeting $meeting - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function potentialGuests(Meeting $meeting, Company $company, ?string $criteria): Collection { @@ -160,10 +148,6 @@ public static function potentialGuests(Meeting $meeting, Company $company, ?stri /** * Get agenda of the meeting. - * - * @param Meeting $meeting - * @param Company $company - * @return Collection */ public static function agenda(Meeting $meeting, Company $company): Collection { diff --git a/app/Http/ViewHelpers/Company/Group/GroupMembersViewHelper.php b/app/Http/ViewHelpers/Company/Group/GroupMembersViewHelper.php index 18d1db7c3..9991a5d70 100644 --- a/app/Http/ViewHelpers/Company/Group/GroupMembersViewHelper.php +++ b/app/Http/ViewHelpers/Company/Group/GroupMembersViewHelper.php @@ -4,17 +4,14 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Group; use App\Models\Company\Company; +use App\Models\Company\Group; use Illuminate\Support\Collection; class GroupMembersViewHelper { /** * Array containing the information all the members in the group. - * - * @param Group $group - * @return Collection */ public static function members(Group $group): Collection { @@ -45,11 +42,6 @@ public static function members(Group $group): Collection * Returns the potential employees that can be assigned as members of the * group, matching the name. * This filters out the current members of the group (doh). - * - * @param Group $group - * @param Company $company - * @param string $criteria - * @return Collection */ public static function potentialMembers(Company $company, Group $group, string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Company/Group/GroupShowViewHelper.php b/app/Http/ViewHelpers/Company/Group/GroupShowViewHelper.php index b47e3f3a7..b601780d2 100644 --- a/app/Http/ViewHelpers/Company/Group/GroupShowViewHelper.php +++ b/app/Http/ViewHelpers/Company/Group/GroupShowViewHelper.php @@ -2,12 +2,12 @@ namespace App\Http\ViewHelpers\Company\Group; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; -use App\Models\Company\Group; use App\Models\Company\Company; +use App\Models\Company\Group; +use Carbon\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; @@ -15,10 +15,6 @@ class GroupShowViewHelper { /** * Get all the information about a group. - * - * @param Group $group - * @param Company $company - * @return array */ public static function information(Group $group, Company $company): array { @@ -62,9 +58,6 @@ public static function information(Group $group, Company $company): array /** * Get the latest 3 meetings in the group. - * - * @param Group $group - * @return Collection */ public static function meetings(Group $group): Collection { @@ -115,9 +108,6 @@ public static function meetings(Group $group): Collection /** * Get the statistics of the group. - * - * @param Group $group - * @return array */ public static function stats(Group $group): array { @@ -154,9 +144,7 @@ public static function stats(Group $group): array /** * Get the information about the group, required for editing it. * - * @param Group $group - * @param Company $company - * @return array + * @param Company $company */ public static function edit(Group $group): array { diff --git a/app/Http/ViewHelpers/Company/Group/GroupViewHelper.php b/app/Http/ViewHelpers/Company/Group/GroupViewHelper.php index 2213b9998..84d79a6f7 100644 --- a/app/Http/ViewHelpers/Company/Group/GroupViewHelper.php +++ b/app/Http/ViewHelpers/Company/Group/GroupViewHelper.php @@ -2,11 +2,11 @@ namespace App\Http\ViewHelpers\Company\Group; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Group; use App\Models\Company\Company; +use App\Models\Company\Group; +use Carbon\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; @@ -15,9 +15,7 @@ class GroupViewHelper /** * Get all the information about the groups in the company. * - * @param Group $group - * @param Company $company - * @return array + * @param Group $group */ public static function index(Company $company): array { @@ -70,9 +68,6 @@ public static function index(Company $company): array /** * Get the latest 3 meetings in the group. - * - * @param Group $group - * @return Collection */ public static function meetings(Group $group): Collection { @@ -122,9 +117,6 @@ public static function meetings(Group $group): Collection /** * Get the statistics of the group. - * - * @param Group $group - * @return array */ public static function stats(Group $group): array { diff --git a/app/Http/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelper.php b/app/Http/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelper.php index 0cbb93177..da09f7fa3 100644 --- a/app/Http/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelper.php +++ b/app/Http/ViewHelpers/Company/HR/CompanyHRAskMeAnythingViewHelper.php @@ -2,21 +2,17 @@ namespace App\Http\ViewHelpers\Company\HR; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\AskMeAnythingSession; +use Carbon\Carbon; class CompanyHRAskMeAnythingViewHelper { /** * Get all the sessions in the company. - * - * @param Company $company - * @param Employee $employee - * @return array */ public static function index(Company $company, Employee $employee): array { @@ -70,9 +66,6 @@ public static function index(Company $company, Employee $employee): array /** * Get all the data necessary for the create screen. - * - * @param Company $company - * @return array */ public static function new(Company $company): array { @@ -94,12 +87,6 @@ public static function new(Company $company): array /** * Get the details of a session. - * - * @param Company $company - * @param AskMeAnythingSession $session - * @param Employee $employee - * @param bool $showAnswered - * @return array */ public static function show(Company $company, AskMeAnythingSession $session, Employee $employee, bool $showAnswered): array { @@ -173,10 +160,6 @@ public static function show(Company $company, AskMeAnythingSession $session, Emp /** * Get the information needed to edit a session. - * - * @param Company $company - * @param AskMeAnythingSession $session - * @return array */ public static function edit(Company $company, AskMeAnythingSession $session): array { @@ -201,10 +184,6 @@ public static function edit(Company $company, AskMeAnythingSession $session): ar /** * Get the information needed to delete a session. - * - * @param Company $company - * @param AskMeAnythingSession $session - * @return array */ public static function delete(Company $company, AskMeAnythingSession $session): array { diff --git a/app/Http/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelper.php b/app/Http/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelper.php index b7123caa9..da1a36915 100644 --- a/app/Http/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelper.php +++ b/app/Http/ViewHelpers/Company/HR/CompanyHRPositionShowViewHelper.php @@ -2,22 +2,18 @@ namespace App\Http\ViewHelpers\Company\HR; -use ErrorException; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\User\Pronoun; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Position; +use App\Models\User\Pronoun; +use ErrorException; class CompanyHRPositionShowViewHelper { /** * Get the detail of a specific position. - * - * @param Company $company - * @param Position $position - * @return array */ public static function show(Company $company, Position $position): array { diff --git a/app/Http/ViewHelpers/Company/HR/CompanyHRViewHelper.php b/app/Http/ViewHelpers/Company/HR/CompanyHRViewHelper.php index 1e154006c..75a1689e8 100644 --- a/app/Http/ViewHelpers/Company/HR/CompanyHRViewHelper.php +++ b/app/Http/ViewHelpers/Company/HR/CompanyHRViewHelper.php @@ -3,15 +3,15 @@ namespace App\Http\ViewHelpers\Company\HR; use App\Helpers\DateHelper; -use App\Models\User\Pronoun; +use App\Models\Company\AskMeAnythingSession; use App\Models\Company\Company; use App\Models\Company\ECoffee; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\JobOpening; +use App\Models\Company\Position; +use App\Models\User\Pronoun; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; -use App\Models\Company\AskMeAnythingSession; class CompanyHRViewHelper { @@ -20,9 +20,6 @@ class CompanyHRViewHelper * We use a combination of raw queries and manipulation of collections to * avoid hydrating models as using Eloquent here would hydrate way * too many models. - * - * @param Company $company - * @return array|null */ public static function eCoffees(Company $company): ?array { @@ -88,15 +85,15 @@ public static function eCoffees(Company $company): ?array return [ 'active_session' => $currentECoffeeSession ? [ - 'total' => $currentECoffeeSession['total'], - 'happened' => $currentECoffeeSession['happened'], - 'percent' => round($currentECoffeeSession['happened'] * 100 / $currentECoffeeSession['total']), - ] : null, + 'total' => $currentECoffeeSession['total'], + 'happened' => $currentECoffeeSession['happened'], + 'percent' => round($currentECoffeeSession['happened'] * 100 / $currentECoffeeSession['total']), + ] : null, 'last_active_session' => $beforeLastSession ? [ - 'total' => $beforeLastSession['total'], - 'happened' => $beforeLastSession['happened'], - 'percent' => round($beforeLastSession['happened'] * 100 / $beforeLastSession['total']), - ] : null, + 'total' => $beforeLastSession['total'], + 'happened' => $beforeLastSession['happened'], + 'percent' => round($beforeLastSession['happened'] * 100 / $beforeLastSession['total']), + ] : null, 'average_total_sessions' => $averageTotalSessions, 'number_of_sessions' => $numberOfSessions, ]; @@ -105,18 +102,15 @@ public static function eCoffees(Company $company): ?array /** * Get the statistics about all the genders used in the company, sorted * by the gender used the most. - * - * @param Company $company - * @return array */ public static function genderStats(Company $company): array { $pronouns = Pronoun::addSelect([ - 'number_of_employees' => Employee::selectRaw('count(*)') - ->whereColumn('pronoun_id', 'pronouns.id') - ->notLocked() - ->where('company_id', $company->id), - ])->get(); + 'number_of_employees' => Employee::selectRaw('count(*)') + ->whereColumn('pronoun_id', 'pronouns.id') + ->notLocked() + ->where('company_id', $company->id), + ])->get(); $pronouns = $pronouns->filter(function ($pronoun) { return $pronoun->number_of_employees != 0; @@ -150,9 +144,6 @@ public static function genderStats(Company $company): array /** * Get the statistics about all the positions in the company. - * - * @param Company $company - * @return array */ public static function positions(Company $company): array { @@ -188,9 +179,6 @@ public static function positions(Company $company): array /** * Get the upcoming Ask My Anything Session in the company. - * - * @param Company $company - * @return array */ public static function askMeAnythingUpcomingSession(Company $company): array { @@ -219,9 +207,6 @@ public static function askMeAnythingUpcomingSession(Company $company): array /** * Get the information about open job openings. - * - * @param Company $company - * @return array */ public static function openedJobOpenings(Company $company): array { diff --git a/app/Http/ViewHelpers/Company/HeaderSearchViewHelper.php b/app/Http/ViewHelpers/Company/HeaderSearchViewHelper.php index 5211d33cd..0b13db00d 100644 --- a/app/Http/ViewHelpers/Company/HeaderSearchViewHelper.php +++ b/app/Http/ViewHelpers/Company/HeaderSearchViewHelper.php @@ -10,10 +10,6 @@ class HeaderSearchViewHelper { /** * Get all the employees matching a given criteria. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function employees(Company $company, ?string $criteria): Collection { @@ -44,10 +40,6 @@ public static function employees(Company $company, ?string $criteria): Collectio /** * Get all the teams matching a given criteria. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function teams(Company $company, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Company/KB/PageEditViewHelper.php b/app/Http/ViewHelpers/Company/KB/PageEditViewHelper.php index 7122686c3..3f6c5173e 100644 --- a/app/Http/ViewHelpers/Company/KB/PageEditViewHelper.php +++ b/app/Http/ViewHelpers/Company/KB/PageEditViewHelper.php @@ -8,9 +8,6 @@ class PageEditViewHelper { /** * Get the information of the page being edited. - * - * @param Page $page - * @return array */ public static function show(Page $page): array { diff --git a/app/Http/ViewHelpers/Company/KB/PageShowViewHelper.php b/app/Http/ViewHelpers/Company/KB/PageShowViewHelper.php index 0fb396996..204db2380 100644 --- a/app/Http/ViewHelpers/Company/KB/PageShowViewHelper.php +++ b/app/Http/ViewHelpers/Company/KB/PageShowViewHelper.php @@ -2,16 +2,13 @@ namespace App\Http\ViewHelpers\Company\KB; -use App\Models\Company\Page; use App\Helpers\StringHelper; +use App\Models\Company\Page; class PageShowViewHelper { /** * Get the detail of a page. - * - * @param Page $page - * @return array */ public static function show(Page $page): array { diff --git a/app/Http/ViewHelpers/Company/KB/WikiShowViewHelper.php b/app/Http/ViewHelpers/Company/KB/WikiShowViewHelper.php index 9df2ea198..9ab713fa6 100644 --- a/app/Http/ViewHelpers/Company/KB/WikiShowViewHelper.php +++ b/app/Http/ViewHelpers/Company/KB/WikiShowViewHelper.php @@ -2,17 +2,13 @@ namespace App\Http\ViewHelpers\Company\KB; -use App\Models\Company\Wiki; use App\Models\Company\Company; +use App\Models\Company\Wiki; class WikiShowViewHelper { /** * Get the detail of a wiki. - * - * @param Wiki $wiki - * @param Company $company - * @return array */ public static function show(Wiki $wiki, Company $company): array { diff --git a/app/Http/ViewHelpers/Company/KB/WikiViewHelper.php b/app/Http/ViewHelpers/Company/KB/WikiViewHelper.php index 3fc7da33b..87db9b80b 100644 --- a/app/Http/ViewHelpers/Company/KB/WikiViewHelper.php +++ b/app/Http/ViewHelpers/Company/KB/WikiViewHelper.php @@ -2,16 +2,13 @@ namespace App\Http\ViewHelpers\Company\KB; -use Illuminate\Support\Str; use App\Models\Company\Company; +use Illuminate\Support\Str; class WikiViewHelper { /** * Get all the wikis in the company. - * - * @param Company $company - * @return array */ public static function index(Company $company): array { @@ -59,9 +56,7 @@ public static function index(Company $company): array /** * Get all the pages in the company sorted by latest edited at. * - * @param mixed $pages - * @param Company $company - * @return array + * @param mixed $pages */ public static function pages($pages, Company $company): array { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectBoardsViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectBoardsViewHelper.php index e68b302c1..697772f55 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectBoardsViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectBoardsViewHelper.php @@ -3,18 +3,15 @@ namespace App\Http\ViewHelpers\Company\Project; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Collection; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; +use Illuminate\Support\Collection; class ProjectBoardsViewHelper { /** * All the boards in the project. - * - * @param Project $project - * @return array */ public static function index(Project $project): array { @@ -49,10 +46,6 @@ public static function index(Project $project): array /** * Information needed for the Show board view. - * - * @param Project $project - * @param ProjectBoard $projectBoard - * @return array */ public static function show(Project $project, ProjectBoard $projectBoard): array { @@ -69,9 +62,6 @@ public static function show(Project $project, ProjectBoard $projectBoard): array /** * All the issue types in the company. - * - * @param Company $company - * @return Collection */ public static function issueTypes(Company $company): Collection { @@ -87,16 +77,12 @@ public static function issueTypes(Company $company): Collection 'icon_hex_color' => $type->icon_hex_color, ]); } + return $typesCollection; } /** * Information needed for the Backlog view. - * - * @param Project $project - * @param ProjectBoard $projectBoard - * @param Employee $employee - * @return array */ public static function backlog(Project $project, ProjectBoard $projectBoard, Employee $employee): array { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectDecisionsViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectDecisionsViewHelper.php index c787eae05..971b2bfc6 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectDecisionsViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectDecisionsViewHelper.php @@ -5,18 +5,14 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use Illuminate\Support\Collection; class ProjectDecisionsViewHelper { /** * Array containing the information about the decisions made in the project. - * - * @param Project $project - * @param Employee $employee - * @return Collection */ public static function decisions(Project $project, Employee $employee): Collection { @@ -56,10 +52,6 @@ public static function decisions(Project $project, Employee $employee): Collecti /** * Search all employees matching a given criteria. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function searchDeciders(Company $company, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectFilesViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectFilesViewHelper.php index 8f79fefa8..aa04a03e3 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectFilesViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectFilesViewHelper.php @@ -5,18 +5,14 @@ use App\Helpers\DateHelper; use App\Helpers\FileHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use Illuminate\Support\Collection; class ProjectFilesViewHelper { /** * Collection containing the information about the files in the project. - * - * @param Project $project - * @param Employee $employee - * @return Collection */ public static function index(Project $project, Employee $employee): Collection { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectIssuesViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectIssuesViewHelper.php index 9e03d98bd..cda4765b2 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectIssuesViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectIssuesViewHelper.php @@ -6,16 +6,13 @@ use App\Helpers\ImageHelper; use App\Helpers\StringHelper; use App\Models\Company\Project; -use Illuminate\Support\Collection; use App\Models\Company\ProjectIssue; +use Illuminate\Support\Collection; class ProjectIssuesViewHelper { /** * All the data about the given issue. - * - * @param ProjectIssue $issue - * @return array */ public static function issueData(ProjectIssue $issue): array { @@ -104,9 +101,6 @@ public static function issueData(ProjectIssue $issue): array /** * Get all the members of the project. - * - * @param Project $project - * @return Collection */ public static function members(Project $project): Collection { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectMembersViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectMembersViewHelper.php index cad826899..c05e156d1 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectMembersViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectMembersViewHelper.php @@ -11,9 +11,6 @@ class ProjectMembersViewHelper /** * Array containing the information all the members in the project, and all * the roles. - * - * @param Project $project - * @return array */ public static function members(Project $project): array { @@ -63,9 +60,6 @@ public static function members(Project $project): array * Returns the potential employees that can be assigned as members. * This filters out the current members of the project (doh). * It also contains all the current roles currently used in the project. - * - * @param Project $project - * @return array */ public static function potentialMembers(Project $project): array { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectMessagesViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectMessagesViewHelper.php index 8c975fe90..d909dbee0 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectMessagesViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectMessagesViewHelper.php @@ -2,24 +2,20 @@ namespace App\Http\ViewHelpers\Company\Project; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; +use App\Models\Company\ProjectMessage; +use Carbon\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; -use App\Models\Company\ProjectMessage; class ProjectMessagesViewHelper { /** * Array containing the information about the messages made in the project. - * - * @param Project $project - * @param Employee $employee - * @return Collection */ public static function index(Project $project, Employee $employee): Collection { @@ -74,10 +70,6 @@ public static function index(Project $project, Employee $employee): Collection /** * Array containing the information about a given message. - * - * @param ProjectMessage $projectMessage - * @param Employee $employee - * @return array */ public static function show(ProjectMessage $projectMessage, Employee $employee): array { @@ -157,9 +149,6 @@ public static function show(ProjectMessage $projectMessage, Employee $employee): /** * Array containing the information necessary to edit a message. - * - * @param ProjectMessage $projectMessage - * @return array */ public static function edit(ProjectMessage $projectMessage): array { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectSprintsViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectSprintsViewHelper.php index 22e66cff4..4fedccdbd 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectSprintsViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectSprintsViewHelper.php @@ -4,22 +4,16 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Facades\DB; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectSprint; +use Illuminate\Support\Facades\DB; class ProjectSprintsViewHelper { /** * All the data about the sprint: issues and sprint info. - * - * @param Project $project - * @param ProjectBoard $projectBoard - * @param ProjectSprint $sprint - * @param Employee $employee - * @return array */ public static function sprintData(Project $project, ProjectBoard $projectBoard, ProjectSprint $sprint, Employee $employee): array { @@ -96,7 +90,7 @@ public static function sprintData(Project $project, ProjectBoard $projectBoard, 'collapsed' => $isCollapsed ? $isCollapsed->collapsed : false, 'issues' => $issueCollection, 'url' => [ - 'store' => route('projects.issues.store', [ + 'store' => route('projects.issues.store', [ 'company' => $company, 'project' => $project, 'board' => $projectBoard, diff --git a/app/Http/ViewHelpers/Company/Project/ProjectTasksViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectTasksViewHelper.php index ae281df68..904fab7e3 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectTasksViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectTasksViewHelper.php @@ -2,27 +2,24 @@ namespace App\Http\ViewHelpers\Company\Project; -use Carbon\Carbon; use App\Helpers\DateHelper; -use App\Helpers\TimeHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; +use App\Helpers\TimeHelper; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; -use Illuminate\Support\Collection; -use Illuminate\Support\Facades\DB; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; +use Carbon\Carbon; +use Illuminate\Support\Collection; +use Illuminate\Support\Facades\DB; class ProjectTasksViewHelper { /** * Collection containing the information about the tasks in the project. * This collection contains all the tasks as well as all the tasks lists. - * - * @param Project $project - * @return array */ public static function index(Project $project): array { @@ -143,9 +140,6 @@ public static function index(Project $project): array /** * Array containing all the information about the given task list info. - * - * @param ProjectTaskList $taskList - * @return array */ public static function getTaskListInfo(ProjectTaskList $taskList): array { @@ -158,9 +152,6 @@ public static function getTaskListInfo(ProjectTaskList $taskList): array /** * Collection containing all the potential project members. - * - * @param Project $project - * @return Collection|null */ public static function members(Project $project): ?Collection { @@ -176,11 +167,6 @@ public static function members(Project $project): ?Collection /** * Get the complete details about the task. - * - * @param ProjectTask $task - * @param Company $company - * @param Employee $employee - * @return array */ public static function getTaskFullDetails(ProjectTask $task, Company $company, Employee $employee): array { @@ -281,11 +267,6 @@ public static function getTaskFullDetails(ProjectTask $task, Company $company, E /** * Array containing all the information about a specific project task. - * - * @param ProjectTask $projectTask - * @param Company $company - * @param Employee $employee - * @return array|null */ public static function taskDetails(ProjectTask $projectTask, Company $company, Employee $employee): ?array { @@ -306,11 +287,6 @@ public static function taskDetails(ProjectTask $projectTask, Company $company, E /** * Collection of time tracking entries for a given task. - * - * @param ProjectTask $projectTask - * @param Company $company - * @param Employee $employee - * @return Collection|null */ public static function timeTrackingEntries(ProjectTask $projectTask, Company $company, Employee $employee): ?Collection { @@ -348,9 +324,6 @@ public static function timeTrackingEntries(ProjectTask $projectTask, Company $co /** * Get all the task lists in the project. - * - * @param Project $project - * @return Collection|null */ public static function taskLists(Project $project): ?Collection { diff --git a/app/Http/ViewHelpers/Company/Project/ProjectViewHelper.php b/app/Http/ViewHelpers/Company/Project/ProjectViewHelper.php index 1602627bf..92b58b5f5 100644 --- a/app/Http/ViewHelpers/Company/Project/ProjectViewHelper.php +++ b/app/Http/ViewHelpers/Company/Project/ProjectViewHelper.php @@ -6,17 +6,14 @@ use App\Helpers\ImageHelper; use App\Helpers\StringHelper; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use Illuminate\Support\Collection; class ProjectViewHelper { /** * Array containing the information all the projects in the company. - * - * @param Company $company - * @return array */ public static function index(Company $company): array { @@ -45,11 +42,6 @@ public static function index(Company $company): array /** * Array containing the information about the project displayed on the * summary page. - * - * @param Project $project - * @param Company $company - * @param Employee $employee - * @return array */ public static function summary(Project $project, Company $company, Employee $employee): array { @@ -126,9 +118,6 @@ public static function summary(Project $project, Company $company, Employee $emp /** * Array containing the information needed to update the project details. - * - * @param Project $project - * @return array */ public static function edit(Project $project): array { @@ -144,10 +133,6 @@ public static function edit(Project $project): array /** * Array containing all the permissions a user can do on the different * pages of the project, depending on his role. - * - * @param Project $project - * @param Employee $employee - * @return array */ public static function permissions(Project $project, Employee $employee): array { @@ -172,9 +157,6 @@ public static function permissions(Project $project, Employee $employee): array /** * Array containing the information about the project itself. - * - * @param Project $project - * @return array */ public static function info(Project $project): array { @@ -213,10 +195,6 @@ public static function info(Project $project): array /** * Search all employees matching a given criteria. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function searchProjectLead(Company $company, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardExpenseViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardExpenseViewHelper.php index 05cf6f3be..992ff5387 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardExpenseViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardExpenseViewHelper.php @@ -6,8 +6,8 @@ use App\Helpers\ImageHelper; use App\Helpers\MoneyHelper; use App\Models\Company\Company; -use App\Models\Company\Expense; use App\Models\Company\Employee; +use App\Models\Company\Expense; use Illuminate\Support\Collection; class DashboardExpenseViewHelper @@ -15,10 +15,6 @@ class DashboardExpenseViewHelper /** * Get all the expenses that are waiting for accounting approval in the * company. - * - * @param Company $company - * @param Employee $loggedEmployee - * @return Collection|null */ public static function waitingForAccountingApproval(Company $company, Employee $loggedEmployee): ?Collection { @@ -68,10 +64,6 @@ public static function waitingForAccountingApproval(Company $company, Employee $ /** * Get all the expenses that are waiting for manager * approval in the company. - * - * @param Company $company - * @param Employee $loggedEmployee - * @return Collection|null */ public static function waitingForManagerApproval(Company $company, Employee $loggedEmployee): ?Collection { @@ -128,10 +120,6 @@ public static function waitingForManagerApproval(Company $company, Employee $log /** * Get all the expenses that have been either accepted or * rejected. - * - * @param Company $company - * @param Employee $loggedEmployee - * @return Collection|null */ public static function acceptedAndRejected(Company $company, Employee $loggedEmployee): ?Collection { @@ -176,10 +164,6 @@ public static function acceptedAndRejected(Company $company, Employee $loggedEmp /** * Get all the information about the given expense. - * - * @param Expense $expense - * @param Employee $loggedEmployee - * @return array */ public static function expense(Expense $expense, Employee $loggedEmployee): array { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardHRViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardHRViewHelper.php index a0653cfba..206bd5645 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardHRViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardHRViewHelper.php @@ -2,10 +2,10 @@ namespace App\Http\ViewHelpers\Dashboard; -use Carbon\Carbon; use App\Helpers\ImageHelper; use App\Models\Company\Company; use App\Models\Company\Timesheet; +use Carbon\Carbon; use Illuminate\Support\Facades\DB; class DashboardHRViewHelper @@ -13,9 +13,6 @@ class DashboardHRViewHelper /** * Get the list of pending validation timesheets for employees who don't * have managers, before the current week. - * - * @param Company $company - * @return array */ public static function employeesWithoutManagersWithPendingTimesheets(Company $company): array { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardManagerViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardManagerViewHelper.php index 18db07055..37c89f13e 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardManagerViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardManagerViewHelper.php @@ -2,28 +2,24 @@ namespace App\Http\ViewHelpers\Dashboard; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\MoneyHelper; use App\Models\Company\Company; -use App\Models\Company\Expense; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; -use App\Models\Company\OneOnOneEntry; use App\Models\Company\EmployeeStatus; +use App\Models\Company\Expense; +use App\Models\Company\OneOnOneEntry; +use App\Models\Company\Timesheet; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Collection as SupportCollection; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; class DashboardManagerViewHelper { /** * Get all the expenses the manager needs to validate. - * - * @param Employee $manager - * @param Collection $directReports - * @return SupportCollection|null */ public static function pendingExpenses(Employee $manager, Collection $directReports): ?SupportCollection { @@ -71,10 +67,6 @@ public static function pendingExpenses(Employee $manager, Collection $directRepo /** * Get all information about the given expense. - * - * @param Expense $expense - * @param Employee $loggedEmployee - * @return array */ public static function expense(Expense $expense, Employee $loggedEmployee): array { @@ -111,10 +103,6 @@ public static function expense(Expense $expense, Employee $loggedEmployee): arra /** * Get the one on ones with the direct report(s) if they exist. - * - * @param Employee $manager - * @param Collection $directReports - * @return SupportCollection|null */ public static function oneOnOnes(Employee $manager, Collection $directReports): ?SupportCollection { @@ -168,10 +156,6 @@ public static function oneOnOnes(Employee $manager, Collection $directReports): /** * Get the information about employees who have a contract that ends in * the next 3 months or less. - * - * @param Employee $manager - * @param Collection $directReports - * @return SupportCollection|null */ public static function contractRenewals(Employee $manager, Collection $directReports): ?SupportCollection { @@ -200,6 +184,8 @@ public static function contractRenewals(Employee $manager, Collection $directRep continue; } + $number_of_days = floor($employee->contract_renewed_at->diffInDays($now) * -1); + $collection->push([ 'id' => $employee->id, 'name' => $employee->name, @@ -211,7 +197,7 @@ public static function contractRenewals(Employee $manager, Collection $directRep ]), 'contract_information' => [ 'contract_renewed_at' => DateHelper::formatDate($employee->contract_renewed_at, $manager->timezone), - 'number_of_days' => $employee->contract_renewed_at->diffInDays($now), + 'number_of_days' => $number_of_days, 'late' => $employee->contract_renewed_at->isBefore($now), ], ]); @@ -222,10 +208,6 @@ public static function contractRenewals(Employee $manager, Collection $directRep /** * Get the list of employees who have timesheets to approve by this manager. - * - * @param Employee $manager - * @param Collection $directReports - * @return array|null */ public static function employeesWithTimesheetsToApprove(Employee $manager, Collection $directReports): ?array { @@ -258,7 +240,7 @@ public static function employeesWithTimesheetsToApprove(Employee $manager, Colle return [ 'totalNumberOfTimesheetsToValidate' => $totalNumberOfTimesheetsToValidate, 'employees' => $employeesCollection, - 'url_view_all'=> route('dashboard.manager.timesheet.index', [ + 'url_view_all' => route('dashboard.manager.timesheet.index', [ 'company' => $manager->company, ]), ]; @@ -266,10 +248,6 @@ public static function employeesWithTimesheetsToApprove(Employee $manager, Colle /** * Get the information about the opened discipline cases for this manager. - * - * @param Company $company - * @param Collection $directReports - * @return SupportCollection */ public static function activeDisciplineCases(Company $company, Collection $directReports): SupportCollection { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardMeViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardMeViewHelper.php index cee2be8e2..c0f40af69 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardMeViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardMeViewHelper.php @@ -2,34 +2,31 @@ namespace App\Http\ViewHelpers\Dashboard; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\MoneyHelper; use App\Helpers\QuestionHelper; +use App\Helpers\WorkFromHomeHelper; +use App\Models\Company\AskMeAnythingSession; +use App\Models\Company\CandidateStageParticipant; use App\Models\Company\Company; use App\Models\Company\ECoffee; +use App\Models\Company\ECoffeeMatch; +use App\Models\Company\Employee; +use App\Models\Company\EmployeeStatus; use App\Models\Company\Expense; +use App\Models\Company\OneOnOneEntry; use App\Models\Company\Project; -use App\Models\Company\Employee; +use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Support\Collection; -use App\Helpers\WorkFromHomeHelper; use Money\Currencies\ISOCurrencies; -use App\Models\Company\ECoffeeMatch; -use App\Models\Company\OneOnOneEntry; -use App\Models\Company\EmployeeStatus; -use App\Models\Company\AskMeAnythingSession; -use App\Models\Company\CandidateStageParticipant; -use Illuminate\Database\Eloquent\ModelNotFoundException; -use App\Services\Company\Employee\OneOnOne\CreateOneOnOneEntry; class DashboardMeViewHelper { /** * Array containing all the information about the current active question. - * - * @param Employee $employee - * @return array|null */ public static function question(Employee $employee): ?array { @@ -78,9 +75,6 @@ public static function question(Employee $employee): ?array /** * All the tasks of this employee. - * - * @param Employee $employee - * @return Collection|null */ public static function tasks(Employee $employee): ?Collection { @@ -99,9 +93,6 @@ public static function tasks(Employee $employee): ?Collection /** * All the expense categories available in this company. - * - * @param Company $company - * @return Collection|null */ public static function categories(Company $company): ?Collection { @@ -120,8 +111,6 @@ public static function categories(Company $company): ?Collection /** * Get all the currencies used in this OfficeLife instance. - * - * @return Collection|null */ public static function currencies(): ?Collection { @@ -139,9 +128,6 @@ public static function currencies(): ?Collection /** * Get all the in progress expenses for this employee. - * - * @param Employee $employee - * @return Collection|null */ public static function expenses(Employee $employee): ?Collection { @@ -180,9 +166,6 @@ public static function expenses(Employee $employee): ?Collection /** * Get all the Rate Your Manager survey answers that need to be answered, if * they exist. - * - * @param Employee $employee - * @return Collection|null */ public static function rateYourManagerAnswers(Employee $employee): ?Collection { @@ -208,8 +191,6 @@ public static function rateYourManagerAnswers(Employee $employee): ?Collection /** * Get the one on ones with the manager(s) if they exist. - * - * @return Collection */ public static function oneOnOnes(Employee $employee): Collection { @@ -263,9 +244,6 @@ public static function oneOnOnes(Employee $employee): Collection /** * Get the information about contract renewal, if the employee is external, * and if the contract is due in the next 3 months or less. - * - * @param Employee $employee - * @return array|null */ public static function contractRenewal(Employee $employee): ?array { @@ -288,17 +266,22 @@ public static function contractRenewal(Employee $employee): ?array return null; } + $number_of_days = (int) $employee->contract_renewed_at->diffInDays($now); + if ($number_of_days < 0) { + $number_of_days = $number_of_days * -1; + } + if ($employee->contract_renewed_at->isBefore($now)) { return [ 'contract_renewed_at' => DateHelper::formatDate($employee->contract_renewed_at, $employee->timezone), - 'number_of_days' => $employee->contract_renewed_at->diffInDays($now), + 'number_of_days' => $number_of_days, 'late' => true, ]; } return [ 'contract_renewed_at' => DateHelper::formatDate($employee->contract_renewed_at, $employee->timezone), - 'number_of_days' => $employee->contract_renewed_at->diffInDays($now), + 'number_of_days' => $number_of_days, 'late' => false, ]; } @@ -306,10 +289,6 @@ public static function contractRenewal(Employee $employee): ?array /** * Get the latest match for the eCoffee program, if it’s enabled for the * company. - * - * @param Employee $employee - * @param Company $company - * @return array|null */ public static function eCoffee(Employee $employee, Company $company): ?array { @@ -377,10 +356,6 @@ public static function eCoffee(Employee $employee, Company $company): ?array /** * Get the projects the employee participates in. - * - * @param Employee $employee - * @param Company $company - * @return Collection|null */ public static function projects(Employee $employee, Company $company): ?Collection { @@ -430,9 +405,6 @@ public static function projects(Employee $employee, Company $company): ?Collecti /** * Get the company currency. - * - * @param Company $company - * @return array|null */ public static function companyCurrency(Company $company): ?array { @@ -444,9 +416,6 @@ public static function companyCurrency(Company $company): ?array /** * Get the information about worklogs. - * - * @param Employee $employee - * @return array|null */ public static function worklogs(Employee $employee): ?array { @@ -458,9 +427,6 @@ public static function worklogs(Employee $employee): ?array /** * Get the information about the morale. - * - * @param Employee $employee - * @return array|null */ public static function morale(Employee $employee): ?array { @@ -471,9 +437,6 @@ public static function morale(Employee $employee): ?array /** * Get the information about working from home. - * - * @param Employee $employee - * @return array|null */ public static function workFromHome(Employee $employee): ?array { @@ -485,10 +448,6 @@ public static function workFromHome(Employee $employee): ?array /** * Get the information about the job openings as a sponsor. - * - * @param Company $company - * @param Employee $employee - * @return Collection */ public static function jobOpeningsAsSponsor(Company $company, Employee $employee): Collection { @@ -515,9 +474,6 @@ public static function jobOpeningsAsSponsor(Company $company, Employee $employee /** * Get the information about the job openings as a participant. - * - * @param Employee $employee - * @return Collection */ public static function jobOpeningsAsParticipant(Employee $employee): Collection { @@ -553,10 +509,6 @@ public static function jobOpeningsAsParticipant(Employee $employee): Collection /** * Get the information about the current active ask me anything session, if * it exists. - * - * @param Company $company - * @param Employee $employee - * @return array */ public static function activeAskMeAnythingSession(Company $company, Employee $employee): ?array { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardOneOnOneViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardOneOnOneViewHelper.php index 02483dace..1feab8ef3 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardOneOnOneViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardOneOnOneViewHelper.php @@ -11,10 +11,6 @@ class DashboardOneOnOneViewHelper { /** * Get the details of a one on one. - * - * @param OneOnOneEntry $entry - * @param Employee $employee - * @return array */ public static function details(OneOnOneEntry $entry, Employee $employee): array { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardTeamViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardTeamViewHelper.php index d821b46ee..6740f8139 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardTeamViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardTeamViewHelper.php @@ -2,24 +2,21 @@ namespace App\Http\ViewHelpers\Dashboard; -use Carbon\Carbon; -use Carbon\CarbonPeriod; +use App\Helpers\BirthdayHelper; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Team; -use App\Helpers\BirthdayHelper; +use App\Helpers\WorkFromHomeHelper; use App\Models\Company\Employee; +use App\Models\Company\Team; +use Carbon\Carbon; +use Carbon\CarbonPeriod; use Illuminate\Support\Collection; -use App\Helpers\WorkFromHomeHelper; class DashboardTeamViewHelper { /** * Array containing all the upcoming birthdays for employees in the given * team. - * - * @param Team $team - * @return array */ public static function birthdays(Team $team): array { @@ -68,9 +65,6 @@ public static function birthdays(Team $team): array /** * Array containing all employees who work from home in the given team. - * - * @param Team $team - * @return Collection */ public static function workFromHome(Team $team): Collection { @@ -106,9 +100,6 @@ public static function workFromHome(Team $team): Collection /** * Array containing all the teams. - * - * @param Collection $teams - * @return Collection */ public static function teams(Collection $teams): Collection { @@ -129,9 +120,6 @@ public static function teams(Collection $teams): Collection /** * Collection containing all the recent ships entry for the given team. - * - * @param Team $team - * @return Collection */ public static function ships(Team $team): Collection { @@ -178,11 +166,6 @@ public static function ships(Team $team): Collection * - less than 20% of team members have filled the work logs: red * - 20% -> 80%: yellow * - > 80%: green - * - * @param Team $team - * @param Carbon $date - * @param Employee $loggedEmployee - * @return array */ public static function worklogsForDate(Team $team, Carbon $date, Employee $loggedEmployee): array { @@ -219,11 +202,6 @@ public static function worklogsForDate(Team $team, Carbon $date, Employee $logge * Get all the work logs for the last 7 days. * By default, the view will display the following days: * Last Fri/M/T/W/T/F. - * - * @param Team $team - * @param Carbon $startDate - * @param Employee $loggedEmployee - * @return Collection */ public static function worklogsForTheLast7Days(Team $team, Carbon $startDate, Employee $loggedEmployee): Collection { @@ -243,9 +221,6 @@ public static function worklogsForTheLast7Days(Team $team, Carbon $startDate, Em /** * Array containing all the upcoming new hires that will come on board in * the next week for this team. - * - * @param Team $team - * @return Collection */ public static function upcomingNewHires(Team $team): Collection { @@ -282,9 +257,6 @@ public static function upcomingNewHires(Team $team): Collection /** * Get all the upcoming hiring date anniversaries for employees in the team, * from now to 7 days frow now. - * - * @param Team $team - * @return Collection */ public static function upcomingHiredDateAnniversaries(Team $team): Collection { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardTimesheetViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardTimesheetViewHelper.php index 8d9657b5b..82b5c1ded 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardTimesheetViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardTimesheetViewHelper.php @@ -2,15 +2,15 @@ namespace App\Http\ViewHelpers\Dashboard; -use Carbon\Carbon; use App\Helpers\DateHelper; -use App\Helpers\TimeHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Project; +use App\Helpers\TimeHelper; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\Timesheet; -use Illuminate\Support\Collection; use App\Services\Company\Employee\Timesheet\CreateOrGetTimesheet; +use Carbon\Carbon; +use Illuminate\Support\Collection; class DashboardTimesheetViewHelper { @@ -20,9 +20,6 @@ class DashboardTimesheetViewHelper * Each row is a task from a project. * Each row is split into 7 days, each one being the entry for the task * for the given day. - * - * @param Timesheet $timesheet - * @return array */ public static function show(Timesheet $timesheet): array { @@ -98,10 +95,6 @@ public static function show(Timesheet $timesheet): array /** * Get the information about the approver, if the timesheet has been either * approved or rejected. - * - * @param Timesheet $timesheet - * @param Employee $employee - * @return array */ public static function approverInformation(Timesheet $timesheet, Employee $employee): array { @@ -228,9 +221,6 @@ public static function currentTimesheet(Employee $employee): array /** * Array containing information about projects the employee is part of. - * - * @param Employee $employee - * @return Collection */ public static function projects(Employee $employee): Collection { @@ -252,10 +242,6 @@ public static function projects(Employee $employee): Collection * Array containing all the tasks in a given project, that are not in * the given timesheet already. * This method is used when we add a new timesheet row. - * - * @param Project $project - * @param Timesheet $timesheet - * @return Collection */ public static function availableTasks(Project $project, Timesheet $timesheet): Collection { @@ -286,9 +272,6 @@ public static function availableTasks(Project $project, Timesheet $timesheet): C /** * Get a collection of all the timesheets rejected for this employee. - * - * @param Employee $employee - * @return Collection */ public static function rejectedTimesheets(Employee $employee): Collection { diff --git a/app/Http/ViewHelpers/Dashboard/DashboardViewHelper.php b/app/Http/ViewHelpers/Dashboard/DashboardViewHelper.php index 59474b5e3..c8cb30642 100644 --- a/app/Http/ViewHelpers/Dashboard/DashboardViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/DashboardViewHelper.php @@ -9,10 +9,6 @@ class DashboardViewHelper { /** * Get information about the employee. - * - * @param Employee $employee - * @param string $currentTab - * @return array|null */ public static function information(Employee $employee, string $currentTab): ?array { diff --git a/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelper.php b/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelper.php index 843ea9b6b..84675e2bc 100644 --- a/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineCaseViewHelper.php @@ -5,16 +5,13 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Models\Company\Company; -use Illuminate\Support\Collection; use App\Models\Company\DisciplineCase; +use Illuminate\Support\Collection; class DashboardHRDisciplineCaseViewHelper { /** * Get the information about the opened discipline cases. - * - * @param Company $company - * @return array|null */ public static function index(Company $company): ?array { @@ -59,9 +56,6 @@ public static function index(Company $company): ?array /** * Get the information about the closed discipline cases. - * - * @param Company $company - * @return array|null */ public static function closed(Company $company): ?array { @@ -137,10 +131,6 @@ public static function dto(Company $company, DisciplineCase $case): array /** * Returns the potential employees who can be assigned a case. - * - * @param Company $company - * @param string $criteria - * @return Collection */ public static function potentialEmployees(Company $company, string $criteria): Collection { @@ -148,9 +138,9 @@ public static function potentialEmployees(Company $company, string $criteria): C ->select('id', 'first_name', 'last_name', 'avatar_file_id') ->notLocked() ->where(function ($query) use ($criteria) { - $query->where('first_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('last_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('email', 'LIKE', '%' . $criteria . '%'); + $query->where('first_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('last_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('email', 'LIKE', '%'.$criteria.'%'); }) ->orderBy('last_name', 'asc') ->take(10) @@ -170,9 +160,6 @@ public static function potentialEmployees(Company $company, string $criteria): C /** * Show the given case. - * - * @param Company $company - * @param DisciplineCase $case */ public static function show(Company $company, DisciplineCase $case) { diff --git a/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelper.php b/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelper.php index 36671c0fb..866ecdb1d 100644 --- a/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/HR/DashboardHRDisciplineEventViewHelper.php @@ -13,11 +13,6 @@ class DashboardHRDisciplineEventViewHelper { /** * Get the information about the discipline event. - * - * @param Company $company - * @param DisciplineCase $case - * @param DisciplineEvent $event - * @return array */ public static function dto(Company $company, DisciplineCase $case, DisciplineEvent $event): array { diff --git a/app/Http/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelper.php b/app/Http/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelper.php index 72580d96d..1401f038f 100644 --- a/app/Http/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/HR/DashboardHRTimesheetViewHelper.php @@ -2,12 +2,12 @@ namespace App\Http\ViewHelpers\Dashboard\HR; -use Carbon\Carbon; use App\Helpers\DateHelper; -use App\Helpers\TimeHelper; use App\Helpers\ImageHelper; +use App\Helpers\TimeHelper; use App\Models\Company\Company; use App\Models\Company\Timesheet; +use Carbon\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; @@ -16,9 +16,6 @@ class DashboardHRTimesheetViewHelper /** * Get the information about timesheets that need approval for employees who * doesn't have a manager. - * - * @param Company $company - * @return Collection|null */ public static function timesheetApprovalsForEmployeesWithoutManagers(Company $company): ?Collection { @@ -59,7 +56,7 @@ public static function timesheetApprovalsForEmployeesWithoutManagers(Company $co $timesheetCollection = collect([]); foreach ($pendingTimesheets as $timesheet) { $totalWorkedInMinutes = DB::table('time_tracking_entries') - ->where('timesheet_id', $timesheet->id) + ->where('timesheet_id', $timesheet->id) ->sum('duration'); $arrayOfTime = TimeHelper::convertToHoursAndMinutes($totalWorkedInMinutes); diff --git a/app/Http/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelper.php b/app/Http/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelper.php index 8bce8d98f..b9361a773 100644 --- a/app/Http/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelper.php +++ b/app/Http/ViewHelpers/Dashboard/Manager/DashboardManagerTimesheetViewHelper.php @@ -3,8 +3,8 @@ namespace App\Http\ViewHelpers\Dashboard\Manager; use App\Helpers\DateHelper; -use App\Helpers\TimeHelper; use App\Helpers\ImageHelper; +use App\Helpers\TimeHelper; use App\Models\Company\Employee; use App\Models\Company\Timesheet; use Illuminate\Support\Collection; @@ -14,10 +14,6 @@ class DashboardManagerTimesheetViewHelper { /** * Get the information about timesheets that need approval. - * - * @param Employee $manager - * @param Collection $directReports - * @return Collection|null */ public static function timesheetApprovals(Employee $manager, Collection $directReports): ?Collection { @@ -35,7 +31,7 @@ public static function timesheetApprovals(Employee $manager, Collection $directR $timesheetCollection = collect([]); foreach ($pendingTimesheets as $timesheet) { $totalWorkedInMinutes = DB::table('time_tracking_entries') - ->where('timesheet_id', $timesheet->id) + ->where('timesheet_id', $timesheet->id) ->sum('duration'); $arrayOfTime = TimeHelper::convertToHoursAndMinutes($totalWorkedInMinutes); diff --git a/app/Http/ViewHelpers/Employee/EmployeeECoffeeViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeECoffeeViewHelper.php index ee483f0f7..db4967ae8 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeECoffeeViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeECoffeeViewHelper.php @@ -2,22 +2,18 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Models\Company\Company; +use App\Models\Company\ECoffeeMatch; use App\Models\Company\Employee; +use Carbon\Carbon; use Illuminate\Support\Collection; -use App\Models\Company\ECoffeeMatch; class EmployeeECoffeeViewHelper { /** * List all the eCoffees the employee participated to. - * - * @param Employee $employee - * @param Company $company - * @return Collection|null */ public static function index(Employee $employee, Company $company): ?Collection { diff --git a/app/Http/ViewHelpers/Employee/EmployeeEditContractViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeEditContractViewHelper.php index 1dd1d0ca9..baab56fbc 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeEditContractViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeEditContractViewHelper.php @@ -2,17 +2,14 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Models\Company\Company; use App\Models\Company\Employee; +use Carbon\Carbon; class EmployeeEditContractViewHelper { /** * Information about the contract. - * - * @param Employee $employee - * @return array */ public static function employeeInformation(Employee $employee): array { @@ -28,10 +25,6 @@ public static function employeeInformation(Employee $employee): array /** * Get the consultant rates of the employee, if they exist. - * - * @param Employee $employee - * @param Company $company - * @return array */ public static function rates(Employee $employee, Company $company): array { diff --git a/app/Http/ViewHelpers/Employee/EmployeeEditViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeEditViewHelper.php index 67efab8a0..7209fbb97 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeEditViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeEditViewHelper.php @@ -2,16 +2,13 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Models\Company\Employee; +use Carbon\Carbon; class EmployeeEditViewHelper { /** * Get information about the employee being edited. - * - * @param Employee $employee - * @return array */ public static function show(Employee $employee): array { diff --git a/app/Http/ViewHelpers/Employee/EmployeeExpenseViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeExpenseViewHelper.php index ee904082a..b60cd7e2f 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeExpenseViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeExpenseViewHelper.php @@ -4,19 +4,15 @@ use App\Helpers\DateHelper; use App\Helpers\MoneyHelper; -use App\Models\Company\Expense; use App\Models\Company\Employee; -use Illuminate\Support\Collection; +use App\Models\Company\Expense; use Illuminate\Database\Eloquent\Collection as EloquentCollection; +use Illuminate\Support\Collection; class EmployeeExpenseViewHelper { /** * Array containing the main statistics about the expenses of this employee. - * - * @param Employee $employee - * @param EloquentCollection $expenses - * @return array */ public static function stats(Employee $employee, EloquentCollection $expenses): array { diff --git a/app/Http/ViewHelpers/Employee/EmployeeHierarchyViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeHierarchyViewHelper.php index 9bb0bc56f..13b96de06 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeHierarchyViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeHierarchyViewHelper.php @@ -10,11 +10,6 @@ class EmployeeHierarchyViewHelper { /** * Search all employees matching a given criteria. - * - * @param Company $company - * @param Employee $employee - * @param string|null $criteria - * @return Collection */ public static function search(Company $company, Employee $employee, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Employee/EmployeeLogViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeLogViewHelper.php index 3802ebd77..e778f4fa2 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeLogViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeLogViewHelper.php @@ -11,7 +11,8 @@ class EmployeeLogViewHelper { /** * Collection containing all the audit log entries for this employee. - * @param mixed $logs + * + * @param mixed $logs */ public static function list($logs, Company $company): Collection { diff --git a/app/Http/ViewHelpers/Employee/EmployeeOneOnOneViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeOneOnOneViewHelper.php index e3ab752e5..f66fbb999 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeOneOnOneViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeOneOnOneViewHelper.php @@ -2,11 +2,11 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Models\Company\Employee; use App\Models\Company\OneOnOneEntry; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Collection as SupportCollection; @@ -14,9 +14,6 @@ class EmployeeOneOnOneViewHelper { /** * Array containing the main statistics about the one on ones of this employee. - * - * @param Collection $entries - * @return array */ public static function stats(Collection $entries): array { @@ -44,11 +41,6 @@ public static function stats(Collection $entries): array /** * Array containing all the one on ones done. - * - * @param Collection $oneOnOnes - * @param Employee $employee - * @param Employee $loggedEmployee - * @return SupportCollection */ public static function list(Collection $oneOnOnes, Employee $employee, Employee $loggedEmployee): SupportCollection { @@ -84,10 +76,6 @@ public static function list(Collection $oneOnOnes, Employee $employee, Employee /** * Get the details of a one on one. - * - * @param OneOnOneEntry $entry - * @param Employee $employee - * @return array */ public static function details(OneOnOneEntry $entry, Employee $employee): array { diff --git a/app/Http/ViewHelpers/Employee/EmployeePerformanceViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeePerformanceViewHelper.php index e23b7d9ce..957f95aa0 100644 --- a/app/Http/ViewHelpers/Employee/EmployeePerformanceViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeePerformanceViewHelper.php @@ -2,18 +2,15 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Models\Company\Employee; use App\Models\Company\RateYourManagerAnswer; +use Carbon\Carbon; class EmployeePerformanceViewHelper { /** * Get the latest Rate your manager surveys about this manager. - * - * @param Employee $employee - * @return array|null */ public static function latestRateYourManagerSurveys(Employee $employee): ?array { diff --git a/app/Http/ViewHelpers/Employee/EmployeeShowViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeShowViewHelper.php index 9ab3a7cff..9fc97a782 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeShowViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeShowViewHelper.php @@ -2,21 +2,21 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; +use App\Helpers\BirthdayHelper; use App\Helpers\DateHelper; -use App\Helpers\TimeHelper; use App\Helpers\ImageHelper; use App\Helpers\MoneyHelper; -use App\Models\User\Pronoun; use App\Helpers\StringHelper; -use App\Helpers\BirthdayHelper; +use App\Helpers\TimeHelper; +use App\Helpers\WorkFromHomeHelper; use App\Models\Company\Company; +use App\Models\Company\ECoffeeMatch; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Models\User\Pronoun; +use Carbon\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; -use App\Helpers\WorkFromHomeHelper; -use App\Models\Company\ECoffeeMatch; class EmployeeShowViewHelper { @@ -24,11 +24,6 @@ class EmployeeShowViewHelper * Information about the employee. * The information that is given depends on the permissions array that * indicates if the logged employee can see info about the employee. - * - * @param Employee $employee - * @param array $permissions - * @param Employee $loggedEmployee - * @return array */ public static function informationAboutEmployee(Employee $employee, array $permissions, Employee $loggedEmployee): array { @@ -126,9 +121,6 @@ public static function informationAboutEmployee(Employee $employee, array $permi /** * Collection containing all the managers of this employee. - * - * @param Employee $employee - * @return Collection */ public static function managers(Employee $employee): Collection { @@ -161,9 +153,6 @@ public static function managers(Employee $employee): Collection /** * Collection containing all the direct reports of this employee. - * - * @param Employee $employee - * @return Collection */ public static function directReports(Employee $employee): Collection { @@ -197,9 +186,6 @@ public static function directReports(Employee $employee): Collection /** * Array containing information about the number of times the employee has * been working from home this year. - * - * @param Employee $employee - * @return array */ public static function workFromHomeStats(Employee $employee): array { @@ -221,9 +207,6 @@ public static function workFromHomeStats(Employee $employee): array /** * Array containing information about the questions answered by the * employee. - * - * @param Employee $employee - * @return Collection */ public static function questions(Employee $employee): Collection { @@ -251,10 +234,6 @@ public static function questions(Employee $employee): Collection /** * Array containing information about the teams. - * - * @param Company $company - * @param Collection $teams - * @return Collection */ public static function teams(Collection $teams, Company $company): Collection { @@ -279,10 +258,6 @@ public static function teams(Collection $teams, Company $company): Collection /** * Array containing information about the hardware associated with the * employee. - * - * @param Employee $employee - * @param array $permissions - * @return Collection|null */ public static function hardware(Employee $employee, array $permissions): ?Collection { @@ -307,9 +282,6 @@ public static function hardware(Employee $employee, array $permissions): ?Collec /** * Array containing information about the recent ships associated with the * employee. - * - * @param Employee $employee - * @return Collection */ public static function recentShips(Employee $employee): Collection { @@ -354,9 +326,6 @@ public static function recentShips(Employee $employee): Collection /** * Array containing information about the skills associated with the * employee. - * - * @param Employee $employee - * @return Collection */ public static function skills(Employee $employee): Collection { @@ -382,11 +351,6 @@ public static function skills(Employee $employee): Collection * employee. * On the employee profile page, we only see expenses logged in the last * 30 days. - * - * @param Employee $employee - * @param array $permissions - * @param Employee $loggedEmployee - * @return array|null */ public static function expenses(Employee $employee, array $permissions, Employee $loggedEmployee): ?array { @@ -434,11 +398,6 @@ public static function expenses(Employee $employee, array $permissions, Employee /** * Array containing information about the latest one on ones associated with * the employee. - * - * @param Employee $employee - * @param array $permissions - * @param Employee $loggedEmployee - * @return array|null */ public static function oneOnOnes(Employee $employee, array $permissions, Employee $loggedEmployee): ?array { @@ -485,9 +444,6 @@ public static function oneOnOnes(Employee $employee, array $permissions, Employe /** * Get the employee statuses for the given company. - * - * @param Company $company - * @return Collection */ public static function employeeStatuses(Company $company): Collection { @@ -507,10 +463,6 @@ public static function employeeStatuses(Company $company): Collection /** * Array containing information about the latest timesheets logged by the * employee. - * - * @param Employee $employee - * @param array $permissions - * @return array|null */ public static function timesheets(Employee $employee, array $permissions): ?array { @@ -562,8 +514,6 @@ public static function timesheets(Employee $employee, array $permissions): ?arra /** * Array containing information about all the pronouns used in the company. - * - * @return Collection|null */ public static function pronouns(): ?Collection { @@ -582,9 +532,6 @@ public static function pronouns(): ?Collection /** * Array containing information about all the positions used in the company. - * - * @param Company $company - * @return Collection|null */ public static function positions(Company $company): ?Collection { @@ -603,10 +550,6 @@ public static function positions(Company $company): ?Collection /** * List all the eCoffees the employee participated to. - * - * @param Employee $employee - * @param Company $company - * @return array|null */ public static function eCoffees(Employee $employee, Company $company): ?array { @@ -657,8 +600,6 @@ public static function eCoffees(Employee $employee, Company $company): ?array /** * Get the percent of employees who have been hired after the given employee. * - * @param Employee $employee - * @param Company $company * @return ?int */ public static function hiredAfterEmployee(Employee $employee, Company $company): ?int @@ -680,10 +621,6 @@ public static function hiredAfterEmployee(Employee $employee, Company $company): /** * Get the list of all positions the employee ever had in the company. - * - * @param Employee $employee - * @param Company $company - * @return Collection */ public static function employeeCurrentAndPastPositions(Employee $employee, Company $company): Collection { @@ -707,10 +644,6 @@ public static function employeeCurrentAndPastPositions(Employee $employee, Compa /** * Array containing information about the software associated with the * employee. - * - * @param Employee $employee - * @param array $permissions - * @return Collection|null */ public static function softwares(Employee $employee, array $permissions): ?Collection { diff --git a/app/Http/ViewHelpers/Employee/EmployeeSkillViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeSkillViewHelper.php index 3322bc372..c2a6c90b7 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeSkillViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeSkillViewHelper.php @@ -2,21 +2,16 @@ namespace App\Http\ViewHelpers\Employee; -use Illuminate\Support\Str; use App\Models\Company\Company; use App\Models\Company\Employee; use Illuminate\Support\Collection; +use Illuminate\Support\Str; class EmployeeSkillViewHelper { /** * Search all skills matching a given criteria, and filter out the skills * already associated with the employee. - * - * @param Company $company - * @param Employee $employee - * @param string|null $criteria - * @return Collection */ public static function search(Company $company, Employee $employee, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Employee/EmployeeSurveysViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeSurveysViewHelper.php index 9d125e16e..780760abb 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeSurveysViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeSurveysViewHelper.php @@ -2,21 +2,18 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Models\Company\Employee; -use Illuminate\Support\Facades\DB; use App\Models\Company\RateYourManagerAnswer; use App\Models\Company\RateYourManagerSurvey; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class EmployeeSurveysViewHelper { /** * Get all the Rate your manager surveys about this manager. - * - * @param Employee $employee - * @return array|null */ public static function rateYourManagerSurveys(Employee $employee): ?array { @@ -102,9 +99,6 @@ public static function rateYourManagerSurveys(Employee $employee): ?array /** * Get information about the given survey. - * - * @param int $surveyId - * @return array|null */ public static function informationAboutSurvey(int $surveyId): ?array { diff --git a/app/Http/ViewHelpers/Employee/EmployeeTimesheetViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeTimesheetViewHelper.php index 5dd0c1157..cf339774c 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeTimesheetViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeTimesheetViewHelper.php @@ -2,13 +2,13 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; -use App\Helpers\SQLHelper; use App\Helpers\DateHelper; +use App\Helpers\SQLHelper; use App\Helpers\TimeHelper; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use Carbon\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; @@ -16,11 +16,6 @@ class EmployeeTimesheetViewHelper { /** * Gets a collection of timesheets. - * - * @param Collection $timesheets - * @param Employee $employee - * @param Company $company - * @return array */ public static function timesheets(Collection $timesheets, Employee $employee, Company $company): array { @@ -65,10 +60,6 @@ public static function timesheets(Collection $timesheets, Employee $employee, Co /** * Get a collection representing all the years the employee has been * submitting a timesheet. - * - * @param Employee $employee - * @param Company $company - * @return Collection */ public static function yearsWithTimesheets(Employee $employee, Company $company): Collection { @@ -96,11 +87,6 @@ public static function yearsWithTimesheets(Employee $employee, Company $company) /** * Get a collection representing all the months the employee has a timesheet, * for a given year. - * - * @param Employee $employee - * @param Company $company - * @param int $year - * @return Collection */ public static function monthsWithTimesheets(Employee $employee, Company $company, int $year): Collection { diff --git a/app/Http/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelper.php index d1f8538a8..17ffe5aaa 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeWorkFromHomeViewHelper.php @@ -2,9 +2,9 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Models\Company\Employee; +use Carbon\Carbon; use Illuminate\Support\Collection; class EmployeeWorkFromHomeViewHelper @@ -12,10 +12,6 @@ class EmployeeWorkFromHomeViewHelper /** * Get a collection representing all the years the employee has been * working from home. - * - * @param Collection $workFromHomes - * - * @return Collection */ public static function yearsWithEntries(Collection $workFromHomes): Collection { @@ -36,11 +32,6 @@ public static function yearsWithEntries(Collection $workFromHomes): Collection /** * Get a collection representing all the months the employee has worked from * home, for a given year. - * - * @param Collection $entries - * @param int $year - * - * @return Collection */ public static function monthsWithEntries(Collection $entries, int $year): Collection { diff --git a/app/Http/ViewHelpers/Employee/EmployeeWorkViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeWorkViewHelper.php index 47667427a..5ea3f3045 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeWorkViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeWorkViewHelper.php @@ -2,18 +2,18 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Helpers\DateHelper; -use Illuminate\Support\Str; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; +use App\Models\Company\ProjectMessage; +use App\Models\Company\ProjectTask; +use Carbon\Carbon; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; -use App\Models\Company\ProjectTask; -use App\Models\Company\ProjectMessage; +use Illuminate\Support\Str; class EmployeeWorkViewHelper { @@ -23,12 +23,6 @@ class EmployeeWorkViewHelper * - list of 4 previous weeks * - for each week, the worklogs of the 5 working days + the morale of the * employee (if the logged employee has the right to view this information). - * - * @param Employee $employee - * @param Employee $loggedEmployee - * @param Carbon $startOfWeek - * @param Carbon $selectedDay - * @return array */ public static function worklog(Employee $employee, Employee $loggedEmployee, Carbon $startOfWeek, Carbon $selectedDay): array { @@ -70,9 +64,6 @@ public static function worklog(Employee $employee, Employee $loggedEmployee, Car /** * Get the current week date, and the three weeks prior to that. - * - * @param Employee $loggedEmployee - * @return Collection */ public static function weeks(Employee $loggedEmployee): Collection { @@ -122,25 +113,21 @@ public static function weeks(Employee $loggedEmployee): Collection /** * List all the projects of the employee. - * - * @param Employee $employee - * @param Company $company - * @return Collection|null */ public static function projects(Employee $employee, Company $company): ?Collection { /** Going through a raw query coupled with eloquent to drastically reduce the number of hydrated models */ $projects = Project::join('employee_project', 'employee_project.project_id', '=', 'projects.id') - ->select('employee_project.role', 'employee_project.created_at', 'employee_project.project_id', 'projects.id as project_id', 'projects.name', 'projects.code', 'projects.status') + ->select('employee_project.role', 'employee_project.created_at', 'employee_project.project_id', 'projects.id as project_id', 'projects.name', 'projects.code', 'projects.status') ->addSelect([ 'messages_count' => ProjectMessage::select(DB::raw('count(id)')) - ->whereColumn('author_id', 'employee_id') - ->whereColumn('project_id', 'projects.id'), + ->whereColumn('author_id', 'employee_id') + ->whereColumn('project_id', 'projects.id'), ]) ->addSelect([ 'tasks_count' => ProjectTask::select(DB::raw('count(id)')) - ->whereColumn('assignee_id', 'employee_id') - ->whereColumn('project_id', 'projects.id'), + ->whereColumn('assignee_id', 'employee_id') + ->whereColumn('project_id', 'projects.id'), ]) ->where('employee_project.employee_id', $employee->id) ->orderBy('projects.id', 'desc') diff --git a/app/Http/ViewHelpers/Employee/EmployeeWorklogViewHelper.php b/app/Http/ViewHelpers/Employee/EmployeeWorklogViewHelper.php index 726d29e77..cf60dabc0 100644 --- a/app/Http/ViewHelpers/Employee/EmployeeWorklogViewHelper.php +++ b/app/Http/ViewHelpers/Employee/EmployeeWorklogViewHelper.php @@ -2,8 +2,8 @@ namespace App\Http\ViewHelpers\Employee; -use Carbon\Carbon; use App\Helpers\DateHelper; +use Carbon\Carbon; use Carbon\CarbonImmutable; use Illuminate\Support\Collection; @@ -12,11 +12,6 @@ class EmployeeWorklogViewHelper /** * Prepare a yearly calendar containing all the days in a year along with the * information whether the employee has a worklog for that day or not. - * - * @param Collection $worklogs - * @param int $year - * - * @return Collection */ public static function dataForYearlyCalendar(Collection $worklogs, int $year): Collection { @@ -51,10 +46,6 @@ public static function dataForYearlyCalendar(Collection $worklogs, int $year): C /** * Get a collection representing all the years the employee has logged a * worklog for. - * - * @param Collection $worklogs - * - * @return Collection */ public static function yearsWithEntries(Collection $worklogs): Collection { @@ -75,11 +66,6 @@ public static function yearsWithEntries(Collection $worklogs): Collection /** * Get a collection representing all the months the employee has logged a * worklog for, for a given year. - * - * @param Collection $worklogs - * @param int $year - * - * @return Collection */ public static function monthsWithEntries(Collection $worklogs, int $year): Collection { diff --git a/app/Http/ViewHelpers/Jobs/JobsCompanyViewHelper.php b/app/Http/ViewHelpers/Jobs/JobsCompanyViewHelper.php index e298e3788..7a3ccb31d 100644 --- a/app/Http/ViewHelpers/Jobs/JobsCompanyViewHelper.php +++ b/app/Http/ViewHelpers/Jobs/JobsCompanyViewHelper.php @@ -11,9 +11,6 @@ class JobsCompanyViewHelper { /** * Get all the active job openings for a given company. - * - * @param Company $company - * @return array */ public static function index(Company $company): array { @@ -54,9 +51,6 @@ public static function index(Company $company): array /** * Get the information about a job opening. - * - * @param Company $company - * @param JobOpening $jobOpening */ public static function show(Company $company, JobOpening $jobOpening) { @@ -92,9 +86,6 @@ public static function show(Company $company, JobOpening $jobOpening) /** * Get the information about a job opening for the Apply page. - * - * @param Company $company - * @param JobOpening $jobOpening */ public static function apply(Company $company, JobOpening $jobOpening) { diff --git a/app/Http/ViewHelpers/Jobs/JobsViewHelper.php b/app/Http/ViewHelpers/Jobs/JobsViewHelper.php index 269b16c5f..c32f0e2e4 100644 --- a/app/Http/ViewHelpers/Jobs/JobsViewHelper.php +++ b/app/Http/ViewHelpers/Jobs/JobsViewHelper.php @@ -10,8 +10,6 @@ class JobsViewHelper { /** * Get all the companies in the instance. - * - * @return array */ public static function index(): array { diff --git a/app/Http/ViewHelpers/Recruiting/RecruitingCandidatesViewHelper.php b/app/Http/ViewHelpers/Recruiting/RecruitingCandidatesViewHelper.php index 532b35929..123025303 100644 --- a/app/Http/ViewHelpers/Recruiting/RecruitingCandidatesViewHelper.php +++ b/app/Http/ViewHelpers/Recruiting/RecruitingCandidatesViewHelper.php @@ -6,21 +6,17 @@ use App\Helpers\FileHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; +use App\Models\Company\Candidate; +use App\Models\Company\CandidateStage; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\Candidate; use App\Models\Company\JobOpening; use Illuminate\Support\Collection; -use App\Models\Company\CandidateStage; class RecruitingCandidatesViewHelper { /** * Get the information about the job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return array|null */ public static function jobOpening(Company $company, JobOpening $jobOpening): ?array { @@ -63,11 +59,6 @@ public static function jobOpening(Company $company, JobOpening $jobOpening): ?ar /** * Get the information about a candidate. - * - * @param Company $company - * @param JobOpening $jobOpening - * @param Candidate $candidate - * @return array|null */ public static function candidate(Company $company, JobOpening $jobOpening, Candidate $candidate): ?array { @@ -115,22 +106,17 @@ public static function candidate(Company $company, JobOpening $jobOpening, Candi /** * Get the information about the other job openings the candidate might have * applied to over time. - * - * @param Company $company - * @param Candidate $candidate - * @param JobOpening $opening - * @return Collection|null */ public static function otherJobOpenings(Company $company, Candidate $candidate, JobOpening $opening): ?Collection { // has the candidate applied to other job openings? $otherCandidatesWithTheSameEmail = Candidate::where('company_id', $company->id) - ->where('email', 'like', $candidate->email) - ->where('job_opening_id', '!=', $opening->id) - ->where('application_completed', true) - ->with('jobOpening') - ->select('job_opening_id') - ->get(); + ->where('email', 'like', $candidate->email) + ->where('job_opening_id', '!=', $opening->id) + ->where('application_completed', true) + ->with('jobOpening') + ->select('job_opening_id') + ->get(); $otherJobOpeningsCollection = collect(); foreach ($otherCandidatesWithTheSameEmail as $candidate) { @@ -153,9 +139,6 @@ public static function otherJobOpenings(Company $company, Candidate $candidate, /** * Get the information about a stage. - * - * @param CandidateStage $stage - * @return array|null */ public static function stage(CandidateStage $stage): ?array { @@ -166,21 +149,21 @@ public static function stage(CandidateStage $stage): ?array $decision = [ 'decider' => $decider ? [ - 'id' => $decider->id, - 'name' => $decider->name, - 'avatar' => ImageHelper::getAvatar($decider, 32), - 'position' => (! $decider->position) ? null : [ - 'id' => $decider->position->id, - 'title' => $decider->position->title, - ], - 'url' => route('employees.show', [ - 'company' => $decider->company, - 'employee' => $decider, - ]), - ] : [ - 'id' => null, - 'name' => $stage->decider_name, + 'id' => $decider->id, + 'name' => $decider->name, + 'avatar' => ImageHelper::getAvatar($decider, 32), + 'position' => (! $decider->position) ? null : [ + 'id' => $decider->position->id, + 'title' => $decider->position->title, ], + 'url' => route('employees.show', [ + 'company' => $decider->company, + 'employee' => $decider, + ]), + ] : [ + 'id' => null, + 'name' => $stage->decider_name, + ], 'decided_at' => $stage->decided_at ? DateHelper::formatDate($stage->decided_at) : null, ]; } @@ -194,9 +177,6 @@ public static function stage(CandidateStage $stage): ?array /** * Get the information about the participants in a stage. - * - * @param CandidateStage $stage - * @return Collection|null */ public static function participants(CandidateStage $stage): ?Collection { @@ -221,9 +201,6 @@ public static function participants(CandidateStage $stage): ?Collection /** * Determine the highest stage reached by the candidate. - * - * @param Candidate $candidate - * @return CandidateStage */ public static function determineHighestStage(Candidate $candidate): CandidateStage { @@ -251,11 +228,6 @@ public static function determineHighestStage(Candidate $candidate): CandidateSta /** * Returns the potential employees that can be added as participants. * This filters out the current participants for the given stage. - * - * @param Company $company - * @param CandidateStage $stage - * @param string $criteria - * @return Collection */ public static function potentialParticipants(Company $company, CandidateStage $stage, string $criteria): Collection { @@ -267,9 +239,9 @@ public static function potentialParticipants(Company $company, CandidateStage $s ->select('id', 'first_name', 'last_name', 'avatar_file_id') ->notLocked() ->where(function ($query) use ($criteria) { - $query->where('first_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('last_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('email', 'LIKE', '%' . $criteria . '%'); + $query->where('first_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('last_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('email', 'LIKE', '%'.$criteria.'%'); }) ->whereNotIn('id', $currentParticipants) ->orderBy('last_name', 'asc') @@ -290,9 +262,6 @@ public static function potentialParticipants(Company $company, CandidateStage $s /** * Get the information about the notes in a stage. - * - * @param Candidate $candidate - * @return Collection|null */ public static function documents(Candidate $candidate): ?Collection { @@ -308,11 +277,6 @@ public static function documents(Candidate $candidate): ?Collection /** * Get the information about the notes in a stage. - * - * @param Company $company - * @param CandidateStage $stage - * @param Employee $loggedEmployee - * @return Collection|null */ public static function notes(Company $company, CandidateStage $stage, Employee $loggedEmployee): ?Collection { diff --git a/app/Http/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelper.php b/app/Http/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelper.php index aa4871f54..449011833 100644 --- a/app/Http/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelper.php +++ b/app/Http/ViewHelpers/Recruiting/RecruitingJobOpeningsViewHelper.php @@ -5,19 +5,16 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; +use App\Models\Company\CandidateStage; use App\Models\Company\Company; use App\Models\Company\JobOpening; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; -use App\Models\Company\CandidateStage; class RecruitingJobOpeningsViewHelper { /** * Get all the positions in the company. - * - * @param Company $company - * @return Collection|null */ public static function positions(Company $company): ?Collection { @@ -36,9 +33,6 @@ public static function positions(Company $company): ?Collection /** * Get all the recruiting templates in the company. - * - * @param Company $company - * @return Collection|null */ public static function templates(Company $company): ?Collection { @@ -57,10 +51,6 @@ public static function templates(Company $company): ?Collection /** * Get all the potential sponsors in the company. - * - * @param Company $company - * @param string $criteria - * @return Collection|null */ public static function potentialSponsors(Company $company, string $criteria): ?Collection { @@ -68,9 +58,9 @@ public static function potentialSponsors(Company $company, string $criteria): ?C ->select('id', 'first_name', 'last_name', 'avatar_file_id') ->notLocked() ->where(function ($query) use ($criteria) { - $query->where('first_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('last_name', 'LIKE', '%' . $criteria . '%') - ->orWhere('email', 'LIKE', '%' . $criteria . '%'); + $query->where('first_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('last_name', 'LIKE', '%'.$criteria.'%') + ->orWhere('email', 'LIKE', '%'.$criteria.'%'); }) ->orderBy('last_name', 'asc') ->take(10) @@ -90,9 +80,6 @@ public static function potentialSponsors(Company $company, string $criteria): ?C /** * Get all the teams in the company. - * - * @param Company $company - * @return Collection|null */ public static function teams(Company $company): ?Collection { @@ -111,9 +98,6 @@ public static function teams(Company $company): ?Collection /** * Get all the open job openings in the company. - * - * @param Company $company - * @return array */ public static function openJobOpenings(Company $company): array { @@ -166,9 +150,6 @@ public static function openJobOpenings(Company $company): array /** * Get all the fulfilled job openings in the company. - * - * @param Company $company - * @return array */ public static function fulfilledJobOpenings(Company $company): array { @@ -222,10 +203,6 @@ public static function fulfilledJobOpenings(Company $company): array /** * Get all the details about a specific job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return array */ public static function show(Company $company, JobOpening $jobOpening): array { @@ -301,10 +278,6 @@ public static function show(Company $company, JobOpening $jobOpening): array /** * Information needed to edit the job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return array */ public static function edit(Company $company, JobOpening $jobOpening): array { @@ -342,10 +315,6 @@ public static function edit(Company $company, JobOpening $jobOpening): array /** * Get the stats about the job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return array */ public static function stats(Company $company, JobOpening $jobOpening): array { @@ -406,10 +375,6 @@ public static function stats(Company $company, JobOpening $jobOpening): array /** * Get all the sponsors about a specific job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return Collection */ public static function sponsors(Company $company, JobOpening $jobOpening): Collection { @@ -436,10 +401,6 @@ public static function sponsors(Company $company, JobOpening $jobOpening): Colle /** * Get the candidates to sort for the given job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return Collection */ public static function toSort(Company $company, JobOpening $jobOpening): Collection { @@ -478,10 +439,6 @@ public static function toSort(Company $company, JobOpening $jobOpening): Collect /** * Get the candidates who have been rejected for the given job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return Collection */ public static function rejected(Company $company, JobOpening $jobOpening): Collection { @@ -522,10 +479,6 @@ public static function rejected(Company $company, JobOpening $jobOpening): Colle /** * Get the candidates who have been selected for the given job opening. - * - * @param Company $company - * @param JobOpening $jobOpening - * @return Collection */ public static function selected(Company $company, JobOpening $jobOpening): Collection { diff --git a/app/Http/ViewHelpers/Team/TeamIndexViewHelper.php b/app/Http/ViewHelpers/Team/TeamIndexViewHelper.php index 4a6aee1db..bc683bd54 100644 --- a/app/Http/ViewHelpers/Team/TeamIndexViewHelper.php +++ b/app/Http/ViewHelpers/Team/TeamIndexViewHelper.php @@ -11,9 +11,6 @@ class TeamIndexViewHelper { /** * Get all the teams in the company. - * - * @param Company $company - * @return Collection */ public static function index(Company $company): Collection { diff --git a/app/Http/ViewHelpers/Team/TeamMembersViewHelper.php b/app/Http/ViewHelpers/Team/TeamMembersViewHelper.php index b6bc9908b..f3a405aeb 100644 --- a/app/Http/ViewHelpers/Team/TeamMembersViewHelper.php +++ b/app/Http/ViewHelpers/Team/TeamMembersViewHelper.php @@ -3,20 +3,15 @@ namespace App\Http\ViewHelpers\Team; use App\Helpers\ImageHelper; -use App\Models\Company\Team; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Models\Company\Team; use Illuminate\Support\Collection; class TeamMembersViewHelper { /** * Search all potential members for the team. - * - * @param Company $company - * @param Team $team - * @param string|null $criteria - * @return Collection */ public static function searchPotentialTeamMembers(Company $company, Team $team, ?string $criteria): Collection { @@ -46,10 +41,6 @@ public static function searchPotentialTeamMembers(Company $company, Team $team, /** * Array containing all the information about a specific employee. - * - * @param Employee $employee - * - * @return array */ public static function employee(Employee $employee): array { diff --git a/app/Http/ViewHelpers/Team/TeamRecentShipViewHelper.php b/app/Http/ViewHelpers/Team/TeamRecentShipViewHelper.php index 651e65445..409cd4afd 100644 --- a/app/Http/ViewHelpers/Team/TeamRecentShipViewHelper.php +++ b/app/Http/ViewHelpers/Team/TeamRecentShipViewHelper.php @@ -4,20 +4,16 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Ship; -use App\Models\Company\Team; use App\Helpers\StringHelper; use App\Models\Company\Company; +use App\Models\Company\Ship; +use App\Models\Company\Team; use Illuminate\Support\Collection; class TeamRecentShipViewHelper { /** * Collection containing all the recent ships for this team. - * - * @param Team $team - * - * @return Collection */ public static function recentShips(Team $team): Collection { @@ -57,10 +53,6 @@ public static function recentShips(Team $team): Collection /** * Collection containing the detail of a specific recent ship entry. - * - * @param Ship $ship - * - * @return array */ public static function ship(Ship $ship): array { @@ -99,10 +91,6 @@ public static function ship(Ship $ship): array /** * Search all potential team members for this ship. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function search(Company $company, ?string $criteria): Collection { diff --git a/app/Http/ViewHelpers/Team/TeamShowViewHelper.php b/app/Http/ViewHelpers/Team/TeamShowViewHelper.php index 9ed196356..cd9cbe81a 100644 --- a/app/Http/ViewHelpers/Team/TeamShowViewHelper.php +++ b/app/Http/ViewHelpers/Team/TeamShowViewHelper.php @@ -2,25 +2,21 @@ namespace App\Http\ViewHelpers\Team; -use Carbon\Carbon; +use App\Helpers\BirthdayHelper; use App\Helpers\DateHelper; use App\Helpers\ImageHelper; -use App\Models\Company\Team; use App\Helpers\StringHelper; -use App\Helpers\BirthdayHelper; use App\Models\Company\Company; use App\Models\Company\Employee; -use Illuminate\Support\Collection; use App\Models\Company\MoraleTeamHistory; +use App\Models\Company\Team; +use Carbon\Carbon; +use Illuminate\Support\Collection; class TeamShowViewHelper { /** * Array containing all the basic information about the given team. - * - * @param Team $team - * - * @return array */ public static function team(Team $team): array { @@ -42,10 +38,6 @@ public static function team(Team $team): array /** * Collection containing all the employees in this team. - * - * @param Team $team - * - * @return Collection */ public static function employees(Team $team): Collection { @@ -78,10 +70,6 @@ public static function employees(Team $team): Collection /** * Collection containing all the recent ships for this team. - * - * @param Team $team - * - * @return Collection */ public static function recentShips(Team $team): Collection { @@ -124,10 +112,6 @@ public static function recentShips(Team $team): Collection /** * Search all potential leads for the team. - * - * @param Company $company - * @param string|null $criteria - * @return Collection */ public static function searchPotentialLead(Company $company, ?string $criteria): Collection { @@ -152,10 +136,6 @@ public static function searchPotentialLead(Company $company, ?string $criteria): /** * Get all the upcoming birthdays for employees in the given team. - * - * @param Team $team - * @param Company $company - * @return array */ public static function birthdays(Team $team, Company $company): array { @@ -200,10 +180,6 @@ public static function birthdays(Team $team, Company $company): array * - yesterday * - last week * - last month. - * - * @param Team $team - * @param Employee $loggedEmployee - * @return array */ public static function morale(Team $team, Employee $loggedEmployee): array { @@ -280,14 +256,11 @@ private static function emotion(float $percent): string /** * Get all hires who will start next week. - * - * @param Team $team - * @param Company $company - * @return Collection */ public static function newHiresNextWeek(Team $team, Company $company): Collection { $now = Carbon::now(); + return $team->employees() ->notLocked() ->whereNotNull('hired_at') diff --git a/app/Jobs/AskEmployeesToRateTheirManager.php b/app/Jobs/AskEmployeesToRateTheirManager.php index 13376b891..d5c7f405a 100644 --- a/app/Jobs/AskEmployeesToRateTheirManager.php +++ b/app/Jobs/AskEmployeesToRateTheirManager.php @@ -2,15 +2,15 @@ namespace App\Jobs; +use App\Models\Company\Employee; +use App\Models\Company\RateYourManagerAnswer; +use App\Models\Company\RateYourManagerSurvey; use Carbon\Carbon; use Illuminate\Bus\Queueable; -use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Models\Company\RateYourManagerAnswer; -use App\Models\Company\RateYourManagerSurvey; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class AskEmployeesToRateTheirManager implements ShouldQueue { diff --git a/app/Jobs/CalculateTimeOffBalance.php b/app/Jobs/CalculateTimeOffBalance.php index e587a31f2..cbfe1fda4 100644 --- a/app/Jobs/CalculateTimeOffBalance.php +++ b/app/Jobs/CalculateTimeOffBalance.php @@ -2,13 +2,13 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use App\Services\Company\Employee\Holiday\ProcessDailyTimeOffBalance; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\Company\Employee\Holiday\ProcessDailyTimeOffBalance; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class CalculateTimeOffBalance implements ShouldQueue { @@ -16,23 +16,16 @@ class CalculateTimeOffBalance implements ShouldQueue /** * The date this event should be registered. - * - * @var string */ public string $date; /** * The employee to run this calulation against. - * - * @var Employee */ public Employee $employee; /** * Create a new job instance. - * - * @param Employee $employee - * @param string $date */ public function __construct(Employee $employee, string $date) { diff --git a/app/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges.php b/app/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges.php index 628d67f19..ee6a1e9b9 100644 --- a/app/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges.php +++ b/app/Jobs/CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges.php @@ -2,14 +2,14 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; use App\Models\Company\Company; -use App\Models\Company\Expense; use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use App\Models\Company\Expense; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges implements ShouldQueue { @@ -17,15 +17,11 @@ class CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges implement /** * The company instance. - * - * @var Company */ public Company $company; /** * Create a new job instance. - * - * @param Company $company */ public function __construct(Company $company) { diff --git a/app/Jobs/ConvertExpense.php b/app/Jobs/ConvertExpense.php index 7cd7ee31d..a84416b07 100644 --- a/app/Jobs/ConvertExpense.php +++ b/app/Jobs/ConvertExpense.php @@ -2,13 +2,13 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; use App\Models\Company\Expense; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use App\Services\Company\Adminland\Expense\ConvertAmountFromOneCurrencyToCompanyCurrency; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\Company\Adminland\Expense\ConvertAmountFromOneCurrencyToCompanyCurrency; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class ConvertExpense implements ShouldQueue { @@ -16,15 +16,11 @@ class ConvertExpense implements ShouldQueue /** * The place instance. - * - * @var Expense */ public Expense $expense; /** * Create a new job instance. - * - * @param Expense $expense */ public function __construct(Expense $expense) { diff --git a/app/Jobs/ConvertSoftwarePurchase.php b/app/Jobs/ConvertSoftwarePurchase.php index 7bdae3e7a..5356105e0 100644 --- a/app/Jobs/ConvertSoftwarePurchase.php +++ b/app/Jobs/ConvertSoftwarePurchase.php @@ -2,14 +2,14 @@ namespace App\Jobs; +use App\Models\Company\Software; +use App\Services\Company\Adminland\Expense\ConvertAmountFromOneCurrencyToCompanyCurrency; use Carbon\Carbon; use Illuminate\Bus\Queueable; -use App\Models\Company\Software; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\Company\Adminland\Expense\ConvertAmountFromOneCurrencyToCompanyCurrency; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class ConvertSoftwarePurchase implements ShouldQueue { @@ -17,15 +17,11 @@ class ConvertSoftwarePurchase implements ShouldQueue /** * The Software instance. - * - * @var Software */ public Software $software; /** * Create a new job instance. - * - * @param Software $software */ public function __construct(Software $software) { diff --git a/app/Jobs/CreateNewECoffeeSession.php b/app/Jobs/CreateNewECoffeeSession.php index 81850895c..018d6dc1a 100644 --- a/app/Jobs/CreateNewECoffeeSession.php +++ b/app/Jobs/CreateNewECoffeeSession.php @@ -2,13 +2,13 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; use App\Models\Company\Company; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use App\Services\Company\Employee\ECoffee\MatchEmployeesForECoffee; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\Company\Employee\ECoffee\MatchEmployeesForECoffee; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class CreateNewECoffeeSession implements ShouldQueue { @@ -16,15 +16,11 @@ class CreateNewECoffeeSession implements ShouldQueue /** * The company instance. - * - * @var Company */ public Company $company; /** * Create a new job instance. - * - * @param Company $company */ public function __construct(Company $company) { diff --git a/app/Jobs/FetchAddressGeocoding.php b/app/Jobs/FetchAddressGeocoding.php index ef3828c6e..f7b3d9908 100644 --- a/app/Jobs/FetchAddressGeocoding.php +++ b/app/Jobs/FetchAddressGeocoding.php @@ -3,12 +3,12 @@ namespace App\Jobs; use App\Models\Company\Place; +use App\Services\Company\Place\GetGPSCoordinate; use Illuminate\Bus\Queueable; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\Company\Place\GetGPSCoordinate; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class FetchAddressGeocoding implements ShouldQueue { @@ -16,15 +16,11 @@ class FetchAddressGeocoding implements ShouldQueue /** * The place instance. - * - * @var Place */ public Place $place; /** * Create a new job instance. - * - * @param Place $place */ public function __construct(Place $place) { diff --git a/app/Jobs/Invoicing/CreateMonthlyInvoiceForCompanies.php b/app/Jobs/Invoicing/CreateMonthlyInvoiceForCompanies.php index c3ea52ead..7f242adf2 100644 --- a/app/Jobs/Invoicing/CreateMonthlyInvoiceForCompanies.php +++ b/app/Jobs/Invoicing/CreateMonthlyInvoiceForCompanies.php @@ -2,15 +2,15 @@ namespace App\Jobs\Invoicing; -use Carbon\Carbon; -use Illuminate\Bus\Queueable; use App\Models\Company\Company; +use App\Models\Company\CompanyDailyUsageHistory; use App\Models\Company\CompanyInvoice; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use Carbon\Carbon; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Models\Company\CompanyDailyUsageHistory; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class CreateMonthlyInvoiceForCompanies implements ShouldQueue { diff --git a/app/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompanies.php b/app/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompanies.php index 464148e36..179497b19 100644 --- a/app/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompanies.php +++ b/app/Jobs/Invoicing/LogDailyMaxNumberOfActiveEmployeesInCompanies.php @@ -2,15 +2,15 @@ namespace App\Jobs\Invoicing; -use Illuminate\Bus\Queueable; use App\Models\Company\Company; +use App\Models\Company\CompanyDailyUsageHistory; +use App\Models\Company\CompanyUsageHistoryDetails; use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Models\Company\CompanyDailyUsageHistory; -use App\Models\Company\CompanyUsageHistoryDetails; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class LogDailyMaxNumberOfActiveEmployeesInCompanies implements ShouldQueue { @@ -31,25 +31,25 @@ public function handle(): void ->whereColumn('company_id', 'companies.id') ->notLocked(), ]) - ->chunk(100, function ($companies) { - foreach ($companies as $company) { - $usage = CompanyDailyUsageHistory::create([ - 'company_id' => $company->id, - 'number_of_active_employees' => $company->max_employees, - ]); + ->chunk(100, function ($companies) { + foreach ($companies as $company) { + $usage = CompanyDailyUsageHistory::create([ + 'company_id' => $company->id, + 'number_of_active_employees' => $company->max_employees, + ]); - Employee::where('company_id', $company->id) - ->notLocked() - ->chunk(100, function ($employees) use ($usage) { - foreach ($employees as $employee) { - CompanyUsageHistoryDetails::create([ - 'usage_history_id' => $usage->id, - 'employee_name' => $employee->name, - 'employee_email' => $employee->email, - ]); - } - }); - } - }); + Employee::where('company_id', $company->id) + ->notLocked() + ->chunk(100, function ($employees) use ($usage) { + foreach ($employees as $employee) { + CompanyUsageHistoryDetails::create([ + 'usage_history_id' => $usage->id, + 'employee_name' => $employee->name, + 'employee_email' => $employee->email, + ]); + } + }); + } + }); } } diff --git a/app/Jobs/LogAccountAudit.php b/app/Jobs/LogAccountAudit.php index 56d1eef48..6f7bf6862 100644 --- a/app/Jobs/LogAccountAudit.php +++ b/app/Jobs/LogAccountAudit.php @@ -2,12 +2,12 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; -use Illuminate\Queue\SerializesModels; use App\Services\Logs\LogAccountAction; -use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class LogAccountAudit implements ShouldQueue { @@ -15,8 +15,6 @@ class LogAccountAudit implements ShouldQueue /** * The audit log instance. - * - * @var array */ public array $auditLog; diff --git a/app/Jobs/LogCompaniesMorale.php b/app/Jobs/LogCompaniesMorale.php index d75d0a6e4..91f603599 100644 --- a/app/Jobs/LogCompaniesMorale.php +++ b/app/Jobs/LogCompaniesMorale.php @@ -2,14 +2,14 @@ namespace App\Jobs; -use Carbon\Carbon; -use Illuminate\Bus\Queueable; use App\Models\Company\Company; use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use Carbon\Carbon; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class LogCompaniesMorale implements ShouldQueue { @@ -19,8 +19,6 @@ class LogCompaniesMorale implements ShouldQueue /** * Create a new job instance. - * - * @param Carbon $date */ public function __construct(Carbon $date) { @@ -37,9 +35,9 @@ public function handle(): void Company::select('id')->chunk(100, function ($companies) { $companies->each(function (Company $company) { ProcessCompanyMorale::dispatch([ - 'company_id' => $company->id, - 'date' => $this->date, - ])->onQueue('low'); + 'company_id' => $company->id, + 'date' => $this->date, + ])->onQueue('low'); }); }); } diff --git a/app/Jobs/LogEmployeeAudit.php b/app/Jobs/LogEmployeeAudit.php index 40d76a1c1..f652335e9 100644 --- a/app/Jobs/LogEmployeeAudit.php +++ b/app/Jobs/LogEmployeeAudit.php @@ -2,12 +2,12 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; -use Illuminate\Queue\SerializesModels; use App\Services\Logs\LogEmployeeAction; -use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class LogEmployeeAudit implements ShouldQueue { @@ -15,8 +15,6 @@ class LogEmployeeAudit implements ShouldQueue /** * The audit log instance. - * - * @var array */ public array $auditLog; diff --git a/app/Jobs/LogMissedWorklogEntry.php b/app/Jobs/LogMissedWorklogEntry.php index fbec92f76..34eecafdd 100644 --- a/app/Jobs/LogMissedWorklogEntry.php +++ b/app/Jobs/LogMissedWorklogEntry.php @@ -2,13 +2,13 @@ namespace App\Jobs; +use App\Models\Company\Employee; use Carbon\Carbon; use Illuminate\Bus\Queueable; -use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class LogMissedWorklogEntry implements ShouldQueue { @@ -18,8 +18,6 @@ class LogMissedWorklogEntry implements ShouldQueue /** * Create a new job instance. - * - * @param Carbon $date */ public function __construct(Carbon $date) { diff --git a/app/Jobs/LogTeamAudit.php b/app/Jobs/LogTeamAudit.php index 48dacf1a2..9317b7a78 100644 --- a/app/Jobs/LogTeamAudit.php +++ b/app/Jobs/LogTeamAudit.php @@ -2,12 +2,12 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; use App\Services\Logs\LogTeamAction; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class LogTeamAudit implements ShouldQueue { @@ -15,8 +15,6 @@ class LogTeamAudit implements ShouldQueue /** * The audit log instance. - * - * @var array */ public array $auditLog; diff --git a/app/Jobs/LogTeamsMorale.php b/app/Jobs/LogTeamsMorale.php index 6927c4981..a7675751c 100644 --- a/app/Jobs/LogTeamsMorale.php +++ b/app/Jobs/LogTeamsMorale.php @@ -2,13 +2,13 @@ namespace App\Jobs; -use Carbon\Carbon; use App\Models\Company\Team; +use Carbon\Carbon; use Illuminate\Bus\Queueable; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class LogTeamsMorale implements ShouldQueue { @@ -18,8 +18,6 @@ class LogTeamsMorale implements ShouldQueue /** * Create a new job instance. - * - * @param Carbon $date */ public function __construct(Carbon $date) { diff --git a/app/Jobs/NotifyEmployee.php b/app/Jobs/NotifyEmployee.php index 7e1f193d2..211874ee7 100644 --- a/app/Jobs/NotifyEmployee.php +++ b/app/Jobs/NotifyEmployee.php @@ -2,12 +2,12 @@ namespace App\Jobs; +use App\Services\Company\Employee\Notification\AddNotificationInUIForEmployee; use Illuminate\Bus\Queueable; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\Company\Employee\Notification\AddNotificationInUIForEmployee; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class NotifyEmployee implements ShouldQueue { @@ -15,8 +15,6 @@ class NotifyEmployee implements ShouldQueue /** * The notification instance. - * - * @var array */ public array $notification; diff --git a/app/Jobs/ProcessCompanyMorale.php b/app/Jobs/ProcessCompanyMorale.php index 86321394b..6fd1192bc 100644 --- a/app/Jobs/ProcessCompanyMorale.php +++ b/app/Jobs/ProcessCompanyMorale.php @@ -2,14 +2,14 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; -use App\Models\Company\Morale; use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use App\Models\Company\Morale; +use App\Models\Company\MoraleCompanyHistory; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Models\Company\MoraleCompanyHistory; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class ProcessCompanyMorale implements ShouldQueue { @@ -17,15 +17,11 @@ class ProcessCompanyMorale implements ShouldQueue /** * The parameter of the job. - * - * @var array */ public array $parameters; /** * Create a new job instance. - * - * @param array $parameters */ public function __construct(array $parameters) { @@ -38,11 +34,11 @@ public function __construct(array $parameters) public function handle() { $moraleCompanyHistory = MoraleCompanyHistory::whereBetween('created_at', [ - $this->parameters['date']->toDateString().' 00:00:00', - $this->parameters['date']->toDateString().' 23:59:59', - ]) - ->where('company_id', $this->parameters['company_id']) - ->first(); + $this->parameters['date']->toDateString().' 00:00:00', + $this->parameters['date']->toDateString().' 23:59:59', + ]) + ->where('company_id', $this->parameters['company_id']) + ->first(); if (! is_null($moraleCompanyHistory)) { return; @@ -52,9 +48,9 @@ public function handle() $query->whereBetween( 'created_at', [ - $this->parameters['date']->toDateString().' 00:00:00', - $this->parameters['date']->toDateString().' 23:59:59', - ] + $this->parameters['date']->toDateString().' 00:00:00', + $this->parameters['date']->toDateString().' 23:59:59', + ] ); })->select('id') ->where('company_id', $this->parameters['company_id']) diff --git a/app/Jobs/ProcessTeamMorale.php b/app/Jobs/ProcessTeamMorale.php index bd931285f..849f061eb 100644 --- a/app/Jobs/ProcessTeamMorale.php +++ b/app/Jobs/ProcessTeamMorale.php @@ -2,14 +2,14 @@ namespace App\Jobs; -use App\Models\Company\Team; -use Illuminate\Bus\Queueable; use App\Models\Company\Morale; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use App\Models\Company\MoraleTeamHistory; +use App\Models\Company\Team; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class ProcessTeamMorale implements ShouldQueue { @@ -17,15 +17,11 @@ class ProcessTeamMorale implements ShouldQueue /** * The parameter of the job. - * - * @var array */ public array $parameters; /** * Create a new job instance. - * - * @param array $parameters */ public function __construct(array $parameters) { diff --git a/app/Jobs/ProvisionDefaultAccountData.php b/app/Jobs/ProvisionDefaultAccountData.php index b7fccee35..c20087caf 100644 --- a/app/Jobs/ProvisionDefaultAccountData.php +++ b/app/Jobs/ProvisionDefaultAccountData.php @@ -2,13 +2,13 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; use App\Models\Company\Employee; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use App\Services\Company\Adminland\Company\ProvisionDefaultAccountData as CompanyProvisionDefaultAccountData; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\Company\Adminland\Company\ProvisionDefaultAccountData as CompanyProvisionDefaultAccountData; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class ProvisionDefaultAccountData implements ShouldQueue { @@ -16,8 +16,6 @@ class ProvisionDefaultAccountData implements ShouldQueue /** * The Employee instance. - * - * @var Employee */ public Employee $employee; diff --git a/app/Jobs/SendVerifyEmail.php b/app/Jobs/SendVerifyEmail.php index 00c4a621d..e30260a74 100644 --- a/app/Jobs/SendVerifyEmail.php +++ b/app/Jobs/SendVerifyEmail.php @@ -3,12 +3,12 @@ namespace App\Jobs; use App\Models\User\User; +use Illuminate\Auth\Notifications\VerifyEmail; use Illuminate\Bus\Queueable; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use Illuminate\Auth\Notifications\VerifyEmail; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class SendVerifyEmail implements ShouldQueue { diff --git a/app/Jobs/ServiceQueue.php b/app/Jobs/ServiceQueue.php index d88562b4d..b340aa3be 100644 --- a/app/Jobs/ServiceQueue.php +++ b/app/Jobs/ServiceQueue.php @@ -2,14 +2,14 @@ namespace App\Jobs; -use Throwable; use App\Services\BaseService; -use Illuminate\Bus\Queueable; use App\Services\QueuableService; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; +use Throwable; class ServiceQueue implements ShouldQueue { @@ -17,8 +17,6 @@ class ServiceQueue implements ShouldQueue /** * The service to queue. - * - * @var QueuableService */ public QueuableService $service; @@ -31,8 +29,6 @@ class ServiceQueue implements ShouldQueue /** * Create a new job instance. - * - * @param BaseService $service */ public function __construct(BaseService $service) { @@ -52,8 +48,6 @@ public function handle(): void /** * Handle a job failure. - * - * @param \Throwable $exception */ public function failed(Throwable $exception): void { diff --git a/app/Jobs/StartRateYourManagerProcess.php b/app/Jobs/StartRateYourManagerProcess.php index db5c9621d..f768eac61 100644 --- a/app/Jobs/StartRateYourManagerProcess.php +++ b/app/Jobs/StartRateYourManagerProcess.php @@ -2,12 +2,12 @@ namespace App\Jobs; -use Illuminate\Bus\Queueable; use App\Models\Company\DirectReport; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class StartRateYourManagerProcess implements ShouldQueue { @@ -16,9 +16,7 @@ class StartRateYourManagerProcess implements ShouldQueue /** * Create a new job instance. */ - public function __construct() - { - } + public function __construct() {} /** * Start the Rate your Manager monthly process. diff --git a/app/Jobs/StopRateYourManagerProcess.php b/app/Jobs/StopRateYourManagerProcess.php index 6a7818ca0..ac3fc329d 100644 --- a/app/Jobs/StopRateYourManagerProcess.php +++ b/app/Jobs/StopRateYourManagerProcess.php @@ -2,14 +2,14 @@ namespace App\Jobs; +use App\Models\Company\RateYourManagerSurvey; use Carbon\Carbon; use Illuminate\Bus\Queueable; -use Illuminate\Support\Facades\DB; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Models\Company\RateYourManagerSurvey; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; +use Illuminate\Support\Facades\DB; class StopRateYourManagerProcess implements ShouldQueue { diff --git a/app/Jobs/UpdateDashboardPreference.php b/app/Jobs/UpdateDashboardPreference.php index e7470b04a..ecae6c02c 100644 --- a/app/Jobs/UpdateDashboardPreference.php +++ b/app/Jobs/UpdateDashboardPreference.php @@ -2,12 +2,12 @@ namespace App\Jobs; +use App\Services\User\Preferences\UpdateDashboardView; use Illuminate\Bus\Queueable; -use Illuminate\Queue\SerializesModels; -use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; -use App\Services\User\Preferences\UpdateDashboardView; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Queue\SerializesModels; class UpdateDashboardPreference implements ShouldQueue { @@ -15,15 +15,11 @@ class UpdateDashboardPreference implements ShouldQueue /** * The preference instance. - * - * @var array */ public array $preference; /** * Create a new job instance. - * - * @param array $preference */ public function __construct(array $preference) { diff --git a/app/Listeners/DeleteFileInStorage.php b/app/Listeners/DeleteFileInStorage.php index 86b1bcf82..77c916778 100644 --- a/app/Listeners/DeleteFileInStorage.php +++ b/app/Listeners/DeleteFileInStorage.php @@ -2,50 +2,40 @@ namespace App\Listeners; -use Uploadcare\Api; use App\Events\FileDeleted; +use App\Exceptions\EnvVariablesNotSetException; use App\Models\Company\File; -use Uploadcare\Configuration; use Http\Client\Exception\HttpException; +use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; +use Uploadcare\Api; +use Uploadcare\Configuration; use Uploadcare\File\File as UploadcareFile; -use App\Exceptions\EnvVariablesNotSetException; use Uploadcare\Interfaces\File\FileInfoInterface; -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; class DeleteFileInStorage { /** * The file instance. - * - * @var File */ public File $file; /** * The file in Uploadcare instance. - * - * @var FileInfoInterface */ public FileInfoInterface $fileInUploadcare; /** * The API used to query Uploadcare. - * - * @var Api */ public Api $api; /** * Create the event listener. */ - public function __construct() - { - } + public function __construct() {} /** * Handle the event. - * - * @param FileDeleted $event */ public function handle(FileDeleted $event) { diff --git a/app/Mail/Company/InviteEmployeeToBecomeUserMail.php b/app/Mail/Company/InviteEmployeeToBecomeUserMail.php index 56e8a9771..65a0d6e5c 100644 --- a/app/Mail/Company/InviteEmployeeToBecomeUserMail.php +++ b/app/Mail/Company/InviteEmployeeToBecomeUserMail.php @@ -2,9 +2,9 @@ namespace App\Mail\Company; +use App\Models\Company\Employee; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; -use App\Models\Company\Employee; use Illuminate\Queue\SerializesModels; class InviteEmployeeToBecomeUserMail extends Mailable diff --git a/app/Mail/Company/SendAccountCancellationToAdministratorMail.php b/app/Mail/Company/SendAccountCancellationToAdministratorMail.php index 3a42f09e4..c0c6dd2f9 100644 --- a/app/Mail/Company/SendAccountCancellationToAdministratorMail.php +++ b/app/Mail/Company/SendAccountCancellationToAdministratorMail.php @@ -2,9 +2,9 @@ namespace App\Mail\Company; +use App\Models\Company\Company; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; -use App\Models\Company\Company; use Illuminate\Queue\SerializesModels; class SendAccountCancellationToAdministratorMail extends Mailable diff --git a/app/Models/Company/Action.php b/app/Models/Company/Action.php index 2cbf29da7..ef262bc01 100644 --- a/app/Models/Company/Action.php +++ b/app/Models/Company/Action.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Action extends Model { diff --git a/app/Models/Company/AgendaItem.php b/app/Models/Company/AgendaItem.php index c880c00b9..ecfa2c78e 100644 --- a/app/Models/Company/AgendaItem.php +++ b/app/Models/Company/AgendaItem.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasOne; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; +use Illuminate\Database\Eloquent\Relations\HasOne; class AgendaItem extends Model { diff --git a/app/Models/Company/Answer.php b/app/Models/Company/Answer.php index c0b9c8b3a..1a26cb0dc 100644 --- a/app/Models/Company/Answer.php +++ b/app/Models/Company/Answer.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Answer extends Model { diff --git a/app/Models/Company/AskMeAnythingQuestion.php b/app/Models/Company/AskMeAnythingQuestion.php index 802c6eb6e..6f4ca5e04 100644 --- a/app/Models/Company/AskMeAnythingQuestion.php +++ b/app/Models/Company/AskMeAnythingQuestion.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class AskMeAnythingQuestion extends Model { diff --git a/app/Models/Company/AskMeAnythingSession.php b/app/Models/Company/AskMeAnythingSession.php index af3626a11..2b8b01d4b 100644 --- a/app/Models/Company/AskMeAnythingSession.php +++ b/app/Models/Company/AskMeAnythingSession.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class AskMeAnythingSession extends Model { @@ -32,15 +32,7 @@ class AskMeAnythingSession extends Model */ protected $casts = [ 'active' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'happened_at', + 'happened_at' => 'datetime', ]; /** diff --git a/app/Models/Company/AuditLog.php b/app/Models/Company/AuditLog.php index be38e66f8..80e3c9758 100644 --- a/app/Models/Company/AuditLog.php +++ b/app/Models/Company/AuditLog.php @@ -3,9 +3,9 @@ namespace App\Models\Company; use App\Helpers\LogHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class AuditLog extends Model { @@ -33,13 +33,14 @@ class AuditLog extends Model * * @var array */ - protected $dates = [ - 'audited_at', + protected $casts = [ + 'audited_at' => 'datetime', ]; /** * Get the company record associated with the audit log. + * * @return BelongsTo */ public function company() @@ -50,6 +51,7 @@ public function company() /** * Get the Employee record associated with the audit log. + * * @return BelongsTo */ public function author() @@ -60,8 +62,7 @@ public function author() /** * Get the JSON object. * - * @param mixed $value - + * @param mixed $value * @return mixed */ public function getObjectAttribute($value) @@ -72,9 +73,7 @@ public function getObjectAttribute($value) /** * Get the content of the audit log, if defined. * - * @param mixed $value - - * @return string + * @param mixed $value */ public function getContentAttribute($value): string { diff --git a/app/Models/Company/Candidate.php b/app/Models/Company/Candidate.php index 8ddd4ba34..2ac89d203 100644 --- a/app/Models/Company/Candidate.php +++ b/app/Models/Company/Candidate.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; class Candidate extends Model { diff --git a/app/Models/Company/CandidateStage.php b/app/Models/Company/CandidateStage.php index 91dea0f13..a276ab790 100644 --- a/app/Models/Company/CandidateStage.php +++ b/app/Models/Company/CandidateStage.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class CandidateStage extends Model { @@ -15,7 +15,9 @@ class CandidateStage extends Model * Possible status of a candidate stage. */ const STATUS_PENDING = 'pending'; + const STATUS_REJECTED = 'rejected'; + const STATUS_PASSED = 'passed'; /** @@ -46,8 +48,8 @@ class CandidateStage extends Model * * @var array */ - protected $dates = [ - 'decided_at', + protected $casts = [ + 'decided_at' => 'datetime', ]; /** diff --git a/app/Models/Company/CandidateStageNote.php b/app/Models/Company/CandidateStageNote.php index 3b68b944e..923becf48 100644 --- a/app/Models/Company/CandidateStageNote.php +++ b/app/Models/Company/CandidateStageNote.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class CandidateStageNote extends Model { diff --git a/app/Models/Company/CandidateStageParticipant.php b/app/Models/Company/CandidateStageParticipant.php index 8a651130f..aa6fa5208 100644 --- a/app/Models/Company/CandidateStageParticipant.php +++ b/app/Models/Company/CandidateStageParticipant.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class CandidateStageParticipant extends Model { @@ -37,15 +37,7 @@ class CandidateStageParticipant extends Model */ protected $casts = [ 'participated' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'participated_at', + 'participated_at' => 'datetime', ]; /** diff --git a/app/Models/Company/Comment.php b/app/Models/Company/Comment.php index e91c197c9..8644ada48 100644 --- a/app/Models/Company/Comment.php +++ b/app/Models/Company/Comment.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\MorphTo; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\MorphTo; class Comment extends Model { diff --git a/app/Models/Company/Company.php b/app/Models/Company/Company.php index a84976810..1a88f34ee 100644 --- a/app/Models/Company/Company.php +++ b/app/Models/Company/Company.php @@ -3,11 +3,11 @@ namespace App\Models\Company; use Carbon\Carbon; -use Illuminate\Support\Collection; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasOne; use Illuminate\Database\Eloquent\Relations\HasMany; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasOne; +use Illuminate\Support\Collection; class Company extends Model { @@ -42,15 +42,7 @@ class Company extends Model 'has_dummy_data' => 'boolean', 'e_coffee_enabled' => 'boolean', 'work_from_home_enabled' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'founded_at', + 'founded_at' => 'datetime', ]; /** @@ -375,8 +367,6 @@ public function disciplineCases() /** * Return the PTO policy for the current year. - * - * @return object|null */ public function getCurrentPTOPolicy(): ?object { @@ -387,8 +377,6 @@ public function getCurrentPTOPolicy(): ?object /** * Get the list of managers in this company. - * - * @return Collection */ public function getListOfManagers(): Collection { diff --git a/app/Models/Company/CompanyCalendar.php b/app/Models/Company/CompanyCalendar.php index c0078bcc0..921344f44 100644 --- a/app/Models/Company/CompanyCalendar.php +++ b/app/Models/Company/CompanyCalendar.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; /** * Represent a calendar year for the company. This is used to know if any given diff --git a/app/Models/Company/CompanyDailyUsageHistory.php b/app/Models/Company/CompanyDailyUsageHistory.php index b7bbb911f..7f90d8a03 100644 --- a/app/Models/Company/CompanyDailyUsageHistory.php +++ b/app/Models/Company/CompanyDailyUsageHistory.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class CompanyDailyUsageHistory extends Model { diff --git a/app/Models/Company/CompanyInvoice.php b/app/Models/Company/CompanyInvoice.php index ceea2a758..38c03a0aa 100644 --- a/app/Models/Company/CompanyInvoice.php +++ b/app/Models/Company/CompanyInvoice.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class CompanyInvoice extends Model { diff --git a/app/Models/Company/CompanyNews.php b/app/Models/Company/CompanyNews.php index 82b9bb36b..1e8b1d408 100644 --- a/app/Models/Company/CompanyNews.php +++ b/app/Models/Company/CompanyNews.php @@ -4,9 +4,9 @@ use App\Helpers\DateHelper; use App\Helpers\StringHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class CompanyNews extends Model { @@ -50,8 +50,6 @@ public function author() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { diff --git a/app/Models/Company/CompanyPTOPolicy.php b/app/Models/Company/CompanyPTOPolicy.php index 6fedd84e4..fea03c3c1 100644 --- a/app/Models/Company/CompanyPTOPolicy.php +++ b/app/Models/Company/CompanyPTOPolicy.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; /** * Define the Paid Time Off (the holidays an employee can take during a @@ -54,8 +54,6 @@ public function calendars() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { diff --git a/app/Models/Company/CompanyUsageHistoryDetails.php b/app/Models/Company/CompanyUsageHistoryDetails.php index 6eb952b1e..76f6c1fa6 100644 --- a/app/Models/Company/CompanyUsageHistoryDetails.php +++ b/app/Models/Company/CompanyUsageHistoryDetails.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class CompanyUsageHistoryDetails extends Model { diff --git a/app/Models/Company/ConsultantRate.php b/app/Models/Company/ConsultantRate.php index 6cb5bf1ab..c9a070084 100644 --- a/app/Models/Company/ConsultantRate.php +++ b/app/Models/Company/ConsultantRate.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ConsultantRate extends Model { diff --git a/app/Models/Company/Country.php b/app/Models/Company/Country.php index 3c8d7e0e3..5795cd9f1 100644 --- a/app/Models/Company/Country.php +++ b/app/Models/Company/Country.php @@ -2,8 +2,8 @@ namespace App\Models\Company; -use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Model; class Country extends Model { diff --git a/app/Models/Company/DirectReport.php b/app/Models/Company/DirectReport.php index 1a00ae089..e10a6ce8a 100644 --- a/app/Models/Company/DirectReport.php +++ b/app/Models/Company/DirectReport.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasOne; -use Illuminate\Database\Eloquent\Factories\HasFactory; class DirectReport extends Model { diff --git a/app/Models/Company/DisciplineCase.php b/app/Models/Company/DisciplineCase.php index c4ea0cc3f..658b8b0da 100644 --- a/app/Models/Company/DisciplineCase.php +++ b/app/Models/Company/DisciplineCase.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class DisciplineCase extends Model { diff --git a/app/Models/Company/DisciplineEvent.php b/app/Models/Company/DisciplineEvent.php index 15217451d..f0f9470ce 100644 --- a/app/Models/Company/DisciplineEvent.php +++ b/app/Models/Company/DisciplineEvent.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class DisciplineEvent extends Model @@ -31,8 +31,8 @@ class DisciplineEvent extends Model * * @var array */ - protected $dates = [ - 'happened_at', + protected $casts = [ + 'happened_at' => 'datetime', ]; /** diff --git a/app/Models/Company/ECoffee.php b/app/Models/Company/ECoffee.php index 6d5050893..59f1cf414 100644 --- a/app/Models/Company/ECoffee.php +++ b/app/Models/Company/ECoffee.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class ECoffee extends Model { diff --git a/app/Models/Company/ECoffeeMatch.php b/app/Models/Company/ECoffeeMatch.php index 37a560b26..453055b71 100644 --- a/app/Models/Company/ECoffeeMatch.php +++ b/app/Models/Company/ECoffeeMatch.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ECoffeeMatch extends Model { diff --git a/app/Models/Company/Employee.php b/app/Models/Company/Employee.php index 80ef0b0b6..e719f79a4 100644 --- a/app/Models/Company/Employee.php +++ b/app/Models/Company/Employee.php @@ -2,26 +2,26 @@ namespace App\Models\Company; -use Carbon\Carbon; -use App\Models\User\User; +use App\Helpers\BirthdayHelper; use App\Helpers\DateHelper; -use App\Helpers\ImageHelper; -use App\Models\User\Pronoun; -use App\Helpers\StringHelper; use App\Helpers\HolidayHelper; -use App\Helpers\BirthdayHelper; +use App\Helpers\ImageHelper; use App\Helpers\InstanceHelper; -use Illuminate\Support\Collection; -use Illuminate\Support\Facades\DB; -use Illuminate\Database\Eloquent\Model; +use App\Helpers\StringHelper; +use App\Models\User\Pronoun; +use App\Models\User\User; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Builder; -use Illuminate\Database\Eloquent\Relations\HasOne; -use Illuminate\Database\Eloquent\Relations\HasMany; -use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Relations\MorphMany; use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; +use Illuminate\Database\Eloquent\Relations\HasOne; +use Illuminate\Database\Eloquent\Relations\MorphMany; +use Illuminate\Support\Collection; +use Illuminate\Support\Facades\DB; class Employee extends Model { @@ -73,18 +73,10 @@ class Employee extends Model 'locked' => 'boolean', 'can_manage_expenses' => 'boolean', 'display_welcome_message' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'invitation_used_at', - 'hired_at', - 'contract_renewed_at', - 'birthdate', + 'invitation_used_at' => 'datetime', + 'hired_at' => 'datetime', + 'contract_renewed_at' => 'datetime', + 'birthdate' => 'datetime', ]; /** @@ -621,9 +613,6 @@ public function disciplineCases() /** * Scope a query to only include unlocked users. - * - * @param Builder $query - * @return Builder */ public function scopeNotLocked(Builder $query): Builder { @@ -632,8 +621,6 @@ public function scopeNotLocked(Builder $query): Builder /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { @@ -684,8 +671,6 @@ public function toObject(): array /** * Get the permission level of the employee. - * - * @return string */ public function getPermissionLevel(): string { @@ -696,8 +681,7 @@ public function getPermissionLevel(): string * Returns the email attribute of the employee. * * - * @param mixed $value - * + * @param mixed $value * @return string */ public function getEmailAttribute($value) @@ -709,9 +693,7 @@ public function getEmailAttribute($value) * Returns the name attribute of the employee. * * - * @param mixed $value - * - * @return string|null + * @param mixed $value */ public function getNameAttribute($value): ?string { @@ -730,8 +712,6 @@ public function getNameAttribute($value): ?string /** * Get the list of managers of this employee. - * - * @return Collection */ public function getListOfManagers(): Collection { @@ -744,7 +724,6 @@ public function getListOfManagers(): Collection * Get the list of direct reports of this employee. * * @psalm-suppress InvalidTemplateParam - * @return Collection */ public function getListOfDirectReports(): Collection { @@ -755,8 +734,6 @@ public function getListOfDirectReports(): Collection /** * Get the fully qualified path to confirm account invitation. - * - * @return string */ public function getPathInvitationLink(): string { @@ -765,8 +742,6 @@ public function getPathInvitationLink(): string /** * Check if the employee has already logged something today. - * - * @return bool */ public function hasAlreadyLoggedWorklogToday(): bool { @@ -779,8 +754,6 @@ public function hasAlreadyLoggedWorklogToday(): bool /** * Check if the employee has already logged his morale today. - * - * @return bool */ public function hasAlreadyLoggedMoraleToday(): bool { @@ -793,8 +766,6 @@ public function hasAlreadyLoggedMoraleToday(): bool /** * Get the current address of the employee. - * - * @return Place|null */ public function getCurrentAddress(): ?Place { @@ -809,8 +780,6 @@ public function getCurrentAddress(): ?Place /** * Get the statistics of the holidays for the current year. - * - * @return array */ public function getHolidaysInformation(): array { @@ -836,9 +805,6 @@ public function getHolidaysInformation(): array /** * Check wether the employee is part of the given team. - * - * @param int $teamId - * @return bool */ public function isInTeam(int $teamId): bool { @@ -853,9 +819,6 @@ public function isInTeam(int $teamId): bool /** * Check wether the current employee is the manager of the given employee. - * - * @param int $employeeId - * @return bool */ public function isManagerOf(int $employeeId): bool { @@ -869,9 +832,6 @@ public function isManagerOf(int $employeeId): bool /** * Check wether the employee is part of the given project. - * - * @param int $projectId - * @return bool */ public function isInProject(int $projectId): bool { diff --git a/app/Models/Company/EmployeeDailyCalendarEntry.php b/app/Models/Company/EmployeeDailyCalendarEntry.php index 9cae222fe..8b00a507b 100644 --- a/app/Models/Company/EmployeeDailyCalendarEntry.php +++ b/app/Models/Company/EmployeeDailyCalendarEntry.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; /** * Keeps track of what happened during a day. @@ -41,8 +41,8 @@ class EmployeeDailyCalendarEntry extends Model * * @var array */ - protected $dates = [ - 'log_date', + protected $casts = [ + 'log_date' => 'datetime', ]; /** diff --git a/app/Models/Company/EmployeeLog.php b/app/Models/Company/EmployeeLog.php index 63ceb0d2d..8c3d58387 100644 --- a/app/Models/Company/EmployeeLog.php +++ b/app/Models/Company/EmployeeLog.php @@ -2,11 +2,11 @@ namespace App\Models\Company; -use App\Helpers\LogHelper; use App\Helpers\DateHelper; +use App\Helpers\LogHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; /** * Audit log at the employee level. @@ -37,8 +37,8 @@ class EmployeeLog extends Model * * @var array */ - protected $dates = [ - 'audited_at', + protected $casts = [ + 'audited_at' => 'datetime', ]; /** @@ -64,8 +64,7 @@ public function author() /** * Get the JSON object. * - * @param mixed $value - * + * @param mixed $value * @return array */ public function getObjectAttribute($value) @@ -76,9 +75,7 @@ public function getObjectAttribute($value) /** * Get the date of the employee log. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getDateAttribute($value): string { @@ -88,9 +85,7 @@ public function getDateAttribute($value): string /** * Get the content of the employee log, if defined. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getContentAttribute($value): string { diff --git a/app/Models/Company/EmployeePlannedHoliday.php b/app/Models/Company/EmployeePlannedHoliday.php index 2c1d88a12..a539fccf2 100644 --- a/app/Models/Company/EmployeePlannedHoliday.php +++ b/app/Models/Company/EmployeePlannedHoliday.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class EmployeePlannedHoliday extends Model { @@ -30,18 +30,10 @@ class EmployeePlannedHoliday extends Model * * @var array */ - protected $dates = [ - 'planned_date', - ]; - - /** - * The attributes that should be cast to native types. - * - * @var array - */ protected $casts = [ 'full' => 'boolean', 'actually_taken' => 'boolean', + 'planned_date' => 'datetime', ]; /** diff --git a/app/Models/Company/EmployeePositionHistory.php b/app/Models/Company/EmployeePositionHistory.php index baadcb3b6..d72a0990c 100644 --- a/app/Models/Company/EmployeePositionHistory.php +++ b/app/Models/Company/EmployeePositionHistory.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class EmployeePositionHistory extends Model { @@ -29,9 +29,9 @@ class EmployeePositionHistory extends Model * * @var array */ - protected $dates = [ - 'started_at', - 'ended_at', + protected $casts = [ + 'started_at' => 'datetime', + 'ended_at' => 'datetime', ]; /** diff --git a/app/Models/Company/EmployeeStatus.php b/app/Models/Company/EmployeeStatus.php index 9c79d7d6b..c1f638176 100644 --- a/app/Models/Company/EmployeeStatus.php +++ b/app/Models/Company/EmployeeStatus.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class EmployeeStatus extends Model { @@ -13,6 +13,7 @@ class EmployeeStatus extends Model protected $table = 'employee_statuses'; const INTERNAL = 'internal'; + const EXTERNAL = 'external'; /** @@ -38,8 +39,6 @@ public function company() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { diff --git a/app/Models/Company/Expense.php b/app/Models/Company/Expense.php index 9790d98e5..f81c02a61 100644 --- a/app/Models/Company/Expense.php +++ b/app/Models/Company/Expense.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Expense extends Model { @@ -14,10 +14,15 @@ class Expense extends Model * Possible status of an expense. */ const CREATED = 'created'; + const AWAITING_MANAGER_APPROVAL = 'manager_approval'; + const AWAITING_ACCOUTING_APPROVAL = 'accounting_approval'; + const REJECTED_BY_MANAGER = 'rejected_by_manager'; + const REJECTED_BY_ACCOUNTING = 'rejected_by_accounting'; + const ACCEPTED = 'accepted'; /** @@ -57,18 +62,10 @@ class Expense extends Model */ protected $casts = [ 'employee_id' => 'integer', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'expensed_at', - 'manager_approver_approved_at', - 'accounting_approver_approved_at', - 'converted_at', + 'expensed_at' => 'datetime', + 'manager_approver_approved_at' => 'datetime', + 'accounting_approver_approved_at' => 'datetime', + 'converted_at' => 'datetime', ]; /** diff --git a/app/Models/Company/ExpenseCategory.php b/app/Models/Company/ExpenseCategory.php index 425485db6..475b73e18 100644 --- a/app/Models/Company/ExpenseCategory.php +++ b/app/Models/Company/ExpenseCategory.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class ExpenseCategory extends Model { diff --git a/app/Models/Company/File.php b/app/Models/Company/File.php index ecd6dcdb4..75b59ef11 100644 --- a/app/Models/Company/File.php +++ b/app/Models/Company/File.php @@ -3,9 +3,9 @@ namespace App\Models\Company; use App\Events\FileDeleted; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class File extends Model { diff --git a/app/Models/Company/Flow.php b/app/Models/Company/Flow.php index f6097d9db..47faba794 100644 --- a/app/Models/Company/Flow.php +++ b/app/Models/Company/Flow.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class Flow extends Model { diff --git a/app/Models/Company/Group.php b/app/Models/Company/Group.php index 922d66a3a..2d93545c0 100644 --- a/app/Models/Company/Group.php +++ b/app/Models/Company/Group.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; class Group extends Model { diff --git a/app/Models/Company/GuessEmployeeGame.php b/app/Models/Company/GuessEmployeeGame.php index 313740954..5d885b2e2 100644 --- a/app/Models/Company/GuessEmployeeGame.php +++ b/app/Models/Company/GuessEmployeeGame.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class GuessEmployeeGame extends Model { diff --git a/app/Models/Company/Hardware.php b/app/Models/Company/Hardware.php index 370ee98b4..c78419b49 100644 --- a/app/Models/Company/Hardware.php +++ b/app/Models/Company/Hardware.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Hardware extends Model { diff --git a/app/Models/Company/ImportJob.php b/app/Models/Company/ImportJob.php index ffb387e6a..e8d9eb1eb 100644 --- a/app/Models/Company/ImportJob.php +++ b/app/Models/Company/ImportJob.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class ImportJob extends Model { @@ -17,16 +17,22 @@ class ImportJob extends Model * Possible status of an import job. */ const CREATED = 'created'; + const STARTED = 'started'; + const UPLOADED = 'uploaded'; + const IMPORTING = 'importing'; + const IMPORTED = 'imported'; + const FAILED = 'failed'; /** * Possible skip reasons. */ const INVALID_EMAIL = 'invalid_email'; + const EMAIL_ALREADY_TAKEN = 'email_already_taken'; /** @@ -48,9 +54,9 @@ class ImportJob extends Model * * @var array */ - protected $dates = [ - 'import_started_at', - 'import_ended_at', + protected $casts = [ + 'import_started_at' => 'datetime', + 'import_ended_at' => 'datetime', ]; /** diff --git a/app/Models/Company/ImportJobReport.php b/app/Models/Company/ImportJobReport.php index 9ee8b1f5e..96e7e3399 100644 --- a/app/Models/Company/ImportJobReport.php +++ b/app/Models/Company/ImportJobReport.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ImportJobReport extends Model { diff --git a/app/Models/Company/IssueType.php b/app/Models/Company/IssueType.php index 60d4af222..57241635a 100644 --- a/app/Models/Company/IssueType.php +++ b/app/Models/Company/IssueType.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class IssueType extends Model { diff --git a/app/Models/Company/JobOpening.php b/app/Models/Company/JobOpening.php index 56da1e46b..a35d05edd 100644 --- a/app/Models/Company/JobOpening.php +++ b/app/Models/Company/JobOpening.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; class JobOpening extends Model { @@ -42,16 +42,6 @@ class JobOpening extends Model 'fulfilled_at', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'activated_at', - 'fulfilled_at', - ]; - /** * The attributes that should be cast to native types. * @@ -60,6 +50,8 @@ class JobOpening extends Model protected $casts = [ 'active' => 'boolean', 'fulfilled' => 'boolean', + 'activated_at' => 'datetime', + 'fulfilled_at' => 'datetime', ]; /** diff --git a/app/Models/Company/Meeting.php b/app/Models/Company/Meeting.php index 8e7b9efc2..4c1168914 100644 --- a/app/Models/Company/Meeting.php +++ b/app/Models/Company/Meeting.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; class Meeting extends Model { @@ -23,15 +23,6 @@ class Meeting extends Model 'happened_at', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'happened_at', - ]; - /** * The attributes that should be cast to native types. * @@ -39,6 +30,7 @@ class Meeting extends Model */ protected $casts = [ 'happened' => 'boolean', + 'happened_at' => 'datetime', ]; /** diff --git a/app/Models/Company/MeetingDecision.php b/app/Models/Company/MeetingDecision.php index bdcaf70c0..25b787f49 100644 --- a/app/Models/Company/MeetingDecision.php +++ b/app/Models/Company/MeetingDecision.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class MeetingDecision extends Model { diff --git a/app/Models/Company/Morale.php b/app/Models/Company/Morale.php index 2712ebe7d..d100f3dab 100644 --- a/app/Models/Company/Morale.php +++ b/app/Models/Company/Morale.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Morale extends Model { @@ -29,8 +29,8 @@ class Morale extends Model * * @var array */ - protected $dates = [ - 'created_at', + protected $casts = [ + 'created_at' => 'datetime', ]; /** @@ -46,9 +46,7 @@ public function employee() /** * Returns the emotion in a readable format. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getTranslatedEmotionAttribute($value): string { @@ -58,8 +56,7 @@ public function getTranslatedEmotionAttribute($value): string /** * Returns the emotion in a readable format. * - * @param mixed $value - * + * @param mixed $value * @return string */ public function getEmojiAttribute($value) diff --git a/app/Models/Company/MoraleCompanyHistory.php b/app/Models/Company/MoraleCompanyHistory.php index 95b8799e6..2e84034eb 100644 --- a/app/Models/Company/MoraleCompanyHistory.php +++ b/app/Models/Company/MoraleCompanyHistory.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class MoraleCompanyHistory extends Model { diff --git a/app/Models/Company/MoraleTeamHistory.php b/app/Models/Company/MoraleTeamHistory.php index f234cae27..f24d8c1f9 100644 --- a/app/Models/Company/MoraleTeamHistory.php +++ b/app/Models/Company/MoraleTeamHistory.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class MoraleTeamHistory extends Model { diff --git a/app/Models/Company/Notification.php b/app/Models/Company/Notification.php index beb273060..ab11e4e4f 100644 --- a/app/Models/Company/Notification.php +++ b/app/Models/Company/Notification.php @@ -3,9 +3,9 @@ namespace App\Models\Company; use App\Helpers\NotificationHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Notification extends Model { @@ -45,8 +45,7 @@ public function employee() /** * Get the JSON object. * - * @param mixed $value - * + * @param mixed $value * @return array */ public function getObjectAttribute($value) @@ -57,9 +56,7 @@ public function getObjectAttribute($value) /** * Get the content of the notification, if defined. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getContentAttribute($value): string { diff --git a/app/Models/Company/OneOnOneActionItem.php b/app/Models/Company/OneOnOneActionItem.php index 187790317..668cd220f 100644 --- a/app/Models/Company/OneOnOneActionItem.php +++ b/app/Models/Company/OneOnOneActionItem.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class OneOnOneActionItem extends Model { diff --git a/app/Models/Company/OneOnOneEntry.php b/app/Models/Company/OneOnOneEntry.php index 7eacecf40..f5494fb1a 100644 --- a/app/Models/Company/OneOnOneEntry.php +++ b/app/Models/Company/OneOnOneEntry.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class OneOnOneEntry extends Model { @@ -29,15 +29,6 @@ class OneOnOneEntry extends Model 'happened_at', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'happened_at', - ]; - /** * The attributes that should be mutated to dates. * @@ -45,6 +36,7 @@ class OneOnOneEntry extends Model */ protected $casts = [ 'happened' => 'boolean', + 'happened_at' => 'datetime', ]; /** diff --git a/app/Models/Company/OneOnOneNote.php b/app/Models/Company/OneOnOneNote.php index 189183acf..4af13326d 100644 --- a/app/Models/Company/OneOnOneNote.php +++ b/app/Models/Company/OneOnOneNote.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class OneOnOneNote extends Model { diff --git a/app/Models/Company/OneOnOneTalkingPoint.php b/app/Models/Company/OneOnOneTalkingPoint.php index d3010ada5..f9c3383dd 100644 --- a/app/Models/Company/OneOnOneTalkingPoint.php +++ b/app/Models/Company/OneOnOneTalkingPoint.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class OneOnOneTalkingPoint extends Model { diff --git a/app/Models/Company/Page.php b/app/Models/Company/Page.php index 74266f785..198cac7ce 100644 --- a/app/Models/Company/Page.php +++ b/app/Models/Company/Page.php @@ -4,10 +4,10 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class Page extends Model { @@ -59,11 +59,8 @@ public function pageviews() * Get the author (employee) who initially wrote the page. * If the author doesn't exist in the system anymore, we simply use the * name that was saved in the table instead. - * - * @param int $imageSize - * @return array|null */ - public function getOriginalAuthor(int $imageSize = null): ?array + public function getOriginalAuthor(?int $imageSize = null): ?array { $firstRevision = $this->revisions()->with('employee')->first(); if (! $firstRevision) { @@ -94,11 +91,8 @@ public function getOriginalAuthor(int $imageSize = null): ?array /** * Get the most recent editor (employee) of the page. - * - * @param int $imageSize - * @return array|null */ - public function getMostRecentAuthor(int $imageSize = null): ?array + public function getMostRecentAuthor(?int $imageSize = null): ?array { $lastRevision = $this->revisions()->with('employee')->orderByDesc('id')->first(); if (! $lastRevision) { diff --git a/app/Models/Company/PageRevision.php b/app/Models/Company/PageRevision.php index d603b9ffa..e62abb5de 100644 --- a/app/Models/Company/PageRevision.php +++ b/app/Models/Company/PageRevision.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class PageRevision extends Model { diff --git a/app/Models/Company/Pageview.php b/app/Models/Company/Pageview.php index 3f4c9c0d6..da6d3a485 100644 --- a/app/Models/Company/Pageview.php +++ b/app/Models/Company/Pageview.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Pageview extends Model { diff --git a/app/Models/Company/Place.php b/app/Models/Company/Place.php index 66980290d..c9a12d5d9 100644 --- a/app/Models/Company/Place.php +++ b/app/Models/Company/Place.php @@ -3,10 +3,10 @@ namespace App\Models\Company; use App\Helpers\MapHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\MorphTo; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\MorphTo; class Place extends Model { @@ -61,8 +61,6 @@ public function country() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { @@ -83,8 +81,6 @@ public function toObject(): array /** * Get the address as a sentence. - * - * @return string */ public function getCompleteAddress(): string { @@ -118,8 +114,6 @@ public function getCompleteAddress(): string /** * Get the country of the place. - * - * @return string|null */ public function getCountryName(): ?string { @@ -132,8 +126,6 @@ public function getCountryName(): ?string /** * Get the partial address, used to show basic information to other employees. - * - * @return string|null */ public function getPartialAddress(): ?string { @@ -155,12 +147,6 @@ public function getPartialAddress(): ?string /** * Get the static image map for this place. - * - * @param int $zoom - * @param int $width - * @param int $height - * - * @return string|null */ public function getStaticMapImage(int $zoom, int $width, int $height): ?string { @@ -169,9 +155,6 @@ public function getStaticMapImage(int $zoom, int $width, int $height): ?string /** * Get the URL on OpenStreetMap for the partial URL. - * - * @param bool $completeAddress - * @return string */ public function getMapUrl(bool $completeAddress = true): string { diff --git a/app/Models/Company/Position.php b/app/Models/Company/Position.php index f9a817f1c..2eeb0f4bc 100644 --- a/app/Models/Company/Position.php +++ b/app/Models/Company/Position.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class Position extends Model { diff --git a/app/Models/Company/Project.php b/app/Models/Company/Project.php index 9ab5d3811..5e55e744e 100644 --- a/app/Models/Company/Project.php +++ b/app/Models/Company/Project.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; class Project extends Model { @@ -16,9 +16,13 @@ class Project extends Model * Possible statuses. */ const CREATED = 'created'; + const STARTED = 'started'; + const PAUSED = 'paused'; + const CANCELLED = 'cancelled'; + const CLOSED = 'closed'; /** @@ -49,17 +53,9 @@ class Project extends Model */ protected $casts = [ 'completed' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'started_at', - 'planned_finished_at', - 'actually_finished_at', + 'started_at' => 'datetime', + 'planned_finished_at' => 'datetime', + 'actually_finished_at' => 'datetime', ]; /** diff --git a/app/Models/Company/ProjectBoard.php b/app/Models/Company/ProjectBoard.php index 8390bf864..dbaf7466e 100644 --- a/app/Models/Company/ProjectBoard.php +++ b/app/Models/Company/ProjectBoard.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ProjectBoard extends Model { diff --git a/app/Models/Company/ProjectDecision.php b/app/Models/Company/ProjectDecision.php index 30521d4f5..e13923e42 100644 --- a/app/Models/Company/ProjectDecision.php +++ b/app/Models/Company/ProjectDecision.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class ProjectDecision extends Model @@ -35,8 +35,8 @@ class ProjectDecision extends Model * * @var array */ - protected $dates = [ - 'decided_at', + protected $casts = [ + 'decided_at' => 'datetime', ]; /** diff --git a/app/Models/Company/ProjectIssue.php b/app/Models/Company/ProjectIssue.php index 6704945af..dcd2852a1 100644 --- a/app/Models/Company/ProjectIssue.php +++ b/app/Models/Company/ProjectIssue.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Relations\MorphMany; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\MorphMany; class ProjectIssue extends Model { diff --git a/app/Models/Company/ProjectLabel.php b/app/Models/Company/ProjectLabel.php index 6f06391c0..f4a445507 100644 --- a/app/Models/Company/ProjectLabel.php +++ b/app/Models/Company/ProjectLabel.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class ProjectLabel extends Model diff --git a/app/Models/Company/ProjectLink.php b/app/Models/Company/ProjectLink.php index 256aab88b..df24be10b 100644 --- a/app/Models/Company/ProjectLink.php +++ b/app/Models/Company/ProjectLink.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ProjectLink extends Model { @@ -39,9 +39,7 @@ public function project() * The label attribute can be null, so if that's the case, we'll return the * URL instead. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getLabelAttribute($value): string { diff --git a/app/Models/Company/ProjectMemberActivity.php b/app/Models/Company/ProjectMemberActivity.php index cc9c184d4..332cdf89c 100644 --- a/app/Models/Company/ProjectMemberActivity.php +++ b/app/Models/Company/ProjectMemberActivity.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ProjectMemberActivity extends Model { diff --git a/app/Models/Company/ProjectMessage.php b/app/Models/Company/ProjectMessage.php index 435943fbd..0a44c810c 100644 --- a/app/Models/Company/ProjectMessage.php +++ b/app/Models/Company/ProjectMessage.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\MorphMany; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ProjectMessage extends Model { diff --git a/app/Models/Company/ProjectSprint.php b/app/Models/Company/ProjectSprint.php index aeaf4bd7d..d9b83c44a 100644 --- a/app/Models/Company/ProjectSprint.php +++ b/app/Models/Company/ProjectSprint.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class ProjectSprint extends Model @@ -37,16 +37,8 @@ class ProjectSprint extends Model protected $casts = [ 'active' => 'boolean', 'is_board_backlog' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'started_at', - 'completed_at', + 'started_at' => 'datetime', + 'completed_at' => 'datetime', ]; /** diff --git a/app/Models/Company/ProjectStatus.php b/app/Models/Company/ProjectStatus.php index b78e84a31..1f31e9021 100644 --- a/app/Models/Company/ProjectStatus.php +++ b/app/Models/Company/ProjectStatus.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class ProjectStatus extends Model { @@ -16,7 +16,9 @@ class ProjectStatus extends Model * Possible statuses. */ const ON_TRACK = 'on_track'; + const LATE = 'late'; + const AT_RISK = 'at_risk'; /** diff --git a/app/Models/Company/ProjectTask.php b/app/Models/Company/ProjectTask.php index 8a74e2e1d..8144b6438 100644 --- a/app/Models/Company/ProjectTask.php +++ b/app/Models/Company/ProjectTask.php @@ -2,11 +2,11 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\MorphMany; -use Illuminate\Database\Eloquent\Factories\HasFactory; /** * A ProjectTask is different from a regular task. It’s very specific to a project. @@ -38,15 +38,7 @@ class ProjectTask extends Model */ protected $casts = [ 'completed' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'completed_at', + 'completed_at' => 'datetime', ]; /** diff --git a/app/Models/Company/ProjectTaskList.php b/app/Models/Company/ProjectTaskList.php index 861d17f7e..3bcbf1e67 100644 --- a/app/Models/Company/ProjectTaskList.php +++ b/app/Models/Company/ProjectTaskList.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; /** * A ProjectTask is different from a regular task. It’s very specific to a project. diff --git a/app/Models/Company/Question.php b/app/Models/Company/Question.php index bfe8d0d8b..6cab982f9 100644 --- a/app/Models/Company/Question.php +++ b/app/Models/Company/Question.php @@ -2,11 +2,11 @@ namespace App\Models\Company; -use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; -use Illuminate\Database\Eloquent\Relations\HasMany; -use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\Relations\HasMany; class Question extends Model { @@ -25,16 +25,6 @@ class Question extends Model 'active', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'activated_at', - 'deactivated_at', - ]; - /** * The attributes that should be cast to native types. * @@ -42,6 +32,8 @@ class Question extends Model */ protected $casts = [ 'active' => 'boolean', + 'activated_at' => 'datetime', + 'deactivated_at' => 'datetime', ]; /** @@ -67,7 +59,6 @@ public function answers() /** * Limit results to active questions. * - * @param Builder $query * * @return Builder */ @@ -78,8 +69,6 @@ public function scopeActive(Builder $query) /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { diff --git a/app/Models/Company/RateYourManagerAnswer.php b/app/Models/Company/RateYourManagerAnswer.php index f1b710318..68b54f5d5 100644 --- a/app/Models/Company/RateYourManagerAnswer.php +++ b/app/Models/Company/RateYourManagerAnswer.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class RateYourManagerAnswer extends Model { @@ -16,7 +16,9 @@ class RateYourManagerAnswer extends Model * Possible statuses of an answer. */ const BAD = 'bad'; + const AVERAGE = 'average'; + const GOOD = 'good'; /** diff --git a/app/Models/Company/RateYourManagerSurvey.php b/app/Models/Company/RateYourManagerSurvey.php index 0503f01ea..eadc4d512 100644 --- a/app/Models/Company/RateYourManagerSurvey.php +++ b/app/Models/Company/RateYourManagerSurvey.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class RateYourManagerSurvey extends Model { @@ -25,15 +25,6 @@ class RateYourManagerSurvey extends Model 'created_at', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'valid_until_at', - ]; - /** * The attributes that should be cast to native types. * @@ -41,6 +32,7 @@ class RateYourManagerSurvey extends Model */ protected $casts = [ 'active' => 'boolean', + 'valid_until_at' => 'datetime', ]; /** diff --git a/app/Models/Company/RecruitingStage.php b/app/Models/Company/RecruitingStage.php index c404d28f1..8f3254b9c 100644 --- a/app/Models/Company/RecruitingStage.php +++ b/app/Models/Company/RecruitingStage.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class RecruitingStage extends Model { diff --git a/app/Models/Company/RecruitingStageTemplate.php b/app/Models/Company/RecruitingStageTemplate.php index 72d2228d0..84e4068d3 100644 --- a/app/Models/Company/RecruitingStageTemplate.php +++ b/app/Models/Company/RecruitingStageTemplate.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class RecruitingStageTemplate extends Model { diff --git a/app/Models/Company/Ship.php b/app/Models/Company/Ship.php index 85db9998f..6496a3b45 100644 --- a/app/Models/Company/Ship.php +++ b/app/Models/Company/Ship.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class Ship extends Model diff --git a/app/Models/Company/Skill.php b/app/Models/Company/Skill.php index bdaf43c36..dac4bcdcf 100644 --- a/app/Models/Company/Skill.php +++ b/app/Models/Company/Skill.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class Skill extends Model diff --git a/app/Models/Company/Software.php b/app/Models/Company/Software.php index e56e78df1..dee5052e6 100644 --- a/app/Models/Company/Software.php +++ b/app/Models/Company/Software.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; class Software extends Model @@ -41,16 +41,6 @@ class Software extends Model 'purchased_at', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'purchased_at', - 'converted_at', - ]; - /** * The attributes that should be cast to native types. * @@ -58,6 +48,8 @@ class Software extends Model */ protected $casts = [ 'seats' => 'integer', + 'purchased_at' => 'datetime', + 'converted_at' => 'datetime', ]; /** diff --git a/app/Models/Company/Step.php b/app/Models/Company/Step.php index f5843dba0..4ef918c0c 100644 --- a/app/Models/Company/Step.php +++ b/app/Models/Company/Step.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; /** * A step has three components, like "3 days before". diff --git a/app/Models/Company/Task.php b/app/Models/Company/Task.php index f3bf8900b..3cb83ce9d 100644 --- a/app/Models/Company/Task.php +++ b/app/Models/Company/Task.php @@ -2,10 +2,10 @@ namespace App\Models\Company; -use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; -use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\BelongsTo; /** * A task can be either associated with a team, with an employee or both. @@ -34,16 +34,8 @@ class Task extends Model */ protected $casts = [ 'completed' => 'boolean', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'completed_at', - 'due_at', + 'completed_at' => 'datetime', + 'due_at' => 'datetime', ]; /** @@ -60,7 +52,6 @@ public function employee() * Scope a query to only include popular users. * * @param Builder $query - * @return Builder */ public function scopeInProgress($query): Builder { diff --git a/app/Models/Company/Team.php b/app/Models/Company/Team.php index d1502b60d..c089633d3 100644 --- a/app/Models/Company/Team.php +++ b/app/Models/Company/Team.php @@ -2,16 +2,16 @@ namespace App\Models\Company; -use Carbon\Carbon; use App\Helpers\ImageHelper; use App\Helpers\PermissionHelper; -use Illuminate\Support\Collection; -use Illuminate\Support\Facades\DB; +use Carbon\Carbon; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\BelongsToMany; +use Illuminate\Database\Eloquent\Relations\HasMany; +use Illuminate\Support\Collection; +use Illuminate\Support\Facades\DB; class Team extends Model { @@ -122,10 +122,6 @@ public function jobOpenings() /** * Returns an array of work logs of all the active team members in the * given team on a given date. - * - * @param Carbon $date - * @param Employee $loggedEmployee - * @return Collection */ public function worklogsForDate(Carbon $date, Employee $loggedEmployee): Collection { diff --git a/app/Models/Company/TeamLog.php b/app/Models/Company/TeamLog.php index 863cffdb5..c5f7d4e5d 100644 --- a/app/Models/Company/TeamLog.php +++ b/app/Models/Company/TeamLog.php @@ -2,11 +2,11 @@ namespace App\Models\Company; -use App\Helpers\LogHelper; use App\Helpers\DateHelper; +use App\Helpers\LogHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class TeamLog extends Model { @@ -34,8 +34,8 @@ class TeamLog extends Model * * @var array */ - protected $dates = [ - 'audited_at', + protected $casts = [ + 'audited_at' => 'datetime', ]; /** @@ -61,8 +61,7 @@ public function author() /** * Get the JSON object. * - * @param mixed $value - * + * @param mixed $value * @return array */ public function getObjectAttribute($value) @@ -73,9 +72,7 @@ public function getObjectAttribute($value) /** * Get the date of the team log. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getDateAttribute($value): string { @@ -85,9 +82,7 @@ public function getDateAttribute($value): string /** * Get the content of the team log, if defined. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getContentAttribute($value): string { diff --git a/app/Models/Company/TeamNews.php b/app/Models/Company/TeamNews.php index 2b7508420..9b4a87d95 100644 --- a/app/Models/Company/TeamNews.php +++ b/app/Models/Company/TeamNews.php @@ -5,9 +5,9 @@ use App\Helpers\DateHelper; use App\Helpers\ImageHelper; use App\Helpers\StringHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class TeamNews extends Model { @@ -51,8 +51,6 @@ public function author() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { diff --git a/app/Models/Company/TeamUsefulLink.php b/app/Models/Company/TeamUsefulLink.php index d55872cc8..50255adf2 100644 --- a/app/Models/Company/TeamUsefulLink.php +++ b/app/Models/Company/TeamUsefulLink.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class TeamUsefulLink extends Model { @@ -36,8 +36,6 @@ public function team() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { @@ -55,9 +53,7 @@ public function toObject(): array * The label attribute can be null, so if that's the case, we'll return the * URL instead. * - * @param mixed $value - * - * @return string + * @param mixed $value */ public function getLabelAttribute($value): string { diff --git a/app/Models/Company/TimeTrackingEntry.php b/app/Models/Company/TimeTrackingEntry.php index a9041feff..1821eee7d 100644 --- a/app/Models/Company/TimeTrackingEntry.php +++ b/app/Models/Company/TimeTrackingEntry.php @@ -2,9 +2,9 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class TimeTrackingEntry extends Model { @@ -32,8 +32,8 @@ class TimeTrackingEntry extends Model * * @var array */ - protected $dates = [ - 'happened_at', + protected $casts = [ + 'happened_at' => 'datetime', ]; /** diff --git a/app/Models/Company/Timesheet.php b/app/Models/Company/Timesheet.php index fabe2434d..9a1e4585c 100644 --- a/app/Models/Company/Timesheet.php +++ b/app/Models/Company/Timesheet.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class Timesheet extends Model { @@ -15,8 +15,11 @@ class Timesheet extends Model * Possible status of a timesheet. */ const OPEN = 'open'; + const READY_TO_SUBMIT = 'ready_to_submit'; + const APPROVED = 'approved'; + const REJECTED = 'rejected'; /** @@ -40,10 +43,10 @@ class Timesheet extends Model * * @var array */ - protected $dates = [ - 'started_at', - 'ended_at', - 'approved_at', + protected $casts = [ + 'started_at' => 'datetime', + 'ended_at' => 'datetime', + 'approved_at' => 'datetime', ]; /** diff --git a/app/Models/Company/Wiki.php b/app/Models/Company/Wiki.php index a3bbb45a7..41a3d8fa2 100644 --- a/app/Models/Company/Wiki.php +++ b/app/Models/Company/Wiki.php @@ -2,10 +2,10 @@ namespace App\Models\Company; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Illuminate\Database\Eloquent\Relations\HasMany ; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; class Wiki extends Model { diff --git a/app/Models/Company/WorkFromHome.php b/app/Models/Company/WorkFromHome.php index a62e3f934..e69a17444 100644 --- a/app/Models/Company/WorkFromHome.php +++ b/app/Models/Company/WorkFromHome.php @@ -3,9 +3,9 @@ namespace App\Models\Company; use App\Helpers\DateHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class WorkFromHome extends Model { @@ -29,17 +29,9 @@ class WorkFromHome extends Model * * @var array */ - protected $dates = [ - 'date', - ]; - - /** - * The attributes that should be cast to native types. - * - * @var array - */ protected $casts = [ 'work_from_home' => 'boolean', + 'date' => 'datetime', ]; /** @@ -54,8 +46,6 @@ public function employee() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { diff --git a/app/Models/Company/Worklog.php b/app/Models/Company/Worklog.php index f38b3e8a5..130fe0cd6 100644 --- a/app/Models/Company/Worklog.php +++ b/app/Models/Company/Worklog.php @@ -4,9 +4,9 @@ use App\Helpers\DateHelper; use App\Helpers\StringHelper; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class Worklog extends Model { @@ -25,15 +25,6 @@ class Worklog extends Model 'created_at', ]; - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'created_at', - ]; - /** * Get the employee records associated with the worklog. * @@ -46,8 +37,6 @@ public function employee() /** * Transform the object to an array representing this object. - * - * @return array */ public function toObject(): array { diff --git a/app/Models/User/Pronoun.php b/app/Models/User/Pronoun.php index a2234eb7a..b11657ea7 100644 --- a/app/Models/User/Pronoun.php +++ b/app/Models/User/Pronoun.php @@ -2,8 +2,8 @@ namespace App\Models\User; -use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Model; /** * Represent a gender identity. @@ -18,11 +18,17 @@ class Pronoun extends Model * Possible status of a pronoun. */ const HE = 'he/him'; + const SHE = 'she/her'; + const THEY = 'they/them'; + const PER = 'per/per'; + const VE = 've/ver'; + const XE = 'xe/xem'; + const ZE = 'ze/hir'; /** @@ -38,9 +44,7 @@ class Pronoun extends Model /** * Get the complete label of the pronoun. * - * @param string $value - * - * @return string + * @param string $value */ public function getLabelAttribute($value): string { diff --git a/app/Models/User/User.php b/app/Models/User/User.php index 2b60394d6..e651288a8 100644 --- a/app/Models/User/User.php +++ b/app/Models/User/User.php @@ -5,18 +5,18 @@ use App\Jobs\SendVerifyEmail; use App\Models\Company\Company; use App\Models\Company\Employee; -use Laravel\Sanctum\HasApiTokens; -use Illuminate\Notifications\Notifiable; -use Laravel\Fortify\TwoFactorAuthenticatable; use Illuminate\Contracts\Auth\MustVerifyEmail; -use Illuminate\Database\Eloquent\Relations\HasMany; +use Illuminate\Contracts\Translation\HasLocalePreference; use Illuminate\Database\Eloquent\Factories\HasFactory; +use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Foundation\Auth\User as Authenticatable; -use Illuminate\Contracts\Translation\HasLocalePreference; +use Illuminate\Notifications\Notifiable; +use Laravel\Fortify\TwoFactorAuthenticatable; +use Laravel\Sanctum\HasApiTokens; -class User extends Authenticatable implements MustVerifyEmail, HasLocalePreference +class User extends Authenticatable implements HasLocalePreference, MustVerifyEmail { - use Notifiable, HasFactory, HasApiTokens, TwoFactorAuthenticatable; + use HasApiTokens, HasFactory, Notifiable, TwoFactorAuthenticatable; /** * The attributes that are mass assignable. @@ -77,9 +77,7 @@ public function tokens() /** * Get the name of the user. * - * @param string $value - * - * @return string + * @param string $value */ public function getNameAttribute($value): string { @@ -98,10 +96,6 @@ public function getNameAttribute($value): string /** * Check if the user is part of the given company. - * - * @param Company $company - * - * @return Employee|null */ public function getEmployeeObjectForCompany(Company $company): ?Employee { diff --git a/app/Models/User/UserToken.php b/app/Models/User/UserToken.php index e695be84f..b8e548b10 100644 --- a/app/Models/User/UserToken.php +++ b/app/Models/User/UserToken.php @@ -2,9 +2,9 @@ namespace App\Models\User; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Illuminate\Database\Eloquent\Factories\HasFactory; class UserToken extends Model { diff --git a/app/Notifications/EmailMessaging.php b/app/Notifications/EmailMessaging.php index 82802094d..f5bd51c73 100644 --- a/app/Notifications/EmailMessaging.php +++ b/app/Notifications/EmailMessaging.php @@ -10,9 +10,7 @@ class EmailMessaging /** * Get the mail representation to verify an email. * - * @param User $user - * @param mixed $verificationUrl - * @return MailMessage + * @param mixed $verificationUrl */ public static function verifyEmailMail(User $user, $verificationUrl): MailMessage { diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 637aed13d..cfee0ba0c 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,12 +2,12 @@ namespace App\Providers; +use App\Notifications\EmailMessaging; +use Illuminate\Auth\Notifications\VerifyEmail; use Illuminate\Console\Command; use Illuminate\Support\Facades\App; -use App\Notifications\EmailMessaging; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; -use Illuminate\Auth\Notifications\VerifyEmail; class AppServiceProvider extends ServiceProvider { @@ -41,7 +41,5 @@ public function boot(): void /** * Register any application services. */ - public function register() - { - } + public function register() {} } diff --git a/app/Providers/Auth/MonicaExtendSocialite.php b/app/Providers/Auth/MonicaExtendSocialite.php index 0e4bc1baa..dc69b8886 100644 --- a/app/Providers/Auth/MonicaExtendSocialite.php +++ b/app/Providers/Auth/MonicaExtendSocialite.php @@ -9,8 +9,6 @@ class MonicaExtendSocialite { /** * Register the provider. - * - * @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled */ public function handle(SocialiteWasCalled $socialiteWasCalled) { diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php index 8e326d05f..2be04f5d9 100644 --- a/app/Providers/BroadcastServiceProvider.php +++ b/app/Providers/BroadcastServiceProvider.php @@ -2,8 +2,8 @@ namespace App\Providers; -use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Broadcast; +use Illuminate\Support\ServiceProvider; class BroadcastServiceProvider extends ServiceProvider { diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 1ea20624d..6dd1f52a4 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -5,9 +5,9 @@ use App\Events\FileDeleted; use App\Listeners\DeleteFileInStorage; use Illuminate\Auth\Events\Registered; -use SocialiteProviders\Manager\SocialiteWasCalled; use Illuminate\Auth\Listeners\SendEmailVerificationNotification; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; +use SocialiteProviders\Manager\SocialiteWasCalled; class EventServiceProvider extends ServiceProvider { diff --git a/app/Providers/FortifyServiceProvider.php b/app/Providers/FortifyServiceProvider.php index 191202992..5f9dd201a 100644 --- a/app/Providers/FortifyServiceProvider.php +++ b/app/Providers/FortifyServiceProvider.php @@ -2,16 +2,16 @@ namespace App\Providers; -use Illuminate\Http\Request; -use Laravel\Fortify\Fortify; +use App\Http\Controllers\Auth\LoginController; use App\Services\User\CreateAccount; -use Illuminate\Support\ServiceProvider; use App\Services\User\ResetUserPassword; -use Illuminate\Cache\RateLimiting\Limit; use App\Services\User\UpdateUserPassword; -use Illuminate\Support\Facades\RateLimiter; -use App\Http\Controllers\Auth\LoginController; use App\Services\User\UpdateUserProfileInformation; +use Illuminate\Cache\RateLimiting\Limit; +use Illuminate\Http\Request; +use Illuminate\Support\Facades\RateLimiter; +use Illuminate\Support\ServiceProvider; +use Laravel\Fortify\Fortify; class FortifyServiceProvider extends ServiceProvider { diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 48327d23b..c3f7b0f66 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -2,10 +2,10 @@ namespace App\Providers; +use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Support\Facades\App; -use Illuminate\Support\Facades\URL; use Illuminate\Support\Facades\Route; -use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; +use Illuminate\Support\Facades\URL; class RouteServiceProvider extends ServiceProvider { @@ -57,8 +57,8 @@ public function map(): void protected function mapWebRoutes(): void { Route::middleware('web') - ->namespace($this->namespace) - ->group(base_path('routes/web.php')); + ->namespace($this->namespace) + ->group(base_path('routes/web.php')); } /** @@ -69,8 +69,8 @@ protected function mapWebRoutes(): void protected function mapApiRoutes(): void { Route::prefix('api') - ->middleware('api') - ->namespace($this->namespace) - ->group(base_path('routes/api.php')); + ->middleware('api') + ->namespace($this->namespace) + ->group(base_path('routes/api.php')); } } diff --git a/app/Services/BaseService.php b/app/Services/BaseService.php index 296e27818..01d202038 100644 --- a/app/Services/BaseService.php +++ b/app/Services/BaseService.php @@ -2,12 +2,12 @@ namespace App\Services; -use Carbon\Carbon; -use App\Models\Company\Team; -use App\Models\Company\Employee; -use Illuminate\Support\Facades\Validator; use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Employee; +use App\Models\Company\Team; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\Validator; abstract class BaseService { @@ -46,9 +46,6 @@ abstract class BaseService /** * Sets the author id for the service. - * - * @param int $givenAuthor - * @return self */ public function author(int $givenAuthor): self { @@ -59,9 +56,6 @@ public function author(int $givenAuthor): self /** * Sets the company id for the service. - * - * @param int $company - * @return self */ public function inCompany(int $company): self { @@ -72,8 +66,6 @@ public function inCompany(int $company): self /** * Sets the permission level required for this service. - * - * @return self */ public function asAtLeastAdministrator(): self { @@ -84,8 +76,6 @@ public function asAtLeastAdministrator(): self /** * Sets the permission level required for this service. - * - * @return self */ public function asAtLeastHR(): self { @@ -96,8 +86,6 @@ public function asAtLeastHR(): self /** * Sets the permission level required for this service. - * - * @return self */ public function asNormalUser(): self { @@ -109,10 +97,6 @@ public function asNormalUser(): self /** * Sets the permission to bypass the minimum level requirement necessary to * execute the service if the author is the manager of the employee. - * - * @param int $managerId - * @param int $employeeId - * @return self */ public function canBypassPermissionLevelIfManager(int $managerId, int $employeeId): self { @@ -128,9 +112,6 @@ public function canBypassPermissionLevelIfManager(int $managerId, int $employeeI /** * Sets the permission to bypass the minimum level requirement necessary to * execute the service if the author who calls it is actually the employee. - * - * @param int $employeeId - * @return self */ public function canBypassPermissionLevelIfEmployee(int $employeeId): self { @@ -143,9 +124,6 @@ public function canBypassPermissionLevelIfEmployee(int $employeeId): self * Sets the permission to bypass the minimum level requirement necessary to * execute the service if the author who calls it is actually the employee * or the manager. - * - * @param int $employeeId - * @return self */ public function canBypassPermissionLevelIfEmployeeOrManager(int $managerId, int $employeeId): self { @@ -164,8 +142,6 @@ public function canBypassPermissionLevelIfEmployeeOrManager(int $managerId, int /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -174,14 +150,11 @@ public function rules(): array /** * Validate an array against a set of rules. - * - * @param array $data - * @return bool */ public function validateRules(array $data): bool { Validator::make($data, $this->rules()) - ->validate(); + ->validate(); return true; @@ -225,8 +198,6 @@ public function validateTeamBelongsToCompany(array $data): Team /** * Checks if the employee executing the service has the permission * to do the action. - * - * @return bool */ public function canExecuteService(): bool { @@ -252,8 +223,8 @@ public function canExecuteService(): bool /** * Checks if the value is empty or null. * - * @param mixed $data - * @param mixed $index + * @param mixed $data + * @param mixed $index * @return mixed */ public function valueOrNull($data, $index) @@ -268,9 +239,8 @@ public function valueOrNull($data, $index) /** * Gets the value if it’s set, or the current Now() date otherwise. * - * @param mixed $data - * @param mixed $index - * @return Carbon + * @param mixed $data + * @param mixed $index */ public function valueOrNow($data, $index): Carbon { @@ -284,8 +254,8 @@ public function valueOrNow($data, $index): Carbon /** * Checks if the value is empty or null and returns a date from a string. * - * @param mixed $data - * @param mixed $index + * @param mixed $data + * @param mixed $index * @return mixed */ public function nullOrDate($data, $index) @@ -300,8 +270,8 @@ public function nullOrDate($data, $index) /** * Returns the value if it's defined, or false otherwise. * - * @param mixed $data - * @param mixed $index + * @param mixed $data + * @param mixed $index * @return mixed */ public function valueOrFalse($data, $index) diff --git a/app/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestion.php b/app/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestion.php index d1074c7d2..ffefdecbc 100644 --- a/app/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestion.php +++ b/app/Services/Company/Adminland/AskMeAnything/AnswerAskMeAnythingQuestion.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Adminland\AskMeAnything; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\AskMeAnythingSession; use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; +use App\Services\BaseService; +use Carbon\Carbon; class AnswerAskMeAnythingQuestion extends BaseService { private array $data; + private AskMeAnythingSession $session; + private AskMeAnythingQuestion $question; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,9 +31,6 @@ public function rules(): array /** * Mark a question as answered. - * - * @param array $data - * @return AskMeAnythingQuestion */ public function execute(array $data): AskMeAnythingQuestion { diff --git a/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestion.php b/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestion.php index 7dfceec51..5db656e88 100644 --- a/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestion.php +++ b/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingQuestion.php @@ -2,20 +2,20 @@ namespace App\Services\Company\Adminland\AskMeAnything; -use App\Services\BaseService; -use App\Models\Company\AskMeAnythingSession; use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; +use App\Services\BaseService; class CreateAskMeAnythingQuestion extends BaseService { private array $data; + private AskMeAnythingSession $session; + private AskMeAnythingQuestion $question; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,9 +31,6 @@ public function rules(): array /** * Create an AMA question. * We don't log this interaction because it's against the anonymous nature. - * - * @param array $data - * @return AskMeAnythingQuestion */ public function execute(array $data): AskMeAnythingQuestion { diff --git a/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSession.php b/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSession.php index 5d4215474..d25ced0eb 100644 --- a/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSession.php +++ b/app/Services/Company/Adminland/AskMeAnything/CreateAskMeAnythingSession.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\AskMeAnything; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\AskMeAnythingSession; +use App\Services\BaseService; +use Carbon\Carbon; class CreateAskMeAnythingSession extends BaseService { private array $data; + private AskMeAnythingSession $session; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +28,6 @@ public function rules(): array /** * Create a AMA session. - * - * @param array $data - * @return AskMeAnythingSession */ public function execute(array $data): AskMeAnythingSession { diff --git a/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestion.php b/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestion.php index f83c89d46..e23c72fe4 100644 --- a/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestion.php +++ b/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingQuestion.php @@ -2,20 +2,20 @@ namespace App\Services\Company\Adminland\AskMeAnything; -use App\Services\BaseService; -use App\Models\Company\AskMeAnythingSession; use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; +use App\Services\BaseService; class DestroyAskMeAnythingQuestion extends BaseService { private array $data; + private AskMeAnythingSession $session; + private AskMeAnythingQuestion $question; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,7 +29,6 @@ public function rules(): array /** * Delete a AMA question. - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSession.php b/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSession.php index 033c6afc7..061f4131d 100644 --- a/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSession.php +++ b/app/Services/Company/Adminland/AskMeAnything/DestroyAskMeAnythingSession.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\AskMeAnything; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\AskMeAnythingSession; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyAskMeAnythingSession extends BaseService { private array $data; + private AskMeAnythingSession $session; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,7 +27,6 @@ public function rules(): array /** * Delete a AMA session. - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSession.php b/app/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSession.php index 05f1fe3f0..5656da445 100644 --- a/app/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSession.php +++ b/app/Services/Company/Adminland/AskMeAnything/ToggleAskMeAnythingSession.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\AskMeAnything; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\AskMeAnythingSession; +use App\Services\BaseService; +use Carbon\Carbon; class ToggleAskMeAnythingSession extends BaseService { private array $data; + private AskMeAnythingSession $session; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,9 +27,6 @@ public function rules(): array /** * Mark a AMA session as active or inactive, depending. - * - * @param array $data - * @return AskMeAnythingSession */ public function execute(array $data): AskMeAnythingSession { diff --git a/app/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSession.php b/app/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSession.php index 8dfecea69..659333c84 100644 --- a/app/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSession.php +++ b/app/Services/Company/Adminland/AskMeAnything/UpdateAskMeAnythingSession.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\AskMeAnything; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\AskMeAnythingSession; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateAskMeAnythingSession extends BaseService { private array $data; + private AskMeAnythingSession $session; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +29,6 @@ public function rules(): array /** * Update a AMA session. - * - * @param array $data - * @return AskMeAnythingSession */ public function execute(array $data): AskMeAnythingSession { diff --git a/app/Services/Company/Adminland/Company/AddUserToCompany.php b/app/Services/Company/Adminland/Company/AddUserToCompany.php index 335c42b95..c4400840f 100644 --- a/app/Services/Company/Adminland/Company/AddUserToCompany.php +++ b/app/Services/Company/Adminland/Company/AddUserToCompany.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; -use Illuminate\Support\Str; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Str; class AddUserToCompany extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Add a user to the company. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Adminland/Company/CreateCompany.php b/app/Services/Company/Adminland/Company/CreateCompany.php index e0384d0fe..1d07d9e71 100644 --- a/app/Services/Company/Adminland/Company/CreateCompany.php +++ b/app/Services/Company/Adminland/Company/CreateCompany.php @@ -2,25 +2,25 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; -use App\Models\User\User; -use Illuminate\Support\Str; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; +use App\Jobs\ProvisionDefaultAccountData; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Jobs\ProvisionDefaultAccountData; +use App\Models\User\User; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Str; class CreateCompany extends BaseService { private array $data; + private Company $company; + private Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,10 +32,6 @@ public function rules(): array /** * Create a company. - * - * @param array $data - * - * @return Company */ public function execute(array $data): Company { diff --git a/app/Services/Company/Adminland/Company/DestroyCompany.php b/app/Services/Company/Adminland/Company/DestroyCompany.php index f3cf55844..f153ef5f8 100644 --- a/app/Services/Company/Adminland/Company/DestroyCompany.php +++ b/app/Services/Company/Adminland/Company/DestroyCompany.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Adminland\Company; -use App\Services\BaseService; +use App\Mail\Company\SendAccountCancellationToAdministratorMail; use App\Models\Company\Company; +use App\Services\BaseService; use Illuminate\Support\Facades\Mail; -use App\Mail\Company\SendAccountCancellationToAdministratorMail; class DestroyCompany extends BaseService { @@ -15,8 +15,6 @@ class DestroyCompany extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +26,6 @@ public function rules(): array /** * Destroy the company. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/Company/JoinCompany.php b/app/Services/Company/Adminland/Company/JoinCompany.php index ef3b8a014..cff190b6c 100644 --- a/app/Services/Company/Adminland/Company/JoinCompany.php +++ b/app/Services/Company/Adminland/Company/JoinCompany.php @@ -2,26 +2,27 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; -use App\Models\User\User; -use Illuminate\Support\Str; +use App\Exceptions\UserAlreadyInvitedException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Exceptions\UserAlreadyInvitedException; +use App\Models\User\User; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Str; class JoinCompany extends BaseService { private array $data; + private Company $company; + private User $user; + private Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +34,6 @@ public function rules(): array /** * Let a user join an existing company with an invitation code. - * - * @param array $data - * @return Company */ public function execute(array $data): Company { diff --git a/app/Services/Company/Adminland/Company/ProvisionDefaultAccountData.php b/app/Services/Company/Adminland/Company/ProvisionDefaultAccountData.php index 06e73a4bc..7e36a6af5 100644 --- a/app/Services/Company/Adminland/Company/ProvisionDefaultAccountData.php +++ b/app/Services/Company/Adminland/Company/ProvisionDefaultAccountData.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; -use App\Services\BaseService; use App\Models\Company\Employee; -use App\Services\Company\Project\CreateIssueType; -use App\Services\Company\Adminland\ExpenseCategory\CreateExpenseCategory; +use App\Services\BaseService; use App\Services\Company\Adminland\CompanyPTOPolicy\CreateCompanyPTOPolicy; +use App\Services\Company\Adminland\ExpenseCategory\CreateExpenseCategory; +use App\Services\Company\Project\CreateIssueType; +use Carbon\Carbon; class ProvisionDefaultAccountData extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ public function rules(): array /** * Populate the account with default data. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/Company/RenameCompany.php b/app/Services/Company/Adminland/Company/RenameCompany.php index 4d2fba2f6..489ca98d1 100644 --- a/app/Services/Company/Adminland/Company/RenameCompany.php +++ b/app/Services/Company/Adminland/Company/RenameCompany.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Services\BaseService; +use Carbon\Carbon; class RenameCompany extends BaseService { @@ -15,8 +15,6 @@ class RenameCompany extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,10 +27,6 @@ public function rules(): array /** * Rename the company. - * - * @param array $data - * - * @return Company */ public function execute(array $data): Company { @@ -73,8 +67,6 @@ private function generateSlug(): void /** * Add an audit log entry for this action. - * - * @param string $oldName */ private function log(string $oldName): void { diff --git a/app/Services/Company/Adminland/Company/UpdateCompanyCurrency.php b/app/Services/Company/Adminland/Company/UpdateCompanyCurrency.php index 9b2eafc44..728c34b18 100644 --- a/app/Services/Company/Adminland/Company/UpdateCompanyCurrency.php +++ b/app/Services/Company/Adminland/Company/UpdateCompanyCurrency.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateCompanyCurrency extends BaseService { @@ -15,8 +15,6 @@ class UpdateCompanyCurrency extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,10 +27,6 @@ public function rules(): array /** * Update the company's company. - * - * @param array $data - * - * @return Company */ public function execute(array $data): Company { @@ -67,8 +61,6 @@ private function updateCurrency(): void /** * Add an audit log entry for this action. - * - * @param string $oldCurrency* */ private function log(string $oldCurrency): void { diff --git a/app/Services/Company/Adminland/Company/UpdateCompanyFoundedDate.php b/app/Services/Company/Adminland/Company/UpdateCompanyFoundedDate.php index 88707f38c..bd9297521 100644 --- a/app/Services/Company/Adminland/Company/UpdateCompanyFoundedDate.php +++ b/app/Services/Company/Adminland/Company/UpdateCompanyFoundedDate.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateCompanyFoundedDate extends BaseService { @@ -15,8 +15,6 @@ class UpdateCompanyFoundedDate extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +27,6 @@ public function rules(): array /** * Update the company's founded at date. - * - * @param array $data - * @return Company */ public function execute(array $data): Company { diff --git a/app/Services/Company/Adminland/Company/UpdateCompanyLocation.php b/app/Services/Company/Adminland/Company/UpdateCompanyLocation.php index c9b316b15..d9595e703 100644 --- a/app/Services/Company/Adminland/Company/UpdateCompanyLocation.php +++ b/app/Services/Company/Adminland/Company/UpdateCompanyLocation.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateCompanyLocation extends BaseService { @@ -15,8 +15,6 @@ class UpdateCompanyLocation extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +27,6 @@ public function rules(): array /** * Update the company's location. - * - * @param array $data - * @return Company */ public function execute(array $data): Company { diff --git a/app/Services/Company/Adminland/Company/UpdateCompanyLogo.php b/app/Services/Company/Adminland/Company/UpdateCompanyLogo.php index 303f496a8..e3c00ba80 100644 --- a/app/Services/Company/Adminland/Company/UpdateCompanyLogo.php +++ b/app/Services/Company/Adminland/Company/UpdateCompanyLogo.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Adminland\Company; -use Carbon\Carbon; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Models\Company\File; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateCompanyLogo extends BaseService { protected File $file; + protected Company $company; + protected array $data; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +30,6 @@ public function rules(): array /** * Update the company logo. - * - * @param array $data - * @return File */ public function execute(array $data): File { diff --git a/app/Services/Company/Adminland/Company/UpdateCompanySlug.php b/app/Services/Company/Adminland/Company/UpdateCompanySlug.php index 340b3637e..9b74ae0e2 100644 --- a/app/Services/Company/Adminland/Company/UpdateCompanySlug.php +++ b/app/Services/Company/Adminland/Company/UpdateCompanySlug.php @@ -2,9 +2,9 @@ namespace App\Services\Company\Adminland\Company; -use Illuminate\Support\Str; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Services\BaseService; +use Illuminate\Support\Str; class UpdateCompanySlug extends BaseService { @@ -12,8 +12,6 @@ class UpdateCompanySlug extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,10 +22,6 @@ public function rules(): array /** * Updates the company slug. - * - * @param array $data - * - * @return Company */ public function execute(array $data): Company { diff --git a/app/Services/Company/Adminland/CompanyNews/CreateCompanyNews.php b/app/Services/Company/Adminland/CompanyNews/CreateCompanyNews.php index d61863ff9..4f3115241 100644 --- a/app/Services/Company/Adminland/CompanyNews/CreateCompanyNews.php +++ b/app/Services/Company/Adminland/CompanyNews/CreateCompanyNews.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\CompanyNews; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\CompanyNews; +use App\Services\BaseService; +use Carbon\Carbon; class CreateCompanyNews extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Create a company news. - * - * @param array $data - * - * @return CompanyNews */ public function execute(array $data): CompanyNews { diff --git a/app/Services/Company/Adminland/CompanyNews/DestroyCompanyNews.php b/app/Services/Company/Adminland/CompanyNews/DestroyCompanyNews.php index 31802b126..917e44269 100644 --- a/app/Services/Company/Adminland/CompanyNews/DestroyCompanyNews.php +++ b/app/Services/Company/Adminland/CompanyNews/DestroyCompanyNews.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\CompanyNews; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\CompanyNews; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyCompanyNews extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Destroy a company news. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/CompanyNews/UpdateCompanyNews.php b/app/Services/Company/Adminland/CompanyNews/UpdateCompanyNews.php index 41485766a..4dbf63f58 100644 --- a/app/Services/Company/Adminland/CompanyNews/UpdateCompanyNews.php +++ b/app/Services/Company/Adminland/CompanyNews/UpdateCompanyNews.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\CompanyNews; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; use App\Models\Company\CompanyNews; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateCompanyNews extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Update a company news. - * - * @param array $data - * - * @return CompanyNews */ public function execute(array $data): CompanyNews { diff --git a/app/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicy.php b/app/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicy.php index aedab0c79..cd4ffc1b5 100644 --- a/app/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicy.php +++ b/app/Services/Company/Adminland/CompanyPTOPolicy/CreateCompanyPTOPolicy.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Adminland\CompanyPTOPolicy; -use Carbon\Carbon; +use App\Exceptions\CompanyPTOPolicyAlreadyExistException; use App\Helpers\DateHelper; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\CompanyCalendar; use App\Models\Company\CompanyPTOPolicy; -use App\Exceptions\CompanyPTOPolicyAlreadyExistException; +use App\Services\BaseService; +use Carbon\Carbon; class CreateCompanyPTOPolicy extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,10 +29,6 @@ public function rules(): array /** * Create a company PTO policy. - * - * @param array $data - * - * @return CompanyPTOPolicy */ public function execute(array $data): CompanyPTOPolicy { @@ -93,11 +87,6 @@ public function execute(array $data): CompanyPTOPolicy * will contain all the days. Weekends will be marked as non-working days. * Right after, employers will be able to identify which days are holidays * and therefore considered as being off. - * - * @param array $data - * @param CompanyPTOPolicy $ptoPolicy - * - * @return int */ private function populateCalendar(array $data, CompanyPTOPolicy $ptoPolicy): int { diff --git a/app/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicy.php b/app/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicy.php index 5580ca9a6..eedafe771 100644 --- a/app/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicy.php +++ b/app/Services/Company/Adminland/CompanyPTOPolicy/UpdateCompanyPTOPolicy.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Adminland\CompanyPTOPolicy; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; use App\Models\Company\CompanyCalendar; use App\Models\Company\CompanyPTOPolicy; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; class UpdateCompanyPTOPolicy extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,10 +30,6 @@ public function rules(): array /** * Update a company PTO policy. - * - * @param array $data - * - * @return CompanyPTOPolicy */ public function execute(array $data): CompanyPTOPolicy { @@ -78,10 +72,6 @@ public function execute(array $data): CompanyPTOPolicy /** * Mark all the days as off for the given pto policy. - * - * @param array $data - * - * @return int */ private function markDaysOff(array $data): int { diff --git a/app/Services/Company/Adminland/ECoffee/ToggleECoffeeProcess.php b/app/Services/Company/Adminland/ECoffee/ToggleECoffeeProcess.php index f0574d97f..27a6b7792 100644 --- a/app/Services/Company/Adminland/ECoffee/ToggleECoffeeProcess.php +++ b/app/Services/Company/Adminland/ECoffee/ToggleECoffeeProcess.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\ECoffee; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Services\BaseService; +use Carbon\Carbon; class ToggleECoffeeProcess extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,9 +22,6 @@ public function rules(): array /** * Toggle the e-coffee process in the company. - * - * @param array $data - * @return Company */ public function execute(array $data): Company { diff --git a/app/Services/Company/Adminland/Employee/AddEmployeeToCompany.php b/app/Services/Company/Adminland/Employee/AddEmployeeToCompany.php index be75236d6..b5bf9f49d 100644 --- a/app/Services/Company/Adminland/Employee/AddEmployeeToCompany.php +++ b/app/Services/Company/Adminland/Employee/AddEmployeeToCompany.php @@ -2,17 +2,17 @@ namespace App\Services\Company\Adminland\Employee; -use Carbon\Carbon; -use Illuminate\Support\Str; -use App\Jobs\NotifyEmployee; +use App\Exceptions\EmailAlreadyUsedException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Services\QueuableService; +use App\Services\BaseService; use App\Services\DispatchableService; -use App\Exceptions\EmailAlreadyUsedException; +use App\Services\QueuableService; +use Carbon\Carbon; +use Illuminate\Support\Str; class AddEmployeeToCompany extends BaseService implements QueuableService { @@ -24,8 +24,6 @@ class AddEmployeeToCompany extends BaseService implements QueuableService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -42,10 +40,6 @@ public function rules(): array /** * Add someone to the company. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Adminland/Employee/ChangePermissionLevel.php b/app/Services/Company/Adminland/Employee/ChangePermissionLevel.php index 96c2eacc5..980838b6b 100644 --- a/app/Services/Company/Adminland/Employee/ChangePermissionLevel.php +++ b/app/Services/Company/Adminland/Employee/ChangePermissionLevel.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Employee; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class ChangePermissionLevel extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Change permission for the given employee. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Adminland/Employee/DestroyEmployee.php b/app/Services/Company/Adminland/Employee/DestroyEmployee.php index 41dfa3d82..9fdb7d40b 100644 --- a/app/Services/Company/Adminland/Employee/DestroyEmployee.php +++ b/app/Services/Company/Adminland/Employee/DestroyEmployee.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Employee; -use Carbon\Carbon; +use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; -use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ public function rules(): array /** * Delete an employee. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/Employee/ImportEmployeesFromCSV.php b/app/Services/Company/Adminland/Employee/ImportEmployeesFromCSV.php index 940ab6721..c2e4db58f 100644 --- a/app/Services/Company/Adminland/Employee/ImportEmployeesFromCSV.php +++ b/app/Services/Company/Adminland/Employee/ImportEmployeesFromCSV.php @@ -2,20 +2,20 @@ namespace App\Services\Company\Adminland\Employee; -use Throwable; -use Illuminate\Support\Str; +use App\Exceptions\MalformedCSVException; use App\Models\Company\File; -use App\Services\BaseService; -use Illuminate\Support\Carbon; use App\Models\Company\ImportJob; +use App\Models\Company\ImportJobReport; +use App\Services\BaseService; +use App\Services\DispatchableService; use App\Services\QueuableService; +use Illuminate\Support\Carbon; use Illuminate\Support\Facades\Http; -use App\Services\DispatchableService; -use App\Models\Company\ImportJobReport; use Illuminate\Support\Facades\Storage; -use App\Exceptions\MalformedCSVException; use Illuminate\Support\Facades\Validator; +use Illuminate\Support\Str; use Spatie\SimpleExcel\SimpleExcelReader; +use Throwable; class ImportEmployeesFromCSV extends BaseService implements QueuableService { @@ -23,17 +23,12 @@ class ImportEmployeesFromCSV extends BaseService implements QueuableService private array $data; - /** - * @var ImportJob|null - */ private ?ImportJob $importJob = null; private File $file; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -83,8 +78,6 @@ private function validate(): void /** * Handle a job failure. - * - * @param \Throwable $exception */ public function failed(Throwable $exception): void { @@ -132,8 +125,6 @@ private function readFile(): void /** * Make sure the headers in the file are valid. - * - * @param string $filePath */ private function checkHeaderValidity(string $filePath): void { diff --git a/app/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTable.php b/app/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTable.php index 1130cf54c..1bcbd1979 100644 --- a/app/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTable.php +++ b/app/Services/Company/Adminland/Employee/ImportEmployeesFromTemporaryTable.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Adminland\Employee; -use Throwable; -use App\Services\BaseService; use App\Models\Company\ImportJob; -use App\Services\QueuableService; -use App\Services\DispatchableService; use App\Models\Company\ImportJobReport; +use App\Services\BaseService; +use App\Services\DispatchableService; +use App\Services\QueuableService; +use Throwable; class ImportEmployeesFromTemporaryTable extends BaseService implements QueuableService { @@ -15,15 +15,10 @@ class ImportEmployeesFromTemporaryTable extends BaseService implements QueuableS private array $data; - /** - * @var ImportJob|null - */ private ?ImportJob $importJob = null; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -90,8 +85,6 @@ private function markAsMigrated(): void /** * Handle a job failure. - * - * @param \Throwable $exception */ public function failed(Throwable $exception): void { diff --git a/app/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUser.php b/app/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUser.php index dca768d95..ca52a38e8 100644 --- a/app/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUser.php +++ b/app/Services/Company/Adminland/Employee/InviteEmployeeToBecomeUser.php @@ -2,14 +2,14 @@ namespace App\Services\Company\Adminland\Employee; -use Carbon\Carbon; -use Illuminate\Support\Str; +use App\Exceptions\UserAlreadyInvitedException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; +use App\Mail\Company\InviteEmployeeToBecomeUserMail; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Support\Facades\Mail; -use App\Exceptions\UserAlreadyInvitedException; -use App\Mail\Company\InviteEmployeeToBecomeUserMail; +use Illuminate\Support\Str; /** * This service invites an employee by email. @@ -20,8 +20,6 @@ class InviteEmployeeToBecomeUser extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,10 +32,6 @@ public function rules(): array /** * Send an invitation email to the employee so he can become a user. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { @@ -71,8 +65,6 @@ public function execute(array $data): Employee /** * Send the email. - * - * @param Employee $employee */ private function inviteEmployee(Employee $employee): void { diff --git a/app/Services/Company/Adminland/Employee/LockEmployee.php b/app/Services/Company/Adminland/Employee/LockEmployee.php index 4d8fc5980..628a97003 100644 --- a/app/Services/Company/Adminland/Employee/LockEmployee.php +++ b/app/Services/Company/Adminland/Employee/LockEmployee.php @@ -2,24 +2,23 @@ namespace App\Services\Company\Adminland\Employee; -use Carbon\Carbon; +use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; use App\Models\Company\DirectReport; +use App\Models\Company\Employee; +use App\Services\BaseService; use App\Services\Company\Adminland\Expense\DisallowEmployeeToManageExpenses; -use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; +use Carbon\Carbon; class LockEmployee extends BaseService { private array $data; + private Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +31,6 @@ public function rules(): array /** * Lock an employee's account. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTable.php b/app/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTable.php index e89f64147..701da96ff 100644 --- a/app/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTable.php +++ b/app/Services/Company/Adminland/Employee/StoreEmployeesFromCSVInTemporaryTable.php @@ -3,8 +3,8 @@ namespace App\Services\Company\Adminland\Employee; use App\Models\Company\File; -use App\Services\BaseService; use App\Models\Company\ImportJob; +use App\Services\BaseService; class StoreEmployeesFromCSVInTemporaryTable extends BaseService { @@ -16,8 +16,6 @@ class StoreEmployeesFromCSVInTemporaryTable extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +28,6 @@ public function rules(): array /** * Import a CSV file, containing employees, and store them in an Import Job. - * - * @param array $data - * @return ImportJob */ public function execute(array $data): ImportJob { diff --git a/app/Services/Company/Adminland/Employee/UnlockEmployee.php b/app/Services/Company/Adminland/Employee/UnlockEmployee.php index b63af7523..9dea083ef 100644 --- a/app/Services/Company/Adminland/Employee/UnlockEmployee.php +++ b/app/Services/Company/Adminland/Employee/UnlockEmployee.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Employee; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class UnlockEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,8 +24,6 @@ public function rules(): array /** * Unlock an employee's account. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/Employee/UpdateEmployee.php b/app/Services/Company/Adminland/Employee/UpdateEmployee.php index 2bcbf40cc..df03f3336 100644 --- a/app/Services/Company/Adminland/Employee/UpdateEmployee.php +++ b/app/Services/Company/Adminland/Employee/UpdateEmployee.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Employee; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Update an employee. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatus.php b/app/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatus.php index e7de603c2..eba1f89f5 100644 --- a/app/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatus.php +++ b/app/Services/Company/Adminland/EmployeeStatus/CreateEmployeeStatus.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\EmployeeStatus; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\EmployeeStatus; +use App\Services\BaseService; +use Carbon\Carbon; class CreateEmployeeStatus extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,9 +24,6 @@ public function rules(): array /** * Create an employee status. - * - * @param array $data - * @return EmployeeStatus */ public function execute(array $data): EmployeeStatus { diff --git a/app/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatus.php b/app/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatus.php index d672ee7b5..01dae158c 100644 --- a/app/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatus.php +++ b/app/Services/Company/Adminland/EmployeeStatus/DestroyEmployeeStatus.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\EmployeeStatus; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\EmployeeStatus; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyEmployeeStatus extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Destroy an employee status. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatus.php b/app/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatus.php index f3e5fabe2..22baffa3d 100644 --- a/app/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatus.php +++ b/app/Services/Company/Adminland/EmployeeStatus/UpdateEmployeeStatus.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\EmployeeStatus; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\EmployeeStatus; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateEmployeeStatus extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Update an employee status. - * - * @param array $data - * - * @return EmployeeStatus */ public function execute(array $data): EmployeeStatus { diff --git a/app/Services/Company/Adminland/Expense/AllowEmployeeToManageExpenses.php b/app/Services/Company/Adminland/Expense/AllowEmployeeToManageExpenses.php index 2f7378644..bb2a860af 100644 --- a/app/Services/Company/Adminland/Expense/AllowEmployeeToManageExpenses.php +++ b/app/Services/Company/Adminland/Expense/AllowEmployeeToManageExpenses.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Adminland\Expense; -use Carbon\Carbon; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class AllowEmployeeToManageExpenses extends BaseService { @@ -17,8 +17,6 @@ class AllowEmployeeToManageExpenses extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,10 +31,6 @@ public function rules(): array * Allows an employee to manage all the the expenses in the company. * That means the employee will have access to the accounting tab on the * dashboard to manage all other employee's expenses. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrency.php b/app/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrency.php index 2466e9171..92bf98c61 100644 --- a/app/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrency.php +++ b/app/Services/Company/Adminland/Expense/ConvertAmountFromOneCurrencyToCompanyCurrency.php @@ -2,26 +2,32 @@ namespace App\Services\Company\Adminland\Expense; -use Carbon\Carbon; -use ErrorException; -use Illuminate\Support\Str; +use App\Exceptions\ConvertAmountException; +use App\Exceptions\WrongCurrencyLayerApiKeyException; use App\Helpers\MoneyHelper; use App\Services\BaseService; -use Illuminate\Support\Facades\Log; -use Illuminate\Support\Facades\Http; -use Illuminate\Support\Facades\Cache; -use App\Exceptions\ConvertAmountException; +use Carbon\Carbon; +use ErrorException; use Illuminate\Http\Client\HttpClientException; -use App\Exceptions\WrongCurrencyLayerApiKeyException; +use Illuminate\Support\Facades\Cache; +use Illuminate\Support\Facades\Http; +use Illuminate\Support\Facades\Log; +use Illuminate\Support\Str; class ConvertAmountFromOneCurrencyToCompanyCurrency extends BaseService { private int $amount; + private string $amountCurrency; + private string $companyCurrency; + private float $convertedAmount; + private Carbon $amountDate; + private float $rate; + private string $query; /** @@ -80,13 +86,14 @@ private function buildQuery(): void 'date' => $this->amountDate->format('Y-m-d'), ]); - $this->query = Str::finish($uri, '?') . $query; + $this->query = Str::finish($uri, '?').$query; } private function getConversionRate(): void { if (Cache::has($this->cachedKey())) { $this->rate = Cache::get($this->cachedKey()); + return; } @@ -126,8 +133,6 @@ private function convert(): void * Returns the name of the key that can be in the cache for the given * exchange rate. * Format is `exchange-rate-eur-usd-1990-01-01`. - * - * @return string */ private function cachedKey(): string { diff --git a/app/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpenses.php b/app/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpenses.php index f2b9cf92a..f58270c79 100644 --- a/app/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpenses.php +++ b/app/Services/Company/Adminland/Expense/DisallowEmployeeToManageExpenses.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Adminland\Expense; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class DisallowEmployeeToManageExpenses extends BaseService { @@ -16,8 +16,6 @@ class DisallowEmployeeToManageExpenses extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,10 +30,6 @@ public function rules(): array * Forbids an employee to manage all the the expenses in the company. * That means the employee won’t have access anymore to the accounting tab * on the dashboard to manage all other employee's expenses. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategory.php b/app/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategory.php index ea0ce783e..fb6e73711 100644 --- a/app/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategory.php +++ b/app/Services/Company/Adminland/ExpenseCategory/CreateExpenseCategory.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\ExpenseCategory; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\ExpenseCategory; +use App\Services\BaseService; +use Carbon\Carbon; class CreateExpenseCategory extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Create an expense category. - * - * @param array $data - * - * @return ExpenseCategory */ public function execute(array $data): ExpenseCategory { diff --git a/app/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategory.php b/app/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategory.php index 0f94455f3..26840b665 100644 --- a/app/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategory.php +++ b/app/Services/Company/Adminland/ExpenseCategory/DestroyExpenseCategory.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\ExpenseCategory; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\ExpenseCategory; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyExpenseCategory extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Destroy an expense category. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategory.php b/app/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategory.php index ef753f9d3..4f8125a8f 100644 --- a/app/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategory.php +++ b/app/Services/Company/Adminland/ExpenseCategory/UpdateExpenseCategory.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\ExpenseCategory; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\ExpenseCategory; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateExpenseCategory extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Update an expense category. - * - * @param array $data - * - * @return ExpenseCategory */ public function execute(array $data): ExpenseCategory { diff --git a/app/Services/Company/Adminland/File/UploadFile.php b/app/Services/Company/Adminland/File/UploadFile.php index b5981b949..8134455a5 100644 --- a/app/Services/Company/Adminland/File/UploadFile.php +++ b/app/Services/Company/Adminland/File/UploadFile.php @@ -2,9 +2,9 @@ namespace App\Services\Company\Adminland\File; +use App\Exceptions\EnvVariablesNotSetException; use App\Models\Company\File; use App\Services\BaseService; -use App\Exceptions\EnvVariablesNotSetException; class UploadFile extends BaseService { @@ -14,8 +14,6 @@ class UploadFile extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,9 +37,6 @@ public function rules(): array * However, we abstract uploads by the File object. This service here takes * the payload that Uploadcare sends us back, and map it into a File object * that the clients will consume. - * - * @param array $data - * @return File */ public function execute(array $data): File { diff --git a/app/Services/Company/Adminland/Flow/AddActionToStep.php b/app/Services/Company/Adminland/Flow/AddActionToStep.php index c0d8e51e6..6602f94e0 100644 --- a/app/Services/Company/Adminland/Flow/AddActionToStep.php +++ b/app/Services/Company/Adminland/Flow/AddActionToStep.php @@ -2,16 +2,14 @@ namespace App\Services\Company\Adminland\Flow; +use App\Models\Company\Action; use App\Models\Company\Step; use App\Services\BaseService; -use App\Models\Company\Action; class AddActionToStep extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Add an action to a step. - * - * @param array $data - * - * @return Action */ public function execute(array $data): Action { diff --git a/app/Services/Company/Adminland/Flow/AddStepToFlow.php b/app/Services/Company/Adminland/Flow/AddStepToFlow.php index a4af6a529..d409d4af0 100644 --- a/app/Services/Company/Adminland/Flow/AddStepToFlow.php +++ b/app/Services/Company/Adminland/Flow/AddStepToFlow.php @@ -11,8 +11,6 @@ class AddStepToFlow extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -42,10 +40,6 @@ public function rules(): array /** * Add a step to a flow. - * - * @param array $data - * - * @return Step */ public function execute(array $data): Step { diff --git a/app/Services/Company/Adminland/Flow/CreateFlow.php b/app/Services/Company/Adminland/Flow/CreateFlow.php index 73770ea4a..271719f3e 100644 --- a/app/Services/Company/Adminland/Flow/CreateFlow.php +++ b/app/Services/Company/Adminland/Flow/CreateFlow.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Flow; -use Carbon\Carbon; -use App\Models\Company\Flow; use App\Jobs\LogAccountAudit; +use App\Models\Company\Flow; use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Validation\Rule; class CreateFlow extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -41,10 +39,6 @@ public function rules(): array /** * Create a flow. - * - * @param array $data - * - * @return Flow */ public function execute(array $data): Flow { diff --git a/app/Services/Company/Adminland/Flow/RemoveActionFromStep.php b/app/Services/Company/Adminland/Flow/RemoveActionFromStep.php index 6b2868679..74abc10cb 100644 --- a/app/Services/Company/Adminland/Flow/RemoveActionFromStep.php +++ b/app/Services/Company/Adminland/Flow/RemoveActionFromStep.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Flow; +use App\Models\Company\Action; use App\Models\Company\Flow; use App\Models\Company\Step; use App\Services\BaseService; -use App\Models\Company\Action; class RemoveActionFromStep extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Remove an action from a given step. - * - * @param array $data - * - * @return Step */ public function execute(array $data): Step { diff --git a/app/Services/Company/Adminland/Flow/RemoveStepFromFlow.php b/app/Services/Company/Adminland/Flow/RemoveStepFromFlow.php index 4a935d37f..a4030dd22 100644 --- a/app/Services/Company/Adminland/Flow/RemoveStepFromFlow.php +++ b/app/Services/Company/Adminland/Flow/RemoveStepFromFlow.php @@ -10,8 +10,6 @@ class RemoveStepFromFlow extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Remove a step from a given flow. - * - * @param array $data - * - * @return Flow */ public function execute(array $data): Flow { diff --git a/app/Services/Company/Adminland/Hardware/CreateHardware.php b/app/Services/Company/Adminland/Hardware/CreateHardware.php index 101606411..38327f0c0 100644 --- a/app/Services/Company/Adminland/Hardware/CreateHardware.php +++ b/app/Services/Company/Adminland/Hardware/CreateHardware.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Hardware; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Hardware; +use App\Services\BaseService; +use Carbon\Carbon; class CreateHardware extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Create a hardware. - * - * @param array $data - * - * @return Hardware */ public function execute(array $data): Hardware { diff --git a/app/Services/Company/Adminland/Hardware/DestroyHardware.php b/app/Services/Company/Adminland/Hardware/DestroyHardware.php index fa1d58850..227a37261 100644 --- a/app/Services/Company/Adminland/Hardware/DestroyHardware.php +++ b/app/Services/Company/Adminland/Hardware/DestroyHardware.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Hardware; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Hardware; use App\Models\Company\Position; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyHardware extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Destroy a position. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/Hardware/LendHardware.php b/app/Services/Company/Adminland/Hardware/LendHardware.php index b06ef3153..a4e10a609 100644 --- a/app/Services/Company/Adminland/Hardware/LendHardware.php +++ b/app/Services/Company/Adminland/Hardware/LendHardware.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Adminland\Hardware; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\Hardware; +use App\Services\BaseService; +use Carbon\Carbon; class LendHardware extends BaseService { @@ -14,8 +14,6 @@ class LendHardware extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +27,6 @@ public function rules(): array /** * Lend a piece of hardware to an employee. - * - * @param array $data - * @return Hardware */ public function execute(array $data): Hardware { @@ -58,9 +53,6 @@ public function execute(array $data): Hardware /** * Create an audit log. - * - * @param array $data - * @param Hardware $hardware */ private function log(array $data, Hardware $hardware): void { diff --git a/app/Services/Company/Adminland/Hardware/RegainHardware.php b/app/Services/Company/Adminland/Hardware/RegainHardware.php index 7c1c07a64..ae48df176 100644 --- a/app/Services/Company/Adminland/Hardware/RegainHardware.php +++ b/app/Services/Company/Adminland/Hardware/RegainHardware.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Adminland\Hardware; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\Hardware; +use App\Services\BaseService; +use Carbon\Carbon; class RegainHardware extends BaseService { @@ -14,8 +14,6 @@ class RegainHardware extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,9 +26,6 @@ public function rules(): array /** * Lend a piece of hardware to an employee. - * - * @param array $data - * @return Hardware */ public function execute(array $data): Hardware { @@ -57,9 +52,6 @@ public function execute(array $data): Hardware /** * Create an audit log. - * - * @param array $data - * @param Hardware $hardware */ private function log(array $data, Hardware $hardware): void { diff --git a/app/Services/Company/Adminland/Hardware/UpdateHardware.php b/app/Services/Company/Adminland/Hardware/UpdateHardware.php index 3b1709eae..3f488fdbf 100644 --- a/app/Services/Company/Adminland/Hardware/UpdateHardware.php +++ b/app/Services/Company/Adminland/Hardware/UpdateHardware.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Hardware; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Hardware; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateHardware extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Update a hardware. - * - * @param array $data - * - * @return Hardware */ public function execute(array $data): Hardware { diff --git a/app/Services/Company/Adminland/JobOpening/AddFileToCandidate.php b/app/Services/Company/Adminland/JobOpening/AddFileToCandidate.php index 23ce88106..065c92f28 100644 --- a/app/Services/Company/Adminland/JobOpening/AddFileToCandidate.php +++ b/app/Services/Company/Adminland/JobOpening/AddFileToCandidate.php @@ -2,20 +2,20 @@ namespace App\Services\Company\Adminland\JobOpening; +use App\Models\Company\Candidate; use App\Models\Company\File; use App\Services\BaseService; -use App\Models\Company\Candidate; class AddFileToCandidate extends BaseService { protected array $data; + protected Candidate $candidate; + protected File $file; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,9 +28,6 @@ public function rules(): array /** * Add the given file to the candidate. - * - * @param array $data - * @return File */ public function execute(array $data): File { diff --git a/app/Services/Company/Adminland/JobOpening/CreateCandidate.php b/app/Services/Company/Adminland/JobOpening/CreateCandidate.php index 4c5fcbbc5..0f1fcc0c7 100644 --- a/app/Services/Company/Adminland/JobOpening/CreateCandidate.php +++ b/app/Services/Company/Adminland/JobOpening/CreateCandidate.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Adminland\JobOpening; -use Illuminate\Support\Str; -use App\Services\BaseService; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; use App\Models\Company\CandidateStage; +use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Illuminate\Support\Str; class CreateCandidate extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +34,6 @@ public function rules(): array /** * Create a candidate. - * - * @param array $data - * @return Candidate */ public function execute(array $data): Candidate { diff --git a/app/Services/Company/Adminland/JobOpening/CreateCandidateStageNote.php b/app/Services/Company/Adminland/JobOpening/CreateCandidateStageNote.php index d2f48752b..be4c94e49 100644 --- a/app/Services/Company/Adminland/JobOpening/CreateCandidateStageNote.php +++ b/app/Services/Company/Adminland/JobOpening/CreateCandidateStageNote.php @@ -2,29 +2,32 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\DB; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class CreateCandidateStageNote extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; + protected CandidateStage $candidateStage; + protected CandidateStageNote $candidateStageNote; + protected bool $isParticipant; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -40,9 +43,6 @@ public function rules(): array /** * Write a note for the given candidate stage. - * - * @param array $data - * @return CandidateStageNote */ public function execute(array $data): CandidateStageNote { diff --git a/app/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipant.php b/app/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipant.php index fde378a9b..e2dbc8efd 100644 --- a/app/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipant.php +++ b/app/Services/Company/Adminland/JobOpening/CreateCandidateStageParticipant.php @@ -2,30 +2,33 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\DB; use App\Models\Company\CandidateStage; -use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\CandidateStageParticipant; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class CreateCandidateStageParticipant extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; + protected Employee $participant; + protected CandidateStage $candidateStage; + protected CandidateStageParticipant $candidateStageParticipant; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -41,9 +44,6 @@ public function rules(): array /** * Add a participant to the candidate stage. - * - * @param array $data - * @return CandidateStageParticipant */ public function execute(array $data): CandidateStageParticipant { diff --git a/app/Services/Company/Adminland/JobOpening/CreateJobOpening.php b/app/Services/Company/Adminland/JobOpening/CreateJobOpening.php index 8e9c51215..dcfe60303 100644 --- a/app/Services/Company/Adminland/JobOpening/CreateJobOpening.php +++ b/app/Services/Company/Adminland/JobOpening/CreateJobOpening.php @@ -2,28 +2,29 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; -use Illuminate\Support\Str; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\JobOpening; +use App\Models\Company\Position; use App\Models\Company\RecruitingStageTemplate; +use App\Models\Company\Team; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Str; class CreateJobOpening extends BaseService { protected array $data; + protected Position $position; + protected JobOpening $jobOpening; + protected Team $team; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -42,9 +43,6 @@ public function rules(): array /** * Create a job opening. - * - * @param array $data - * @return JobOpening */ public function execute(array $data): JobOpening { diff --git a/app/Services/Company/Adminland/JobOpening/CreateRecruitingStage.php b/app/Services/Company/Adminland/JobOpening/CreateRecruitingStage.php index 8ce5919c5..cca0e8928 100644 --- a/app/Services/Company/Adminland/JobOpening/CreateRecruitingStage.php +++ b/app/Services/Company/Adminland/JobOpening/CreateRecruitingStage.php @@ -2,23 +2,24 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\RecruitingStage; use App\Models\Company\RecruitingStageTemplate; +use App\Services\BaseService; +use Carbon\Carbon; class CreateRecruitingStage extends BaseService { private array $data; + private int $position; + private RecruitingStage $recruitingStage; + private RecruitingStageTemplate $template; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +33,6 @@ public function rules(): array /** * Create a recruiting stage. - * - * @param array $data - * @return RecruitingStage */ public function execute(array $data): RecruitingStage { diff --git a/app/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplate.php b/app/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplate.php index fe8bc81a6..1b5467f8e 100644 --- a/app/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplate.php +++ b/app/Services/Company/Adminland/JobOpening/CreateRecruitingStageTemplate.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\RecruitingStageTemplate; +use App\Services\BaseService; +use Carbon\Carbon; class CreateRecruitingStageTemplate extends BaseService { private array $data; + private RecruitingStageTemplate $template; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,9 +27,6 @@ public function rules(): array /** * Create a recruiting stage template. - * - * @param array $data - * @return RecruitingStageTemplate */ public function execute(array $data): RecruitingStageTemplate { diff --git a/app/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcess.php b/app/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcess.php index d177f6227..fe00598bf 100644 --- a/app/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcess.php +++ b/app/Services/Company/Adminland/JobOpening/DestroyCandidateDuringApplicationProcess.php @@ -2,16 +2,14 @@ namespace App\Services\Company\Adminland\JobOpening; -use App\Services\BaseService; use App\Models\Company\Candidate; use App\Models\Company\JobOpening; +use App\Services\BaseService; class DestroyCandidateDuringApplicationProcess extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,9 +22,6 @@ public function rules(): array /** * Destroy a candidate. - * - * @param array $data - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcess.php b/app/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcess.php index ac14b27c9..1dcfba208 100644 --- a/app/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcess.php +++ b/app/Services/Company/Adminland/JobOpening/DestroyCandidateFileDuringApplicationProcess.php @@ -2,20 +2,20 @@ namespace App\Services\Company\Adminland\JobOpening; +use App\Models\Company\Candidate; use App\Models\Company\File; use App\Services\BaseService; -use App\Models\Company\Candidate; class DestroyCandidateFileDuringApplicationProcess extends BaseService { protected array $data; + protected Candidate $candidate; + protected File $file; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +28,6 @@ public function rules(): array /** * Destroy a file that belongs to a candidate during the interview process. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageNote.php b/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageNote.php index 63880b02a..9c1b4c4d8 100644 --- a/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageNote.php +++ b/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageNote.php @@ -2,29 +2,32 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyCandidateStageNote extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; + protected Employee $participant; + protected CandidateStage $candidateStage; + protected CandidateStageNote $candidateStageNote; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -40,8 +43,6 @@ public function rules(): array /** * Remove a note from the candidate stage. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipant.php b/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipant.php index e11ab0b36..b5cc91a72 100644 --- a/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipant.php +++ b/app/Services/Company/Adminland/JobOpening/DestroyCandidateStageParticipant.php @@ -2,30 +2,33 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\DB; use App\Models\Company\CandidateStage; -use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\CandidateStageParticipant; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class DestroyCandidateStageParticipant extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; + protected Employee $participant; + protected CandidateStage $candidateStage; + protected CandidateStageParticipant $candidateStageParticipant; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -41,8 +44,6 @@ public function rules(): array /** * Remove a participant from the candidate stage. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/JobOpening/DestroyJobOpening.php b/app/Services/Company/Adminland/JobOpening/DestroyJobOpening.php index 3310cc875..729a430be 100644 --- a/app/Services/Company/Adminland/JobOpening/DestroyJobOpening.php +++ b/app/Services/Company/Adminland/JobOpening/DestroyJobOpening.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyJobOpening extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,9 +23,6 @@ public function rules(): array /** * Destroy a job opening. - * - * @param array $data - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStage.php b/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStage.php index 11e7ba526..83fcaf472 100644 --- a/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStage.php +++ b/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStage.php @@ -2,23 +2,24 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\RecruitingStage; use App\Models\Company\RecruitingStageTemplate; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyRecruitingStage extends BaseService { protected array $data; + protected RecruitingStage $recruitingStage; + private RecruitingStageTemplate $template; + protected int $startPosition; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +33,6 @@ public function rules(): array /** * Delete a recruiting stage. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTemplate.php b/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTemplate.php index b99988333..99e7518ec 100644 --- a/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTemplate.php +++ b/app/Services/Company/Adminland/JobOpening/DestroyRecruitingStageTemplate.php @@ -2,21 +2,21 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\RecruitingStageTemplate; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyRecruitingStageTemplate extends BaseService { protected array $data; + protected RecruitingStageTemplate $template; + protected int $startPosition; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +29,6 @@ public function rules(): array /** * Delete a recruiting stage template. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/JobOpening/HireCandidate.php b/app/Services/Company/Adminland/JobOpening/HireCandidate.php index 7c19dbf9c..ebccd157b 100644 --- a/app/Services/Company/Adminland/JobOpening/HireCandidate.php +++ b/app/Services/Company/Adminland/JobOpening/HireCandidate.php @@ -2,28 +2,30 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\Candidate; +use App\Models\Company\Employee; use App\Models\Company\JobOpening; -use App\Services\Company\Employee\Team\AddEmployeeToTeam; -use App\Services\Company\Employee\HiringDate\SetHiringDate; +use App\Services\BaseService; use App\Services\Company\Adminland\Employee\AddEmployeeToCompany; +use App\Services\Company\Employee\HiringDate\SetHiringDate; +use App\Services\Company\Employee\Team\AddEmployeeToTeam; +use Carbon\Carbon; class HireCandidate extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; + protected Employee $employee; + protected Carbon $hiredAt; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -44,9 +46,6 @@ public function rules(): array * - create the employee, * - mark the job opening as fulfilled * - deactivate the job opening. - * - * @param array $data - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Adminland/JobOpening/ProcessCandidateStage.php b/app/Services/Company/Adminland/JobOpening/ProcessCandidateStage.php index 89c1d3a33..2d176b52c 100644 --- a/app/Services/Company/Adminland/JobOpening/ProcessCandidateStage.php +++ b/app/Services/Company/Adminland/JobOpening/ProcessCandidateStage.php @@ -2,26 +2,27 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\Candidate; +use App\Models\Company\CandidateStage; +use App\Models\Company\Employee; use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Support\Facades\DB; -use App\Models\Company\CandidateStage; class ProcessCandidateStage extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; + protected CandidateStage $candidateStage; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -41,9 +42,6 @@ public function rules(): array * --> If it passes, the candidate goes to the next stage, if it exists. If it * doesn't exist, the candidate has won the job opening. * --> If it fails, the candidate is marked as rejected. - * - * @param array $data - * @return CandidateStage */ public function execute(array $data): CandidateStage { diff --git a/app/Services/Company/Adminland/JobOpening/ToggleJobOpening.php b/app/Services/Company/Adminland/JobOpening/ToggleJobOpening.php index 74c7814fa..9b5f19e15 100644 --- a/app/Services/Company/Adminland/JobOpening/ToggleJobOpening.php +++ b/app/Services/Company/Adminland/JobOpening/ToggleJobOpening.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; class ToggleJobOpening extends BaseService { protected array $data; + protected JobOpening $opening; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,9 +27,6 @@ public function rules(): array /** * Toggle the job opening. - * - * @param array $data - * @return JobOpening */ public function execute(array $data): JobOpening { diff --git a/app/Services/Company/Adminland/JobOpening/UpdateCandidateStageNote.php b/app/Services/Company/Adminland/JobOpening/UpdateCandidateStageNote.php index 802eefbce..41b959eab 100644 --- a/app/Services/Company/Adminland/JobOpening/UpdateCandidateStageNote.php +++ b/app/Services/Company/Adminland/JobOpening/UpdateCandidateStageNote.php @@ -2,29 +2,32 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\Candidate; -use App\Models\Company\JobOpening; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Employee; +use App\Models\Company\JobOpening; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateCandidateStageNote extends BaseService { protected array $data; + protected JobOpening $jobOpening; + protected Candidate $candidate; + protected Employee $participant; + protected CandidateStage $candidateStage; + protected CandidateStageNote $candidateStageNote; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -41,9 +44,6 @@ public function rules(): array /** * Update a note from the candidate stage. - * - * @param array $data - * @return CandidateStageNote */ public function execute(array $data): CandidateStageNote { diff --git a/app/Services/Company/Adminland/JobOpening/UpdateJobOpening.php b/app/Services/Company/Adminland/JobOpening/UpdateJobOpening.php index 7f6ca0b0f..97e8ce0c0 100644 --- a/app/Services/Company/Adminland/JobOpening/UpdateJobOpening.php +++ b/app/Services/Company/Adminland/JobOpening/UpdateJobOpening.php @@ -2,29 +2,30 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; -use Illuminate\Support\Str; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\JobOpening; -use Illuminate\Support\Facades\DB; +use App\Models\Company\Position; use App\Models\Company\RecruitingStageTemplate; +use App\Models\Company\Team; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Support\Facades\DB; +use Illuminate\Support\Str; class UpdateJobOpening extends BaseService { protected array $data; + protected Position $position; + protected JobOpening $jobOpening; + protected Team $team; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -44,9 +45,6 @@ public function rules(): array /** * Edit a job opening. - * - * @param array $data - * @return JobOpening */ public function execute(array $data): JobOpening { diff --git a/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStage.php b/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStage.php index 4cb40b66e..15ea03f60 100644 --- a/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStage.php +++ b/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStage.php @@ -2,23 +2,24 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\RecruitingStage; use App\Models\Company\RecruitingStageTemplate; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateRecruitingStage extends BaseService { protected array $data; + protected RecruitingStage $recruitingStage; + protected int $startPosition; + protected int $endPosition; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +35,6 @@ public function rules(): array /** * Update a recruiting stage. - * - * @param array $data - * @return RecruitingStage */ public function execute(array $data): RecruitingStage { diff --git a/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplate.php b/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplate.php index fd5de1f6f..d4e7e055d 100644 --- a/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplate.php +++ b/app/Services/Company/Adminland/JobOpening/UpdateRecruitingStageTemplate.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\JobOpening; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\RecruitingStageTemplate; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateRecruitingStageTemplate extends BaseService { protected array $data; + protected RecruitingStageTemplate $template; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +28,6 @@ public function rules(): array /** * Update a recruiting stage template. - * - * @param array $data - * @return RecruitingStageTemplate */ public function execute(array $data): RecruitingStageTemplate { diff --git a/app/Services/Company/Adminland/Position/CreatePosition.php b/app/Services/Company/Adminland/Position/CreatePosition.php index b1f3774db..0b21671ce 100644 --- a/app/Services/Company/Adminland/Position/CreatePosition.php +++ b/app/Services/Company/Adminland/Position/CreatePosition.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Position; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Position; +use App\Services\BaseService; +use Carbon\Carbon; class CreatePosition extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Create a position. - * - * @param array $data - * - * @return Position */ public function execute(array $data): Position { diff --git a/app/Services/Company/Adminland/Position/DestroyPosition.php b/app/Services/Company/Adminland/Position/DestroyPosition.php index 5323257ab..ec981d02d 100644 --- a/app/Services/Company/Adminland/Position/DestroyPosition.php +++ b/app/Services/Company/Adminland/Position/DestroyPosition.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Position; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Position; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyPosition extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Destroy a position. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/Position/UpdatePosition.php b/app/Services/Company/Adminland/Position/UpdatePosition.php index 0a89d797e..ca422eacb 100644 --- a/app/Services/Company/Adminland/Position/UpdatePosition.php +++ b/app/Services/Company/Adminland/Position/UpdatePosition.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Position; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Position; +use App\Services\BaseService; +use Carbon\Carbon; class UpdatePosition extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Update a position. - * - * @param array $data - * - * @return Position */ public function execute(array $data): Position { diff --git a/app/Services/Company/Adminland/Question/ActivateQuestion.php b/app/Services/Company/Adminland/Question/ActivateQuestion.php index 0778eaf0f..65d9919e2 100644 --- a/app/Services/Company/Adminland/Question/ActivateQuestion.php +++ b/app/Services/Company/Adminland/Question/ActivateQuestion.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Question; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Question; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class ActivateQuestion extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,11 +25,8 @@ public function rules(): array /** * Activate a question. * - * @param array $data * * @throws NotEnoughPermissionException - * - * @return Question */ public function execute(array $data): Question { @@ -62,8 +57,6 @@ public function execute(array $data): Question /** * Mark all the other questions as inactive. - * - * @param Question $question */ private function disableAllOtherQuestions(Question $question): void { @@ -82,9 +75,6 @@ private function disableAllOtherQuestions(Question $question): void /** * Create an audit log. - * - * @param array $data - * @param Question $question */ private function log(array $data, Question $question): void { diff --git a/app/Services/Company/Adminland/Question/CreateQuestion.php b/app/Services/Company/Adminland/Question/CreateQuestion.php index 25e19c4b3..fdb784b9f 100644 --- a/app/Services/Company/Adminland/Question/CreateQuestion.php +++ b/app/Services/Company/Adminland/Question/CreateQuestion.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Question; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Question; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class CreateQuestion extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,11 +27,8 @@ public function rules(): array * Create a question. * Only one question can be active at a time. * - * @param array $data * * @throws NotEnoughPermissionException - * - * @return Question */ public function execute(array $data): Question { diff --git a/app/Services/Company/Adminland/Question/DeactivateQuestion.php b/app/Services/Company/Adminland/Question/DeactivateQuestion.php index 0c1e7e3c3..1022863d2 100644 --- a/app/Services/Company/Adminland/Question/DeactivateQuestion.php +++ b/app/Services/Company/Adminland/Question/DeactivateQuestion.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Question; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Question; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class DeactivateQuestion extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,11 +25,8 @@ public function rules(): array /** * Deactivate a question. * - * @param array $data * * @throws NotEnoughPermissionException - * - * @return Question */ public function execute(array $data): Question { @@ -59,9 +54,6 @@ public function execute(array $data): Question /** * Create an audit log. - * - * @param array $data - * @param Question $question */ private function log(array $data, Question $question): void { diff --git a/app/Services/Company/Adminland/Question/DestroyQuestion.php b/app/Services/Company/Adminland/Question/DestroyQuestion.php index 6a2c3105e..7717d4828 100644 --- a/app/Services/Company/Adminland/Question/DestroyQuestion.php +++ b/app/Services/Company/Adminland/Question/DestroyQuestion.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Question; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Question; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyQuestion extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Destroy a question. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/Question/UpdateQuestion.php b/app/Services/Company/Adminland/Question/UpdateQuestion.php index 6dc252ca9..6e46b5117 100644 --- a/app/Services/Company/Adminland/Question/UpdateQuestion.php +++ b/app/Services/Company/Adminland/Question/UpdateQuestion.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Adminland\Question; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Question; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateQuestion extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,11 +27,8 @@ public function rules(): array /** * Update a question. * - * @param array $data * * @throws NotEnoughPermissionException - * - * @return Question */ public function execute(array $data): Question { diff --git a/app/Services/Company/Adminland/Software/AddFileToSoftware.php b/app/Services/Company/Adminland/Software/AddFileToSoftware.php index 6f0ad14ee..c8a97af1a 100644 --- a/app/Services/Company/Adminland/Software/AddFileToSoftware.php +++ b/app/Services/Company/Adminland/Software/AddFileToSoftware.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; +use App\Models\Company\File; use App\Models\Company\Software; +use App\Services\BaseService; +use Carbon\Carbon; class AddFileToSoftware extends BaseService { protected array $data; + protected Software $software; + protected File $file; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,9 +31,6 @@ public function rules(): array /** * Add the given file to the software. - * - * @param array $data - * @return File */ public function execute(array $data): File { diff --git a/app/Services/Company/Adminland/Software/CreateSoftware.php b/app/Services/Company/Adminland/Software/CreateSoftware.php index e88db32bc..1d3d4e5e3 100644 --- a/app/Services/Company/Adminland/Software/CreateSoftware.php +++ b/app/Services/Company/Adminland/Software/CreateSoftware.php @@ -2,21 +2,20 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; +use App\Jobs\ConvertSoftwarePurchase; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Software; -use App\Jobs\ConvertSoftwarePurchase; +use App\Services\BaseService; +use Carbon\Carbon; class CreateSoftware extends BaseService { protected array $data; + protected Software $software; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,9 +37,6 @@ public function rules(): array /** * Create a software. - * - * @param array $data - * @return Software */ public function execute(array $data): Software { diff --git a/app/Services/Company/Adminland/Software/DestroySoftware.php b/app/Services/Company/Adminland/Software/DestroySoftware.php index 45231cf0e..4682dde7a 100644 --- a/app/Services/Company/Adminland/Software/DestroySoftware.php +++ b/app/Services/Company/Adminland/Software/DestroySoftware.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Software; +use App\Services\BaseService; +use Carbon\Carbon; class DestroySoftware extends BaseService { protected array $data; + protected Software $software; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +27,6 @@ public function rules(): array /** * Destroy a software. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/Software/DestroySoftwareFile.php b/app/Services/Company/Adminland/Software/DestroySoftwareFile.php index 4396e2a0d..7e8666df1 100644 --- a/app/Services/Company/Adminland/Software/DestroySoftwareFile.php +++ b/app/Services/Company/Adminland/Software/DestroySoftwareFile.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; +use App\Models\Company\File; use App\Models\Company\Software; +use App\Services\BaseService; +use Carbon\Carbon; class DestroySoftwareFile extends BaseService { protected array $data; + protected File $file; + protected Software $software; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +31,6 @@ public function rules(): array /** * Destroy a file associated with the software. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Adminland/Software/GiveSeatToEmployee.php b/app/Services/Company/Adminland/Software/GiveSeatToEmployee.php index affae10be..47ca85a63 100644 --- a/app/Services/Company/Adminland/Software/GiveSeatToEmployee.php +++ b/app/Services/Company/Adminland/Software/GiveSeatToEmployee.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\BaseService; +use Carbon\Carbon; class GiveSeatToEmployee extends BaseService { protected array $data; + protected Employee $employee; + protected Software $software; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +33,6 @@ public function rules(): array /** * Give a copy of a software to an employee. - * - * @param array $data - * @return Software */ public function execute(array $data): Software { diff --git a/app/Services/Company/Adminland/Software/GiveSeatToEveryEmployee.php b/app/Services/Company/Adminland/Software/GiveSeatToEveryEmployee.php index 3befb490d..f0f98841b 100644 --- a/app/Services/Company/Adminland/Software/GiveSeatToEveryEmployee.php +++ b/app/Services/Company/Adminland/Software/GiveSeatToEveryEmployee.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\BaseService; +use Carbon\Carbon; class GiveSeatToEveryEmployee extends BaseService { protected array $data; + protected Employee $employee; + protected Software $software; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,9 +31,6 @@ public function rules(): array /** * Give a copy of a software to every employee in the company who doesn't * have it already. - * - * @param array $data - * @return Software */ public function execute(array $data): Software { diff --git a/app/Services/Company/Adminland/Software/TakeSeatFromEmployee.php b/app/Services/Company/Adminland/Software/TakeSeatFromEmployee.php index 82f6ba421..f6750092e 100644 --- a/app/Services/Company/Adminland/Software/TakeSeatFromEmployee.php +++ b/app/Services/Company/Adminland/Software/TakeSeatFromEmployee.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\Software; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Support\Facades\DB; class TakeSeatFromEmployee extends BaseService { protected array $data; + protected Employee $employee; + protected Software $software; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +32,6 @@ public function rules(): array /** * Take a software seat from an employee, which frees up one license. - * - * @param array $data - * @return Software */ public function execute(array $data): Software { diff --git a/app/Services/Company/Adminland/Software/UpdateSoftware.php b/app/Services/Company/Adminland/Software/UpdateSoftware.php index 2b28d3dd0..ee47a368d 100644 --- a/app/Services/Company/Adminland/Software/UpdateSoftware.php +++ b/app/Services/Company/Adminland/Software/UpdateSoftware.php @@ -2,21 +2,20 @@ namespace App\Services\Company\Adminland\Software; -use Carbon\Carbon; +use App\Jobs\ConvertSoftwarePurchase; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Software; -use App\Jobs\ConvertSoftwarePurchase; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateSoftware extends BaseService { protected array $data; + protected Software $software; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,9 +38,6 @@ public function rules(): array /** * Update a software. - * - * @param array $data - * @return Software */ public function execute(array $data): Software { diff --git a/app/Services/Company/Adminland/Team/CreateTeam.php b/app/Services/Company/Adminland/Team/CreateTeam.php index 22a5ba93d..7921106d5 100644 --- a/app/Services/Company/Adminland/Team/CreateTeam.php +++ b/app/Services/Company/Adminland/Team/CreateTeam.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Adminland\Team; -use Carbon\Carbon; +use App\Exceptions\TeamNameNotUniqueException; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; -use App\Exceptions\TeamNameNotUniqueException; +use Carbon\Carbon; class CreateTeam extends BaseService { @@ -15,8 +15,6 @@ class CreateTeam extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,10 +27,6 @@ public function rules(): array /** * Create a team. - * - * @param array $data - * - * @return Team */ public function execute(array $data): Team { @@ -54,8 +48,6 @@ public function execute(array $data): Team /** * Make sure the team's name is unique in the company. - * - * @param array $data */ private function verifyTeamNameUniqueness(array $data): void { @@ -74,8 +66,6 @@ private function verifyTeamNameUniqueness(array $data): void /** * Create the team. - * - * @param array $data */ private function create(array $data): void { @@ -87,8 +77,6 @@ private function create(array $data): void /** * Add audit logs. - * - * @param array $data */ private function log(array $data): void { diff --git a/app/Services/Company/Adminland/Team/DestroyTeam.php b/app/Services/Company/Adminland/Team/DestroyTeam.php index 4a0711059..10db8b38a 100644 --- a/app/Services/Company/Adminland/Team/DestroyTeam.php +++ b/app/Services/Company/Adminland/Team/DestroyTeam.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\Team; -use Carbon\Carbon; -use App\Models\Company\Team; use App\Jobs\LogAccountAudit; +use App\Models\Company\Team; use App\Services\BaseService; +use Carbon\Carbon; class DestroyTeam extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Destroy a team. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Adminland/Team/UpdateTeam.php b/app/Services/Company/Adminland/Team/UpdateTeam.php index 90e0e2433..f9b507c34 100644 --- a/app/Services/Company/Adminland/Team/UpdateTeam.php +++ b/app/Services/Company/Adminland/Team/UpdateTeam.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Adminland\Team; -use Carbon\Carbon; +use App\Exceptions\TeamNameNotUniqueException; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; -use App\Exceptions\TeamNameNotUniqueException; +use Carbon\Carbon; class UpdateTeam extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Update a team. - * - * @param array $data - * - * @return Team */ public function execute(array $data): Team { @@ -59,8 +53,6 @@ public function execute(array $data): Team /** * Make sure the team's name is unique in the company. - * - * @param array $data */ private function verifyTeamNameUniqueness(array $data): void { @@ -79,9 +71,6 @@ private function verifyTeamNameUniqueness(array $data): void /** * Add audit logs. - * - * @param array $data - * @param string $oldName */ private function log(array $data, string $oldName): void { diff --git a/app/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcess.php b/app/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcess.php index 74cb435ce..30957cb29 100644 --- a/app/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcess.php +++ b/app/Services/Company/Adminland/WorkFromHome/ToggleWorkFromHomeProcess.php @@ -2,17 +2,15 @@ namespace App\Services\Company\Adminland\WorkFromHome; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Company; +use App\Services\BaseService; +use Carbon\Carbon; class ToggleWorkFromHomeProcess extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,9 +22,6 @@ public function rules(): array /** * Toggle the work from home process in the company. - * - * @param array $data - * @return Company */ public function execute(array $data): Company { diff --git a/app/Services/Company/Employee/Answer/CreateAnswer.php b/app/Services/Company/Employee/Answer/CreateAnswer.php index 0ffc35f0d..aa32a3bd6 100644 --- a/app/Services/Company/Employee/Answer/CreateAnswer.php +++ b/app/Services/Company/Employee/Answer/CreateAnswer.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Employee\Answer; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Answer; use App\Models\Company\Question; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class CreateAnswer extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,11 +30,8 @@ public function rules(): array * Create an answer. * There should be only one answer per question. * - * @param array $data * * @throws NotEnoughPermissionException - * - * @return Answer */ public function execute(array $data): Answer { diff --git a/app/Services/Company/Employee/Answer/DestroyAnswer.php b/app/Services/Company/Employee/Answer/DestroyAnswer.php index bf865030a..cead8f89d 100644 --- a/app/Services/Company/Employee/Answer/DestroyAnswer.php +++ b/app/Services/Company/Employee/Answer/DestroyAnswer.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Employee\Answer; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Answer; use App\Models\Company\Question; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyAnswer extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Destroy an answer. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Employee/Answer/UpdateAnswer.php b/app/Services/Company/Employee/Answer/UpdateAnswer.php index e585ecb89..7f85f2531 100644 --- a/app/Services/Company/Employee/Answer/UpdateAnswer.php +++ b/app/Services/Company/Employee/Answer/UpdateAnswer.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Employee\Answer; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Answer; use App\Models\Company\Question; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateAnswer extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,11 +29,8 @@ public function rules(): array /** * Update an answer. * - * @param array $data * * @throws NotEnoughPermissionException - * - * @return Answer */ public function execute(array $data): Answer { diff --git a/app/Services/Company/Employee/Birthdate/SetBirthdate.php b/app/Services/Company/Employee/Birthdate/SetBirthdate.php index 527764df7..e83c7c344 100644 --- a/app/Services/Company/Employee/Birthdate/SetBirthdate.php +++ b/app/Services/Company/Employee/Birthdate/SetBirthdate.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Employee\Birthdate; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; class SetBirthdate extends BaseService diff --git a/app/Services/Company/Employee/ConsultantRate/DestroyConsultantRate.php b/app/Services/Company/Employee/ConsultantRate/DestroyConsultantRate.php index c1a20d79d..d1d0746e1 100644 --- a/app/Services/Company/Employee/ConsultantRate/DestroyConsultantRate.php +++ b/app/Services/Company/Employee/ConsultantRate/DestroyConsultantRate.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Employee\ConsultantRate; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; use App\Models\Company\ConsultantRate; +use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyConsultantRate extends BaseService { diff --git a/app/Services/Company/Employee/ConsultantRate/SetConsultantRate.php b/app/Services/Company/Employee/ConsultantRate/SetConsultantRate.php index ac067bf23..408e85826 100644 --- a/app/Services/Company/Employee/ConsultantRate/SetConsultantRate.php +++ b/app/Services/Company/Employee/ConsultantRate/SetConsultantRate.php @@ -2,14 +2,14 @@ namespace App\Services\Company\Employee\ConsultantRate; -use Carbon\Carbon; +use App\Exceptions\NotConsultantException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; use App\Models\Company\ConsultantRate; +use App\Models\Company\Employee; use App\Models\Company\EmployeeStatus; -use App\Exceptions\NotConsultantException; +use App\Services\BaseService; +use Carbon\Carbon; class SetConsultantRate extends BaseService { diff --git a/app/Services/Company/Employee/Contract/SetContractRenewalDate.php b/app/Services/Company/Employee/Contract/SetContractRenewalDate.php index 27c4d0cd4..b379ab030 100644 --- a/app/Services/Company/Employee/Contract/SetContractRenewalDate.php +++ b/app/Services/Company/Employee/Contract/SetContractRenewalDate.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Employee\Contract; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; class SetContractRenewalDate extends BaseService diff --git a/app/Services/Company/Employee/Description/ClearPersonalDescription.php b/app/Services/Company/Employee/Description/ClearPersonalDescription.php index bf1a3a81a..924f9665a 100644 --- a/app/Services/Company/Employee/Description/ClearPersonalDescription.php +++ b/app/Services/Company/Employee/Description/ClearPersonalDescription.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Employee\Description; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class ClearPersonalDescription extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Clear an employee's description. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/Description/SetPersonalDescription.php b/app/Services/Company/Employee/Description/SetPersonalDescription.php index 6aece6c16..3b1cd7cb0 100644 --- a/app/Services/Company/Employee/Description/SetPersonalDescription.php +++ b/app/Services/Company/Employee/Description/SetPersonalDescription.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Employee\Description; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class SetPersonalDescription extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,10 +28,6 @@ public function rules(): array * The description should be saved as unparsed markdown content, and fetched * as unparsed markdown content. The UI is responsible for parsing and * displaying the proper content. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/DisciplineCase/CreateDisciplineCase.php b/app/Services/Company/Employee/DisciplineCase/CreateDisciplineCase.php index 08e10b74e..807aecef1 100644 --- a/app/Services/Company/Employee/DisciplineCase/CreateDisciplineCase.php +++ b/app/Services/Company/Employee/DisciplineCase/CreateDisciplineCase.php @@ -2,16 +2,14 @@ namespace App\Services\Company\Employee\DisciplineCase; -use App\Services\BaseService; -use App\Models\Company\Employee; use App\Models\Company\DisciplineCase; +use App\Models\Company\Employee; +use App\Services\BaseService; class CreateDisciplineCase extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,9 +22,6 @@ public function rules(): array /** * Create a discipline case. - * - * @param array $data - * @return DisciplineCase */ public function execute(array $data): DisciplineCase { diff --git a/app/Services/Company/Employee/DisciplineCase/CreateDisciplineEvent.php b/app/Services/Company/Employee/DisciplineCase/CreateDisciplineEvent.php index ecb24906a..b83ccf55c 100644 --- a/app/Services/Company/Employee/DisciplineCase/CreateDisciplineEvent.php +++ b/app/Services/Company/Employee/DisciplineCase/CreateDisciplineEvent.php @@ -2,16 +2,14 @@ namespace App\Services\Company\Employee\DisciplineCase; -use App\Services\BaseService; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; +use App\Services\BaseService; class CreateDisciplineEvent extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,9 +24,6 @@ public function rules(): array /** * Create a discipline case's event. - * - * @param array $data - * @return DisciplineEvent */ public function execute(array $data): DisciplineEvent { diff --git a/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineCase.php b/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineCase.php index b7c28024e..464e4e106 100644 --- a/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineCase.php +++ b/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineCase.php @@ -2,15 +2,13 @@ namespace App\Services\Company\Employee\DisciplineCase; -use App\Services\BaseService; use App\Models\Company\DisciplineCase; +use App\Services\BaseService; class DestroyDisciplineCase extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,9 +21,6 @@ public function rules(): array /** * Destroy a discipline case. - * - * @param array $data - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineEvent.php b/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineEvent.php index c4dd0248b..04ced5add 100644 --- a/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineEvent.php +++ b/app/Services/Company/Employee/DisciplineCase/DestroyDisciplineEvent.php @@ -2,16 +2,14 @@ namespace App\Services\Company\Employee\DisciplineCase; -use App\Services\BaseService; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; +use App\Services\BaseService; class DestroyDisciplineEvent extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,9 +23,6 @@ public function rules(): array /** * Destroy a discipline event. - * - * @param array $data - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Employee/DisciplineCase/ToggleDisciplineCase.php b/app/Services/Company/Employee/DisciplineCase/ToggleDisciplineCase.php index c29ce7282..d85b65860 100644 --- a/app/Services/Company/Employee/DisciplineCase/ToggleDisciplineCase.php +++ b/app/Services/Company/Employee/DisciplineCase/ToggleDisciplineCase.php @@ -2,15 +2,13 @@ namespace App\Services\Company\Employee\DisciplineCase; -use App\Services\BaseService; use App\Models\Company\DisciplineCase; +use App\Services\BaseService; class ToggleDisciplineCase extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,9 +21,6 @@ public function rules(): array /** * Toggle the discipline case. - * - * @param array $data - * @return DisciplineCase */ public function execute(array $data): DisciplineCase { diff --git a/app/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappened.php b/app/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappened.php index 9fbc6f089..410c2f535 100644 --- a/app/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappened.php +++ b/app/Services/Company/Employee/ECoffee/MarkECoffeeSessionAsHappened.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\ECoffee; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\ECoffee; -use App\Models\Company\Employee; use App\Models\Company\ECoffeeMatch; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class MarkECoffeeSessionAsHappened extends BaseService { diff --git a/app/Services/Company/Employee/ECoffee/MatchEmployeesForECoffee.php b/app/Services/Company/Employee/ECoffee/MatchEmployeesForECoffee.php index 06c40cba7..10b37a867 100644 --- a/app/Services/Company/Employee/ECoffee/MatchEmployeesForECoffee.php +++ b/app/Services/Company/Employee/ECoffee/MatchEmployeesForECoffee.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Employee\ECoffee; -use App\Services\BaseService; use App\Models\Company\Company; use App\Models\Company\ECoffee; use App\Models\Company\Employee; +use App\Services\BaseService; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; @@ -27,8 +27,6 @@ class MatchEmployeesForECoffee extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -45,8 +43,6 @@ public function rules(): array * and with the power of collections, we'll match them, and eventually, * we'll save all the associations in one update query - making it really * fast and efficient. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployee.php b/app/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployee.php index 94fa283d7..7faee5e6a 100644 --- a/app/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployee.php +++ b/app/Services/Company/Employee/EmployeeStatus/AssignEmployeeStatusToEmployee.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Employee\EmployeeStatus; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\EmployeeStatus; +use App\Services\BaseService; +use Carbon\Carbon; class AssignEmployeeStatusToEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Set an employee's status. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployee.php b/app/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployee.php index 7a0fdd2cf..b8bf3e76d 100644 --- a/app/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployee.php +++ b/app/Services/Company/Employee/EmployeeStatus/RemoveEmployeeStatusFromEmployee.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Employee\EmployeeStatus; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveEmployeeStatusFromEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ - public function rules():array + public function rules(): array { return [ 'company_id' => 'required|integer|exists:companies,id', @@ -26,12 +24,8 @@ public function rules():array /** * Remove an employee's status. - * - * @param array $data - * - * @return Employee */ - public function execute(array $data):Employee + public function execute(array $data): Employee { $this->validateRules($data); diff --git a/app/Services/Company/Employee/Expense/AcceptExpenseAsAccountant.php b/app/Services/Company/Employee/Expense/AcceptExpenseAsAccountant.php index 098980780..110e5684c 100644 --- a/app/Services/Company/Employee/Expense/AcceptExpenseAsAccountant.php +++ b/app/Services/Company/Employee/Expense/AcceptExpenseAsAccountant.php @@ -2,15 +2,15 @@ namespace App\Services\Company\Employee\Expense; -use Carbon\Carbon; -use ErrorException; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Expense; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; +use ErrorException; class AcceptExpenseAsAccountant extends BaseService { @@ -20,8 +20,6 @@ class AcceptExpenseAsAccountant extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +32,6 @@ public function rules(): array /** * Accept the expense as the accountant. - * - * @param array $data - * @return Expense */ public function execute(array $data): Expense { diff --git a/app/Services/Company/Employee/Expense/AcceptExpenseAsManager.php b/app/Services/Company/Employee/Expense/AcceptExpenseAsManager.php index 82c2f0d6d..26e9efe7c 100644 --- a/app/Services/Company/Employee/Expense/AcceptExpenseAsManager.php +++ b/app/Services/Company/Employee/Expense/AcceptExpenseAsManager.php @@ -2,15 +2,15 @@ namespace App\Services\Company\Employee\Expense; -use Carbon\Carbon; -use ErrorException; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Expense; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; +use ErrorException; class AcceptExpenseAsManager extends BaseService { @@ -20,8 +20,6 @@ class AcceptExpenseAsManager extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,9 +35,6 @@ public function rules(): array * An expense can also be accepted by someone with the accountant role - this * bypasses the requirement that the employee has to be the manager of the * expense. - * - * @param array $data - * @return Expense */ public function execute(array $data): Expense { diff --git a/app/Services/Company/Employee/Expense/CreateExpense.php b/app/Services/Company/Employee/Expense/CreateExpense.php index f46814c2e..99eb47829 100644 --- a/app/Services/Company/Employee/Expense/CreateExpense.php +++ b/app/Services/Company/Employee/Expense/CreateExpense.php @@ -2,29 +2,30 @@ namespace App\Services\Company\Employee\Expense; -use Carbon\Carbon; use App\Helpers\MoneyHelper; use App\Jobs\ConvertExpense; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; -use Illuminate\Support\Collection; +use App\Models\Company\Expense; use App\Models\Company\ExpenseCategory; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Collection; class CreateExpense extends BaseService { private Expense $expense; + private Employee $employee; + private array $data; + private Collection $managers; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -43,9 +44,6 @@ public function rules(): array /** * Create an expense. - * - * @param array $data - * @return Expense */ public function execute(array $data): Expense { diff --git a/app/Services/Company/Employee/Expense/DestroyExpense.php b/app/Services/Company/Employee/Expense/DestroyExpense.php index 338a6d5f7..a02c4c6c3 100644 --- a/app/Services/Company/Employee/Expense/DestroyExpense.php +++ b/app/Services/Company/Employee/Expense/DestroyExpense.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Employee\Expense; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Expense; use App\Models\Company\Employee; +use App\Models\Company\Expense; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyExpense extends BaseService { private array $data; + private Expense $expense; + private Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +32,6 @@ public function rules(): array /** * Destroy an expense. - * - * @param array $data - * @return bool */ public function execute(array $data): bool { @@ -42,6 +39,7 @@ public function execute(array $data): bool $this->validate(); $this->destroy(); $this->log(); + return true; } diff --git a/app/Services/Company/Employee/Expense/RejectExpenseAsAccountant.php b/app/Services/Company/Employee/Expense/RejectExpenseAsAccountant.php index 119effb4a..51048a7ea 100644 --- a/app/Services/Company/Employee/Expense/RejectExpenseAsAccountant.php +++ b/app/Services/Company/Employee/Expense/RejectExpenseAsAccountant.php @@ -2,15 +2,15 @@ namespace App\Services\Company\Employee\Expense; -use Carbon\Carbon; -use ErrorException; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Expense; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; +use ErrorException; class RejectExpenseAsAccountant extends BaseService { @@ -20,8 +20,6 @@ class RejectExpenseAsAccountant extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Reject the expense as the accountant of the company. - * - * @param array $data - * @return Expense */ public function execute(array $data): Expense { diff --git a/app/Services/Company/Employee/Expense/RejectExpenseAsManager.php b/app/Services/Company/Employee/Expense/RejectExpenseAsManager.php index 2c79e7f2d..d26dea838 100644 --- a/app/Services/Company/Employee/Expense/RejectExpenseAsManager.php +++ b/app/Services/Company/Employee/Expense/RejectExpenseAsManager.php @@ -2,15 +2,15 @@ namespace App\Services\Company\Employee\Expense; -use Carbon\Carbon; -use ErrorException; +use App\Exceptions\NotEnoughPermissionException; use App\Helpers\MoneyHelper; -use App\Jobs\NotifyEmployee; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Expense; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; +use ErrorException; class RejectExpenseAsManager extends BaseService { @@ -20,8 +20,6 @@ class RejectExpenseAsManager extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Reject the expense as the manager associated with the expense. - * - * @param array $data - * @return Expense */ public function execute(array $data): Expense { diff --git a/app/Services/Company/Employee/HiringDate/SetHiringDate.php b/app/Services/Company/Employee/HiringDate/SetHiringDate.php index f9105e975..69783fa84 100644 --- a/app/Services/Company/Employee/HiringDate/SetHiringDate.php +++ b/app/Services/Company/Employee/HiringDate/SetHiringDate.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Employee\HiringDate; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; class SetHiringDate extends BaseService diff --git a/app/Services/Company/Employee/Holiday/CreateTimeOff.php b/app/Services/Company/Employee/Holiday/CreateTimeOff.php index 780d7f618..d366a8fd4 100644 --- a/app/Services/Company/Employee/Holiday/CreateTimeOff.php +++ b/app/Services/Company/Employee/Holiday/CreateTimeOff.php @@ -2,22 +2,20 @@ namespace App\Services\Company\Employee\Holiday; -use Exception; -use Carbon\Carbon; -use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Helpers\HolidayHelper; +use App\Jobs\LogAccountAudit; use App\Jobs\LogEmployeeAudit; -use Illuminate\Validation\Rule; use App\Models\Company\Employee; use App\Models\Company\EmployeePlannedHoliday; +use App\Services\BaseService; +use Carbon\Carbon; +use Exception; +use Illuminate\Validation\Rule; class CreateTimeOff extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,11 +25,11 @@ public function rules(): array 'employee_id' => 'required|integer|exists:employees,id', 'date' => 'required|date_format:Y-m-d', 'type' => 'required', - Rule::in([ - 'holiday', - 'sick', - 'pto', - ]), + Rule::in([ + 'holiday', + 'sick', + 'pto', + ]), 'full' => 'required|boolean', ]; } @@ -44,7 +42,6 @@ public function rules(): array * wants to take. That means he can take one half day of sick day, and the * other half day as holiday, for instance. * - * @param array $data * * @return EmployeePlannedHoliday|string */ @@ -91,11 +88,6 @@ public function execute(array $data) /** * Get the planned holiday object for this date, if it already exists. - * - * @param Employee $employee - * @param Carbon $date - * - * @return EmployeePlannedHoliday|null */ private function getExistingPlannedHoliday(Employee $employee, Carbon $date): ?EmployeePlannedHoliday { @@ -111,11 +103,6 @@ private function getExistingPlannedHoliday(Employee $employee, Carbon $date): ?E /** * Validate wether we can create a new holiday. - * - * @param EmployeePlannedHoliday $holiday - * @param array $data - * - * @return bool */ private function validateCreationHoliday(EmployeePlannedHoliday $holiday, array $data): bool { @@ -135,11 +122,6 @@ private function validateCreationHoliday(EmployeePlannedHoliday $holiday, array /** * Create a new planned holiday. - * - * @param array $data - * @param Carbon $date - * - * @return EmployeePlannedHoliday */ private function createPlannedHoliday(array $data, Carbon $date): EmployeePlannedHoliday { @@ -153,9 +135,6 @@ private function createPlannedHoliday(array $data, Carbon $date): EmployeePlanne /** * Create the audit logs. - * - * @param Employee $employee - * @param EmployeePlannedHoliday $plannedHoliday */ private function createLogs(Employee $employee, EmployeePlannedHoliday $plannedHoliday): void { diff --git a/app/Services/Company/Employee/Holiday/DestroyTimeOff.php b/app/Services/Company/Employee/Holiday/DestroyTimeOff.php index 97ff9f007..3a7c9b840 100644 --- a/app/Services/Company/Employee/Holiday/DestroyTimeOff.php +++ b/app/Services/Company/Employee/Holiday/DestroyTimeOff.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Employee\Holiday; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\EmployeePlannedHoliday; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyTimeOff extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Destroy a planned holiday. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalance.php b/app/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalance.php index 510b73c70..ee55e7325 100644 --- a/app/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalance.php +++ b/app/Services/Company/Employee/Holiday/ProcessDailyTimeOffBalance.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Employee\Holiday; -use Carbon\Carbon; -use App\Services\BaseService; use App\Helpers\HolidayHelper; use App\Models\Company\Employee; use App\Models\Company\EmployeeDailyCalendarEntry; +use App\Services\BaseService; +use Carbon\Carbon; class ProcessDailyTimeOffBalance extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array * employee. * This is an automated process, triggered via a cron. Therefore we don't * need to validate the service before processing it. - * - * @param array $data - * - * @return EmployeeDailyCalendarEntry */ public function execute(array $data): EmployeeDailyCalendarEntry { diff --git a/app/Services/Company/Employee/Manager/AssignManager.php b/app/Services/Company/Employee/Manager/AssignManager.php index 4c88f4502..3bf2db58d 100644 --- a/app/Services/Company/Employee/Manager/AssignManager.php +++ b/app/Services/Company/Employee/Manager/AssignManager.php @@ -2,21 +2,19 @@ namespace App\Services\Company\Employee\Manager; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\SameIdsException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; -use App\Exceptions\SameIdsException; use App\Models\Company\DirectReport; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class AssignManager extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,12 +29,9 @@ public function rules(): array /** * Set an employee as being the manager of the given employee. * - * @param array $data * * @throws SameIdsException * @throws NotEnoughPermissionException - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/Manager/UnassignManager.php b/app/Services/Company/Employee/Manager/UnassignManager.php index f56d6b272..ecc78bc9b 100644 --- a/app/Services/Company/Employee/Manager/UnassignManager.php +++ b/app/Services/Company/Employee/Manager/UnassignManager.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Employee\Manager; -use Carbon\Carbon; +use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; use App\Models\Company\DirectReport; -use App\Jobs\CheckIfPendingExpenseShouldBeMovedToAccountingWhenManagerChanges; +use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class UnassignManager extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,10 +27,6 @@ public function rules(): array /** * Remove a manager for the given employee. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/Morale/LogMorale.php b/app/Services/Company/Employee/Morale/LogMorale.php index d5871889e..f5794efbc 100644 --- a/app/Services/Company/Employee/Morale/LogMorale.php +++ b/app/Services/Company/Employee/Morale/LogMorale.php @@ -2,21 +2,19 @@ namespace App\Services\Company\Employee\Morale; -use Carbon\Carbon; +use App\Exceptions\MoraleAlreadyLoggedTodayException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Models\Company\Employee; use App\Models\Company\Morale; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Validation\Rule; -use App\Models\Company\Employee; -use App\Exceptions\MoraleAlreadyLoggedTodayException; class LogMorale extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,11 +23,11 @@ public function rules(): array 'company_id' => 'required|integer|exists:companies,id', 'employee_id' => 'required|integer|exists:employees,id', 'emotion' => 'required', - Rule::in([ - 1, - 2, - 3, - ]), + Rule::in([ + 1, + 2, + 3, + ]), 'comment' => 'nullable|string|max:65535', 'date' => 'nullable|date_format:Y-m-d', ]; @@ -39,10 +37,6 @@ public function rules(): array * Log how an employee feels on a specific day. * This can only happen once per day. * Logging can only be done by the employee. - * - * @param array $data - * - * @return Morale */ public function execute(array $data): Morale { diff --git a/app/Services/Company/Employee/Notification/AddNotificationInUIForEmployee.php b/app/Services/Company/Employee/Notification/AddNotificationInUIForEmployee.php index 2e2b416bf..19e2a7f37 100644 --- a/app/Services/Company/Employee/Notification/AddNotificationInUIForEmployee.php +++ b/app/Services/Company/Employee/Notification/AddNotificationInUIForEmployee.php @@ -2,16 +2,14 @@ namespace App\Services\Company\Employee\Notification; +use App\Models\Company\Notification; use App\Services\BaseService; use Illuminate\Validation\Rule; -use App\Models\Company\Notification; class AddNotificationInUIForEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -46,10 +44,6 @@ public function rules(): array * Create a notification for the employee. * A notification is a small warning in the UI that the user will see when * he logs in. - * - * @param array $data - * - * @return Notification */ public function execute(array $data): Notification { diff --git a/app/Services/Company/Employee/Notification/MarkNotificationsAsRead.php b/app/Services/Company/Employee/Notification/MarkNotificationsAsRead.php index 948fe5c61..858e94272 100644 --- a/app/Services/Company/Employee/Notification/MarkNotificationsAsRead.php +++ b/app/Services/Company/Employee/Notification/MarkNotificationsAsRead.php @@ -2,16 +2,14 @@ namespace App\Services\Company\Employee\Notification; -use App\Services\BaseService; -use App\Models\Company\Notification; use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\Notification; +use App\Services\BaseService; class MarkNotificationsAsRead extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -25,10 +23,6 @@ public function rules(): array /** * Mark all notifications as read for the given employee. * Only the employee can mark the notifications as read. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItem.php b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItem.php index 4a23d99d9..c3f28c69b 100644 --- a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItem.php +++ b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneActionItem.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneActionItem; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneEntry; +use App\Services\BaseService; +use Carbon\Carbon; class CreateOneOnOneActionItem extends BaseService { @@ -20,8 +20,6 @@ class CreateOneOnOneActionItem extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Create a one on one action item for a one on one meeting. - * - * @param array $data - * @return OneOnOneActionItem */ public function execute(array $data): OneOnOneActionItem { diff --git a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneEntry.php b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneEntry.php index e65af90a5..82615c2ca 100644 --- a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneEntry.php +++ b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneEntry.php @@ -2,16 +2,16 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\NotTheManagerException; +use App\Exceptions\SameIdsException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use App\Exceptions\SameIdsException; use App\Models\Company\OneOnOneEntry; -use App\Exceptions\NotTheManagerException; use App\Models\Company\OneOnOneTalkingPoint; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class CreateOneOnOneEntry extends BaseService { @@ -25,8 +25,6 @@ class CreateOneOnOneEntry extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -41,9 +39,6 @@ public function rules(): array /** * Create a one on one entry. - * - * @param array $data - * @return OneOnOneEntry */ public function execute(array $data): OneOnOneEntry { diff --git a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneNote.php b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneNote.php index bd0c5c572..e3304f351 100644 --- a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneNote.php +++ b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneNote.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneEntry; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneNote; +use App\Services\BaseService; +use Carbon\Carbon; class CreateOneOnOneNote extends BaseService { @@ -20,8 +20,6 @@ class CreateOneOnOneNote extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Create a one on one note for a one on one meeting. - * - * @param array $data - * @return OneOnOneNote */ public function execute(array $data): OneOnOneNote { diff --git a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPoint.php b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPoint.php index a10b6813a..5165900e8 100644 --- a/app/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPoint.php +++ b/app/Services/Company/Employee/OneOnOne/CreateOneOnOneTalkingPoint.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneTalkingPoint; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class CreateOneOnOneTalkingPoint extends BaseService { @@ -20,8 +20,6 @@ class CreateOneOnOneTalkingPoint extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Create a one on one talking point for a one on one meeting. - * - * @param array $data - * @return OneOnOneTalkingPoint */ public function execute(array $data): OneOnOneTalkingPoint { diff --git a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItem.php b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItem.php index 4c66c9d2a..44e7cea97 100644 --- a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItem.php +++ b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneActionItem.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneActionItem; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneEntry; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyOneOnOneActionItem extends BaseService { @@ -20,8 +20,6 @@ class DestroyOneOnOneActionItem extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ public function rules(): array /** * Destroy a one on one action item for a one on one meeting. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntry.php b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntry.php index d4db170a1..0ba3fd0cf 100644 --- a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntry.php +++ b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneEntry.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\OneOnOneEntry; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyOneOnOneEntry extends BaseService { @@ -17,8 +17,6 @@ class DestroyOneOnOneEntry extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +29,6 @@ public function rules(): array /** * Destroy a one on one entry. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneNote.php b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneNote.php index ca024bebd..7d75871ff 100644 --- a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneNote.php +++ b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneNote.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneEntry; -use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneNote; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyOneOnOneNote extends BaseService { @@ -20,8 +20,6 @@ class DestroyOneOnOneNote extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ public function rules(): array /** * Destroy a one on one note for a one on one meeting. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPoint.php b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPoint.php index c8f3bc426..ed7712aa0 100644 --- a/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPoint.php +++ b/app/Services/Company/Employee/OneOnOne/DestroyOneOnOneTalkingPoint.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneTalkingPoint; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyOneOnOneTalkingPoint extends BaseService { @@ -20,8 +20,6 @@ class DestroyOneOnOneTalkingPoint extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ public function rules(): array /** * Destroy a one on one talking point for a one on one meeting. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappened.php b/app/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappened.php index 9910670c9..7f98fc6de 100644 --- a/app/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappened.php +++ b/app/Services/Company/Employee/OneOnOne/MarkOneOnOneEntryAsHappened.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Employee\OneOnOne; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\OneOnOneEntry; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class MarkOneOnOneEntryAsHappened extends BaseService { @@ -17,8 +17,6 @@ class MarkOneOnOneEntryAsHappened extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +30,6 @@ public function rules(): array /** * Mark a one on one entry as happened, and create a new entry for next time. - * - * @param array $data - * @return OneOnOneEntry */ public function execute(array $data): OneOnOneEntry { diff --git a/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItem.php b/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItem.php index 9411bd648..5f9dc63fb 100644 --- a/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItem.php +++ b/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneActionItem.php @@ -2,9 +2,9 @@ namespace App\Services\Company\Employee\OneOnOne; -use App\Services\BaseService; -use App\Models\Company\OneOnOneActionItem; use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneActionItem; +use App\Services\BaseService; class ToggleOneOnOneActionItem extends BaseService { @@ -14,8 +14,6 @@ class ToggleOneOnOneActionItem extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +27,6 @@ public function rules(): array /** * Toggle a one on one action item for a one on one meeting. - * - * @param array $data - * @return OneOnOneActionItem */ public function execute(array $data): OneOnOneActionItem { diff --git a/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPoint.php b/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPoint.php index b20289bfe..7284f7160 100644 --- a/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPoint.php +++ b/app/Services/Company/Employee/OneOnOne/ToggleOneOnOneTalkingPoint.php @@ -2,9 +2,9 @@ namespace App\Services\Company\Employee\OneOnOne; -use App\Services\BaseService; -use App\Models\Company\OneOnOneTalkingPoint; use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneTalkingPoint; +use App\Services\BaseService; class ToggleOneOnOneTalkingPoint extends BaseService { @@ -14,8 +14,6 @@ class ToggleOneOnOneTalkingPoint extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +27,6 @@ public function rules(): array /** * Toggle a one on one action item for a one on one meeting. - * - * @param array $data - * @return OneOnOneTalkingPoint */ public function execute(array $data): OneOnOneTalkingPoint { diff --git a/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItem.php b/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItem.php index eb681665b..6a20ae524 100644 --- a/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItem.php +++ b/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneActionItem.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Employee\OneOnOne; -use App\Services\BaseService; -use App\Models\Company\OneOnOneEntry; -use App\Models\Company\OneOnOneActionItem; use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneActionItem; +use App\Models\Company\OneOnOneEntry; +use App\Services\BaseService; class UpdateOneOnOneActionItem extends BaseService { @@ -17,8 +17,6 @@ class UpdateOneOnOneActionItem extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +31,6 @@ public function rules(): array /** * Update a one on one action item for a one on one meeting. - * - * @param array $data - * @return OneOnOneActionItem */ public function execute(array $data): OneOnOneActionItem { diff --git a/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneNote.php b/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneNote.php index 418bc1615..45c19a9c2 100644 --- a/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneNote.php +++ b/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneNote.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Employee\OneOnOne; -use App\Services\BaseService; -use App\Models\Company\OneOnOneNote; -use App\Models\Company\OneOnOneEntry; use App\Exceptions\NotEnoughPermissionException; +use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; +use App\Services\BaseService; class UpdateOneOnOneNote extends BaseService { @@ -17,8 +17,6 @@ class UpdateOneOnOneNote extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +31,6 @@ public function rules(): array /** * Update a one on one talking point for a one on one meeting. - * - * @param array $data - * @return OneOnOneNote */ public function execute(array $data): OneOnOneNote { diff --git a/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPoint.php b/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPoint.php index 6e9753659..270e24503 100644 --- a/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPoint.php +++ b/app/Services/Company/Employee/OneOnOne/UpdateOneOnOneTalkingPoint.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Employee\OneOnOne; -use App\Services\BaseService; +use App\Exceptions\NotEnoughPermissionException; use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneTalkingPoint; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; class UpdateOneOnOneTalkingPoint extends BaseService { @@ -17,8 +17,6 @@ class UpdateOneOnOneTalkingPoint extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +31,6 @@ public function rules(): array /** * Update a one on one talking point for a one on one meeting. - * - * @param array $data - * @return OneOnOneTalkingPoint */ public function execute(array $data): OneOnOneTalkingPoint { diff --git a/app/Services/Company/Employee/PersonalDetails/SetPersonalDetails.php b/app/Services/Company/Employee/PersonalDetails/SetPersonalDetails.php index 73a536cb9..c3c5e7d1d 100644 --- a/app/Services/Company/Employee/PersonalDetails/SetPersonalDetails.php +++ b/app/Services/Company/Employee/PersonalDetails/SetPersonalDetails.php @@ -2,22 +2,21 @@ namespace App\Services\Company\Employee\PersonalDetails; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use App\Exceptions\NotEnoughPermissionException; +use App\Services\BaseService; +use Carbon\Carbon; class SetPersonalDetails extends BaseService { private Employee $employee; + private array $data; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +35,7 @@ public function rules(): array /** * Set the name and email address of an employee. * - * @param array $data * @throws NotEnoughPermissionException - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/PersonalDetails/SetSlackHandle.php b/app/Services/Company/Employee/PersonalDetails/SetSlackHandle.php index 3f264fec6..2220ed494 100644 --- a/app/Services/Company/Employee/PersonalDetails/SetSlackHandle.php +++ b/app/Services/Company/Employee/PersonalDetails/SetSlackHandle.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Employee\PersonalDetails; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class SetSlackHandle extends BaseService { diff --git a/app/Services/Company/Employee/PersonalDetails/SetTwitterHandle.php b/app/Services/Company/Employee/PersonalDetails/SetTwitterHandle.php index 23f06825a..a90298643 100644 --- a/app/Services/Company/Employee/PersonalDetails/SetTwitterHandle.php +++ b/app/Services/Company/Employee/PersonalDetails/SetTwitterHandle.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Employee\PersonalDetails; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class SetTwitterHandle extends BaseService { diff --git a/app/Services/Company/Employee/Position/AssignPositionToEmployee.php b/app/Services/Company/Employee/Position/AssignPositionToEmployee.php index 0ad9b1aca..f13ed9ae2 100644 --- a/app/Services/Company/Employee/Position/AssignPositionToEmployee.php +++ b/app/Services/Company/Employee/Position/AssignPositionToEmployee.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Employee\Position; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\EmployeePositionHistory; +use App\Models\Company\Position; +use App\Services\BaseService; +use Carbon\Carbon; class AssignPositionToEmployee extends BaseService { private Employee $employee; + private array $data; + private Position $position; + private int $previousPositionId; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +35,6 @@ public function rules(): array /** * Set an employee's position. - * - * @param array $data - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/Position/RemovePositionFromEmployee.php b/app/Services/Company/Employee/Position/RemovePositionFromEmployee.php index af6f55d5b..82ef16eba 100644 --- a/app/Services/Company/Employee/Position/RemovePositionFromEmployee.php +++ b/app/Services/Company/Employee/Position/RemovePositionFromEmployee.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Employee\Position; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Position; +use App\Services\BaseService; +use Carbon\Carbon; class RemovePositionFromEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Remove an employee's position. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/Pronoun/AssignPronounToEmployee.php b/app/Services/Company/Employee/Pronoun/AssignPronounToEmployee.php index 9e957c19b..277828628 100644 --- a/app/Services/Company/Employee/Pronoun/AssignPronounToEmployee.php +++ b/app/Services/Company/Employee/Pronoun/AssignPronounToEmployee.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Employee\Pronoun; -use Carbon\Carbon; -use App\Models\User\Pronoun; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\User\Pronoun; +use App\Services\BaseService; +use Carbon\Carbon; class AssignPronounToEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Set an employee's gender pronoun. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/Pronoun/RemovePronounFromEmployee.php b/app/Services/Company/Employee/Pronoun/RemovePronounFromEmployee.php index 15314fe2f..3dac0607a 100644 --- a/app/Services/Company/Employee/Pronoun/RemovePronounFromEmployee.php +++ b/app/Services/Company/Employee/Pronoun/RemovePronounFromEmployee.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Employee\Pronoun; -use Carbon\Carbon; -use App\Models\User\Pronoun; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\User\Pronoun; +use App\Services\BaseService; +use Carbon\Carbon; class RemovePronounFromEmployee extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Remove an employee's gender pronoun. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManager.php b/app/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManager.php index 220280a1e..acc6260d3 100644 --- a/app/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManager.php +++ b/app/Services/Company/Employee/RateYourManager/AddCommentToRatingAboutManager.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Employee\RateYourManager; -use App\Services\BaseService; -use App\Models\Company\Employee; -use App\Models\Company\RateYourManagerAnswer; use App\Exceptions\NotEnoughPermissionException; use App\Exceptions\SurveyNotActiveAnymoreException; +use App\Models\Company\Employee; +use App\Models\Company\RateYourManagerAnswer; +use App\Services\BaseService; class AddCommentToRatingAboutManager extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +27,6 @@ public function rules(): array /** * Save the Rate your manager survey's comment about the manager from the * employee. - * - * @param array $data - * @return RateYourManagerAnswer */ public function execute(array $data): RateYourManagerAnswer { diff --git a/app/Services/Company/Employee/RateYourManager/RateYourManager.php b/app/Services/Company/Employee/RateYourManager/RateYourManager.php index f892557ed..557e404bb 100644 --- a/app/Services/Company/Employee/RateYourManager/RateYourManager.php +++ b/app/Services/Company/Employee/RateYourManager/RateYourManager.php @@ -2,21 +2,19 @@ namespace App\Services\Company\Employee\RateYourManager; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; +use App\Exceptions\SurveyNotActiveAnymoreException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\RateYourManagerAnswer; -use App\Exceptions\NotEnoughPermissionException; -use App\Exceptions\SurveyNotActiveAnymoreException; +use App\Services\BaseService; +use Carbon\Carbon; class RateYourManager extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +28,6 @@ public function rules(): array /** * Save the Rate your manager survey's answer from the employee. - * - * @param array $data - * @return RateYourManagerAnswer */ public function execute(array $data): RateYourManagerAnswer { diff --git a/app/Services/Company/Employee/Skill/AttachEmployeeToSkill.php b/app/Services/Company/Employee/Skill/AttachEmployeeToSkill.php index d0a023a11..2ab48485b 100644 --- a/app/Services/Company/Employee/Skill/AttachEmployeeToSkill.php +++ b/app/Services/Company/Employee/Skill/AttachEmployeeToSkill.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\Skill; -use Carbon\Carbon; -use Illuminate\Support\Str; use App\Jobs\LogAccountAudit; -use App\Models\Company\Skill; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\Skill; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Str; class AttachEmployeeToSkill extends BaseService { @@ -20,8 +20,6 @@ class AttachEmployeeToSkill extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,10 +33,6 @@ public function rules(): array /** * Attach a skill to an employee. - * - * @param array $data - * - * @return Skill|null */ public function execute(array $data): ?Skill { diff --git a/app/Services/Company/Employee/Skill/DestroySkill.php b/app/Services/Company/Employee/Skill/DestroySkill.php index 5c56ba887..97d5b8473 100644 --- a/app/Services/Company/Employee/Skill/DestroySkill.php +++ b/app/Services/Company/Employee/Skill/DestroySkill.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Employee\Skill; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; use App\Models\Company\Skill; use App\Services\BaseService; +use Carbon\Carbon; class DestroySkill extends BaseService { @@ -15,8 +15,6 @@ class DestroySkill extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +27,6 @@ public function rules(): array /** * Destroy a skill. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/Skill/RemoveSkillFromEmployee.php b/app/Services/Company/Employee/Skill/RemoveSkillFromEmployee.php index 9a0803334..7a6a76f5c 100644 --- a/app/Services/Company/Employee/Skill/RemoveSkillFromEmployee.php +++ b/app/Services/Company/Employee/Skill/RemoveSkillFromEmployee.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Employee\Skill; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Skill; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\Skill; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveSkillFromEmployee extends BaseService { @@ -19,8 +19,6 @@ class RemoveSkillFromEmployee extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Detach a skill from an employee. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/Skill/UpdateSkill.php b/app/Services/Company/Employee/Skill/UpdateSkill.php index 196c6aaa4..64f0f91e0 100644 --- a/app/Services/Company/Employee/Skill/UpdateSkill.php +++ b/app/Services/Company/Employee/Skill/UpdateSkill.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Employee\Skill; -use Carbon\Carbon; -use Illuminate\Support\Str; +use App\Exceptions\SkillNameNotUniqueException; use App\Jobs\LogAccountAudit; use App\Models\Company\Skill; use App\Services\BaseService; -use App\Exceptions\SkillNameNotUniqueException; +use Carbon\Carbon; +use Illuminate\Support\Str; class UpdateSkill extends BaseService { @@ -17,8 +17,6 @@ class UpdateSkill extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,10 +30,6 @@ public function rules(): array /** * Update a skill. - * - * @param array $data - * - * @return Skill */ public function execute(array $data): Skill { @@ -75,8 +69,6 @@ private function verifySkillNameUniqueness(): void /** * Add audit logs. - * - * @param string $oldName */ private function log(string $oldName, string $newName): void { diff --git a/app/Services/Company/Employee/Team/AddEmployeeToTeam.php b/app/Services/Company/Employee/Team/AddEmployeeToTeam.php index 4ba2ce64d..d4304ba84 100644 --- a/app/Services/Company/Employee/Team/AddEmployeeToTeam.php +++ b/app/Services/Company/Employee/Team/AddEmployeeToTeam.php @@ -2,14 +2,14 @@ namespace App\Services\Company\Employee\Team; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; +use App\Jobs\LogEmployeeAudit; use App\Jobs\LogTeamAudit; use App\Jobs\NotifyEmployee; +use App\Models\Company\Employee; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; -use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; +use Carbon\Carbon; class AddEmployeeToTeam extends BaseService { @@ -17,8 +17,6 @@ class AddEmployeeToTeam extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,10 +30,6 @@ public function rules(): array /** * Add an employee to a team. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { @@ -68,8 +62,6 @@ public function execute(array $data): Employee /** * Add a notification in the UI for the employee that is added to the team. - * - * @param Team $team */ private function addNotification(Team $team): void { @@ -84,9 +76,6 @@ private function addNotification(Team $team): void /** * Add the logs in the different audit logs. - * - * @param array $data - * @param Team $team */ private function log(array $data, Team $team): void { diff --git a/app/Services/Company/Employee/Team/RemoveEmployeeFromTeam.php b/app/Services/Company/Employee/Team/RemoveEmployeeFromTeam.php index 9ec663790..5bd573018 100644 --- a/app/Services/Company/Employee/Team/RemoveEmployeeFromTeam.php +++ b/app/Services/Company/Employee/Team/RemoveEmployeeFromTeam.php @@ -2,14 +2,14 @@ namespace App\Services\Company\Employee\Team; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; +use App\Jobs\LogEmployeeAudit; use App\Jobs\LogTeamAudit; use App\Jobs\NotifyEmployee; +use App\Models\Company\Employee; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; -use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; +use Carbon\Carbon; class RemoveEmployeeFromTeam extends BaseService { @@ -17,8 +17,6 @@ class RemoveEmployeeFromTeam extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,10 +30,6 @@ public function rules(): array /** * Remove an employee from a team. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { @@ -63,8 +57,6 @@ public function execute(array $data): Employee /** * Add a notification in the UI for the employee that is added to the team. - * - * @param Team $team */ private function addNotification(Team $team): void { @@ -79,9 +71,6 @@ private function addNotification(Team $team): void /** * Add the logs in the different audit logs. - * - * @param array $data - * @param Team $team */ private function log(array $data, Team $team): void { diff --git a/app/Services/Company/Employee/Timesheet/ApproveTimesheet.php b/app/Services/Company/Employee/Timesheet/ApproveTimesheet.php index d3836715b..03c2c1383 100644 --- a/app/Services/Company/Employee/Timesheet/ApproveTimesheet.php +++ b/app/Services/Company/Employee/Timesheet/ApproveTimesheet.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\Timesheet; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Services\BaseService; +use Carbon\Carbon; class ApproveTimesheet extends BaseService { @@ -20,8 +20,6 @@ class ApproveTimesheet extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +34,6 @@ public function rules(): array /** * Accept a timesheet for validation. * Only managers and HR or above can accept a timesheet. - * - * @param array $data - * @return Timesheet */ public function execute(array $data): Timesheet { diff --git a/app/Services/Company/Employee/Timesheet/CreateOrGetTimesheet.php b/app/Services/Company/Employee/Timesheet/CreateOrGetTimesheet.php index 34e4361fb..29e92837b 100644 --- a/app/Services/Company/Employee/Timesheet/CreateOrGetTimesheet.php +++ b/app/Services/Company/Employee/Timesheet/CreateOrGetTimesheet.php @@ -2,10 +2,10 @@ namespace App\Services\Company\Employee\Timesheet; -use Carbon\Carbon; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Services\BaseService; +use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; class CreateOrGetTimesheet extends BaseService @@ -16,8 +16,6 @@ class CreateOrGetTimesheet extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +34,6 @@ public function rules(): array * Timesheets will be created on the fly, when the employee consults the * details of a timesheet - so if a timesheet already exists in the given * week, we need to send this timesheet instead of creating a new one. - * - * @param array $data - * @return Timesheet */ public function execute(array $data): Timesheet { diff --git a/app/Services/Company/Employee/Timesheet/CreateTimeTrackingEntry.php b/app/Services/Company/Employee/Timesheet/CreateTimeTrackingEntry.php index e52cf5fe1..dd945bd6e 100644 --- a/app/Services/Company/Employee/Timesheet/CreateTimeTrackingEntry.php +++ b/app/Services/Company/Employee/Timesheet/CreateTimeTrackingEntry.php @@ -2,17 +2,17 @@ namespace App\Services\Company\Employee\Timesheet; -use Carbon\Carbon; +use App\Exceptions\DurationExceedingMaximalDurationException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; +use App\Services\BaseService; +use Carbon\Carbon; use Carbon\Exceptions\InvalidDateException; -use App\Exceptions\DurationExceedingMaximalDurationException; class CreateTimeTrackingEntry extends BaseService { @@ -32,8 +32,6 @@ class CreateTimeTrackingEntry extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -54,9 +52,6 @@ public function rules(): array * When we create a time tracking entry, we need to make sure that the * overall timesheet for the day is not larger than 24 hours - in this case, * we need to inform the user that the duration is too big. - * - * @param array $data - * @return TimeTrackingEntry */ public function execute(array $data): TimeTrackingEntry { diff --git a/app/Services/Company/Employee/Timesheet/DestroyTimesheetRow.php b/app/Services/Company/Employee/Timesheet/DestroyTimesheetRow.php index ce6d2688d..4a5d38746 100644 --- a/app/Services/Company/Employee/Timesheet/DestroyTimesheetRow.php +++ b/app/Services/Company/Employee/Timesheet/DestroyTimesheetRow.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Employee\Timesheet; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; +use App\Services\BaseService; class DestroyTimesheetRow extends BaseService { @@ -23,8 +23,6 @@ class DestroyTimesheetRow extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -41,8 +39,6 @@ public function rules(): array /** * Destroy all time tracking entries at a given date for a given project * task in a given timesheet. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Employee/Timesheet/RejectTimesheet.php b/app/Services/Company/Employee/Timesheet/RejectTimesheet.php index fc5be746a..4d5e35fd4 100644 --- a/app/Services/Company/Employee/Timesheet/RejectTimesheet.php +++ b/app/Services/Company/Employee/Timesheet/RejectTimesheet.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\Timesheet; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Services\BaseService; +use Carbon\Carbon; class RejectTimesheet extends BaseService { @@ -20,8 +20,6 @@ class RejectTimesheet extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +34,6 @@ public function rules(): array /** * Reject a timesheet. * Only managers and HR or above can reject a timesheet. - * - * @param array $data - * @return Timesheet */ public function execute(array $data): Timesheet { diff --git a/app/Services/Company/Employee/Timesheet/SubmitTimesheet.php b/app/Services/Company/Employee/Timesheet/SubmitTimesheet.php index 348465793..a191731a0 100644 --- a/app/Services/Company/Employee/Timesheet/SubmitTimesheet.php +++ b/app/Services/Company/Employee/Timesheet/SubmitTimesheet.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\Timesheet; -use Carbon\Carbon; use App\Helpers\DateHelper; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use App\Services\BaseService; +use Carbon\Carbon; class SubmitTimesheet extends BaseService { @@ -20,8 +20,6 @@ class SubmitTimesheet extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Submit a timesheet for validation. - * - * @param array $data - * @return Timesheet */ public function execute(array $data): Timesheet { diff --git a/app/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformation.php b/app/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformation.php index 65b603070..b8cf922ed 100644 --- a/app/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformation.php +++ b/app/Services/Company/Employee/WorkFromHome/UpdateWorkFromHomeInformation.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Employee\WorkFromHome; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; use App\Models\Company\WorkFromHome; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateWorkFromHomeInformation extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,10 +27,6 @@ public function rules(): array /** * Update the information about working from home for the given employee. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Employee/Worklog/DestroyWorklog.php b/app/Services/Company/Employee/Worklog/DestroyWorklog.php index 1a5bb5f5a..06fe69197 100644 --- a/app/Services/Company/Employee/Worklog/DestroyWorklog.php +++ b/app/Services/Company/Employee/Worklog/DestroyWorklog.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Employee\Worklog; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Worklog; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyWorklog extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,9 +25,6 @@ public function rules(): array /** * Destroy a work log. - * - * @param array $data - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Employee/Worklog/LogWorklog.php b/app/Services/Company/Employee/Worklog/LogWorklog.php index 2939b57c2..0e975d712 100644 --- a/app/Services/Company/Employee/Worklog/LogWorklog.php +++ b/app/Services/Company/Employee/Worklog/LogWorklog.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Employee\Worklog; -use Carbon\Carbon; +use App\Exceptions\WorklogAlreadyLoggedTodayException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Worklog; use App\Models\Company\Employee; -use App\Exceptions\WorklogAlreadyLoggedTodayException; +use App\Models\Company\Worklog; +use App\Services\BaseService; +use Carbon\Carbon; class LogWorklog extends BaseService { @@ -16,8 +16,6 @@ class LogWorklog extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,10 +32,6 @@ public function rules(): array * Log the work that the employee has done. * Logging can only happen once per day. * Logging can only be done by the employee. - * - * @param array $data - * - * @return Worklog */ public function execute(array $data): Worklog { diff --git a/app/Services/Company/Group/AddEmployeeToGroup.php b/app/Services/Company/Group/AddEmployeeToGroup.php index c74f3e35c..dd87ba992 100644 --- a/app/Services/Company/Group/AddEmployeeToGroup.php +++ b/app/Services/Company/Group/AddEmployeeToGroup.php @@ -2,14 +2,14 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; -use App\Services\QueuableService; +use App\Models\Company\Group; +use App\Services\BaseService; use App\Services\DispatchableService; +use App\Services\QueuableService; +use Carbon\Carbon; class AddEmployeeToGroup extends BaseService implements QueuableService { @@ -23,8 +23,6 @@ class AddEmployeeToGroup extends BaseService implements QueuableService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -50,8 +48,6 @@ public function handle(): void /** * Add an employee to a group. - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Group/AddGuestToMeeting.php b/app/Services/Company/Group/AddGuestToMeeting.php index 88d44ff06..1fa068d7b 100644 --- a/app/Services/Company/Group/AddGuestToMeeting.php +++ b/app/Services/Company/Group/AddGuestToMeeting.php @@ -2,26 +2,27 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Models\Company\Meeting; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Support\Facades\DB; class AddGuestToMeeting extends BaseService { private array $data; + private Employee $employee; + private Group $group; + private Meeting $meeting; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +37,6 @@ public function rules(): array /** * Add an employee as guest in the meeting. - * - * @param array $data - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Group/CreateAgendaItem.php b/app/Services/Company/Group/CreateAgendaItem.php index f9f77665b..2c22e611b 100644 --- a/app/Services/Company/Group/CreateAgendaItem.php +++ b/app/Services/Company/Group/CreateAgendaItem.php @@ -2,27 +2,29 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; -use App\Models\Company\Employee; use App\Models\Company\AgendaItem; +use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Models\Company\Meeting; +use App\Services\BaseService; +use Carbon\Carbon; class CreateAgendaItem extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; + protected AgendaItem $agendaItem; + protected Employee $presenter; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,9 +41,6 @@ public function rules(): array /** * Create an agenda item in a meeting. - * - * @param array $data - * @return AgendaItem */ public function execute(array $data): AgendaItem { diff --git a/app/Services/Company/Group/CreateGroup.php b/app/Services/Company/Group/CreateGroup.php index d2d0a3a60..18c418e52 100644 --- a/app/Services/Company/Group/CreateGroup.php +++ b/app/Services/Company/Group/CreateGroup.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; use App\Models\Company\Group; use App\Services\BaseService; +use Carbon\Carbon; class CreateGroup extends BaseService { protected array $data; + protected Group $group; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +28,6 @@ public function rules(): array /** * Create a group. - * - * @param array $data - * @return Group */ public function execute(array $data): Group { diff --git a/app/Services/Company/Group/CreateMeeting.php b/app/Services/Company/Group/CreateMeeting.php index 7f1e0d4c2..d4d4b1bd0 100644 --- a/app/Services/Company/Group/CreateMeeting.php +++ b/app/Services/Company/Group/CreateMeeting.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; use App\Models\Company\Group; -use App\Services\BaseService; use App\Models\Company\Meeting; +use App\Services\BaseService; +use Carbon\Carbon; class CreateMeeting extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +30,6 @@ public function rules(): array /** * Create a meeting. - * - * @param array $data - * @return Meeting */ public function execute(array $data): Meeting { diff --git a/app/Services/Company/Group/CreateMeetingDecision.php b/app/Services/Company/Group/CreateMeetingDecision.php index d146c4a60..c059ecd93 100644 --- a/app/Services/Company/Group/CreateMeetingDecision.php +++ b/app/Services/Company/Group/CreateMeetingDecision.php @@ -2,27 +2,29 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\AgendaItem; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Models\Company\MeetingDecision; +use App\Services\BaseService; +use Carbon\Carbon; class CreateMeetingDecision extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; + protected AgendaItem $agendaItem; + protected MeetingDecision $meetingDecision; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,9 +40,6 @@ public function rules(): array /** * Create a decision about an agenda item in a meeting. - * - * @param array $data - * @return MeetingDecision */ public function execute(array $data): MeetingDecision { diff --git a/app/Services/Company/Group/DestroyAgendaItem.php b/app/Services/Company/Group/DestroyAgendaItem.php index 974b6d4c1..9eb5c4018 100644 --- a/app/Services/Company/Group/DestroyAgendaItem.php +++ b/app/Services/Company/Group/DestroyAgendaItem.php @@ -2,24 +2,25 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; +use App\Models\Company\AgendaItem; use App\Models\Company\Group; -use App\Services\BaseService; use App\Models\Company\Meeting; -use App\Models\Company\AgendaItem; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyAgendaItem extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; + protected AgendaItem $agendaItem; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +35,6 @@ public function rules(): array /** * Delete an agenda item. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/DestroyGroup.php b/app/Services/Company/Group/DestroyGroup.php index fcc58763e..a12cc7610 100644 --- a/app/Services/Company/Group/DestroyGroup.php +++ b/app/Services/Company/Group/DestroyGroup.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; use App\Models\Company\Group; use App\Services\BaseService; +use Carbon\Carbon; class DestroyGroup extends BaseService { protected array $data; + protected Group $group; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +27,6 @@ public function rules(): array /** * Delete a group. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/DestroyMeeting.php b/app/Services/Company/Group/DestroyMeeting.php index 05c06e81d..35f3988a7 100644 --- a/app/Services/Company/Group/DestroyMeeting.php +++ b/app/Services/Company/Group/DestroyMeeting.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; use App\Models\Company\Group; -use App\Services\BaseService; use App\Models\Company\Meeting; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyMeeting extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +31,6 @@ public function rules(): array /** * Delete a meeting. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/DestroyMeetingDecision.php b/app/Services/Company/Group/DestroyMeetingDecision.php index f1b896990..29874b072 100644 --- a/app/Services/Company/Group/DestroyMeetingDecision.php +++ b/app/Services/Company/Group/DestroyMeetingDecision.php @@ -2,26 +2,28 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; +use App\Models\Company\AgendaItem; use App\Models\Company\Group; -use App\Services\BaseService; use App\Models\Company\Meeting; -use App\Models\Company\AgendaItem; use App\Models\Company\MeetingDecision; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyMeetingDecision extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; + protected AgendaItem $agendaItem; + protected MeetingDecision $meetingDecision; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,8 +39,6 @@ public function rules(): array /** * Delete a meeting decision. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/RemoveEmployeeFromGroup.php b/app/Services/Company/Group/RemoveEmployeeFromGroup.php index 9415eaeae..c574e9cf4 100644 --- a/app/Services/Company/Group/RemoveEmployeeFromGroup.php +++ b/app/Services/Company/Group/RemoveEmployeeFromGroup.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveEmployeeFromGroup extends BaseService { @@ -19,8 +19,6 @@ class RemoveEmployeeFromGroup extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Detach an employee from a group. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/RemoveGuestFromMeeting.php b/app/Services/Company/Group/RemoveGuestFromMeeting.php index fda124a14..d4ea04442 100644 --- a/app/Services/Company/Group/RemoveGuestFromMeeting.php +++ b/app/Services/Company/Group/RemoveGuestFromMeeting.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Models\Company\Meeting; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveGuestFromMeeting extends BaseService { private array $data; + private Employee $employee; + private Group $group; + private Meeting $meeting; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +36,6 @@ public function rules(): array /** * Remove an employee as guest from a meeting. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/ToggleEmployeeParticipationInMeeting.php b/app/Services/Company/Group/ToggleEmployeeParticipationInMeeting.php index f2b96517e..b2316e0dc 100644 --- a/app/Services/Company/Group/ToggleEmployeeParticipationInMeeting.php +++ b/app/Services/Company/Group/ToggleEmployeeParticipationInMeeting.php @@ -2,27 +2,28 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Models\Company\Meeting; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Support\Facades\DB; -use App\Exceptions\NotEnoughPermissionException; class ToggleEmployeeParticipationInMeeting extends BaseService { private array $data; + private Employee $employee; + private Group $group; + private Meeting $meeting; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -40,9 +41,6 @@ public function rules(): array * When marking an employee, we should check if the employee is part of the * meeting. * If the employee is not part of the meeting, this process fails. - * - * @param array $data - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Group/UpdateAgendaItem.php b/app/Services/Company/Group/UpdateAgendaItem.php index c9074cbef..7b21416a7 100644 --- a/app/Services/Company/Group/UpdateAgendaItem.php +++ b/app/Services/Company/Group/UpdateAgendaItem.php @@ -2,27 +2,29 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; -use App\Models\Company\Employee; use App\Models\Company\AgendaItem; +use App\Models\Company\Employee; +use App\Models\Company\Group; +use App\Models\Company\Meeting; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateAgendaItem extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; + protected AgendaItem $agendaItem; + protected Employee $presenter; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -40,9 +42,6 @@ public function rules(): array /** * Update an existing agenda item in a meeting. - * - * @param array $data - * @return AgendaItem */ public function execute(array $data): AgendaItem { diff --git a/app/Services/Company/Group/UpdateGroup.php b/app/Services/Company/Group/UpdateGroup.php index bc60a53be..136a02cea 100644 --- a/app/Services/Company/Group/UpdateGroup.php +++ b/app/Services/Company/Group/UpdateGroup.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; +use App\Models\Company\Employee; use App\Models\Company\Group; use App\Services\BaseService; -use App\Models\Company\Employee; +use Carbon\Carbon; class UpdateGroup extends BaseService { private array $data; + private Employee $employee; + private Group $group; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +32,6 @@ public function rules(): array /** * Update group information. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/UpdateMeetingDate.php b/app/Services/Company/Group/UpdateMeetingDate.php index e7973b227..9ed92f74b 100644 --- a/app/Services/Company/Group/UpdateMeetingDate.php +++ b/app/Services/Company/Group/UpdateMeetingDate.php @@ -2,24 +2,25 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; +use App\Models\Company\Employee; use App\Models\Company\Group; -use App\Services\BaseService; use App\Models\Company\Meeting; -use App\Models\Company\Employee; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateMeetingDate extends BaseService { private array $data; + private Employee $employee; + private Group $group; + private Meeting $meeting; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +35,6 @@ public function rules(): array /** * Set the meeting date. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Group/UpdateMeetingDecision.php b/app/Services/Company/Group/UpdateMeetingDecision.php index d47adea80..906ba0de0 100644 --- a/app/Services/Company/Group/UpdateMeetingDecision.php +++ b/app/Services/Company/Group/UpdateMeetingDecision.php @@ -2,27 +2,29 @@ namespace App\Services\Company\Group; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Models\Company\Group; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Meeting; use App\Models\Company\AgendaItem; +use App\Models\Company\Group; +use App\Models\Company\Meeting; use App\Models\Company\MeetingDecision; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateMeetingDecision extends BaseService { protected array $data; + protected Group $group; + protected Meeting $meeting; + protected AgendaItem $agendaItem; + protected MeetingDecision $meetingDecision; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,9 +41,6 @@ public function rules(): array /** * Destroy an existing meeting decision. - * - * @param array $data - * @return MeetingDecision */ public function execute(array $data): MeetingDecision { diff --git a/app/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGame.php b/app/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGame.php index d21b1ecf8..d95d151d0 100644 --- a/app/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGame.php +++ b/app/Services/Company/GuessEmployeeGame/CreateGuessEmployeeGame.php @@ -2,23 +2,23 @@ namespace App\Services\Company\GuessEmployeeGame; -use OutOfRangeException; -use App\Services\BaseService; use App\Models\Company\Answer; use App\Models\Company\Employee; use App\Models\Company\GuessEmployeeGame; +use App\Services\BaseService; use Illuminate\Database\Eloquent\ModelNotFoundException; +use OutOfRangeException; class CreateGuessEmployeeGame extends BaseService { protected array $data; + protected GuessEmployeeGame $game; + protected Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,9 +38,6 @@ public function rules(): array * - the player has to find the name of the employee * - the players to find should all have the same gender * - whatever the answer, another game loads once it's played. - * - * @param array $data - * @return GuessEmployeeGame */ public function execute(array $data): GuessEmployeeGame { @@ -70,8 +67,8 @@ private function checkIfPreviousGameExistsButWasntPlayedYet(): bool { try { $this->game = GuessEmployeeGame::where('employee_who_played_id', $this->data['employee_id']) - ->where('played', false) - ->firstOrFail(); + ->where('played', false) + ->firstOrFail(); } catch (ModelNotFoundException $e) { return false; } diff --git a/app/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGame.php b/app/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGame.php index 58dbebb2e..512c26b4f 100644 --- a/app/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGame.php +++ b/app/Services/Company/GuessEmployeeGame/VoteGuessEmployeeGame.php @@ -2,20 +2,20 @@ namespace App\Services\Company\GuessEmployeeGame; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\GuessEmployeeGame; +use App\Services\BaseService; class VoteGuessEmployeeGame extends BaseService { protected array $data; + protected GuessEmployeeGame $game; + protected Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +30,6 @@ public function rules(): array /** * Vote a Guess Employee Game. - * - * @param array $data - * @return GuessEmployeeGame */ public function execute(array $data): GuessEmployeeGame { diff --git a/app/Services/Company/Place/CreatePlace.php b/app/Services/Company/Place/CreatePlace.php index 5f244238e..67cb0c15c 100644 --- a/app/Services/Company/Place/CreatePlace.php +++ b/app/Services/Company/Place/CreatePlace.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Place; -use Carbon\Carbon; +use App\Jobs\FetchAddressGeocoding; use App\Jobs\LogAccountAudit; +use App\Jobs\LogEmployeeAudit; use App\Models\Company\Place; use App\Services\BaseService; -use App\Jobs\LogEmployeeAudit; +use Carbon\Carbon; use Illuminate\Support\Facades\DB; -use App\Jobs\FetchAddressGeocoding; class CreatePlace extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Create a place. - * - * @param array $data - * @return Place */ public function execute(array $data): Place { @@ -65,10 +60,6 @@ public function execute(array $data): Place /** * Actually create the place. - * - * @param array $data - * - * @return Place */ private function addPlace(array $data): Place { @@ -87,8 +78,6 @@ private function addPlace(array $data): Place /** * Set a place as active for the placable object. * Check all the previous places for this entity and set them to inactive. - * - * @param Place $place */ private function setActive(Place $place): void { @@ -102,8 +91,6 @@ private function setActive(Place $place): void /** * Fetch the longitude/latitude for the new place. * This is placed on a queue so it doesn't slow down the app. - * - * @param Place $place */ private function geocodePlace(Place $place): void { @@ -112,9 +99,6 @@ private function geocodePlace(Place $place): void /** * Add logs. - * - * @param array $data - * @param Place $place */ private function addLog(array $data, Place $place): void { diff --git a/app/Services/Company/Place/GetGPSCoordinate.php b/app/Services/Company/Place/GetGPSCoordinate.php index 321328c8f..d30713fc0 100644 --- a/app/Services/Company/Place/GetGPSCoordinate.php +++ b/app/Services/Company/Place/GetGPSCoordinate.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Place; -use Illuminate\Support\Str; use App\Models\Company\Place; use App\Services\BaseService; -use Illuminate\Support\Facades\Log; -use Illuminate\Support\Facades\Http; use Illuminate\Http\Client\HttpClientException; +use Illuminate\Support\Facades\Http; +use Illuminate\Support\Facades\Log; +use Illuminate\Support\Str; class GetGPSCoordinate extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,7 +27,6 @@ public function rules(): array * Should always be done through a job, and not be called directly. * You should use the FetchAddressGeocoding job for this. * - * @param array $data * * @return Place|null */ @@ -44,10 +41,6 @@ public function execute(array $data) /** * Build the query to send with the API call. - * - * @param Place $place - * - * @return string|null */ private function buildQuery(Place $place): ?string { @@ -66,10 +59,6 @@ private function buildQuery(Place $place): ?string /** * Actually make the call to the reverse geocoding API. - * - * @param Place $place - * - * @return Place|null */ private function query(Place $place): ?Place { diff --git a/app/Services/Company/Project/AddEmployeeToProject.php b/app/Services/Company/Project/AddEmployeeToProject.php index 8bf26bdb0..b177143fc 100644 --- a/app/Services/Company/Project/AddEmployeeToProject.php +++ b/app/Services/Company/Project/AddEmployeeToProject.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; +use App\Services\BaseService; +use Carbon\Carbon; class AddEmployeeToProject extends BaseService { private array $data; + private Employee $employee; + private Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +33,6 @@ public function rules(): array /** * Add an employee to a project. - * - * @param array $data - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Project/AddFileToProject.php b/app/Services/Company/Project/AddFileToProject.php index 65992dbee..a651e421f 100644 --- a/app/Services/Company/Project/AddFileToProject.php +++ b/app/Services/Company/Project/AddFileToProject.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; +use App\Models\Company\File; use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class AddFileToProject extends BaseService { protected array $data; + protected Project $project; + protected File $file; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +32,6 @@ public function rules(): array /** * Add the given file to the project. - * - * @param array $data - * @return File */ public function execute(array $data): File { diff --git a/app/Services/Company/Project/AssignAssigneeToProjectIssue.php b/app/Services/Company/Project/AssignAssigneeToProjectIssue.php index d6bfb4a1c..810ae72b5 100644 --- a/app/Services/Company/Project/AssignAssigneeToProjectIssue.php +++ b/app/Services/Company/Project/AssignAssigneeToProjectIssue.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class AssignAssigneeToProjectIssue extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected Project $project; + protected Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Assign an employeee as the project issue assignee. - * - * @param array $data - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Project/AssignIssueToSprint.php b/app/Services/Company/Project/AssignIssueToSprint.php index e5b1ced6a..98cd22c70 100644 --- a/app/Services/Company/Project/AssignIssueToSprint.php +++ b/app/Services/Company/Project/AssignIssueToSprint.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; class AssignIssueToSprint extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected ProjectSprint $projectSprint; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Assign a project issue to a sprint. - * - * @param array $data - * @return ProjectIssue */ public function execute(array $data): ProjectIssue { diff --git a/app/Services/Company/Project/AssignLabelToIssue.php b/app/Services/Company/Project/AssignLabelToIssue.php index 6ac4edbc8..6f3080511 100644 --- a/app/Services/Company/Project/AssignLabelToIssue.php +++ b/app/Services/Company/Project/AssignLabelToIssue.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectLabel; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class AssignLabelToIssue extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected ProjectLabel $projectLabel; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +36,6 @@ public function rules(): array /** * Assign a project label to a project issue. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/AssignProjectTaskToEmployee.php b/app/Services/Company/Project/AssignProjectTaskToEmployee.php index cf8e5ef45..d87f343ec 100644 --- a/app/Services/Company/Project/AssignProjectTaskToEmployee.php +++ b/app/Services/Company/Project/AssignProjectTaskToEmployee.php @@ -2,26 +2,27 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\Employee; -use App\Models\Company\ProjectTask; +use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTask; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; class AssignProjectTaskToEmployee extends BaseService { protected array $data; + protected ProjectTask $projectTask; + protected Employee $assignee; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +37,6 @@ public function rules(): array /** * Assign the project task to an employee. - * - * @param array $data - * @return ProjectTask */ public function execute(array $data): ProjectTask { diff --git a/app/Services/Company/Project/AssignProjectTaskToTaskList.php b/app/Services/Company/Project/AssignProjectTaskToTaskList.php index 1e02f47e8..e634c796d 100644 --- a/app/Services/Company/Project/AssignProjectTaskToTaskList.php +++ b/app/Services/Company/Project/AssignProjectTaskToTaskList.php @@ -2,24 +2,25 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; +use App\Services\BaseService; +use Carbon\Carbon; class AssignProjectTaskToTaskList extends BaseService { protected array $data; + protected ProjectTask $projectTask; + protected ProjectTaskList $projectTaskList; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +35,6 @@ public function rules(): array /** * Assign the project task to a project task list. - * - * @param array $data - * @return ProjectTask */ public function execute(array $data): ProjectTask { diff --git a/app/Services/Company/Project/ClearProjectLead.php b/app/Services/Company/Project/ClearProjectLead.php index bce90cfd0..28df46fcc 100644 --- a/app/Services/Company/Project/ClearProjectLead.php +++ b/app/Services/Company/Project/ClearProjectLead.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class ClearProjectLead extends BaseService { @@ -20,8 +20,6 @@ class ClearProjectLead extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +32,6 @@ public function rules(): array /** * Remove an existing project lead from a project. - * - * @param array $data - * @return Project */ public function execute(array $data): Project { diff --git a/app/Services/Company/Project/CloseProject.php b/app/Services/Company/Project/CloseProject.php index b44284efc..ebdad2345 100644 --- a/app/Services/Company/Project/CloseProject.php +++ b/app/Services/Company/Project/CloseProject.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class CloseProject extends BaseService { @@ -16,8 +16,6 @@ class CloseProject extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +28,6 @@ public function rules(): array /** * Start a project. - * - * @param array $data - * @return Project */ public function execute(array $data): Project { diff --git a/app/Services/Company/Project/CreateIssueType.php b/app/Services/Company/Project/CreateIssueType.php index 8a3636cff..796e45dc3 100644 --- a/app/Services/Company/Project/CreateIssueType.php +++ b/app/Services/Company/Project/CreateIssueType.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\IssueType; +use App\Services\BaseService; +use Carbon\Carbon; class CreateIssueType extends BaseService { protected array $data; + protected IssueType $type; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +28,6 @@ public function rules(): array /** * Create an issue type. - * - * @param array $data - * @return IssueType */ public function execute(array $data): IssueType { diff --git a/app/Services/Company/Project/CreateProject.php b/app/Services/Company/Project/CreateProject.php index fd5be5056..c37268d07 100644 --- a/app/Services/Company/Project/CreateProject.php +++ b/app/Services/Company/Project/CreateProject.php @@ -2,23 +2,22 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; +use App\Exceptions\ProjectCodeAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; -use App\Exceptions\ProjectCodeAlreadyExistException; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProject extends BaseService { protected array $data; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,9 +36,6 @@ public function rules(): array /** * Create a project. - * - * @param array $data - * @return Project */ public function execute(array $data): Project { diff --git a/app/Services/Company/Project/CreateProjectBoard.php b/app/Services/Company/Project/CreateProjectBoard.php index 1454be2bc..5a102530b 100644 --- a/app/Services/Company/Project/CreateProjectBoard.php +++ b/app/Services/Company/Project/CreateProjectBoard.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectBoard extends BaseService { protected array $data; + protected ProjectBoard $projectBoard; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +32,6 @@ public function rules(): array /** * Create a project board. - * - * @param array $data - * @return ProjectBoard */ public function execute(array $data): ProjectBoard { diff --git a/app/Services/Company/Project/CreateProjectDecision.php b/app/Services/Company/Project/CreateProjectDecision.php index 118008967..a0d1e4a91 100644 --- a/app/Services/Company/Project/CreateProjectDecision.php +++ b/app/Services/Company/Project/CreateProjectDecision.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectDecision; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; class CreateProjectDecision extends BaseService @@ -21,8 +21,6 @@ class CreateProjectDecision extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,9 +36,6 @@ public function rules(): array /** * Create a project decision. - * - * @param array $data - * @return ProjectDecision */ public function execute(array $data): ProjectDecision { diff --git a/app/Services/Company/Project/CreateProjectIssue.php b/app/Services/Company/Project/CreateProjectIssue.php index cea851503..b6cb962e2 100644 --- a/app/Services/Company/Project/CreateProjectIssue.php +++ b/app/Services/Company/Project/CreateProjectIssue.php @@ -2,33 +2,38 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; -use Illuminate\Support\Str; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\IssueType; -use Illuminate\Support\Facades\DB; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectIssue; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; +use Illuminate\Support\Str; class CreateProjectIssue extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected ProjectBoard $projectBoard; + protected ProjectSprint $projectSprint; + protected IssueType $issueType; + protected Project $project; + protected ?int $newIdInProject; + protected string $key; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -48,9 +53,6 @@ public function rules(): array /** * Create a project issue. - * - * @param array $data - * @return ProjectIssue */ public function execute(array $data): ProjectIssue { diff --git a/app/Services/Company/Project/CreateProjectIssueComment.php b/app/Services/Company/Project/CreateProjectIssueComment.php index 7025d591c..38147d374 100644 --- a/app/Services/Company/Project/CreateProjectIssueComment.php +++ b/app/Services/Company/Project/CreateProjectIssueComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectIssueComment extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Create a comment in the given project issue. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/CreateProjectLabel.php b/app/Services/Company/Project/CreateProjectLabel.php index 550b4d36f..ba0308a07 100644 --- a/app/Services/Company/Project/CreateProjectLabel.php +++ b/app/Services/Company/Project/CreateProjectLabel.php @@ -2,24 +2,24 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; +use App\Exceptions\LabelAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectLabel; use App\Models\Company\ProjectMemberActivity; -use App\Exceptions\LabelAlreadyExistException; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectLabel extends BaseService { protected array $data; + protected Project $project; + protected ProjectLabel $projectLabel; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +33,6 @@ public function rules(): array /** * Create a project label. - * - * @param array $data - * @return ProjectLabel */ public function execute(array $data): ProjectLabel { diff --git a/app/Services/Company/Project/CreateProjectLink.php b/app/Services/Company/Project/CreateProjectLink.php index 17604e912..643bcc62a 100644 --- a/app/Services/Company/Project/CreateProjectLink.php +++ b/app/Services/Company/Project/CreateProjectLink.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use Illuminate\Validation\Rule; use App\Models\Company\ProjectLink; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Validation\Rule; class CreateProjectLink extends BaseService { @@ -20,8 +20,6 @@ class CreateProjectLink extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -44,9 +42,6 @@ public function rules(): array /** * Create a project link. - * - * @param array $data - * @return ProjectLink */ public function execute(array $data): ProjectLink { diff --git a/app/Services/Company/Project/CreateProjectMessage.php b/app/Services/Company/Project/CreateProjectMessage.php index b9676b7d9..13e32ff7e 100644 --- a/app/Services/Company/Project/CreateProjectMessage.php +++ b/app/Services/Company/Project/CreateProjectMessage.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectMessage; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectMessage extends BaseService { @@ -19,8 +19,6 @@ class CreateProjectMessage extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Create a project message. - * - * @param array $data - * @return ProjectMessage */ public function execute(array $data): ProjectMessage { diff --git a/app/Services/Company/Project/CreateProjectMessageComment.php b/app/Services/Company/Project/CreateProjectMessageComment.php index 2ee54a6f5..99fa3b0b8 100644 --- a/app/Services/Company/Project/CreateProjectMessageComment.php +++ b/app/Services/Company/Project/CreateProjectMessageComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; -use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectMessage; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectMessageComment extends BaseService { protected array $data; + protected ProjectMessage $projectMessage; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Create a comment in the given project message. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/CreateProjectSprint.php b/app/Services/Company/Project/CreateProjectSprint.php index 2f0cfb5f3..b4a8419f1 100644 --- a/app/Services/Company/Project/CreateProjectSprint.php +++ b/app/Services/Company/Project/CreateProjectSprint.php @@ -2,27 +2,29 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use Illuminate\Support\Facades\DB; use App\Models\Company\ProjectBoard; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class CreateProjectSprint extends BaseService { protected array $data; + protected Project $project; + protected ProjectSprint $projectSprint; + protected ProjectBoard $projectBoard; + protected int $position; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,9 +39,6 @@ public function rules(): array /** * Create a project sprint. - * - * @param array $data - * @return ProjectSprint */ public function execute(array $data): ProjectSprint { diff --git a/app/Services/Company/Project/CreateProjectStatus.php b/app/Services/Company/Project/CreateProjectStatus.php index 091d6b34e..dd764986a 100644 --- a/app/Services/Company/Project/CreateProjectStatus.php +++ b/app/Services/Company/Project/CreateProjectStatus.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectStatus; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectStatus; +use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; class CreateProjectStatus extends BaseService @@ -20,8 +20,6 @@ class CreateProjectStatus extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,9 +35,6 @@ public function rules(): array /** * Create a project status. - * - * @param array $data - * @return ProjectStatus */ public function execute(array $data): ProjectStatus { diff --git a/app/Services/Company/Project/CreateProjectTask.php b/app/Services/Company/Project/CreateProjectTask.php index 3f8a2276f..a17578110 100644 --- a/app/Services/Company/Project/CreateProjectTask.php +++ b/app/Services/Company/Project/CreateProjectTask.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; +use App\Models\Company\ProjectMemberActivity; use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; -use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectTask extends BaseService { @@ -22,8 +22,6 @@ class CreateProjectTask extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,9 +37,6 @@ public function rules(): array /** * Create a project task. - * - * @param array $data - * @return ProjectTask */ public function execute(array $data): ProjectTask { diff --git a/app/Services/Company/Project/CreateProjectTaskComment.php b/app/Services/Company/Project/CreateProjectTaskComment.php index ca23f3174..df21c78bd 100644 --- a/app/Services/Company/Project/CreateProjectTaskComment.php +++ b/app/Services/Company/Project/CreateProjectTaskComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; -use App\Models\Company\ProjectTask; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTask; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectTaskComment extends BaseService { protected array $data; + protected ProjectTask $projectTask; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Create a comment in the given project task. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/CreateProjectTaskList.php b/app/Services/Company/Project/CreateProjectTaskList.php index 7a0158305..3db4af20e 100644 --- a/app/Services/Company/Project/CreateProjectTaskList.php +++ b/app/Services/Company/Project/CreateProjectTaskList.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectTaskList; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTaskList; +use App\Services\BaseService; +use Carbon\Carbon; class CreateProjectTaskList extends BaseService { @@ -19,8 +19,6 @@ class CreateProjectTaskList extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Create a project task list. - * - * @param array $data - * @return ProjectTaskList */ public function execute(array $data): ProjectTaskList { diff --git a/app/Services/Company/Project/DestroyIssueType.php b/app/Services/Company/Project/DestroyIssueType.php index 5a5bb1213..cbb20190e 100644 --- a/app/Services/Company/Project/DestroyIssueType.php +++ b/app/Services/Company/Project/DestroyIssueType.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\IssueType; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyIssueType extends BaseService { protected array $data; + protected IssueType $type; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +27,6 @@ public function rules(): array /** * Delete an issue type. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProject.php b/app/Services/Company/Project/DestroyProject.php index 6d84a0fd8..824546a09 100644 --- a/app/Services/Company/Project/DestroyProject.php +++ b/app/Services/Company/Project/DestroyProject.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProject extends BaseService { protected array $data; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +27,6 @@ public function rules(): array /** * Delete a project. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectBoard.php b/app/Services/Company/Project/DestroyProjectBoard.php index 8c7aad07b..266b7b629 100644 --- a/app/Services/Company/Project/DestroyProjectBoard.php +++ b/app/Services/Company/Project/DestroyProjectBoard.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectBoard extends BaseService { protected array $data; + protected ProjectBoard $projectBoard; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +32,6 @@ public function rules(): array /** * Destroy a project board. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectDecision.php b/app/Services/Company/Project/DestroyProjectDecision.php index ef4c6a8d8..dfcad1439 100644 --- a/app/Services/Company/Project/DestroyProjectDecision.php +++ b/app/Services/Company/Project/DestroyProjectDecision.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectDecision; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectDecision extends BaseService { @@ -19,8 +19,6 @@ class DestroyProjectDecision extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Destroy a project decision. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectFile.php b/app/Services/Company/Project/DestroyProjectFile.php index 4a96023ad..a665e9e28 100644 --- a/app/Services/Company/Project/DestroyProjectFile.php +++ b/app/Services/Company/Project/DestroyProjectFile.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; -use App\Models\Company\File; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; +use App\Models\Company\File; use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectFile extends BaseService { protected array $data; + protected File $file; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +32,6 @@ public function rules(): array /** * Destroy a file in the project. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectIssue.php b/app/Services/Company/Project/DestroyProjectIssue.php index 5a53dd8ff..354e84dcc 100644 --- a/app/Services/Company/Project/DestroyProjectIssue.php +++ b/app/Services/Company/Project/DestroyProjectIssue.php @@ -2,27 +2,29 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use Illuminate\Support\Facades\DB; use App\Models\Company\ProjectIssue; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class DestroyProjectIssue extends BaseService { protected array $data; + protected Project $project; + protected ProjectSprint $projectSprint; + protected ProjectIssue $projectIssue; + protected int $issuePosition; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,8 +39,6 @@ public function rules(): array /** * Delete the project issue. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectIssueComment.php b/app/Services/Company/Project/DestroyProjectIssueComment.php index 161b8fd0e..f26eb68fc 100644 --- a/app/Services/Company/Project/DestroyProjectIssueComment.php +++ b/app/Services/Company/Project/DestroyProjectIssueComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectIssueComment extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Delete a comment. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/DestroyProjectLabel.php b/app/Services/Company/Project/DestroyProjectLabel.php index 86800531b..145d82c3f 100644 --- a/app/Services/Company/Project/DestroyProjectLabel.php +++ b/app/Services/Company/Project/DestroyProjectLabel.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectLabel; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectLabel extends BaseService { protected array $data; + protected Project $project; + protected ProjectLabel $projectLabel; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +32,6 @@ public function rules(): array /** * Destroy the project label. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectLink.php b/app/Services/Company/Project/DestroyProjectLink.php index a466cb6f8..5da2934c5 100644 --- a/app/Services/Company/Project/DestroyProjectLink.php +++ b/app/Services/Company/Project/DestroyProjectLink.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectLink; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectLink extends BaseService { @@ -19,8 +19,6 @@ class DestroyProjectLink extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Destroy a project link. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectMessage.php b/app/Services/Company/Project/DestroyProjectMessage.php index 48f7fddb1..2da6616e0 100644 --- a/app/Services/Company/Project/DestroyProjectMessage.php +++ b/app/Services/Company/Project/DestroyProjectMessage.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectMessage; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectMessage extends BaseService { @@ -19,8 +19,6 @@ class DestroyProjectMessage extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Destroy a project message. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectMessageComment.php b/app/Services/Company/Project/DestroyProjectMessageComment.php index b2f54caa5..bdd0aceb8 100644 --- a/app/Services/Company/Project/DestroyProjectMessageComment.php +++ b/app/Services/Company/Project/DestroyProjectMessageComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; -use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectMessage; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectMessageComment extends BaseService { protected array $data; + protected ProjectMessage $projectMessage; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Delete a comment. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/DestroyProjectSprint.php b/app/Services/Company/Project/DestroyProjectSprint.php index a4aa37bac..7ac5a7ffd 100644 --- a/app/Services/Company/Project/DestroyProjectSprint.php +++ b/app/Services/Company/Project/DestroyProjectSprint.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectSprint extends BaseService { protected array $data; + protected ProjectSprint $projectSprint; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,8 +32,6 @@ public function rules(): array /** * Destroy a project sprint. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectTask.php b/app/Services/Company/Project/DestroyProjectTask.php index 1bef6acc0..7703b64a1 100644 --- a/app/Services/Company/Project/DestroyProjectTask.php +++ b/app/Services/Company/Project/DestroyProjectTask.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectTask; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTask; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectTask extends BaseService { @@ -19,8 +19,6 @@ class DestroyProjectTask extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Destroy a project task. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DestroyProjectTaskComment.php b/app/Services/Company/Project/DestroyProjectTaskComment.php index a3df29cd2..419dd51e4 100644 --- a/app/Services/Company/Project/DestroyProjectTaskComment.php +++ b/app/Services/Company/Project/DestroyProjectTaskComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; -use App\Models\Company\ProjectTask; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTask; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectTaskComment extends BaseService { protected array $data; + protected ProjectTask $projectTask; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +36,6 @@ public function rules(): array /** * Delete a comment. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/DestroyProjectTaskList.php b/app/Services/Company/Project/DestroyProjectTaskList.php index 3aaf21f12..0c9d6013d 100644 --- a/app/Services/Company/Project/DestroyProjectTaskList.php +++ b/app/Services/Company/Project/DestroyProjectTaskList.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectTaskList; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTaskList; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyProjectTaskList extends BaseService { @@ -19,8 +19,6 @@ class DestroyProjectTaskList extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Destroy a project task list. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/DuplicateIssue.php b/app/Services/Company/Project/DuplicateIssue.php index 7944422dc..69aadb801 100644 --- a/app/Services/Company/Project/DuplicateIssue.php +++ b/app/Services/Company/Project/DuplicateIssue.php @@ -2,24 +2,25 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class DuplicateIssue extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected ProjectIssue $duplicatedProjectIssue; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +34,6 @@ public function rules(): array /** * Duplicate an issue. - * - * @param array $data - * @return ProjectIssue */ public function execute(array $data): ProjectIssue { diff --git a/app/Services/Company/Project/MarkProjectMessageasRead.php b/app/Services/Company/Project/MarkProjectMessageasRead.php index f9f8d3e33..f5367fe0b 100644 --- a/app/Services/Company/Project/MarkProjectMessageasRead.php +++ b/app/Services/Company/Project/MarkProjectMessageasRead.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; -use App\Services\BaseService; use App\Models\Company\Project; -use Illuminate\Support\Facades\DB; -use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectMessage; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class MarkProjectMessageasRead extends BaseService { @@ -19,8 +19,6 @@ class MarkProjectMessageasRead extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +32,6 @@ public function rules(): array /** * Mark a project message as read. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/PauseProject.php b/app/Services/Company/Project/PauseProject.php index 84531417a..2c1ca4772 100644 --- a/app/Services/Company/Project/PauseProject.php +++ b/app/Services/Company/Project/PauseProject.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class PauseProject extends BaseService { @@ -16,8 +16,6 @@ class PauseProject extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +28,6 @@ public function rules(): array /** * Pause a project. - * - * @param array $data - * @return Project */ public function execute(array $data): Project { diff --git a/app/Services/Company/Project/RemoveAssigneeFromProjectIssue.php b/app/Services/Company/Project/RemoveAssigneeFromProjectIssue.php index 1cc854246..3d73e7ddc 100644 --- a/app/Services/Company/Project/RemoveAssigneeFromProjectIssue.php +++ b/app/Services/Company/Project/RemoveAssigneeFromProjectIssue.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveAssigneeFromProjectIssue extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected Project $project; + protected Employee $employee; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +36,6 @@ public function rules(): array /** * Remove an employeee from being a project issue assignee. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/RemoveEmployeeFromProject.php b/app/Services/Company/Project/RemoveEmployeeFromProject.php index bd4fc5348..666118861 100644 --- a/app/Services/Company/Project/RemoveEmployeeFromProject.php +++ b/app/Services/Company/Project/RemoveEmployeeFromProject.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveEmployeeFromProject extends BaseService { @@ -20,8 +20,6 @@ class RemoveEmployeeFromProject extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +33,6 @@ public function rules(): array /** * Detach an employee from a project. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/RemoveLabelFromIssue.php b/app/Services/Company/Project/RemoveLabelFromIssue.php index f99a344a6..680821f50 100644 --- a/app/Services/Company/Project/RemoveLabelFromIssue.php +++ b/app/Services/Company/Project/RemoveLabelFromIssue.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectLabel; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveLabelFromIssue extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected ProjectLabel $projectLabel; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +36,6 @@ public function rules(): array /** * Remove a project label from a project issue. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/RemoveParentIssue.php b/app/Services/Company/Project/RemoveParentIssue.php index df83ad286..5885e951b 100644 --- a/app/Services/Company/Project/RemoveParentIssue.php +++ b/app/Services/Company/Project/RemoveParentIssue.php @@ -2,24 +2,25 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class RemoveParentIssue extends BaseService { protected array $data; + protected ProjectIssue $parentIssue; + protected ProjectIssue $childIssue; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,8 +37,6 @@ public function rules(): array * Remove a parent issue from another project issue. * This only kills the relationships between those two. This does not * delete the issue itself. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/SetParentIssue.php b/app/Services/Company/Project/SetParentIssue.php index 8ef66ac8e..d4206a9df 100644 --- a/app/Services/Company/Project/SetParentIssue.php +++ b/app/Services/Company/Project/SetParentIssue.php @@ -2,24 +2,25 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class SetParentIssue extends BaseService { protected array $data; + protected ProjectIssue $parentIssue; + protected ProjectIssue $childIssue; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +35,6 @@ public function rules(): array /** * Set a parent issue to another project issue. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/StartProject.php b/app/Services/Company/Project/StartProject.php index b95e2b8dc..46d909bde 100644 --- a/app/Services/Company/Project/StartProject.php +++ b/app/Services/Company/Project/StartProject.php @@ -2,21 +2,20 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class StartProject extends BaseService { protected array $data; + protected Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +28,6 @@ public function rules(): array /** * Start a project. - * - * @param array $data - * @return Project */ public function execute(array $data): Project { diff --git a/app/Services/Company/Project/StartProjectSprint.php b/app/Services/Company/Project/StartProjectSprint.php index 7d1a5e9d8..61de39d30 100644 --- a/app/Services/Company/Project/StartProjectSprint.php +++ b/app/Services/Company/Project/StartProjectSprint.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; class StartProjectSprint extends BaseService { protected array $data; + protected Project $project; + protected ProjectSprint $projectSprint; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +32,6 @@ public function rules(): array /** * Start the project sprint. - * - * @param array $data - * @return ProjectSprint */ public function execute(array $data): ProjectSprint { diff --git a/app/Services/Company/Project/StopProjectSprint.php b/app/Services/Company/Project/StopProjectSprint.php index 79e0607cd..7078dbec7 100644 --- a/app/Services/Company/Project/StopProjectSprint.php +++ b/app/Services/Company/Project/StopProjectSprint.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; class StopProjectSprint extends BaseService { protected array $data; + protected Project $project; + protected ProjectSprint $projectSprint; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +32,6 @@ public function rules(): array /** * Mark the project sprint as complete. - * - * @param array $data - * @return ProjectSprint */ public function execute(array $data): ProjectSprint { diff --git a/app/Services/Company/Project/ToggleProjectSprint.php b/app/Services/Company/Project/ToggleProjectSprint.php index 13aefd6da..af6c1737e 100644 --- a/app/Services/Company/Project/ToggleProjectSprint.php +++ b/app/Services/Company/Project/ToggleProjectSprint.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Project; -use App\Services\BaseService; use App\Models\Company\Project; -use Illuminate\Support\Facades\DB; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Illuminate\Support\Facades\DB; class ToggleProjectSprint extends BaseService { protected array $data; + protected Project $project; + protected ProjectSprint $projectSprint; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +31,6 @@ public function rules(): array /** * Collapse or expand the project sprint. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/ToggleProjectTask.php b/app/Services/Company/Project/ToggleProjectTask.php index 5cc641295..4166d6d5a 100644 --- a/app/Services/Company/Project/ToggleProjectTask.php +++ b/app/Services/Company/Project/ToggleProjectTask.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectTask; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTask; +use App\Services\BaseService; +use Carbon\Carbon; class ToggleProjectTask extends BaseService { @@ -19,8 +19,6 @@ class ToggleProjectTask extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +32,6 @@ public function rules(): array /** * Toggle the status of the project task. - * - * @param array $data - * @return ProjectTask */ public function execute(array $data): ProjectTask { diff --git a/app/Services/Company/Project/UpdateIssueType.php b/app/Services/Company/Project/UpdateIssueType.php index 513e0c5b5..a365d0b73 100644 --- a/app/Services/Company/Project/UpdateIssueType.php +++ b/app/Services/Company/Project/UpdateIssueType.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\IssueType; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateIssueType extends BaseService { protected array $data; + protected IssueType $type; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,9 +29,6 @@ public function rules(): array /** * Edit an issue type. - * - * @param array $data - * @return IssueType */ public function execute(array $data): IssueType { diff --git a/app/Services/Company/Project/UpdateProjectBoard.php b/app/Services/Company/Project/UpdateProjectBoard.php index 34d2a612e..9bd984ec7 100644 --- a/app/Services/Company/Project/UpdateProjectBoard.php +++ b/app/Services/Company/Project/UpdateProjectBoard.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectBoard extends BaseService { protected array $data; + protected Project $project; + protected ProjectBoard $projectBoard; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +33,6 @@ public function rules(): array /** * Update the project board. - * - * @param array $data - * @return ProjectBoard */ public function execute(array $data): ProjectBoard { diff --git a/app/Services/Company/Project/UpdateProjectDescription.php b/app/Services/Company/Project/UpdateProjectDescription.php index 2cd6e48ea..172ba150c 100644 --- a/app/Services/Company/Project/UpdateProjectDescription.php +++ b/app/Services/Company/Project/UpdateProjectDescription.php @@ -2,11 +2,11 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectDescription extends BaseService { @@ -16,8 +16,6 @@ class UpdateProjectDescription extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,9 +29,6 @@ public function rules(): array /** * Update the project description. - * - * @param array $data - * @return Project */ public function execute(array $data): Project { diff --git a/app/Services/Company/Project/UpdateProjectInformation.php b/app/Services/Company/Project/UpdateProjectInformation.php index 7653a83c2..07e938e67 100644 --- a/app/Services/Company/Project/UpdateProjectInformation.php +++ b/app/Services/Company/Project/UpdateProjectInformation.php @@ -2,22 +2,21 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; +use App\Exceptions\ProjectCodeAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; -use App\Exceptions\ProjectCodeAlreadyExistException; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectInformation extends BaseService { private array $data; + private Project $project; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +33,6 @@ public function rules(): array /** * Update project information. - * - * @param array $data - * @return Project */ public function execute(array $data): Project { diff --git a/app/Services/Company/Project/UpdateProjectIssue.php b/app/Services/Company/Project/UpdateProjectIssue.php index 331ee9934..9c5d0e807 100644 --- a/app/Services/Company/Project/UpdateProjectIssue.php +++ b/app/Services/Company/Project/UpdateProjectIssue.php @@ -2,24 +2,24 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; -use Illuminate\Support\Str; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Str; class UpdateProjectIssue extends BaseService { protected array $data; + protected Project $project; + protected ProjectIssue $projectIssue; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +36,6 @@ public function rules(): array /** * Update the project issue. - * - * @param array $data - * @return ProjectIssue */ public function execute(array $data): ProjectIssue { diff --git a/app/Services/Company/Project/UpdateProjectIssueComment.php b/app/Services/Company/Project/UpdateProjectIssueComment.php index e99eea718..192808211 100644 --- a/app/Services/Company/Project/UpdateProjectIssueComment.php +++ b/app/Services/Company/Project/UpdateProjectIssueComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectIssueComment extends BaseService { protected array $data; + protected ProjectIssue $projectIssue; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +37,6 @@ public function rules(): array /** * Edit a comment. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/UpdateProjectIssuePosition.php b/app/Services/Company/Project/UpdateProjectIssuePosition.php index 2e79c5ad7..88817db54 100644 --- a/app/Services/Company/Project/UpdateProjectIssuePosition.php +++ b/app/Services/Company/Project/UpdateProjectIssuePosition.php @@ -2,25 +2,27 @@ namespace App\Services\Company\Project; -use App\Services\BaseService; use App\Models\Company\Project; -use Illuminate\Support\Facades\DB; use App\Models\Company\ProjectIssue; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Illuminate\Support\Facades\DB; class UpdateProjectIssuePosition extends BaseService { protected array $data; + protected Project $project; + protected ProjectIssue $projectIssue; + protected ProjectSprint $projectSprint; + protected int $pastPosition; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +38,6 @@ public function rules(): array /** * Update the project issue order. - * - * @param array $data - * @return ProjectIssue */ public function execute(array $data): ProjectIssue { diff --git a/app/Services/Company/Project/UpdateProjectIssueStoryPoint.php b/app/Services/Company/Project/UpdateProjectIssueStoryPoint.php index 9c9878a81..4760dcaa7 100644 --- a/app/Services/Company/Project/UpdateProjectIssueStoryPoint.php +++ b/app/Services/Company/Project/UpdateProjectIssueStoryPoint.php @@ -2,24 +2,24 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use Illuminate\Support\Facades\DB; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; +use Illuminate\Support\Facades\DB; class UpdateProjectIssueStoryPoint extends BaseService { protected array $data; + protected Project $project; + protected ProjectIssue $projectIssue; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,8 +34,6 @@ public function rules(): array /** * Update the story point of the given project issue. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Project/UpdateProjectLabel.php b/app/Services/Company/Project/UpdateProjectLabel.php index a0d06e494..ccda0f4de 100644 --- a/app/Services/Company/Project/UpdateProjectLabel.php +++ b/app/Services/Company/Project/UpdateProjectLabel.php @@ -2,24 +2,24 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; +use App\Exceptions\LabelAlreadyExistException; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; use App\Models\Company\ProjectLabel; use App\Models\Company\ProjectMemberActivity; -use App\Exceptions\LabelAlreadyExistException; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectLabel extends BaseService { protected array $data; + protected Project $project; + protected ProjectLabel $projectLabel; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +34,6 @@ public function rules(): array /** * Update the project label. - * - * @param array $data - * @return ProjectLabel */ public function execute(array $data): ProjectLabel { diff --git a/app/Services/Company/Project/UpdateProjectLead.php b/app/Services/Company/Project/UpdateProjectLead.php index f62abf9e0..6be835844 100644 --- a/app/Services/Company/Project/UpdateProjectLead.php +++ b/app/Services/Company/Project/UpdateProjectLead.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectLead extends BaseService { @@ -20,8 +20,6 @@ class UpdateProjectLead extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,9 +33,6 @@ public function rules(): array /** * Update project lead. - * - * @param array $data - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Project/UpdateProjectMessage.php b/app/Services/Company/Project/UpdateProjectMessage.php index bcbf445f3..0142569aa 100644 --- a/app/Services/Company/Project/UpdateProjectMessage.php +++ b/app/Services/Company/Project/UpdateProjectMessage.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectMessage; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectMessage extends BaseService { protected array $data; + protected Project $project; + protected ProjectMessage $projectMessage; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -34,9 +34,6 @@ public function rules(): array /** * Update the project message. - * - * @param array $data - * @return ProjectMessage */ public function execute(array $data): ProjectMessage { diff --git a/app/Services/Company/Project/UpdateProjectMessageComment.php b/app/Services/Company/Project/UpdateProjectMessageComment.php index 624e81ac4..f3f5a91ba 100644 --- a/app/Services/Company/Project/UpdateProjectMessageComment.php +++ b/app/Services/Company/Project/UpdateProjectMessageComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; -use App\Models\Company\ProjectMessage; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectMessage; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectMessageComment extends BaseService { protected array $data; + protected ProjectMessage $projectMessage; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +37,6 @@ public function rules(): array /** * Edit a comment. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/UpdateProjectSprint.php b/app/Services/Company/Project/UpdateProjectSprint.php index 813dffc90..9243c8f79 100644 --- a/app/Services/Company/Project/UpdateProjectSprint.php +++ b/app/Services/Company/Project/UpdateProjectSprint.php @@ -2,23 +2,23 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectSprint; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectSprint; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectSprint extends BaseService { protected array $data; + protected Project $project; + protected ProjectSprint $projectSprint; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +33,6 @@ public function rules(): array /** * Update the project sprint. - * - * @param array $data - * @return ProjectSprint */ public function execute(array $data): ProjectSprint { diff --git a/app/Services/Company/Project/UpdateProjectTask.php b/app/Services/Company/Project/UpdateProjectTask.php index b291de05f..9e5bab451 100644 --- a/app/Services/Company/Project/UpdateProjectTask.php +++ b/app/Services/Company/Project/UpdateProjectTask.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; +use App\Models\Company\ProjectMemberActivity; use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; -use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectTask extends BaseService { protected array $data; + protected Project $project; + protected ProjectTask $projectTask; + protected ProjectTaskList $projectTaskList; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -37,9 +38,6 @@ public function rules(): array /** * Update the project task. - * - * @param array $data - * @return ProjectTask */ public function execute(array $data): ProjectTask { diff --git a/app/Services/Company/Project/UpdateProjectTaskComment.php b/app/Services/Company/Project/UpdateProjectTaskComment.php index 8f7ce58b6..1180defcf 100644 --- a/app/Services/Company/Project/UpdateProjectTaskComment.php +++ b/app/Services/Company/Project/UpdateProjectTaskComment.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Comment; use App\Models\Company\Project; -use App\Models\Company\ProjectTask; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTask; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectTaskComment extends BaseService { protected array $data; + protected ProjectTask $projectTask; + protected Project $project; + protected Comment $comment; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +37,6 @@ public function rules(): array /** * Edit a comment. - * - * @param array $data - * @return Comment */ public function execute(array $data): Comment { diff --git a/app/Services/Company/Project/UpdateProjectTaskList.php b/app/Services/Company/Project/UpdateProjectTaskList.php index d63863d32..f6439e509 100644 --- a/app/Services/Company/Project/UpdateProjectTaskList.php +++ b/app/Services/Company/Project/UpdateProjectTaskList.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\Project; -use App\Models\Company\ProjectTaskList; use App\Models\Company\ProjectMemberActivity; +use App\Models\Company\ProjectTaskList; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateProjectTaskList extends BaseService { @@ -19,8 +19,6 @@ class UpdateProjectTaskList extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,9 +34,6 @@ public function rules(): array /** * Update the project task list. - * - * @param array $data - * @return ProjectTaskList */ public function execute(array $data): ProjectTaskList { diff --git a/app/Services/Company/Project/UpdateTypeOfProjectIssue.php b/app/Services/Company/Project/UpdateTypeOfProjectIssue.php index de8d4b554..9aee414f7 100644 --- a/app/Services/Company/Project/UpdateTypeOfProjectIssue.php +++ b/app/Services/Company/Project/UpdateTypeOfProjectIssue.php @@ -2,25 +2,26 @@ namespace App\Services\Company\Project; -use Carbon\Carbon; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; -use App\Models\Company\Project; use App\Models\Company\IssueType; +use App\Models\Company\Project; use App\Models\Company\ProjectIssue; use App\Models\Company\ProjectMemberActivity; +use App\Services\BaseService; +use Carbon\Carbon; class UpdateTypeOfProjectIssue extends BaseService { protected array $data; + protected Project $project; + protected ProjectIssue $projectIssue; + protected IssueType $issueType; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,8 +36,6 @@ public function rules(): array /** * Update the issue type of the project issue. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Task/CreateTask.php b/app/Services/Company/Task/CreateTask.php index 28c976eb1..c4b1420c4 100644 --- a/app/Services/Company/Task/CreateTask.php +++ b/app/Services/Company/Task/CreateTask.php @@ -2,13 +2,13 @@ namespace App\Services\Company\Task; -use Carbon\Carbon; -use App\Jobs\NotifyEmployee; -use App\Models\Company\Task; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Jobs\LogEmployeeAudit; +use App\Jobs\NotifyEmployee; use App\Models\Company\Employee; +use App\Models\Company\Task; +use App\Services\BaseService; +use Carbon\Carbon; class CreateTask extends BaseService { @@ -20,8 +20,6 @@ class CreateTask extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -38,10 +36,6 @@ public function rules(): array /** * Create a task. - * - * @param array $data - * - * @return Task */ public function execute(array $data): Task { diff --git a/app/Services/Company/Team/Description/ClearTeamDescription.php b/app/Services/Company/Team/Description/ClearTeamDescription.php index f559bb813..df633b48b 100644 --- a/app/Services/Company/Team/Description/ClearTeamDescription.php +++ b/app/Services/Company/Team/Description/ClearTeamDescription.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Team\Description; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; +use Carbon\Carbon; class ClearTeamDescription extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,10 +24,6 @@ public function rules(): array /** * Clear a team's description. - * - * @param array $data - * - * @return Team */ public function execute(array $data): Team { diff --git a/app/Services/Company/Team/Description/SetTeamDescription.php b/app/Services/Company/Team/Description/SetTeamDescription.php index 2950d343e..3a42ed93c 100644 --- a/app/Services/Company/Team/Description/SetTeamDescription.php +++ b/app/Services/Company/Team/Description/SetTeamDescription.php @@ -2,18 +2,16 @@ namespace App\Services\Company\Team\Description; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; +use Carbon\Carbon; class SetTeamDescription extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,10 +28,6 @@ public function rules(): array * The description should be saved as unparsed markdown content, and fetched * as unparsed markdown content. The UI is responsible for parsing and * displaying the proper content. - * - * @param array $data - * - * @return Team */ public function execute(array $data): Team { diff --git a/app/Services/Company/Team/Links/CreateTeamUsefulLink.php b/app/Services/Company/Team/Links/CreateTeamUsefulLink.php index 11a1d7437..d0f1b20f9 100644 --- a/app/Services/Company/Team/Links/CreateTeamUsefulLink.php +++ b/app/Services/Company/Team/Links/CreateTeamUsefulLink.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Team\Links; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; +use App\Models\Company\TeamUsefulLink; use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Validation\Rule; -use App\Models\Company\TeamUsefulLink; class CreateTeamUsefulLink extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -40,10 +38,6 @@ public function rules(): array * Create a team useful link. * A useful link is a link that provides information to someone visiting * the team page. - * - * @param array $data - * - * @return TeamUsefulLink */ public function execute(array $data): TeamUsefulLink { @@ -65,10 +59,6 @@ public function execute(array $data): TeamUsefulLink /** * Actually create the link. - * - * @param array $data - * - * @return TeamUsefulLink */ private function createLink(array $data): TeamUsefulLink { @@ -82,10 +72,6 @@ private function createLink(array $data): TeamUsefulLink /** * Add logs. - * - * @param array $data - * @param TeamUsefulLink $link - * @param Team $team */ private function log(array $data, TeamUsefulLink $link, Team $team): void { diff --git a/app/Services/Company/Team/Links/DestroyTeamUsefulLink.php b/app/Services/Company/Team/Links/DestroyTeamUsefulLink.php index 7da1f2b6b..e6ab82fba 100644 --- a/app/Services/Company/Team/Links/DestroyTeamUsefulLink.php +++ b/app/Services/Company/Team/Links/DestroyTeamUsefulLink.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Team\Links; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\TeamUsefulLink; +use App\Services\BaseService; +use Carbon\Carbon; class DestroyTeamUsefulLink extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Destroy a team useful link. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Team/Links/UpdateTeamUsefulLink.php b/app/Services/Company/Team/Links/UpdateTeamUsefulLink.php index 9f69ae16d..1cfa7f269 100644 --- a/app/Services/Company/Team/Links/UpdateTeamUsefulLink.php +++ b/app/Services/Company/Team/Links/UpdateTeamUsefulLink.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Team\Links; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; +use App\Models\Company\TeamUsefulLink; use App\Services\BaseService; +use Carbon\Carbon; use Illuminate\Validation\Rule; -use App\Models\Company\TeamUsefulLink; class UpdateTeamUsefulLink extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -39,10 +37,6 @@ public function rules(): array * Update a team useful link. * A useful link is a link that provides information to someone visiting * the team page. - * - * @param array $data - * - * @return TeamUsefulLink */ public function execute(array $data): TeamUsefulLink { @@ -71,10 +65,6 @@ public function execute(array $data): TeamUsefulLink /** * Add logs. - * - * @param array $data - * @param TeamUsefulLink $link - * @param Team $team */ private function log(array $data, TeamUsefulLink $link, Team $team): void { diff --git a/app/Services/Company/Team/SetTeamLead.php b/app/Services/Company/Team/SetTeamLead.php index efeed71e7..d0ddd5ac8 100644 --- a/app/Services/Company/Team/SetTeamLead.php +++ b/app/Services/Company/Team/SetTeamLead.php @@ -2,25 +2,24 @@ namespace App\Services\Company\Team; -use Carbon\Carbon; +use App\Exceptions\NotEnoughPermissionException; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Jobs\NotifyEmployee; +use App\Models\Company\Employee; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; -use App\Models\Company\Employee; -use App\Exceptions\NotEnoughPermissionException; use App\Services\Company\Employee\Team\AddEmployeeToTeam; +use Carbon\Carbon; class SetTeamLead extends BaseService { private Employee $employee; + private Team $team; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -35,11 +34,8 @@ public function rules(): array /** * Set the employee as the team leader. * - * @param array $data * * @throws NotEnoughPermissionException - * - * @return Employee */ public function execute(array $data): Employee { @@ -66,8 +62,6 @@ public function execute(array $data): Employee /** * Save the team with the new information. - * - * @param array $data */ private function save(array $data): void { @@ -77,8 +71,6 @@ private function save(array $data): void /** * Add the employee to the team - if he’s not in the team already. - * - * @param array $data */ private function addEmployeeToTeam(array $data): void { @@ -110,8 +102,6 @@ private function addNotification(): void /** * Log the information in the audit logs. - * - * @param array $data */ private function log(array $data): void { diff --git a/app/Services/Company/Team/Ship/AttachEmployeeToShip.php b/app/Services/Company/Team/Ship/AttachEmployeeToShip.php index b5112b829..b284f1d2d 100644 --- a/app/Services/Company/Team/Ship/AttachEmployeeToShip.php +++ b/app/Services/Company/Team/Ship/AttachEmployeeToShip.php @@ -2,16 +2,16 @@ namespace App\Services\Company\Team\Ship; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; +use App\Jobs\LogEmployeeAudit; use App\Jobs\NotifyEmployee; +use App\Models\Company\Employee; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; -use App\Jobs\LogEmployeeAudit; -use App\Models\Company\Employee; -use App\Services\QueuableService; use App\Services\DispatchableService; +use App\Services\QueuableService; +use Carbon\Carbon; use Illuminate\Database\Eloquent\ModelNotFoundException; class AttachEmployeeToShip extends BaseService implements QueuableService @@ -28,8 +28,6 @@ class AttachEmployeeToShip extends BaseService implements QueuableService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -43,10 +41,6 @@ public function rules(): array /** * Associate an employee with a recent ship entry. - * - * @param array $data - * - * @return Employee */ public function execute(array $data): Employee { diff --git a/app/Services/Company/Team/Ship/CreateShip.php b/app/Services/Company/Team/Ship/CreateShip.php index afbae05fe..ca810430a 100644 --- a/app/Services/Company/Team/Ship/CreateShip.php +++ b/app/Services/Company/Team/Ship/CreateShip.php @@ -2,12 +2,12 @@ namespace App\Services\Company\Team\Ship; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; +use Carbon\Carbon; class CreateShip extends BaseService { @@ -19,8 +19,6 @@ class CreateShip extends BaseService /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,10 +34,6 @@ public function rules(): array /** * Create a ship - something that the team has recently shipped. - * - * @param array $data - * - * @return Ship */ public function execute(array $data): Ship { diff --git a/app/Services/Company/Team/Ship/DestroyShip.php b/app/Services/Company/Team/Ship/DestroyShip.php index 536d8d8f6..8ca9319a3 100644 --- a/app/Services/Company/Team/Ship/DestroyShip.php +++ b/app/Services/Company/Team/Ship/DestroyShip.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Team\Ship; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Ship; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; +use Carbon\Carbon; class DestroyShip extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Destroy a ship. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Team/TeamNews/CreateTeamNews.php b/app/Services/Company/Team/TeamNews/CreateTeamNews.php index 354104a35..f7d2b3af1 100644 --- a/app/Services/Company/Team/TeamNews/CreateTeamNews.php +++ b/app/Services/Company/Team/TeamNews/CreateTeamNews.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Team\TeamNews; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\TeamNews; +use App\Services\BaseService; +use Carbon\Carbon; class CreateTeamNews extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,10 +28,6 @@ public function rules(): array /** * Create a team news. - * - * @param array $data - * - * @return TeamNews */ public function execute(array $data): TeamNews { diff --git a/app/Services/Company/Team/TeamNews/DestroyTeamNews.php b/app/Services/Company/Team/TeamNews/DestroyTeamNews.php index 369274cbd..7fba22b71 100644 --- a/app/Services/Company/Team/TeamNews/DestroyTeamNews.php +++ b/app/Services/Company/Team/TeamNews/DestroyTeamNews.php @@ -2,19 +2,17 @@ namespace App\Services\Company\Team\TeamNews; -use Exception; -use Carbon\Carbon; -use App\Jobs\LogTeamAudit; use App\Jobs\LogAccountAudit; -use App\Services\BaseService; +use App\Jobs\LogTeamAudit; use App\Models\Company\TeamNews; +use App\Services\BaseService; +use Carbon\Carbon; +use Exception; class DestroyTeamNews extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -27,10 +25,6 @@ public function rules(): array /** * Destroy a team news. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/Company/Team/TeamNews/UpdateTeamNews.php b/app/Services/Company/Team/TeamNews/UpdateTeamNews.php index 992f5a3ee..6f4ca731e 100644 --- a/app/Services/Company/Team/TeamNews/UpdateTeamNews.php +++ b/app/Services/Company/Team/TeamNews/UpdateTeamNews.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Team\TeamNews; -use Exception; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; -use App\Services\BaseService; use App\Models\Company\TeamNews; +use App\Services\BaseService; +use Carbon\Carbon; +use Exception; class UpdateTeamNews extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,10 +28,6 @@ public function rules(): array /** * Update a team news. - * - * @param array $data - * - * @return TeamNews */ public function execute(array $data): TeamNews { diff --git a/app/Services/Company/Team/UnsetTeamLead.php b/app/Services/Company/Team/UnsetTeamLead.php index baad95b1c..068681549 100644 --- a/app/Services/Company/Team/UnsetTeamLead.php +++ b/app/Services/Company/Team/UnsetTeamLead.php @@ -2,20 +2,18 @@ namespace App\Services\Company\Team; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Jobs\LogTeamAudit; use App\Jobs\NotifyEmployee; +use App\Models\Company\Employee; use App\Models\Company\Team; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; -use App\Models\Company\Employee; +use Carbon\Carbon; class UnsetTeamLead extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,10 +26,6 @@ public function rules(): array /** * Remove the team's leader. - * - * @param array $data - * - * @return Team */ public function execute(array $data): Team { @@ -58,9 +52,6 @@ public function execute(array $data): Team /** * Add a notification in the UI for the employee who has been demoted. - * - * @param Employee $employee - * @param Team $team */ private function addNotification(Employee $employee, Team $team): void { @@ -75,10 +66,6 @@ private function addNotification(Employee $employee, Team $team): void /** * Log the information in the audit logs. - * - * @param array $data - * @param Employee $oldTeamLeader - * @param Team $team */ private function log(array $data, Employee $oldTeamLeader, Team $team): void { diff --git a/app/Services/Company/Wiki/AddPageToWiki.php b/app/Services/Company/Wiki/AddPageToWiki.php index d8190a556..42c63ebae 100644 --- a/app/Services/Company/Wiki/AddPageToWiki.php +++ b/app/Services/Company/Wiki/AddPageToWiki.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Wiki; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Models\Company\Page; use App\Models\Company\Wiki; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; +use Carbon\Carbon; class AddPageToWiki extends BaseService { protected array $data; + protected Wiki $wiki; + protected Page $page; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -32,9 +32,6 @@ public function rules(): array /** * Create a page in a wiki. - * - * @param array $data - * @return Page */ public function execute(array $data): Page { diff --git a/app/Services/Company/Wiki/CreatePageRevision.php b/app/Services/Company/Wiki/CreatePageRevision.php index 017f45235..1b8f37a8e 100644 --- a/app/Services/Company/Wiki/CreatePageRevision.php +++ b/app/Services/Company/Wiki/CreatePageRevision.php @@ -3,21 +3,22 @@ namespace App\Services\Company\Wiki; use App\Models\Company\Page; +use App\Models\Company\PageRevision; use App\Models\Company\Wiki; use App\Services\BaseService; -use App\Models\Company\PageRevision; class CreatePageRevision extends BaseService { protected array $data; + protected Wiki $wiki; + protected Page $page; + protected PageRevision $pageRevision; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,9 +32,6 @@ public function rules(): array /** * Create a page revision for the given page. - * - * @param array $data - * @return PageRevision */ public function execute(array $data): PageRevision { diff --git a/app/Services/Company/Wiki/CreateWiki.php b/app/Services/Company/Wiki/CreateWiki.php index a9ace9be6..17b836928 100644 --- a/app/Services/Company/Wiki/CreateWiki.php +++ b/app/Services/Company/Wiki/CreateWiki.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Wiki; -use Carbon\Carbon; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; +use App\Models\Company\Wiki; use App\Services\BaseService; +use Carbon\Carbon; class CreateWiki extends BaseService { protected array $data; + protected Wiki $wiki; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,9 +27,6 @@ public function rules(): array /** * Create a wiki. - * - * @param array $data - * @return Wiki */ public function execute(array $data): Wiki { diff --git a/app/Services/Company/Wiki/DestroyPage.php b/app/Services/Company/Wiki/DestroyPage.php index ca6589bc5..d46256ae9 100644 --- a/app/Services/Company/Wiki/DestroyPage.php +++ b/app/Services/Company/Wiki/DestroyPage.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Wiki; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Models\Company\Page; use App\Models\Company\Wiki; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; +use Carbon\Carbon; class DestroyPage extends BaseService { protected array $data; + protected Wiki $wiki; + protected Page $page; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -31,8 +31,6 @@ public function rules(): array /** * Delete a page in a wiki. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Wiki/DestroyWiki.php b/app/Services/Company/Wiki/DestroyWiki.php index 35d26fd34..4d7c20df5 100644 --- a/app/Services/Company/Wiki/DestroyWiki.php +++ b/app/Services/Company/Wiki/DestroyWiki.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Wiki; -use Carbon\Carbon; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; +use App\Models\Company\Wiki; use App\Services\BaseService; +use Carbon\Carbon; class DestroyWiki extends BaseService { protected array $data; + protected Wiki $wiki; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,8 +27,6 @@ public function rules(): array /** * Delete a wiki. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Wiki/IncrementPageViewForPage.php b/app/Services/Company/Wiki/IncrementPageViewForPage.php index 00add7a61..d423653de 100644 --- a/app/Services/Company/Wiki/IncrementPageViewForPage.php +++ b/app/Services/Company/Wiki/IncrementPageViewForPage.php @@ -3,18 +3,17 @@ namespace App\Services\Company\Wiki; use App\Models\Company\Page; -use App\Services\BaseService; use App\Models\Company\Pageview; +use App\Services\BaseService; class IncrementPageViewForPage extends BaseService { protected array $data; + protected Page $page; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,8 +28,6 @@ public function rules(): array * Increment the counter showing the number of times the page has been seen. * This is an internal service that should only be called inside another * service. - * - * @param array $data */ public function execute(array $data): void { diff --git a/app/Services/Company/Wiki/UpdatePage.php b/app/Services/Company/Wiki/UpdatePage.php index 4911f50fd..de3fa3787 100644 --- a/app/Services/Company/Wiki/UpdatePage.php +++ b/app/Services/Company/Wiki/UpdatePage.php @@ -2,22 +2,22 @@ namespace App\Services\Company\Wiki; -use Carbon\Carbon; +use App\Jobs\LogAccountAudit; use App\Models\Company\Page; use App\Models\Company\Wiki; -use App\Jobs\LogAccountAudit; use App\Services\BaseService; +use Carbon\Carbon; class UpdatePage extends BaseService { protected array $data; + protected Wiki $wiki; + protected Page $page; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -33,9 +33,6 @@ public function rules(): array /** * Edit a page in a wiki. - * - * @param array $data - * @return Page */ public function execute(array $data): Page { diff --git a/app/Services/Company/Wiki/UpdateWiki.php b/app/Services/Company/Wiki/UpdateWiki.php index 4e52c4908..db85c67c7 100644 --- a/app/Services/Company/Wiki/UpdateWiki.php +++ b/app/Services/Company/Wiki/UpdateWiki.php @@ -2,20 +2,19 @@ namespace App\Services\Company\Wiki; -use Carbon\Carbon; -use App\Models\Company\Wiki; use App\Jobs\LogAccountAudit; +use App\Models\Company\Wiki; use App\Services\BaseService; +use Carbon\Carbon; class UpdateWiki extends BaseService { protected array $data; + protected Wiki $wiki; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,9 +28,6 @@ public function rules(): array /** * Update a wiki. - * - * @param array $data - * @return Wiki */ public function execute(array $data): Wiki { diff --git a/app/Services/DispatchableService.php b/app/Services/DispatchableService.php index 832ad71d1..72c739e6f 100644 --- a/app/Services/DispatchableService.php +++ b/app/Services/DispatchableService.php @@ -2,9 +2,9 @@ namespace App\Services; -use Throwable; use App\Jobs\ServiceQueue; use Illuminate\Foundation\Bus\PendingDispatch; +use Throwable; /** * This trait helps dispatch a QueuableService. @@ -13,8 +13,6 @@ trait DispatchableService { /** * Create a new service. - * - * @param array $data */ public function __construct(array $data = []) { @@ -25,12 +23,12 @@ public function __construct(array $data = []) * Dispatch the service with the given arguments. * * @param mixed ...$arguments - * @return \Illuminate\Foundation\Bus\PendingDispatch */ public static function dispatch(...$arguments): PendingDispatch { /** @var QueuableService $service */ $service = new self(...$arguments); + return ServiceQueue::dispatch($service); } @@ -38,21 +36,17 @@ public static function dispatch(...$arguments): PendingDispatch * Dispatch the service with the given arguments on the sync queue. * * @param mixed ...$arguments - * @return mixed */ public static function dispatchSync(...$arguments): mixed { /** @var QueuableService $service */ $service = new self(...$arguments); + return ServiceQueue::dispatchSync($service); } /** * Handle a job failure. - * - * @param \Throwable $exception */ - public function failed(Throwable $exception): void - { - } + public function failed(Throwable $exception): void {} } diff --git a/app/Services/Logs/LogAccountAction.php b/app/Services/Logs/LogAccountAction.php index 025431fbe..038b1aa3e 100644 --- a/app/Services/Logs/LogAccountAction.php +++ b/app/Services/Logs/LogAccountAction.php @@ -2,15 +2,13 @@ namespace App\Services\Logs; -use App\Services\BaseService; use App\Models\Company\AuditLog; +use App\Services\BaseService; class LogAccountAction extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -29,10 +27,6 @@ public function rules(): array * Log an action that happened in a company. * This service is used in the Audit Log screen in the Adminland, and * therefore should only be used to log important actions. - * - * @param array $data - * - * @return AuditLog */ public function execute(array $data): AuditLog { diff --git a/app/Services/Logs/LogEmployeeAction.php b/app/Services/Logs/LogEmployeeAction.php index b1e3490ca..44b4aa713 100644 --- a/app/Services/Logs/LogEmployeeAction.php +++ b/app/Services/Logs/LogEmployeeAction.php @@ -2,17 +2,15 @@ namespace App\Services\Logs; -use App\Services\BaseService; use App\Models\Company\Employee; use App\Models\Company\EmployeeLog; +use App\Services\BaseService; use Illuminate\Database\Eloquent\ModelNotFoundException; class LogEmployeeAction extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,10 +28,6 @@ public function rules(): array /** * Log an action that happened to the employee. * This also creates an audit log. - * - * @param array $data - * - * @return EmployeeLog */ public function execute(array $data): EmployeeLog { diff --git a/app/Services/Logs/LogTeamAction.php b/app/Services/Logs/LogTeamAction.php index 2099243d0..7785c70a9 100644 --- a/app/Services/Logs/LogTeamAction.php +++ b/app/Services/Logs/LogTeamAction.php @@ -2,18 +2,16 @@ namespace App\Services\Logs; +use App\Models\Company\Employee; use App\Models\Company\Team; -use App\Services\BaseService; use App\Models\Company\TeamLog; -use App\Models\Company\Employee; +use App\Services\BaseService; use Illuminate\Database\Eloquent\ModelNotFoundException; class LogTeamAction extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -30,10 +28,6 @@ public function rules(): array /** * Log an action that happened to the team. - * - * @param array $data - * - * @return TeamLog */ public function execute(array $data): TeamLog { diff --git a/app/Services/QueuableService.php b/app/Services/QueuableService.php index 6b4de1e02..38ae5921a 100644 --- a/app/Services/QueuableService.php +++ b/app/Services/QueuableService.php @@ -16,8 +16,6 @@ public function handle(): void; /** * Handle a job failure. - * - * @param \Throwable $exception */ public function failed(Throwable $exception): void; } diff --git a/app/Services/User/CreateAccount.php b/app/Services/User/CreateAccount.php index 0151039b3..92fb6c5fe 100644 --- a/app/Services/User/CreateAccount.php +++ b/app/Services/User/CreateAccount.php @@ -2,12 +2,12 @@ namespace App\Services\User; -use App\Models\User\User; -use Illuminate\Support\Str; use App\Helpers\LocaleHelper; +use App\Models\User\User; use App\Services\BaseService; -use Illuminate\Validation\Rule; use Illuminate\Support\Facades\Hash; +use Illuminate\Support\Str; +use Illuminate\Validation\Rule; use Laravel\Fortify\Contracts\CreatesNewUsers; class CreateAccount extends BaseService implements CreatesNewUsers @@ -18,8 +18,6 @@ class CreateAccount extends BaseService implements CreatesNewUsers /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -45,9 +43,6 @@ public function rules(): array /** * Validate and create a newly registered user. - * - * @param array $input - * @return User */ public function create(array $input): User { @@ -56,10 +51,6 @@ public function create(array $input): User /** * Create a user and send a confirmation email. - * - * @param array $data - * - * @return User */ public function execute(array $data): User { @@ -77,8 +68,6 @@ public function execute(array $data): User /** * Create the user. - * - * @param array $data */ private function createUser(array $data): void { diff --git a/app/Services/User/PasswordValidationRules.php b/app/Services/User/PasswordValidationRules.php index 8a2bb88b1..3c412809f 100644 --- a/app/Services/User/PasswordValidationRules.php +++ b/app/Services/User/PasswordValidationRules.php @@ -9,7 +9,7 @@ trait PasswordValidationRules /** * Get the validation rules used to validate passwords. * - * @param boolean $confirmed + * @param bool $confirmed * @return array */ protected function passwordRules($confirmed = false) diff --git a/app/Services/User/Preferences/ChangeHelpPreferences.php b/app/Services/User/Preferences/ChangeHelpPreferences.php index 614d289fa..ca62221bf 100644 --- a/app/Services/User/Preferences/ChangeHelpPreferences.php +++ b/app/Services/User/Preferences/ChangeHelpPreferences.php @@ -9,8 +9,6 @@ class ChangeHelpPreferences extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -24,10 +22,6 @@ public function rules(): array * Saves the help preferences. * If it's set to true, it will show an help button next to the main features * on the screen. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/User/Preferences/UpdateDashboardView.php b/app/Services/User/Preferences/UpdateDashboardView.php index e41944f1a..be5c1652b 100644 --- a/app/Services/User/Preferences/UpdateDashboardView.php +++ b/app/Services/User/Preferences/UpdateDashboardView.php @@ -2,17 +2,15 @@ namespace App\Services\User\Preferences; +use App\Models\Company\Employee; use App\Models\User\User; use App\Services\BaseService; use Illuminate\Validation\Rule; -use App\Models\Company\Employee; class UpdateDashboardView extends BaseService { /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -36,10 +34,6 @@ public function rules(): array /** * Saves the tab the user was in when viewing the dashboard. - * - * @param array $data - * - * @return bool */ public function execute(array $data): bool { diff --git a/app/Services/User/ResetUserPassword.php b/app/Services/User/ResetUserPassword.php index 6f53a7760..41d43760c 100644 --- a/app/Services/User/ResetUserPassword.php +++ b/app/Services/User/ResetUserPassword.php @@ -12,8 +12,6 @@ class ResetUserPassword extends BaseService implements ResetsUserPasswords /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -26,7 +24,6 @@ public function rules(): array * Validate and reset the user's forgotten password. * * @param mixed $user - * @param array $input */ public function reset($user, array $input) { diff --git a/app/Services/User/UpdateLocale.php b/app/Services/User/UpdateLocale.php index aacff3aae..e806a53f4 100644 --- a/app/Services/User/UpdateLocale.php +++ b/app/Services/User/UpdateLocale.php @@ -9,12 +9,11 @@ class UpdateLocale extends BaseService { protected array $data; + protected User $user; /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -23,16 +22,13 @@ public function rules(): array 'locale' => [ 'required', 'string', - Rule::in(config('lang-detector.languages')), + Rule::in(['en', 'fr']), ], ]; } /** * Update the user locale. - * - * @param array $data - * @return User */ public function execute(array $data): User { diff --git a/app/Services/User/UpdateUserPassword.php b/app/Services/User/UpdateUserPassword.php index 285676e80..7822e77ee 100644 --- a/app/Services/User/UpdateUserPassword.php +++ b/app/Services/User/UpdateUserPassword.php @@ -13,8 +13,6 @@ class UpdateUserPassword extends BaseService implements UpdatesUserPasswords /** * Get the validation rules that apply to the service. - * - * @return array */ public function rules(): array { @@ -28,7 +26,6 @@ public function rules(): array * Validate and update the user's password. * * @param mixed $user - * @param array $input */ public function update($user, array $input) { diff --git a/app/Services/User/UpdateUserProfileInformation.php b/app/Services/User/UpdateUserProfileInformation.php index f4f8f2646..9e2e63594 100644 --- a/app/Services/User/UpdateUserProfileInformation.php +++ b/app/Services/User/UpdateUserProfileInformation.php @@ -3,8 +3,8 @@ namespace App\Services\User; use App\Services\BaseService; -use Illuminate\Validation\Rule; use Illuminate\Support\Facades\Validator; +use Illuminate\Validation\Rule; use Laravel\Fortify\Contracts\UpdatesUserProfileInformation; class UpdateUserProfileInformation extends BaseService implements UpdatesUserProfileInformation @@ -13,7 +13,6 @@ class UpdateUserProfileInformation extends BaseService implements UpdatesUserPro * Validate and update the given user's profile information. * * @param mixed $user - * @param array $input */ public function update($user, array $input) { @@ -44,7 +43,6 @@ public function update($user, array $input) * Update the given verified user's profile information. * * @param mixed $user - * @param array $input */ protected function updateVerifiedUser($user, array $input) { diff --git a/app/Traits/JsonRespondController.php b/app/Traits/JsonRespondController.php index b26f6aa9b..deeaf70d9 100644 --- a/app/Traits/JsonRespondController.php +++ b/app/Traits/JsonRespondController.php @@ -2,9 +2,9 @@ namespace App\Traits; -use Illuminate\Http\Request; -use Illuminate\Http\JsonResponse; use Illuminate\Contracts\Validation\Validator; +use Illuminate\Http\JsonResponse; +use Illuminate\Http\Request; trait JsonRespondController { @@ -31,8 +31,7 @@ public function getHTTPStatusCode() /** * Set HTTP status code of the response. * - * @param int $statusCode - * + * @param int $statusCode * @return $this */ public function setHTTPStatusCode($statusCode) @@ -55,8 +54,7 @@ public function getErrorMessage() /** * Set error code of the response. * - * @param string $errorMessage - * + * @param string $errorMessage * @return $this */ public function setErrorMessage($errorMessage) @@ -69,8 +67,7 @@ public function setErrorMessage($errorMessage) /** * Sends a JSON to the consumer. * - * @param array $data - * + * @param array $data * @return JsonResponse */ public function respond($data) @@ -94,7 +91,6 @@ public function respondNotFound() /** * Sends an error when the validator failed. * - * @param Validator $validator * * @return JsonResponse */ @@ -109,8 +105,7 @@ public function respondValidatorFailed(Validator $validator) * Sends an error when the query didn't have the right parameters for * creating an object. * - * @param string $message - * + * @param string $message * @return JsonResponse */ public function respondNotTheRightParameters($message = null) @@ -123,8 +118,7 @@ public function respondNotTheRightParameters($message = null) /** * Sends a response invalid query (http 500) to the request. * - * @param string $message - * + * @param string $message * @return JsonResponse */ public function respondInvalidQuery($message = null) @@ -137,8 +131,7 @@ public function respondInvalidQuery($message = null) /** * Sends a response unauthorized (401) to the request. * - * @param string $message - * + * @param string $message * @return JsonResponse */ public function respondUnauthorized($message = null) @@ -151,8 +144,7 @@ public function respondUnauthorized($message = null) /** * Sends a response with error. * - * @param array|string|null $message - * + * @param array|string|null $message * @return JsonResponse */ public function respondWithError($message = null) @@ -169,8 +161,7 @@ public function respondWithError($message = null) * Sends a response that the object has been deleted, and also indicates * the id of the object that has been deleted. * - * @param int $id - * + * @param int $id * @return JsonResponse */ public function respondObjectDeleted($id) diff --git a/config/app.php b/config/app.php index 4dd746ece..224ffde85 100644 --- a/config/app.php +++ b/config/app.php @@ -184,7 +184,6 @@ App\Providers\AuthServiceProvider::class, // App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, - Vluzrmos\LanguageDetector\Providers\LanguageDetectorServiceProvider::class, App\Providers\RouteServiceProvider::class, App\Providers\FortifyServiceProvider::class, Sentry\Laravel\ServiceProvider::class, diff --git a/config/auth.php b/config/auth.php index c49fdf130..5a9fea37f 100644 --- a/config/auth.php +++ b/config/auth.php @@ -139,6 +139,6 @@ */ 'enable_external_login_providers' => env('ENABLE_EXTERNAL_LOGIN_PROVIDERS', false), - 'login_providers' => explode(',', env('LOGIN_PROVIDERS')), + 'login_providers' => explode(',', env('LOGIN_PROVIDERS', '')), ]; diff --git a/config/cache.php b/config/cache.php index 981079906..71baeaee7 100644 --- a/config/cache.php +++ b/config/cache.php @@ -116,7 +116,7 @@ 'weight' => 100, ]]; if ($secrets['MEMCACHE']['COUNT'] > 1) { - $servers [] = [ + $servers[] = [ 'host' => $secrets['MEMCACHE']['HOST2'], 'port' => $secrets['MEMCACHE']['PORT2'], 'weight' => 100, @@ -133,23 +133,23 @@ \Memcached::OPT_REMOVE_FAILED_SERVERS => true, // ... retried after a short while (here: 2 seconds) - \Memcached::OPT_RETRY_TIMEOUT => 2, + \Memcached::OPT_RETRY_TIMEOUT => 2, // KETAMA must be enabled so that replication can be used - \Memcached::OPT_LIBKETAMA_COMPATIBLE => true, + \Memcached::OPT_LIBKETAMA_COMPATIBLE => true, // Replicate the data, write it to both memcached servers - \Memcached::OPT_NUMBER_OF_REPLICAS => 1, + \Memcached::OPT_NUMBER_OF_REPLICAS => 1, // Those values assure that a dead (due to increased latency or // really unresponsive) memcached server is dropped fast - \Memcached::OPT_POLL_TIMEOUT => $timeout_ms, // milliseconds - \Memcached::OPT_SEND_TIMEOUT => $timeout_ms * 1000, // microseconds - \Memcached::OPT_RECV_TIMEOUT => $timeout_ms * 1000, // microseconds - \Memcached::OPT_CONNECT_TIMEOUT => $timeout_ms, // milliseconds + \Memcached::OPT_POLL_TIMEOUT => $timeout_ms, // milliseconds + \Memcached::OPT_SEND_TIMEOUT => $timeout_ms * 1000, // microseconds + \Memcached::OPT_RECV_TIMEOUT => $timeout_ms * 1000, // microseconds + \Memcached::OPT_CONNECT_TIMEOUT => $timeout_ms, // milliseconds // Further performance tuning - \Memcached::OPT_NO_BLOCK => true, + \Memcached::OPT_NO_BLOCK => true, ]; Arr::set($config, 'stores.memcached.options', $options); } diff --git a/config/clockwork.php b/config/clockwork.php index 228320f8b..9f34409cd 100644 --- a/config/clockwork.php +++ b/config/clockwork.php @@ -102,7 +102,7 @@ 'enabled' => env('CLOCKWORK_ROUTES_ENABLED', false), // Collect only routes from particular namespaces (only application routes by default) - 'only_namespaces' => [ 'App' ], + 'only_namespaces' => ['App'], ], // Rendered views diff --git a/config/debugbar.php b/config/debugbar.php index a7f99e8d2..07ab6909d 100644 --- a/config/debugbar.php +++ b/config/debugbar.php @@ -32,11 +32,11 @@ | */ 'storage' => [ - 'enabled' => true, - 'driver' => 'file', // redis, file, pdo, custom - 'path' => storage_path('debugbar'), // For file driver + 'enabled' => true, + 'driver' => 'file', // redis, file, pdo, custom + 'path' => storage_path('debugbar'), // For file driver 'connection' => null, // Leave null for default connection (Redis/PDO) - 'provider' => '', // Instance of StorageInterface for custom driver + 'provider' => '', // Instance of StorageInterface for custom driver ], /* @@ -101,28 +101,28 @@ */ 'collectors' => [ - 'phpinfo' => true, // Php version - 'messages' => true, // Messages - 'time' => true, // Time Datalogger - 'memory' => true, // Memory usage - 'exceptions' => true, // Exception displayer - 'log' => true, // Logs from Monolog (merged in messages if enabled) - 'db' => true, // Show database (PDO) queries and bindings - 'views' => true, // Views with their data - 'route' => true, // Current route information - 'auth' => true, // Display Laravel authentication status - 'gate' => true, // Display Laravel Gate checks - 'session' => true, // Display session data + 'phpinfo' => true, // Php version + 'messages' => true, // Messages + 'time' => true, // Time Datalogger + 'memory' => true, // Memory usage + 'exceptions' => true, // Exception displayer + 'log' => true, // Logs from Monolog (merged in messages if enabled) + 'db' => true, // Show database (PDO) queries and bindings + 'views' => true, // Views with their data + 'route' => true, // Current route information + 'auth' => true, // Display Laravel authentication status + 'gate' => true, // Display Laravel Gate checks + 'session' => true, // Display session data 'symfony_request' => true, // Only one can be enabled.. - 'mail' => true, // Catch mail messages - 'laravel' => false, // Laravel version and environment - 'events' => false, // All events fired + 'mail' => true, // Catch mail messages + 'laravel' => false, // Laravel version and environment + 'events' => false, // All events fired 'default_request' => false, // Regular or special Symfony request logger - 'logs' => false, // Add the latest log messages - 'files' => false, // Show the included files - 'config' => false, // Display config settings - 'cache' => true, // Display cache events - 'models' => true, // Display models + 'logs' => false, // Add the latest log messages + 'files' => false, // Show the included files + 'config' => false, // Display config settings + 'cache' => true, // Display cache events + 'models' => true, // Display models ], /* @@ -139,14 +139,14 @@ 'show_name' => true, // Also show the users name/email in the debugbar ], 'db' => [ - 'with_params' => true, // Render SQL with the parameters substituted - 'backtrace' => true, // Use a backtrace to find the origin of the query in your files. - 'timeline' => false, // Add the queries to the timeline + 'with_params' => true, // Render SQL with the parameters substituted + 'backtrace' => true, // Use a backtrace to find the origin of the query in your files. + 'timeline' => false, // Add the queries to the timeline 'explain' => [ // Show EXPLAIN output on queries 'enabled' => false, 'types' => ['SELECT'], // // workaround ['SELECT'] only. https://github.com/barryvdh/laravel-debugbar/issues/888 ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+ ], - 'hints' => true, // Show hints for common mistakes + 'hints' => true, // Show hints for common mistakes ], 'mail' => [ 'full_log' => false, diff --git a/config/fortify.php b/config/fortify.php index 1a95872ca..fe6d313a6 100644 --- a/config/fortify.php +++ b/config/fortify.php @@ -1,7 +1,7 @@ [ -// 'min-quality' => 0, -// 'min-complexity' => 0, -// 'min-architecture' => 0, -// 'min-style' => 0, -// 'disable-security-check' => false, + // 'min-quality' => 0, + // 'min-complexity' => 0, + // 'min-architecture' => 0, + // 'min-style' => 0, + // 'disable-security-check' => false, ], /* diff --git a/config/logging.php b/config/logging.php index d521a2a2f..7021a0c0c 100644 --- a/config/logging.php +++ b/config/logging.php @@ -74,12 +74,12 @@ 'sentry' => [ 'driver' => 'sentry', - 'level' => env('LOG_LEVEL', 'debug'), + 'level' => env('LOG_LEVEL', 'debug'), 'bubble' => true, ], 'stacksentry' => [ - 'driver' => 'stack', + 'driver' => 'stack', 'channels' => ['errorlog', 'sentry'], ], diff --git a/config/officelife.php b/config/officelife.php index 49b952a49..bfe5e5b8d 100644 --- a/config/officelife.php +++ b/config/officelife.php @@ -53,7 +53,7 @@ | This value returns the current version of the application. | */ - 'app_version' => is_file(__DIR__.'/.version') ? file_get_contents(__DIR__.'/.version') : (is_dir(__DIR__.'/../.git') ? trim(exec('git --git-dir ' . base_path('.git') . ' describe --abbrev=0 --tags')) : ''), + 'app_version' => is_file(__DIR__.'/.version') ? file_get_contents(__DIR__.'/.version') : (is_dir(__DIR__.'/../.git') ? trim(exec('git --git-dir '.base_path('.git').' describe --abbrev=0 --tags')) : ''), /* |-------------------------------------------------------------------------- diff --git a/config/services.php b/config/services.php index 09084d088..31fc82bfb 100644 --- a/config/services.php +++ b/config/services.php @@ -66,7 +66,7 @@ ], 'monica' => [ - 'host' => env('MONICA_HOST', 'https://app.monicahq.com'), + 'host' => env('MONICA_HOST', 'https://app.monicahq.com'), 'client_id' => env('MONICA_CLIENT_ID'), 'client_secret' => env('MONICA_CLIENT_SECRET'), 'redirect' => env('MONICA_REDIRECT_URI', '/auth/monica/callback'), diff --git a/database/factories/Company/ActionFactory.php b/database/factories/Company/ActionFactory.php index 3f12b09d3..f7b032d72 100644 --- a/database/factories/Company/ActionFactory.php +++ b/database/factories/Company/ActionFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Step; use App\Models\Company\Action; +use App\Models\Company\Step; use Illuminate\Database\Eloquent\Factories\Factory; class ActionFactory extends Factory diff --git a/database/factories/Company/AgendaItemFactory.php b/database/factories/Company/AgendaItemFactory.php index 306dc7357..ef031b79e 100644 --- a/database/factories/Company/AgendaItemFactory.php +++ b/database/factories/Company/AgendaItemFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Meeting; use App\Models\Company\AgendaItem; +use App\Models\Company\Meeting; use Illuminate\Database\Eloquent\Factories\Factory; class AgendaItemFactory extends Factory diff --git a/database/factories/Company/AskMeAnythingQuestionFactory.php b/database/factories/Company/AskMeAnythingQuestionFactory.php index 262ffb6f8..ef466ee26 100644 --- a/database/factories/Company/AskMeAnythingQuestionFactory.php +++ b/database/factories/Company/AskMeAnythingQuestionFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use App\Models\Company\Employee; -use App\Models\Company\AskMeAnythingSession; use App\Models\Company\AskMeAnythingQuestion; +use App\Models\Company\AskMeAnythingSession; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class AskMeAnythingQuestionFactory extends Factory diff --git a/database/factories/Company/AskMeAnythingSessionFactory.php b/database/factories/Company/AskMeAnythingSessionFactory.php index 74eb90e6b..38cfd30f3 100644 --- a/database/factories/Company/AskMeAnythingSessionFactory.php +++ b/database/factories/Company/AskMeAnythingSessionFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Company; use App\Models\Company\AskMeAnythingSession; +use App\Models\Company\Company; use Illuminate\Database\Eloquent\Factories\Factory; class AskMeAnythingSessionFactory extends Factory diff --git a/database/factories/Company/AuditLogFactory.php b/database/factories/Company/AuditLogFactory.php index e671bbea7..5601bb94d 100644 --- a/database/factories/Company/AuditLogFactory.php +++ b/database/factories/Company/AuditLogFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Company; use App\Models\Company\AuditLog; +use App\Models\Company\Company; use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/CandidateFactory.php b/database/factories/Company/CandidateFactory.php index 606c0f898..7fcb94b15 100644 --- a/database/factories/Company/CandidateFactory.php +++ b/database/factories/Company/CandidateFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; +use App\Models\Company\Candidate; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\Candidate; use App\Models\Company\JobOpening; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/CandidateStageFactory.php b/database/factories/Company/CandidateStageFactory.php index b5c1eef6d..21e17bc2c 100644 --- a/database/factories/Company/CandidateStageFactory.php +++ b/database/factories/Company/CandidateStageFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use App\Models\Company\Employee; use App\Models\Company\Candidate; use App\Models\Company\CandidateStage; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class CandidateStageFactory extends Factory diff --git a/database/factories/Company/CandidateStageNoteFactory.php b/database/factories/Company/CandidateStageNoteFactory.php index e5b27d1c3..ca8f38316 100644 --- a/database/factories/Company/CandidateStageNoteFactory.php +++ b/database/factories/Company/CandidateStageNoteFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use App\Models\Company\Employee; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageNote; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class CandidateStageNoteFactory extends Factory diff --git a/database/factories/Company/CandidateStageParticipantFactory.php b/database/factories/Company/CandidateStageParticipantFactory.php index 09303ec10..aecd95339 100644 --- a/database/factories/Company/CandidateStageParticipantFactory.php +++ b/database/factories/Company/CandidateStageParticipantFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use App\Models\Company\Employee; use App\Models\Company\CandidateStage; use App\Models\Company\CandidateStageParticipant; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class CandidateStageParticipantFactory extends Factory diff --git a/database/factories/Company/CompanyInvoiceFactory.php b/database/factories/Company/CompanyInvoiceFactory.php index d5a92565e..2b3ba201e 100644 --- a/database/factories/Company/CompanyInvoiceFactory.php +++ b/database/factories/Company/CompanyInvoiceFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\CompanyInvoice; use App\Models\Company\CompanyDailyUsageHistory; +use App\Models\Company\CompanyInvoice; use Illuminate\Database\Eloquent\Factories\Factory; class CompanyInvoiceFactory extends Factory diff --git a/database/factories/Company/CompanyNewsFactory.php b/database/factories/Company/CompanyNewsFactory.php index 9d1691594..464cd9613 100644 --- a/database/factories/Company/CompanyNewsFactory.php +++ b/database/factories/Company/CompanyNewsFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\Employee; use App\Models\Company\CompanyNews; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class CompanyNewsFactory extends Factory diff --git a/database/factories/Company/ConsultantRateFactory.php b/database/factories/Company/ConsultantRateFactory.php index 7545dd5bd..f6d4c7b94 100644 --- a/database/factories/Company/ConsultantRateFactory.php +++ b/database/factories/Company/ConsultantRateFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\Employee; use App\Models\Company\ConsultantRate; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class ConsultantRateFactory extends Factory diff --git a/database/factories/Company/DirectReportFactory.php b/database/factories/Company/DirectReportFactory.php index 3dbe1ee03..944c575c5 100644 --- a/database/factories/Company/DirectReportFactory.php +++ b/database/factories/Company/DirectReportFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\Employee; use App\Models\Company\DirectReport; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class DirectReportFactory extends Factory diff --git a/database/factories/Company/DisciplineCaseFactory.php b/database/factories/Company/DisciplineCaseFactory.php index b7cbb8fa8..50bf17f1c 100644 --- a/database/factories/Company/DisciplineCaseFactory.php +++ b/database/factories/Company/DisciplineCaseFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\Employee; use App\Models\Company\DisciplineCase; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class DisciplineCaseFactory extends Factory diff --git a/database/factories/Company/DisciplineEventFactory.php b/database/factories/Company/DisciplineEventFactory.php index b1dbc2a4e..bbe66ea97 100644 --- a/database/factories/Company/DisciplineEventFactory.php +++ b/database/factories/Company/DisciplineEventFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use App\Models\Company\Employee; use App\Models\Company\DisciplineCase; use App\Models\Company\DisciplineEvent; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class DisciplineEventFactory extends Factory diff --git a/database/factories/Company/ECoffeeMatchFactory.php b/database/factories/Company/ECoffeeMatchFactory.php index ce8b202ad..4fd27171c 100644 --- a/database/factories/Company/ECoffeeMatchFactory.php +++ b/database/factories/Company/ECoffeeMatchFactory.php @@ -4,8 +4,8 @@ use App\Models\Company\Company; use App\Models\Company\ECoffee; -use App\Models\Company\Employee; use App\Models\Company\ECoffeeMatch; +use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class ECoffeeMatchFactory extends Factory diff --git a/database/factories/Company/EmployeeFactory.php b/database/factories/Company/EmployeeFactory.php index a385c12d5..8d32a5070 100644 --- a/database/factories/Company/EmployeeFactory.php +++ b/database/factories/Company/EmployeeFactory.php @@ -2,12 +2,12 @@ namespace Database\Factories\Company; -use App\Models\User\User; -use App\Models\User\Pronoun; use App\Models\Company\Company; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\EmployeeStatus; +use App\Models\Company\Position; +use App\Models\User\Pronoun; +use App\Models\User\User; use Illuminate\Database\Eloquent\Factories\Factory; class EmployeeFactory extends Factory @@ -40,6 +40,7 @@ public function definition() 'email' => 'dwigth@dundermifflin.com', 'first_name' => 'Dwight', 'last_name' => 'Schrute', + 'timezone' => 'UTC', 'birthdate' => $this->faker->dateTimeThisCentury()->format('Y-m-d H:i:s'), 'consecutive_worklog_missed' => 0, 'employee_status_id' => EmployeeStatus::factory()->create([ diff --git a/database/factories/Company/EmployeePositionHistoryFactory.php b/database/factories/Company/EmployeePositionHistoryFactory.php index 2ace11f0f..a289833d4 100644 --- a/database/factories/Company/EmployeePositionHistoryFactory.php +++ b/database/factories/Company/EmployeePositionHistoryFactory.php @@ -2,10 +2,10 @@ namespace Database\Factories\Company; -use Carbon\Carbon; use App\Models\Company\Employee; -use App\Models\Company\Position; use App\Models\Company\EmployeePositionHistory; +use App\Models\Company\Position; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Factory; class EmployeePositionHistoryFactory extends Factory diff --git a/database/factories/Company/ExpenseFactory.php b/database/factories/Company/ExpenseFactory.php index 5974392bf..ade008405 100644 --- a/database/factories/Company/ExpenseFactory.php +++ b/database/factories/Company/ExpenseFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\Expense; use App\Models\Company\Employee; +use App\Models\Company\Expense; use App\Models\Company\ExpenseCategory; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/FileFactory.php b/database/factories/Company/FileFactory.php index ca6a0c64b..f3f040607 100644 --- a/database/factories/Company/FileFactory.php +++ b/database/factories/Company/FileFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\File; use App\Models\Company\Company; +use App\Models\Company\File; use Illuminate\Database\Eloquent\Factories\Factory; class FileFactory extends Factory diff --git a/database/factories/Company/FlowFactory.php b/database/factories/Company/FlowFactory.php index dd152795a..33f13af23 100644 --- a/database/factories/Company/FlowFactory.php +++ b/database/factories/Company/FlowFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Flow; use App\Models\Company\Company; +use App\Models\Company\Flow; use Illuminate\Database\Eloquent\Factories\Factory; class FlowFactory extends Factory diff --git a/database/factories/Company/GroupFactory.php b/database/factories/Company/GroupFactory.php index 6706f0519..79ef852f3 100644 --- a/database/factories/Company/GroupFactory.php +++ b/database/factories/Company/GroupFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Group; use App\Models\Company\Company; +use App\Models\Company\Group; use Illuminate\Database\Eloquent\Factories\Factory; class GroupFactory extends Factory diff --git a/database/factories/Company/JobOpeningFactory.php b/database/factories/Company/JobOpeningFactory.php index 34c6fa5ea..3ec51106d 100644 --- a/database/factories/Company/JobOpeningFactory.php +++ b/database/factories/Company/JobOpeningFactory.php @@ -2,13 +2,13 @@ namespace Database\Factories\Company; -use Illuminate\Support\Str; -use App\Models\Company\Team; use App\Models\Company\Company; -use App\Models\Company\Position; use App\Models\Company\JobOpening; +use App\Models\Company\Position; use App\Models\Company\RecruitingStageTemplate; +use App\Models\Company\Team; use Illuminate\Database\Eloquent\Factories\Factory; +use Illuminate\Support\Str; class JobOpeningFactory extends Factory { diff --git a/database/factories/Company/MeetingFactory.php b/database/factories/Company/MeetingFactory.php index 9cf47f6cd..f172ec8e5 100644 --- a/database/factories/Company/MeetingFactory.php +++ b/database/factories/Company/MeetingFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use Carbon\Carbon; use App\Models\Company\Group; use App\Models\Company\Meeting; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Factory; class MeetingFactory extends Factory diff --git a/database/factories/Company/MoraleFactory.php b/database/factories/Company/MoraleFactory.php index c3fe19573..b6ab78910 100644 --- a/database/factories/Company/MoraleFactory.php +++ b/database/factories/Company/MoraleFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Morale; use App\Models\Company\Employee; +use App\Models\Company\Morale; use Illuminate\Database\Eloquent\Factories\Factory; class MoraleFactory extends Factory diff --git a/database/factories/Company/MoraleTeamHistoryFactory.php b/database/factories/Company/MoraleTeamHistoryFactory.php index d45a7aad2..c267a4a02 100644 --- a/database/factories/Company/MoraleTeamHistoryFactory.php +++ b/database/factories/Company/MoraleTeamHistoryFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Team; use App\Models\Company\MoraleTeamHistory; +use App\Models\Company\Team; use Illuminate\Database\Eloquent\Factories\Factory; class MoraleTeamHistoryFactory extends Factory diff --git a/database/factories/Company/OneOnOneActionItemFactory.php b/database/factories/Company/OneOnOneActionItemFactory.php index 126fe58c0..340add20f 100644 --- a/database/factories/Company/OneOnOneActionItemFactory.php +++ b/database/factories/Company/OneOnOneActionItemFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\OneOnOneEntry; use App\Models\Company\OneOnOneActionItem; +use App\Models\Company\OneOnOneEntry; use Illuminate\Database\Eloquent\Factories\Factory; class OneOnOneActionItemFactory extends Factory diff --git a/database/factories/Company/OneOnOneNoteFactory.php b/database/factories/Company/OneOnOneNoteFactory.php index ff2daa5dd..811c9daa0 100644 --- a/database/factories/Company/OneOnOneNoteFactory.php +++ b/database/factories/Company/OneOnOneNoteFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\OneOnOneNote; use App\Models\Company\OneOnOneEntry; +use App\Models\Company\OneOnOneNote; use Illuminate\Database\Eloquent\Factories\Factory; class OneOnOneNoteFactory extends Factory diff --git a/database/factories/Company/PageRevisionFactory.php b/database/factories/Company/PageRevisionFactory.php index afbefb193..392f069f7 100644 --- a/database/factories/Company/PageRevisionFactory.php +++ b/database/factories/Company/PageRevisionFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Page; use App\Models\Company\Employee; +use App\Models\Company\Page; use App\Models\Company\PageRevision; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/PageviewFactory.php b/database/factories/Company/PageviewFactory.php index d2e0a1e05..246027e1b 100644 --- a/database/factories/Company/PageviewFactory.php +++ b/database/factories/Company/PageviewFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Page; use App\Models\Company\Employee; +use App\Models\Company\Page; use App\Models\Company\Pageview; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/PlaceFactory.php b/database/factories/Company/PlaceFactory.php index 9c4a2e49e..dfa6fc530 100644 --- a/database/factories/Company/PlaceFactory.php +++ b/database/factories/Company/PlaceFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use App\Models\Company\Place; use App\Models\Company\Country; use App\Models\Company\Employee; +use App\Models\Company\Place; use Illuminate\Database\Eloquent\Factories\Factory; class PlaceFactory extends Factory diff --git a/database/factories/Company/ProjectDecisionFactory.php b/database/factories/Company/ProjectDecisionFactory.php index 4e6e7e9d3..4fd086f17 100644 --- a/database/factories/Company/ProjectDecisionFactory.php +++ b/database/factories/Company/ProjectDecisionFactory.php @@ -2,11 +2,11 @@ namespace Database\Factories\Company; -use Carbon\Carbon; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectDecision; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Factory; class ProjectDecisionFactory extends Factory diff --git a/database/factories/Company/ProjectIssueFactory.php b/database/factories/Company/ProjectIssueFactory.php index 61a8dbad5..dca35cae8 100644 --- a/database/factories/Company/ProjectIssueFactory.php +++ b/database/factories/Company/ProjectIssueFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; use App\Models\Company\IssueType; +use App\Models\Company\Project; use App\Models\Company\ProjectBoard; use App\Models\Company\ProjectIssue; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/ProjectMemberActivityFactory.php b/database/factories/Company/ProjectMemberActivityFactory.php index 5be3a60fc..62f19fab3 100644 --- a/database/factories/Company/ProjectMemberActivityFactory.php +++ b/database/factories/Company/ProjectMemberActivityFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectMemberActivity; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/ProjectMessageFactory.php b/database/factories/Company/ProjectMessageFactory.php index 9ce80306c..9c9107850 100644 --- a/database/factories/Company/ProjectMessageFactory.php +++ b/database/factories/Company/ProjectMessageFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectMessage; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/ProjectStatusFactory.php b/database/factories/Company/ProjectStatusFactory.php index c438448b1..8007d0e89 100644 --- a/database/factories/Company/ProjectStatusFactory.php +++ b/database/factories/Company/ProjectStatusFactory.php @@ -3,8 +3,8 @@ namespace Database\Factories\Company; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectStatus; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/ProjectTaskFactory.php b/database/factories/Company/ProjectTaskFactory.php index 88a2f6b39..4d8170db1 100644 --- a/database/factories/Company/ProjectTaskFactory.php +++ b/database/factories/Company/ProjectTaskFactory.php @@ -2,10 +2,10 @@ namespace Database\Factories\Company; -use Carbon\Carbon; use App\Models\Company\Project; use App\Models\Company\ProjectTask; use App\Models\Company\ProjectTaskList; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Factory; class ProjectTaskFactory extends Factory diff --git a/database/factories/Company/ProjectTaskListFactory.php b/database/factories/Company/ProjectTaskListFactory.php index 75853e69d..81c381e5b 100644 --- a/database/factories/Company/ProjectTaskListFactory.php +++ b/database/factories/Company/ProjectTaskListFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; +use App\Models\Company\Project; use App\Models\Company\ProjectTaskList; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/SkillFactory.php b/database/factories/Company/SkillFactory.php index 0261ab23b..10ea965e7 100644 --- a/database/factories/Company/SkillFactory.php +++ b/database/factories/Company/SkillFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Skill; use App\Models\Company\Company; +use App\Models\Company\Skill; use Illuminate\Database\Eloquent\Factories\Factory; class SkillFactory extends Factory diff --git a/database/factories/Company/TaskFactory.php b/database/factories/Company/TaskFactory.php index a557882a9..7b78ea787 100644 --- a/database/factories/Company/TaskFactory.php +++ b/database/factories/Company/TaskFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Task; use App\Models\Company\Employee; +use App\Models\Company\Task; use Illuminate\Database\Eloquent\Factories\Factory; class TaskFactory extends Factory diff --git a/database/factories/Company/TeamFactory.php b/database/factories/Company/TeamFactory.php index 33eb317ff..070b31827 100644 --- a/database/factories/Company/TeamFactory.php +++ b/database/factories/Company/TeamFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Team; use App\Models\Company\Company; +use App\Models\Company\Team; use Illuminate\Database\Eloquent\Factories\Factory; class TeamFactory extends Factory diff --git a/database/factories/Company/TeamLogFactory.php b/database/factories/Company/TeamLogFactory.php index 663e2e48d..343acaf49 100644 --- a/database/factories/Company/TeamLogFactory.php +++ b/database/factories/Company/TeamLogFactory.php @@ -2,9 +2,9 @@ namespace Database\Factories\Company; +use App\Models\Company\Employee; use App\Models\Company\Team; use App\Models\Company\TeamLog; -use App\Models\Company\Employee; use Illuminate\Database\Eloquent\Factories\Factory; class TeamLogFactory extends Factory diff --git a/database/factories/Company/TeamNewsFactory.php b/database/factories/Company/TeamNewsFactory.php index 2a45af570..aef24a46e 100644 --- a/database/factories/Company/TeamNewsFactory.php +++ b/database/factories/Company/TeamNewsFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Team; use App\Models\Company\Employee; +use App\Models\Company\Team; use App\Models\Company\TeamNews; use Illuminate\Database\Eloquent\Factories\Factory; diff --git a/database/factories/Company/TimeTrackingEntryFactory.php b/database/factories/Company/TimeTrackingEntryFactory.php index 00dd69250..51a4df023 100644 --- a/database/factories/Company/TimeTrackingEntryFactory.php +++ b/database/factories/Company/TimeTrackingEntryFactory.php @@ -2,13 +2,13 @@ namespace Database\Factories\Company; -use Carbon\Carbon; use App\Models\Company\Company; -use App\Models\Company\Project; use App\Models\Company\Employee; -use App\Models\Company\Timesheet; +use App\Models\Company\Project; use App\Models\Company\ProjectTask; +use App\Models\Company\Timesheet; use App\Models\Company\TimeTrackingEntry; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Factory; class TimeTrackingEntryFactory extends Factory diff --git a/database/factories/Company/TimesheetFactory.php b/database/factories/Company/TimesheetFactory.php index a9986da04..dc9e7c527 100644 --- a/database/factories/Company/TimesheetFactory.php +++ b/database/factories/Company/TimesheetFactory.php @@ -2,10 +2,10 @@ namespace Database\Factories\Company; -use Carbon\Carbon; use App\Models\Company\Company; use App\Models\Company\Employee; use App\Models\Company\Timesheet; +use Carbon\Carbon; use Illuminate\Database\Eloquent\Factories\Factory; class TimesheetFactory extends Factory diff --git a/database/factories/Company/WikiFactory.php b/database/factories/Company/WikiFactory.php index 0994d4449..3183248f1 100644 --- a/database/factories/Company/WikiFactory.php +++ b/database/factories/Company/WikiFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Wiki; use App\Models\Company\Company; +use App\Models\Company\Wiki; use Illuminate\Database\Eloquent\Factories\Factory; class WikiFactory extends Factory diff --git a/database/factories/Company/WorklogFactory.php b/database/factories/Company/WorklogFactory.php index 3eb951cd6..df2c0c51d 100644 --- a/database/factories/Company/WorklogFactory.php +++ b/database/factories/Company/WorklogFactory.php @@ -2,8 +2,8 @@ namespace Database\Factories\Company; -use App\Models\Company\Worklog; use App\Models\Company\Employee; +use App\Models\Company\Worklog; use Illuminate\Database\Eloquent\Factories\Factory; class WorklogFactory extends Factory diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 72adb74cf..951b40344 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -1,8 +1,8 @@ text('two_factor_secret') - ->after('password') - ->nullable(); + ->after('password') + ->nullable(); $table->text('two_factor_recovery_codes') - ->after('two_factor_secret') - ->nullable(); + ->after('two_factor_secret') + ->nullable(); }); } } diff --git a/database/migrations/2019_01_18_184542_create_companies_table.php b/database/migrations/2019_01_18_184542_create_companies_table.php index 24c29ed87..b13d1bd69 100644 --- a/database/migrations/2019_01_18_184542_create_companies_table.php +++ b/database/migrations/2019_01_18_184542_create_companies_table.php @@ -1,8 +1,8 @@ $hexColor) { DB::table('issue_types')->insert([ 'company_id' => $company->id, - 'name' => trans('account.issue_type_' . $name), + 'name' => trans('account.issue_type_'.$name), 'icon_hex_color' => $hexColor, 'created_at' => Carbon::now(), ]); diff --git a/database/migrations/2021_10_12_002926_create_sprints_table.php b/database/migrations/2021_10_12_002926_create_sprints_table.php index 839e93726..72ffb68e3 100644 --- a/database/migrations/2021_10_12_002926_create_sprints_table.php +++ b/database/migrations/2021_10_12_002926_create_sprints_table.php @@ -1,8 +1,8 @@ ['auth:api']], function () { - Route::middleware(['company'])->prefix('{company}')->group(function () { - }); + Route::middleware(['company'])->prefix('{company}')->group(function () {}); }); diff --git a/routes/web.php b/routes/web.php index 5968b0c70..e1e7cdd07 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,7 +1,7 @@ name('projects.boards.show'); Route::put('{board}', 'Company\\Company\\Project\\ProjectBoardsController@update')->name('projects.boards.update'); Route::delete('{board}', 'Company\\Company\\Project\\ProjectBoardsController@destroy')->name('projects.boards.destroy'); - Route::get('{board}/backlog', 'Company\\Company\\Project\\ProjectBoardsBacklogController@show')->name('projects.boards.show.backlog'); + // Route::get('{board}/backlog', 'Company\\Company\\Project\\ProjectBoardsBacklogController@show')->name('projects.boards.show.backlog'); Route::post('{board}/sprints/{sprint}/start', 'Company\\Company\\Project\\ProjectSprintController@start')->name('projects.sprints.start'); Route::post('{board}/sprints/{sprint}/toggle', 'Company\\Company\\Project\\ProjectSprintController@toggle')->name('projects.sprints.toggle'); From 1c69fdc1fd2aeab4c185a7de3e232fa076ef8d08 Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 22:42:34 +0200 Subject: [PATCH 5/8] editorconfig mjs --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index c85c30ae5..50acf65a4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,7 +14,7 @@ trim_trailing_whitespace = false [*.{yml,yaml}] indent_size = 2 -[*.{js,vue,scss,json}] +[*.{js,vue,scss,json,mjs}] indent_size = 2 [*.blade.php] From 91f78dcaa337586639806041506f66f3b488cec5 Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 22:42:55 +0200 Subject: [PATCH 6/8] gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 2c9717a77..c90a5a421 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /public/js /public/css /public/storage +/public/build /public/mix-manifest.json /results /storage/*.key @@ -12,6 +13,7 @@ .env .env.cypress.local .phpunit.result.cache +.phpunit.cache .php_cs.cache .php-cs-fixer.cache Homestead.json From 393b906c6cebe655d0c50f55a4cca3a6e9702eaa Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 22:57:52 +0200 Subject: [PATCH 7/8] actions php8.3 and pint --- .github/workflows/build.yml | 6 +++--- .github/workflows/cypress.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/docker.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/static.yml | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0129b8476..c3b763191 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ on: types: [completed] env: - default-php-version: '8.0' + default-php-version: '8.3' coverage-with: 'sqlite' @@ -39,14 +39,14 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['8.0'] + php-version: ['8.3'] connection: [sqlite, mysql, pgsql] testsuite: [Unit] coverage: [true] # run test with coverage, if 'coverage-with' match with the connection include: - connection: sqlite testsuite: Integration - php-version: '8.0' + php-version: '8.3' coverage: false steps: diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 125e3b37e..d8e4b992d 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['8.0'] + php-version: ['8.3'] browser: [chrome] containers: [1, 2, 3, 4, 5, 6, 7, 8] diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 154ec820d..1fc13412a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,7 @@ on: workflow_dispatch: env: - php-version: '8.0' + php-version: '8.3' node-version: 16 jobs: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index cb4dd4d1e..19c577f0c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,7 +5,7 @@ on: - cron: '0 0 * * *' env: - php-version: '8.0' + php-version: '8.3' node-version: 16 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8566d594..c1047a6de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ on: workflow_dispatch: env: - php-version: '8.0' + php-version: '8.3' node-version: 16 diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index fbb313796..0dfc87297 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -9,7 +9,7 @@ on: types: [completed] env: - php-version: '8.0' + php-version: '8.3' jobs: @@ -43,7 +43,7 @@ jobs: run: composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader - name: Fix PHP code to follow standards - run: vendor/bin/php-cs-fixer fix + run: vendor/bin/pint psalm: runs-on: ubuntu-latest From 28c08efdf55720a885a9b856c186c7c5a1073be9 Mon Sep 17 00:00:00 2001 From: Shaun van Tonder Date: Thu, 4 Jul 2024 23:05:47 +0200 Subject: [PATCH 8/8] remove lang-detector config there was an issue somewhere here, trying to find it in our history --- config/lang-detector.php | 46 ---------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 config/lang-detector.php diff --git a/config/lang-detector.php b/config/lang-detector.php deleted file mode 100644 index 62557764f..000000000 --- a/config/lang-detector.php +++ /dev/null @@ -1,46 +0,0 @@ - env('LANG_DETECTOR_AUTODETECT', false), - - /* - * Default driver to use to detect the request language. - * - * Available: browser, subdomain, uri. - */ - 'driver' => env('LANG_DETECTOR_DRIVER', 'browser'), - - /* - * Used on subdomain and uri drivers. That indicates which segment should be used - * to verify the language. - */ - 'segment' => env('LANG_DETECTOR_SEGMENT', 0), - - /* - * Languages available on the application. - * - * You could use parse_langs_to_array to use the string syntax - * or just use the array of languages with its aliases. - */ - 'languages' => parse_langs_to_array( - env('LANG_DETECTOR_LANGUAGES', ['en', 'fr']) - ), - - /* - * Indicates if should store detected locale on cookies - */ - 'cookie' => (bool) env('LANG_DETECTOR_COOKIE', true), - - /* - * Indicates if should encrypt cookie - */ - 'cookie_encrypt' => (bool) env('LANG_DETECTOR_COOKIE_ENCRYPT', false), - - /* - * Cookie name - */ - 'cookie_name' => env('LANG_DETECTOR_COOKIE', 'locale'), -];