Skip to content

Commit

Permalink
Phive Install > Update all phar-download commands to phive-install co…
Browse files Browse the repository at this point in the history
…mmands.
  • Loading branch information
Mihai Stancu committed Mar 7, 2021
1 parent 811322d commit ff49cf0
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 86 deletions.
12 changes: 6 additions & 6 deletions resources/architecture.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"summary": "Detect flaws in your architecture",
"website": "https://dephpend.com/",
"command": {
"phar-download": {
"phar": "https://github.com/mihaeu/dephpend/releases/download/0.7.0/dephpend-0.7.0.phar",
"phive-install": {
"alias": "dephpend@^0.7.0",
"bin": "%target-dir%/dephpend"
}
},
Expand All @@ -18,8 +18,8 @@
"summary": "Enforces dependency rules between software layers",
"website": "https://github.com/qossmic/deptrac",
"command": {
"phar-download": {
"phar": "https://github.com/qossmic/deptrac/releases/download/0.11.1/deptrac.phar",
"phive-install": {
"alias": "qossmic/deptrac@^0.11.1",
"bin": "%target-dir%/deptrac"
}
},
Expand All @@ -31,8 +31,8 @@
"summary": "Static Analysis Tool",
"website": "https://pdepend.org/",
"command": {
"phar-download": {
"phar": "https://github.com/pdepend/pdepend/releases/download/2.8.0/pdepend.phar",
"phive-install": {
"alias": "pdepend/pdepend@^2.8.0",
"bin": "%target-dir%/pdepend"
}
},
Expand Down
15 changes: 8 additions & 7 deletions resources/checkstyle.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"summary": "PHP Coding Standards Fixer",
"website": "http://cs.sensiolabs.org/",
"command": {
"phar-download": {
"phar": "http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar",
"phive-install": {
"alias": "php-cs-fixer@^2.0",
"bin": "%target-dir%/php-cs-fixer"
}
},
Expand All @@ -47,8 +47,8 @@
"summary": "Automatically corrects coding standard violations",
"website": "https://github.com/squizlabs/PHP_CodeSniffer",
"command": {
"phar-download": {
"phar": "https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar",
"phive-install": {
"alias": "phpcbf",
"bin": "%target-dir%/phpcbf"
}
},
Expand All @@ -60,9 +60,10 @@
"summary": "The missing checkstyle for twig!",
"website": "https://github.com/friendsoftwig/twigcs",
"command": {
"phar-download": {
"phar": "https://github.com/friendsoftwig/twigcs/releases/download/v5.0.0/twigcs.phar",
"bin": "%target-dir%/twigcs"
"phive-install": {
"alias": "friendsoftwig/twigcs@^5.0.0",
"bin": "%target-dir%/twigcs",
"unsigned": true
}
},
"test": "twigcs --help",
Expand Down
7 changes: 4 additions & 3 deletions resources/compatibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"summary": "Tool to compare two revisions of a class API to check for BC breaks",
"website": "https://github.com/Roave/BackwardCompatibilityCheck",
"command": {
"phar-download": {
"phar": "https://github.com/Roave/BackwardCompatibilityCheck/releases/download/5.0.0/roave-backward-compatibility-check.phar",
"bin": "%target-dir%/roave-backward-compatibility-check"
"phive-install": {
"alias": "Roave/BackwardCompatibilityCheck@^5.0.0",
"bin": "%target-dir%/roave-backward-compatibility-check",
"unsigned": true
}
},
"test": "roave-backward-compatibility-check --version",
Expand Down
4 changes: 2 additions & 2 deletions resources/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"summary": "Show unused packages by scanning your code",
"website": "https://github.com/icanhazstring/composer-unused",
"command": {
"phar-download": {
"phar": "https://github.com/composer-unused/composer-unused/releases/download/0.7.5/composer-unused.phar",
"phive-install": {
"alias": "composer-unused@^0.7.5",
"bin": "%target-dir%/composer-unused"
}
},
Expand Down
14 changes: 8 additions & 6 deletions resources/deprecation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"summary": "Finds usages of deprecated code",
"website": "https://github.com/sensiolabs-de/deprecation-detector",
"command": {
"phar-download": {
"phar": "https://github.com/sensiolabs-de/deprecation-detector/releases/download/0.1.0-alpha4/deprecation-detector.phar",
"bin": "%target-dir%/deprecation-detector"
"phive-install": {
"alias": "sensiolabs-de/deprecation-detector@^0.1.0-alpha4",
"bin": "%target-dir%/deprecation-detector",
"unsigned": true
}
},
"test": "deprecation-detector list",
Expand All @@ -18,9 +19,10 @@
"summary": "Finds usage of deprecated features",
"website": "http://wapmorgan.github.io/PhpDeprecationDetector",
"command": {
"phar-download": {
"phar": "https://github.com/wapmorgan/PhpDeprecationDetector/releases/download/2.0.25/phpdd-2.0.25.phar",
"bin": "%target-dir%/phpdd"
"phive-install": {
"alias": "wapmorgan/PhpDeprecationDetector@^2.0.25",
"bin": "%target-dir%/phpdd",
"unsigned": true
}
},
"test": "phpdd -h",
Expand Down
7 changes: 4 additions & 3 deletions resources/documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"summary": "Documentation generator",
"website": "https://www.phpdoc.org/",
"command": {
"phar-download": {
"phar": "https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.0.0/phpDocumentor.phar",
"bin": "%target-dir%/phpDocumentor"
"phive-install": {
"alias": "phpDocumentor",
"bin": "%target-dir%/phpDocumentor",
"unsigned": true
}
},
"test": "phpDocumentor list",
Expand Down
4 changes: 2 additions & 2 deletions resources/linting.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"summary": "Compact command line utility for checking YAML file syntax",
"website": "https://github.com/j13k/yaml-lint",
"command": {
"phar-download": {
"phar": "https://github.com/j13k/yaml-lint/releases/download/1.1.3/yaml-lint.phar",
"phive-install": {
"alias": "j13k/yaml-lint@^1.1.3",
"bin": "%target-dir%/yaml-lint"
}
},
Expand Down
8 changes: 4 additions & 4 deletions resources/metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"summary": "A tool for quickly measuring the size of a PHP project",
"website": "https://github.com/sebastianbergmann/phploc",
"command": {
"phar-download": {
"phar": "https://phar.phpunit.de/phploc.phar",
"phive-install": {
"alias": "phploc",
"bin": "%target-dir%/phploc"
}
},
Expand All @@ -45,8 +45,8 @@
"summary": "Static Analysis Tool",
"website": "http://www.phpmetrics.org/",
"command": {
"phar-download": {
"phar": "https://github.com/phpmetrics/PhpMetrics/releases/download/v2.7.3/phpmetrics.phar",
"phive-install": {
"alias": "https://github.com/phpmetrics/PhpMetrics/releases/download/v2.7.3/phpmetrics.phar",
"bin": "%target-dir%/phpmetrics"
}
},
Expand Down
7 changes: 4 additions & 3 deletions resources/pre-installation.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@
"summary": "Fast, zero config application bundler with PHARs",
"website": "https://github.com/humbug/box",
"command": {
"phar-download": {
"phar": "https://github.com/humbug/box/releases/download/3.11.1/box.phar",
"bin": "%target-dir%/box"
"phive-install": {
"alias": "humbug/box@^3.11.1",
"bin": "%target-dir%/box",
"unsigned": true
}
},
"test": "box list",
Expand Down
8 changes: 2 additions & 6 deletions resources/psalm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
"summary": "Finds errors in PHP applications",
"website": "https://psalm.dev/",
"command": {
"file-download": {
"url": "https://github.com/vimeo/psalm/releases/download/4.6.2/psalm.phar.asc",
"file": "%target-dir%/psalm.phar.asc"
},
"phar-download": {
"phar": "https://github.com/vimeo/psalm/releases/download/4.6.2/psalm.phar",
"phive-install": {
"alias": "psalm@^4.6.2",
"bin": "%target-dir%/psalm"
}
},
Expand Down
15 changes: 6 additions & 9 deletions resources/refactoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
"summary": "Discovers good candidates for refactoring",
"website": "https://github.com/bmitch/churn-php",
"command": {
"file-download": {
"url": "https://github.com/bmitch/churn-php/releases/download/1.5.0/churn.phar.asc",
"file": "%target-dir%/churn.phar.asc"
},
"phar-download": {
"phar": "https://github.com/bmitch/churn-php/releases/download/1.5.0/churn.phar",
"phive-install": {
"alias": "churn@^1.5.0",
"bin": "%target-dir%/churn"
}
},
Expand All @@ -22,9 +18,10 @@
"summary": "Automatically adds type hints and return types based on PHPDocs",
"website": "https://github.com/dunglas/phpdoc-to-typehint",
"command": {
"phar-download": {
"phar": "https://github.com/dunglas/phpdoc-to-typehint/releases/download/v0.1.0/phpdoc-to-typehint.phar",
"bin": "%target-dir%/phpdoc-to-typehint"
"phive-install": {
"alias": "dunglas/phpdoc-to-typehint@^0.1.0",
"bin": "%target-dir%/phpdoc-to-typehint",
"unsigned": true
}
},
"test": "phpdoc-to-typehint -V",
Expand Down
43 changes: 20 additions & 23 deletions resources/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,8 @@
"name": "infection",
"summary": "AST based PHP Mutation Testing Framework",
"website": "https://infection.github.io/",
"command": {
"file-download": {
"url": "https://github.com/infection/infection/releases/download/0.21.4/infection.phar.asc",
"file": "%target-dir%/infection.phar.asc"
},
"phar-download": {
"phar": "https://github.com/infection/infection/releases/download/0.21.4/infection.phar",
"phive-install": {
"alias": "infection@^0.21",
"bin": "%target-dir%/infection"
}
},
Expand All @@ -35,9 +30,10 @@
"summary": "Parallel testing for PHPUnit",
"website": "https://github.com/paratestphp/paratest",
"command": {
"phar-download": {
"phar": "https://github.com/paratestphp/paratest/releases/download/5.0.4/paratest.phar",
"bin": "%target-dir%/paratest"
"phive-install": {
"alias": "paratestphp/paratest@^5.0.4",
"bin": "%target-dir%/paratest",
"unsigned": true
}
},
"test": "paratest --version",
Expand All @@ -48,8 +44,8 @@
"summary": "a command-line frontend for the PHP_CodeCoverage library",
"website": "https://github.com/sebastianbergmann/phpcov",
"command": {
"phar-download": {
"phar": "https://phar.phpunit.de/phpcov.phar",
"phive-install": {
"alias": "phpcov",
"bin": "%target-dir%/phpcov"
}
},
Expand All @@ -61,9 +57,10 @@
"summary": "SpecBDD Framework",
"website": "http://www.phpspec.net/",
"command": {
"phar-download": {
"phar": "https://github.com/phpspec/phpspec/releases/download/7.0.1/phpspec.phar",
"bin": "%target-dir%/phpspec"
"phive-install": {
"alias": "https://github.com/phpspec/phpspec/releases/download/7.0.1/phpspec.phar",
"bin": "%target-dir%/phpspec",
"unsigned": true
}
},
"test": "phpspec --version",
Expand All @@ -74,8 +71,8 @@
"summary": "The PHP testing framework",
"website": "https://phpunit.de/",
"command": {
"phar-download": {
"phar": "https://phar.phpunit.de/phpunit.phar",
"phive-install": {
"alias": "phpunit",
"bin": "%target-dir%/phpunit"
}
},
Expand All @@ -87,8 +84,8 @@
"summary": "The PHP testing framework (8.x version)",
"website": "https://phpunit.de/",
"command": {
"phar-download": {
"phar": "https://phar.phpunit.de/phpunit-8.phar",
"phive-install": {
"alias": "phpunit@^8.0",
"bin": "%target-dir%/phpunit-8"
}
},
Expand All @@ -100,8 +97,8 @@
"summary": "The PHP testing framework (7.x version)",
"website": "https://phpunit.de/",
"command": {
"phar-download": {
"phar": "https://phar.phpunit.de/phpunit-7.phar",
"phive-install": {
"alias": "phpunit@^7.0",
"bin": "%target-dir%/phpunit-7"
}
},
Expand All @@ -113,8 +110,8 @@
"summary": "The PHP testing framework (5.x version)",
"website": "https://phpunit.de/",
"command": {
"phar-download": {
"phar": "https://phar.phpunit.de/phpunit-5.phar",
"phive-install": {
"alias": "phpunit@^5.0",
"bin": "%target-dir%/phpunit-5"
}
},
Expand Down
20 changes: 8 additions & 12 deletions resources/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"summary": "Static Analysis Tool",
"website": "https://github.com/phan/phan",
"command": {
"phar-download": {
"phar": "https://github.com/phan/phan/releases/download/4.0.3/phan.phar",
"phive-install": {
"alias": "phan@^4.0.3",
"bin": "%target-dir%/phan"
}
},
Expand All @@ -32,12 +32,8 @@
"summary": "PHP Benchmarking framework",
"website": "https://github.com/phpbench/phpbench",
"command": {
"file-download": {
"url": "https://phpbench.github.io/phpbench/phpbench.phar.pubkey",
"file": "%target-dir%/phpbench.pubkey"
},
"phar-download": {
"phar": "https://phpbench.github.io/phpbench/phpbench.phar",
"phive-install": {
"alias": "phpbench/phpbench",
"bin": "%target-dir%/phpbench"
}
},
Expand Down Expand Up @@ -75,8 +71,8 @@
"summary": "Copy/Paste Detector",
"website": "https://github.com/sebastianbergmann/phpcpd",
"command": {
"phar-download": {
"phar": "https://phar.phpunit.de/phpcpd.phar",
"phive-install": {
"alias": "phpcpd",
"bin": "%target-dir%/phpcpd"
}
},
Expand All @@ -88,8 +84,8 @@
"summary": "A tool for finding problems in PHP code",
"website": "https://phpmd.org/",
"command": {
"phar-download": {
"phar": "https://github.com/phpmd/phpmd/releases/download/2.9.1/phpmd.phar",
"phive-install": {
"alias": "phpmd@^2.9.1",
"bin": "%target-dir%/phpmd"
}
},
Expand Down

0 comments on commit ff49cf0

Please sign in to comment.