Skip to content

Version 1.3.0

Latest
Compare
Choose a tag to compare
@edjeavons edjeavons released this 22 Sep 15:12
1dff03a

Improvements to the database configuration assistant that runs during project creation.

  • Addition: DB_HOST will use 127.0.0.1 if localhost fails to connect *
  • Addition: Checks the database connection earlier in the process, so now it happens before the .env file is actually written
  • Addition: Offers to delete existing database tables if a database is being reused (useful for repetitive testing)
  • Fix: Ignore some PHP-CS warning/errors because we're running outside of WordPress here

* Some development environments (e.g. Herd) do not work with localhost connections if their PHP isn't configured with MySQL's socket path. Before this change developers needed to recognise the error and manually fix their .env during installation.