-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text Wrapper crashes without configuration #959
Comments
Same in 0.8.0. The #1055 fixes the issue however I'm getting another fatal The file "phinx.yml" does not exist (I'm using Update: I had to change CWD to root |
@piotr-cz If you set the path in |
Yes, it does, like that:: $app = new \Phinx\Console\PhinxApplication();
$wrap = new \Phinx\Wrapper\TextWrapper($app, [
'configuration' => $appSettings['root'] . '/phinx.php'
]); By the way I think it's time for v0.8.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the text wrapper does not work like it is described in the Documentation: LINK
When i just run
php -S localhost:8000 vendor/robmorgan/phinx/app/web.php
i get aPHP Fatal error: Uncaught Symfony\Component\Console\Exception\InvalidOptionException: The "--configuration" option requires a value.
(I run this from my project root, there is also a phinx.php located)
It works when i additionally set some Options like this. (It also seems, that
default_database
from the config file is ignored, and i need to set the 'environment' option.)So ether this is a bug, that the text wrapper crashes without setting configuration, or if the text wrapper needs the configuration this should be mentioned in the documentation.
Edit: Version is 0.6.4
The text was updated successfully, but these errors were encountered: