Skip to content

Commit

Permalink
Release 1.0.0 (#33)
Browse files Browse the repository at this point in the history
* prepare for release 1.0

* updatae readme
  • Loading branch information
Nyholm authored Oct 8, 2024
1 parent ccd0e0f commit f6a7f50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.

## 1.0.0

### Removed

- Removed support for < PHP 8.1

### Added

- Support for Symfony 7

## 0.3.1

### Fixed
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ use Symfony\Config\HappyrServiceMockingConfig;

return static function (HappyrServiceMockingConfig $config) {
$config->services([
\App\AcmeApiClient::class
\App\Some\OtherService::class
\App\AcmeApiClient::class,
\App\Some\OtherService::class,
]);
};

Expand Down Expand Up @@ -88,8 +88,6 @@ class MyTest extends WebTestCase
// ...

$apiClient = self::getContainer()->get(AcmeApiClient::class);
// On Symfony < 5.3
// $apiClient = self::$container->get(AcmeApiClient::class);

// For all calls to $apiClient->show()
ServiceMock::all($apiClient, 'show', function ($id) {
Expand Down

0 comments on commit f6a7f50

Please sign in to comment.