From 57740e140a523cf2ea8a35bbe542240f2ae3a087 Mon Sep 17 00:00:00 2001 From: Steven Maguire Date: Tue, 18 Feb 2020 07:50:11 -0600 Subject: [PATCH] Update documentation --- CONTRIBUTING.md | 1 + README.md | 1 + composer.json | 2 +- src/PasswordHasher.php | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2e61dd6..fef75ab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,6 +26,7 @@ We accept contributions via Pull Requests on [Github](https://github.com/MDHeari ``` bash $ composer test +$ composer check-style ``` diff --git a/README.md b/README.md index c9de4b6..e3fc086 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed re ``` bash $ composer test +$ composer check-style ``` ## Contributing diff --git a/composer.json b/composer.json index 20bd1af..3169da2 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ }, "scripts": { "test": "phpunit", - "check-style": "phpcs src tests", + "check-style": "phpcs --standard=psr2 src tests", "fix-style": "phpcbf src tests" }, "extra": { diff --git a/src/PasswordHasher.php b/src/PasswordHasher.php index 2fc78dd..836582b 100644 --- a/src/PasswordHasher.php +++ b/src/PasswordHasher.php @@ -37,7 +37,7 @@ class PasswordHasher implements IPasswordHasher private $iterCount; /** - * Creates a new instance of . + * Creates a new instance of password hasher. * * @param $optionsAccessor The options for this instance. */