From 8e0d31d9509f9f46aa350e28444ae50442a052be Mon Sep 17 00:00:00 2001 From: Pollora maintainer Date: Mon, 23 Nov 2026 15:09:21 +0100 Subject: [PATCH] chore(deps): accept pollora/discovery ^0.3 --- CHANGELOG.md | 4 ++++ composer.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 983b232..6fecaa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - An integration suite (`tests/Integration`, `composer test:integration`) that runs against a real WordPress and, for the Action Scheduler driver, the real plugin: a recurring event in the `cron` option and its interval, the time of day on the site's clock, a due event run by `wp-cron.php` in another process, an event kept in Action Scheduler's store and indexed in the `cron` option, what a plugin schedules with the core functions, and the plugin's queue runner. It is not part of the default `pest` run; the harness's optional `WordPress integration` job starts it. +### Changed + +- Accepts pollora/discovery ^0.3 (`^0.1 || ^0.2 || ^0.3 || ^1.0`) + ### Fixed - `Schedule::cancel()` and `Schedule::clear()` counted an event twice, with Action Scheduler as the driver: the entry the index keeps in the `cron` option was still there when WP-Cron cleared the same hook, and the core counted it as one more event. The entry is taken out of the index as soon as the driver has cancelled the event. diff --git a/composer.json b/composer.json index 62d20e8..327e05f 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require": { "php": "^8.3", "pollora/attributes": "^0.1 || ^1.0", - "pollora/discovery": "^0.1 || ^0.2 || ^1.0", + "pollora/discovery": "^0.1 || ^0.2 || ^0.3 || ^1.0", "psr/container": "^1.1 || ^2.0", "psr/log": "^3.0" },