Add ignore parse errors to composer require checker

This commit is contained in:
Wojdylak 2023-11-14 16:09:33 +01:00
parent 5a1f03c171
commit 303b43063d
3 changed files with 2 additions and 6 deletions

View file

@ -109,4 +109,4 @@ jobs:
(cat composer.json | jq '.["autoload-dev"]["psr-4"] |= . + {"Sylius\\Behat\\": "src/Sylius/Behat/"}' | jq 'del(.autoload["psr-4"]["Sylius\\Behat\\"])') > _composer.json
mv _composer.json composer.json
composer dump-autoload
composer-require-checker check --config-file=composer-require-checker.json
composer-require-checker check --config-file=composer-require-checker.json --ignore-parse-errors

View file

@ -70,7 +70,3 @@ references related issues.
- https://github.com/stof/StofDoctrineExtensionsBundle/issues/455
- https://github.com/doctrine-extensions/DoctrineExtensions/issues/2600
- `doctrine/doctrine-bundle:2.11.0`:
This version uses the [readonly property](https://github.com/doctrine/DoctrineBundle/blob/2.11.0/Repository/ServiceEntityRepositoryProxy.php#L34), which is available from PHP 8.1 while the package also supports PHP 7.4 and 8.0, leading to compatibility issues.

View file

@ -180,7 +180,7 @@
},
"conflict": {
"api-platform/core": "2.7.0",
"doctrine/doctrine-bundle": "2.3.0 || 2.11.0",
"doctrine/doctrine-bundle": "2.3.0",
"doctrine/migrations": "3.5.3",
"doctrine/orm": ">= 2.16.0",
"jms/serializer-bundle": "4.1.0",