20250204
This commit is contained in:
7
vendor/sebastian/comparator/ChangeLog.md
vendored
7
vendor/sebastian/comparator/ChangeLog.md
vendored
@@ -2,12 +2,6 @@
|
||||
|
||||
All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
|
||||
|
||||
## [7.0.0] - 2025-02-07
|
||||
|
||||
### Removed
|
||||
|
||||
* Removed support for PHP 8.2
|
||||
|
||||
## [6.3.0] - 2025-01-06
|
||||
|
||||
### Added
|
||||
@@ -210,7 +204,6 @@ 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`
|
||||
|
||||
[7.0.0]: https://github.com/sebastianbergmann/comparator/compare/6.3...main
|
||||
[6.3.0]: https://github.com/sebastianbergmann/comparator/compare/6.2.1...6.3.0
|
||||
[6.2.1]: https://github.com/sebastianbergmann/comparator/compare/6.2.0...6.2.1
|
||||
[6.2.0]: https://github.com/sebastianbergmann/comparator/compare/6.1.1...6.2.0
|
||||
|
14
vendor/sebastian/comparator/composer.json
vendored
14
vendor/sebastian/comparator/composer.json
vendored
@@ -26,12 +26,11 @@
|
||||
"issues": "https://github.com/sebastianbergmann/comparator/issues",
|
||||
"security": "https://github.com/sebastianbergmann/comparator/security/policy"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"require": {
|
||||
"php": ">=8.3",
|
||||
"sebastian/diff": "^7.0",
|
||||
"sebastian/exporter": "^7.0",
|
||||
"php": ">=8.2",
|
||||
"sebastian/diff": "^6.0",
|
||||
"sebastian/exporter": "^6.0",
|
||||
"ext-dom": "*",
|
||||
"ext-mbstring": "*"
|
||||
},
|
||||
@@ -39,11 +38,11 @@
|
||||
"ext-bcmath": "For comparing BcMath\\Number objects"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^12.0-dev"
|
||||
"phpunit/phpunit": "^11.4"
|
||||
},
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "8.3.0"
|
||||
"php": "8.2.0"
|
||||
},
|
||||
"optimize-autoloader": true,
|
||||
"sort-packages": true
|
||||
@@ -60,7 +59,8 @@
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "7.0-dev"
|
||||
"dev-main": "6.2-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -25,8 +25,8 @@ use SebastianBergmann\Exporter\Exporter;
|
||||
*/
|
||||
class ScalarComparator extends Comparator
|
||||
{
|
||||
private const int OVERLONG_THRESHOLD = 40;
|
||||
private const int KEEP_CONTEXT_CHARS = 25;
|
||||
private const OVERLONG_THRESHOLD = 40;
|
||||
private const KEEP_CONTEXT_CHARS = 25;
|
||||
|
||||
public function accepts(mixed $expected, mixed $actual): bool
|
||||
{
|
||||
|
Reference in New Issue
Block a user