From c9c3a8c34ac5ef21bdd388b91474a8efd3bc9b78 Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Mon, 14 Sep 2026 14:39:20 +0100 Subject: [PATCH] release: 5.2.0 --- .hod/PROJECT.md | 13 +++++++-- .hod/lock | 28 ++++++++++++++++--- composer.json | 4 +-- src/Pest.php | 2 +- ...isual_snapshot_of_help_command_output.snap | 2 +- ...isual_snapshot_of_help_command_output.snap | 2 +- 6 files changed, 39 insertions(+), 12 deletions(-) diff --git a/.hod/PROJECT.md b/.hod/PROJECT.md index ec23580a..181a3c9b 100644 --- a/.hod/PROJECT.md +++ b/.hod/PROJECT.md @@ -1,7 +1,14 @@ # The intention of this project -Write the intention of the project here. Say what the project does and who uses it. +Pest is a testing framework for PHP with a focus on simplicity. A PHP developer uses it to write the tests of an application or of a package, and an AI agent reads its output. It is a package, and `src/Functions.php` holds its public API. -Give the command that installs the dependencies, the command that runs the tests and the command that starts the program. Name each directory and give its function. +Install the dependencies with `composer install`. Run the tests with `composer test`. Start the program with `./bin/pest`. -Write a decision that one directory needs in the `AGENTS.md` file of that directory. +- `src/` — the framework: the plugins, the expectation API, the test case and the console output +- `bin/` — the executable `pest` and the worker of the parallel runner +- `overrides/` — the classes of PHPUnit that Pest replaces, which `src/Bootstrappers/BootOverrides.php` loads at boot +- `resources/` — the views of the console output and the base configuration of PHPUnit +- `stubs/` — the files that `pest --init` writes into a project +- `tests/` — the tests of the framework, in Pest itself +- `tests-external/` — the tests that must sit outside `tests/` +- `docker/` — the image that runs the tests on one version of PHP diff --git a/.hod/lock b/.hod/lock index 82dbd473..426e6ddc 100644 --- a/.hod/lock +++ b/.hod/lock @@ -1,12 +1,32 @@ -1a51f3f6c4eef45e6995bb5ac9a82cf3f23ccad0c68cc4f957796bb9fc198f58 .agents/skills/deps-upgrade/SKILL.md +8fee50af5e8d9ff55db278de9701b10e11dfef6eecfc4127f2608c85f0f0fdd1 .agents/skills/code-immutability/SKILL.md +d489e18e5863e814795f5674a58f507e98fbbeb341a218dbd5bc9173d39554d3 .agents/skills/code-immutability/agents/openai.yaml +0c47a67a1bcb590b057984fa4e9c4704fb3485652864f3e5ac6a3ba8200e74f4 .agents/skills/code-messages/SKILL.md +fc01d0c81e189623e6e7c912498f46f63f489bbe59967cccde742ea2c4e31b5a .agents/skills/code-messages/agents/openai.yaml +3d39b47c159c0bbdc413781afe12cdb9fcad4086d4810a6c11dfd0c909d90e81 .agents/skills/code-quality/SKILL.md +f47191e1bad34e547d1b3ee3ae111c417c383ec5459d467bfae5e832d86275c9 .agents/skills/code-quality/agents/openai.yaml +9d5e921bdfa05ef955657d59702e79a83b44853c075d513793bb76a7f479004f .agents/skills/code-slop/SKILL.md +520a3834948850bf7e2232d92341f07ff7bfc9e67247818b56fb576ca6dbf169 .agents/skills/code-slop/agents/openai.yaml +2f9d68ed1b93eb74bc1c23cad34a88b765bd0ab306faacab1105d9489ede8ad1 .agents/skills/code-tooling/SKILL.md +868c67118e15aa9eb8f4ee35228fc2d04b1c0cf129ee3fec9177113a77f5863e .agents/skills/code-tooling/agents/openai.yaml +5df241fc65e271c93d13708f868f9a624669bcfc06b3d84af9cf6fce03a25558 .agents/skills/deps-upgrade/SKILL.md 984c7232ae1681ebba980ede2a0543db9a850dd2406990cdfa011384f929e981 .agents/skills/deps-upgrade/agents/openai.yaml -e68fb750f54ca3b17d6797954cb7838f0415c2faa65496ae68cb3918474c68bf .agents/skills/init/SKILL.md +275df9900027499c1ab97ab2675b2992e4267559bd61933a637d6a15d25a9350 .agents/skills/init/SKILL.md 14ea76cbc5a8f35356ccf6aa20beddb249c6bc4aeb9999ec722c3acf92389d57 .agents/skills/init/agents/openai.yaml 3f7f77275ada85b55ed874cea8ada94ad6f838800311f46ecb2a31b68ae95ac7 .agents/skills/snapshots-update/SKILL.md bb5339d7abcaba163a384a00a9ba8607ddf8b6820a63be3570e9b6fc6a912479 .agents/skills/snapshots-update/agents/openai.yaml -1a51f3f6c4eef45e6995bb5ac9a82cf3f23ccad0c68cc4f957796bb9fc198f58 .claude/skills/deps-upgrade/SKILL.md +8fee50af5e8d9ff55db278de9701b10e11dfef6eecfc4127f2608c85f0f0fdd1 .claude/skills/code-immutability/SKILL.md +d489e18e5863e814795f5674a58f507e98fbbeb341a218dbd5bc9173d39554d3 .claude/skills/code-immutability/agents/openai.yaml +0c47a67a1bcb590b057984fa4e9c4704fb3485652864f3e5ac6a3ba8200e74f4 .claude/skills/code-messages/SKILL.md +fc01d0c81e189623e6e7c912498f46f63f489bbe59967cccde742ea2c4e31b5a .claude/skills/code-messages/agents/openai.yaml +3d39b47c159c0bbdc413781afe12cdb9fcad4086d4810a6c11dfd0c909d90e81 .claude/skills/code-quality/SKILL.md +f47191e1bad34e547d1b3ee3ae111c417c383ec5459d467bfae5e832d86275c9 .claude/skills/code-quality/agents/openai.yaml +9d5e921bdfa05ef955657d59702e79a83b44853c075d513793bb76a7f479004f .claude/skills/code-slop/SKILL.md +520a3834948850bf7e2232d92341f07ff7bfc9e67247818b56fb576ca6dbf169 .claude/skills/code-slop/agents/openai.yaml +2f9d68ed1b93eb74bc1c23cad34a88b765bd0ab306faacab1105d9489ede8ad1 .claude/skills/code-tooling/SKILL.md +868c67118e15aa9eb8f4ee35228fc2d04b1c0cf129ee3fec9177113a77f5863e .claude/skills/code-tooling/agents/openai.yaml +5df241fc65e271c93d13708f868f9a624669bcfc06b3d84af9cf6fce03a25558 .claude/skills/deps-upgrade/SKILL.md 984c7232ae1681ebba980ede2a0543db9a850dd2406990cdfa011384f929e981 .claude/skills/deps-upgrade/agents/openai.yaml -e68fb750f54ca3b17d6797954cb7838f0415c2faa65496ae68cb3918474c68bf .claude/skills/init/SKILL.md +275df9900027499c1ab97ab2675b2992e4267559bd61933a637d6a15d25a9350 .claude/skills/init/SKILL.md 14ea76cbc5a8f35356ccf6aa20beddb249c6bc4aeb9999ec722c3acf92389d57 .claude/skills/init/agents/openai.yaml 3f7f77275ada85b55ed874cea8ada94ad6f838800311f46ecb2a31b68ae95ac7 .claude/skills/snapshots-update/SKILL.md bb5339d7abcaba163a384a00a9ba8607ddf8b6820a63be3570e9b6fc6a912479 .claude/skills/snapshots-update/agents/openai.yaml diff --git a/composer.json b/composer.json index b346af40..c22f0044 100644 --- a/composer.json +++ b/composer.json @@ -25,13 +25,13 @@ "pestphp/pest-plugin-arch": "^5.0.0", "pestphp/pest-plugin-mutate": "^5.0.2", "pestphp/pest-plugin-profanity": "^5.0.0", - "phpunit/phpunit": "^13.3.2", + "phpunit/phpunit": "^13.3.3", "symfony/process": "^8.1.6" }, "conflict": { "filp/whoops": "<2.18.3", "laravel/boost": "<2.6.0", - "phpunit/phpunit": ">13.3.2", + "phpunit/phpunit": ">13.3.3", "sebastian/exporter": "<7.0.0", "webmozart/assert": "<1.11.0" }, diff --git a/src/Pest.php b/src/Pest.php index 1fd47cae..644170cf 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ namespace Pest; function version(): string { - return '5.1.4'; + return '5.2.0'; } function testDirectory(string $file = ''): string diff --git a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap index 82befb7c..c7e5dbf5 100644 --- a/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap @@ -1,5 +1,5 @@ - Pest Testing Framework 5.1.4. + Pest Testing Framework 5.2.0. USAGE: pest [options] diff --git a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap index 0549ac8b..11d89dec 100644 --- a/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap +++ b/tests/.pest/snapshots/Visual/Version/visual_snapshot_of_help_command_output.snap @@ -1,3 +1,3 @@ - Pest Testing Framework 5.1.4. + Pest Testing Framework 5.2.0.