Skip to content

Loading…

DDC-793: CLI doctrine.php tool should not hard code require_once paths -- leave the include path setup to cli-config.php #5308

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user mjh_ca:

The current CLI tool doctrine.php makes assumptions about lib/vendor paths. Consider refactoring to allow cli-config.php to contain any include path/autoloader setup and remove hard coded paths from doctrine.php

@doctrinebot

Comment created by @beberlei:

Denied! That is really the PEAR binary code, nothing used in another context.

I refactored the large bunch of code to Doctrine\ORM\Tools\Console\ConsoleRunner::main() and ::addCommands().

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-RC1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
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.