**Parameters:**
-- `arrayAn array of bcrypt hasing options.
` +- `arrayAn array of bcrypt hashing options.
` **Return:** - `static` @@ -3995,7 +3995,7 @@ From the project directory, tests can be ran using `phpunit` ## Support -For support and donations please visit [Github](https://github.com/voku/Stringy/) | [Issues](https://github.com/voku/Stringy/issues) | [PayPal](https://paypal.me/moelleken) | [Patreon](https://www.patreon.com/voku). +For support and donations please visit [GitHub](https://github.com/voku/Stringy/) | [Issues](https://github.com/voku/Stringy/issues) | [PayPal](https://paypal.me/moelleken) | [Patreon](https://www.patreon.com/voku). For status updates and release announcements please visit [Releases](https://github.com/voku/Stringy/releases) | [Twitter](https://twitter.com/suckup_de) | [Patreon](https://www.patreon.com/voku/posts). @@ -4003,11 +4003,11 @@ For professional support please contact [me](https://about.me/voku). ## Thanks -- Thanks to [GitHub](https://github.com) (Microsoft) for hosting the code and a good infrastructure including Issues-Managment, etc. +- Thanks to [GitHub](https://github.com) (Microsoft) for hosting the code and a good infrastructure including Issues-Management, etc. - Thanks to [IntelliJ](https://www.jetbrains.com) as they make the best IDEs for PHP and they gave me an open source license for PhpStorm! -- Thanks to [Travis CI](https://travis-ci.com/) for being the most awesome, easiest continous integration tool out there! -- Thanks to [StyleCI](https://styleci.io/) for the simple but powerfull code style check. -- Thanks to [PHPStan](https://github.com/phpstan/phpstan) && [Psalm](https://github.com/vimeo/psalm) for relly great Static analysis tools and for discover bugs in the code! +- Thanks to [Travis CI](https://travis-ci.com/) for being the most awesome, easiest continuous integration tool out there! +- Thanks to [StyleCI](https://styleci.io/) for the simple but powerful code style check. +- Thanks to [PHPStan](https://github.com/phpstan/phpstan) && [Psalm](https://github.com/vimeo/psalm) for really great Static analysis tools and for discover bugs in the code! ## License diff --git a/build/docs/base.md b/build/docs/base.md index f255a4d..cfd4636 100644 --- a/build/docs/base.md +++ b/build/docs/base.md @@ -205,7 +205,7 @@ From the project directory, tests can be ran using `phpunit` ## Support -For support and donations please visit [Github](https://github.com/voku/Stringy/) | [Issues](https://github.com/voku/Stringy/issues) | [PayPal](https://paypal.me/moelleken) | [Patreon](https://www.patreon.com/voku). +For support and donations please visit [GitHub](https://github.com/voku/Stringy/) | [Issues](https://github.com/voku/Stringy/issues) | [PayPal](https://paypal.me/moelleken) | [Patreon](https://www.patreon.com/voku). For status updates and release announcements please visit [Releases](https://github.com/voku/Stringy/releases) | [Twitter](https://twitter.com/suckup_de) | [Patreon](https://www.patreon.com/voku/posts). @@ -213,11 +213,11 @@ For professional support please contact [me](https://about.me/voku). ## Thanks -- Thanks to [GitHub](https://github.com) (Microsoft) for hosting the code and a good infrastructure including Issues-Managment, etc. +- Thanks to [GitHub](https://github.com) (Microsoft) for hosting the code and a good infrastructure including Issues-Management, etc. - Thanks to [IntelliJ](https://www.jetbrains.com) as they make the best IDEs for PHP and they gave me an open source license for PhpStorm! -- Thanks to [Travis CI](https://travis-ci.com/) for being the most awesome, easiest continous integration tool out there! -- Thanks to [StyleCI](https://styleci.io/) for the simple but powerfull code style check. -- Thanks to [PHPStan](https://github.com/phpstan/phpstan) && [Psalm](https://github.com/vimeo/psalm) for relly great Static analysis tools and for discover bugs in the code! +- Thanks to [Travis CI](https://travis-ci.com/) for being the most awesome, easiest continuous integration tool out there! +- Thanks to [StyleCI](https://styleci.io/) for the simple but powerful code style check. +- Thanks to [PHPStan](https://github.com/phpstan/phpstan) && [Psalm](https://github.com/vimeo/psalm) for really great Static analysis tools and for discover bugs in the code! ## License diff --git a/phpstan.neon b/phpstan.neon index 453010b..a7a1e36 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -4,7 +4,7 @@ parameters: - %currentWorkingDirectory%/src/ reportUnmatchedIgnoredErrors: false ignoreErrors: - # false-postive? + # false-positive? - '#Arrayy\\Collection\\AbstractCollection
*
*
- * @param arrayAn array of bcrypt hasing options.
+ * @param arrayAn array of bcrypt hashing options.
* * @psalm-mutation-free * diff --git a/tests/StringyStrictTest.php b/tests/StringyStrictTest.php index 1294f29..9308e2e 100644 --- a/tests/StringyStrictTest.php +++ b/tests/StringyStrictTest.php @@ -1876,20 +1876,20 @@ public function testAddRandomString() public function testAddUniqueIdentifier() { - $uniquIDs = []; + $uniqueIDs = []; for ($i = 0; $i <= 100; ++$i) { $stringy = S::create(''); - $uniquIDs[] = (string) $stringy->appendUniqueIdentifier(); + $uniqueIDs[] = (string) $stringy->appendUniqueIdentifier(); } // detect duplicate values in the array - foreach (\array_count_values($uniquIDs) as $uniquID => $count) { + foreach (\array_count_values($uniqueIDs) as $uniqueID => $count) { static::assertSame(1, $count); } // check the string length - foreach ($uniquIDs as $uniquID) { - static::assertSame(32, \strlen($uniquID)); + foreach ($uniqueIDs as $uniqueID) { + static::assertSame(32, \strlen($uniqueID)); } } @@ -4063,8 +4063,8 @@ public function titleizeForHumansProvider() 'Notes and Observations Regarding Apple’s Announcements From ‘The Beat Goes On’ Special Event', ], [ - 'Read markdown_rules.txt to find out how _underscores around words_ will be interpretted', - 'Read markdown_rules.txt to Find Out How _Underscores Around Words_ Will Be Interpretted', + 'Read markdown_rules.txt to find out how _underscores around words_ will be interpreted', + 'Read markdown_rules.txt to Find Out How _Underscores Around Words_ Will Be Interpreted', ], [ "Q&A with Steve Jobs: 'That's what happens in technology'", @@ -4432,13 +4432,13 @@ public function testUtf8ify() 'κόσμε' => ['κόσμε' => 'κόσμε'], '中' => ['中' => '中'], '«foobar»' => ['«foobar»' => '«foobar»'], - // Valid UTF-8 + Invalied Chars + // Valid UTF-8 + Invalid Chars "κόσμε\xa0\xa1-öäü" => ['κόσμε-öäü' => 'κόσμε-öäü'], // Valid ASCII 'a' => ['a' => 'a'], // Valid emoji (non-UTF-8) '😃' => ['😃' => '😃'], - // Valid ASCII + Invalied Chars + // Valid ASCII + Invalid Chars "a\xa0\xa1-öäü" => ['a-öäü' => 'a-öäü'], // Valid 2 Octet Sequence "\xc3\xb1" => ['ñ' => 'ñ'],