Upgrading nunomaduro/collision 3 to 4
Unknownv3.2.0 → v4.3.0
Fetching 8 releases from GitHub…0 / 8
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.
- removed:
protected method Writer.renderTitle(Inspector $inspector): WriterContract - removed:
protected property Highlighter.theme - changed:
class Highlighter extends BaseHighlighter implements HighlighterContract → class Highlighter implements HighlighterContract - changed:
constructor Writer(OutputInterface $output = …, ArgumentFormatterContract $argumentFormatter = …, HighlighterContract $highlighter = …) → constructor Writer(SolutionsRepository $solutionsRepository = …, OutputInterface $output = …, ArgumentFormatterContract $argumentFormatter = …, HighlighterContract $highlighter = …) - added:
class ConsoleColor - added:
const ConsoleColor.BACKGROUND - added:
const ConsoleColor.COLOR256_REGEXP - added:
const ConsoleColor.FOREGROUND - added:
const ConsoleColor.RESET_STYLE - added:
const Highlighter.ACTUAL_LINE_MARK - added:
const Highlighter.LINE_NUMBER - added:
const Highlighter.TOKEN_COMMENT - added:
const Highlighter.TOKEN_DEFAULT - added:
const Highlighter.TOKEN_HTML - added:
const Highlighter.TOKEN_KEYWORD - added:
const Highlighter.TOKEN_STRING - added:
constructor ConsoleColor() - added:
method ConsoleColor.addTheme($name, $styles) - added:
method ConsoleColor.apply($style, $text) - added:
method ConsoleColor.are256ColorsSupported() - added:
method ConsoleColor.getPossibleStyles() - added:
method ConsoleColor.getThemes() - added:
method ConsoleColor.hasTheme($name) - added:
method ConsoleColor.isStyleForced() - added:
method ConsoleColor.isSupported() - added:
method ConsoleColor.removeTheme($name) - added:
method ConsoleColor.setForceStyle($forceStyle) - added:
method ConsoleColor.setThemes(array $themes) - added:
method Highlighter.getCodeSnippet($source, $lineNumber, $linesBefore = …, $linesAfter = …) - added:
method Writer.showTitle(bool $show): WriterContract - added:
protected method Writer.getFileRelativePath(string $filePath): string - added:
protected method Writer.renderSolution(Inspector $inspector): WriterContract - added:
protected method Writer.renderTitleAndDescription(Inspector $inspector): WriterContract - added:
protected property Writer.showTitle
- changed:
method ExceptionHandler.render($request, Exception $e) → method ExceptionHandler.render($request, Throwable $e) - changed:
method ExceptionHandler.renderForConsole($output, Exception $e) → method ExceptionHandler.renderForConsole($output, Throwable $e) - changed:
method ExceptionHandler.report(Exception $e) → method ExceptionHandler.report(Throwable $e) - changed:
method ExceptionHandler.shouldReport(Exception $e) → method ExceptionHandler.shouldReport(Throwable $e) - added:
class IgnitionSolutionsRepository implements SolutionsRepository - added:
constructor IgnitionSolutionsRepository(SolutionProviderRepository $solutionProviderRepository) - added:
method CollisionServiceProvider.boot() - added:
method IgnitionSolutionsRepository.getFromThrowable(Throwable $throwable): array - added:
protected property IgnitionSolutionsRepository.solutionProviderRepository
- added:
class TestCommand extends Command - added:
constructor TestCommand() - added:
method TestCommand.handle() - added:
protected method TestCommand.binary() - added:
protected method TestCommand.clearEnv() - added:
protected method TestCommand.phpunitArguments($options) - added:
protected property TestCommand.arguments - added:
protected property TestCommand.description - added:
protected property TestCommand.signature
- removed:
class Listener implements ListenerContract - removed:
constructor Listener(WriterContract $writer = …) - removed:
method Listener.__destruct() - removed:
method Listener.addError(Test $test, \Throwable $t, float $time): void - removed:
method Listener.addFailure(Test $test, AssertionFailedError $t, float $time): void - removed:
method Listener.addIncompleteTest(Test $test, \Throwable $t, float $time): void - removed:
method Listener.addRiskyTest(Test $test, \Throwable $t, float $time): void - removed:
method Listener.addSkippedTest(Test $test, \Throwable $t, float $time): void - removed:
method Listener.addWarning(Test $test, Warning $t, float $time): void - removed:
method Listener.endTest(Test $test, float $time): void - removed:
method Listener.endTestSuite(TestSuite $suite): void - removed:
method Listener.render(\Throwable $t) - removed:
method Listener.startTest(Test $test): void - removed:
method Listener.startTestSuite(TestSuite $suite): void - removed:
protected method Listener.buildWriter(): WriterContract - removed:
protected property Listener.exceptionFound - removed:
protected property Listener.writer - added:
const TestResult.FAIL - added:
const TestResult.INCOMPLETE - added:
const TestResult.PASS - added:
const TestResult.RISKY - added:
const TestResult.RUNS - added:
const TestResult.SKIPPED - added:
const TestResult.WARN - added:
constructor PrinterContents(ConsoleOutput $output = …) - added:
constructor Style(ConsoleOutput $output) - added:
final class ConfigureIO - added:
final class Printer extends \PHPUnit\Util\Printer implements \PHPUnit\Framework\TestListener - added:
final class Printer implements \PHPUnit\TextUI\ResultPrinter - added:
final class State - added:
final class Style - added:
final class TestResult - added:
final class Timer - added:
method Printer.printResult(\PHPUnit\Framework\TestResult $result): void - added:
method PrinterContents.addError(Test $testCase, Throwable $throwable, float $time): void - added:
method PrinterContents.addFailure(Test $testCase, AssertionFailedError $error, float $time): void - added:
method PrinterContents.addIncompleteTest(Test $testCase, Throwable $t, float $time): void - added:
method PrinterContents.addRiskyTest(Test $testCase, Throwable $t, float $time): void - added:
method PrinterContents.addSkippedTest(Test $testCase, Throwable $t, float $time): void - added:
method PrinterContents.addWarning(Test $testCase, Warning $warning, float $time): void - added:
method PrinterContents.endTest(Test $testCase, float $time): void - added:
method PrinterContents.endTestSuite(TestSuite $suite): void - added:
method PrinterContents.startTest(Test $testCase): void - added:
method PrinterContents.startTestSuite(TestSuite $suite): void - added:
method PrinterContents.write(string $content): void - added:
method State.add(TestResult $test): void - added:
method State.countTestsInTestSuiteBy(string $type): int - added:
method State.eachTestCaseTests(callable $callback): void - added:
method State.existsInTestCase(TestCase $test): bool - added:
method State.getTestCaseTitle(): string - added:
method State.getTestCaseTitleColor(): string - added:
method State.moveTo(TestCase $testCase): void - added:
method State.testCaseHasChanged(TestCase $testCase): bool - added:
method State.testCaseTestsCount(): int - added:
method State.testSuiteTestsCount(): int - added:
method Style.updateFooter(State $state, TestCase $testCase = …): void - added:
method Style.writeCurrentRecap(State $state): void - added:
method Style.writeError(State $state, Throwable $throwable) - added:
method Style.writeRecap(Timer $timer): void - added:
method Timer.result(): float - added:
property State.suiteTests - added:
property State.suiteTotalTests - added:
property State.testCaseName - added:
property State.testCaseTests - added:
property TestResult.color - added:
property TestResult.description - added:
property TestResult.icon - added:
property TestResult.type - added:
property TestResult.warning - added:
static method ConfigureIO.of(InputInterface $input, Output $output): void - added:
static method State.from(TestCase $test): self - added:
static method TestResult.fromTestCase(TestCase $testCase, string $type, string $warning = …): self - added:
static method TestResult.makeColor(string $type): string - added:
static method TestResult.makeDescription(TestCase $testCase): string - added:
static method TestResult.makeIcon(string $type): string - added:
static method Timer.start(): Timer - added:
trait PrinterContents
- added:
interface SolutionsRepository - added:
method SolutionsRepository.getFromThrowable(Throwable $throwable): array - added:
method Writer.showTitle(bool $show): Writer
- changed:
method Listener.render(\Throwable $t) → method Listener.render(Test $test, \Throwable $t) - added:
interface HasPrintableTestCaseName - added:
method HasPrintableTestCaseName.getPrintableTestCaseName(): string
- added:
constructor ShouldNotHappen() - added:
final class ShouldNotHappen extends RuntimeException
- added:
class NullSolutionsRepository implements SolutionsRepository - added:
method NullSolutionsRepository.getFromThrowable(Throwable $throwable): array