Skip to content

Loading…

DBAL-16: dbal:import throws LogicException - Cannot add an argument after an array argument. #1316

Closed
doctrinebot opened this Issue · 8 comments

2 participants

@doctrinebot

Jira issue originally created by user darkangel:

If I run the following command:
\
php doctrine.php dbal:import "..\data\sql\initial-data.sql"

I get:

Cannot add an argument after an array argument.```
@doctrinebot

Comment created by @beberlei:

This seems to be a bug in the symfony console component, i'll check it out.

@doctrinebot

Comment created by @beberlei:

pushed bug upstream, marking as trivial

@doctrinebot

Comment created by ferdous:

I am getting same. it seems an old issue. we would to see it resolved.

@doctrinebot

Comment created by @beberlei:

As i said, its an upstream bug. Symfony hasnt fixed it yet.

@doctrinebot

Comment created by aheimlich:

The Symfony bug that this relates to (http://trac.symfony-project.org/ticket/8336) has been fixed for a while now (see http://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Input/InputDefinition.php#L71).

@doctrinebot

Comment created by @beberlei:

Updated to latest Console version to fix this bug.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0.0-RC1-RC3 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.