Inital commit for unit test configuration
This commit is contained in:

committed by
Manish Verma

parent
2f0796e954
commit
e0436b7757
26
vendor/zendframework/zend-stdlib/CHANGELOG.md
vendored
26
vendor/zendframework/zend-stdlib/CHANGELOG.md
vendored
@@ -2,6 +2,32 @@
|
||||
|
||||
All notable changes to this project will be documented in this file, in reverse chronological order by release.
|
||||
|
||||
## 3.2.1 - 2018-08-28
|
||||
|
||||
### Added
|
||||
|
||||
- Nothing.
|
||||
|
||||
### Changed
|
||||
|
||||
- Nothing.
|
||||
|
||||
### Deprecated
|
||||
|
||||
- Nothing.
|
||||
|
||||
### Removed
|
||||
|
||||
- Nothing.
|
||||
|
||||
### Fixed
|
||||
|
||||
- [#92](https://github.com/zendframework/zend-stdlib/pull/92) fixes serialization of `SplPriorityQueue` by ensuring its `$serial`
|
||||
property is also serialized.
|
||||
|
||||
- [#91](https://github.com/zendframework/zend-stdlib/pull/91) fixes behavior in the `ArrayObject` implementation that was not
|
||||
compatible with PHP 7.3.
|
||||
|
||||
## 3.2.0 - 2018-04-30
|
||||
|
||||
### Added
|
||||
|
@@ -425,7 +425,7 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Count
|
||||
$this->setIteratorClass($v);
|
||||
break;
|
||||
case 'protectedProperties':
|
||||
continue;
|
||||
break;
|
||||
default:
|
||||
$this->__set($k, $v);
|
||||
}
|
||||
|
@@ -84,7 +84,9 @@ class SplPriorityQueue extends \SplPriorityQueue implements Serializable
|
||||
*/
|
||||
public function unserialize($data)
|
||||
{
|
||||
$this->serial = PHP_INT_MAX;
|
||||
foreach (unserialize($data) as $item) {
|
||||
$this->serial--;
|
||||
$this->insert($item['data'], $item['priority']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user