diff --git a/CHANGELOG.md b/CHANGELOG.md index 751090b..ee9607d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org). +## [Unreleased] +### Added +* *Nothing* + +### Changed +* Update to PHPUnit 12. + +### Deprecated +* *Nothing* + +### Removed +* Drop support for shlink-config 3 + +### Fixed +* *Nothing* + + ## [4.2.0] - 2025-01-25 ### Added * Support shlink-config 4.0 diff --git a/composer.json b/composer.json index 4d2da1e..fe97a8e 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ "league/event": "^3.0", "psr/event-dispatcher": "^1.0", "psr/log": "^3.0", - "shlinkio/shlink-config": "^4.0 || ^3.4", + "shlinkio/shlink-config": "^4.0", "shlinkio/shlink-json": "^1.2" }, "require-dev": { "phpstan/phpstan": "^2.1", "phpstan/phpstan-phpunit": "^2.0", - "phpunit/phpunit": "^11.5", + "phpunit/phpunit": "^12.0", "roave/security-advisories": "dev-master", "shlinkio/php-coding-standard": "~2.4.0", "spiral/roadrunner-jobs": "^4.6", diff --git a/test/Dispatcher/SyncEventDispatcherFactoryTest.php b/test/Dispatcher/SyncEventDispatcherFactoryTest.php index 3b050eb..fdf8b16 100644 --- a/test/Dispatcher/SyncEventDispatcherFactoryTest.php +++ b/test/Dispatcher/SyncEventDispatcherFactoryTest.php @@ -105,7 +105,7 @@ static function (ListenerProviderInterface $provider): void { #[Test] public function skipsListenersWhenEnabledListenerCheckerIsRegistered(): void { - $this->container->method('has')->with(EnabledListenerCheckerInterface::class)->willReturn(true); + $this->container->method('has')->willReturn(true); $this->container->method('get')->willReturnMap([ ['config', [ 'events' => [