Skip to content

Commit

Permalink
Merge pull request #158 from Roave/feature/#157-report-version-in-cli
Browse files Browse the repository at this point in the history
#157 report tool version in cli
  • Loading branch information
asgrim authored Sep 18, 2019
2 parents 5e388c3 + ea1f226 commit 5092098
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 265 deletions.
3 changes: 2 additions & 1 deletion bin/roave-backward-compatibility-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Composer\Factory;
use Composer\Installer;
use Composer\IO\ConsoleIO;
use PackageVersions\Versions;
use Roave\BackwardCompatibility\Command;
use Roave\BackwardCompatibility\CompareClasses;
use Roave\BackwardCompatibility\DetectChanges\BCBreak\ClassBased;
Expand Down Expand Up @@ -51,7 +52,7 @@
throw new RuntimeException('Could not find Composer autoload.php');
})();

$application = new Application();
$application = new Application('roave/backward-compatibility-check', Versions::getVersion('roave/backward-compatibility-check'));
$helperSet = $application->getHelperSet();
$input = new ArgvInput();
$output = new ConsoleOutput();
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"require": {
"php": "^7.3",
"ext-json": "*",
"beberlei/assert": "^3.2.1",
"beberlei/assert": "^3.2.3",
"composer/composer": "^1.9.0",
"nikolaposa/version": "^3.1.0",
"roave/better-reflection": "^3.4.0",
"symfony/console": "^4.3.3",
"nikolaposa/version": "^3.2.0",
"ocramius/package-versions": "^1.5.1",
"roave/better-reflection": "^3.5.0",
"symfony/console": "^4.3.4",
"symfony/process": "^4.3.4",
"thecodingmachine/safe": "^0.1.16"
},
Expand All @@ -26,15 +27,14 @@
"require-dev": {
"doctrine/coding-standard": "^6.0.0",
"infection/infection": "^0.13.6",
"phpstan/phpstan": "^0.11.12",
"phpstan/phpstan": "^0.11.16",
"phpstan/phpstan-beberlei-assert": "^0.11.1",
"phpstan/phpstan-phpunit": "^0.11.2",
"phpunit/phpunit": "^8.3.4",
"psalm/plugin-phpunit": "^0.7",
"phpunit/phpunit": "^8.3.5",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.4.2",
"thecodingmachine/phpstan-safe-rule": "^0.1.4",
"vimeo/psalm": "^3.4.9"
"vimeo/psalm": "^3.5.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 5092098

Please sign in to comment.