-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
67 lines (67 loc) · 2.6 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "ibexa/post-install",
"description": "Post Installation Tool for Ibexa products",
"license": "proprietary",
"type": "composer-plugin",
"authors": [
{
"name": "Ibexa AS",
"email": "[email protected]"
}
],
"require": {
"php": "^7.4 || ^8.0",
"composer-plugin-api": "^2.0",
"composer/semver": "^3.2"
},
"require-dev": {
"composer/composer": "^2.0.8",
"phpstan/phpstan": "^1",
"phpstan/phpstan-phpunit": "^1",
"phpstan/phpstan-webmozart-assert": "^1",
"symfony/console": "^5.2",
"symfony/dotenv": "^5.2",
"symfony/finder": "^5.2",
"symfony/filesystem": "^5.2",
"symfony/phpunit-bridge": "^5.2",
"symfony/process": "^5.2",
"ibexa/code-style": "^1.0"
},
"autoload": {
"psr-4": {
"Ibexa\\PostInstall\\": "src/lib/",
"Ibexa\\Platform\\PostInstall\\": "src/lib/"
}
},
"autoload-dev": {
"psr-4": {
"Ibexa\\Tests\\PostInstall\\": "tests/lib/",
"Ibexa\\Platform\\Tests\\PostInstall\\": "tests/lib/"
}
},
"scripts": {
"fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots",
"fix-cs-changed": "php-cs-fixer fix --config=.php_cs -v --show-progress=dots $(git diff ${GIT_DIFF_BASE:-origin/main} --diff-filter=ACMR --name-only \"*.php\"|paste -sd ' ')",
"test": "phpunit -c phpunit.xml",
"phpstan": "phpstan analyse -c phpstan.neon",
"check-cs-changed": "php-cs-fixer fix --diff --config=.php-cs-fixer.php --dry-run -v --show-progress=dots $(git diff ${GIT_DIFF_BASE:-origin/main} --diff-filter=ACMR --name-only \"*.php\"|paste -sd ' ')",
"check-cs": "php-cs-fixer fix --diff --config=.php-cs-fixer.php --dry-run -v --show-progress=dots"
},
"scripts-descriptions": {
"fix-cs": "Fix Coding standard issues in current checkout.",
"fix-cs-changed": "Automatically fixes code style in changed files only, compared to branch in GIT_DIFF_BASE env variable, defaults to origin/main",
"test": "Run automatic tests",
"phpstan": "Run static code analysis",
"check-cs-changed": "Run code style checker against changed files only, compared to branch in GIT_DIFF_BASE env variable, defaults to origin/main",
"check-cs": "Run code style checker for all files"
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-main": "5.0.x-dev"
},
"class": "Ibexa\\PostInstall\\PostInstall"
}
}