Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/password_policy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-12 18:34:06 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-12 18:34:06 +0300
commit84fe14324387f6f40e2693106a15f04b092eca55 (patch)
treede8d9647d51fce7ecfb1d70cb7ba25527577840d
parent74bc6fa9fbdba210dc3354286371cc21a1f070f5 (diff)
Composer lib update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
-rw-r--r--.php-cs-fixer.dist.php (renamed from .php_cs.dist)0
-rw-r--r--composer.json9
-rw-r--r--composer.lock153
-rw-r--r--tests/lib/Compliance/HistoryComplianceTest.php2
-rw-r--r--tests/lib/PasswordPolicyConfigTest.php2
-rw-r--r--tests/lib/PasswordValidatorTest.php2
-rw-r--r--tests/lib/Validator/CommonPasswordsValidatorTest.php2
-rw-r--r--tests/lib/Validator/LengthValidatorTest.php2
-rw-r--r--tests/lib/Validator/NumericCharacterValidatorTest.php2
-rw-r--r--tests/lib/Validator/SpecialCharactersValidatorTest.php2
-rw-r--r--tests/lib/Validator/UpperCaseLowerCaseValidatorTest.php2
11 files changed, 126 insertions, 52 deletions
diff --git a/.php_cs.dist b/.php-cs-fixer.dist.php
index 87b32ee..87b32ee 100644
--- a/.php_cs.dist
+++ b/.php-cs-fixer.dist.php
diff --git a/composer.json b/composer.json
index 4578aa8..272d789 100644
--- a/composer.json
+++ b/composer.json
@@ -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",
@@ -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"
}
diff --git a/composer.lock b/composer.lock
index aadfc9d..dca7432 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,39 +4,40 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "2b4191093e0e64ca375e9a0dc5caa888",
+ "content-hash": "a9bfce73cf0834ced558e8359797f03c",
"packages": [],
"packages-dev": [
{
- "name": "christophwurst/nextcloud",
- "version": "dev-master",
+ "name": "christophwurst/nextcloud_testing",
+ "version": "v0.12.4",
"source": {
"type": "git",
- "url": "https://github.com/ChristophWurst/nextcloud_composer.git",
- "reference": "dca072ad12ea0ff201fa46da18f46dd1928eb139"
+ "url": "https://github.com/ChristophWurst/nextcloud_testing.git",
+ "reference": "9c189b01dbcc3508108f08c417de6aaea7005fb0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ChristophWurst/nextcloud_composer/zipball/dca072ad12ea0ff201fa46da18f46dd1928eb139",
- "reference": "dca072ad12ea0ff201fa46da18f46dd1928eb139",
+ "url": "https://api.github.com/repos/ChristophWurst/nextcloud_testing/zipball/9c189b01dbcc3508108f08c417de6aaea7005fb0",
+ "reference": "9c189b01dbcc3508108f08c417de6aaea7005fb0",
"shasum": ""
},
"require": {
- "php": "^7.4 || ~8.0 || ~8.1",
- "psr/container": "^1.0",
- "psr/event-dispatcher": "^1.0",
- "psr/log": "^1.1"
+ "php": "^7.2|^8.0",
+ "php-webdriver/webdriver": "^1.9",
+ "phpunit/phpunit": "^8.0|^9.0"
+ },
+ "require-dev": {
+ "christophwurst/nextcloud": "^17.0"
},
- "default-branch": true,
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "24.0.0-dev"
+ "autoload": {
+ "psr-4": {
+ "ChristophWurst\\Nextcloud\\Testing\\": "/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "AGPL-3.0-or-later"
+ "MIT"
],
"authors": [
{
@@ -44,12 +45,12 @@
"email": "christoph@winzerhof-wurst.at"
}
],
- "description": "Composer package containing Nextcloud's public API (classes, interfaces)",
+ "description": "Simple and fast unit and integration testing framework for Nextcloud, based on PHPUnit",
"support": {
- "issues": "https://github.com/ChristophWurst/nextcloud_composer/issues",
- "source": "https://github.com/ChristophWurst/nextcloud_composer/tree/master"
+ "issues": "https://github.com/ChristophWurst/nextcloud_testing/issues",
+ "source": "https://github.com/ChristophWurst/nextcloud_testing/tree/v0.12.4"
},
- "time": "2022-03-30T01:48:24+00:00"
+ "time": "2021-02-18T08:41:09+00:00"
},
{
"name": "composer/pcre",
@@ -919,6 +920,71 @@
"time": "2020-10-14T08:39:05+00:00"
},
{
+ "name": "php-webdriver/webdriver",
+ "version": "1.12.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-webdriver/php-webdriver.git",
+ "reference": "99d4856ed7dffcdf6a52eccd6551e83d8d557ceb"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/99d4856ed7dffcdf6a52eccd6551e83d8d557ceb",
+ "reference": "99d4856ed7dffcdf6a52eccd6551e83d8d557ceb",
+ "shasum": ""
+ },
+ "require": {
+ "ext-curl": "*",
+ "ext-json": "*",
+ "ext-zip": "*",
+ "php": "^5.6 || ~7.0 || ^8.0",
+ "symfony/polyfill-mbstring": "^1.12",
+ "symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0 || ^6.0"
+ },
+ "replace": {
+ "facebook/webdriver": "*"
+ },
+ "require-dev": {
+ "ondram/ci-detector": "^2.1 || ^3.5 || ^4.0",
+ "php-coveralls/php-coveralls": "^2.4",
+ "php-mock/php-mock-phpunit": "^1.1 || ^2.0",
+ "php-parallel-lint/php-parallel-lint": "^1.2",
+ "phpunit/phpunit": "^5.7 || ^7 || ^8 || ^9",
+ "squizlabs/php_codesniffer": "^3.5",
+ "symfony/var-dumper": "^3.3 || ^4.0 || ^5.0 || ^6.0"
+ },
+ "suggest": {
+ "ext-SimpleXML": "For Firefox profile creation"
+ },
+ "type": "library",
+ "autoload": {
+ "files": [
+ "lib/Exception/TimeoutException.php"
+ ],
+ "psr-4": {
+ "Facebook\\WebDriver\\": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "A PHP client for Selenium WebDriver. Previously facebook/webdriver.",
+ "homepage": "https://github.com/php-webdriver/php-webdriver",
+ "keywords": [
+ "Chromedriver",
+ "geckodriver",
+ "php",
+ "selenium",
+ "webdriver"
+ ],
+ "support": {
+ "issues": "https://github.com/php-webdriver/php-webdriver/issues",
+ "source": "https://github.com/php-webdriver/php-webdriver/tree/1.12.0"
+ },
+ "time": "2021-10-14T09:30:02+00:00"
+ },
+ {
"name": "phpdocumentor/reflection-common",
"version": "2.2.0",
"source": {
@@ -2828,16 +2894,16 @@
},
{
"name": "symfony/deprecation-contracts",
- "version": "v2.5.0",
+ "version": "v2.5.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8"
+ "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8",
- "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
+ "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66",
"shasum": ""
},
"require": {
@@ -2875,7 +2941,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0"
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1"
},
"funding": [
{
@@ -2891,7 +2957,7 @@
"type": "tidelift"
}
],
- "time": "2021-07-12T14:48:14+00:00"
+ "time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/event-dispatcher",
@@ -2980,16 +3046,16 @@
},
{
"name": "symfony/event-dispatcher-contracts",
- "version": "v2.5.0",
+ "version": "v2.5.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
- "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a"
+ "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/66bea3b09be61613cd3b4043a65a8ec48cfa6d2a",
- "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/f98b54df6ad059855739db6fcbc2d36995283fe1",
+ "reference": "f98b54df6ad059855739db6fcbc2d36995283fe1",
"shasum": ""
},
"require": {
@@ -3039,7 +3105,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.0"
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.1"
},
"funding": [
{
@@ -3055,7 +3121,7 @@
"type": "tidelift"
}
],
- "time": "2021-07-12T14:48:14+00:00"
+ "time": "2022-01-02T09:53:40+00:00"
},
{
"name": "symfony/filesystem",
@@ -3953,22 +4019,22 @@
},
{
"name": "symfony/service-contracts",
- "version": "v2.5.0",
+ "version": "v2.5.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
- "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc"
+ "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc",
- "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c",
+ "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
"psr/container": "^1.1",
- "symfony/deprecation-contracts": "^2.1"
+ "symfony/deprecation-contracts": "^2.1|^3"
},
"conflict": {
"ext-psr": "<1.1|>=2"
@@ -4016,7 +4082,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/service-contracts/tree/v2.5.0"
+ "source": "https://github.com/symfony/service-contracts/tree/v2.5.1"
},
"funding": [
{
@@ -4032,7 +4098,7 @@
"type": "tidelift"
}
],
- "time": "2021-11-04T16:48:04+00:00"
+ "time": "2022-03-13T20:07:29+00:00"
},
{
"name": "symfony/stopwatch",
@@ -4293,12 +4359,13 @@
],
"aliases": [],
"minimum-stability": "stable",
- "stability-flags": {
- "christophwurst/nextcloud": 20
- },
+ "stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
- "plugin-api-version": "2.1.0"
+ "platform-overrides": {
+ "php": "7.4"
+ },
+ "plugin-api-version": "2.3.0"
}
diff --git a/tests/lib/Compliance/HistoryComplianceTest.php b/tests/lib/Compliance/HistoryComplianceTest.php
index b0689a2..c224dea 100644
--- a/tests/lib/Compliance/HistoryComplianceTest.php
+++ b/tests/lib/Compliance/HistoryComplianceTest.php
@@ -35,7 +35,7 @@ use OCP\IUser;
use OCP\IUserSession;
use OCP\Security\IHasher;
use PHPUnit\Framework\MockObject\MockObject;
-use Test\TestCase;
+use ChristophWurst\Nextcloud\Testing\TestCase;
class HistoryComplianceTest extends TestCase {
diff --git a/tests/lib/PasswordPolicyConfigTest.php b/tests/lib/PasswordPolicyConfigTest.php
index a924964..41df9cf 100644
--- a/tests/lib/PasswordPolicyConfigTest.php
+++ b/tests/lib/PasswordPolicyConfigTest.php
@@ -23,7 +23,7 @@ namespace OCA\Password_Policy\Tests;
use OCA\Password_Policy\PasswordPolicyConfig;
use OCP\IConfig;
-use Test\TestCase;
+use ChristophWurst\Nextcloud\Testing\TestCase;
class PasswordPolicyConfigTest extends TestCase {
diff --git a/tests/lib/PasswordValidatorTest.php b/tests/lib/PasswordValidatorTest.php
index 5eb4d83..324a904 100644
--- a/tests/lib/PasswordValidatorTest.php
+++ b/tests/lib/PasswordValidatorTest.php
@@ -33,7 +33,7 @@ use OCP\AppFramework\IAppContainer;
use OCP\AppFramework\QueryException;
use OCP\ILogger;
use PHPUnit\Framework\MockObject\MockObject;
-use Test\TestCase;
+use ChristophWurst\Nextcloud\Testing\TestCase;
class PasswordValidatorTest extends TestCase {
diff --git a/tests/lib/Validator/CommonPasswordsValidatorTest.php b/tests/lib/Validator/CommonPasswordsValidatorTest.php
index 445db5a..63e5336 100644
--- a/tests/lib/Validator/CommonPasswordsValidatorTest.php
+++ b/tests/lib/Validator/CommonPasswordsValidatorTest.php
@@ -31,7 +31,7 @@ use OCA\Password_Policy\Validator\CommonPasswordsValidator;
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 {
diff --git a/tests/lib/Validator/LengthValidatorTest.php b/tests/lib/Validator/LengthValidatorTest.php
index 6089eff..6034231 100644
--- a/tests/lib/Validator/LengthValidatorTest.php
+++ b/tests/lib/Validator/LengthValidatorTest.php
@@ -31,7 +31,7 @@ use OCA\Password_Policy\Validator\IValidator;
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 {
diff --git a/tests/lib/Validator/NumericCharacterValidatorTest.php b/tests/lib/Validator/NumericCharacterValidatorTest.php
index ac442d8..80a211c 100644
--- a/tests/lib/Validator/NumericCharacterValidatorTest.php
+++ b/tests/lib/Validator/NumericCharacterValidatorTest.php
@@ -31,7 +31,7 @@ use OCA\Password_Policy\Validator\IValidator;
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 {
diff --git a/tests/lib/Validator/SpecialCharactersValidatorTest.php b/tests/lib/Validator/SpecialCharactersValidatorTest.php
index 50eaeae..0c895f3 100644
--- a/tests/lib/Validator/SpecialCharactersValidatorTest.php
+++ b/tests/lib/Validator/SpecialCharactersValidatorTest.php
@@ -31,7 +31,7 @@ use OCA\Password_Policy\Validator\IValidator;
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 {
diff --git a/tests/lib/Validator/UpperCaseLowerCaseValidatorTest.php b/tests/lib/Validator/UpperCaseLowerCaseValidatorTest.php
index 6134332..14d3b15 100644
--- a/tests/lib/Validator/UpperCaseLowerCaseValidatorTest.php
+++ b/tests/lib/Validator/UpperCaseLowerCaseValidatorTest.php
@@ -31,7 +31,7 @@ use OCA\Password_Policy\Validator\IValidator;
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 {