Skip to content

Upgrading brianium/paratest 1 to 2

Unknown1.1.0 → 2.2.0

Fetching 3 releases from GitHub…0 / 3
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 2.0: >=7.0 → >=7.1.

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

  • added: method CoverageReporter.text()
  • added: method CoverageReporter.xml(string $target)
  • added: method CoverageReporterInterface.text()
  • added: method CoverageReporterInterface.xml(string $target)
  • removed: class Worker
  • removed: method Worker.assign(ExecutableTest $test, string $phpunit, array $phpunitOptions)
  • removed: method Worker.execute(string $testCmd)
  • removed: method Worker.getCoverageFileName()
  • removed: method Worker.isCrashed(): bool
  • removed: method Worker.isFree(): bool
  • removed: method Worker.isRunning(): bool
  • removed: method Worker.isStarted(): bool
  • removed: method Worker.printFeedback(ResultPrinter $printer)
  • removed: method Worker.reset()
  • removed: method Worker.start(string $wrapperBinary, $token = …, $uniqueToken = …)
  • removed: method Worker.stdout()
  • removed: method Worker.stop()
  • removed: method Worker.waitForFinishedJob()
  • removed: method Worker.waitForStop()
  • changed: constructor ExecutableTest(string $path, string $fullyQualifiedClassName = …) → constructor ExecutableTest(string $path, ?string $fullyQualifiedClassName = …)
  • changed: method ExecutableTest.command(string $binary, array $options = …): string → method ExecutableTest.command(string $binary, array $options = …, ?string $passthru = …): string
  • changed: method ExecutableTest.run(string $binary, array $options = …, array $environmentVariables = …) → method ExecutableTest.run(string $binary, array $options = …, array $environmentVariables = …, ?string $passthru = …, ?string $passthruPhp = …)
  • changed: protected method BaseRunner.load() → protected method BaseRunner.load(SuiteLoader $loader)
  • changed: protected method ExecutableTest.getCommandString(string $binary, array $options = …) → protected method ExecutableTest.getCommandString(string $binary, array $options = …, ?string $passthru = …)
  • changed: protected method WrapperRunner.load() → protected method WrapperRunner.load(SuiteLoader $loader)
  • added: class FullSuite extends ExecutableTest
  • added: class SqliteRunner extends WrapperRunner
  • added: const Configuration.TEST_SUITE_FILTER_SEPARATOR
  • added: constructor FullSuite($suiteName, $configPath)
  • added: constructor SqliteRunner(array $opts = …)
  • added: method Configuration.getEnvironmentVariables(): array
  • added: method Configuration.getSuitesName()
  • added: method Configuration.hasSuites()
  • added: method ExecutableTest.setLastCommand(string $command)
  • added: method FullSuite.getTestCount(): int
  • added: method SqliteRunner.__destruct()
  • added: method SqliteRunner.run()
  • added: protected method BaseRunner.initialize(): void
  • added: protected method BaseRunner.overrideEnvironmentVariables()
  • added: protected method ExecutableTest.getFullCommandlineString($binary, $options, ?string $passthru = …, ?string $passthruPhp = …)
  • added: protected method FullSuite.getCommandString(string $binary, array $options = …, ?string $passthru = …)
  • added: protected method SqliteRunner.startWorkers(): void
  • added: protected method SuiteLoader.addDependentTestsToBatchSet(array &$batches, string $dependsOn, array $tests)
  • added: protected method SuiteLoader.addTestsToBatchSet(array &$batches, array $tests, int $maxBatchSize)
  • added: protected method SuiteLoader.createSuite(string $path, ParsedClass $class): Suite
  • added: protected method SuiteLoader.executableTests(string $path, ParsedClass $class)
  • added: protected method SuiteLoader.getMethodBatches(ParsedClass $class): array
  • added: protected method SuiteLoader.getMethodTests(ParsedClass $class, ParsedFunction $method, bool $useDataProvider = …): array
  • added: protected method SuiteLoader.initSuites()
  • added: protected method SuiteLoader.methodDataProvider(ParsedFunction $method)
  • added: protected method SuiteLoader.methodDependency(ParsedFunction $method)
  • added: protected method SuiteLoader.methodGroups(ParsedFunction $method)
  • added: protected method SuiteLoader.testMatchFilterOptions(string $className, string $name): bool
  • added: protected method SuiteLoader.testMatchGroupOptions(array $groups): bool
  • added: protected method SuiteLoader.testMatchOptions(string $className, string $name, array $group): bool
  • added: protected method WrapperRunner.complete()
  • added: protected method WrapperRunner.startWorkers()
  • added: protected property FullSuite.configPath
  • added: protected property FullSuite.suiteName
  • added: protected property Options.parallelSuite
  • added: protected property Options.passthru
  • added: protected property Options.passthruPhp
  • added: protected property Options.verbose
  • added: protected property SuiteLoader.configuration
  • added: protected property SuiteLoader.suitesName
  • added: static method Options.getNumberOfCPUCores(): int
  • added: abstract class BaseWorker
  • added: class SqliteWorker extends BaseWorker
  • added: class WrapperWorker extends BaseWorker
  • added: constructor SqliteWorker(string $dbFileName)
  • added: method BaseWorker.checkNotCrashed()
  • added: method BaseWorker.getCrashReport()
  • added: method BaseWorker.isCrashed(): bool
  • added: method BaseWorker.isFree(): bool
  • added: method BaseWorker.isRunning(): bool
  • added: method BaseWorker.isStarted(): bool
  • added: method BaseWorker.start(string $wrapperBinary, $token = …, $uniqueToken = …, array $parameters = …, ?Options $options = …)
  • added: method BaseWorker.stop()
  • added: method SqliteWorker.start(string $wrapperBinary, $token = …, $uniqueToken = …, array $parameters = …, ?Options $options = …)
  • added: method WrapperWorker.assign(ExecutableTest $test, string $phpunit, array $phpunitOptions, Options $options)
  • added: method WrapperWorker.execute(string $testCmd)
  • added: method WrapperWorker.getCoverageFileName()
  • added: method WrapperWorker.printFeedback(ResultPrinter $printer)
  • added: method WrapperWorker.reset()
  • added: method WrapperWorker.stdout()
  • added: method WrapperWorker.stop()
  • added: method WrapperWorker.waitForFinishedJob()
  • added: method WrapperWorker.waitForStop()
  • added: protected method BaseWorker.setExitCode(array $status)
  • added: protected method WrapperWorker.checkStarted()
  • added: protected property BaseWorker.inExecution
  • added: protected property BaseWorker.pipes
  • added: protected property BaseWorker.proc
  • added: protected static property BaseWorker.descriptorspec
  • added: class Str
  • added: static method Str.explodeWithCleanup(string $delimiter, string $string): array