diff --git a/composer.json b/composer.json index 5e588877b..22b90982b 100644 --- a/composer.json +++ b/composer.json @@ -4,30 +4,30 @@ "description": "Website of getrector.com", "require": { "php": "^8.2", - "imagine/imagine": "^1.3.5", + "imagine/imagine": "^1.5", "jajo/jsondb": "^3.0.1", - "laravel/framework": "^11.21", - "league/commonmark": "^2.5", + "laravel/framework": "^11.36", + "league/commonmark": "^2.6", "livewire/livewire": "^3.5", "nesbot/carbon": "^3.8", - "nikic/php-parser": "^5.0", + "nikic/php-parser": "^5.4", "rector/rector": "dev-main as 2.0", - "samsonasik/array-lookup": "^1.6", - "symfony/filesystem": "^7.1", - "symfony/uid": "^7.1", - "symfony/yaml": "^7.1", + "samsonasik/array-lookup": "^1.8", + "symfony/filesystem": "^7.2", + "symfony/uid": "^7.2", + "symfony/yaml": "^7.2", "symplify/vendor-patches": "^11.3" }, "require-dev": { - "barryvdh/laravel-ide-helper": "^3.2", - "driftingly/rector-laravel": "dev-main as 2.0", + "barryvdh/laravel-ide-helper": "^3.3", + "driftingly/rector-laravel": "dev-main as 2.0.2", "nette/robot-loader": "^4.0", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.0", "phpstan/phpstan-webmozart-assert": "^2.0", "phpunit/phpunit": "11.4.0", "rector/swiss-knife": "^1.0", - "symplify/easy-coding-standard": "^12.4", + "phpecs/phpecs": "^2.0", "tomasvotruba/class-leak": "^2.0" }, "autoload": { diff --git a/composer.lock b/composer.lock index 5564d89f6..465681067 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": "a00be2b426d2bc55b23a585b1cc790e8", + "content-hash": "2f28d39b984ed6cc0b98d87db927b7d1", "packages": [ { "name": "brick/math", @@ -1215,16 +1215,16 @@ }, { "name": "laravel/framework", - "version": "v11.36.1", + "version": "v11.39.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "df06f5163f4550641fdf349ebc04916a61135a64" + "reference": "3d693dd36e78121bcd51fc02eda4bc137d2a17f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/df06f5163f4550641fdf349ebc04916a61135a64", - "reference": "df06f5163f4550641fdf349ebc04916a61135a64", + "url": "https://api.github.com/repos/laravel/framework/zipball/3d693dd36e78121bcd51fc02eda4bc137d2a17f2", + "reference": "3d693dd36e78121bcd51fc02eda4bc137d2a17f2", "shasum": "" }, "require": { @@ -1274,7 +1274,6 @@ "voku/portable-ascii": "^2.0.2" }, "conflict": { - "mockery/mockery": "1.6.8", "tightenco/collect": "<5.5.33" }, "provide": { @@ -1426,20 +1425,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-12-17T22:32:08+00:00" + "time": "2025-01-22T17:01:46+00:00" }, { "name": "laravel/prompts", - "version": "v0.3.2", + "version": "v0.3.3", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "0e0535747c6b8d6d10adca8b68293cf4517abb0f" + "reference": "749395fcd5f8f7530fe1f00dfa84eb22c83d94ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/0e0535747c6b8d6d10adca8b68293cf4517abb0f", - "reference": "0e0535747c6b8d6d10adca8b68293cf4517abb0f", + "url": "https://api.github.com/repos/laravel/prompts/zipball/749395fcd5f8f7530fe1f00dfa84eb22c83d94ea", + "reference": "749395fcd5f8f7530fe1f00dfa84eb22c83d94ea", "shasum": "" }, "require": { @@ -1483,9 +1482,9 @@ "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.3.2" + "source": "https://github.com/laravel/prompts/tree/v0.3.3" }, - "time": "2024-11-12T14:59:47+00:00" + "time": "2024-12-30T15:53:31+00:00" }, { "name": "laravel/serializable-closure", @@ -1550,16 +1549,16 @@ }, { "name": "league/commonmark", - "version": "2.6.0", + "version": "2.6.1", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "d150f911e0079e90ae3c106734c93137c184f932" + "reference": "d990688c91cedfb69753ffc2512727ec646df2ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d150f911e0079e90ae3c106734c93137c184f932", - "reference": "d150f911e0079e90ae3c106734c93137c184f932", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/d990688c91cedfb69753ffc2512727ec646df2ad", + "reference": "d990688c91cedfb69753ffc2512727ec646df2ad", "shasum": "" }, "require": { @@ -1653,7 +1652,7 @@ "type": "tidelift" } ], - "time": "2024-12-07T15:34:16+00:00" + "time": "2024-12-29T14:10:59+00:00" }, { "name": "league/config", @@ -2283,12 +2282,12 @@ "version": "3.8.4", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", + "url": "https://github.com/CarbonPHP/carbon.git", "reference": "129700ed449b1f02d70272d2ac802357c8c30c58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/129700ed449b1f02d70272d2ac802357c8c30c58", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/129700ed449b1f02d70272d2ac802357c8c30c58", "reference": "129700ed449b1f02d70272d2ac802357c8c30c58", "shasum": "" }, @@ -2534,16 +2533,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.1", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" + "reference": "447a020a1f875a434d62f2a401f53b82a396e494" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494", + "reference": "447a020a1f875a434d62f2a401f53b82a396e494", "shasum": "" }, "require": { @@ -2586,9 +2585,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0" }, - "time": "2024-10-08T18:51:32+00:00" + "time": "2024-12-30T11:07:19+00:00" }, { "name": "nunomaduro/termwind", @@ -3824,12 +3823,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -4047,12 +4046,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -4171,16 +4170,16 @@ }, { "name": "symfony/finder", - "version": "v7.2.0", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49" + "reference": "87a71856f2f56e4100373e92529eed3171695cfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/6de263e5868b9a137602dd1e33e4d48bfae99c49", - "reference": "6de263e5868b9a137602dd1e33e4d48bfae99c49", + "url": "https://api.github.com/repos/symfony/finder/zipball/87a71856f2f56e4100373e92529eed3171695cfb", + "reference": "87a71856f2f56e4100373e92529eed3171695cfb", "shasum": "" }, "require": { @@ -4215,7 +4214,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.2.0" + "source": "https://github.com/symfony/finder/tree/v7.2.2" }, "funding": [ { @@ -4231,20 +4230,20 @@ "type": "tidelift" } ], - "time": "2024-10-23T06:56:12+00:00" + "time": "2024-12-30T19:00:17+00:00" }, { "name": "symfony/http-foundation", - "version": "v7.2.0", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744" + "reference": "62d1a43796ca3fea3f83a8470dfe63a4af3bc588" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e88a66c3997859532bc2ddd6dd8f35aba2711744", - "reference": "e88a66c3997859532bc2ddd6dd8f35aba2711744", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/62d1a43796ca3fea3f83a8470dfe63a4af3bc588", + "reference": "62d1a43796ca3fea3f83a8470dfe63a4af3bc588", "shasum": "" }, "require": { @@ -4293,7 +4292,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.2.0" + "source": "https://github.com/symfony/http-foundation/tree/v7.2.2" }, "funding": [ { @@ -4309,20 +4308,20 @@ "type": "tidelift" } ], - "time": "2024-11-13T18:58:46+00:00" + "time": "2024-12-30T19:00:17+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.2.1", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "d8ae58eecae44c8e66833e76cc50a4ad3c002d97" + "reference": "3c432966bd8c7ec7429663105f5a02d7e75b4306" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/d8ae58eecae44c8e66833e76cc50a4ad3c002d97", - "reference": "d8ae58eecae44c8e66833e76cc50a4ad3c002d97", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/3c432966bd8c7ec7429663105f5a02d7e75b4306", + "reference": "3c432966bd8c7ec7429663105f5a02d7e75b4306", "shasum": "" }, "require": { @@ -4407,7 +4406,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/v7.2.1" + "source": "https://github.com/symfony/http-kernel/tree/v7.2.2" }, "funding": [ { @@ -4423,7 +4422,7 @@ "type": "tidelift" } ], - "time": "2024-12-11T12:09:10+00:00" + "time": "2024-12-31T14:59:40+00:00" }, { "name": "symfony/mailer", @@ -5391,12 +5390,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -5539,16 +5538,16 @@ }, { "name": "symfony/translation", - "version": "v7.2.0", + "version": "v7.2.2", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5" + "reference": "e2674a30132b7cc4d74540d6c2573aa363f05923" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/dc89e16b44048ceecc879054e5b7f38326ab6cc5", - "reference": "dc89e16b44048ceecc879054e5b7f38326ab6cc5", + "url": "https://api.github.com/repos/symfony/translation/zipball/e2674a30132b7cc4d74540d6c2573aa363f05923", + "reference": "e2674a30132b7cc4d74540d6c2573aa363f05923", "shasum": "" }, "require": { @@ -5614,7 +5613,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.2.0" + "source": "https://github.com/symfony/translation/tree/v7.2.2" }, "funding": [ { @@ -5630,7 +5629,7 @@ "type": "tidelift" } ], - "time": "2024-11-12T20:47:56+00:00" + "time": "2024-12-07T08:18:10+00:00" }, { "name": "symfony/translation-contracts", @@ -5651,12 +5650,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -6257,29 +6256,27 @@ "packages-dev": [ { "name": "barryvdh/laravel-ide-helper", - "version": "v3.3.0", + "version": "v3.5.4", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-ide-helper.git", - "reference": "b7675670f75914bf34afdea52a6c2fe3781f7c44" + "reference": "980a87e250fc2a7558bc46e07f61c7594500ea53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/b7675670f75914bf34afdea52a6c2fe3781f7c44", - "reference": "b7675670f75914bf34afdea52a6c2fe3781f7c44", + "url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/980a87e250fc2a7558bc46e07f61c7594500ea53", + "reference": "980a87e250fc2a7558bc46e07f61c7594500ea53", "shasum": "" }, "require": { - "barryvdh/reflection-docblock": "^2.1.2", + "barryvdh/reflection-docblock": "^2.3", "composer/class-map-generator": "^1.0", "ext-json": "*", "illuminate/console": "^11.15", "illuminate/database": "^11.15", "illuminate/filesystem": "^11.15", "illuminate/support": "^11.15", - "nikic/php-parser": "^4.18 || ^5", - "php": "^8.2", - "phpdocumentor/type-resolver": "^1.1.0" + "php": "^8.2" }, "require-dev": { "ext-pdo_sqlite": "*", @@ -6290,7 +6287,8 @@ "orchestra/testbench": "^9.2", "phpunit/phpunit": "^10.5", "spatie/phpunit-snapshot-assertions": "^4 || ^5", - "vimeo/psalm": "^5.4" + "vimeo/psalm": "^5.4", + "vlucas/phpdotenv": "^5" }, "suggest": { "illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9|^10|^11)." @@ -6303,7 +6301,7 @@ ] }, "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.5-dev" } }, "autoload": { @@ -6325,6 +6323,7 @@ "keywords": [ "autocomplete", "codeintel", + "dev", "helper", "ide", "laravel", @@ -6335,7 +6334,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-ide-helper/issues", - "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.3.0" + "source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.5.4" }, "funding": [ { @@ -6347,24 +6346,24 @@ "type": "github" } ], - "time": "2024-12-18T08:24:19+00:00" + "time": "2025-01-14T09:07:00+00:00" }, { "name": "barryvdh/reflection-docblock", - "version": "v2.1.3", + "version": "v2.3.1", "source": { "type": "git", "url": "https://github.com/barryvdh/ReflectionDocBlock.git", - "reference": "c6fad15f7c878be21650c51e1f841bca7e49752e" + "reference": "b6ff9f93603561f50e53b64310495d20b8dff5d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/ReflectionDocBlock/zipball/c6fad15f7c878be21650c51e1f841bca7e49752e", - "reference": "c6fad15f7c878be21650c51e1f841bca7e49752e", + "url": "https://api.github.com/repos/barryvdh/ReflectionDocBlock/zipball/b6ff9f93603561f50e53b64310495d20b8dff5d8", + "reference": "b6ff9f93603561f50e53b64310495d20b8dff5d8", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "require-dev": { "phpunit/phpunit": "^8.5.14|^9" @@ -6376,7 +6375,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.3.x-dev" } }, "autoload": { @@ -6397,9 +6396,9 @@ } ], "support": { - "source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.1.3" + "source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.3.1" }, - "time": "2024-10-23T11:41:03+00:00" + "time": "2025-01-18T19:26:32+00:00" }, { "name": "composer/class-map-generator", @@ -6553,63 +6552,18 @@ ], "time": "2024-11-12T16:29:46+00:00" }, - { - "name": "doctrine/deprecations", - "version": "1.1.4", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9", - "reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^9 || ^12", - "phpstan/phpstan": "1.4.10 || 2.0.3", - "phpstan/phpstan-phpunit": "^1.0 || ^2", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "psr/log": "^1 || ^2 || ^3" - }, - "suggest": { - "psr/log": "Allows logging deprecations via PSR-3 logger implementation" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Deprecations\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", - "homepage": "https://www.doctrine-project.org/", - "support": { - "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/1.1.4" - }, - "time": "2024-12-07T21:18:45+00:00" - }, { "name": "driftingly/rector-laravel", "version": "dev-main", "source": { "type": "git", "url": "https://github.com/driftingly/rector-laravel.git", - "reference": "915565b3676f08b64d9356e5925ee0067c2c8ce4" + "reference": "6b32c5faecc1fd0c2735e9acde9ae28e3bc1e56d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/driftingly/rector-laravel/zipball/915565b3676f08b64d9356e5925ee0067c2c8ce4", - "reference": "915565b3676f08b64d9356e5925ee0067c2c8ce4", + "url": "https://api.github.com/repos/driftingly/rector-laravel/zipball/6b32c5faecc1fd0c2735e9acde9ae28e3bc1e56d", + "reference": "6b32c5faecc1fd0c2735e9acde9ae28e3bc1e56d", "shasum": "" }, "require": { @@ -6645,7 +6599,7 @@ "issues": "https://github.com/driftingly/rector-laravel/issues", "source": "https://github.com/driftingly/rector-laravel/tree/main" }, - "time": "2025-01-09T19:28:43+00:00" + "time": "2025-01-17T10:53:05+00:00" }, { "name": "myclabs/deep-copy", @@ -6892,115 +6846,31 @@ "time": "2022-02-21T01:04:05+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/type-resolver", - "version": "1.10.0", + "name": "phpecs/phpecs", + "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a" + "url": "https://github.com/TomasVotruba/ecs.git", + "reference": "da6b0acc5555c80942edb7a286d4e2e9ab3f1325" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/679e3ce485b99e84c775d28e2e96fade9a7fb50a", - "reference": "679e3ce485b99e84c775d28e2e96fade9a7fb50a", + "url": "https://api.github.com/repos/TomasVotruba/ecs/zipball/da6b0acc5555c80942edb7a286d4e2e9ab3f1325", + "reference": "da6b0acc5555c80942edb7a286d4e2e9ab3f1325", "shasum": "" }, "require": { - "doctrine/deprecations": "^1.0", - "php": "^7.3 || ^8.0", - "phpdocumentor/reflection-common": "^2.0", - "phpstan/phpdoc-parser": "^1.18|^2.0" - }, - "require-dev": { - "ext-tokenizer": "*", - "phpbench/phpbench": "^1.2", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^9.5", - "rector/rector": "^0.13.9", - "vimeo/psalm": "^4.25" + "php": "^7.2|^8.0", + "symplify/easy-coding-standard": "^12.5" }, "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", + "description": "The easiest way to use Coding Standard", "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.10.0" + "issues": "https://github.com/TomasVotruba/ecs/issues", + "source": "https://github.com/TomasVotruba/ecs/tree/2.0.0" }, - "time": "2024-11-09T15:12:26+00:00" + "time": "2025-01-17T09:46:12+00:00" }, { "name": "phpstan/extension-installer", @@ -7050,53 +6920,6 @@ }, "time": "2024-09-04T20:21:43+00:00" }, - { - "name": "phpstan/phpdoc-parser", - "version": "2.0.0", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/c00d78fb6b29658347f9d37ebe104bffadf36299", - "reference": "c00d78fb6b29658347f9d37ebe104bffadf36299", - "shasum": "" - }, - "require": { - "php": "^7.4 || ^8.0" - }, - "require-dev": { - "doctrine/annotations": "^2.0", - "nikic/php-parser": "^5.3.0", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^2.0", - "phpstan/phpstan-phpunit": "^2.0", - "phpstan/phpstan-strict-rules": "^2.0", - "phpunit/phpunit": "^9.6", - "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/2.0.0" - }, - "time": "2024-10-13T11:29:49+00:00" - }, { "name": "phpstan/phpstan-webmozart-assert", "version": "2.0.0", @@ -7785,16 +7608,16 @@ }, { "name": "sebastian/comparator", - "version": "6.2.1", + "version": "6.3.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "43d129d6a0f81c78bee378b46688293eb7ea3739" + "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/43d129d6a0f81c78bee378b46688293eb7ea3739", - "reference": "43d129d6a0f81c78bee378b46688293eb7ea3739", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/d4e47a769525c4dd38cea90e5dcd435ddbbc7115", + "reference": "d4e47a769525c4dd38cea90e5dcd435ddbbc7115", "shasum": "" }, "require": { @@ -7807,6 +7630,9 @@ "require-dev": { "phpunit/phpunit": "^11.4" }, + "suggest": { + "ext-bcmath": "For comparing BcMath\\Number objects" + }, "type": "library", "extra": { "branch-alias": { @@ -7850,7 +7676,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/6.2.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.3.0" }, "funding": [ { @@ -7858,7 +7684,7 @@ "type": "github" } ], - "time": "2024-10-31T05:30:08+00:00" + "time": "2025-01-06T10:28:19+00:00" }, { "name": "sebastian/complexity", @@ -8538,16 +8364,16 @@ }, { "name": "symplify/easy-coding-standard", - "version": "12.5.4", + "version": "12.5.5", "source": { "type": "git", "url": "https://github.com/easy-coding-standard/easy-coding-standard.git", - "reference": "5673ecbc03eef9d7b2f563819c80e8e1ce0161be" + "reference": "16a6ac7f452e230fdcc81f1b35b2366903fcecf3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/5673ecbc03eef9d7b2f563819c80e8e1ce0161be", - "reference": "5673ecbc03eef9d7b2f563819c80e8e1ce0161be", + "url": "https://api.github.com/repos/easy-coding-standard/easy-coding-standard/zipball/16a6ac7f452e230fdcc81f1b35b2366903fcecf3", + "reference": "16a6ac7f452e230fdcc81f1b35b2366903fcecf3", "shasum": "" }, "require": { @@ -8583,7 +8409,7 @@ ], "support": { "issues": "https://github.com/easy-coding-standard/easy-coding-standard/issues", - "source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.5.4" + "source": "https://github.com/easy-coding-standard/easy-coding-standard/tree/12.5.5" }, "funding": [ { @@ -8595,7 +8421,7 @@ "type": "github" } ], - "time": "2024-12-12T15:36:04+00:00" + "time": "2025-01-02T08:43:03+00:00" }, { "name": "symplify/rule-doc-generator-contracts", @@ -8708,16 +8534,16 @@ }, { "name": "tomasvotruba/class-leak", - "version": "2.0.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/TomasVotruba/class-leak.git", - "reference": "c3fd35b3de6b92c4b9c5b54a12574c57f1359d4a" + "reference": "4fcf2aa7c7b819bd2007b4540fe2deb89ae070a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/TomasVotruba/class-leak/zipball/c3fd35b3de6b92c4b9c5b54a12574c57f1359d4a", - "reference": "c3fd35b3de6b92c4b9c5b54a12574c57f1359d4a", + "url": "https://api.github.com/repos/TomasVotruba/class-leak/zipball/4fcf2aa7c7b819bd2007b4540fe2deb89ae070a0", + "reference": "4fcf2aa7c7b819bd2007b4540fe2deb89ae070a0", "shasum": "" }, "require": { @@ -8740,7 +8566,7 @@ "description": "Detect leaking classes", "support": { "issues": "https://github.com/TomasVotruba/class-leak/issues", - "source": "https://github.com/TomasVotruba/class-leak/tree/2.0.0" + "source": "https://github.com/TomasVotruba/class-leak/tree/2.0.3" }, "funding": [ { @@ -8752,15 +8578,15 @@ "type": "github" } ], - "time": "2024-12-12T11:53:51+00:00" + "time": "2025-01-14T14:54:23+00:00" } ], "aliases": [ { "package": "driftingly/rector-laravel", "version": "dev-main", - "alias": "2.0", - "alias_normalized": "2.0.0.0" + "alias": "2.0.2", + "alias_normalized": "2.0.2.0" }, { "package": "rector/rector", @@ -8771,14 +8597,14 @@ ], "minimum-stability": "stable", "stability-flags": { - "rector/rector": 20, - "driftingly/rector-laravel": 20 + "driftingly/rector-laravel": 20, + "rector/rector": 20 }, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": "^8.2" }, - "platform-dev": [], + "platform-dev": {}, "plugin-api-version": "2.6.0" } diff --git a/phpstan.neon b/phpstan.neon index 0627eeb12..2c1bdd770 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -19,58 +19,24 @@ parameters: - tests/bootstrap.php level: 8 - -# unused_public: -# template_paths: -# - resources/views - reportUnmatchedIgnoredErrors: false ignoreErrors: - # in glob() we trust - - '#Method App\\Repository\\PostRepository\:\:findPostsFilePaths\(\) should return array but returns array#' - # float allowed - '#Parameter (.*?) of class Imagine\\Image\\Box constructor expects int, float given#' - # known values - - - message: '#Offset 1 on array\{string\} on left side of \?\? does not exist#' - paths: - - src/Controller/ - - src/Ast/Controller/ - - '#Call to an undefined method Illuminate\\Contracts\\(.*?)|Illuminate\\#' - - - message: '#Method App\\FileSystem\\RectorFinder\:\:findRectorClasses\(\) should return array> but returns array#' - path: src/FileSystem/RectorFinder.php - # stmts vs nodes - '#Method App\\PhpParser\\SimplePhpParser\:\:parseString\(\) should return array but returns array#' - # parent laravel model configuration property - - '#Public property "App\\Ast\\Entity\\AstRun\:\:\$timestamps" is never used#' - # make models pass without ide helper - path: src/Ast/Entity/AstRun.php message: '#Access to an undefined property App\\Ast\\Entity\\AstRun\:\:\$(content|hash)#' - '#PHPDoc tag @mixin contains unknown class App\\Ast\\Entity\\IdeHelperAstRun#' - - '#Call to an undefined static method App\\Ast\\Entity\\AstRun\:\:firstWhere\(\)#' - '#Parameter \#1 \$rectorClass of method App\\RuleFilter\\ValueObject\\RectorSet\:\:hasRule\(\) expects class\-string, string given#' - # inherited from php-parser - - - message: '#Parameter \#1 \$nodes of method PhpParser\\PrettyPrinterAbstract\:\:pCommaSeparatedMultiline\(\) expects array, array given#' - path: src/RuleFilter/PhpParser/Printer/RectorConfigStmtsPrinter.php - - - # livewire component - - - message: '#Variable \$step might not be defined#' - path: src/Livewire/StepByStepComponent.php - # only type - '#Method App\\Thumbnail\\ThumbnailGenerator\:\:createFont\(\) should return Imagine\\Image\\AbstractFont but returns Imagine\\Image\\FontInterface#' @@ -79,11 +45,15 @@ parameters: message: '#Cannot call method format\(\) on Carbon\\Carbon\|null#' path: src/Controller/Stats/FindRuleStatsController.php + # magic model methods + - '#Call to an undefined static method App\\Ast\\Entity\\AstRun::where#' + - message: '#Call to an undefined method Rector\\Contract\\Rector\\RectorInterface\:\:getRuleDefinition\(\)#' path: src/FileSystem/RectorFinder.php - + path: src/Utils/ClickablePrinterBuilder.php identifier: argument.type # realpath usage @@ -92,4 +62,5 @@ parameters: # enforce native - - identifier: varTag.nativeType \ No newline at end of file + path: src/FileSystem/RectorFinder.php + identifier: varTag.nativeType diff --git a/resources/css/app.scss b/resources/css/app.scss index 70b5f042c..234e06a4e 100644 --- a/resources/css/app.scss +++ b/resources/css/app.scss @@ -567,7 +567,7 @@ label.required:before { } } -#clickable-nodes-code { +#simple_page #clickable-nodes-code { a { // color: #DDD; color: #f08e48; diff --git a/resources/views/_snippets/form/form_textarea.blade.php b/resources/views/_snippets/form/form_textarea.blade.php index 4a295f233..0f8054196 100644 --- a/resources/views/_snippets/form/form_textarea.blade.php +++ b/resources/views/_snippets/form/form_textarea.blade.php @@ -1,5 +1,5 @@ @php - /** @var string $label */ + /** @var string|null $label */ /** @var string $inputName */ /** @var string $defaultValue */ @endphp @@ -13,7 +13,9 @@ @enderror
-
{!! $label !!}
+ @if ($label) +
{!! $label !!}
+ @endif