Skip to content

Commit

Permalink
Bump web-auth/webauthn-lib from 3.1.1 to 3.3.1
Browse files Browse the repository at this point in the history
Bumps [web-auth/webauthn-lib](https://github.com/web-auth/webauthn-lib) from 3.1.1 to 3.3.1.
- [Release notes](https://github.com/web-auth/webauthn-lib/releases)
- [Commits](web-auth/webauthn-lib@v3.1.1...v3.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
dependabot-preview[bot] authored and ChristophWurst committed Jan 18, 2021
1 parent 1381d28 commit 85f7c45
Show file tree
Hide file tree
Showing 595 changed files with 67,925 additions and 12,056 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ bin
.php_cs.dist
# ignore demo files
**/.travis.yml
# ignore .github files
**/.github

aws/aws-sdk-php/.changes

bantu/ini-get-wrapper/tests

/brick/math/random-tests.php
/brick/math/psalm*.xmls

deepdiver/zipstreamer/tests

deepdiver1975/tarstreamer/.gitignore
Expand Down
35 changes: 17 additions & 18 deletions beberlei/assert/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@
"assertion",
"validation"
],
"config": {
"sort-packages": true
},
"require": {
"php": "^7.0 || ^8.0",
"ext-intl": "*",
"ext-simplexml": "*",
"ext-mbstring": "*",
"ext-ctype": "*",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "*",
"phpstan/phpstan": "*",
"phpunit/phpunit": ">=6.0.0",
"yoast/phpunit-polyfills": "^0.1.0"
},
"autoload": {
"psr-4": {
"Assert\\": "lib/Assert"
Expand All @@ -35,29 +52,11 @@
"tests/Assert/Tests/Fixtures/functions.php"
]
},
"config": {
"sort-packages": true
},
"require": {
"php": "^7",
"ext-simplexml": "*",
"ext-mbstring": "*",
"ext-ctype": "*",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "*",
"phpstan/phpstan-shim": "*",
"phpunit/phpunit": ">=6.0.0 <8"
},
"scripts": {
"assert:generate-docs": "php bin/generate_method_docs.php",
"assert:cs-lint": "php-cs-fixer fix --diff -vvv --dry-run",
"assert:cs-fix": "php-cs-fixer fix . -vvv || true",
"assert:sa-code": "vendor/bin/phpstan analyse --configuration=phpstan-code.neon --no-progress --ansi -l 7 bin lib",
"assert:sa-tests": "vendor/bin/phpstan analyse --configuration=phpstan-tests.neon --no-progress --ansi -l 7 tests"
},
"suggest": {
"ext-intl": "Needed to allow Assertion::count(), Assertion::isCountable(), Assertion::minCount(), and Assertion::maxCount() to operate on ResourceBundles"
}
}
11 changes: 0 additions & 11 deletions beberlei/assert/lib/Assert/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ abstract class Assert
*
* @param mixed $value
* @param string|callable|null $defaultMessage
* @param string|null $defaultPropertyPath
*
* @return AssertionChain
*
* @example
*
Expand All @@ -57,9 +54,6 @@ public static function that($value, $defaultMessage = null, string $defaultPrope
*
* @param mixed $values
* @param string|callable|null $defaultMessage
* @param string|null $defaultPropertyPath
*
* @return AssertionChain
*/
public static function thatAll($values, $defaultMessage = null, string $defaultPropertyPath = null): AssertionChain
{
Expand All @@ -71,9 +65,6 @@ public static function thatAll($values, $defaultMessage = null, string $defaultP
*
* @param mixed $value
* @param string|callable|null $defaultMessage
* @param string|null $defaultPropertyPath
*
* @return AssertionChain
*/
public static function thatNullOr($value, $defaultMessage = null, string $defaultPropertyPath = null): AssertionChain
{
Expand All @@ -82,8 +73,6 @@ public static function thatNullOr($value, $defaultMessage = null, string $defaul

/**
* Create a lazy assertion object.
*
* @return LazyAssertion
*/
public static function lazy(): LazyAssertion
{
Expand Down
449 changes: 209 additions & 240 deletions beberlei/assert/lib/Assert/Assertion.php

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions beberlei/assert/lib/Assert/AssertionChain.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
* @method AssertionChain string(string|callable $message = null, string $propertyPath = null) Assert that value is a string.
* @method AssertionChain subclassOf(string $className, string|callable $message = null, string $propertyPath = null) Assert that value is subclass of given class-name.
* @method AssertionChain true(string|callable $message = null, string $propertyPath = null) Assert that the value is boolean True.
* @method AssertionChain uniqueValues(string|callable $message = null, string $propertyPath = null) Assert that values in array are unique (using strict equality).
* @method AssertionChain url(string|callable $message = null, string $propertyPath = null) Assert that value is an URL.
* @method AssertionChain uuid(string|callable $message = null, string $propertyPath = null) Assert that the given string is a valid UUID.
* @method AssertionChain version(string $operator, string $version2, string|callable $message = null, string $propertyPath = null) Assert comparison of two versions.
Expand Down Expand Up @@ -150,7 +151,6 @@ class AssertionChain
*
* @param mixed $value
* @param string|callable|null $defaultMessage
* @param string|null $defaultPropertyPath
*/
public function __construct($value, $defaultMessage = null, string $defaultPropertyPath = null)
{
Expand All @@ -164,8 +164,6 @@ public function __construct($value, $defaultMessage = null, string $defaultPrope
*
* @param string $methodName
* @param array $args
*
* @return AssertionChain
*/
public function __call($methodName, $args): AssertionChain
{
Expand Down Expand Up @@ -208,8 +206,6 @@ public function __call($methodName, $args): AssertionChain

/**
* Switch chain into validation mode for an array of values.
*
* @return AssertionChain
*/
public function all(): AssertionChain
{
Expand All @@ -220,8 +216,6 @@ public function all(): AssertionChain

/**
* Switch chain into mode allowing nulls, ignoring further assertions.
*
* @return AssertionChain
*/
public function nullOr(): AssertionChain
{
Expand Down
3 changes: 0 additions & 3 deletions beberlei/assert/lib/Assert/AssertionFailedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,5 @@ public function getPropertyPath();
*/
public function getValue();

/**
* @return array
*/
public function getConstraints(): array;
}
2 changes: 0 additions & 2 deletions beberlei/assert/lib/Assert/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ public function getValue()

/**
* Get the constraints that applied to the failed assertion.
*
* @return array
*/
public function getConstraints(): array
{
Expand Down
Loading

0 comments on commit 85f7c45

Please sign in to comment.