Skip to content

Commit

Permalink
Composer lib update
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Apr 12, 2022
1 parent 74bc6fa commit 84fe143
Show file tree
Hide file tree
Showing 11 changed files with 126 additions and 52 deletions.
File renamed without changes.
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{
"name": "nextcloud/password_policy",
"description": "Password Policy for Nextcloud",
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "7.4"
}
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
Expand All @@ -9,7 +16,7 @@

},
"require-dev": {
"christophwurst/nextcloud": "dev-master@dev",
"christophwurst/nextcloud_testing": "^0.12.4",
"nextcloud/coding-standard": "^0.5.0",
"phpunit/phpunit": "^9.5"
}
Expand Down
153 changes: 110 additions & 43 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/lib/Compliance/HistoryComplianceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
use OCP\IUserSession;
use OCP\Security\IHasher;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class HistoryComplianceTest extends TestCase {

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/PasswordPolicyConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

use OCA\Password_Policy\PasswordPolicyConfig;
use OCP\IConfig;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class PasswordPolicyConfigTest extends TestCase {

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/PasswordValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
use OCP\AppFramework\QueryException;
use OCP\ILogger;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class PasswordValidatorTest extends TestCase {

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/CommonPasswordsValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use OCA\Password_Policy\Validator\IValidator;
use OCP\IL10N;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class CommonPasswordsValidatorTest extends TestCase {

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/LengthValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use OCA\Password_Policy\Validator\LengthValidator;
use OCP\IL10N;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class LengthValidatorTest extends TestCase {

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/NumericCharacterValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use OCA\Password_Policy\Validator\NumericCharacterValidator;
use OCP\IL10N;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class NumericCharacterValidatorTest extends TestCase {

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/SpecialCharactersValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use OCA\Password_Policy\Validator\SpecialCharactersValidator;
use OCP\IL10N;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class SpecialCharactersValidatorTest extends TestCase {

Expand Down
2 changes: 1 addition & 1 deletion tests/lib/Validator/UpperCaseLowerCaseValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use OCA\Password_Policy\Validator\UpperCaseLoweCaseValidator;
use OCP\IL10N;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
use ChristophWurst\Nextcloud\Testing\TestCase;

class UpperCaseLowerCaseValidatorTest extends TestCase {

Expand Down

0 comments on commit 84fe143

Please sign in to comment.