From 9aab2ceed6ddd328b834244769a4fdb3445c8042 Mon Sep 17 00:00:00 2001 From: Robert Fridzema Date: Fri, 4 Feb 2022 21:30:40 +0100 Subject: [PATCH] Typos (#311) --- CONTRIBUTING.md | 8 ++++---- src/Result/Reason/UnOpenedComment.php | 2 +- src/Validation/MultipleValidationWithAnd.php | 2 +- src/Warning/Warning.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7b79e10..907bc2c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing -When contributing to this repository make sure to follow the Pull request process below. +When contributing to this repository make sure to follow the Pull request process below. Reduce to the minimum 3rd party dependencies. Please note we have a [code of conduct](#Code of Conduct), please follow it in all your interactions with the project. @@ -14,7 +14,7 @@ When doing a PR to v2 remember that you also have to do the PR port to v3, or te 3. Describe the changes you are proposing 1. If adding an extra validation state the benefits of adding it and the problem is solving 2. Document in the readme, by adding it to the list -4. Provide appropiate tests for the code you are submitting: aim to keep the existing coverage percentage. +4. Provide appropriate tests for the code you are submitting: aim to keep the existing coverage percentage. 5. Add your Twitter handle (if you have) so we can thank you there. ## License @@ -139,11 +139,11 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0]. -Community Impact Guidelines were inspired by +Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. For answers to common questions about this code of conduct, see the FAQ at -[https://www.contributor-covenant.org/faq][FAQ]. Translations are available +[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations]. [homepage]: https://www.contributor-covenant.org diff --git a/src/Result/Reason/UnOpenedComment.php b/src/Result/Reason/UnOpenedComment.php index cc7915c..c76a584 100644 --- a/src/Result/Reason/UnOpenedComment.php +++ b/src/Result/Reason/UnOpenedComment.php @@ -11,6 +11,6 @@ class UnOpenedComment implements Reason public function description(): string { - return 'Missing openning comment parentheses - https://tools.ietf.org/html/rfc5322#section-3.2.2'; + return 'Missing opening comment parentheses - https://tools.ietf.org/html/rfc5322#section-3.2.2'; } } \ No newline at end of file diff --git a/src/Validation/MultipleValidationWithAnd.php b/src/Validation/MultipleValidationWithAnd.php index 6debf22..90d4f0d 100644 --- a/src/Validation/MultipleValidationWithAnd.php +++ b/src/Validation/MultipleValidationWithAnd.php @@ -10,7 +10,7 @@ use Egulias\EmailValidator\Result\MultipleErrors; class MultipleValidationWithAnd implements EmailValidation { /** - * If one of validations fails, the remaining validations will be skept. + * If one of validations fails, the remaining validations will be skipped. * This means MultipleErrors will only contain a single error, the first found. */ const STOP_ON_ERROR = 0; diff --git a/src/Warning/Warning.php b/src/Warning/Warning.php index bce7e7a..a0158a2 100644 --- a/src/Warning/Warning.php +++ b/src/Warning/Warning.php @@ -42,6 +42,6 @@ abstract class Warning public function __toString() { - return $this->message() . " rfc: " . $this->rfcNumber . "interal code: " . static::CODE; + return $this->message() . " rfc: " . $this->rfcNumber . "internal code: " . static::CODE; } }