diff --git a/composer.lock b/composer.lock index c03a83ec04beb3bdd8b90167a7f3742735429619..0a1eed21aea9a1d76b65aad4ca91d57fddd93352 100755 --- a/composer.lock +++ b/composer.lock @@ -1617,29 +1617,29 @@ }, { "name": "doctrine/orm", - "version": "2.14.3", + "version": "2.15.1", "source": { "type": "git", "url": "https://github.com/doctrine/orm.git", - "reference": "a64f315dfeae5e50b17f132626fd9e9b4ec8985d" + "reference": "9bc6f5b4ac6f1e7d4248b2efbd01a748782075bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/orm/zipball/a64f315dfeae5e50b17f132626fd9e9b4ec8985d", - "reference": "a64f315dfeae5e50b17f132626fd9e9b4ec8985d", + "url": "https://api.github.com/repos/doctrine/orm/zipball/9bc6f5b4ac6f1e7d4248b2efbd01a748782075bc", + "reference": "9bc6f5b4ac6f1e7d4248b2efbd01a748782075bc", "shasum": "" }, "require": { "composer-runtime-api": "^2", "doctrine/cache": "^1.12.1 || ^2.1.1", - "doctrine/collections": "^1.5 || ^2.0", + "doctrine/collections": "^1.5 || ^2.1", "doctrine/common": "^3.0.3", "doctrine/dbal": "^2.13.1 || ^3.2", "doctrine/deprecations": "^0.5.3 || ^1", "doctrine/event-manager": "^1.2 || ^2", "doctrine/inflector": "^1.4 || ^2.0", - "doctrine/instantiator": "^1.3", - "doctrine/lexer": "^1.2.3 || ^2", + "doctrine/instantiator": "^1.3 || ^2", + "doctrine/lexer": "^2", "doctrine/persistence": "^2.4 || ^3", "ext-ctype": "*", "php": "^7.1 || ^8.0", @@ -1653,16 +1653,16 @@ }, "require-dev": { "doctrine/annotations": "^1.13 || ^2", - "doctrine/coding-standard": "^9.0.2 || ^11.0", + "doctrine/coding-standard": "^9.0.2 || ^12.0", "phpbench/phpbench": "^0.16.10 || ^1.0", - "phpstan/phpstan": "~1.4.10 || 1.10.6", + "phpstan/phpstan": "~1.4.10 || 1.10.14", "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.0", "symfony/var-exporter": "^4.4 || ^5.4 || ^6.2", "symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0", - "vimeo/psalm": "4.30.0 || 5.9.0" + "vimeo/psalm": "4.30.0 || 5.11.0" }, "suggest": { "ext-dom": "Provides support for XSD validation for XML mapping files", @@ -1712,9 +1712,9 @@ ], "support": { "issues": "https://github.com/doctrine/orm/issues", - "source": "https://github.com/doctrine/orm/tree/2.14.3" + "source": "https://github.com/doctrine/orm/tree/2.15.1" }, - "time": "2023-04-20T09:46:32+00:00" + "time": "2023-05-07T18:56:25+00:00" }, { "name": "doctrine/persistence", @@ -3286,16 +3286,16 @@ }, { "name": "knpuniversity/oauth2-client-bundle", - "version": "v2.14.0", + "version": "v2.15.0", "source": { "type": "git", "url": "https://github.com/knpuniversity/oauth2-client-bundle.git", - "reference": "f022a334902fc995815f9d2b586a4a0061101410" + "reference": "9df0736d02eb20b953ec8e9986743611747d9ed9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/knpuniversity/oauth2-client-bundle/zipball/f022a334902fc995815f9d2b586a4a0061101410", - "reference": "f022a334902fc995815f9d2b586a4a0061101410", + "url": "https://api.github.com/repos/knpuniversity/oauth2-client-bundle/zipball/9df0736d02eb20b953ec8e9986743611747d9ed9", + "reference": "9df0736d02eb20b953ec8e9986743611747d9ed9", "shasum": "" }, "require": { @@ -3340,9 +3340,9 @@ ], "support": { "issues": "https://github.com/knpuniversity/oauth2-client-bundle/issues", - "source": "https://github.com/knpuniversity/oauth2-client-bundle/tree/v2.14.0" + "source": "https://github.com/knpuniversity/oauth2-client-bundle/tree/v2.15.0" }, - "time": "2023-03-20T14:31:20+00:00" + "time": "2023-05-03T16:44:38+00:00" }, { "name": "laminas/laminas-code", @@ -3535,39 +3535,40 @@ }, { "name": "lcobucci/jwt", - "version": "4.3.0", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/lcobucci/jwt.git", - "reference": "4d7de2fe0d51a96418c0d04004986e410e87f6b4" + "reference": "47bdb0e0b5d00c2f89ebe33e7e384c77e84e7c34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/jwt/zipball/4d7de2fe0d51a96418c0d04004986e410e87f6b4", - "reference": "4d7de2fe0d51a96418c0d04004986e410e87f6b4", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/47bdb0e0b5d00c2f89ebe33e7e384c77e84e7c34", + "reference": "47bdb0e0b5d00c2f89ebe33e7e384c77e84e7c34", "shasum": "" }, "require": { "ext-hash": "*", "ext-json": "*", - "ext-mbstring": "*", "ext-openssl": "*", "ext-sodium": "*", - "lcobucci/clock": "^2.0 || ^3.0", - "php": "^7.4 || ^8.0" + "php": "~8.1.0 || ~8.2.0", + "psr/clock": "^1.0" }, "require-dev": { - "infection/infection": "^0.21", - "lcobucci/coding-standard": "^6.0", - "mikey179/vfsstream": "^1.6.7", - "phpbench/phpbench": "^1.2", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/php-invoker": "^3.1", - "phpunit/phpunit": "^9.5" + "infection/infection": "^0.26.19", + "lcobucci/clock": "^3.0", + "lcobucci/coding-standard": "^9.0", + "phpbench/phpbench": "^1.2.8", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.10.3", + "phpstan/phpstan-deprecation-rules": "^1.1.2", + "phpstan/phpstan-phpunit": "^1.3.8", + "phpstan/phpstan-strict-rules": "^1.5.0", + "phpunit/phpunit": "^10.0.12" + }, + "suggest": { + "lcobucci/clock": ">= 3.0" }, "type": "library", "autoload": { @@ -3593,7 +3594,7 @@ ], "support": { "issues": "https://github.com/lcobucci/jwt/issues", - "source": "https://github.com/lcobucci/jwt/tree/4.3.0" + "source": "https://github.com/lcobucci/jwt/tree/5.0.0" }, "funding": [ { @@ -3605,7 +3606,7 @@ "type": "patreon" } ], - "time": "2023-01-02T13:28:00+00:00" + "time": "2023-02-25T21:35:16+00:00" }, { "name": "league/oauth2-client", @@ -3679,21 +3680,22 @@ }, { "name": "lexik/jwt-authentication-bundle", - "version": "v2.18.1", + "version": "v2.19.0", "source": { "type": "git", "url": "https://github.com/lexik/LexikJWTAuthenticationBundle.git", - "reference": "0609638166981258bd68663fd15b3c57ac63a0df" + "reference": "1305d7ec0ee540340d9041bd97659a13a0d1e6ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/zipball/0609638166981258bd68663fd15b3c57ac63a0df", - "reference": "0609638166981258bd68663fd15b3c57ac63a0df", + "url": "https://api.github.com/repos/lexik/LexikJWTAuthenticationBundle/zipball/1305d7ec0ee540340d9041bd97659a13a0d1e6ed", + "reference": "1305d7ec0ee540340d9041bd97659a13a0d1e6ed", "shasum": "" }, "require": { "ext-openssl": "*", - "lcobucci/jwt": "^3.4|^4.0", + "lcobucci/clock": "^1.2|^2.0|^3.0", + "lcobucci/jwt": "^3.4|^4.1|^5.0", "namshi/jose": "^7.2", "php": ">=7.1", "symfony/config": "^4.4|^5.3|^6.0", @@ -3781,7 +3783,7 @@ ], "support": { "issues": "https://github.com/lexik/LexikJWTAuthenticationBundle/issues", - "source": "https://github.com/lexik/LexikJWTAuthenticationBundle/tree/v2.18.1" + "source": "https://github.com/lexik/LexikJWTAuthenticationBundle/tree/v2.19.0" }, "funding": [ { @@ -3793,7 +3795,7 @@ "type": "tidelift" } ], - "time": "2023-02-13T12:30:12+00:00" + "time": "2023-05-06T15:58:15+00:00" }, { "name": "myclabs/deep-copy", @@ -4602,16 +4604,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.20.3", + "version": "1.20.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2" + "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6c04009f6cae6eda2f040745b6b846080ef069c2", - "reference": "6c04009f6cae6eda2f040745b6b846080ef069c2", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd", + "reference": "7d568c87a9df9c5f7e8b5f075fc469aa8cb0a4cd", "shasum": "" }, "require": { @@ -4641,9 +4643,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.3" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.20.4" }, - "time": "2023-04-25T09:01:03+00:00" + "time": "2023-05-02T09:19:37+00:00" }, { "name": "phpunit/php-code-coverage", @@ -6323,16 +6325,16 @@ }, { "name": "sebastian/diff", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d" + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/3461e3fccc7cfdfc2720be910d3bd73c69be590d", - "reference": "3461e3fccc7cfdfc2720be910d3bd73c69be590d", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", "shasum": "" }, "require": { @@ -6377,7 +6379,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" }, "funding": [ { @@ -6385,7 +6387,7 @@ "type": "github" } ], - "time": "2020-10-26T13:10:38+00:00" + "time": "2023-05-07T05:35:17+00:00" }, { "name": "sebastian/environment", @@ -12023,16 +12025,16 @@ }, { "name": "twig/extra-bundle", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/twigphp/twig-extra-bundle.git", - "reference": "a961e553a624eebdbd423ad5ab931497ca6d87cd" + "reference": "4a9674e775f49a9df5e26da66546e8f3364afe67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/twig-extra-bundle/zipball/a961e553a624eebdbd423ad5ab931497ca6d87cd", - "reference": "a961e553a624eebdbd423ad5ab931497ca6d87cd", + "url": "https://api.github.com/repos/twigphp/twig-extra-bundle/zipball/4a9674e775f49a9df5e26da66546e8f3364afe67", + "reference": "4a9674e775f49a9df5e26da66546e8f3364afe67", "shasum": "" }, "require": { @@ -12053,11 +12055,6 @@ "twig/string-extra": "^2.12|^3.0" }, "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "3.5-dev" - } - }, "autoload": { "psr-4": { "Twig\\Extra\\TwigExtraBundle\\": "" @@ -12086,7 +12083,7 @@ "twig" ], "support": { - "source": "https://github.com/twigphp/twig-extra-bundle/tree/v3.5.1" + "source": "https://github.com/twigphp/twig-extra-bundle/tree/v3.6.0" }, "funding": [ { @@ -12098,20 +12095,20 @@ "type": "tidelift" } ], - "time": "2023-02-08T07:44:55+00:00" + "time": "2023-04-14T11:03:02+00:00" }, { "name": "twig/string-extra", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/twigphp/string-extra.git", - "reference": "e8403cf7140319917577604be406dfb371246437" + "reference": "fab682645b3f8730fbdb7bf9ec8fe668d6f76638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/string-extra/zipball/e8403cf7140319917577604be406dfb371246437", - "reference": "e8403cf7140319917577604be406dfb371246437", + "url": "https://api.github.com/repos/twigphp/string-extra/zipball/fab682645b3f8730fbdb7bf9ec8fe668d6f76638", + "reference": "fab682645b3f8730fbdb7bf9ec8fe668d6f76638", "shasum": "" }, "require": { @@ -12124,11 +12121,6 @@ "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.5-dev" - } - }, "autoload": { "psr-4": { "Twig\\Extra\\String\\": "" @@ -12158,7 +12150,7 @@ "unicode" ], "support": { - "source": "https://github.com/twigphp/string-extra/tree/v3.5.1" + "source": "https://github.com/twigphp/string-extra/tree/v3.6.0" }, "funding": [ { @@ -12170,20 +12162,20 @@ "type": "tidelift" } ], - "time": "2023-02-08T07:44:55+00:00" + "time": "2023-02-09T06:45:16+00:00" }, { "name": "twig/twig", - "version": "v3.5.1", + "version": "v3.6.0", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "a6e0510cc793912b451fd40ab983a1d28f611c15" + "reference": "106c170d08e8415d78be2d16c3d057d0d108262b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/a6e0510cc793912b451fd40ab983a1d28f611c15", - "reference": "a6e0510cc793912b451fd40ab983a1d28f611c15", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/106c170d08e8415d78be2d16c3d057d0d108262b", + "reference": "106c170d08e8415d78be2d16c3d057d0d108262b", "shasum": "" }, "require": { @@ -12192,15 +12184,10 @@ "symfony/polyfill-mbstring": "^1.3" }, "require-dev": { - "psr/container": "^1.0", + "psr/container": "^1.0|^2.0", "symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.5-dev" - } - }, "autoload": { "psr-4": { "Twig\\": "src/" @@ -12234,7 +12221,7 @@ ], "support": { "issues": "https://github.com/twigphp/Twig/issues", - "source": "https://github.com/twigphp/Twig/tree/v3.5.1" + "source": "https://github.com/twigphp/Twig/tree/v3.6.0" }, "funding": [ { @@ -12246,7 +12233,7 @@ "type": "tidelift" } ], - "time": "2023-02-08T07:49:20+00:00" + "time": "2023-05-03T19:06:57+00:00" }, { "name": "webmozart/assert", @@ -13553,12 +13540,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "5e3dfa62068e207fd3b00be0f6d4657185c1b262" + "reference": "f86a07b7eb07f9297e939d8c5f97178b2c189dfe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/5e3dfa62068e207fd3b00be0f6d4657185c1b262", - "reference": "5e3dfa62068e207fd3b00be0f6d4657185c1b262", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/f86a07b7eb07f9297e939d8c5f97178b2c189dfe", + "reference": "f86a07b7eb07f9297e939d8c5f97178b2c189dfe", "shasum": "" }, "conflict": { @@ -13586,7 +13573,7 @@ "automad/automad": "<1.8", "awesome-support/awesome-support": "<=6.0.7", "aws/aws-sdk-php": ">=3,<3.2.1", - "azuracast/azuracast": "<0.18", + "azuracast/azuracast": "<0.18.3", "backdrop/backdrop": "<1.24.2", "badaso/core": "<2.7", "bagisto/bagisto": "<0.1.5", @@ -13634,7 +13621,7 @@ "contao/core-bundle": "<4.9.40|>=4.10,<4.11.7|>=4.13,<4.13.21|>=5.1,<5.1.4|= 4.10.0", "contao/listing-bundle": ">=4,<4.4.8", "contao/managed-edition": "<=1.5", - "craftcms/cms": "<3.7.68|>= 4.0.0-RC1, < 4.3.7|>= 4.0.0-RC1, < 4.2.1", + "craftcms/cms": "<=3.8.3|>=4,<=4.4.3|>= 4.0.0-RC1, < 4.3.7|>= 4.0.0-RC1, < 4.2.1", "croogo/croogo": "<3.0.7", "cuyz/valinor": "<0.12", "czproject/git-php": "<4.0.3", @@ -13821,7 +13808,7 @@ "modx/revolution": "<= 2.8.3-pl|<2.8", "mojo42/jirafeau": "<4.4", "monolog/monolog": ">=1.8,<1.12", - "moodle/moodle": "<4.0.7|>=4.1-beta,<4.1.2|= 3.11", + "moodle/moodle": "<4.2-rc.2|= 3.11", "mustache/mustache": ">=2,<2.14.1", "namshi/jose": "<2.2", "neoan3-apps/template": "<1.1.1", @@ -13833,7 +13820,7 @@ "netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15", "nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6", "nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13", - "nilsteampassnet/teampass": "<3.0.3", + "nilsteampassnet/teampass": "<3.0.7", "notrinos/notrinos-erp": "<=0.7", "noumo/easyii": "<=0.9", "nukeviet/nukeviet": "<4.5.2", @@ -14151,7 +14138,7 @@ "type": "tidelift" } ], - "time": "2023-05-01T23:04:11+00:00" + "time": "2023-05-06T00:13:11+00:00" }, { "name": "symfony/browser-kit", diff --git a/src/Domain/AIPD/Form/Type/CriterePrincipeFondamentalType.php b/src/Domain/AIPD/Form/Type/CriterePrincipeFondamentalType.php index 608edf551b21a373472ae3e703f254f2be5ab16a..f82a206a02be35b5b6394c87659f73fdc99bb1f4 100644 --- a/src/Domain/AIPD/Form/Type/CriterePrincipeFondamentalType.php +++ b/src/Domain/AIPD/Form/Type/CriterePrincipeFondamentalType.php @@ -29,7 +29,7 @@ class CriterePrincipeFondamentalType extends AbstractType $builder ->add('label', TextType::class) ->add('labelLivrable', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) @@ -41,17 +41,17 @@ class CriterePrincipeFondamentalType extends AbstractType 'required' => false, ]) ->add('texteConformite', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) ->add('texteNonConformite', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) ->add('texteNonApplicable', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) diff --git a/src/Domain/AIPD/Form/Type/MesureProtectionAIPDType.php b/src/Domain/AIPD/Form/Type/MesureProtectionAIPDType.php index 48e8eeb696db5f215427d94fe83cdb85416f3908..2a02c655a39740b21d27a84e79a129aa0eaf6f48 100644 --- a/src/Domain/AIPD/Form/Type/MesureProtectionAIPDType.php +++ b/src/Domain/AIPD/Form/Type/MesureProtectionAIPDType.php @@ -10,7 +10,6 @@ use Symfony\Component\Form\Extension\Core\Type\IntegerType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; -use Symfony\Component\Validator\Constraints\Length; class MesureProtectionAIPDType extends AbstractType { @@ -18,27 +17,27 @@ class MesureProtectionAIPDType extends AbstractType { $builder ->add('nom', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) ->add('nomCourt', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) ->add('labelLivrable', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) ->add('phrasePreconisation', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) ->add('detail', TextType::class, [ - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ]) diff --git a/src/Domain/AIPD/Form/Type/ModeleScenarioMenaceType.php b/src/Domain/AIPD/Form/Type/ModeleScenarioMenaceType.php index f2263304ecec50ec79ef10ffb334f1ee694ff727..1635808ea05a7c24a16487ba1ba5388463a19d5b 100644 --- a/src/Domain/AIPD/Form/Type/ModeleScenarioMenaceType.php +++ b/src/Domain/AIPD/Form/Type/ModeleScenarioMenaceType.php @@ -21,7 +21,7 @@ class ModeleScenarioMenaceType extends AbstractType $builder ->add('nom', TextType::class, [ 'label' => false, - 'attr' => [ + 'attr' => [ 'maxlength' => 255, ], ])