updated backend
This commit is contained in:
parent
1fea0f4fe7
commit
11521c2339
3459 changed files with 72735 additions and 168535 deletions
78
pfosten/vendor/webmozart/assert/CHANGELOG.md
vendored
78
pfosten/vendor/webmozart/assert/CHANGELOG.md
vendored
|
|
@ -3,8 +3,82 @@ Changelog
|
|||
|
||||
## UNRELEASED
|
||||
|
||||
## 1.6.0 (2019-11-24)
|
||||
|
||||
### Added
|
||||
|
||||
* added `Assert::validArrayKey()`
|
||||
* added `Assert::isNonEmptyList()`
|
||||
* added `Assert::isNonEmptyMap()`
|
||||
* added `@throws InvalidArgumentException` annotations to all methods that throw.
|
||||
* added `@psalm-assert` for the list type to the `isList` assertion.
|
||||
|
||||
### Fixed
|
||||
|
||||
* `ResourceBundle` & `SimpleXMLElement` now pass the `isCountable` assertions.
|
||||
They are countable, without implementing the `Countable` interface.
|
||||
* The doc block of `range` now has the proper variables.
|
||||
* An empty array will now pass `isList` and `isMap`. As it is a valid form of both.
|
||||
If a non empty variant is needed, use `isNonEmptyList` or `isNonEmptyMap`.
|
||||
|
||||
### Changed
|
||||
|
||||
* Removed some `@psalm-assert` annotations, that were 'side effect' assertions See:
|
||||
* [#144](https://github.com/webmozart/assert/pull/144)
|
||||
* [#145](https://github.com/webmozart/assert/issues/145)
|
||||
* [#146](https://github.com/webmozart/assert/pull/146)
|
||||
* [#150](https://github.com/webmozart/assert/pull/150)
|
||||
* If you use psalm, the minimum version needed is `3.6.0`. Which is enforced through a composer conflict.
|
||||
If you don't use psalm, then this has no impact.
|
||||
|
||||
## 1.5.0 (2019-08-24)
|
||||
|
||||
### Added
|
||||
|
||||
* added `Assert::uniqueValues()`
|
||||
* added `Assert::unicodeLetters()`
|
||||
* added: `Assert::email()`
|
||||
* added support for [Psalm](https://github.com/vimeo/psalm), by adding `@psalm-assert` annotations where appropriate.
|
||||
|
||||
### Fixed
|
||||
|
||||
* `Assert::endsWith()` would not give the correct result when dealing with multibyte suffix.
|
||||
* `Assert::length(), minLength, maxLength, lengthBetween` would not give the correct result when dealing with multibyte characters.
|
||||
|
||||
**NOTE**: These 2 changes may break your assertions if you relied on the fact that multibyte characters didn't behave correctly.
|
||||
|
||||
### Changed
|
||||
|
||||
* The names of some variables have been updated to better reflect what they are.
|
||||
* All function calls are now in their FQN form, slightly increasing performance.
|
||||
* Tests are now properly ran against HHVM-3.30 and PHP nightly.
|
||||
|
||||
### Deprecation
|
||||
|
||||
* deprecated `Assert::isTraversable()` in favor of `Assert::isIterable()`
|
||||
* This was already done in 1.3.0, but it was only done through a silenced `trigger_error`. It is now annotated as well.
|
||||
|
||||
## 1.4.0 (2018-12-25)
|
||||
|
||||
### Added
|
||||
|
||||
* added `Assert::ip()`
|
||||
* added `Assert::ipv4()`
|
||||
* added `Assert::ipv6()`
|
||||
* added `Assert::notRegex()`
|
||||
* added `Assert::interfaceExists()`
|
||||
* added `Assert::isList()`
|
||||
* added `Assert::isMap()`
|
||||
* added polyfill for ctype
|
||||
|
||||
### Fixed
|
||||
|
||||
* Special case when comparing objects implementing `__toString()`
|
||||
|
||||
## 1.3.0 (2018-01-29)
|
||||
|
||||
### Added
|
||||
|
||||
* added `Assert::minCount()`
|
||||
* added `Assert::maxCount()`
|
||||
* added `Assert::countBetween()`
|
||||
|
|
@ -20,6 +94,10 @@ Changelog
|
|||
|
||||
* `stringNotEmpty` will no longer report "0" is an empty string
|
||||
|
||||
### Deprecation
|
||||
|
||||
* deprecated `Assert::isTraversable()` in favor of `Assert::isIterable()`
|
||||
|
||||
## 1.2.0 (2016-11-23)
|
||||
|
||||
* added `Assert::throws()`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue