diff options
author | Chih-Hsuan Yen <[email protected]> | 2022-07-03 14:47:43 +0800 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-07-12 22:23:30 +0300 |
commit | d9861038bcc3cb2f38c7153bdca7d5ab89597afa (patch) | |
tree | 7b7b28f75714a24856106edce8dfdc0ec989057a /vendor/beberlei/assert/lib/Assert/AssertionFailedException.php | |
parent | f8fe5e02f18ce3d61544865cc8eb22df18be6bf1 (diff) |
Update beberlei/assert for PHP 8 compatibility
Run `composer update beberlei/assert` using composer 2.3.8 on PHP 8.1.7
Updating other packages without updating this fails with:
```
Your requirements could not be resolved to an installable set of packages.
Problem 1
- beberlei/assert v3.2.2 requires php ^7 -> your php version (8.1.7) does not satisfy that requirement.
- spomky-labs/otphp v10.0.1 requires beberlei/assert ^3.0 -> satisfiable by beberlei/assert[v3.2.2].
- spomky-labs/otphp is locked to version v10.0.1 and an update of this package was not requested.
```
Diffstat (limited to 'vendor/beberlei/assert/lib/Assert/AssertionFailedException.php')
-rw-r--r-- | vendor/beberlei/assert/lib/Assert/AssertionFailedException.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php b/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php index e895aa8e5..7e0b2ec3d 100644 --- a/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php +++ b/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php @@ -18,9 +18,15 @@ use Throwable; interface AssertionFailedException extends Throwable { + /** + * @return string|null + */ public function getPropertyPath(); + /** + * @return mixed + */ public function getValue(); - public function getConstraints(); + public function getConstraints(): array; } |