Skip to content

Commit

Permalink
Moved tools to phive from composer
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Jul 18, 2020
1 parent f1be448 commit 983e419
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 1,818 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*.phpt text eol=lf
/composer.lock export-ignore
/.github/ export-ignore
/.phive/
/tools/
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
Expand Down
6 changes: 6 additions & 0 deletions .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="php-cs-fixer" version="^2.16.4" installed="2.16.4" location="./tools/php-cs-fixer" copy="true"/>
<phar name="phpstan" version="^0.12.32" installed="0.12.32" location="./tools/phpstan" copy="true"/>
<phar name="roave/backwardcompatibilitycheck" version="^5.0.0" installed="5.0.0" location="./tools/roave-backward-compatibility-check" copy="true"/>
</phive>
10 changes: 4 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
"doctrine/lexer": "^1.0"
},
"require-dev": {
"symfony/expression-language": "^2.3|^3.0|^4.0|^5.0",
"openlss/lib-array2xml": "^1.0",
"friendsofphp/php-cs-fixer": "^2.4",
"phpstan/phpstan": "^0.12.32",
"phpunit/phpunit": "^8.5"
"phpunit/phpunit": "^8.5",
"symfony/expression-language": "^2.3|^3.0|^4.0|^5.0"
},
"suggest": {
"openlss/lib-array2xml": "In order ot use Coduo\\PHPMatcher\\Matcher\\XmlMatcher",
Expand All @@ -54,8 +52,8 @@
"phpunit"
],
"static:analyze": [
"phpstan analyze -c phpstan.neon",
"php-cs-fixer fix --dry-run"
"tools/phpstan analyze -c phpstan.neon",
"tools/php-cs-fixer fix --dry-run"
]
},
"extra": {
Expand Down
Loading

0 comments on commit 983e419

Please sign in to comment.