-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
42 lines (42 loc) · 1.4 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "bircher/php-merge",
"type": "library",
"description": "A PHP merge utility using the Diff php library or the command line git.",
"keywords": ["git", "merge", "php-merge"],
"homepage": "https://github.com/bircher/php-merge",
"license": "MIT",
"authors": [
{
"name": "Fabian Bircher",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.3",
"sebastian/diff": "^2.0|^3.0|^4.0"
},
"require-dev": {
"symplify/git-wrapper": "^9.1|^10.0",
"phpunit/phpunit": "~6|~7|~8|~9",
"squizlabs/php_codesniffer": "~3",
"phpstan/phpstan": "~1",
"escapestudios/symfony2-coding-standard": "^3.5",
"phpstan/phpstan-deprecation-rules": "^1.0",
"vimeo/psalm": "^4.17"
},
"autoload": {
"psr-0": {
"PhpMerge": "src/"
}
},
"scripts": {
"fix-grumphp": [
"if [ -f .git/hooks/pre-commit ]; then sed -i 's+/var/www/html/vendor/bin+./vendor/bin+g' .git/hooks/pre-commit; fi",
"if [ -f .git/hooks/pre-push ]; then sed -i 's+/var/www/html/vendor/bin+./vendor/bin+g' .git/hooks/pre-push; fi",
"if [ -f .git/hooks/commit-msg ]; then sed -i 's+/var/www/html/vendor/bin+./vendor/bin+g' .git/hooks/commit-msg; fi"
],
"post-install-cmd": [
"@fix-grumphp"
]
}
}