diff --git a/CHANGELOG.md b/CHANGELOG.md index 16e5fdcf..2e01b157 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [v1.21.2 (2022-03-05)](https://github.com/pestphp/pest/compare/v1.21.1...v1.21.2) +### Fixed +- `toThrow` expectation when exception does not exist ([#487](https://github.com/pestphp/pest/pull/487)) + ## [v1.21.1 (2021-11-25)](https://github.com/pestphp/pest/compare/v1.21.0...v1.21.1) ### Fixed - sequence callables causing problems ([#442](https://github.com/pestphp/pest/pull/442)) diff --git a/composer.json b/composer.json index 56a5ad7e..baedf701 100644 --- a/composer.json +++ b/composer.json @@ -50,7 +50,10 @@ "prefer-stable": true, "config": { "sort-packages": true, - "preferred-install": "dist" + "preferred-install": "dist", + "allow-plugins": { + "pestphp/pest-plugin": true + } }, "bin": [ "bin/pest" diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index d6e57bf2..c43668b6 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -140,11 +140,6 @@ parameters: count: 2 path: src/Expectation.php - - - message: "#^Parameter \\#1 \\$value of method Pest\\\\Expectation\\\\:\\:and\\(\\) expects TValue, mixed given\\.$#" - count: 2 - path: src/Expectation.php - - message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContains\\(\\) expects iterable, mixed given\\.$#" count: 1 diff --git a/src/Pest.php b/src/Pest.php index 2c6d7a9a..db7403a4 100644 --- a/src/Pest.php +++ b/src/Pest.php @@ -6,7 +6,7 @@ namespace Pest; function version(): string { - return '1.21.1'; + return '1.21.2'; } function testDirectory(string $file = ''): string