Closed bertod closed 4 years ago
I rewrited it using env.php inclusion instead of using regex
Regarding format your code (PSR-2), I'm sorry about it, I think that is a problem from my editor, because the code isn't actually formatted bad as you can see on git. I will fix it
Hi @bertod , Thanks for contributing, I have merged your category attribute SQL fix as a separate merge to keep things clean. Please try to keep one issue per merge request.
@tmotyl regarding the database port, I found on the DevDocs (https://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-install.html) that you can include the port in the host. So I think it will work.
UPDATE. I tried on a Magento2 installation: I changed the DB port and the env.php reports the hostname plus port number as written in the dev docs.
please resolve the conflict, other changes looks good
Conflicts are fixed
Reading database dbname, username and password, like you can do in Magento 1 from local.xml
envscraping.zip