Upgrading nunomaduro/collision 1 to 2
Unknownv1.1.22 → v2.1.1
Fetching 6 releases from GitHub…0 / 6
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published PHP source. Not mixed with prose notes.
- changed:
constructor Writer(OutputInterface $output = …, ArgumentFormatterContract $argumentFormatter = …) → constructor Writer(OutputInterface $output = …, ArgumentFormatterContract $argumentFormatter = …, HighlighterContract $highlighter = …) - added:
class Highlighter extends BaseHighlighter implements HighlighterContract - added:
constructor Highlighter(ConsoleColor $color = …) - added:
method Highlighter.highlight(string $content, int $line): string - added:
protected property Highlighter.theme - added:
protected property Writer.highlighter
- added:
method CollisionServiceProvider.provides() - added:
method ExceptionHandler.shouldReport(Exception $e) - added:
protected property CollisionServiceProvider.defer
- changed:
method Listener.addError(Test $test, Exception $e, $time) → method Listener.addError(Test $test, \Throwable $t, float $time): void - changed:
method Listener.addFailure(Test $test, AssertionFailedError $e, $time) → method Listener.addFailure(Test $test, AssertionFailedError $t, float $time): void - changed:
method Listener.addIncompleteTest(Test $test, Exception $e, $time) → method Listener.addIncompleteTest(Test $test, \Throwable $t, float $time): void - changed:
method Listener.addRiskyTest(Test $test, Exception $e, $time) → method Listener.addRiskyTest(Test $test, \Throwable $t, float $time): void - changed:
method Listener.addSkippedTest(Test $test, Exception $e, $time) → method Listener.addSkippedTest(Test $test, \Throwable $t, float $time): void - changed:
method Listener.addWarning(Test $test, Warning $e, $time) → method Listener.addWarning(Test $test, Warning $t, float $time): void - changed:
method Listener.endTest(Test $test, $time) → method Listener.endTest(Test $test, float $time): void - changed:
method Listener.endTestSuite(TestSuite $suite) → method Listener.endTestSuite(TestSuite $suite): void - changed:
method Listener.render(\Throwable $e) → method Listener.render(\Throwable $t) - changed:
method Listener.startTest(Test $test) → method Listener.startTest(Test $test): void - changed:
method Listener.startTestSuite(TestSuite $suite) → method Listener.startTestSuite(TestSuite $suite): void
- added:
interface Highlighter - added:
method Highlighter.highlight(string $content, int $line): string
- changed:
method Listener.render(\Throwable $e) → method Listener.render(\Throwable $t)