Skip to content

Commit

Permalink
Update to PHPUnit 12
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Feb 12, 2025
1 parent 3fd5171 commit 67535ce
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/Dispatcher/SyncEventDispatcherFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down

0 comments on commit 67535ce

Please sign in to comment.