From 434ae9d06531f22a3846de23a15fdb9ea0d97bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 6 Aug 2023 08:34:22 +0000 Subject: [PATCH 1/2] Fix a typo --- .../typehint-class-method-deprecated-class-definition.php | 2 +- .../data/typehint-class-method-deprecated-class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php index 4a48c77..89e4fae 100644 --- a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php +++ b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php @@ -31,7 +31,7 @@ class Property } -interface IThinkYourStucked +interface IThinkYourStuck { /** diff --git a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php index ec22ad6..fe5f36b 100644 --- a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php +++ b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php @@ -32,7 +32,7 @@ public function setProperties( } -class FooImplOverride implements IThinkYourStucked +class FooImplOverride implements IThinkYourStuck { /** @@ -44,7 +44,7 @@ public function oops($property): void } -class FooImplNoOverride implements IThinkYourStucked +class FooImplNoOverride implements IThinkYourStuck { public function oops($property): void From f9278169255c577a9628111ea494157ef56df0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 6 Aug 2023 08:39:30 +0000 Subject: [PATCH 2/2] Fix the fix --- .../typehint-class-method-deprecated-class-definition.php | 2 +- .../data/typehint-class-method-deprecated-class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php index 89e4fae..1ec51bd 100644 --- a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php +++ b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class-definition.php @@ -31,7 +31,7 @@ class Property } -interface IThinkYourStuck +interface IThinkYoureStuck { /** diff --git a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php index fe5f36b..a983b50 100644 --- a/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php +++ b/tests/Rules/Deprecations/data/typehint-class-method-deprecated-class.php @@ -32,7 +32,7 @@ public function setProperties( } -class FooImplOverride implements IThinkYourStuck +class FooImplOverride implements IThinkYoureStuck { /** @@ -44,7 +44,7 @@ public function oops($property): void } -class FooImplNoOverride implements IThinkYourStuck +class FooImplNoOverride implements IThinkYoureStuck { public function oops($property): void