diff --git a/tools/prepare-configs.php b/tools/prepare-configs.php index 38fe752..3dd4df5 100644 --- a/tools/prepare-configs.php +++ b/tools/prepare-configs.php @@ -11,7 +11,7 @@ if ('4.0' === $doctrineVersion) { $skipPath = __DIR__ . '/../src/Doctrine/Driver/IamDecorator.php'; } else { - $skipPath = __DIR__ . '/../src/Doctrine/Driver/IamDecoratorDoctrine30.php'; + $skipPath = __DIR__ . '/../src/Doctrine/Driver/IamDecoratorDoctrine40.php'; } $neonFile = __DIR__ . '/../phpstan.neon'; diff --git a/tools/update_versions.sh b/tools/update_versions.sh new file mode 100644 index 0000000..18cbfa3 --- /dev/null +++ b/tools/update_versions.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +#!/usr/bin/env bash + +rm -rf tests/App/var/cache/* +symfonyVersion=${1:-6.4.*} +dbalVersion=${2:-3.0} + +rm -rf vendor composer.lock; +composer require symfony/config:$symfonyVersion --no-update --no-scripts +composer require symfony/dependency-injection:$symfonyVersion --no-update --no-scripts +composer require symfony/http-kernel:$symfonyVersion --no-update --no-scripts +composer require symfony/cache:$symfonyVersion --no-update --no-scripts +composer require doctrine/dbal:$dbalVersion --no-update --no-scripts -W +composer require --dev symfony/yaml:$symfonyVersion --no-update --no-scripts +composer require --dev symfony/phpunit-bridge:$symfonyVersion --no-update --no-scripts +composer require --dev symfony/framework-bundle:$symfonyVersion --no-update --no-scripts + +composer install +