build-configs/CHANGELOG.md
Oliver Davies 16ad71f4f4 chore: add missing values to the Config DTO
* Add `dockerfile.stages.*.extra_directories` as an optional list of
  strings.
* Allow `php.phpstan` and `php.phpcs` to be `false` or a Collection so
  their configuration files can not be generated.
* Add `php.phpunit` and allow it to be set to `false` so its
  configuration files can not be generated.
* Add `database.extra_databases`
* Add `php.phpstan.baseline` as an optional boolean.
* Add `node.version` as a string.
2023-11-22 23:50:20 +00:00

1.2 KiB

Changelog

2023-11-22

Added

  • Add CHANGELOG.md.
  • Add missing validation rules to the Configuration DTO object.
    • Add dockerfile.stages.*.extra_directories as an optional list of strings (used in the Drupal Commerce Kickstart example).
    • Allow php.phpstan and php.phpcs to be false or a Collection so their configuration files can not be generated (used in the Drupal Commerce Kickstart example).
    • Add php.phpunit and allow it to be set to false so its configuration files can not be generated (used in the Drupal Commerce Kickstart example).
      • No further PHPUnit configuration is supported.
    • Add database.extra_databases
    • Add php.phpstan.baseline as an optional boolean.
    • Add node.version as a string.
  • Add a test to ensure the project type is a valid type.
  • Add a test to ensure the web server is a valid type.
  • Add a test task to run script.

Changed

  • App\Enum\ProjectType now returns a string.
  • App\Enum\Webserver now returns a string.
  • ConfigurationValidatorTest no longer performs serialisation.
  • Use set -o errexit and set -o pipefail in run scripts instead of set -eu.
  • Use new database credentials by default.