database name as option, som small improvements#21
database name as option, som small improvements#21elgaard wants to merge 10 commits intoalwex:masterfrom
Conversation
ignore missing SQL migration files --database option, so that similar databases can be migrated with generic env file. For e.g., testing scripts use environment editor
|
Hi Elgaard, thank you for contributing. Can you please make sure that your code follow the PSR2 standard, I have updated the master branch fo comes with some dev utilities such as docker and phpcs to help contributors, a well as a guideline for contributors. Please merge back master to your code and make sure:
Thank you. |
|
It now follows PSR2 and have unit tests. |
|
Just a few formatting issues remains :) |
|
Can you give me a hint about the formatting. |
|
I have commented on your code, but globally, it is about adding space around operators and removing extra blank lines, eg:
which are formatting rules not covered by PSR2: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md#7-conclusion |
|
I tried to to fix formatting issues |
|
Are there still issues? |
We need this for testing scripts that copy and create databases on the fly, so that we do not have to create environment files each time.