fix:repo cleanup

This commit is contained in:
2025-11-08 20:09:07 +00:00
parent f1da93791d
commit dedcc73567
1204 changed files with 121800 additions and 16971 deletions
+7
View File
@@ -2,6 +2,12 @@
All notable changes are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
## [6.0.0] - 2025-02-07
### Removed
* This component is no longer supported on PHP 8.2
## [5.0.2] - 2024-10-09
### Changed
@@ -54,6 +60,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
* This component is no longer supported on PHP 7.1 and PHP 7.2
[6.0.0]: https://github.com/sebastianbergmann/version/compare/5.0...6.0.0
[5.0.2]: https://github.com/sebastianbergmann/version/compare/5.0.1...5.0.2
[5.0.1]: https://github.com/sebastianbergmann/version/compare/5.0.0...5.0.1
[5.0.0]: https://github.com/sebastianbergmann/version/compare/4.0...5.0.0
+1 -1
View File
@@ -1,6 +1,6 @@
BSD 3-Clause License
Copyright (c) 2013-2024, Sebastian Bergmann
Copyright (c) 2013-2025, Sebastian Bergmann
All rights reserved.
Redistribution and use in source and binary forms, with or without
+3 -3
View File
@@ -16,14 +16,14 @@
},
"config": {
"platform": {
"php": "8.2.0"
"php": "8.3.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"prefer-stable": true,
"require": {
"php": ">=8.2"
"php": ">=8.3"
},
"autoload": {
"classmap": [
@@ -32,7 +32,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "5.0-dev"
"dev-main": "6.0-dev"
}
}
}
+8 -1
View File
@@ -9,9 +9,12 @@
*/
namespace SebastianBergmann;
use const DIRECTORY_SEPARATOR;
use function assert;
use function end;
use function explode;
use function fclose;
use function is_array;
use function is_dir;
use function is_resource;
use function proc_close;
@@ -82,7 +85,7 @@ final readonly class Version
return false;
}
$process = proc_open(
$process = @proc_open(
['git', 'describe', '--tags'],
[
1 => ['pipe', 'w'],
@@ -96,6 +99,10 @@ final readonly class Version
return false;
}
assert(is_array($pipes));
assert(isset($pipes[1]) && is_resource($pipes[1]));
assert(isset($pipes[2]) && is_resource($pipes[2]));
$result = trim((string) stream_get_contents($pipes[1]));
fclose($pipes[1]);