Skip to content

Commit

Permalink
Phive Install > Default to accepting everything unsigned for the moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihai Stancu authored and mihai-stancu committed Mar 18, 2021
1 parent 098e74a commit d0dec93
Show file tree
Hide file tree
Showing 18 changed files with 101 additions and 121 deletions.
12 changes: 7 additions & 5 deletions resources/architecture.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"website": "https://dephpend.com/",
"command": {
"phive-install": {
"alias": "dephpend@^0.7.0",
"bin": "%target-dir%/dephpend"
"alias": "dephpend",
"bin": "%target-dir%/dephpend",
"sig": "76835C9464877BDD"
}
},
"test": "dephpend list",
Expand All @@ -19,8 +20,9 @@
"website": "https://github.com/qossmic/deptrac",
"command": {
"phive-install": {
"alias": "qossmic/deptrac@^0.11.1",
"bin": "%target-dir%/deptrac"
"alias": "deptrac",
"bin": "%target-dir%/deptrac",
"sig": "4F2AB4D11A9A65F7"
}
},
"test": "deptrac list",
Expand All @@ -32,7 +34,7 @@
"website": "https://pdepend.org/",
"command": {
"phive-install": {
"alias": "pdepend/pdepend@^2.8.0",
"alias": "pdepend/pdepend@^2.0",
"bin": "%target-dir%/pdepend"
}
},
Expand Down
11 changes: 6 additions & 5 deletions resources/checkstyle.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"command": {
"phive-install": {
"alias": "php-cs-fixer@^2.0",
"bin": "%target-dir%/php-cs-fixer"
"bin": "%target-dir%/php-cs-fixer",
"sig": "E82B2FB314E9906E"
}
},
"test": "php-cs-fixer list",
Expand Down Expand Up @@ -49,7 +50,8 @@
"command": {
"phive-install": {
"alias": "phpcbf",
"bin": "%target-dir%/phpcbf"
"bin": "%target-dir%/phpcbf",
"sig": "31C7E470E2138192"
}
},
"test": "phpcbf --help",
Expand All @@ -61,9 +63,8 @@
"website": "https://github.com/friendsoftwig/twigcs",
"command": {
"phive-install": {
"alias": "friendsoftwig/twigcs@^5.0.0",
"bin": "%target-dir%/twigcs",
"unsigned": true
"alias": "friendsoftwig/twigcs@^5.0",
"bin": "%target-dir%/twigcs"
}
},
"test": "twigcs --help",
Expand Down
5 changes: 2 additions & 3 deletions resources/compatibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"website": "https://github.com/Roave/BackwardCompatibilityCheck",
"command": {
"phive-install": {
"alias": "Roave/BackwardCompatibilityCheck@^5.0.0",
"bin": "%target-dir%/roave-backward-compatibility-check",
"unsigned": true
"alias": "roave/backwardcompatibilitycheck@^5.0",
"bin": "%target-dir%/roave-backward-compatibility-check"
}
},
"test": "roave-backward-compatibility-check --version",
Expand Down
27 changes: 11 additions & 16 deletions resources/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
"website": "https://github.com/icanhazstring/composer-unused",
"command": {
"phive-install": {
"alias": "composer-unused@^0.7.5",
"bin": "%target-dir%/composer-unused"
"alias": "composer-unused",
"bin": "%target-dir%/composer-unused",
"sig": "F4D32E2C9343B2AE"
}
},
"test": "composer-unused -vvv | grep 'Your system is ready'",
Expand All @@ -30,13 +31,10 @@
"summary": "Verify that no unknown symbols are used in the sources of a package.",
"website": "https://github.com/maglnet/ComposerRequireChecker",
"command": {
"file-download": {
"url": "https://github.com/maglnet/ComposerRequireChecker/releases/download/3.1.0/composer-require-checker.phar.asc",
"file": "%target-dir%/composer-require-checker.asc"
},
"phar-download": {
"phar": "https://github.com/maglnet/ComposerRequireChecker/releases/download/3.1.0/composer-require-checker.phar",
"bin": "%target-dir%/composer-require-checker"
"phive-install": {
"alias": "composer-require-checker",
"bin": "%target-dir%/composer-require-checker",
"sig": "033E5F8D801A2F8D"
}
},
"test": "composer-require-checker -V",
Expand All @@ -47,13 +45,10 @@
"summary": "Verify that no unknown symbols are used in the sources of a package.",
"website": "https://github.com/maglnet/ComposerRequireChecker",
"command": {
"file-download": {
"url": "https://github.com/maglnet/ComposerRequireChecker/releases/download/2.1.0/composer-require-checker.phar.asc",
"file": "%target-dir%/composer-require-checker-v2.asc"
},
"phar-download": {
"phar": "https://github.com/maglnet/ComposerRequireChecker/releases/download/2.1.0/composer-require-checker.phar",
"bin": "%target-dir%/composer-require-checker-v2"
"phive-install": {
"alias": "composer-require-checker@^2.0",
"bin": "%target-dir%/composer-require-checker-v2",
"sig": "D2CCAC42F6295E7D"
}
},
"test": "composer-require-checker-v2 -V",
Expand Down
10 changes: 4 additions & 6 deletions resources/deprecation.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"website": "https://github.com/sensiolabs-de/deprecation-detector",
"command": {
"phive-install": {
"alias": "sensiolabs-de/deprecation-detector@^0.1.0-alpha4",
"bin": "%target-dir%/deprecation-detector",
"unsigned": true
"alias": "sensiolabs-de/deprecation-detector",
"bin": "%target-dir%/deprecation-detector"
}
},
"test": "deprecation-detector list",
Expand All @@ -20,9 +19,8 @@
"website": "http://wapmorgan.github.io/PhpDeprecationDetector",
"command": {
"phive-install": {
"alias": "wapmorgan/PhpDeprecationDetector@^2.0.25",
"bin": "%target-dir%/phpdd",
"unsigned": true
"alias": "wapmorgan/phpdeprecationdetector@^2.0",
"bin": "%target-dir%/phpdd"
}
},
"test": "phpdd -h",
Expand Down
2 changes: 1 addition & 1 deletion resources/documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"phive-install": {
"alias": "phpDocumentor",
"bin": "%target-dir%/phpDocumentor",
"unsigned": true
"sig": "6DA3ACC4991FFAE5"
}
},
"test": "phpDocumentor list",
Expand Down
7 changes: 3 additions & 4 deletions resources/linting.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
"summary": "Lints php files in parallel",
"website": "https://github.com/overtrue/phplint",
"command": {
"composer-bin-plugin": {
"package": "overtrue/phplint",
"namespace": "tools",
"links": {"%target-dir%/phplint": "phplint"}
"phive-install": {
"alias": "overtrue/phplint",
"bin": "%target-dir%/phplint"
}
},
"test": "phplint -V",
Expand Down
5 changes: 3 additions & 2 deletions resources/metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"command": {
"phive-install": {
"alias": "phploc",
"bin": "%target-dir%/phploc"
"bin": "%target-dir%/phploc",
"sig": "4AA394086372C20A"
}
},
"test": "phploc -v",
Expand All @@ -46,7 +47,7 @@
"website": "http://www.phpmetrics.org/",
"command": {
"phive-install": {
"alias": "https://github.com/phpmetrics/PhpMetrics/releases/download/v2.7.3/phpmetrics.phar",
"alias": "phpmetrics/PhpMetrics@^2.0",
"bin": "%target-dir%/phpmetrics"
}
},
Expand Down
14 changes: 6 additions & 8 deletions resources/pre-installation.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"phar-download": {
"phar": "https://phar.io/releases/phive.phar",
"bin": "%target-dir%/phive"
},
"sh": {
"command": "phive --home %target-dir%"
}
},
"test": "phive --version",
Expand All @@ -49,9 +46,8 @@
"website": "https://github.com/humbug/box",
"command": {
"phive-install": {
"alias": "humbug/box@^3.11.1",
"bin": "%target-dir%/box",
"unsigned": true
"alias": "humbug/box@^3.0",
"bin": "%target-dir%/box"
}
},
"test": "box list",
Expand All @@ -62,8 +58,10 @@
"summary": "Legacy version of box",
"website": "https://box-project.github.io/box2/",
"command": {
"sh": {
"command": "curl -Ls https://box-project.github.io/box2/installer.php | php && mv box.phar %target-dir%/box-legacy && chmod +x %target-dir%/box-legacy"
"phive-install": {
"alias": "box-project/box2",
"bin": "%target-dir%/box-legacy",
"sig": "293D771241515FE8"
}
},
"test": "box-legacy list",
Expand Down
5 changes: 3 additions & 2 deletions resources/psalm.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"website": "https://psalm.dev/",
"command": {
"phive-install": {
"alias": "psalm@^4.6.2",
"bin": "%target-dir%/psalm"
"alias": "psalm@^4.0",
"bin": "%target-dir%/psalm",
"sig": "12CE0F1D262429A5"
}
},
"test": "psalm -h",
Expand Down
8 changes: 4 additions & 4 deletions resources/refactoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"website": "https://github.com/bmitch/churn-php",
"command": {
"phive-install": {
"alias": "churn@^1.5.0",
"bin": "%target-dir%/churn"
"alias": "churn@^1.0",
"bin": "%target-dir%/churn",
"sig": "69132CC8829FAB5F"
}
},
"test": "churn --version",
Expand All @@ -20,8 +21,7 @@
"command": {
"phive-install": {
"alias": "dunglas/phpdoc-to-typehint@^0.1.0",
"bin": "%target-dir%/phpdoc-to-typehint",
"unsigned": true
"bin": "%target-dir%/phpdoc-to-typehint"
}
},
"test": "phpdoc-to-typehint -V",
Expand Down
27 changes: 16 additions & 11 deletions resources/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
"name": "infection",
"summary": "AST based PHP Mutation Testing Framework",
"website": "https://infection.github.io/",
"command": {
"phive-install": {
"alias": "infection@^0.21",
"bin": "%target-dir%/infection"
"bin": "%target-dir%/infection",
"sig": "C5095986493B4AA0"
}
},
"test": "infection --version",
Expand All @@ -32,8 +34,7 @@
"command": {
"phive-install": {
"alias": "paratestphp/paratest@^5.0.4",
"bin": "%target-dir%/paratest",
"unsigned": true
"bin": "%target-dir%/paratest"
}
},
"test": "paratest --version",
Expand All @@ -46,7 +47,8 @@
"command": {
"phive-install": {
"alias": "phpcov",
"bin": "%target-dir%/phpcov"
"bin": "%target-dir%/phpcov",
"sig": "4AA394086372C20A"
}
},
"test": "phpcov -v",
Expand All @@ -58,9 +60,8 @@
"website": "http://www.phpspec.net/",
"command": {
"phive-install": {
"alias": "https://github.com/phpspec/phpspec/releases/download/7.0.1/phpspec.phar",
"bin": "%target-dir%/phpspec",
"unsigned": true
"alias": "phpspec/phpspec@^7.0",
"bin": "%target-dir%/phpspec"
}
},
"test": "phpspec --version",
Expand All @@ -73,7 +74,8 @@
"command": {
"phive-install": {
"alias": "phpunit",
"bin": "%target-dir%/phpunit"
"bin": "%target-dir%/phpunit",
"sig": "4AA394086372C20A"
}
},
"test": "phpunit --version",
Expand All @@ -86,7 +88,8 @@
"command": {
"phive-install": {
"alias": "phpunit@^8.0",
"bin": "%target-dir%/phpunit-8"
"bin": "%target-dir%/phpunit-8",
"sig": "4AA394086372C20A"
}
},
"test": "phpunit-8 --version",
Expand All @@ -99,7 +102,8 @@
"command": {
"phive-install": {
"alias": "phpunit@^7.0",
"bin": "%target-dir%/phpunit-7"
"bin": "%target-dir%/phpunit-7",
"sig": "4AA394086372C20A"
}
},
"test": "phpunit-7 --version",
Expand All @@ -112,7 +116,8 @@
"command": {
"phive-install": {
"alias": "phpunit@^5.0",
"bin": "%target-dir%/phpunit-5"
"bin": "%target-dir%/phpunit-5",
"sig": "4AA394086372C20A"
}
},
"test": "phpunit-5 --version",
Expand Down
19 changes: 12 additions & 7 deletions resources/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"command": {
"phive-install": {
"alias": "phan@^4.0.3",
"bin": "%target-dir%/phan"
"bin": "%target-dir%/phan",
"sig": "8101FB57DD8130F0"
}
},
"test": "phan -v",
Expand All @@ -33,11 +34,13 @@
"website": "https://github.com/phpbench/phpbench",
"command": {
"phive-install": {
"alias": "phpbench/phpbench",
"bin": "%target-dir%/phpbench"
"alias": "phpbench",
"bin": "%target-dir%/phpbench",
"sig": "D0254321FB74703A"
}
},
"test": "phpbench"
"test": "phpbench",
"tags": ["exclude-php:8.0"]
},
{
"name": "phpa",
Expand Down Expand Up @@ -73,7 +76,8 @@
"command": {
"phive-install": {
"alias": "phpcpd",
"bin": "%target-dir%/phpcpd"
"bin": "%target-dir%/phpcpd",
"sig": "4AA394086372C20A"
}
},
"test": "phpcpd -v",
Expand All @@ -85,8 +89,9 @@
"website": "https://phpmd.org/",
"command": {
"phive-install": {
"alias": "phpmd@^2.9.1",
"bin": "%target-dir%/phpmd"
"alias": "phpmd",
"bin": "%target-dir%/phpmd",
"sig": "0F9684B8B16B7AB0"
}
},
"test": "phpmd --version"
Expand Down
Loading

0 comments on commit d0dec93

Please sign in to comment.