Fix PHPUnit comparator under PHPUnit 10 #542
Annotations
8 errors
|
Run tests:
src/PHPUnit/Comparator.php#L42
src/PHPUnit/Comparator.php:42:13: DirectConstructorCall: Constructors should not be called directly (see https://psalm.dev/318)
|
Run tests:
tests/Calculator/LocaleAwareBcMathCalculatorTest.php#L16
tests/Calculator/LocaleAwareBcMathCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
|
Run tests:
tests/Calculator/LocaleAwareGmpCalculatorTest.php#L16
tests/Calculator/LocaleAwareGmpCalculatorTest.php:16:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
|
Run tests:
tests/ComparatorTest.php#L59
tests/ComparatorTest.php:59:9: UndefinedClass: Class, interface or enum named never does not exist (see https://psalm.dev/019)
|
Run tests:
tests/ConverterTest.php#L195
tests/ConverterTest.php:195:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
|
Run tests:
tests/MoneyTest.php#L102
tests/MoneyTest.php:102:16: DeprecatedMethod: The method PHPUnit\Framework\TestCase::setLocale has been marked as deprecated (see https://psalm.dev/001)
|
Run tests
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading