Update besar apk finance
This commit is contained in:
+22
-1
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
|
||||
|
||||
## [4.0.10] - 2026-01-24
|
||||
|
||||
### Changed
|
||||
|
||||
* [#134](https://github.com/sebastianbergmann/comparator/issues/134): Suppress warning introduced in PHP 8.5
|
||||
|
||||
## [4.0.9] - 2025-08-10
|
||||
|
||||
### Changed
|
||||
@@ -62,6 +68,18 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
|
||||
|
||||
* Removed support for PHP 7.1 and PHP 7.2
|
||||
|
||||
## [3.0.7] - 2026-01-24
|
||||
|
||||
### Changed
|
||||
|
||||
* [#134](https://github.com/sebastianbergmann/comparator/issues/134): Suppress warning introduced in PHP 8.5
|
||||
|
||||
## [3.0.6] - 2025-08-10
|
||||
|
||||
### Changed
|
||||
|
||||
* Do not use `SplObjectStorage` methods that will be deprecated in PHP 8.5
|
||||
|
||||
## [3.0.5] - 2022-09-14
|
||||
|
||||
### Fixed
|
||||
@@ -128,6 +146,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
|
||||
* Added `SebastianBergmann\Comparator\Factory::reset()` to unregister all non-default comparators
|
||||
* Added support for `phpunit/phpunit-mock-objects` version `^5.0`
|
||||
|
||||
[4.0.10]: https://github.com/sebastianbergmann/comparator/compare/4.0.9...4.0.10
|
||||
[4.0.9]: https://github.com/sebastianbergmann/comparator/compare/4.0.8...4.0.9
|
||||
[4.0.8]: https://github.com/sebastianbergmann/comparator/compare/4.0.7...4.0.8
|
||||
[4.0.7]: https://github.com/sebastianbergmann/comparator/compare/4.0.6...4.0.7
|
||||
@@ -137,7 +156,9 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
|
||||
[4.0.3]: https://github.com/sebastianbergmann/comparator/compare/4.0.2...4.0.3
|
||||
[4.0.2]: https://github.com/sebastianbergmann/comparator/compare/4.0.1...4.0.2
|
||||
[4.0.1]: https://github.com/sebastianbergmann/comparator/compare/4.0.0...4.0.1
|
||||
[4.0.0]: https://github.com/sebastianbergmann/comparator/compare/3.0.5...4.0.0
|
||||
[4.0.0]: https://github.com/sebastianbergmann/comparator/compare/3.0...4.0.0
|
||||
[3.0.7]: https://github.com/sebastianbergmann/comparator/compare/3.0.6...3.0.7
|
||||
[3.0.6]: https://github.com/sebastianbergmann/comparator/compare/3.0.5...3.0.6
|
||||
[3.0.5]: https://github.com/sebastianbergmann/comparator/compare/3.0.4...3.0.5
|
||||
[3.0.4]: https://github.com/sebastianbergmann/comparator/compare/3.0.3...3.0.4
|
||||
[3.0.3]: https://github.com/sebastianbergmann/comparator/compare/3.0.2...3.0.3
|
||||
|
||||
+2
-2
@@ -60,8 +60,8 @@ class ScalarComparator extends Comparator
|
||||
// always compare as strings to avoid strange behaviour
|
||||
// otherwise 0 == 'Foobar'
|
||||
if ((is_string($expected) && !is_bool($actual)) || (is_string($actual) && !is_bool($expected))) {
|
||||
$expectedToCompare = (string) $expectedToCompare;
|
||||
$actualToCompare = (string) $actualToCompare;
|
||||
$expectedToCompare = @(string) $expectedToCompare;
|
||||
$actualToCompare = @(string) $actualToCompare;
|
||||
|
||||
if ($ignoreCase) {
|
||||
$expectedToCompare = strtolower($expectedToCompare);
|
||||
|
||||
+7
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
|
||||
|
||||
## [4.0.9] - 2026-08-11
|
||||
|
||||
### Changed
|
||||
|
||||
* Use `spl_object_id()` instead of `spl_object_hash()` which is deprecated in PHP 8.6
|
||||
|
||||
## [4.0.8] - 2025-09-24
|
||||
|
||||
### Changed
|
||||
@@ -56,6 +62,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
|
||||
|
||||
* This component is no longer supported on PHP 7.0, PHP 7.1, and PHP 7.2
|
||||
|
||||
[4.0.9]: https://github.com/sebastianbergmann/exporter/compare/4.0.8...4.0.9
|
||||
[4.0.8]: https://github.com/sebastianbergmann/exporter/compare/4.0.7...4.0.8
|
||||
[4.0.7]: https://github.com/sebastianbergmann/exporter/compare/4.0.6...4.0.7
|
||||
[4.0.6]: https://github.com/sebastianbergmann/exporter/compare/4.0.5...4.0.6
|
||||
|
||||
+2
-2
@@ -26,7 +26,7 @@ use function is_string;
|
||||
use function mb_strlen;
|
||||
use function mb_substr;
|
||||
use function preg_match;
|
||||
use function spl_object_hash;
|
||||
use function spl_object_id;
|
||||
use function sprintf;
|
||||
use function str_repeat;
|
||||
use function str_replace;
|
||||
@@ -199,7 +199,7 @@ class Exporter
|
||||
// Format the output similarly to print_r() in this case
|
||||
if ($value instanceof SplObjectStorage) {
|
||||
foreach ($value as $key => $val) {
|
||||
$array[spl_object_hash($val)] = [
|
||||
$array[spl_object_id($val)] = [
|
||||
'obj' => $val,
|
||||
'inf' => $value->getInfo(),
|
||||
];
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
|
||||
|
||||
## [4.0.7] - 2026-08-11
|
||||
|
||||
### Changed
|
||||
|
||||
* Suppress the PHP 8.6 deprecation of `spl_object_hash()` for now; migrating the code to `spl_object_id()` would be a break of backward compatibility
|
||||
|
||||
## [4.0.6] - 2025-08-10
|
||||
|
||||
### Changed
|
||||
@@ -39,6 +45,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
|
||||
|
||||
* Tests etc. are now ignored for archive exports
|
||||
|
||||
[4.0.7]: https://github.com/sebastianbergmann/recursion-context/compare/4.0.6...4.0.7
|
||||
[4.0.6]: https://github.com/sebastianbergmann/recursion-context/compare/4.0.5...4.0.6
|
||||
[4.0.5]: https://github.com/sebastianbergmann/recursion-context/compare/4.0.4...4.0.5
|
||||
[4.0.4]: https://github.com/sebastianbergmann/recursion-context/compare/4.0.3...4.0.4
|
||||
|
||||
+2
-2
@@ -162,7 +162,7 @@ final class Context
|
||||
$this->objects->offsetSet($object);
|
||||
}
|
||||
|
||||
return spl_object_hash($object);
|
||||
return @spl_object_hash($object);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -183,7 +183,7 @@ final class Context
|
||||
private function containsObject($value)
|
||||
{
|
||||
if ($this->objects->offsetExists($value)) {
|
||||
return spl_object_hash($value);
|
||||
return @spl_object_hash($value);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user