Inital commit for unit test configuration

This commit is contained in:
Manish Verma
2018-09-05 12:36:46 +05:30
committed by Manish Verma
parent 2f0796e954
commit e0436b7757
252 changed files with 3219 additions and 1631 deletions

View File

@@ -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

View File

@@ -425,7 +425,7 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Count
$this->setIteratorClass($v);
break;
case 'protectedProperties':
continue;
break;
default:
$this->__set($k, $v);
}

View File

@@ -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']);
}
}