fix:repo cleanup
This commit is contained in:
@@ -2,6 +2,18 @@
|
||||
|
||||
All notable changes are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
|
||||
|
||||
## [7.0.1] - 2025-08-13
|
||||
|
||||
### Changed
|
||||
|
||||
* Do not use `SplObjectStorage` methods that will be deprecated in PHP 8.5
|
||||
|
||||
## [7.0.0] - 2025-02-07
|
||||
|
||||
### Removed
|
||||
|
||||
* This component is no longer supported on PHP 8.2
|
||||
|
||||
## [6.0.3] - 2025-08-13
|
||||
|
||||
### Changed
|
||||
@@ -69,6 +81,8 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
|
||||
|
||||
* Tests etc. are now ignored for archive exports
|
||||
|
||||
[7.0.1]: https://github.com/sebastianbergmann/recursion-context/compare/7.0.0...7.0.1
|
||||
[7.0.0]: https://github.com/sebastianbergmann/recursion-context/compare/6.0...7.0.0
|
||||
[6.0.3]: https://github.com/sebastianbergmann/recursion-context/compare/6.0.2...6.0.3
|
||||
[6.0.2]: https://github.com/sebastianbergmann/recursion-context/compare/6.0.1...6.0.2
|
||||
[6.0.1]: https://github.com/sebastianbergmann/recursion-context/compare/6.0.0...6.0.1
|
||||
|
||||
+4
-4
@@ -24,16 +24,16 @@
|
||||
"prefer-stable": true,
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "8.2.0"
|
||||
"php": "8.3.0"
|
||||
},
|
||||
"optimize-autoloader": true,
|
||||
"sort-packages": true
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.2"
|
||||
"php": ">=8.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^11.3"
|
||||
"phpunit/phpunit": "^12.0"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
@@ -42,7 +42,7 @@
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "6.0-dev"
|
||||
"dev-main": "7.0-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -44,7 +44,6 @@ final class Context
|
||||
public function __destruct()
|
||||
{
|
||||
foreach ($this->arrays as &$array) {
|
||||
/* @phpstan-ignore function.alreadyNarrowedType */
|
||||
if (is_array($array)) {
|
||||
array_pop($array);
|
||||
array_pop($array);
|
||||
@@ -145,6 +144,7 @@ final class Context
|
||||
|
||||
if (isset($end[1]) &&
|
||||
$end[1] === $this->objects &&
|
||||
isset($end[0]) &&
|
||||
is_int($end[0])) {
|
||||
return $end[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user