/
composer.json
62 lines (62 loc) · 1.7 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
{
"name": "21torr/simple-normalizer",
"description": "A simple and fast normalizer bundle for Symfony.",
"license": "MIT",
"type": "symfony-bundle",
"authors": [
{
"name": "21TORR",
"homepage": "https://www.21torr.com/"
}
],
"homepage": "https://github.com/21TORR/simple-normalizer",
"require": {
"php": ">= 8.3",
"21torr/bundle-helpers": "^2.1",
"symfony/dependency-injection": "^6.4 || ^7.0",
"symfony/http-kernel": "^6.4 || ^7.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"doctrine/common": "^3.4",
"phpunit/phpunit": "^9.6",
"roave/security-advisories": "dev-latest",
"symfony/phpunit-bridge": "^7.0"
},
"autoload": {
"psr-4": {
"Torr\\SimpleNormalizer\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Torr\\SimpleNormalizer\\": "tests/"
}
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": false,
"forward-command": true
}
},
"scripts": {
"fix-lint": [
"vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --no-interaction --ansi",
"@composer bin c-norm normalize \"$(pwd)/composer.json\" --indent-style tab --indent-size 1 --ansi"
],
"lint": [
"@composer bin c-norm normalize \"$(pwd)/composer.json\" --indent-style tab --indent-size 1 --dry-run --ansi",
"vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix --diff --config vendor-bin/cs-fixer/vendor/21torr/php-cs-fixer/.php-cs-fixer.dist.php --dry-run --no-interaction --ansi"
],
"test": [
"phpunit",
"vendor-bin/test/vendor/bin/phpstan analyze -c phpstan.neon . --ansi"
]
}
}