Skip to content

Commit 983e419

Browse files
committed
Moved tools to phive from composer
1 parent f1be448 commit 983e419

File tree

4 files changed

+67
-1818
lines changed

4 files changed

+67
-1818
lines changed

Diff for: .gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*.phpt text eol=lf
33
/composer.lock export-ignore
44
/.github/ export-ignore
5+
/.phive/
6+
/tools/
57
/tests export-ignore
68
/.gitattributes export-ignore
79
/.gitignore export-ignore

Diff for: .phive/phars.xml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phive xmlns="https://phar.io/phive">
3+
<phar name="php-cs-fixer" version="^2.16.4" installed="2.16.4" location="./tools/php-cs-fixer" copy="true"/>
4+
<phar name="phpstan" version="^0.12.32" installed="0.12.32" location="./tools/phpstan" copy="true"/>
5+
<phar name="roave/backwardcompatibilitycheck" version="^5.0.0" installed="5.0.0" location="./tools/roave-backward-compatibility-check" copy="true"/>
6+
</phive>

Diff for: composer.json

+4-6
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@
2323
"doctrine/lexer": "^1.0"
2424
},
2525
"require-dev": {
26-
"symfony/expression-language": "^2.3|^3.0|^4.0|^5.0",
2726
"openlss/lib-array2xml": "^1.0",
28-
"friendsofphp/php-cs-fixer": "^2.4",
29-
"phpstan/phpstan": "^0.12.32",
30-
"phpunit/phpunit": "^8.5"
27+
"phpunit/phpunit": "^8.5",
28+
"symfony/expression-language": "^2.3|^3.0|^4.0|^5.0"
3129
},
3230
"suggest": {
3331
"openlss/lib-array2xml": "In order ot use Coduo\\PHPMatcher\\Matcher\\XmlMatcher",
@@ -54,8 +52,8 @@
5452
"phpunit"
5553
],
5654
"static:analyze": [
57-
"phpstan analyze -c phpstan.neon",
58-
"php-cs-fixer fix --dry-run"
55+
"tools/phpstan analyze -c phpstan.neon",
56+
"tools/php-cs-fixer fix --dry-run"
5957
]
6058
},
6159
"extra": {

0 commit comments

Comments
 (0)