From 3b9ca8853f850b8df5b65c891d0efdb0399c50f1 Mon Sep 17 00:00:00 2001 From: Sandro Gehri Date: Mon, 3 Apr 2023 07:50:25 +0200 Subject: [PATCH] fix: various typos fixed --- CHANGELOG.md | 6 +++--- src/Contracts/AddsAnnotations.php | 2 +- src/Factories/Attributes/Covers.php | 2 +- src/Logging/TeamCity/Converter.php | 2 +- tests/.snapshots/success.txt | 6 +++--- .../Expect/{toBeGreatherThan.php => toBeGreaterThan.php} | 0 ...BeGreatherThanOrEqual.php => toBeGreaterThanOrEqual.php} | 0 7 files changed, 9 insertions(+), 9 deletions(-) rename tests/Features/Expect/{toBeGreatherThan.php => toBeGreaterThan.php} (100%) rename tests/Features/Expect/{toBeGreatherThanOrEqual.php => toBeGreaterThanOrEqual.php} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dfbd40c..ce973c95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ ### Fixed - Tests on `tests/Helpers` directory not being executed ([#753](https://github.com/pestphp/pest/pull/753)) - Teamcity count ([#747](https://github.com/pestphp/pest/pull/747)) -- Parallel executation when class extends class with same name ([#748](https://github.com/pestphp/pest/pull/748)) +- Parallel execution when class extends class with same name ([#748](https://github.com/pestphp/pest/pull/748)) - Wording on `uses()` hint ([#745](https://github.com/pestphp/pest/pull/745/files)) ## [v2.3.0 (2023-03-28)](https://github.com/pestphp/pest/compare/v2.2.3...v2.3.0) @@ -29,14 +29,14 @@ ## [v2.2.3 (2023-03-24)](https://github.com/pestphp/pest/compare/v2.2.2...v2.2.3) ### Fixed -- Unnecessary dataset on dataset arguments missmatch ([#736](https://github.com/pestphp/pest/pull/736)) +- Unnecessary dataset on dataset arguments mismatch ([#736](https://github.com/pestphp/pest/pull/736)) - Parallel arguments on plugins order ([#703](https://github.com/pestphp/pest/pull/703)) - Arch plugin runtime exceptions on bad phpdocs ([2f2b51c](https://github.com/pestphp/pest/commit/2f2b51ce3d1b000be9d6add0e785fd0044931b3b)) ## [v2.2.2 (2023-03-23)](https://github.com/pestphp/pest/compare/v2.2.1...v2.2.2) ### Fixed -- Edge case in parallel executation test description ([3ce6408](https://github.com/pestphp/pest/commit/3ce640819541ca6022b250e000f336d87c3e7889)) +- Edge case in parallel execution test description ([3ce6408](https://github.com/pestphp/pest/commit/3ce640819541ca6022b250e000f336d87c3e7889)) ## [v2.2.1 (2023-03-22)](https://github.com/pestphp/pest/compare/v2.2.0...v2.2.1) diff --git a/src/Contracts/AddsAnnotations.php b/src/Contracts/AddsAnnotations.php index 3abc77d5..5d2452d1 100644 --- a/src/Contracts/AddsAnnotations.php +++ b/src/Contracts/AddsAnnotations.php @@ -7,7 +7,7 @@ namespace Pest\Contracts; use Pest\Factories\TestCaseMethodFactory; /** - * @interal + * @internal */ interface AddsAnnotations { diff --git a/src/Factories/Attributes/Covers.php b/src/Factories/Attributes/Covers.php index 21d1f857..a798e4b5 100644 --- a/src/Factories/Attributes/Covers.php +++ b/src/Factories/Attributes/Covers.php @@ -14,7 +14,7 @@ use Pest\Factories\TestCaseMethodFactory; final class Covers extends Attribute { /** - * Determine if the attribute should be placed above the classe instead of above the method. + * Determine if the attribute should be placed above the class instead of above the method. */ public static bool $above = true; diff --git a/src/Logging/TeamCity/Converter.php b/src/Logging/TeamCity/Converter.php index 7440b2b9..89bdc334 100644 --- a/src/Logging/TeamCity/Converter.php +++ b/src/Logging/TeamCity/Converter.php @@ -64,7 +64,7 @@ final class Converter } /** - * Gets the exception messsage. + * Gets the exception message. */ public function getExceptionMessage(Throwable $throwable): string { diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index 6f490dbe..314ae733 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -332,14 +332,14 @@ ✓ failures with custom message ✓ not failures - PASS Tests\Features\Expect\toBeGreatherThan + PASS Tests\Features\Expect\toBeGreaterThan ✓ passes ✓ passes with DateTime and DateTimeImmutable ✓ failures ✓ failures with custom message ✓ not failures - PASS Tests\Features\Expect\toBeGreatherThanOrEqual + PASS Tests\Features\Expect\toBeGreaterThanOrEqual ✓ passes ✓ passes with DateTime and DateTimeImmutable ✓ failures @@ -1016,4 +1016,4 @@ PASS Tests\Visual\Version ✓ visual snapshot of help command output - Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 14 skipped, 709 passed (1717 assertions) \ No newline at end of file + Tests: 2 deprecated, 3 warnings, 4 incomplete, 1 notice, 4 todos, 14 skipped, 709 passed (1717 assertions) diff --git a/tests/Features/Expect/toBeGreatherThan.php b/tests/Features/Expect/toBeGreaterThan.php similarity index 100% rename from tests/Features/Expect/toBeGreatherThan.php rename to tests/Features/Expect/toBeGreaterThan.php diff --git a/tests/Features/Expect/toBeGreatherThanOrEqual.php b/tests/Features/Expect/toBeGreaterThanOrEqual.php similarity index 100% rename from tests/Features/Expect/toBeGreatherThanOrEqual.php rename to tests/Features/Expect/toBeGreaterThanOrEqual.php