mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
bump to phpunit 10.0.16
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
"nunomaduro/termwind": "^1.15.1",
|
||||
"pestphp/pest-plugin": "^2.0.0",
|
||||
"pestphp/pest-plugin-arch": "^2.0.0",
|
||||
"phpunit/phpunit": "^10.0.15"
|
||||
"phpunit/phpunit": "^10.0.16"
|
||||
},
|
||||
"conflict": {
|
||||
"brianium/paratest": "<7.0.6"
|
||||
|
||||
@ -84,8 +84,7 @@ final class StateGenerator
|
||||
$state->add(TestResult::fromTestCase(
|
||||
$testResultEvent->test(),
|
||||
TestResult::DEPRECATED,
|
||||
/** @phpstan-ignore-next-line */
|
||||
method_exists(Throwable::class, 'from') ? Throwable::from(new TestOutcome($testResultEvent->message())) : ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
));
|
||||
}
|
||||
|
||||
@ -95,8 +94,7 @@ final class StateGenerator
|
||||
$state->add(TestResult::fromTestCase(
|
||||
$testResultEvent->test(),
|
||||
TestResult::DEPRECATED,
|
||||
/** @phpstan-ignore-next-line */
|
||||
method_exists(Throwable::class, 'from') ? Throwable::from(new TestOutcome($testResultEvent->message())) : ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
));
|
||||
}
|
||||
|
||||
@ -106,8 +104,7 @@ final class StateGenerator
|
||||
$state->add(TestResult::fromTestCase(
|
||||
$testResultEvent->test(),
|
||||
TestResult::NOTICE,
|
||||
/** @phpstan-ignore-next-line */
|
||||
method_exists(Throwable::class, 'from') ? Throwable::from(new TestOutcome($testResultEvent->message())) : ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
));
|
||||
}
|
||||
|
||||
@ -117,8 +114,7 @@ final class StateGenerator
|
||||
$state->add(TestResult::fromTestCase(
|
||||
$testResultEvent->test(),
|
||||
TestResult::NOTICE,
|
||||
/** @phpstan-ignore-next-line */
|
||||
method_exists(Throwable::class, 'from') ? Throwable::from(new TestOutcome($testResultEvent->message())) : ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
));
|
||||
}
|
||||
|
||||
@ -128,8 +124,7 @@ final class StateGenerator
|
||||
$state->add(TestResult::fromTestCase(
|
||||
$testResultEvent->test(),
|
||||
TestResult::WARN,
|
||||
/** @phpstan-ignore-next-line */
|
||||
method_exists(Throwable::class, 'from') ? Throwable::from(new TestOutcome($testResultEvent->message())) : ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
));
|
||||
}
|
||||
|
||||
@ -139,8 +134,7 @@ final class StateGenerator
|
||||
$state->add(TestResult::fromTestCase(
|
||||
$testResultEvent->test(),
|
||||
TestResult::WARN,
|
||||
/** @phpstan-ignore-next-line */
|
||||
method_exists(Throwable::class, 'from') ? Throwable::from(new TestOutcome($testResultEvent->message())) : ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
ThrowableBuilder::from(new TestOutcome($testResultEvent->message()))
|
||||
));
|
||||
}
|
||||
|
||||
@ -154,8 +148,7 @@ final class StateGenerator
|
||||
'',
|
||||
'',
|
||||
1,
|
||||
/** @phpstan-ignore-next-line */
|
||||
method_exists(TestDox::class, 'fromClassNameAndMethodName') ? TestDox::fromClassNameAndMethodName('', '') : TestDoxBuilder::fromClassNameAndMethodName('', ''),
|
||||
TestDoxBuilder::fromClassNameAndMethodName('', ''),
|
||||
MetadataCollection::fromArray([]),
|
||||
TestDataCollection::fromArray([])
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user