diff --git a/.env b/.env index 745bff94..85bd5c9c 100644 --- a/.env +++ b/.env @@ -52,5 +52,5 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 LOCK_DSN=flock ###< symfony/lock ### -# Select default language (en, ru, bg, nl) +# Select default language (en, ru, bg, nl, hu) LANGUAGE_CODE=en diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f08e67a2..f29e21e1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -59,7 +59,7 @@ jobs: - name: Rector if: always() && steps.install.outcome == 'success' - run: vendor/bin/rector process src --clear-cache --dry-run + run: vendor/bin/rector process - name: Lint YAML files if: always() && steps.install.outcome == 'success' diff --git a/composer.json b/composer.json index a7f807e7..1a95aad0 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,7 @@ "doctrine/doctrine-fixtures-bundle": "^3.5", "friendsofphp/php-cs-fixer": "^3.42", "phpunit/phpunit": "^9.6", - "rector/rector": "^0.19", + "rector/rector": "^1.0", "symfony/browser-kit": "^7.0", "symfony/css-selector": "^7.0", "symfony/debug-bundle": "^7.0", @@ -108,6 +108,12 @@ "symfony/polyfill-php80": "*" }, "scripts": { + "php-cs-fixer": "php-cs-fixer fix", + "lint": [ + "@php-cs-fixer", + "phpstan analyse", + "rector process" + ], "auto-scripts": { "cache:clear": "symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd" diff --git a/composer.lock b/composer.lock index b9cd5dfe..5865dfda 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": "0f3cec54af7f6ee98cba0e5519899665", + "content-hash": "829b8cda2b12061cd75c91df232230f0", "packages": [ { "name": "bacon/bacon-qr-code", @@ -281,16 +281,16 @@ }, { "name": "doctrine/collections", - "version": "2.2.0", + "version": "2.2.2", "source": { "type": "git", "url": "https://github.com/doctrine/collections.git", - "reference": "07e16cd7b80a2cffed99e36b541876af172f0257" + "reference": "d8af7f248c74f195f7347424600fd9e17b57af59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/07e16cd7b80a2cffed99e36b541876af172f0257", - "reference": "07e16cd7b80a2cffed99e36b541876af172f0257", + "url": "https://api.github.com/repos/doctrine/collections/zipball/d8af7f248c74f195f7347424600fd9e17b57af59", + "reference": "d8af7f248c74f195f7347424600fd9e17b57af59", "shasum": "" }, "require": { @@ -347,7 +347,7 @@ ], "support": { "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/2.2.0" + "source": "https://github.com/doctrine/collections/tree/2.2.2" }, "funding": [ { @@ -363,7 +363,7 @@ "type": "tidelift" } ], - "time": "2024-02-25T22:55:36+00:00" + "time": "2024-04-18T06:56:21+00:00" }, { "name": "doctrine/common", @@ -458,16 +458,16 @@ }, { "name": "doctrine/dbal", - "version": "3.8.2", + "version": "3.8.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "a19a1d05ca211f41089dffcc387733a6875196cb" + "reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/a19a1d05ca211f41089dffcc387733a6875196cb", - "reference": "a19a1d05ca211f41089dffcc387733a6875196cb", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/db922ba9436b7b18a23d1653a0b41ff2369ca41c", + "reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c", "shasum": "" }, "require": { @@ -483,12 +483,12 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.10.57", + "phpstan/phpstan": "1.10.58", "phpstan/phpstan-strict-rules": "^1.5", "phpunit/phpunit": "9.6.16", "psalm/plugin-phpunit": "0.18.4", "slevomat/coding-standard": "8.13.1", - "squizlabs/php_codesniffer": "3.8.1", + "squizlabs/php_codesniffer": "3.9.0", "symfony/cache": "^5.4|^6.0|^7.0", "symfony/console": "^4.4|^5.4|^6.0|^7.0", "vimeo/psalm": "4.30.0" @@ -551,7 +551,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.8.2" + "source": "https://github.com/doctrine/dbal/tree/3.8.3" }, "funding": [ { @@ -567,7 +567,7 @@ "type": "tidelift" } ], - "time": "2024-02-12T18:36:36+00:00" + "time": "2024-03-03T15:55:06+00:00" }, { "name": "doctrine/deprecations", @@ -618,16 +618,16 @@ }, { "name": "doctrine/doctrine-bundle", - "version": "2.11.3", + "version": "2.12.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineBundle.git", - "reference": "492725310ae9a1b5b20d6ae09fb5ae6404616e68" + "reference": "5418e811a14724068e95e0ba43353b903ada530f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/492725310ae9a1b5b20d6ae09fb5ae6404616e68", - "reference": "492725310ae9a1b5b20d6ae09fb5ae6404616e68", + "url": "https://api.github.com/repos/doctrine/DoctrineBundle/zipball/5418e811a14724068e95e0ba43353b903ada530f", + "reference": "5418e811a14724068e95e0ba43353b903ada530f", "shasum": "" }, "require": { @@ -665,6 +665,7 @@ "symfony/property-info": "^5.4 || ^6.0 || ^7.0", "symfony/proxy-manager-bridge": "^5.4 || ^6.0 || ^7.0", "symfony/security-bundle": "^5.4 || ^6.0 || ^7.0", + "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0", "symfony/string": "^5.4 || ^6.0 || ^7.0", "symfony/twig-bridge": "^5.4 || ^6.0 || ^7.0", "symfony/validator": "^5.4 || ^6.0 || ^7.0", @@ -682,7 +683,7 @@ "type": "symfony-bundle", "autoload": { "psr-4": { - "Doctrine\\Bundle\\DoctrineBundle\\": "" + "Doctrine\\Bundle\\DoctrineBundle\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -717,7 +718,7 @@ ], "support": { "issues": "https://github.com/doctrine/DoctrineBundle/issues", - "source": "https://github.com/doctrine/DoctrineBundle/tree/2.11.3" + "source": "https://github.com/doctrine/DoctrineBundle/tree/2.12.0" }, "funding": [ { @@ -733,7 +734,7 @@ "type": "tidelift" } ], - "time": "2024-02-10T20:56:20+00:00" + "time": "2024-03-19T07:20:37+00:00" }, { "name": "doctrine/doctrine-migrations-bundle", @@ -1157,16 +1158,16 @@ }, { "name": "doctrine/migrations", - "version": "3.7.2", + "version": "3.7.4", "source": { "type": "git", "url": "https://github.com/doctrine/migrations.git", - "reference": "47af29eef49f29ebee545947e8b2a4b3be318c8a" + "reference": "954e0a314c2f0eb9fb418210445111747de254a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/migrations/zipball/47af29eef49f29ebee545947e8b2a4b3be318c8a", - "reference": "47af29eef49f29ebee545947e8b2a4b3be318c8a", + "url": "https://api.github.com/repos/doctrine/migrations/zipball/954e0a314c2f0eb9fb418210445111747de254a6", + "reference": "954e0a314c2f0eb9fb418210445111747de254a6", "shasum": "" }, "require": { @@ -1239,7 +1240,7 @@ ], "support": { "issues": "https://github.com/doctrine/migrations/issues", - "source": "https://github.com/doctrine/migrations/tree/3.7.2" + "source": "https://github.com/doctrine/migrations/tree/3.7.4" }, "funding": [ { @@ -1255,20 +1256,20 @@ "type": "tidelift" } ], - "time": "2023-12-05T11:35:05+00:00" + "time": "2024-03-06T13:41:11+00:00" }, { "name": "doctrine/orm", - "version": "2.18.1", + "version": "2.19.2", "source": { "type": "git", "url": "https://github.com/doctrine/orm.git", - "reference": "e6eef1a97d41f1ee244b6e69d7359d00cb3e4c4a" + "reference": "40a0964f06e142e173b783c45688e5f5efaed6aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/orm/zipball/e6eef1a97d41f1ee244b6e69d7359d00cb3e4c4a", - "reference": "e6eef1a97d41f1ee244b6e69d7359d00cb3e4c4a", + "url": "https://api.github.com/repos/doctrine/orm/zipball/40a0964f06e142e173b783c45688e5f5efaed6aa", + "reference": "40a0964f06e142e173b783c45688e5f5efaed6aa", "shasum": "" }, "require": { @@ -1297,14 +1298,14 @@ "doctrine/annotations": "^1.13 || ^2", "doctrine/coding-standard": "^9.0.2 || ^12.0", "phpbench/phpbench": "^0.16.10 || ^1.0", - "phpstan/phpstan": "~1.4.10 || 1.10.35", + "phpstan/phpstan": "~1.4.10 || 1.10.59", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.6", "psr/log": "^1 || ^2 || ^3", "squizlabs/php_codesniffer": "3.7.2", "symfony/cache": "^4.4 || ^5.4 || ^6.4 || ^7.0", "symfony/var-exporter": "^4.4 || ^5.4 || ^6.2 || ^7.0", "symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0", - "vimeo/psalm": "4.30.0 || 5.16.0" + "vimeo/psalm": "4.30.0 || 5.22.2" }, "suggest": { "ext-dom": "Provides support for XSD validation for XML mapping files", @@ -1354,22 +1355,22 @@ ], "support": { "issues": "https://github.com/doctrine/orm/issues", - "source": "https://github.com/doctrine/orm/tree/2.18.1" + "source": "https://github.com/doctrine/orm/tree/2.19.2" }, - "time": "2024-02-22T12:22:44+00:00" + "time": "2024-03-18T19:12:56+00:00" }, { "name": "doctrine/persistence", - "version": "3.2.0", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/doctrine/persistence.git", - "reference": "63fee8c33bef740db6730eb2a750cd3da6495603" + "reference": "477da35bd0255e032826f440b94b3e37f2d56f42" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/persistence/zipball/63fee8c33bef740db6730eb2a750cd3da6495603", - "reference": "63fee8c33bef740db6730eb2a750cd3da6495603", + "url": "https://api.github.com/repos/doctrine/persistence/zipball/477da35bd0255e032826f440b94b3e37f2d56f42", + "reference": "477da35bd0255e032826f440b94b3e37f2d56f42", "shasum": "" }, "require": { @@ -1438,7 +1439,7 @@ ], "support": { "issues": "https://github.com/doctrine/persistence/issues", - "source": "https://github.com/doctrine/persistence/tree/3.2.0" + "source": "https://github.com/doctrine/persistence/tree/3.3.2" }, "funding": [ { @@ -1454,7 +1455,7 @@ "type": "tidelift" } ], - "time": "2023-05-17T18:32:04+00:00" + "time": "2024-03-12T14:54:36+00:00" }, { "name": "doctrine/sql-formatter", @@ -1652,16 +1653,16 @@ }, { "name": "friendsofphp/proxy-manager-lts", - "version": "v1.0.16", + "version": "v1.0.18", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/proxy-manager-lts.git", - "reference": "ecadbdc9052e4ad08c60c8a02268712e50427f7c" + "reference": "2c8a6cffc3220e99352ad958fe7cf06bf6f7690f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/proxy-manager-lts/zipball/ecadbdc9052e4ad08c60c8a02268712e50427f7c", - "reference": "ecadbdc9052e4ad08c60c8a02268712e50427f7c", + "url": "https://api.github.com/repos/FriendsOfPHP/proxy-manager-lts/zipball/2c8a6cffc3220e99352ad958fe7cf06bf6f7690f", + "reference": "2c8a6cffc3220e99352ad958fe7cf06bf6f7690f", "shasum": "" }, "require": { @@ -1718,7 +1719,7 @@ ], "support": { "issues": "https://github.com/FriendsOfPHP/proxy-manager-lts/issues", - "source": "https://github.com/FriendsOfPHP/proxy-manager-lts/tree/v1.0.16" + "source": "https://github.com/FriendsOfPHP/proxy-manager-lts/tree/v1.0.18" }, "funding": [ { @@ -1730,7 +1731,7 @@ "type": "tidelift" } ], - "time": "2023-05-24T07:17:17+00:00" + "time": "2024-03-20T12:50:41+00:00" }, { "name": "gregwar/cache", @@ -1838,16 +1839,16 @@ }, { "name": "knplabs/knp-components", - "version": "v4.3.0", + "version": "v4.3.1", "source": { "type": "git", "url": "https://github.com/KnpLabs/knp-components.git", - "reference": "ac704489426b090ea0e7ff4d1dd06e26baa49ee7" + "reference": "51f7053101ceb9c62af42ec08e6cfdee5fd64502" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/KnpLabs/knp-components/zipball/ac704489426b090ea0e7ff4d1dd06e26baa49ee7", - "reference": "ac704489426b090ea0e7ff4d1dd06e26baa49ee7", + "url": "https://api.github.com/repos/KnpLabs/knp-components/zipball/51f7053101ceb9c62af42ec08e6cfdee5fd64502", + "reference": "51f7053101ceb9c62af42ec08e6cfdee5fd64502", "shasum": "" }, "require": { @@ -1918,9 +1919,9 @@ ], "support": { "issues": "https://github.com/KnpLabs/knp-components/issues", - "source": "https://github.com/KnpLabs/knp-components/tree/v4.3.0" + "source": "https://github.com/KnpLabs/knp-components/tree/v4.3.1" }, - "time": "2023-10-16T09:30:16+00:00" + "time": "2024-03-09T08:43:32+00:00" }, { "name": "knplabs/knp-paginator-bundle", @@ -2061,16 +2062,16 @@ }, { "name": "monolog/monolog", - "version": "3.5.0", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448" + "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448", - "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", + "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", "shasum": "" }, "require": { @@ -2093,7 +2094,7 @@ "phpstan/phpstan": "^1.9", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-strict-rules": "^1.4", - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5.17", "predis/predis": "^1.1 || ^2", "ruflin/elastica": "^7", "symfony/mailer": "^5.4 || ^6", @@ -2146,7 +2147,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.5.0" + "source": "https://github.com/Seldaek/monolog/tree/3.6.0" }, "funding": [ { @@ -2158,7 +2159,7 @@ "type": "tidelift" } ], - "time": "2023-10-27T15:32:31+00:00" + "time": "2024-04-12T21:02:21+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -3016,16 +3017,16 @@ }, { "name": "symfony/cache", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/cache.git", - "reference": "fc822951dd360a593224bb2cef90a087d0dff60f" + "reference": "2d0d3f92c74c445410d05374908b03e0a1131e2b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache/zipball/fc822951dd360a593224bb2cef90a087d0dff60f", - "reference": "fc822951dd360a593224bb2cef90a087d0dff60f", + "url": "https://api.github.com/repos/symfony/cache/zipball/2d0d3f92c74c445410d05374908b03e0a1131e2b", + "reference": "2d0d3f92c74c445410d05374908b03e0a1131e2b", "shasum": "" }, "require": { @@ -3092,7 +3093,7 @@ "psr6" ], "support": { - "source": "https://github.com/symfony/cache/tree/v7.0.4" + "source": "https://github.com/symfony/cache/tree/v7.0.6" }, "funding": [ { @@ -3108,20 +3109,20 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-03-27T19:55:25+00:00" }, { "name": "symfony/cache-contracts", - "version": "v3.4.0", + "version": "v3.4.2", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "1d74b127da04ffa87aa940abe15446fa89653778" + "reference": "2c9db6509a1b21dad229606897639d3284f54b2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1d74b127da04ffa87aa940abe15446fa89653778", - "reference": "1d74b127da04ffa87aa940abe15446fa89653778", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/2c9db6509a1b21dad229606897639d3284f54b2a", + "reference": "2c9db6509a1b21dad229606897639d3284f54b2a", "shasum": "" }, "require": { @@ -3168,7 +3169,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/cache-contracts/tree/v3.4.2" }, "funding": [ { @@ -3184,20 +3185,20 @@ "type": "tidelift" } ], - "time": "2023-09-25T12:52:38+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/clock", - "version": "v7.0.3", + "version": "v7.0.5", "source": { "type": "git", "url": "https://github.com/symfony/clock.git", - "reference": "1c680e565dc0044d8ed3baeb57835fcacd9c6aed" + "reference": "8b9d08887353d627d5f6c3bf3373b398b49051c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/clock/zipball/1c680e565dc0044d8ed3baeb57835fcacd9c6aed", - "reference": "1c680e565dc0044d8ed3baeb57835fcacd9c6aed", + "url": "https://api.github.com/repos/symfony/clock/zipball/8b9d08887353d627d5f6c3bf3373b398b49051c2", + "reference": "8b9d08887353d627d5f6c3bf3373b398b49051c2", "shasum": "" }, "require": { @@ -3242,7 +3243,7 @@ "time" ], "support": { - "source": "https://github.com/symfony/clock/tree/v7.0.3" + "source": "https://github.com/symfony/clock/tree/v7.0.5" }, "funding": [ { @@ -3258,20 +3259,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-03-02T12:46:12+00:00" }, { "name": "symfony/config", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "44deeba7233f08f383185ffa37dace3b3bc87364" + "reference": "7fc7e18a73ec8125fd95928c0340470d64760deb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/44deeba7233f08f383185ffa37dace3b3bc87364", - "reference": "44deeba7233f08f383185ffa37dace3b3bc87364", + "url": "https://api.github.com/repos/symfony/config/zipball/7fc7e18a73ec8125fd95928c0340470d64760deb", + "reference": "7fc7e18a73ec8125fd95928c0340470d64760deb", "shasum": "" }, "require": { @@ -3317,7 +3318,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v7.0.4" + "source": "https://github.com/symfony/config/tree/v7.0.6" }, "funding": [ { @@ -3333,20 +3334,20 @@ "type": "tidelift" } ], - "time": "2024-02-26T07:52:39+00:00" + "time": "2024-03-27T19:55:25+00:00" }, { "name": "symfony/console", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "6b099f3306f7c9c2d2786ed736d0026b2903205f" + "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/6b099f3306f7c9c2d2786ed736d0026b2903205f", - "reference": "6b099f3306f7c9c2d2786ed736d0026b2903205f", + "url": "https://api.github.com/repos/symfony/console/zipball/fde915cd8e7eb99b3d531d3d5c09531429c3f9e5", + "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5", "shasum": "" }, "require": { @@ -3410,7 +3411,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.0.4" + "source": "https://github.com/symfony/console/tree/v7.0.6" }, "funding": [ { @@ -3426,20 +3427,20 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-04-01T11:04:53+00:00" }, { "name": "symfony/dependency-injection", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "47f37af245df8457ea63409fc242b3cc825ce5eb" + "reference": "ff57b5c7d518c39eeb4e69dc0d1ec70723a117b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/47f37af245df8457ea63409fc242b3cc825ce5eb", - "reference": "47f37af245df8457ea63409fc242b3cc825ce5eb", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/ff57b5c7d518c39eeb4e69dc0d1ec70723a117b9", + "reference": "ff57b5c7d518c39eeb4e69dc0d1ec70723a117b9", "shasum": "" }, "require": { @@ -3490,7 +3491,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v7.0.4" + "source": "https://github.com/symfony/dependency-injection/tree/v7.0.6" }, "funding": [ { @@ -3506,7 +3507,7 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-03-28T09:20:36+00:00" }, { "name": "symfony/deprecation-contracts", @@ -3577,16 +3578,16 @@ }, { "name": "symfony/doctrine-bridge", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/doctrine-bridge.git", - "reference": "aded7ef586f9c75a04627326a5748f29ceba3506" + "reference": "929527febf8e134eaba620de1f9396da1db0df85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/aded7ef586f9c75a04627326a5748f29ceba3506", - "reference": "aded7ef586f9c75a04627326a5748f29ceba3506", + "url": "https://api.github.com/repos/symfony/doctrine-bridge/zipball/929527febf8e134eaba620de1f9396da1db0df85", + "reference": "929527febf8e134eaba620de1f9396da1db0df85", "shasum": "" }, "require": { @@ -3603,7 +3604,7 @@ "doctrine/orm": "<2.15", "symfony/cache": "<6.4", "symfony/dependency-injection": "<6.4", - "symfony/form": "<6.4", + "symfony/form": "<6.4.6|>=7,<7.0.6", "symfony/http-foundation": "<6.4", "symfony/http-kernel": "<6.4", "symfony/lock": "<6.4", @@ -3624,7 +3625,7 @@ "symfony/dependency-injection": "^6.4|^7.0", "symfony/doctrine-messenger": "^6.4|^7.0", "symfony/expression-language": "^6.4|^7.0", - "symfony/form": "^6.4|^7.0", + "symfony/form": "^6.4.6|^7.0.6", "symfony/http-kernel": "^6.4|^7.0", "symfony/lock": "^6.4|^7.0", "symfony/messenger": "^6.4|^7.0", @@ -3663,7 +3664,7 @@ "description": "Provides integration for Doctrine with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/doctrine-bridge/tree/v7.0.4" + "source": "https://github.com/symfony/doctrine-bridge/tree/v7.0.6" }, "funding": [ { @@ -3679,7 +3680,7 @@ "type": "tidelift" } ], - "time": "2024-02-04T16:21:40+00:00" + "time": "2024-03-19T09:29:21+00:00" }, { "name": "symfony/dotenv", @@ -3757,16 +3758,16 @@ }, { "name": "symfony/error-handler", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "677b24759decff69e65b1e9d1471d90f95ced880" + "reference": "46a4cc138f799886d4bd70477c55c699d3e9dfc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/677b24759decff69e65b1e9d1471d90f95ced880", - "reference": "677b24759decff69e65b1e9d1471d90f95ced880", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/46a4cc138f799886d4bd70477c55c699d3e9dfc8", + "reference": "46a4cc138f799886d4bd70477c55c699d3e9dfc8", "shasum": "" }, "require": { @@ -3812,7 +3813,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/v7.0.4" + "source": "https://github.com/symfony/error-handler/tree/v7.0.6" }, "funding": [ { @@ -3828,7 +3829,7 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-03-19T11:57:22+00:00" }, { "name": "symfony/event-dispatcher", @@ -3912,16 +3913,16 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.4.2", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "4e64b49bf370ade88e567de29465762e316e4224" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/4e64b49bf370ade88e567de29465762e316e4224", + "reference": "4e64b49bf370ade88e567de29465762e316e4224", "shasum": "" }, "require": { @@ -3968,7 +3969,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.2" }, "funding": [ { @@ -3984,7 +3985,7 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/expression-language", @@ -4051,16 +4052,16 @@ }, { "name": "symfony/filesystem", - "version": "v7.0.3", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "2890e3a825bc0c0558526c04499c13f83e1b6b12" + "reference": "408105dff4c104454100730bdfd1a9cdd993f04d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/2890e3a825bc0c0558526c04499c13f83e1b6b12", - "reference": "2890e3a825bc0c0558526c04499c13f83e1b6b12", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/408105dff4c104454100730bdfd1a9cdd993f04d", + "reference": "408105dff4c104454100730bdfd1a9cdd993f04d", "shasum": "" }, "require": { @@ -4094,7 +4095,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.0.3" + "source": "https://github.com/symfony/filesystem/tree/v7.0.6" }, "funding": [ { @@ -4110,7 +4111,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-03-21T19:37:36+00:00" }, { "name": "symfony/finder", @@ -4178,16 +4179,16 @@ }, { "name": "symfony/flex", - "version": "v2.4.4", + "version": "v2.4.5", "source": { "type": "git", "url": "https://github.com/symfony/flex.git", - "reference": "bec213c39511eda66663baa2ee7440c65f89c695" + "reference": "b0a405f40614c9f584b489d54f91091817b0e26e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/flex/zipball/bec213c39511eda66663baa2ee7440c65f89c695", - "reference": "bec213c39511eda66663baa2ee7440c65f89c695", + "url": "https://api.github.com/repos/symfony/flex/zipball/b0a405f40614c9f584b489d54f91091817b0e26e", + "reference": "b0a405f40614c9f584b489d54f91091817b0e26e", "shasum": "" }, "require": { @@ -4223,7 +4224,7 @@ "description": "Composer plugin for Symfony", "support": { "issues": "https://github.com/symfony/flex/issues", - "source": "https://github.com/symfony/flex/tree/v2.4.4" + "source": "https://github.com/symfony/flex/tree/v2.4.5" }, "funding": [ { @@ -4239,20 +4240,20 @@ "type": "tidelift" } ], - "time": "2024-02-05T18:04:53+00:00" + "time": "2024-03-02T08:16:47+00:00" }, { "name": "symfony/form", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/form.git", - "reference": "5cfe85c74caf924c7cec2134e169320b464ede84" + "reference": "d5db6599775a563792391d0045decc240e7ebd1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/form/zipball/5cfe85c74caf924c7cec2134e169320b464ede84", - "reference": "5cfe85c74caf924c7cec2134e169320b464ede84", + "url": "https://api.github.com/repos/symfony/form/zipball/d5db6599775a563792391d0045decc240e7ebd1e", + "reference": "d5db6599775a563792391d0045decc240e7ebd1e", "shasum": "" }, "require": { @@ -4319,7 +4320,7 @@ "description": "Allows to easily create, process and reuse HTML forms", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/form/tree/v7.0.4" + "source": "https://github.com/symfony/form/tree/v7.0.6" }, "funding": [ { @@ -4335,20 +4336,20 @@ "type": "tidelift" } ], - "time": "2024-02-12T11:15:03+00:00" + "time": "2024-03-28T09:20:36+00:00" }, { "name": "symfony/framework-bundle", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/framework-bundle.git", - "reference": "b58bcb2f9c32405b8fbaa24a1e38c8a10bad7b21" + "reference": "5ebf6771f92d135c2bdbda7133998feb74713658" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/b58bcb2f9c32405b8fbaa24a1e38c8a10bad7b21", - "reference": "b58bcb2f9c32405b8fbaa24a1e38c8a10bad7b21", + "url": "https://api.github.com/repos/symfony/framework-bundle/zipball/5ebf6771f92d135c2bdbda7133998feb74713658", + "reference": "5ebf6771f92d135c2bdbda7133998feb74713658", "shasum": "" }, "require": { @@ -4465,7 +4466,7 @@ "description": "Provides a tight integration between Symfony components and the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/framework-bundle/tree/v7.0.4" + "source": "https://github.com/symfony/framework-bundle/tree/v7.0.6" }, "funding": [ { @@ -4481,7 +4482,7 @@ "type": "tidelift" } ], - "time": "2024-02-26T07:52:39+00:00" + "time": "2024-03-27T19:55:25+00:00" }, { "name": "symfony/google-mailer", @@ -4550,22 +4551,22 @@ }, { "name": "symfony/http-client", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "8384876f49a2316a63f88a9cd12436de6936bee6" + "reference": "6e70473909f46fe5dd3b994a0f1b20ecb6b2f858" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/8384876f49a2316a63f88a9cd12436de6936bee6", - "reference": "8384876f49a2316a63f88a9cd12436de6936bee6", + "url": "https://api.github.com/repos/symfony/http-client/zipball/6e70473909f46fe5dd3b994a0f1b20ecb6b2f858", + "reference": "6e70473909f46fe5dd3b994a0f1b20ecb6b2f858", "shasum": "" }, "require": { "php": ">=8.2", "psr/log": "^1|^2|^3", - "symfony/http-client-contracts": "^3", + "symfony/http-client-contracts": "^3.4.1", "symfony/service-contracts": "^2.5|^3" }, "conflict": { @@ -4583,7 +4584,7 @@ "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", @@ -4622,7 +4623,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.0.4" + "source": "https://github.com/symfony/http-client/tree/v7.0.6" }, "funding": [ { @@ -4638,20 +4639,20 @@ "type": "tidelift" } ], - "time": "2024-02-15T11:33:06+00:00" + "time": "2024-04-01T20:49:44+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.4.0", + "version": "v3.4.2", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "1ee70e699b41909c209a0c930f11034b93578654" + "reference": "b6b5c876b3a4ed74460e2c5ac53bbce2f12e2a7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/1ee70e699b41909c209a0c930f11034b93578654", - "reference": "1ee70e699b41909c209a0c930f11034b93578654", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/b6b5c876b3a4ed74460e2c5ac53bbce2f12e2a7e", + "reference": "b6b5c876b3a4ed74460e2c5ac53bbce2f12e2a7e", "shasum": "" }, "require": { @@ -4700,7 +4701,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.4.2" }, "funding": [ { @@ -4716,20 +4717,20 @@ "type": "tidelift" } ], - "time": "2023-07-30T20:28:31+00:00" + "time": "2024-04-01T18:51:09+00:00" }, { "name": "symfony/http-foundation", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "439fdfdd344943254b1ef6278613e79040548045" + "reference": "8789625dcf36e5fbf753014678a1e090f1bc759c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/439fdfdd344943254b1ef6278613e79040548045", - "reference": "439fdfdd344943254b1ef6278613e79040548045", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8789625dcf36e5fbf753014678a1e090f1bc759c", + "reference": "8789625dcf36e5fbf753014678a1e090f1bc759c", "shasum": "" }, "require": { @@ -4777,7 +4778,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.0.4" + "source": "https://github.com/symfony/http-foundation/tree/v7.0.6" }, "funding": [ { @@ -4793,20 +4794,20 @@ "type": "tidelift" } ], - "time": "2024-02-08T19:22:56+00:00" + "time": "2024-03-19T11:46:48+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "065e2234d907c0fc4fc942bf223f7cfc016d0ac7" + "reference": "34c872391046d59af804af62d4573b829cfe4824" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/065e2234d907c0fc4fc942bf223f7cfc016d0ac7", - "reference": "065e2234d907c0fc4fc942bf223f7cfc016d0ac7", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/34c872391046d59af804af62d4573b829cfe4824", + "reference": "34c872391046d59af804af62d4573b829cfe4824", "shasum": "" }, "require": { @@ -4889,7 +4890,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.0.4" + "source": "https://github.com/symfony/http-kernel/tree/v7.0.6" }, "funding": [ { @@ -4905,7 +4906,7 @@ "type": "tidelift" } ], - "time": "2024-02-27T06:35:35+00:00" + "time": "2024-04-03T06:12:25+00:00" }, { "name": "symfony/intl", @@ -4991,16 +4992,16 @@ }, { "name": "symfony/lock", - "version": "v7.0.3", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/lock.git", - "reference": "e184c65699afecda7d53d990c6d35e5d39d0e18a" + "reference": "c1fc92e5ba2a4d397751ac0df06689a187059402" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/e184c65699afecda7d53d990c6d35e5d39d0e18a", - "reference": "e184c65699afecda7d53d990c6d35e5d39d0e18a", + "url": "https://api.github.com/repos/symfony/lock/zipball/c1fc92e5ba2a4d397751ac0df06689a187059402", + "reference": "c1fc92e5ba2a4d397751ac0df06689a187059402", "shasum": "" }, "require": { @@ -5049,7 +5050,7 @@ "semaphore" ], "support": { - "source": "https://github.com/symfony/lock/tree/v7.0.3" + "source": "https://github.com/symfony/lock/tree/v7.0.6" }, "funding": [ { @@ -5065,20 +5066,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-03-19T09:26:35+00:00" }, { "name": "symfony/mailer", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "72e16d87bf50a3ce195b9470c06bb9d7b816ea85" + "reference": "eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/72e16d87bf50a3ce195b9470c06bb9d7b816ea85", - "reference": "72e16d87bf50a3ce195b9470c06bb9d7b816ea85", + "url": "https://api.github.com/repos/symfony/mailer/zipball/eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0", + "reference": "eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0", "shasum": "" }, "require": { @@ -5129,7 +5130,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v7.0.4" + "source": "https://github.com/symfony/mailer/tree/v7.0.6" }, "funding": [ { @@ -5145,20 +5146,20 @@ "type": "tidelift" } ], - "time": "2024-02-03T21:34:19+00:00" + "time": "2024-03-28T09:20:36+00:00" }, { "name": "symfony/messenger", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/messenger.git", - "reference": "804a8997f93313a8f7ed19e8cca3b44fdd18bdec" + "reference": "4e281ef8bf5397be36fe14d64eb665fa12a945ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/messenger/zipball/804a8997f93313a8f7ed19e8cca3b44fdd18bdec", - "reference": "804a8997f93313a8f7ed19e8cca3b44fdd18bdec", + "url": "https://api.github.com/repos/symfony/messenger/zipball/4e281ef8bf5397be36fe14d64eb665fa12a945ad", + "reference": "4e281ef8bf5397be36fe14d64eb665fa12a945ad", "shasum": "" }, "require": { @@ -5215,7 +5216,7 @@ "description": "Helps applications send and receive messages to/from other applications or via message queues", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/messenger/tree/v7.0.4" + "source": "https://github.com/symfony/messenger/tree/v7.0.6" }, "funding": [ { @@ -5231,20 +5232,20 @@ "type": "tidelift" } ], - "time": "2024-02-26T07:52:39+00:00" + "time": "2024-03-19T11:57:22+00:00" }, { "name": "symfony/mime", - "version": "v7.0.3", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "c1ffe24ba6fdc3e3f0f3fcb93519103b326a3716" + "reference": "99362408c9abdf8c7cadcf0529b6fc8b16f5ace2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/c1ffe24ba6fdc3e3f0f3fcb93519103b326a3716", - "reference": "c1ffe24ba6fdc3e3f0f3fcb93519103b326a3716", + "url": "https://api.github.com/repos/symfony/mime/zipball/99362408c9abdf8c7cadcf0529b6fc8b16f5ace2", + "reference": "99362408c9abdf8c7cadcf0529b6fc8b16f5ace2", "shasum": "" }, "require": { @@ -5264,6 +5265,7 @@ "league/html-to-markdown": "^5.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.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|^7.0" @@ -5298,7 +5300,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.0.3" + "source": "https://github.com/symfony/mime/tree/v7.0.6" }, "funding": [ { @@ -5314,7 +5316,7 @@ "type": "tidelift" } ], - "time": "2024-01-30T08:34:29+00:00" + "time": "2024-03-21T19:37:36+00:00" }, { "name": "symfony/monolog-bridge", @@ -6239,16 +6241,16 @@ }, { "name": "symfony/property-access", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/property-access.git", - "reference": "44e3746d4de8d0961a44ee332c74dd0918266127" + "reference": "1c268ba954ccc5e78cf035b391abb67759e24423" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-access/zipball/44e3746d4de8d0961a44ee332c74dd0918266127", - "reference": "44e3746d4de8d0961a44ee332c74dd0918266127", + "url": "https://api.github.com/repos/symfony/property-access/zipball/1c268ba954ccc5e78cf035b391abb67759e24423", + "reference": "1c268ba954ccc5e78cf035b391abb67759e24423", "shasum": "" }, "require": { @@ -6295,7 +6297,7 @@ "reflection" ], "support": { - "source": "https://github.com/symfony/property-access/tree/v7.0.4" + "source": "https://github.com/symfony/property-access/tree/v7.0.6" }, "funding": [ { @@ -6311,20 +6313,20 @@ "type": "tidelift" } ], - "time": "2024-02-16T13:44:10+00:00" + "time": "2024-03-19T11:57:22+00:00" }, { "name": "symfony/property-info", - "version": "v7.0.3", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/property-info.git", - "reference": "e160f92ea827243abf2dbf36b8460b1377194406" + "reference": "b8844ddce7d53f78b57ec9be59da80fceddf3167" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/property-info/zipball/e160f92ea827243abf2dbf36b8460b1377194406", - "reference": "e160f92ea827243abf2dbf36b8460b1377194406", + "url": "https://api.github.com/repos/symfony/property-info/zipball/b8844ddce7d53f78b57ec9be59da80fceddf3167", + "reference": "b8844ddce7d53f78b57ec9be59da80fceddf3167", "shasum": "" }, "require": { @@ -6378,7 +6380,7 @@ "validator" ], "support": { - "source": "https://github.com/symfony/property-info/tree/v7.0.3" + "source": "https://github.com/symfony/property-info/tree/v7.0.6" }, "funding": [ { @@ -6394,20 +6396,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-03-28T09:20:36+00:00" }, { "name": "symfony/proxy-manager-bridge", - "version": "v6.4.3", + "version": "v6.4.6", "source": { "type": "git", "url": "https://github.com/symfony/proxy-manager-bridge.git", - "reference": "c3f1b7d8f0b567eb960c540567f24219cb759e0a" + "reference": "1d67cac97e3a4987ffadec3faf9e6b8c00cf12cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/proxy-manager-bridge/zipball/c3f1b7d8f0b567eb960c540567f24219cb759e0a", - "reference": "c3f1b7d8f0b567eb960c540567f24219cb759e0a", + "url": "https://api.github.com/repos/symfony/proxy-manager-bridge/zipball/1d67cac97e3a4987ffadec3faf9e6b8c00cf12cc", + "reference": "1d67cac97e3a4987ffadec3faf9e6b8c00cf12cc", "shasum": "" }, "require": { @@ -6445,7 +6447,7 @@ "description": "Provides integration for ProxyManager with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/proxy-manager-bridge/tree/v6.4.3" + "source": "https://github.com/symfony/proxy-manager-bridge/tree/v6.4.6" }, "funding": [ { @@ -6461,7 +6463,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-03-19T11:56:30+00:00" }, { "name": "symfony/rate-limiter", @@ -6535,16 +6537,16 @@ }, { "name": "symfony/routing", - "version": "v7.0.3", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "858b26756ffc35a11238b269b484ee3a393a74d3" + "reference": "cded64e5bbf9f31786f1055fcc76718fdd77519c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/858b26756ffc35a11238b269b484ee3a393a74d3", - "reference": "858b26756ffc35a11238b269b484ee3a393a74d3", + "url": "https://api.github.com/repos/symfony/routing/zipball/cded64e5bbf9f31786f1055fcc76718fdd77519c", + "reference": "cded64e5bbf9f31786f1055fcc76718fdd77519c", "shasum": "" }, "require": { @@ -6596,7 +6598,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v7.0.3" + "source": "https://github.com/symfony/routing/tree/v7.0.6" }, "funding": [ { @@ -6612,7 +6614,7 @@ "type": "tidelift" } ], - "time": "2024-01-30T13:55:15+00:00" + "time": "2024-03-28T21:02:11+00:00" }, { "name": "symfony/runtime", @@ -6695,16 +6697,16 @@ }, { "name": "symfony/security-bundle", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/security-bundle.git", - "reference": "1755fb50e4da0a0013569752be763d208d690bcd" + "reference": "96a9e4eaf76514674d8ffd6127d8ec1204b72e7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-bundle/zipball/1755fb50e4da0a0013569752be763d208d690bcd", - "reference": "1755fb50e4da0a0013569752be763d208d690bcd", + "url": "https://api.github.com/repos/symfony/security-bundle/zipball/96a9e4eaf76514674d8ffd6127d8ec1204b72e7f", + "reference": "96a9e4eaf76514674d8ffd6127d8ec1204b72e7f", "shasum": "" }, "require": { @@ -6786,7 +6788,7 @@ "description": "Provides a tight integration of the Security component into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-bundle/tree/v7.0.4" + "source": "https://github.com/symfony/security-bundle/tree/v7.0.6" }, "funding": [ { @@ -6802,7 +6804,7 @@ "type": "tidelift" } ], - "time": "2024-02-15T11:33:06+00:00" + "time": "2024-03-15T12:53:12+00:00" }, { "name": "symfony/security-core", @@ -7045,16 +7047,16 @@ }, { "name": "symfony/serializer", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "c71d61c6c37804e10981960e5f5ebc2c8f0a4fbb" + "reference": "dbdc0c04c28ac53de1fa35f92fca26e9b1345d98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/c71d61c6c37804e10981960e5f5ebc2c8f0a4fbb", - "reference": "c71d61c6c37804e10981960e5f5ebc2c8f0a4fbb", + "url": "https://api.github.com/repos/symfony/serializer/zipball/dbdc0c04c28ac53de1fa35f92fca26e9b1345d98", + "reference": "dbdc0c04c28ac53de1fa35f92fca26e9b1345d98", "shasum": "" }, "require": { @@ -7120,7 +7122,7 @@ "description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/serializer/tree/v7.0.4" + "source": "https://github.com/symfony/serializer/tree/v7.0.6" }, "funding": [ { @@ -7136,20 +7138,20 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-03-28T09:20:36+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.1", + "version": "v3.4.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" + "reference": "11bbf19a0fb7b36345861e85c5768844c552906e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/11bbf19a0fb7b36345861e85c5768844c552906e", + "reference": "11bbf19a0fb7b36345861e85c5768844c552906e", "shasum": "" }, "require": { @@ -7202,7 +7204,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.2" }, "funding": [ { @@ -7218,7 +7220,7 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2023-12-19T21:51:00+00:00" }, { "name": "symfony/stopwatch", @@ -7464,16 +7466,16 @@ }, { "name": "symfony/translation-contracts", - "version": "v3.4.1", + "version": "v3.4.2", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "06450585bf65e978026bda220cdebca3f867fde7" + "reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/06450585bf65e978026bda220cdebca3f867fde7", - "reference": "06450585bf65e978026bda220cdebca3f867fde7", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/43810bdb2ddb5400e5c5e778e27b210a0ca83b6b", + "reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b", "shasum": "" }, "require": { @@ -7522,7 +7524,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.4.2" }, "funding": [ { @@ -7538,20 +7540,20 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/twig-bridge", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "d16aa4eb5bdaeb6e7407782431dc70530f3b1df5" + "reference": "1d5745dac2e043553177a3b88a76b99c2a2f6c2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/d16aa4eb5bdaeb6e7407782431dc70530f3b1df5", - "reference": "d16aa4eb5bdaeb6e7407782431dc70530f3b1df5", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/1d5745dac2e043553177a3b88a76b99c2a2f6c2e", + "reference": "1d5745dac2e043553177a3b88a76b99c2a2f6c2e", "shasum": "" }, "require": { @@ -7630,7 +7632,7 @@ "description": "Provides integration for Twig with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v7.0.4" + "source": "https://github.com/symfony/twig-bridge/tree/v7.0.6" }, "funding": [ { @@ -7646,7 +7648,7 @@ "type": "tidelift" } ], - "time": "2024-02-15T11:33:06+00:00" + "time": "2024-03-28T21:02:11+00:00" }, { "name": "symfony/twig-bundle", @@ -7734,16 +7736,16 @@ }, { "name": "symfony/validator", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "104bc3620d0ee4091034cfbcdcf82ed727f15b7d" + "reference": "a2df2c63b7944a162dee86ab8065f2f91b7d6e36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/104bc3620d0ee4091034cfbcdcf82ed727f15b7d", - "reference": "104bc3620d0ee4091034cfbcdcf82ed727f15b7d", + "url": "https://api.github.com/repos/symfony/validator/zipball/a2df2c63b7944a162dee86ab8065f2f91b7d6e36", + "reference": "a2df2c63b7944a162dee86ab8065f2f91b7d6e36", "shasum": "" }, "require": { @@ -7808,7 +7810,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v7.0.4" + "source": "https://github.com/symfony/validator/tree/v7.0.6" }, "funding": [ { @@ -7824,20 +7826,20 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:20+00:00" + "time": "2024-03-28T09:20:36+00:00" }, { "name": "symfony/var-dumper", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "e03ad7c1535e623edbb94c22cc42353e488c6670" + "reference": "66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e03ad7c1535e623edbb94c22cc42353e488c6670", - "reference": "e03ad7c1535e623edbb94c22cc42353e488c6670", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb", + "reference": "66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb", "shasum": "" }, "require": { @@ -7891,7 +7893,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.0.4" + "source": "https://github.com/symfony/var-dumper/tree/v7.0.6" }, "funding": [ { @@ -7907,26 +7909,28 @@ "type": "tidelift" } ], - "time": "2024-02-15T11:33:06+00:00" + "time": "2024-03-19T11:57:22+00:00" }, { "name": "symfony/var-exporter", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "dfb0acb6803eb714f05d97dd4c5abe6d5fa9fe41" + "reference": "c74c568d2a15a1d407cf40d61ea82bc2d521e27b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/dfb0acb6803eb714f05d97dd4c5abe6d5fa9fe41", - "reference": "dfb0acb6803eb714f05d97dd4c5abe6d5fa9fe41", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/c74c568d2a15a1d407cf40d61ea82bc2d521e27b", + "reference": "c74c568d2a15a1d407cf40d61ea82bc2d521e27b", "shasum": "" }, "require": { "php": ">=8.2" }, "require-dev": { + "symfony/property-access": "^6.4|^7.0", + "symfony/serializer": "^6.4|^7.0", "symfony/var-dumper": "^6.4|^7.0" }, "type": "library", @@ -7965,7 +7969,7 @@ "serialize" ], "support": { - "source": "https://github.com/symfony/var-exporter/tree/v7.0.4" + "source": "https://github.com/symfony/var-exporter/tree/v7.0.6" }, "funding": [ { @@ -7981,7 +7985,7 @@ "type": "tidelift" } ], - "time": "2024-02-26T10:35:24+00:00" + "time": "2024-03-20T21:25:22+00:00" }, { "name": "symfony/web-link", @@ -8210,16 +8214,16 @@ }, { "name": "symfonycasts/verify-email-bundle", - "version": "v1.16.2", + "version": "v1.17.0", "source": { "type": "git", "url": "https://github.com/SymfonyCasts/verify-email-bundle.git", - "reference": "572c94ffcf9ab7ada585f3e9ca1a16b3f0d1e77e" + "reference": "f72af149070b39ef82a7095074378d0a98b4d2ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SymfonyCasts/verify-email-bundle/zipball/572c94ffcf9ab7ada585f3e9ca1a16b3f0d1e77e", - "reference": "572c94ffcf9ab7ada585f3e9ca1a16b3f0d1e77e", + "url": "https://api.github.com/repos/SymfonyCasts/verify-email-bundle/zipball/f72af149070b39ef82a7095074378d0a98b4d2ef", + "reference": "f72af149070b39ef82a7095074378d0a98b4d2ef", "shasum": "" }, "require": { @@ -8250,9 +8254,9 @@ "description": "Simple, stylish Email Verification for Symfony", "support": { "issues": "https://github.com/SymfonyCasts/verify-email-bundle/issues", - "source": "https://github.com/SymfonyCasts/verify-email-bundle/tree/v1.16.2" + "source": "https://github.com/SymfonyCasts/verify-email-bundle/tree/v1.17.0" }, - "time": "2024-02-20T10:50:54+00:00" + "time": "2024-03-17T02:29:53+00:00" }, { "name": "twig/extra-bundle", @@ -8461,30 +8465,37 @@ }, { "name": "twig/twig", - "version": "v3.8.0", + "version": "v3.9.3", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "9d15f0ac07f44dc4217883ec6ae02fd555c6f71d" + "reference": "a842d75fed59cdbcbd3a3ad7fb9eb768fc350d58" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/9d15f0ac07f44dc4217883ec6ae02fd555c6f71d", - "reference": "9d15f0ac07f44dc4217883ec6ae02fd555c6f71d", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/a842d75fed59cdbcbd3a3ad7fb9eb768fc350d58", + "reference": "a842d75fed59cdbcbd3a3ad7fb9eb768fc350d58", "shasum": "" }, "require": { "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-mbstring": "^1.3", "symfony/polyfill-php80": "^1.22" }, "require-dev": { "psr/container": "^1.0|^2.0", - "symfony/phpunit-bridge": "^5.4.9|^6.3|^7.0" + "symfony/phpunit-bridge": "^5.4.9|^6.4|^7.0" }, "type": "library", "autoload": { + "files": [ + "src/Resources/core.php", + "src/Resources/debug.php", + "src/Resources/escaper.php", + "src/Resources/string_loader.php" + ], "psr-4": { "Twig\\": "src/" } @@ -8517,7 +8528,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.8.0" + "source": "https://github.com/twigphp/Twig/tree/v3.9.3" }, "funding": [ { @@ -8529,7 +8540,7 @@ "type": "tidelift" } ], - "time": "2023-11-21T18:54:41+00:00" + "time": "2024-04-18T11:59:33+00:00" }, { "name": "voku/portable-ascii", @@ -8720,16 +8731,16 @@ }, { "name": "composer/pcre", - "version": "3.1.1", + "version": "3.1.2", "source": { "type": "git", "url": "https://github.com/composer/pcre.git", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" + "reference": "4775f35b2d70865807c89d32c8e7385b86eb0ace" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "url": "https://api.github.com/repos/composer/pcre/zipball/4775f35b2d70865807c89d32c8e7385b86eb0ace", + "reference": "4775f35b2d70865807c89d32c8e7385b86eb0ace", "shasum": "" }, "require": { @@ -8771,7 +8782,7 @@ ], "support": { "issues": "https://github.com/composer/pcre/issues", - "source": "https://github.com/composer/pcre/tree/3.1.1" + "source": "https://github.com/composer/pcre/tree/3.1.2" }, "funding": [ { @@ -8787,7 +8798,7 @@ "type": "tidelift" } ], - "time": "2023-10-11T07:11:09+00:00" + "time": "2024-03-07T15:38:35+00:00" }, { "name": "composer/semver", @@ -9158,16 +9169,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.51.0", + "version": "v3.52.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "127fa74f010da99053e3f5b62672615b72dd6efd" + "reference": "a3564bd66f4bce9bc871ef18b690e2dc67a7f969" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/127fa74f010da99053e3f5b62672615b72dd6efd", - "reference": "127fa74f010da99053e3f5b62672615b72dd6efd", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a3564bd66f4bce9bc871ef18b690e2dc67a7f969", + "reference": "a3564bd66f4bce9bc871ef18b690e2dc67a7f969", "shasum": "" }, "require": { @@ -9238,7 +9249,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.51.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.52.0" }, "funding": [ { @@ -9246,20 +9257,20 @@ "type": "github" } ], - "time": "2024-02-28T19:50:06+00:00" + "time": "2024-03-18T18:40:11+00:00" }, { "name": "masterminds/html5", - "version": "2.8.1", + "version": "2.9.0", "source": { "type": "git", "url": "https://github.com/Masterminds/html5-php.git", - "reference": "f47dcf3c70c584de14f21143c55d9939631bc6cf" + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f47dcf3c70c584de14f21143c55d9939631bc6cf", - "reference": "f47dcf3c70c584de14f21143c55d9939631bc6cf", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", + "reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6", "shasum": "" }, "require": { @@ -9267,7 +9278,7 @@ "php": ">=5.3.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8" + "phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8 || ^9" }, "type": "library", "extra": { @@ -9311,9 +9322,9 @@ ], "support": { "issues": "https://github.com/Masterminds/html5-php/issues", - "source": "https://github.com/Masterminds/html5-php/tree/2.8.1" + "source": "https://github.com/Masterminds/html5-php/tree/2.9.0" }, - "time": "2023-05-10T11:58:31+00:00" + "time": "2024-03-31T07:05:07+00:00" }, { "name": "myclabs/deep-copy", @@ -9376,16 +9387,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.0.1", + "version": "v5.0.2", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "2218c2252c874a4624ab2f613d86ac32d227bc69" + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/2218c2252c874a4624ab2f613d86ac32d227bc69", - "reference": "2218c2252c874a4624ab2f613d86ac32d227bc69", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", + "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", "shasum": "" }, "require": { @@ -9428,26 +9439,27 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" }, - "time": "2024-02-21T19:24:10+00:00" + "time": "2024-03-05T20:51:40+00:00" }, { "name": "phar-io/manifest", - "version": "2.0.3", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + "reference": "54750ef60c58e43759730615a392c31c80e23176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176", + "reference": "54750ef60c58e43759730615a392c31c80e23176", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-phar": "*", "ext-xmlwriter": "*", "phar-io/version": "^3.0.1", @@ -9488,9 +9500,15 @@ "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" + "source": "https://github.com/phar-io/manifest/tree/2.0.4" }, - "time": "2021-07-20T11:28:43+00:00" + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" }, { "name": "phar-io/version", @@ -9611,16 +9629,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.59", + "version": "1.10.63", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e607609388d3a6d418a50a49f7940e8086798281" + "reference": "ad12836d9ca227301f5fb9960979574ed8628339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e607609388d3a6d418a50a49f7940e8086798281", - "reference": "e607609388d3a6d418a50a49f7940e8086798281", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ad12836d9ca227301f5fb9960979574ed8628339", + "reference": "ad12836d9ca227301f5fb9960979574ed8628339", "shasum": "" }, "require": { @@ -9669,20 +9687,20 @@ "type": "tidelift" } ], - "time": "2024-02-20T13:59:13+00:00" + "time": "2024-03-18T16:53:53+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.30", + "version": "9.2.31", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", - "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", + "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", "shasum": "" }, "require": { @@ -9739,7 +9757,7 @@ "support": { "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/9.2.30" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" }, "funding": [ { @@ -9747,7 +9765,7 @@ "type": "github" } ], - "time": "2023-12-22T06:47:57+00:00" + "time": "2024-03-02T06:37:42+00:00" }, { "name": "phpunit/php-file-iterator", @@ -10095,21 +10113,21 @@ }, { "name": "rector/rector", - "version": "0.19.8", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "de3b3bb159abd704b144aa86fb244f7f1f4ac947" + "reference": "c59507a9090b465d65e1aceed91e5b81986e375b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/de3b3bb159abd704b144aa86fb244f7f1f4ac947", - "reference": "de3b3bb159abd704b144aa86fb244f7f1f4ac947", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/c59507a9090b465d65e1aceed91e5b81986e375b", + "reference": "c59507a9090b465d65e1aceed91e5b81986e375b", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.56" + "phpstan/phpstan": "^1.10.57" }, "conflict": { "rector/rector-doctrine": "*", @@ -10139,7 +10157,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.19.8" + "source": "https://github.com/rectorphp/rector/tree/1.0.3" }, "funding": [ { @@ -10147,20 +10165,20 @@ "type": "github" } ], - "time": "2024-02-05T10:59:13+00:00" + "time": "2024-03-14T15:04:18+00:00" }, { "name": "sebastian/cli-parser", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", "shasum": "" }, "require": { @@ -10195,7 +10213,7 @@ "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" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" }, "funding": [ { @@ -10203,7 +10221,7 @@ "type": "github" } ], - "time": "2020-09-28T06:08:49+00:00" + "time": "2024-03-02T06:27:43+00:00" }, { "name": "sebastian/code-unit", @@ -10449,16 +10467,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { @@ -10503,7 +10521,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { @@ -10511,7 +10529,7 @@ "type": "github" } ], - "time": "2023-05-07T05:35:17+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "sebastian/environment", @@ -10578,16 +10596,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.5", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72", + "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72", "shasum": "" }, "require": { @@ -10643,7 +10661,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6" }, "funding": [ { @@ -10651,20 +10669,20 @@ "type": "github" } ], - "time": "2022-09-14T06:03:37+00:00" + "time": "2024-03-02T06:33:00+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.6", + "version": "5.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bde739e7565280bda77be70044ac1047bc007e34" + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", + "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9", "shasum": "" }, "require": { @@ -10707,7 +10725,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7" }, "funding": [ { @@ -10715,7 +10733,7 @@ "type": "github" } ], - "time": "2023-08-02T09:26:13+00:00" + "time": "2024-03-02T06:35:11+00:00" }, { "name": "sebastian/lines-of-code", @@ -10951,16 +10969,16 @@ }, { "name": "sebastian/resource-operations", - "version": "3.0.3", + "version": "3.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e", "shasum": "" }, "require": { @@ -10972,7 +10990,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -10993,8 +11011,7 @@ "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4" }, "funding": [ { @@ -11002,7 +11019,7 @@ "type": "github" } ], - "time": "2020-09-28T06:45:17+00:00" + "time": "2024-03-14T16:00:52+00:00" }, { "name": "sebastian/type", @@ -11389,16 +11406,16 @@ }, { "name": "symfony/maker-bundle", - "version": "v1.55.1", + "version": "v1.58.0", "source": { "type": "git", "url": "https://github.com/symfony/maker-bundle.git", - "reference": "11a9d3125c5b93ab4043f0f2e9927fdc55881c17" + "reference": "c4f8d2c5d55950e1a49e822efc83a8511bee8a36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/11a9d3125c5b93ab4043f0f2e9927fdc55881c17", - "reference": "11a9d3125c5b93ab4043f0f2e9927fdc55881c17", + "url": "https://api.github.com/repos/symfony/maker-bundle/zipball/c4f8d2c5d55950e1a49e822efc83a8511bee8a36", + "reference": "c4f8d2c5d55950e1a49e822efc83a8511bee8a36", "shasum": "" }, "require": { @@ -11461,7 +11478,7 @@ ], "support": { "issues": "https://github.com/symfony/maker-bundle/issues", - "source": "https://github.com/symfony/maker-bundle/tree/v1.55.1" + "source": "https://github.com/symfony/maker-bundle/tree/v1.58.0" }, "funding": [ { @@ -11477,7 +11494,7 @@ "type": "tidelift" } ], - "time": "2024-02-21T13:41:51+00:00" + "time": "2024-04-06T15:08:12+00:00" }, { "name": "symfony/panther", @@ -11570,16 +11587,16 @@ }, { "name": "symfony/phpunit-bridge", - "version": "v7.0.4", + "version": "v7.0.6", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "54ca13ec990a40411ad978e08d994fca6cdd865f" + "reference": "a014167aa1f66cb9990675840da65609d3e61612" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/54ca13ec990a40411ad978e08d994fca6cdd865f", - "reference": "54ca13ec990a40411ad978e08d994fca6cdd865f", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/a014167aa1f66cb9990675840da65609d3e61612", + "reference": "a014167aa1f66cb9990675840da65609d3e61612", "shasum": "" }, "require": { @@ -11631,7 +11648,7 @@ "description": "Provides utilities for PHPUnit, especially user deprecation notices management", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/phpunit-bridge/tree/v7.0.4" + "source": "https://github.com/symfony/phpunit-bridge/tree/v7.0.6" }, "funding": [ { @@ -11647,7 +11664,7 @@ "type": "tidelift" } ], - "time": "2024-02-08T19:22:56+00:00" + "time": "2024-03-19T11:57:22+00:00" }, { "name": "symfony/polyfill-php81", @@ -11808,16 +11825,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.2", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", + "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2", "shasum": "" }, "require": { @@ -11846,7 +11863,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.2" + "source": "https://github.com/theseer/tokenizer/tree/1.2.3" }, "funding": [ { @@ -11854,7 +11871,7 @@ "type": "github" } ], - "time": "2023-11-20T00:12:19+00:00" + "time": "2024-03-03T12:36:25+00:00" } ], "aliases": [], diff --git a/config/services.yaml b/config/services.yaml index 28ea3efa..d08978d6 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -7,7 +7,7 @@ parameters: locale: 'en' app_locales: 'en|ru|nl|bg|hu' images_directory: '%kernel.project_dir%/public/uploads/images' - app_version: '2.10.0' + app_version: '2.10.1' services: # default configuration for services in *this* file diff --git a/frankenphp/conf.d/app.ini b/frankenphp/conf.d/app.ini index 501fa84f..9c16d647 100644 --- a/frankenphp/conf.d/app.ini +++ b/frankenphp/conf.d/app.ini @@ -3,6 +3,8 @@ expose_php = 0 date.timezone = UTC apc.enable_cli = 1 session.use_strict_mode = 1 +upload_max_filesize = 16M +post_max_size = 32M zend.detect_unicode = 0 ; https://symfony.com/doc/current/performance.html diff --git a/public/build/entrypoints.json b/public/build/entrypoints.json index 64d078a1..f98c2cf6 100644 --- a/public/build/entrypoints.json +++ b/public/build/entrypoints.json @@ -81,7 +81,7 @@ "js/password": { "js": [ "/build/runtime.9a71ee5d.js", - "/build/js/password.b825ce4f.js" + "/build/js/password.77151b32.js" ] }, "js/google_authenticator": { diff --git a/public/build/js/password.77151b32.js b/public/build/js/password.77151b32.js new file mode 100644 index 00000000..d9ec8910 --- /dev/null +++ b/public/build/js/password.77151b32.js @@ -0,0 +1 @@ +(self.webpackChunk=self.webpackChunk||[]).push([[807],{702:()=>{!function(t){"use strict";const s=t("#changePassword"),a=t("#savePassword"),e=t(".alert","#changePassword");a.click((function(){t(this).attr("disabled",!0).text(a.data("progress-text")),t.ajax({method:"POST",url:t("#passwordForm").attr("action"),data:{password1:t("#password1").val(),password2:t("#password2").val()}}).done((function(){location.reload()})).fail((function(t){const{message:s}=JSON.parse(t.responseText);e.text(s).slideDown()}))})),s.on("hidden.bs.modal",(function(){t("#password1").val(""),t("#password2").val("").attr("disabled",!0),a.text(a.data("default-text")).attr("disabled",!0),e.text("").hide(),t(".fa-check","#changePassword").removeClass("fa-check text-success").addClass("fa-times text-danger")}))}($)},205:()=>{!function(t){"use strict";const s=t("#savePassword"),a=(t,s)=>{!0===s?t.removeClass("fa-times text-danger").addClass("fa-check text-success"):t.removeClass("fa-check text-success").addClass("fa-times text-danger")},e=(t,s)=>""!==t.trim()&&t.trim()===s.trim();t("input[type=password]").keyup((function(){t(this).val(t(this).val().trim()),t(".alert","#changePassword").text("").hide();const d=/[A-ZА-Я]+/,r=/[a-zа-я]+/,o=/\d+/;let c=t("#password2"),n=t("#password1").val(),l=c.val();a(t("#10char"),n.length>=10),a(t("#uppercase"),d.test(n)),a(t("#lowercase"),r.test(n)),a(t("#numbers"),o.test(n)),a(t("#match"),e(n,l)),n.length>=10&&d.test(n)&&r.test(n)&&o.test(n)&&c.attr("disabled",!1),s.attr("disabled",!e(n,l)).text(s.data("default-text"))}))}($)},207:(t,s,a)=>{"use strict";a(205),a(702)}},t=>{var s;s=207,t(t.s=s)}]); \ No newline at end of file diff --git a/public/build/js/password.b825ce4f.js b/public/build/js/password.b825ce4f.js deleted file mode 100644 index 2d8cd55d..00000000 --- a/public/build/js/password.b825ce4f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[807],{702:()=>{!function(t){"use strict";const s=t("#changePassword"),a=t("#savePassword"),e=t(".alert","#changePassword");a.click((function(){t(this).attr("disabled",!0).text(a.data("progress-text")),t.ajax({method:"POST",url:t("#passwordForm").attr("action"),data:{password1:t("#password1").val(),password2:t("#password2").val()}}).done((function(){location.reload()})).fail((function(t){const s=JSON.parse(t.responseText).message;e.text(s).slideDown()}))})),s.on("hidden.bs.modal",(function(){t("#password1").val(""),t("#password2").val("").attr("disabled",!0),a.text(a.data("default-text")).attr("disabled",!0),e.text("").hide(),t(".fa-check","#changePassword").removeClass("fa-check text-success").addClass("fa-times text-danger")}))}($)},205:()=>{!function(t){"use strict";const s=t("#savePassword"),a=(t,s)=>{!0===s?t.removeClass("fa-times text-danger").addClass("fa-check text-success"):t.removeClass("fa-check text-success").addClass("fa-times text-danger")},e=(t,s)=>""!==t.trim()&&t.trim()===s.trim();t("input[type=password]").keyup((function(){t(this).val(t(this).val().trim()),t(".alert","#changePassword").text("").hide();const d=/[A-ZА-Я]+/,r=/[a-zа-я]+/,o=/\d+/;let c=t("#password2"),n=t("#password1").val(),l=c.val();a(t("#10char"),n.length>=10),a(t("#uppercase"),d.test(n)),a(t("#lowercase"),r.test(n)),a(t("#numbers"),o.test(n)),a(t("#match"),e(n,l)),n.length>=10&&d.test(n)&&r.test(n)&&o.test(n)&&c.attr("disabled",!1),s.attr("disabled",!e(n,l)).text(s.data("default-text"))}))}($)},207:(t,s,a)=>{"use strict";a(205),a(702)}},t=>{var s;s=207,t(t.s=s)}]); \ No newline at end of file diff --git a/public/build/manifest.json b/public/build/manifest.json index f93f06eb..595726b0 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -12,7 +12,7 @@ "build/js/photo.js": "/build/js/photo.6d112f7e.js", "build/js/page.js": "/build/js/page.eaed21af.js", "build/js/user.js": "/build/js/user.fa1131dc.js", - "build/js/password.js": "/build/js/password.b825ce4f.js", + "build/js/password.js": "/build/js/password.77151b32.js", "build/js/google_authenticator.js": "/build/js/google_authenticator.bd28f87e.js", "build/js/bottom-bar.js": "/build/js/bottom-bar.8f444bd6.js", "build/css/app.css": "/build/css/app.79e704be.css", diff --git a/rector.php b/rector.php index 6aa6575b..c12450dd 100644 --- a/rector.php +++ b/rector.php @@ -3,19 +3,17 @@ declare(strict_types=1); use Rector\Config\RectorConfig; -use Rector\Doctrine\Set\DoctrineSetList; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; -use Rector\Symfony\Set\SensiolabsSetList; use Rector\Symfony\Set\SymfonySetList; -return function (RectorConfig $rectorConfig): void { - $rectorConfig->sets([ - DoctrineSetList::ANNOTATIONS_TO_ATTRIBUTES, - SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES, - SymfonySetList::SYMFONY_64, - SensiolabsSetList::ANNOTATIONS_TO_ATTRIBUTES, +return RectorConfig::configure() + ->withPaths([ + __DIR__.'/src', + __DIR__.'/tests', + ]) + ->withSets([ LevelSetList::UP_TO_PHP_82, + SymfonySetList::SYMFONY_CODE_QUALITY, SetList::CODE_QUALITY, ]); -}; diff --git a/src/Controller/AbstractPhotoController.php b/src/Controller/AbstractPhotoController.php index 68b4b434..393e0e67 100644 --- a/src/Controller/AbstractPhotoController.php +++ b/src/Controller/AbstractPhotoController.php @@ -13,6 +13,7 @@ use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Validator\ConstraintViolation; abstract class AbstractPhotoController extends AbstractController @@ -32,7 +33,7 @@ protected function uploadPhoto(Property $property, Request $request, FileUploade $violation = $violations[0]; $this->addFlash('danger', $violation->getMessage()); - return new JsonResponse(['status' => 'fail'], 422); + return new JsonResponse(['status' => 'fail'], Response::HTTP_UNPROCESSABLE_ENTITY); } $fileName = $fileUploader->upload($uploadedFile); diff --git a/src/Controller/Ajax/Auth/ResendVerificationController.php b/src/Controller/Ajax/Auth/ResendVerificationController.php index 5a534e99..0e956676 100644 --- a/src/Controller/Ajax/Auth/ResendVerificationController.php +++ b/src/Controller/Ajax/Auth/ResendVerificationController.php @@ -10,6 +10,7 @@ use App\Service\Cache\UserDataCache; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Messenger\MessageBusInterface; use Symfony\Component\Routing\Attribute\Route; use Symfony\Contracts\Translation\TranslatorInterface; @@ -40,7 +41,10 @@ public function resendEmail(MessageBusInterface $messageBus, TranslatorInterface if ($this->isSendingAllowed($user)) { $messageBus->dispatch(new SendEmailConfirmationLink($user)); } else { - return new JsonResponse(['message' => 'There is no need to resend this email'], 422); + return new JsonResponse( + ['message' => 'There is no need to resend this email'], + Response::HTTP_UNPROCESSABLE_ENTITY + ); } $translated = $translator->trans('confirmation.email.success'); diff --git a/src/Controller/Ajax/User/PropertyController.php b/src/Controller/Ajax/User/PropertyController.php index b089b3a2..fd1210cc 100644 --- a/src/Controller/Ajax/User/PropertyController.php +++ b/src/Controller/Ajax/User/PropertyController.php @@ -10,6 +10,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; use Symfony\Component\Routing\Requirement\Requirement; use Symfony\Component\Security\Http\Attribute\IsGranted; @@ -28,13 +29,13 @@ public function update(Request $request, Property $property, UserPropertyReposit $state = $request->query->get('state'); if (!\in_array($state, ['published', 'private'], true)) { - return new JsonResponse(['status' => 'fail'], 422); + return new JsonResponse(['status' => 'fail'], Response::HTTP_UNPROCESSABLE_ENTITY); } if ($repository->changeState($property, $state)) { return new JsonResponse(['status' => 'ok']); } - return new JsonResponse(['status' => 'fail'], 500); + return new JsonResponse(['status' => 'fail'], Response::HTTP_INTERNAL_SERVER_ERROR); } } diff --git a/src/Controller/Ajax/User/Security/GoogleAuthenticatorController.php b/src/Controller/Ajax/User/Security/GoogleAuthenticatorController.php index d684b657..e399c2a6 100644 --- a/src/Controller/Ajax/User/Security/GoogleAuthenticatorController.php +++ b/src/Controller/Ajax/User/Security/GoogleAuthenticatorController.php @@ -11,6 +11,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; final class GoogleAuthenticatorController extends AbstractController implements AjaxController @@ -32,7 +33,7 @@ public function getAuthCode(): JsonResponse } catch (\Throwable $e) { return new JsonResponse([ 'message' => $e->getMessage(), - ], 422); + ], Response::HTTP_UNPROCESSABLE_ENTITY); } } @@ -51,7 +52,7 @@ public function setAuthCode(Request $request): JsonResponse } catch (\Throwable $exception) { return new JsonResponse([ 'message' => $exception->getMessage(), - ], 422); + ], Response::HTTP_UNPROCESSABLE_ENTITY); } } diff --git a/src/Controller/Ajax/User/Security/PasswordController.php b/src/Controller/Ajax/User/Security/PasswordController.php index 37c26632..0b0ce163 100644 --- a/src/Controller/Ajax/User/Security/PasswordController.php +++ b/src/Controller/Ajax/User/Security/PasswordController.php @@ -9,6 +9,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Attribute\Route; final class PasswordController extends AbstractController implements AjaxController @@ -23,7 +24,7 @@ public function update(Request $request, PasswordService $service): JsonResponse } catch (\Throwable $e) { return new JsonResponse([ 'message' => $e->getMessage(), - ], 422); + ], Response::HTTP_UNPROCESSABLE_ENTITY); } } } diff --git a/src/Controller/PropertyController.php b/src/Controller/PropertyController.php index 550ddbd6..92bbfabe 100644 --- a/src/Controller/PropertyController.php +++ b/src/Controller/PropertyController.php @@ -67,7 +67,7 @@ public function propertyShow( SimilarRepository $repository ): Response { if (!$url->isCanonical($property, $request)) { - return $this->redirect($url->generateCanonical($property), 301); + return $this->redirect($url->generateCanonical($property), Response::HTTP_MOVED_PERMANENTLY); } elseif ($url->isRefererFromCurrentHost($request)) { $showBackButton = true; } diff --git a/src/DataFixtures/NeighborhoodFixtures.php b/src/DataFixtures/NeighborhoodFixtures.php index c2407a0e..7df3a139 100644 --- a/src/DataFixtures/NeighborhoodFixtures.php +++ b/src/DataFixtures/NeighborhoodFixtures.php @@ -28,10 +28,10 @@ private function getNeighborhoodData(): array { return [ // $neighborhoodData = [$city, $name, $slug]; - [$this->getReference('Miami'), 'South Beach', 'south-beach'], - [$this->getReference('Miami'), 'Downtown', 'downtown'], - [$this->getReference('Tampa'), 'Ballast Point', 'ballast-point'], - [$this->getReference('Tampa'), 'Culbreath Isles', 'culbreath-isles'], + [$this->getReference('Miami'), 'South Beach', 'south-beach'], + [$this->getReference('Miami'), 'Downtown', 'downtown'], + [$this->getReference('Tampa'), 'Ballast Point', 'ballast-point'], + [$this->getReference('Tampa'), 'Culbreath Isles', 'culbreath-isles'], ]; } diff --git a/src/Entity/User.php b/src/Entity/User.php index 4cecc604..46992e14 100644 --- a/src/Entity/User.php +++ b/src/Entity/User.php @@ -123,17 +123,6 @@ public function setRoles(array $roles): void $this->roles = $roles; } - /** - * Returns the salt that was originally used to encode the password. - */ - public function getSalt(): ?string - { - // See "Do you need to use a Salt?" at https://symfony.com/doc/current/cookbook/security/entity_provider.html - // we're using bcrypt in security.yml to encode the password, so - // the salt value is built-in and you don't have to generate one - return null; - } - /** * Removes sensitive data from the user. */ @@ -145,13 +134,11 @@ public function eraseCredentials(): void public function __serialize(): array { - // add $this->salt too if you don't use Bcrypt or Argon2i return [$this->id, $this->username, $this->password]; } public function __unserialize(array $data): void { - // add $this->salt too if you don't use Bcrypt or Argon2i [$this->id, $this->username, $this->password] = $data; } diff --git a/src/Form/Type/MainSettingsType.php b/src/Form/Type/MainSettingsType.php index 0ff4d2b1..50e1a0a9 100644 --- a/src/Form/Type/MainSettingsType.php +++ b/src/Form/Type/MainSettingsType.php @@ -64,34 +64,34 @@ public function buildForm(FormBuilderInterface $builder, array $options): void 'constraints' => [new Range(['min' => 3, 'max' => 100])], ]) ->add('show_similar_properties', ChoiceType::class, [ - 'choices' => self::CHOICES, - 'label' => 'label.settings.show_similar_properties', - ] + 'choices' => self::CHOICES, + 'label' => 'label.settings.show_similar_properties', + ] ) ->add('fixed_top_navbar', ChoiceType::class, [ - 'choices' => self::CHOICES, - 'label' => 'label.settings.fixed_top_navbar', - ] + 'choices' => self::CHOICES, + 'label' => 'label.settings.fixed_top_navbar', + ] ) ->add('show_language_selector', ChoiceType::class, [ - 'choices' => self::CHOICES, - 'label' => 'label.settings.show_language_selector', - ] + 'choices' => self::CHOICES, + 'label' => 'label.settings.show_language_selector', + ] ) ->add('anyone_can_register', ChoiceType::class, [ - 'choices' => self::CHOICES, - 'label' => 'label.settings.anyone_can_register', - ] + 'choices' => self::CHOICES, + 'label' => 'label.settings.anyone_can_register', + ] ) ->add('show_bottom_bar', ChoiceType::class, [ - 'choices' => self::CHOICES, - 'label' => 'label.settings.show_bottom_bar', - ] + 'choices' => self::CHOICES, + 'label' => 'label.settings.show_bottom_bar', + ] ) ->add('allow_html', ChoiceType::class, [ - 'choices' => self::CHOICES, - 'label' => 'label.settings.allow_html', - ] + 'choices' => self::CHOICES, + 'label' => 'label.settings.allow_html', + ] ); } diff --git a/src/Service/Admin/SettingsService.php b/src/Service/Admin/SettingsService.php index 2b5ba0e2..d50d82ae 100644 --- a/src/Service/Admin/SettingsService.php +++ b/src/Service/Admin/SettingsService.php @@ -11,6 +11,7 @@ use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\RequestStack; +use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface; use Symfony\Component\Validator\ConstraintViolation; @@ -45,7 +46,7 @@ public function uploadImage(string $type, Request $request): JsonResponse $uploadedFile = $request->files->get('file'); if (!$this->isImageValid($uploadedFile)) { - return new JsonResponse(['status' => 'fail'], 422); + return new JsonResponse(['status' => 'fail'], Response::HTTP_UNPROCESSABLE_ENTITY); } $fileName = $this->fileUploader->upload($uploadedFile); diff --git a/src/Service/Auth/EmailVerifier.php b/src/Service/Auth/EmailVerifier.php index fa87ce50..5ba5aff1 100644 --- a/src/Service/Auth/EmailVerifier.php +++ b/src/Service/Auth/EmailVerifier.php @@ -7,7 +7,6 @@ use App\Entity\User; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\HttpFoundation\Request; -use SymfonyCasts\Bundle\VerifyEmail\Exception\VerifyEmailExceptionInterface; use SymfonyCasts\Bundle\VerifyEmail\VerifyEmailHelperInterface; final readonly class EmailVerifier @@ -18,12 +17,13 @@ public function __construct( { } - /** - * @throws VerifyEmailExceptionInterface - */ public function handleEmailConfirmation(Request $request, User $user): void { - $this->verifyEmailHelper->validateEmailConfirmation($request->getUri(), (string) $user->getId(), $user->getEmail()); + $this->verifyEmailHelper->validateEmailConfirmationFromRequest( + request: $request, + userId: (string) $user->getId(), + userEmail: $user->getEmail() + ); $user->setEmailVerifiedAt(new \DateTime('now')); diff --git a/tests/Functional/Controller/Admin/CategoryControllerTest.php b/tests/Functional/Controller/Admin/CategoryControllerTest.php index 6df0c8d2..c7dca6a3 100644 --- a/tests/Functional/Controller/Admin/CategoryControllerTest.php +++ b/tests/Functional/Controller/Admin/CategoryControllerTest.php @@ -31,7 +31,11 @@ public function testAdminNewCategory(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $category = $this->getRepository($client, Category::class) ->findOneBy([ 'slug' => self::SLUG, @@ -61,7 +65,11 @@ public function testAdminEditCategory(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $editedCategory = $this->getRepository($client, Category::class) ->findOneBy([ @@ -85,7 +93,11 @@ public function testAdminDeleteCategory(): void $crawler = $client->request('GET', '/en/admin/category'); $client->submit($crawler->filter('#delete-form-'.$category)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, Category::class) ->findOneBy([ diff --git a/tests/Functional/Controller/Admin/CityControllerTest.php b/tests/Functional/Controller/Admin/CityControllerTest.php index 4046a200..e903ee06 100644 --- a/tests/Functional/Controller/Admin/CityControllerTest.php +++ b/tests/Functional/Controller/Admin/CityControllerTest.php @@ -25,7 +25,11 @@ public function testAdminNewCity(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $city = $this->getRepository($this->client, City::class) ->findOneBy([ 'slug' => self::SLUG, @@ -58,7 +62,11 @@ public function testAdminEditCity(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $editedCity = $this->getRepository($this->client, City::class) ->findOneBy([ @@ -82,7 +90,11 @@ public function testAdminDeleteCity(): void $crawler = $this->client->request('GET', '/en/admin/locations/city'); $this->client->submit($crawler->filter('#delete-form-'.$city)->form()); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($this->client, City::class) ->findOneBy([ diff --git a/tests/Functional/Controller/Admin/CurrencyControllerTest.php b/tests/Functional/Controller/Admin/CurrencyControllerTest.php index 95fb5694..b5d99731 100644 --- a/tests/Functional/Controller/Admin/CurrencyControllerTest.php +++ b/tests/Functional/Controller/Admin/CurrencyControllerTest.php @@ -31,7 +31,11 @@ public function testAdminNewCurrency(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $currency = $this->getRepository($client, Currency::class) ->findOneBy([ 'code' => self::CURRENCY, @@ -61,7 +65,11 @@ public function testAdminEditCurrency(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $editedCurrency = $this->getRepository($client, Currency::class) ->findOneBy([ @@ -85,10 +93,14 @@ public function testAdminDeleteCurrency(): void $crawler = $client->request('GET', '/en/admin/currency'); $client->submit($crawler->filter('#delete-form-'.$currency)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, Currency::class)->findOneBy([ - 'code' => self::EDITED, - ])); + 'code' => self::EDITED, + ])); } } diff --git a/tests/Functional/Controller/Admin/DealTypeControllerTest.php b/tests/Functional/Controller/Admin/DealTypeControllerTest.php index 63b54aa1..c0b5c534 100644 --- a/tests/Functional/Controller/Admin/DealTypeControllerTest.php +++ b/tests/Functional/Controller/Admin/DealTypeControllerTest.php @@ -32,7 +32,11 @@ public function testAdminNewDealType(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $dealType = $this->getRepository($client, DealType::class) ->findOneBy([ 'slug' => self::SLUG, @@ -62,7 +66,11 @@ public function testAdminEditDealType(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $editedDealType = $this->getRepository($client, DealType::class) ->findOneBy([ @@ -86,7 +94,11 @@ public function testAdminDeleteDealType(): void $crawler = $client->request('GET', '/en/admin/deal_type'); $client->submit($crawler->filter('#delete-form-'.$dealType)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, DealType::class) ->findOneBy([ diff --git a/tests/Functional/Controller/Admin/DistrictControllerTest.php b/tests/Functional/Controller/Admin/DistrictControllerTest.php index ddf9d009..0d809c85 100644 --- a/tests/Functional/Controller/Admin/DistrictControllerTest.php +++ b/tests/Functional/Controller/Admin/DistrictControllerTest.php @@ -22,10 +22,14 @@ public function testAdminNewDistrict(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $district = $this->getRepository($this->client, District::class)->findOneBy([ - 'slug' => self::SLUG, - ]); + 'slug' => self::SLUG, + ]); $this->assertNotNull($district); $this->assertSame(self::NAME, $district->getName()); @@ -49,7 +53,11 @@ public function testAdminEditDistrict(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $editedDistrict = $this->getRepository($this->client, District::class) ->findOneBy([ @@ -72,7 +80,11 @@ public function testAdminDeleteDistrict(): void ])->getId(); $this->client->submit($crawler->filter('#delete-district-'.$district)->form()); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($this->client, District::class) ->findOneBy([ diff --git a/tests/Functional/Controller/Admin/FeatureControllerTest.php b/tests/Functional/Controller/Admin/FeatureControllerTest.php index b3b3d337..1eb53ff6 100644 --- a/tests/Functional/Controller/Admin/FeatureControllerTest.php +++ b/tests/Functional/Controller/Admin/FeatureControllerTest.php @@ -30,10 +30,14 @@ public function testAdminNewFeature(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $feature = $this->getRepository($client, Feature::class)->findOneBy([ - 'name' => self::FEATURE, - ]); + 'name' => self::FEATURE, + ]); $this->assertNotNull($feature); $this->assertSame(self::FEATURE, $feature->getName()); @@ -58,11 +62,15 @@ public function testAdminEditFeature(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $editedFeature = $this->getRepository($client, Feature::class)->findOneBy([ - 'id' => $feature, - ]); + 'id' => $feature, + ]); $this->assertSame(self::EDITED, $editedFeature->getName()); } @@ -75,15 +83,19 @@ public function testAdminDeleteFeature(): void $client = $this->authAsAdmin($this); $feature = $this->getRepository($client, Feature::class)->findOneBy([ - 'name' => self::EDITED, - ])->getId(); + 'name' => self::EDITED, + ])->getId(); $crawler = $client->request('GET', '/en/admin/feature'); $client->submit($crawler->filter('#delete-form-'.$feature)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, Feature::class)->findOneBy([ - 'name' => self::EDITED, - ])); + 'name' => self::EDITED, + ])); } } diff --git a/tests/Functional/Controller/Admin/MenuControllerTest.php b/tests/Functional/Controller/Admin/MenuControllerTest.php index 77b59692..7ee20138 100644 --- a/tests/Functional/Controller/Admin/MenuControllerTest.php +++ b/tests/Functional/Controller/Admin/MenuControllerTest.php @@ -34,7 +34,11 @@ public function testAdminNewItem(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $item = $this->getRepository($client, Menu::class) ->findOneBy([ 'url' => self::URL, @@ -66,7 +70,11 @@ public function testAdminEditItem(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $editedItem = $this->getRepository($client, Menu::class) ->findOneBy([ @@ -130,7 +138,11 @@ public function testAdminDeleteItem(): void $crawler = $client->request('GET', '/en/admin/menu'); $client->submit($crawler->filter('#delete-form-'.$item)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, Menu::class)->findOneBy([ 'url' => self::URL, diff --git a/tests/Functional/Controller/Admin/MetroControllerTest.php b/tests/Functional/Controller/Admin/MetroControllerTest.php index ee1fecee..e45d2ede 100644 --- a/tests/Functional/Controller/Admin/MetroControllerTest.php +++ b/tests/Functional/Controller/Admin/MetroControllerTest.php @@ -22,10 +22,14 @@ public function testAdminNewStation(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $station = $this->getRepository($this->client, Metro::class)->findOneBy([ - 'slug' => self::SLUG, - ]); + 'slug' => self::SLUG, + ]); $this->assertNotNull($station); $this->assertSame(self::NAME, $station->getName()); @@ -49,7 +53,7 @@ public function testAdminEditStation(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode(), $this->client->getResponse()->getContent()); $editedStation = $this->getRepository($this->client, Metro::class) ->findOneBy([ @@ -71,10 +75,10 @@ public function testAdminDeleteStation(): void $crawler = $this->client->request('GET', '/en/admin/locations/metro'); $this->client->submit($crawler->filter('#delete-metro-'.$station)->form()); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode(), $this->client->getResponse()->getContent()); $this->assertNull($this->getRepository($this->client, Metro::class)->findOneBy([ - 'slug' => self::SLUG, - ])); + 'slug' => self::SLUG, + ])); } } diff --git a/tests/Functional/Controller/Admin/NeighborhoodControllerTest.php b/tests/Functional/Controller/Admin/NeighborhoodControllerTest.php index 9f290f5d..874d5b44 100644 --- a/tests/Functional/Controller/Admin/NeighborhoodControllerTest.php +++ b/tests/Functional/Controller/Admin/NeighborhoodControllerTest.php @@ -22,7 +22,11 @@ public function testAdminNewNeighborhood(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $neighborhood = $this->getRepository($this->client, Neighborhood::class) ->findOneBy([ 'slug' => self::SLUG, @@ -50,7 +54,11 @@ public function testAdminEditNeighborhood(): void ]); $this->client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $editedNeighborhood = $this->getRepository($this->client, Neighborhood::class) ->findOneBy([ @@ -72,10 +80,14 @@ public function testAdminDeleteNeighborhood(): void $crawler = $this->client->request('GET', '/en/admin/locations/neighborhood'); $this->client->submit($crawler->filter('#delete-neighborhood-'.$neighborhood)->form()); - $this->assertSame(Response::HTTP_FOUND, $this->client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $this->client->getResponse()->getStatusCode(), + $this->client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($this->client, Neighborhood::class)->findOneBy([ - 'slug' => self::SLUG, - ])); + 'slug' => self::SLUG, + ])); } } diff --git a/tests/Functional/Controller/Admin/PageControllerTest.php b/tests/Functional/Controller/Admin/PageControllerTest.php index 404d3bdc..6a67b180 100644 --- a/tests/Functional/Controller/Admin/PageControllerTest.php +++ b/tests/Functional/Controller/Admin/PageControllerTest.php @@ -37,7 +37,11 @@ public function testAdminNewPage(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $page = $this->getRepository($client, Page::class) ->findOneBy([ 'slug' => self::SLUG, @@ -76,7 +80,11 @@ public function testAdminEditPage(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $editedPage = $this->getRepository($client, Page::class) ->findOneBy([ @@ -94,22 +102,26 @@ public function testAdminDeletePage(): void $client = $this->authAsAdmin($this); $page = $this->getRepository($client, Page::class)->findOneBy([ - 'slug' => self::SLUG, - 'locale' => self::LOCALE, - ])->getId(); + 'slug' => self::SLUG, + 'locale' => self::LOCALE, + ])->getId(); $crawler = $client->request('GET', '/en/admin/page'); $client->submit($crawler->filter('#delete-form-'.$page)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, Page::class)->findOneBy([ - 'slug' => self::SLUG, - 'locale' => self::LOCALE, - ])); + 'slug' => self::SLUG, + 'locale' => self::LOCALE, + ])); $this->assertNull($this->getRepository($client, Menu::class)->findOneBy([ - 'title' => self::TITLE, - ])); + 'title' => self::TITLE, + ])); } } diff --git a/tests/Functional/Controller/Admin/PropertyControllerTest.php b/tests/Functional/Controller/Admin/PropertyControllerTest.php index 56ff926a..1d2fec2f 100644 --- a/tests/Functional/Controller/Admin/PropertyControllerTest.php +++ b/tests/Functional/Controller/Admin/PropertyControllerTest.php @@ -50,7 +50,11 @@ public function testAdminNewProperty(): void $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); } public function testAdminEditPhoto(): void @@ -97,7 +101,12 @@ public function testAdminEditProperty(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); + $crawler = $client->request('GET', sprintf( '/en/%s/%s/%d', $property->getCity()->getSlug(), @@ -123,7 +132,11 @@ public function testAdminDeletePhoto(): void $form = $crawler->selectButton('Delete')->form(); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); } /* @@ -139,10 +152,14 @@ public function testAdminDeleteProperty(): void $crawler = $client->request('GET', '/en/admin/property?sort_by=id'); $client->submit($crawler->filter('#delete-form-'.$property)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, Property::class)->findOneBy([ - 'slug' => 'test', - ])); + 'slug' => 'test', + ])); } } diff --git a/tests/Functional/Controller/Admin/Settings/HeaderSettingsControllerTest.php b/tests/Functional/Controller/Admin/Settings/HeaderSettingsControllerTest.php index c15487ff..947ca11b 100644 --- a/tests/Functional/Controller/Admin/Settings/HeaderSettingsControllerTest.php +++ b/tests/Functional/Controller/Admin/Settings/HeaderSettingsControllerTest.php @@ -53,7 +53,11 @@ public function testDeleteHeaderImage(): void $this->assertSelectorExists('.remove-header_image'); $client->submit($crawler->filter('#delete-form-header_image')->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); } public function testDeleteLogoImage(): void @@ -64,7 +68,11 @@ public function testDeleteLogoImage(): void $this->assertSelectorExists('.remove-logo_image'); $client->submit($crawler->filter('#delete-form-logo_image')->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); } public function testDeletedHeaderImage(): void @@ -82,7 +90,7 @@ public function testDeletedLogoImage(): void $client = self::createClient(); $this->assertEmpty($this->getRepository($client, Settings::class)->findOneBy([ - 'setting_name' => 'logo_image', - ])->getSettingValue()); + 'setting_name' => 'logo_image', + ])->getSettingValue()); } } diff --git a/tests/Functional/Controller/Admin/Settings/MainSettingsControllerTest.php b/tests/Functional/Controller/Admin/Settings/MainSettingsControllerTest.php index 032e7e83..e0e45267 100644 --- a/tests/Functional/Controller/Admin/Settings/MainSettingsControllerTest.php +++ b/tests/Functional/Controller/Admin/Settings/MainSettingsControllerTest.php @@ -32,7 +32,11 @@ public function testAdminEditSettings(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); } public function testPublicSettings(): void diff --git a/tests/Functional/Controller/Admin/UserControllerTest.php b/tests/Functional/Controller/Admin/UserControllerTest.php index 932a59ed..ff248548 100644 --- a/tests/Functional/Controller/Admin/UserControllerTest.php +++ b/tests/Functional/Controller/Admin/UserControllerTest.php @@ -31,7 +31,11 @@ public function testAdminNewUser(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $user = $this->getUser($client, 'test'); $this->assertNotNull($user); @@ -72,11 +76,15 @@ public function testAdminEditUser(): void ]); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $editedUser = $this->getRepository($client, User::class)->findOneBy([ - 'id' => $user, - ]); + 'id' => $user, + ]); $this->assertSame('edited', $editedUser->getUsername()); $this->assertNull($editedUser->getEmailVerifiedAt()); @@ -103,7 +111,11 @@ public function testAdminDeleteUser(): void $crawler = $client->request('GET', '/en/admin/user'); $client->submit($crawler->filter('#delete-form-'.$user)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getUser($client, 'edited')); } diff --git a/tests/Functional/Controller/DefaultControllerTest.php b/tests/Functional/Controller/DefaultControllerTest.php index 72761325..0b6e4a8a 100644 --- a/tests/Functional/Controller/DefaultControllerTest.php +++ b/tests/Functional/Controller/DefaultControllerTest.php @@ -27,7 +27,7 @@ public function testSecureUrls(string $url): void $client = self::createClient(); $client->request('GET', $url); $response = $client->getResponse(); - $this->assertSame(Response::HTTP_FOUND, $response->getStatusCode()); + $this->assertSame(Response::HTTP_FOUND, $response->getStatusCode(), $response->getContent()); $this->assertSame( 'http://localhost/en/login', $response->getTargetUrl(), diff --git a/tests/Functional/Controller/PageControllerTest.php b/tests/Functional/Controller/PageControllerTest.php index ec942403..e72ce154 100644 --- a/tests/Functional/Controller/PageControllerTest.php +++ b/tests/Functional/Controller/PageControllerTest.php @@ -43,6 +43,10 @@ public function testContactPage(): void ]); $client->submit($form); $this->assertEmailCount(1); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); } } diff --git a/tests/Functional/Controller/User/PhotoControllerTest.php b/tests/Functional/Controller/User/PhotoControllerTest.php index 0dbcd5e8..88c5afd9 100644 --- a/tests/Functional/Controller/User/PhotoControllerTest.php +++ b/tests/Functional/Controller/User/PhotoControllerTest.php @@ -94,6 +94,10 @@ public function testDeletePhoto(): void $form = $crawler->selectButton('Delete')->first()->form(); $client->submit($form); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); } } diff --git a/tests/Functional/Controller/User/PropertyControllerTest.php b/tests/Functional/Controller/User/PropertyControllerTest.php index 50195176..bafb00be 100644 --- a/tests/Functional/Controller/User/PropertyControllerTest.php +++ b/tests/Functional/Controller/User/PropertyControllerTest.php @@ -168,11 +168,15 @@ public function testDeleteProperty(): void $crawler = $client->request('GET', '/en/admin/property?sort_by=id'); $client->submit($crawler->filter('#delete-form-'.$property)->form()); - $this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode()); + $this->assertSame( + Response::HTTP_FOUND, + $client->getResponse()->getStatusCode(), + $client->getResponse()->getContent() + ); $this->assertNull($this->getRepository($client, Property::class)->findOneBy([ - 'slug' => 'test', - ])); + 'slug' => 'test', + ])); $this->resetSettings($client); } diff --git a/yarn.lock b/yarn.lock index ccd0df09..a0a58aa1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1690,13 +1690,13 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -body-parser@1.20.1: - version "1.20.1" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" - integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== +body-parser@1.20.2: + version "1.20.2" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd" + integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA== dependencies: bytes "3.1.2" - content-type "~1.0.4" + content-type "~1.0.5" debug "2.6.9" depd "2.0.0" destroy "1.2.0" @@ -1704,7 +1704,7 @@ body-parser@1.20.1: iconv-lite "0.4.24" on-finished "2.4.1" qs "6.11.0" - raw-body "2.5.1" + raw-body "2.5.2" type-is "~1.6.18" unpipe "1.0.0" @@ -1961,7 +1961,7 @@ content-disposition@0.5.4: dependencies: safe-buffer "5.2.1" -content-type@~1.0.4: +content-type@~1.0.4, content-type@~1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== @@ -1981,10 +1981,10 @@ cookie-signature@1.0.6: resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== -cookie@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" - integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== +cookie@0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" + integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== core-js-compat@^3.31.0, core-js-compat@^3.33.1: version "3.34.0" @@ -2543,16 +2543,16 @@ execa@^5.0.0: strip-final-newline "^2.0.0" express@^4.17.3: - version "4.18.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" - integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== + version "4.19.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465" + integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q== dependencies: accepts "~1.3.8" array-flatten "1.1.1" - body-parser "1.20.1" + body-parser "1.20.2" content-disposition "0.5.4" content-type "~1.0.4" - cookie "0.5.0" + cookie "0.6.0" cookie-signature "1.0.6" debug "2.6.9" depd "2.0.0" @@ -2691,9 +2691,9 @@ flatted@^3.2.9: integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== follow-redirects@^1.0.0: - version "1.15.4" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.4.tgz#cdc7d308bf6493126b17ea2191ea0ccf3e535adf" - integrity sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw== + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== forwarded@0.2.0: version "0.2.0" @@ -4032,10 +4032,10 @@ range-parser@^1.2.1, range-parser@~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.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" - integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== +raw-body@2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" + integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== dependencies: bytes "3.1.2" http-errors "2.0.0" @@ -4790,9 +4790,9 @@ webpack-cli@^5.0.1: webpack-merge "^5.7.3" webpack-dev-middleware@^5.3.1: - version "5.3.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" - integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA== + version "5.3.4" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz#eb7b39281cbce10e104eb2b8bf2b63fce49a3517" + integrity sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q== dependencies: colorette "^2.0.10" memfs "^3.4.3"