Skip to content

Commit

Permalink
Drop version constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
goetas committed Feb 9, 2020
1 parent c57f5e0 commit 1000287
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions composer.json
Expand Up @@ -4,9 +4,8 @@
"license": "MIT",
"description": "A pack for the Doctrine ORM",
"require": {
"php": "^7.0",
"doctrine/orm": "^2.5.11",
"doctrine/doctrine-bundle": "^1.6.10|^2.0",
"doctrine/doctrine-migrations-bundle": "^1.3|^2.0"
"doctrine/orm": "*",
"doctrine/doctrine-bundle": "*",
"doctrine/doctrine-migrations-bundle": "*"
}
}

6 comments on commit 1000287

@blry
Copy link

@blry blry commented on 1000287 Feb 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @goetas

After update, I can't run console, get some errors. I tried to use add these packages explicitly with old versions and it started to work
"doctrine/orm": "^2.5.11",
"doctrine/doctrine-bundle": "^1.6.10|^2.0",
"doctrine/doctrine-migrations-bundle": "^1.3|^2.0",

Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!! PHP Warning: zend.assertions may be completely enabled or disabled only in php.ini in /var/www/vendor/symfony/error-handler/Debug.php on line 32
!! PHP Stack trace:
!! PHP 1. {main}() /var/www/bin/console:0
!! PHP 2. Symfony\Component\ErrorHandler\Debug::enable() /var/www/bin/console:36
!! PHP 3. ini_set() /var/www/vendor/symfony/error-handler/Debug.php:32
!!
!! In ArrayNode.php line 319:
!!
!! Unrecognized options "dir_name, namespace" under "doctrine_migrations". Ava
!! ilable options are "all_or_nothing", "check_database_platform", "connection
!! ", "custom_template", "em", "migrations", "migrations_paths", "name", "orga
!! nize_migrations", "services", "storage".

@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented on 1000287 Feb 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warning is fixed in symfony/symfony#35710

@blry
Copy link

@blry blry commented on 1000287 Feb 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolas-grekas does it relate to "unrecognized options 'dir_name, namespace' under 'doctrine_migrations'" exception (doctrine_migrations.yaml)? Got this on Symfony 5

@nicolas-grekas
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope

@goetas
Copy link
Contributor Author

@goetas goetas commented on 1000287 Feb 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you using minimum stability dev? It seems that you got the unreleased master version of doctrine migrations bundle

@goetas
Copy link
Contributor Author

@goetas goetas commented on 1000287 Feb 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably you did not unpack the pack package.

I expressed my opinion in #22 (comment) for this feature

Please sign in to comment.