Skip to content

Commit

Permalink
feat(o10r-symfony-template-154): Upgrade doctrine/orm to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiidonii committed Jun 4, 2024
1 parent a46f70e commit 2d53f6c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/prepare-configs.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
20 changes: 20 additions & 0 deletions tools/update_versions.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2d53f6c

Please sign in to comment.