From 36396e13078795b24b28dbae7389143367620538 Mon Sep 17 00:00:00 2001 From: Ben Batschelet Date: Wed, 1 Dec 2021 12:42:59 -0600 Subject: [PATCH 1/3] Update typehinting for @method annotations Hopefully this will make PHPStan chilout --- src/VerifyBase.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/VerifyBase.php b/src/VerifyBase.php index 6d07596..ef2afa0 100644 --- a/src/VerifyBase.php +++ b/src/VerifyBase.php @@ -12,16 +12,16 @@ * Base class for other verify classes to inherit functionality from. * At this point, just the constructor and common properties to both. * - * @method self and() - * @method self be() - * @method self does() - * @method self doesNot() - * @method self has() - * @method self have() - * @method self is() - * @method self isNot() - * @method self will() - * @method self willNot() + * @method static and() + * @method static be() + * @method static does() + * @method static doesNot() + * @method static has() + * @method static have() + * @method static is() + * @method static isNot() + * @method static will() + * @method static willNot() */ abstract class VerifyBase { From 44c527284c1c762160c490f3c210de8aec5fa4d6 Mon Sep 17 00:00:00 2001 From: Ben Batschelet Date: Wed, 1 Dec 2021 12:53:37 -0600 Subject: [PATCH 2/3] Add descriptions to methods --- src/VerifyBase.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/VerifyBase.php b/src/VerifyBase.php index ef2afa0..1077d3c 100644 --- a/src/VerifyBase.php +++ b/src/VerifyBase.php @@ -12,16 +12,16 @@ * Base class for other verify classes to inherit functionality from. * At this point, just the constructor and common properties to both. * - * @method static and() - * @method static be() - * @method static does() - * @method static doesNot() - * @method static has() - * @method static have() - * @method static is() - * @method static isNot() - * @method static will() - * @method static willNot() + * @method static does() Positive conjunction + * @method static has() Positive conjunction + * @method static is() Positive conjunction + * @method static will() Positive conjunction + * @method static and() Neutral conjunction + * @method static be() Neutral conjunction + * @method static have() Neutral conjunction + * @method static doesNot() Negative conjunction + * @method static isNot() Negative conjunction + * @method static willNot() Negative conjunction */ abstract class VerifyBase { From 97d8947a31de1547d1c4da496e9a84205ce2ab69 Mon Sep 17 00:00:00 2001 From: Ben Batschelet Date: Wed, 1 Dec 2021 13:12:49 -0600 Subject: [PATCH 3/3] Fix code style --- src/VerifyBase.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/VerifyBase.php b/src/VerifyBase.php index 1077d3c..7a557d5 100644 --- a/src/VerifyBase.php +++ b/src/VerifyBase.php @@ -12,15 +12,15 @@ * Base class for other verify classes to inherit functionality from. * At this point, just the constructor and common properties to both. * - * @method static does() Positive conjunction - * @method static has() Positive conjunction - * @method static is() Positive conjunction - * @method static will() Positive conjunction - * @method static and() Neutral conjunction - * @method static be() Neutral conjunction - * @method static have() Neutral conjunction + * @method static does() Positive conjunction + * @method static has() Positive conjunction + * @method static is() Positive conjunction + * @method static will() Positive conjunction + * @method static and() Neutral conjunction + * @method static be() Neutral conjunction + * @method static have() Neutral conjunction * @method static doesNot() Negative conjunction - * @method static isNot() Negative conjunction + * @method static isNot() Negative conjunction * @method static willNot() Negative conjunction */ abstract class VerifyBase