Composer upgrade
This commit is contained in:
32
www/vendor/sebastian/global-state/ChangeLog.md
vendored
32
www/vendor/sebastian/global-state/ChangeLog.md
vendored
@@ -2,6 +2,18 @@
|
||||
|
||||
All notable changes in `sebastian/global-state` are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
|
||||
|
||||
## [5.0.5] - 2022-02-14
|
||||
|
||||
### Fixed
|
||||
|
||||
* [#34](https://github.com/sebastianbergmann/global-state/pull/34): Uninitialised typed static properties are not handled correctly
|
||||
|
||||
## [5.0.4] - 2022-02-10
|
||||
|
||||
### Fixed
|
||||
|
||||
* The `$includeTraits` parameter of `SebastianBergmann\GlobalState\Snapshot::__construct()` is not respected
|
||||
|
||||
## [5.0.3] - 2021-06-11
|
||||
|
||||
### Changed
|
||||
@@ -32,6 +44,18 @@ All notable changes in `sebastian/global-state` are documented in this file usin
|
||||
|
||||
* This component is no longer supported on PHP 7.2
|
||||
|
||||
## [3.0.2] - 2022-02-10
|
||||
|
||||
### Fixed
|
||||
|
||||
* The `$includeTraits` parameter of `SebastianBergmann\GlobalState\Snapshot::__construct()` is not respected
|
||||
|
||||
## [3.0.1] - 2020-11-30
|
||||
|
||||
### Changed
|
||||
|
||||
* Changed PHP version constraint in `composer.json` from `^7.2` to `>=7.2`
|
||||
|
||||
## [3.0.0] - 2019-02-01
|
||||
|
||||
### Changed
|
||||
@@ -42,10 +66,14 @@ All notable changes in `sebastian/global-state` are documented in this file usin
|
||||
|
||||
* This component is no longer supported on PHP 7.0 and PHP 7.1
|
||||
|
||||
[5.0.5]: https://github.com/sebastianbergmann/global-state/compare/5.0.4...5.0.5
|
||||
[5.0.4]: https://github.com/sebastianbergmann/global-state/compare/5.0.3...5.0.4
|
||||
[5.0.3]: https://github.com/sebastianbergmann/global-state/compare/5.0.2...5.0.3
|
||||
[5.0.2]: https://github.com/sebastianbergmann/global-state/compare/5.0.1...5.0.2
|
||||
[5.0.1]: https://github.com/sebastianbergmann/global-state/compare/5.0.0...5.0.1
|
||||
[5.0.0]: https://github.com/sebastianbergmann/global-state/compare/4.0.0...5.0.0
|
||||
[4.0.0]: https://github.com/sebastianbergmann/global-state/compare/3.0.0...4.0.0
|
||||
[3.0.0]: https://github.com/sebastianbergmann/global-state/compare/2.0.0...3.0.0
|
||||
[4.0.0]: https://github.com/sebastianbergmann/global-state/compare/3.0.2...4.0.0
|
||||
[3.0.2]: https://github.com/sebastianbergmann/phpunit/compare/3.0.1...3.0.2
|
||||
[3.0.1]: https://github.com/sebastianbergmann/phpunit/compare/3.0.0...3.0.1
|
||||
[3.0.0]: https://github.com/sebastianbergmann/phpunit/compare/2.0.0...3.0.0
|
||||
|
||||
|
||||
2
www/vendor/sebastian/global-state/LICENSE
vendored
2
www/vendor/sebastian/global-state/LICENSE
vendored
@@ -1,6 +1,6 @@
|
||||
sebastian/global-state
|
||||
|
||||
Copyright (c) 2001-2021, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
Copyright (c) 2001-2022, Sebastian Bergmann <sebastian@phpunit.de>.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
namespace SebastianBergmann\GlobalState;
|
||||
|
||||
use const PHP_VERSION_ID;
|
||||
use function array_keys;
|
||||
use function array_merge;
|
||||
use function array_reverse;
|
||||
@@ -137,7 +138,9 @@ class Snapshot
|
||||
$this->includedFiles = get_included_files();
|
||||
}
|
||||
|
||||
$this->traits = get_declared_traits();
|
||||
if ($includeTraits) {
|
||||
$this->traits = get_declared_traits();
|
||||
}
|
||||
}
|
||||
|
||||
public function excludeList(): ExcludeList
|
||||
@@ -313,6 +316,11 @@ class Snapshot
|
||||
}
|
||||
|
||||
$attribute->setAccessible(true);
|
||||
|
||||
if (PHP_VERSION_ID >= 70400 && !$attribute->isInitialized()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$value = $attribute->getValue();
|
||||
|
||||
if ($this->canBeSerialized($value)) {
|
||||
|
||||
Reference in New Issue
Block a user