diff --git a/composer.json b/composer.json index 60d6287..c6de183 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "doctrine/dbal": "^3.4", "intervention/image": "^2.7", "jeroennoten/laravel-adminlte": "^3.8", - "laravel/framework": "^9.26", + "laravel/framework": "^10.0", "laravel/tinker": "^2.7", "owen-it/laravel-auditing": "^13.0", "robinherbots/jquery.inputmask": "^4.0", @@ -30,7 +30,7 @@ "mockery/mockery": "^1.4.4", "nunomaduro/collision": "^6.1", "phpunit/phpunit": "^9.5.10", - "spatie/laravel-ignition": "^1.3" + "spatie/laravel-ignition": "^2.0" }, "autoload": { "classmap": [ diff --git a/composer.lock b/composer.lock index 6f5d213..6e40099 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "914418e96975d597c971119c7a590eb7", + "content-hash": "27007b0272c5f3a1161b97cf26c8bd6a", "packages": [ { "name": "almasaeed2010/adminlte", @@ -105,16 +105,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.325.0", + "version": "3.328.3", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "ea36e53745cff21519c2dadd808e2482f0bfadf5" + "reference": "bceb5a6443ecd51e988ef28af70210f7168ad0e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/ea36e53745cff21519c2dadd808e2482f0bfadf5", - "reference": "ea36e53745cff21519c2dadd808e2482f0bfadf5", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/bceb5a6443ecd51e988ef28af70210f7168ad0e5", + "reference": "bceb5a6443ecd51e988ef28af70210f7168ad0e5", "shasum": "" }, "require": { @@ -144,7 +144,7 @@ "paragonie/random_compat": ">= 2", "phpunit/phpunit": "^5.6.3 || ^8.5 || ^9.5", "psr/cache": "^1.0", - "psr/simple-cache": "^1.0", + "psr/simple-cache": "^1.0 || ^2.0 || ^3.0", "sebastian/comparator": "^1.2.3 || ^4.0", "yoast/phpunit-polyfills": "^1.0" }, @@ -197,9 +197,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.325.0" + "source": "https://github.com/aws/aws-sdk-php/tree/3.328.3" }, - "time": "2024-10-30T18:11:21+00:00" + "time": "2024-11-20T19:04:23+00:00" }, { "name": "balping/json-raw-encoder", @@ -246,25 +246,25 @@ }, { "name": "brick/math", - "version": "0.11.0", + "version": "0.12.1", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", - "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.1" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^9.0", - "vimeo/psalm": "5.0.0" + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" }, "type": "library", "autoload": { @@ -284,12 +284,17 @@ "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.11.0" + "source": "https://github.com/brick/math/tree/0.12.1" }, "funding": [ { @@ -297,7 +302,7 @@ "type": "github" } ], - "time": "2023-01-15T23:15:59+00:00" + "time": "2023-11-29T23:19:16+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -1348,16 +1353,16 @@ }, { "name": "google/apiclient-services", - "version": "v0.379.0", + "version": "v0.382.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client-services.git", - "reference": "5a671ff040d55cec7b69b88d84c91bd8867d1c8e" + "reference": "9d9d154c8fc3c4b300c27e492f0e917d8ac35124" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/5a671ff040d55cec7b69b88d84c91bd8867d1c8e", - "reference": "5a671ff040d55cec7b69b88d84c91bd8867d1c8e", + "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/9d9d154c8fc3c4b300c27e492f0e917d8ac35124", + "reference": "9d9d154c8fc3c4b300c27e492f0e917d8ac35124", "shasum": "" }, "require": { @@ -1386,29 +1391,29 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client-services/issues", - "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.379.0" + "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.382.0" }, - "time": "2024-10-28T01:10:22+00:00" + "time": "2024-11-15T01:10:24+00:00" }, { "name": "google/auth", - "version": "v1.42.0", + "version": "v1.43.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-auth-library-php.git", - "reference": "0c25599a91530b5847f129b271c536f75a7563f5" + "reference": "b6a80acd906492086db59aada9196dcfb9c512fe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/0c25599a91530b5847f129b271c536f75a7563f5", - "reference": "0c25599a91530b5847f129b271c536f75a7563f5", + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/b6a80acd906492086db59aada9196dcfb9c512fe", + "reference": "b6a80acd906492086db59aada9196dcfb9c512fe", "shasum": "" }, "require": { "firebase/php-jwt": "^6.0", "guzzlehttp/guzzle": "^7.4.5", "guzzlehttp/psr7": "^2.4.5", - "php": "^8.0", + "php": "^8.1", "psr/cache": "^2.0||^3.0", "psr/http-message": "^1.1||^2.0" }, @@ -1446,9 +1451,9 @@ "support": { "docs": "https://googleapis.github.io/google-auth-library-php/main/", "issues": "https://github.com/googleapis/google-auth-library-php/issues", - "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.42.0" + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.43.0" }, - "time": "2024-08-26T18:33:48+00:00" + "time": "2024-11-07T19:35:20+00:00" }, { "name": "graham-campbell/result-type", @@ -2009,16 +2014,16 @@ }, { "name": "jeroennoten/laravel-adminlte", - "version": "v3.14.1", + "version": "v3.14.2", "source": { "type": "git", "url": "https://github.com/jeroennoten/Laravel-AdminLTE.git", - "reference": "4dafd7931e0971ed75cca2efe052d891c783c1dd" + "reference": "dfd6b46be4a1c43338dfa1eb312030604ad95ef8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jeroennoten/Laravel-AdminLTE/zipball/4dafd7931e0971ed75cca2efe052d891c783c1dd", - "reference": "4dafd7931e0971ed75cca2efe052d891c783c1dd", + "url": "https://api.github.com/repos/jeroennoten/Laravel-AdminLTE/zipball/dfd6b46be4a1c43338dfa1eb312030604ad95ef8", + "reference": "dfd6b46be4a1c43338dfa1eb312030604ad95ef8", "shasum": "" }, "require": { @@ -2062,26 +2067,27 @@ ], "support": { "issues": "https://github.com/jeroennoten/Laravel-AdminLTE/issues", - "source": "https://github.com/jeroennoten/Laravel-AdminLTE/tree/v3.14.1" + "source": "https://github.com/jeroennoten/Laravel-AdminLTE/tree/v3.14.2" }, - "time": "2024-10-15T18:40:40+00:00" + "time": "2024-11-09T16:13:13+00:00" }, { "name": "laravel/framework", - "version": "v9.52.16", + "version": "v10.48.24", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "082345d76fc6a55b649572efe10b11b03e279d24" + "reference": "2add73f71b88fc45ee1d4f3421f22366247f6155" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/082345d76fc6a55b649572efe10b11b03e279d24", - "reference": "082345d76fc6a55b649572efe10b11b03e279d24", + "url": "https://api.github.com/repos/laravel/framework/zipball/2add73f71b88fc45ee1d4f3421f22366247f6155", + "reference": "2add73f71b88fc45ee1d4f3421f22366247f6155", "shasum": "" }, "require": { - "brick/math": "^0.9.3|^0.10.2|^0.11", + "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", @@ -2094,33 +2100,38 @@ "ext-tokenizer": "*", "fruitcake/php-cors": "^1.2", "guzzlehttp/uri-template": "^1.0", - "laravel/serializable-closure": "^1.2.2", + "laravel/prompts": "^0.1.9", + "laravel/serializable-closure": "^1.3", "league/commonmark": "^2.2.1", "league/flysystem": "^3.8.0", - "monolog/monolog": "^2.0", - "nesbot/carbon": "^2.62.1", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.67", "nunomaduro/termwind": "^1.13", - "php": "^8.0.2", + "php": "^8.1", "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.7", - "symfony/console": "^6.0.9", - "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/uid": "^6.0", - "symfony/var-dumper": "^6.0", + "symfony/console": "^6.2", + "symfony/error-handler": "^6.2", + "symfony/finder": "^6.2", + "symfony/http-foundation": "^6.4", + "symfony/http-kernel": "^6.2", + "symfony/mailer": "^6.2", + "symfony/mime": "^6.2", + "symfony/process": "^6.2", + "symfony/routing": "^6.2", + "symfony/uid": "^6.2", + "symfony/var-dumper": "^6.2", "tijsverkoyen/css-to-inline-styles": "^2.2.5", "vlucas/phpdotenv": "^5.4.1", "voku/portable-ascii": "^2.0" }, "conflict": { + "carbonphp/carbon-doctrine-types": ">=3.0", + "doctrine/dbal": ">=4.0", + "mockery/mockery": "1.6.8", + "phpunit/phpunit": ">=11.0.0", "tightenco/collect": "<5.5.33" }, "provide": { @@ -2151,6 +2162,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", @@ -2164,7 +2176,7 @@ "require-dev": { "ably/ably-php": "^1.0", "aws/aws-sdk-php": "^3.235.5", - "doctrine/dbal": "^2.13.3|^3.1.4", + "doctrine/dbal": "^3.5.1", "ext-gmp": "*", "fakerphp/faker": "^1.21", "guzzlehttp/guzzle": "^7.5", @@ -2174,20 +2186,21 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.24", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^8.23.4", "pda/pheanstalk": "^4.0", - "phpstan/phpdoc-parser": "^1.15", "phpstan/phpstan": "^1.4.7", - "phpunit/phpunit": "^9.5.8", - "predis/predis": "^1.1.9|^2.0.2", - "symfony/cache": "^6.0", - "symfony/http-client": "^6.0" + "phpunit/phpunit": "^10.0.7", + "predis/predis": "^2.0.2", + "symfony/cache": "^6.2", + "symfony/http-client": "^6.2.4", + "symfony/psr-http-message-bridge": "^2.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.235.5).", "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).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", "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.", @@ -2209,27 +2222,28 @@ "mockery/mockery": "Required to use mocking (^1.5.1).", "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|^2.0.2).", + "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", + "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/cache": "Required to PSR-6 cache bridge (^6.2).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "9.x-dev" + "dev-master": "10.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" ], @@ -2262,20 +2276,78 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-10-03T13:02:30+00:00" + "time": "2024-11-20T15:57:07+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.1.25", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "7b4029a84c37cb2725fc7f011586e2997040bc95" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/7b4029a84c37cb2725fc7f011586e2997040bc95", + "reference": "7b4029a84c37cb2725fc7f011586e2997040bc95", + "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.25" + }, + "time": "2024-08-12T22:06:33+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.3.5", + "version": "v1.3.7", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c" + "reference": "4f48ade902b94323ca3be7646db16209ec76be3d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", - "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/4f48ade902b94323ca3be7646db16209ec76be3d", + "reference": "4f48ade902b94323ca3be7646db16209ec76be3d", "shasum": "" }, "require": { @@ -2323,7 +2395,7 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2024-09-23T13:33:08+00:00" + "time": "2024-11-14T18:34:49+00:00" }, { "name": "laravel/tinker", @@ -2887,42 +2959,43 @@ }, { "name": "monolog/monolog", - "version": "2.9.3", + "version": "3.8.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "a30bfe2e142720dfa990d0a7e573997f5d884215" + "reference": "32e515fdc02cdafbe4593e30a9350d486b125b67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/a30bfe2e142720dfa990d0a7e573997f5d884215", - "reference": "a30bfe2e142720dfa990d0a7e573997f5d884215", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/32e515fdc02cdafbe4593e30a9350d486b125b67", + "reference": "32e515fdc02cdafbe4593e30a9350d486b125b67", "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 || ^8", "ext-json": "*", - "graylog2/gelf-php": "^1.4.2 || ^2@dev", - "guzzlehttp/guzzle": "^7.4", + "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", - "phpspec/prophecy": "^1.15", - "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.5.38 || ^9.6.19", - "predis/predis": "^1.1 || ^2.0", - "rollbar/rollbar": "^1.3 || ^2 || ^3", - "ruflin/elastica": "^7", - "swiftmailer/swiftmailer": "^5.3|^6.0", + "php-console/php-console": "^3.1.8", + "phpstan/phpstan": "^2", + "phpstan/phpstan-deprecation-rules": "^2", + "phpstan/phpstan-strict-rules": "^2", + "phpunit/phpunit": "^10.5.17 || ^11.0.7", + "predis/predis": "^1.1 || ^2", + "rollbar/rollbar": "^4.0", + "ruflin/elastica": "^7 || ^8", "symfony/mailer": "^5.4 || ^6", "symfony/mime": "^5.4 || ^6" }, @@ -2945,7 +3018,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -2973,7 +3046,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.9.3" + "source": "https://github.com/Seldaek/monolog/tree/3.8.0" }, "funding": [ { @@ -2985,7 +3058,7 @@ "type": "tidelift" } ], - "time": "2024-04-12T20:52:51+00:00" + "time": "2024-11-12T13:57:08+00:00" }, { "name": "mtdowling/jmespath.php", @@ -4727,16 +4800,16 @@ }, { "name": "symfony/console", - "version": "v6.4.13", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "f793dd5a7d9ae9923e35d0503d08ba734cec1d79" + "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/f793dd5a7d9ae9923e35d0503d08ba734cec1d79", - "reference": "f793dd5a7d9ae9923e35d0503d08ba734cec1d79", + "url": "https://api.github.com/repos/symfony/console/zipball/f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", + "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", "shasum": "" }, "require": { @@ -4801,7 +4874,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.13" + "source": "https://github.com/symfony/console/tree/v6.4.15" }, "funding": [ { @@ -4817,7 +4890,7 @@ "type": "tidelift" } ], - "time": "2024-10-09T08:40:40+00:00" + "time": "2024-11-06T14:19:14+00:00" }, { "name": "symfony/css-selector", @@ -4953,16 +5026,16 @@ }, { "name": "symfony/error-handler", - "version": "v6.4.13", + "version": "v6.4.14", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "e3c78742f86a5b65fe2ac4c4b6b776d92fd7ca0c" + "reference": "9e024324511eeb00983ee76b9aedc3e6ecd993d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/e3c78742f86a5b65fe2ac4c4b6b776d92fd7ca0c", - "reference": "e3c78742f86a5b65fe2ac4c4b6b776d92fd7ca0c", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/9e024324511eeb00983ee76b9aedc3e6ecd993d9", + "reference": "9e024324511eeb00983ee76b9aedc3e6ecd993d9", "shasum": "" }, "require": { @@ -5008,7 +5081,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.4.13" + "source": "https://github.com/symfony/error-handler/tree/v6.4.14" }, "funding": [ { @@ -5024,7 +5097,7 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2024-11-05T15:34:40+00:00" }, { "name": "symfony/event-dispatcher", @@ -5248,16 +5321,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.4.13", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "4c0341b3e0a7291e752c69d2a1ed9a84b68d604c" + "reference": "9b3165eb2f04aeaa1a5a2cfef73e63fe3b22dff6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/4c0341b3e0a7291e752c69d2a1ed9a84b68d604c", - "reference": "4c0341b3e0a7291e752c69d2a1ed9a84b68d604c", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/9b3165eb2f04aeaa1a5a2cfef73e63fe3b22dff6", + "reference": "9b3165eb2f04aeaa1a5a2cfef73e63fe3b22dff6", "shasum": "" }, "require": { @@ -5267,12 +5340,12 @@ "symfony/polyfill-php83": "^1.27" }, "conflict": { - "symfony/cache": "<6.3" + "symfony/cache": "<6.4.12|>=7.0,<7.1.5" }, "require-dev": { "doctrine/dbal": "^2.13.1|^3|^4", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^6.3|^7.0", + "symfony/cache": "^6.4.12|^7.1.5", "symfony/dependency-injection": "^5.4|^6.0|^7.0", "symfony/expression-language": "^5.4|^6.0|^7.0", "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", @@ -5305,7 +5378,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.4.13" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.15" }, "funding": [ { @@ -5321,20 +5394,20 @@ "type": "tidelift" } ], - "time": "2024-10-11T19:20:58+00:00" + "time": "2024-11-08T16:09:24+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.4.13", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "4474015c363ec0cd3bf47d55657e68630dbae66e" + "reference": "b002a5b3947653c5aee3adac2a024ea615fd3ff5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4474015c363ec0cd3bf47d55657e68630dbae66e", - "reference": "4474015c363ec0cd3bf47d55657e68630dbae66e", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/b002a5b3947653c5aee3adac2a024ea615fd3ff5", + "reference": "b002a5b3947653c5aee3adac2a024ea615fd3ff5", "shasum": "" }, "require": { @@ -5419,7 +5492,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.4.13" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.15" }, "funding": [ { @@ -5435,7 +5508,7 @@ "type": "tidelift" } ], - "time": "2024-10-27T13:00:29+00:00" + "time": "2024-11-13T13:57:37+00:00" }, { "name": "symfony/mailer", @@ -6240,16 +6313,16 @@ }, { "name": "symfony/process", - "version": "v6.4.13", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "1f9f59b46880201629df3bd950fc5ae8c55b960f" + "reference": "3cb242f059c14ae08591c5c4087d1fe443564392" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/1f9f59b46880201629df3bd950fc5ae8c55b960f", - "reference": "1f9f59b46880201629df3bd950fc5ae8c55b960f", + "url": "https://api.github.com/repos/symfony/process/zipball/3cb242f059c14ae08591c5c4087d1fe443564392", + "reference": "3cb242f059c14ae08591c5c4087d1fe443564392", "shasum": "" }, "require": { @@ -6281,7 +6354,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.13" + "source": "https://github.com/symfony/process/tree/v6.4.15" }, "funding": [ { @@ -6297,7 +6370,7 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2024-11-06T14:19:14+00:00" }, { "name": "symfony/routing", @@ -6467,16 +6540,16 @@ }, { "name": "symfony/string", - "version": "v7.1.6", + "version": "v7.1.8", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626" + "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/61b72d66bf96c360a727ae6232df5ac83c71f626", - "reference": "61b72d66bf96c360a727ae6232df5ac83c71f626", + "url": "https://api.github.com/repos/symfony/string/zipball/591ebd41565f356fcd8b090fe64dbb5878f50281", + "reference": "591ebd41565f356fcd8b090fe64dbb5878f50281", "shasum": "" }, "require": { @@ -6534,7 +6607,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.6" + "source": "https://github.com/symfony/string/tree/v7.1.8" }, "funding": [ { @@ -6550,7 +6623,7 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:20:29+00:00" + "time": "2024-11-13T13:31:21+00:00" }, { "name": "symfony/translation", @@ -6801,16 +6874,16 @@ }, { "name": "symfony/var-dumper", - "version": "v6.4.13", + "version": "v6.4.15", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "2acb151474ed8cb43624e3f41a0bf7c4c8ce4f41" + "reference": "38254d5a5ac2e61f2b52f9caf54e7aa3c9d36b80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2acb151474ed8cb43624e3f41a0bf7c4c8ce4f41", - "reference": "2acb151474ed8cb43624e3f41a0bf7c4c8ce4f41", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/38254d5a5ac2e61f2b52f9caf54e7aa3c9d36b80", + "reference": "38254d5a5ac2e61f2b52f9caf54e7aa3c9d36b80", "shasum": "" }, "require": { @@ -6866,7 +6939,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.13" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.15" }, "funding": [ { @@ -6882,7 +6955,7 @@ "type": "tidelift" } ], - "time": "2024-09-25T14:18:03+00:00" + "time": "2024-11-08T15:28:48+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -7292,16 +7365,16 @@ }, { "name": "fakerphp/faker", - "version": "v1.23.1", + "version": "v1.24.0", "source": { "type": "git", "url": "https://github.com/FakerPHP/Faker.git", - "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b" + "reference": "a136842a532bac9ecd8a1c723852b09915d7db50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/bfb4fe148adbf78eff521199619b93a52ae3554b", - "reference": "bfb4fe148adbf78eff521199619b93a52ae3554b", + "url": "https://api.github.com/repos/FakerPHP/Faker/zipball/a136842a532bac9ecd8a1c723852b09915d7db50", + "reference": "a136842a532bac9ecd8a1c723852b09915d7db50", "shasum": "" }, "require": { @@ -7349,9 +7422,9 @@ ], "support": { "issues": "https://github.com/FakerPHP/Faker/issues", - "source": "https://github.com/FakerPHP/Faker/tree/v1.23.1" + "source": "https://github.com/FakerPHP/Faker/tree/v1.24.0" }, - "time": "2024-01-02T13:46:09+00:00" + "time": "2024-11-07T15:11:20+00:00" }, { "name": "filp/whoops", @@ -7477,16 +7550,16 @@ }, { "name": "laravel/pint", - "version": "v1.18.1", + "version": "v1.18.2", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9" + "reference": "f55daaf7eb6c2f49ddf6702fb42e3091c64d8a64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/35c00c05ec43e6b46d295efc0f4386ceb30d50d9", - "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9", + "url": "https://api.github.com/repos/laravel/pint/zipball/f55daaf7eb6c2f49ddf6702fb42e3091c64d8a64", + "reference": "f55daaf7eb6c2f49ddf6702fb42e3091c64d8a64", "shasum": "" }, "require": { @@ -7539,7 +7612,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-09-24T17:22:50+00:00" + "time": "2024-11-20T09:33:46+00:00" }, { "name": "mockery/mockery", @@ -7626,16 +7699,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.12.0", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", - "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845", + "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845", "shasum": "" }, "require": { @@ -7674,7 +7747,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1" }, "funding": [ { @@ -7682,7 +7755,7 @@ "type": "tidelift" } ], - "time": "2024-06-12T14:39:25+00:00" + "time": "2024-11-08T17:47:46+00:00" }, { "name": "nunomaduro/collision", @@ -9277,16 +9350,16 @@ }, { "name": "spatie/backtrace", - "version": "1.6.2", + "version": "1.6.3", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9" + "reference": "7c18db2bc667ac84e5d7c18e33f16c38ff2d8838" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/1a9a145b044677ae3424693f7b06479fc8c137a9", - "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/7c18db2bc667ac84e5d7c18e33f16c38ff2d8838", + "reference": "7c18db2bc667ac84e5d7c18e33f16c38ff2d8838", "shasum": "" }, "require": { @@ -9324,7 +9397,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/backtrace/tree/1.6.2" + "source": "https://github.com/spatie/backtrace/tree/1.6.3" }, "funding": [ { @@ -9336,7 +9409,81 @@ "type": "other" } ], - "time": "2024-07-22T08:21:24+00:00" + "time": "2024-11-18T14:58:58+00:00" + }, + { + "name": "spatie/error-solutions", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/error-solutions.git", + "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "reference": "ae7393122eda72eed7cc4f176d1e96ea444f2d67", + "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.1.1" + }, + "funding": [ + { + "url": "https://github.com/Spatie", + "type": "github" + } + ], + "time": "2024-07-25T11:06:04+00:00" }, { "name": "spatie/flare-client-php", @@ -9409,24 +9556,24 @@ }, { "name": "spatie/ignition", - "version": "1.14.2", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "5e11c11f675bb5251f061491a493e04a1a571532" + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/5e11c11f675bb5251f061491a493e04a1a571532", - "reference": "5e11c11f675bb5251f061491a493e04a1a571532", + "url": "https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2", + "reference": "e3a68e137371e1eb9edc7f78ffa733f3b98991d2", "shasum": "" }, "require": { "ext-json": "*", "ext-mbstring": "*", "php": "^8.0", - "spatie/backtrace": "^1.5.3", - "spatie/flare-client-php": "^1.4.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" }, @@ -9488,45 +9635,46 @@ "type": "github" } ], - "time": "2024-05-29T08:10:20+00:00" + "time": "2024-06-12T14:55:22+00:00" }, { "name": "spatie/laravel-ignition", - "version": "1.7.0", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "b6d5c33cf0b8260d6540572af2d9bcf9182fe5fb" + "reference": "3c067b75bfb50574db8f7e2c3978c65eed71126c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/b6d5c33cf0b8260d6540572af2d9bcf9182fe5fb", - "reference": "b6d5c33cf0b8260d6540572af2d9bcf9182fe5fb", + "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.27", - "monolog/monolog": "^2.3", - "php": "^8.0", - "spatie/flare-client-php": "^1.0.1", - "spatie/ignition": "<= 1.14.2", - "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": { - "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" + "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" + }, + "suggest": { + "openai-php/client": "Require get solutions from OpenAI", + "psr/simple-cache-implementation": "Needed to cache solutions from OpenAI" }, "type": "library", "extra": { @@ -9578,7 +9726,7 @@ "type": "github" } ], - "time": "2024-06-13T07:21:06+00:00" + "time": "2024-06-12T15:01:18+00:00" }, { "name": "theseer/tokenizer", @@ -9633,12 +9781,12 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": "^8.0" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/tests/Feature/Http/Controllers/Auth/LoginControllerTest.php b/tests/Feature/Http/Controllers/Auth/LoginControllerTest.php index 925947e..a16fdb2 100644 --- a/tests/Feature/Http/Controllers/Auth/LoginControllerTest.php +++ b/tests/Feature/Http/Controllers/Auth/LoginControllerTest.php @@ -13,14 +13,14 @@ class LoginControllerTest extends TestCase { use RefreshDatabase; - public function testItRendersTheLoginPage(): void + public function test_it_renders_the_login_page(): void { $this->get('/login') ->assertStatus(Response::HTTP_OK) ->assertSeeText('Sign in to start your session'); } - public function testItLogsInAValidUser(): void + public function test_it_logs_in_a_valid_user(): void { $user = User::factory() ->create(['email' => 'geralt@rivia.of', 'password' => Hash::make('winds_howling')]); @@ -31,7 +31,7 @@ public function testItLogsInAValidUser(): void $this->assertEquals($user->id, Auth::user()->id); } - public function testItRedirectsAnInvalidUserBackToLogin(): void + public function test_it_redirects_an_invalid_user_back_to_login(): void { User::factory() ->create(['email' => 'geralt@rivia.of', 'password' => Hash::make('winds_howling')]); diff --git a/tests/Feature/Http/Controllers/DashboardControllerTest.php b/tests/Feature/Http/Controllers/DashboardControllerTest.php index 45e895a..1030055 100644 --- a/tests/Feature/Http/Controllers/DashboardControllerTest.php +++ b/tests/Feature/Http/Controllers/DashboardControllerTest.php @@ -20,7 +20,7 @@ protected function setUp(): void $this->user = User::factory()->active()->create(); } - public function testItLoadsCalendarEventsInProductionEnvironment() + public function test_it_loads_calendar_events_in_production_environment() { config(['app.env' => 'production']); $this->app->bind(Event::class, fn () => new FakeEvent); @@ -42,7 +42,7 @@ public function provideNonProductionEnvironments(): array /** * @dataProvider provideNonProductionEnvironments */ - public function testItDoesNotLoadCalendarEventsInNonProductionEnvironment(string $environment) + public function test_it_does_not_load_calendar_events_in_non_production_environment(string $environment) { config(['app.env' => $environment]); $this->app->bind(Event::class, fn () => new FakeEvent); diff --git a/tests/Feature/Http/Controllers/PublicInfoControllerTest.php b/tests/Feature/Http/Controllers/PublicInfoControllerTest.php index 0704bb1..37d5165 100644 --- a/tests/Feature/Http/Controllers/PublicInfoControllerTest.php +++ b/tests/Feature/Http/Controllers/PublicInfoControllerTest.php @@ -13,7 +13,7 @@ class PublicInfoControllerTest extends TestCase /** * @dataProvider publicUserCountData */ - public function testPublicUserCount(int $activeUsers, int $expectedUserCount, int $hiatusUsers = 0): void + public function test_public_user_count(int $activeUsers, int $expectedUserCount, int $hiatusUsers = 0): void { User::factory($activeUsers)->active()->create(); User::factory($hiatusUsers)->hiatus()->create(); diff --git a/tests/Feature/Http/Controllers/SlackInviteControllerTest.php b/tests/Feature/Http/Controllers/SlackInviteControllerTest.php index 10dc043..63905e5 100644 --- a/tests/Feature/Http/Controllers/SlackInviteControllerTest.php +++ b/tests/Feature/Http/Controllers/SlackInviteControllerTest.php @@ -13,28 +13,28 @@ class SlackInviteControllerTest extends TestCase { use RefreshDatabase; - public function testItReturnsNotFoundIfSlackAutoInviteIsNotEnabled(): void + public function test_it_returns_not_found_if_slack_auto_invite_is_not_enabled(): void { config(['services.slack.auto_invite.enabled' => false]); $this->get('/slack/invite')->assertStatus(Response::HTTP_NOT_FOUND); } - public function testItReturnsUnauthorizedWithoutAUserToken(): void + public function test_it_returns_unauthorized_without_a_user_token(): void { config(['services.slack.auto_invite.enabled' => true]); $this->get('/slack/invite')->assertStatus(Response::HTTP_UNAUTHORIZED); } - public function testItReturnsUnauthorizedWithAnInvalidUserToken(): void + public function test_it_returns_unauthorized_with_an_invalid_user_token(): void { config(['services.slack.auto_invite.enabled' => true]); $this->get('/slack/invite?t=0987654321234567890')->assertStatus(Response::HTTP_UNAUTHORIZED); } - public function testItReturnsUnauthorizedWithAValidUserTokenThatIsNotInTheDatabase(): void + public function test_it_returns_unauthorized_with_a_valid_user_token_that_is_not_in_the_database(): void { config(['services.slack.auto_invite.enabled' => true]); $token = Crypt::encrypt(1234567890987654321); @@ -57,7 +57,7 @@ public function provideNonActiveMemberStatuses(): array } /** @dataProvider provideNonActiveMemberStatuses */ - public function testItReturnsForbiddenWithAValidUserTokenThatIsNotAnActiveMember(string $status): void + public function test_it_returns_forbidden_with_a_valid_user_token_that_is_not_an_active_member(string $status): void { config(['services.slack.auto_invite.enabled' => true]); $user = User::factory()->create(['status' => $status]); @@ -66,7 +66,7 @@ public function testItReturnsForbiddenWithAValidUserTokenThatIsNotAnActiveMember $this->get("/slack/invite?t={$token}")->assertStatus(Response::HTTP_FORBIDDEN); } - public function testItRedirectsToTheConfiguredSlackInviteUrlWithAValidUserToken(): void + public function test_it_redirects_to_the_configured_slack_invite_url_with_a_valid_user_token(): void { $redirectUrl = 'https://www.geralt.of/rivia'; config(['services.slack.auto_invite.url' => $redirectUrl]); diff --git a/tests/Feature/Http/Controllers/UsersController/UpdateStatusTest.php b/tests/Feature/Http/Controllers/UsersController/UpdateStatusTest.php index 8d044a7..998c962 100644 --- a/tests/Feature/Http/Controllers/UsersController/UpdateStatusTest.php +++ b/tests/Feature/Http/Controllers/UsersController/UpdateStatusTest.php @@ -73,7 +73,7 @@ public function provideValidInviteStatuses(): array } /** @dataProvider provideValidInviteStatuses */ - public function testItQueuesSlackInviteEmailWhenUserIsMovedFromValidStatusToActive( + public function test_it_queues_slack_invite_email_when_user_is_moved_from_valid_status_to_active( string $status, bool $shouldSend ): void { @@ -102,7 +102,7 @@ public function testItQueuesSlackInviteEmailWhenUserIsMovedFromValidStatusToActi } /** @dataProvider provideValidInviteStatuses */ - public function testItDoesNotQueueSlackInviteEmailWhenUserIsMovedFromValidStatusToActiveWhenNotEnabled( + public function test_it_does_not_queue_slack_invite_email_when_user_is_moved_from_valid_status_to_active_when_not_enabled( string $status ): void { Mail::fake(); diff --git a/tests/Unit/Http/Middleware/HttpsProtocolTest.php b/tests/Unit/Http/Middleware/HttpsProtocolTest.php index 729dcef..8a94d0a 100644 --- a/tests/Unit/Http/Middleware/HttpsProtocolTest.php +++ b/tests/Unit/Http/Middleware/HttpsProtocolTest.php @@ -10,7 +10,7 @@ class HttpsProtocolTest extends TestCase { - public function testItRedirectsToHttpsInProductionEnvironment(): void + public function test_it_redirects_to_https_in_production_environment(): void { config(['app.env' => 'production']); $_SERVER['HTTPS'] = false; @@ -31,7 +31,7 @@ public function testItRedirectsToHttpsInProductionEnvironment(): void } /** @dataProvider provideNonProductionEnvironments */ - public function testItDoesNotRedirectToHttpsOutsideProductionEnvironment(string $environment): void + public function test_it_does_not_redirect_to_https_outside_production_environment(string $environment): void { config(['app.env' => $environment]); $_SERVER['HTTPS'] = false; diff --git a/tests/Unit/Mail/MailingListSubscribeTest.php b/tests/Unit/Mail/MailingListSubscribeTest.php index 55867c1..afc78c8 100644 --- a/tests/Unit/Mail/MailingListSubscribeTest.php +++ b/tests/Unit/Mail/MailingListSubscribeTest.php @@ -11,7 +11,7 @@ abstract class MailingListSubscribeTest extends TestCase { use RefreshDatabase; - public function testItBuildsWithExpectedRecipientAndContent() + public function test_it_builds_with_expected_recipient_and_content() { config([$this->getToAddressConfigPath() => 'geralt@rivia.of']); config([$this->getPasswordConfigPath() => 'w1nd5h0wl1ng']); diff --git a/tests/Unit/Mail/SlackInviteTest.php b/tests/Unit/Mail/SlackInviteTest.php index 078343e..2e49ffb 100644 --- a/tests/Unit/Mail/SlackInviteTest.php +++ b/tests/Unit/Mail/SlackInviteTest.php @@ -11,7 +11,7 @@ class SlackInviteTest extends TestCase { use RefreshDatabase; - public function testItBuildsWithExpectedRecipientAndContent() + public function test_it_builds_with_expected_recipient_and_content() { $user = User::factory()->active()->create(); diff --git a/tests/Unit/Models/UserTest.php b/tests/Unit/Models/UserTest.php index 843274c..15d990f 100644 --- a/tests/Unit/Models/UserTest.php +++ b/tests/Unit/Models/UserTest.php @@ -12,7 +12,7 @@ class UserNameTest extends TestCase private $unique_name = 'noenveriovfero'; - public function testGetNameWorksWithPreferredLastName(): void + public function test_get_name_works_with_preferred_last_name(): void { $user = User::factory()->create(); @@ -25,7 +25,7 @@ public function testGetNameWorksWithPreferredLastName(): void $this->assertEquals($expected_name, $user->get_name()); } - public function testGetNameWorksWithPreferredFirstName(): void + public function test_get_name_works_with_preferred_first_name(): void { $user = User::factory()->create(); @@ -38,7 +38,7 @@ public function testGetNameWorksWithPreferredFirstName(): void $this->assertEquals($expected_name, $user->get_name()); } - public function testGetNameWorksWithNoPreferredName(): void + public function test_get_name_works_with_no_preferred_name(): void { $user = User::factory()->create(); @@ -51,7 +51,7 @@ public function testGetNameWorksWithNoPreferredName(): void $this->assertEquals($expected_name, $user->get_name()); } - public function testGetNameWorksWithBothPreferredNames(): void + public function test_get_name_works_with_both_preferred_names(): void { $user = User::factory()->create(); diff --git a/tests/Unit/Services/Slack/KosBotTest.php b/tests/Unit/Services/Slack/KosBotTest.php index e5e9c80..8476823 100644 --- a/tests/Unit/Services/Slack/KosBotTest.php +++ b/tests/Unit/Services/Slack/KosBotTest.php @@ -20,14 +20,14 @@ class KosBotTest extends TestCase private KosBot $kosBot; - public function setUp(): void + protected function setUp(): void { parent::setUp(); $this->slack = $this->createMock(Slack::class); $this->kosBot = new KosBot($this->slack); } - public function testItPostsANewApplicantMessageToTheApplicantsSlackChannel(): void + public function test_it_posts_a_new_applicant_message_to_the_applicants_slack_channel(): void { config()->set('services.slack.channels.applicants', '0987654321'); diff --git a/tests/Unit/Services/Slack/Models/ChannelTest.php b/tests/Unit/Services/Slack/Models/ChannelTest.php index 68b9915..4bd6ef5 100644 --- a/tests/Unit/Services/Slack/Models/ChannelTest.php +++ b/tests/Unit/Services/Slack/Models/ChannelTest.php @@ -7,7 +7,7 @@ class ChannelTest extends TestCase { - public function testItCanBeConstructedWithAnId(): void + public function test_it_can_be_constructed_with_an_id(): void { $channel = new Channel('GeraltOfRivia'); $this->assertEquals('GeraltOfRivia', $channel->getId()); diff --git a/tests/Unit/Services/Slack/Models/MessageTest.php b/tests/Unit/Services/Slack/Models/MessageTest.php index 100c14f..ea006f5 100644 --- a/tests/Unit/Services/Slack/Models/MessageTest.php +++ b/tests/Unit/Services/Slack/Models/MessageTest.php @@ -7,19 +7,19 @@ class MessageTest extends TestCase { - public function testItCanBeConstructedWithAnId(): void + public function test_it_can_be_constructed_with_an_id(): void { $message = new Message('GeraltOfRivia'); $this->assertEquals('GeraltOfRivia', $message->getId()); } - public function testItCanBeConstructedWithoutAnId(): void + public function test_it_can_be_constructed_without_an_id(): void { $message = new Message; $this->assertNull($message->getId()); } - public function testItCanFluentlySetTheText(): void + public function test_it_can_fluently_set_the_text(): void { $message = new Message; diff --git a/tests/Unit/Services/Slack/SlackTest.php b/tests/Unit/Services/Slack/SlackTest.php index f957cc5..c4b31c1 100644 --- a/tests/Unit/Services/Slack/SlackTest.php +++ b/tests/Unit/Services/Slack/SlackTest.php @@ -13,19 +13,19 @@ class SlackTest extends TestCase { use MocksGuzzleHistory; - public function setUp(): void + protected function setUp(): void { parent::setUp(); $this->mockGuzzleHistory($this->guzzleHistory, ['base_uri' => 'https://slack.com/api/']); } - public function testItCanBeConstructedWithAnOauthToken(): void + public function test_it_can_be_constructed_with_an_oauth_token(): void { $slack = new Slack('geralt-of-rivia', $this->getGuzzleClient()); $this->assertEquals('geralt-of-rivia', $slack->getToken()); } - public function testItIsConstructedFromTheAppContainerWithTheConfiguredOauthToken(): void + public function test_it_is_constructed_from_the_app_container_with_the_configured_oauth_token(): void { $originalOauthToken = config('services.slack.oauth_token'); config()->set('services.slack.oauth_token', 'geralt-of-rivia'); @@ -38,7 +38,7 @@ public function testItIsConstructedFromTheAppContainerWithTheConfiguredOauthToke config()->set('services.slack.oauth_token', $originalOauthToken); } - public function testItMakesAnHttpRequestToPostANewMessageToAChannel(): void + public function test_it_makes_an_http_request_to_post_a_new_message_to_a_channel(): void { $this->appendJsonResponse( Response::HTTP_CREATED,