Skip to content

Upgrading brianium/paratest 3 to 4

Unknown3.1.2 → 4.2.0

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.

  • 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.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

PHP requirement changed in 4.1.0: ^7.1 → ^7.3.

Generated by DepDelta from published PHP source. Not mixed with prose notes.

  • removed: method VersionProvider.getGitVersion()
  • changed: constructor VersionProvider($default = …) → constructor VersionProvider(?string $default = …)
  • changed: method ParaTestApplication.doRun(InputInterface $input, OutputInterface $output) → method ParaTestApplication.doRun(InputInterface $input, OutputInterface $output): int
  • changed: method VersionProvider.getComposerInstalledVersion($package) → method VersionProvider.getComposerInstalledVersion(string $package): ?string
  • changed: method VersionProvider.getParaTestVersion() → method VersionProvider.getParaTestVersion(): ?string
  • changed: static method VersionProvider.getVersion($default = …) → static method VersionProvider.getVersion(?string $default = …): ?string
  • changed: method ParaTestCommand.execute(InputInterface $input, OutputInterface $output) → method ParaTestCommand.execute(InputInterface $input, OutputInterface $output): int
  • changed: protected method ParaTestCommand.configure() → protected method ParaTestCommand.configure(): void
  • removed: protected method Tester.displayHelp(InputInterface $input, OutputInterface $output)
  • changed: method PHPUnit.configure(Command $command) → method PHPUnit.configure(Command $command): void
  • changed: method PHPUnit.execute(InputInterface $input, OutputInterface $output) → method PHPUnit.execute(InputInterface $input, OutputInterface $output): int
  • changed: method PHPUnit.requireBootstrap(string $file) → method PHPUnit.requireBootstrap(string $file): void
  • changed: method Tester.execute(InputInterface $input, OutputInterface $output) → method Tester.execute(InputInterface $input, OutputInterface $output): int
  • changed: protected method PHPUnit.hasPath(InputInterface $input) → protected method PHPUnit.hasPath(InputInterface $input): bool
  • changed: protected method PHPUnit.scopedRequire(string $file) → protected method PHPUnit.scopedRequire(string $file): void
  • added: protected method PHPUnit.displayHelp(InputInterface $input, OutputInterface $output): void
  • changed: method CoverageMerger.addCoverageFromFile(string $coverageFile = …) → method CoverageMerger.addCoverageFromFile(?string $coverageFile = …): void
  • changed: method CoverageReporter.clover(string $target) → method CoverageReporter.clover(string $target): void
  • changed: method CoverageReporter.html(string $target) → method CoverageReporter.html(string $target): void
  • changed: method CoverageReporter.php(string $target) → method CoverageReporter.php(string $target): void
  • changed: method CoverageReporter.text() → method CoverageReporter.text(): void
  • changed: method CoverageReporter.xml(string $target) → method CoverageReporter.xml(string $target): void
  • changed: method CoverageReporterInterface.clover(string $target) → method CoverageReporterInterface.clover(string $target): void
  • changed: method CoverageReporterInterface.html(string $target) → method CoverageReporterInterface.html(string $target): void
  • changed: method CoverageReporterInterface.php(string $target) → method CoverageReporterInterface.php(string $target): void
  • changed: method CoverageReporterInterface.text() → method CoverageReporterInterface.text(): void
  • changed: method CoverageReporterInterface.xml(string $target) → method CoverageReporterInterface.xml(string $target): void
  • added: method CoverageReporter.crap4j(string $target): void
  • added: method CoverageReporterInterface.crap4j(string $target): void
  • changed: method LogInterpreter.rewind() → method LogInterpreter.rewind(): void
  • changed: protected method LogInterpreter.extendEmptyCasesFromSuites(array $cases, TestSuite $suite) → protected method LogInterpreter.extendEmptyCasesFromSuites(array $cases, TestSuite $suite): void
  • changed: constructor TestSuite(string $name, int $tests, int $assertions, int $failures, int $errors, int $skipped, float $time, string $file = …) → constructor TestSuite(string $name, int $tests, int $assertions, int $failures, int $errors, int $skipped, float $time, ?string $file = …)
  • changed: method Reader.removeLog() → method Reader.removeLog(): void
  • changed: method Writer.write(string $path) → method Writer.write(string $path): void
  • changed: protected method Reader.addSuite($properties, array $testCases) → protected method Reader.addSuite(array $properties, array $testCases): void
  • changed: protected method Reader.caseNodesToSuiteProperties(array $nodeArray, array &$testCases = …) → protected method Reader.caseNodesToSuiteProperties(array $nodeArray, array &$testCases = …): array
  • changed: protected method Reader.init() → protected method Reader.init(): void
  • changed: protected method Reader.initSuite() → protected method Reader.initSuite(): void
  • changed: protected method Reader.initSuiteFromCases(array $nodeArray) → protected method Reader.initSuiteFromCases(array $nodeArray): void
  • changed: protected method TestCase.addDefect(string $collName, string $type, string $text) → protected method TestCase.addDefect(string $collName, string $type, string $text): void
  • changed: protected method Writer.appendCase(\DOMElement $suiteNode, TestCase $case): \DOMElement → protected method Writer.appendCase(DOMElement $suiteNode, TestCase $case): DOMElement
  • changed: protected method Writer.appendDefects(\DOMElement $caseNode, array $defects, string $type) → protected method Writer.appendDefects(DOMElement $caseNode, array $defects, string $type): void
  • changed: protected method Writer.appendSuite(\DOMElement $root, TestSuite $suite): \DOMElement → protected method Writer.appendSuite(DOMElement $root, TestSuite $suite): DOMElement
  • changed: protected method Writer.getSuiteRoot(array $suites): \DOMElement → protected method Writer.getSuiteRoot(array $suites): DOMElement
  • changed: static method TestCase.caseFromNode(\SimpleXMLElement $node): self → static method TestCase.caseFromNode(SimpleXMLElement $node): self
  • changed: static method TestSuite.suiteFromNode(\SimpleXMLElement $node): self → static method TestSuite.suiteFromNode(SimpleXMLElement $node): self
  • added: protected method Reader.getMessages(string $type): array
  • added: protected method Reader.getNumericValue(string $property)
  • changed: class NoClassInFileException extends \Exception → class NoClassInFileException extends Exception
  • changed: method ParsedObject.getDocBlock() → method ParsedObject.getDocBlock(): string
  • changed: method ParsedObject.hasAnnotation(string $annotation, string $value = …): bool → method ParsedObject.hasAnnotation(string $annotation, ?string $value = …): bool
  • changed: method Parser.getClass() → method Parser.getClass(): ?ParsedClass
  • removed: protected method ExecutableTest.getCommandString(string $binary, array $options = …, ?string $passthru = …)
  • removed: protected method FullSuite.getCommandString(string $binary, array $options = …, ?string $passthru = …)
  • removed: protected property Configuration.suites
  • removed: protected property ExecutableTest.fullyQualifiedClassName
  • removed: protected property ExecutableTest.pipes
  • removed: protected property ResultPrinter.timer
  • removed: protected property ResultPrinter.warnings
  • changed: constructor ExecutableTest(string $path, ?string $fullyQualifiedClassName = …) → constructor ExecutableTest(string $path)
  • changed: constructor FullSuite($suiteName, $configPath) → constructor FullSuite(string $suiteName, string $configPath)
  • changed: constructor Suite(string $path, array $functions, string $fullyQualifiedClassName = …) → constructor Suite(string $path, array $functions)
  • changed: constructor SuiteLoader(Options $options = …) → constructor SuiteLoader(?Options $options = …)
  • changed: constructor TestFileLoader(Options $options = …) → constructor TestFileLoader(?Options $options = …)
  • changed: method BaseRunner.run() → method BaseRunner.run(): void
  • changed: method Configuration.getSuiteByName(string $suiteName) → method Configuration.getSuiteByName(string $suiteName): ?array
  • changed: method Configuration.getSuitePaths(string $path) → method Configuration.getSuitePaths(string $path): array
  • changed: method Configuration.getSuites() → method Configuration.getSuites(): ?array
  • changed: method Configuration.getSuitesName() → method Configuration.getSuitesName(): ?array
  • changed: method Configuration.hasSuites() → method Configuration.hasSuites(): bool
  • changed: method EmptyRunnerStub.run() → method EmptyRunnerStub.run(): void
  • changed: method ExecutableTest.command(string $binary, array $options = …, ?string $passthru = …): string → method ExecutableTest.command(string $binary, array $options = …, ?array $passthru = …): string
  • changed: method ExecutableTest.deleteFile() → method ExecutableTest.deleteFile(): void
  • changed: method ExecutableTest.getExitCode(): int → method ExecutableTest.getExitCode(): ?int
  • changed: method ExecutableTest.run(string $binary, array $options = …, array $environmentVariables = …, ?string $passthru = …, ?string $passthruPhp = …) → method ExecutableTest.run(string $binary, array $options = …, array $environmentVariables = …, ?array $passthru = …, ?array $passthruPhp = …)
  • changed: method ExecutableTest.setLastCommand(string $command) → method ExecutableTest.setLastCommand(string $command): void
  • changed: method ExecutableTest.setTempFile(string $temp) → method ExecutableTest.setTempFile(string $temp): void
  • changed: method ExecutableTest.stop(): int → method ExecutableTest.stop(): ?int
  • changed: method ResultPrinter.flush() → method ResultPrinter.flush(): void
  • changed: method ResultPrinter.printFeedback(ExecutableTest $test) → method ResultPrinter.printFeedback(ExecutableTest $test): void
  • changed: method ResultPrinter.printResults() → method ResultPrinter.printResults(): void
  • changed: method ResultPrinter.println(string $string = …) → method ResultPrinter.println(string $string = …): void
  • changed: method ResultPrinter.start(Options $options) → method ResultPrinter.start(Options $options): void
  • changed: method Runner.run() → method Runner.run(): void
  • changed: method SqliteRunner.run() → method SqliteRunner.run(): void
  • changed: method TestFileLoader.loadPath(string $path, string $pattern = …): array → method TestFileLoader.loadPath(string $path, ?string $pattern = …): array
  • changed: method WrapperRunner.run() → method WrapperRunner.run(): void
  • changed: protected method BaseRunner.getCoverage() → protected method BaseRunner.getCoverage(): ?CoverageMerger
  • changed: protected method BaseRunner.initCoverage() → protected method BaseRunner.initCoverage(): void
  • changed: protected method BaseRunner.load(SuiteLoader $loader) → protected method BaseRunner.load(SuiteLoader $loader): void
  • changed: protected method BaseRunner.log() → protected method BaseRunner.log(): void
  • changed: protected method BaseRunner.logCoverage() → protected method BaseRunner.logCoverage(): void
  • changed: protected method BaseRunner.overrideEnvironmentVariables() → protected method BaseRunner.overrideEnvironmentVariables(): void
  • changed: protected method BaseRunner.verifyConfiguration() → protected method BaseRunner.verifyConfiguration(): void
  • changed: protected method ExecutableTest.assertValidCommandLineLength(string $cmd) → protected method ExecutableTest.assertValidCommandLineLength(string $cmd): void
  • changed: protected method ExecutableTest.getFullCommandlineString($binary, $options, ?string $passthru = …, ?string $passthruPhp = …) → protected method ExecutableTest.getFullCommandlineString(string $binary, array $options, ?array $passthru = …, ?array $passthruPhp = …): string
  • changed: protected method ExecutableTest.handleEnvironmentVariables(array $environmentVariables) → protected method ExecutableTest.handleEnvironmentVariables(array $environmentVariables): void
  • changed: protected method Options.getConfigurationPath(array $filtered) → protected method Options.getConfigurationPath(array $filtered): ?string
  • changed: protected method Options.initAnnotations() → protected method Options.initAnnotations(): void
  • changed: protected method ResultPrinter.printFeedbackItem(string $item) → protected method ResultPrinter.printFeedbackItem(string $item): void
  • changed: protected method ResultPrinter.printSkippedAndIncomplete(int $actualTestCount, int $expectedTestCount) → protected method ResultPrinter.printSkippedAndIncomplete(int $actualTestCount, int $expectedTestCount): void
  • changed: protected method ResultPrinter.processReaderFeedback(Reader $reader, int $expectedTestCount) → protected method ResultPrinter.processReaderFeedback(Reader $reader, int $expectedTestCount): void
  • changed: protected method ResultPrinter.processTestOverhead(int $actualTestCount, int $expectedTestCount) → protected method ResultPrinter.processTestOverhead(int $actualTestCount, int $expectedTestCount): void
  • changed: protected method Runner.acquireToken($tokenIdentifier) → protected method Runner.acquireToken(int $tokenIdentifier): void
  • changed: protected method Runner.initTokens() → protected method Runner.initTokens(): void
  • changed: protected method Runner.releaseToken($tokenIdentifier) → protected method Runner.releaseToken(int $tokenIdentifier): void
  • changed: protected method WrapperRunner.complete() → protected method WrapperRunner.complete(): void
  • changed: protected method WrapperRunner.load(SuiteLoader $loader) → protected method WrapperRunner.load(SuiteLoader $loader): void
  • changed: protected method WrapperRunner.startWorkers() → protected method WrapperRunner.startWorkers(): void
  • added: constructor WrapperRunner(array $opts = …)
  • added: method ExecutableTest.commandArguments(string $binary, array $options = …, ?array $passthru = …): array
  • added: method FullSuite.commandArguments(string $binary, array $options = …, ?array $passthru = …): array
  • added: protected method ResultPrinter.printFeedbackItemColor(string $item): void
  • added: protected property SqliteRunner.workers
  • added: protected property TestFileLoader.options
  • changed: method BaseWorker.checkNotCrashed() → method BaseWorker.checkNotCrashed(): void
  • changed: method BaseWorker.getCrashReport() → method BaseWorker.getCrashReport(): string
  • changed: method BaseWorker.start(string $wrapperBinary, $token = …, $uniqueToken = …, array $parameters = …, ?Options $options = …) → method BaseWorker.start(string $wrapperBinary, ?int $token = …, ?string $uniqueToken = …, array $parameters = …, ?Options $options = …): void
  • changed: method BaseWorker.stop() → method BaseWorker.stop(): void
  • changed: method SqliteWorker.start(string $wrapperBinary, $token = …, $uniqueToken = …, array $parameters = …, ?Options $options = …) → method SqliteWorker.start(string $wrapperBinary, ?int $token = …, ?string $uniqueToken = …, array $parameters = …, ?Options $options = …): void
  • changed: method WrapperWorker.assign(ExecutableTest $test, string $phpunit, array $phpunitOptions, Options $options) → method WrapperWorker.assign(ExecutableTest $test, string $phpunit, array $phpunitOptions, Options $options): void
  • changed: method WrapperWorker.execute(string $testCmd) → method WrapperWorker.execute(array $testCmdArguments): void
  • changed: method WrapperWorker.getCoverageFileName() → method WrapperWorker.getCoverageFileName(): ?string
  • changed: method WrapperWorker.printFeedback(ResultPrinter $printer) → method WrapperWorker.printFeedback(ResultPrinter $printer): void
  • changed: method WrapperWorker.reset() → method WrapperWorker.reset(): void
  • changed: method WrapperWorker.stop() → method WrapperWorker.stop(): void
  • changed: method WrapperWorker.waitForFinishedJob() → method WrapperWorker.waitForFinishedJob(): void
  • changed: method WrapperWorker.waitForStop() → method WrapperWorker.waitForStop(): void
  • changed: protected method BaseWorker.setExitCode(array $status) → protected method BaseWorker.setExitCode(array $status): void
  • changed: protected method WrapperWorker.checkStarted() → protected method WrapperWorker.checkStarted(): void