mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-606: CLI documentation is out of date #747
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (May 21, 2010).
Originally assigned to: @jwage on GitHub.
Jira issue originally created by user artefact2:
The documentation never mentions that you should download symfony's source code on github and tweak the bin/doctrine.php file if you want to get it working.
@doctrinebot commented on GitHub (May 21, 2010):
Comment created by romanb:
Downloading the symfony CLI code should not be necessary. If it is, that needs to be addressed.
@doctrinebot commented on GitHub (May 21, 2010):
Comment created by artefact2:
Well it was necessary for me. This is an extract of bin/doctrine.php :
$classLoader = new \Doctrine\Common\ClassLoader('Symfony', DIR . '/../lib/vendor');
$classLoader->register();
$configFile = getcwd() . DIRECTORY_SEPARATOR . 'cli-config.php';
$helperSet = null;
if (file_exists($configFile)) {
if ( ! is_readable($configFile)) {
trigger_error(
'Configuration file [' . $configFile . '] does not have read permission.', E_ERROR
);
}
}
$helperSet = ($helperSet) ?: new \Symfony\Components\Console\Helper\HelperSet();
$cli = new \Symfony\Components\Console\Application('Doctrine Command Line Interface', Doctrine\Common\Version::VERSION);
@doctrinebot commented on GitHub (May 25, 2010):
Comment created by @jwage:
This should be fine. We have the Symfony code there in lib/vendor/Symfony
@doctrinebot commented on GitHub (May 25, 2010):
Issue was closed with resolution "Fixed"