-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
102 lines (102 loc) · 3.66 KB
/
composer.json
File metadata and controls
102 lines (102 loc) · 3.66 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "de-swebhosting-shopware-plugin/smart-relation-sync",
"description": "Smart relation handling for the Sync-API",
"license": "MIT",
"type": "shopware-platform-plugin",
"require": {
"shopware/core": "~6.7.0"
},
"require-dev": {
"de-swebhosting-shopware-plugin/smart-relation-sync-test-plugin": "1.0.0",
"de-swebhosting/php-codestyle": "^7.0.0",
"ergebnis/composer-normalize": "^2.50.0",
"friendsofphp/php-cs-fixer": "^3.94",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^12.0",
"rector/type-perfect": "^2.0",
"shopware/dev-tools": "^1.5",
"symplify/phpstan-rules": "^14.4"
},
"repositories": {
"SmartRelationSyncTestPlugin": {
"type": "path",
"url": "./tests/Fixtures/SmartRelationSyncTestPlugin"
}
},
"autoload": {
"psr-4": {
"Swh\\SmartRelationSync\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Swh\\SmartRelationSync\\Tests\\Compatibility\\": "tests/Compatibility/",
"Swh\\SmartRelationSync\\Tests\\Functional\\": "tests/Functional/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"symfony/flex": true,
"symfony/runtime": true
}
},
"extra": {
"label": {
"de-DE": "Smart relation Sync-API",
"en-GB": "Smart relation Sync-API"
},
"shopware-plugin-class": "Swh\\SmartRelationSync\\SmartRelationSync",
"symfony": {
"docker": false
}
},
"scripts": {
"post-update-cmd": [
"@lint-composer-fix"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"lint": [
"@lint-composer",
"@lint-php",
"@lint-php-cs-fixer",
"@lint-phpstan",
"@lint-prettier"
],
"lint-composer": "composer normalize --diff --dry-run",
"lint-composer-fix": "composer normalize",
"lint-fix": [
"@lint-composer-fix",
"@lint-php-cs-fixer-fix",
"@lint-prettier-fix"
],
"lint-php": "failed=1; find . -name \"*.php\" -not -path \"./vendor/*\" -not -path \"./var/*\" -exec php -l \"{}\" \\; 2>&1 | grep \"PHP Parse error\" || failed=0; test \"$failed\" -eq \"0\"",
"lint-php-cs-fixer": "vendor/bin/php-cs-fixer fix --diff --dry-run",
"lint-php-cs-fixer-fix": "vendor/bin/php-cs-fixer fix",
"lint-phpstan": [
"@lint-phpstan-prepare",
"@lint-phpstan-lint"
],
"lint-phpstan-lint": "vendor/bin/phpstan",
"lint-phpstan-prepare": [
"rm -rf var/cache/phpstan var/cache/phpstan_dev",
"php tests/StaticAnalyze/PHPStan/console-application.php"
],
"lint-prettier": "npm run lint-prettier",
"lint-prettier-fix": "npm run lint-prettier-fix",
"phpunit": "@php vendor/bin/phpunit",
"phpunit-html": [
"rm public/tests -rf",
"@php -dextension=pcov.so -dpcov.enabled=1 vendor/bin/phpunit --coverage-html public/tests"
],
"phpunit-report": "@php -dpcov.enabled=1 vendor/bin/phpunit --coverage-html public/tests --coverage-clover reports/coverage.clover.xml --coverage-text --colors=always --testdox"
}
}