-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update project dependencies to allow package to run under PHP 8 * Add suggestion entry for password directory without suggestion, fix & add dutch translations * Rework validator logic and update tests to match PHP Zxcvbn library version 1.2 changes * Remove development ray package and references on tests * Bump minimum required version to supported PHP version 7.2 * Add clover xml file path to test github action * Remove code coverage report upload Co-authored-by: José Hernández Heughes <[email protected]>
- Loading branch information
1 parent
d05d3ed
commit 0c6bfc6
Showing
8 changed files
with
117 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
backupGlobals="false" | ||
beStrictAboutCoversAnnotation="true" | ||
beStrictAboutOutputDuringTests="true" | ||
beStrictAboutTestsThatDoNotTestAnything="true" | ||
beStrictAboutTodoAnnotatedTests="true" | ||
verbose="true" | ||
> | ||
<testsuites> | ||
<testsuite name="Unit Tests"> | ||
<directory>tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">src/</directory> | ||
<exclude> | ||
<directory>vendor/</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" bootstrap="vendor/autoload.php" backupGlobals="false" beStrictAboutCoversAnnotation="true" beStrictAboutOutputDuringTests="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutTodoAnnotatedTests="true" verbose="true"> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
</include> | ||
<exclude> | ||
<directory>vendor/</directory> | ||
</exclude> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="Unit Tests"> | ||
<directory>tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
[ | ||
'predictable' => 'Voorspelbare vervangende tekenens zoals "@" ipv "a" of "$" ipv "s" zijn makkerlijk te raden', | ||
'sequence' => 'Zinnen zoals "ABC" of "123" zijn makkerlijk te raden', | ||
'repeat' => 'Herhalende tekens zoals "AAA" of "111" zijn makkerlijk te raden', | ||
'date' => 'Datums zijn meestal makkerlijk te raden', | ||
'year' => 'Recente jaren zijn makkerlijk te raden', | ||
'straight_spatial' => 'Korte toetsenbord patronen zijn makkerlijk te raden', | ||
'spatial_with_turns' => 'Op een volgende tekens zijn makkerlijk te raden', | ||
'names' => 'Namen zijn makkerlijk te raden', | ||
'common' => 'Wachtwoord lijkt te veel op een veelgebruikt wachtwoord', | ||
'very_common' => 'Wachtwoord komt voor in veelgebruikte wachtwoorden', | ||
'top_10' => 'Wachtwoord komt voor in de top 10 meest gebruikte wachtwoorden', | ||
'top_100' => 'Wachtwoord komt voor in de top 100 meest gebruikte wachtwoorden', | ||
'digits' => 'Een serie getallen verbetert het wachtwoord niet', | ||
'reused' => 'Gegevens zoals uw naam of wachtwoord gebruiken in het wachtwoord is niet toegestaan', | ||
] | ||
<?php | ||
|
||
return [ | ||
'suggestion' => 'Voeg nog een paar woorden toe. Ongewone woorden zijn beter', | ||
'bruteforce' => 'Dit wachtwoord is gemakkelijk bruut te forceren. Gebruik verschillende tekenklassen (letters, cijfers, speciale tekens).', | ||
'predictable' => 'Voorspelbare vervangende tekenens zoals "@" ipv "a" of "$" ipv "s" zijn makkerlijk te raden', | ||
'sequence' => 'Zinnen zoals "ABC" of "123" zijn makkerlijk te raden', | ||
'repeat' => 'Herhalende tekens zoals "AAA" of "111" zijn makkerlijk te raden', | ||
'date' => 'Datums zijn meestal makkerlijk te raden', | ||
'year' => 'Recente jaren zijn makkerlijk te raden', | ||
'straight_spatial' => 'Korte toetsenbord patronen zijn makkerlijk te raden', | ||
'spatial_with_turns' => 'Op een volgende tekens zijn makkerlijk te raden', | ||
'names' => 'Namen zijn makkerlijk te raden', | ||
'common' => 'Wachtwoord lijkt te veel op een veelgebruikt wachtwoord', | ||
'very_common' => 'Wachtwoord komt voor in veelgebruikte wachtwoorden', | ||
'top_10' => 'Wachtwoord komt voor in de top 10 meest gebruikte wachtwoorden', | ||
'top_100' => 'Wachtwoord komt voor in de top 100 meest gebruikte wachtwoorden', | ||
'digits' => 'Een serie getallen verbetert het wachtwoord niet', | ||
'reused' => 'Gegevens zoals uw naam of wachtwoord gebruiken in het wachtwoord is niet toegestaan', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.