From 30e26dc2faf926d6aea907fff81e587810ab15b1 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Thu, 9 Oct 2025 06:43:19 -0300 Subject: [PATCH] fix: Add YAML front matter to configuration files for consistency. --- .styleci.yml | 1 + CHANGELOG.md | 2 ++ README.md | 1 + codeception.yml | 1 + tests/Acceptance.suite.yml | 1 + tests/Functional.suite.yml | 1 + tests/Unit.suite.yml | 1 + tests/_envs/dockerized.yml | 1 + tests/_envs/php-builtin.yml | 1 + 9 files changed, 10 insertions(+) diff --git a/.styleci.yml b/.styleci.yml index d9b7e2a..e34cf9c 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,3 +1,4 @@ +--- preset: psr12 risky: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a0d890..0ff53ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.1.3 Under development +- Bug #204: Add YAML front matter to configuration files for consistency (@terabytesoftw) + ## 0.1.2 October 8, 2025 - Bug #197: Update workflows and documentation for improved CI/CD processes and feature clarity (@terabytesoftw) diff --git a/README.md b/README.md index a275bf5..5213b7e 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ php -S localhost:8080 -t web ./yii serve ``` +> [!IMPORTANT] > Your application will be available at `http://localhost:8080` or at the address set in `--address` option. #### Directory structure diff --git a/codeception.yml b/codeception.yml index 9c300d2..fe82d62 100644 --- a/codeception.yml +++ b/codeception.yml @@ -1,3 +1,4 @@ +--- namespace: app\tests bootstrap: _bootstrap.php support_namespace: Support diff --git a/tests/Acceptance.suite.yml b/tests/Acceptance.suite.yml index abe2320..fbb86ce 100644 --- a/tests/Acceptance.suite.yml +++ b/tests/Acceptance.suite.yml @@ -1,3 +1,4 @@ +--- # Codeception Test Suite Configuration # # Suite for acceptance tests. diff --git a/tests/Functional.suite.yml b/tests/Functional.suite.yml index 7d5ef82..54de129 100644 --- a/tests/Functional.suite.yml +++ b/tests/Functional.suite.yml @@ -1,3 +1,4 @@ +--- # Codeception Test Suite Configuration # # Suite for functional tests diff --git a/tests/Unit.suite.yml b/tests/Unit.suite.yml index 6790db3..f37eaf0 100644 --- a/tests/Unit.suite.yml +++ b/tests/Unit.suite.yml @@ -1,3 +1,4 @@ +--- # Codeception Test Suite Configuration # # Suite for unit or integration tests. diff --git a/tests/_envs/dockerized.yml b/tests/_envs/dockerized.yml index abbe856..eb20fbb 100644 --- a/tests/_envs/dockerized.yml +++ b/tests/_envs/dockerized.yml @@ -1,3 +1,4 @@ +--- modules: config: PhpBrowser: diff --git a/tests/_envs/php-builtin.yml b/tests/_envs/php-builtin.yml index ad3b2fb..6ef6846 100644 --- a/tests/_envs/php-builtin.yml +++ b/tests/_envs/php-builtin.yml @@ -1,3 +1,4 @@ +--- extensions: enabled: - Codeception\Extension\RunProcess: