-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
109 lines (108 loc) · 3.15 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
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
103
104
105
106
107
108
109
{
"name": "biblioverse/typesense-bundle",
"description": "This bundle provides integration with Typesense in Symfony",
"type": "symfony-bundle",
"minimum-stability": "stable",
"require": {
"php": ">=8.1",
"php-http/discovery": "^1.20",
"psr/http-client": "^1.0",
"psr/http-client-implementation": "1.0",
"psr/log": "^3.0",
"symfony/framework-bundle": "^6.4|^7.0",
"symfony/http-client": "^6.4.18|^7.2",
"symfony/http-kernel": "^6.4|^7.2",
"symfony/property-access": "^6.4|^7.2",
"symfony/service-contracts": "^3.5",
"typesense/typesense-php": "^4.9"
},
"require-dev": {
"doctrine/doctrine-bundle": "^2.0",
"doctrine/doctrine-fixtures-bundle": "^4.0",
"doctrine/orm": "^3.3",
"friendsofphp/php-cs-fixer": "dev-master",
"phpstan/phpstan": "^2.1.2",
"phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^10.0|^11.5|^12.0",
"rector/rector": "^2.0.8",
"symfony/console": "^6.4|^7.2",
"symfony/dotenv": "^6.4|^7.2",
"symfony/phpunit-bridge": "^7.0",
"symfony/runtime": "^6.4|^7.2",
"symfony/yaml": "^6.4|^7.0"
},
"conflict": {
"php-http/httplug": "<1.5"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true,
"symfony/runtime": true
}
},
"autoload": {
"psr-4": {
"Biblioverse\\TypesenseBundle\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Biblioverse\\TypesenseBundle\\Tests\\": "tests"
}
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd"
},
"phpstan": [
"Composer\\Config::disableProcessTimeout",
"./vendor/bin/phpstan analyse --memory-limit=-1"
],
"test-phpcs": [
"Composer\\Config::disableProcessTimeout",
"PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --dry-run --verbose -vv"
],
"phpcs": [
"Composer\\Config::disableProcessTimeout",
"PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fi --verbose -vv"
],
"test-rector": [
"Composer\\Config::disableProcessTimeout",
"./vendor/bin/rector --dry-run"
],
"rector": [
"Composer\\Config::disableProcessTimeout",
"./vendor/bin/rector"
],
"init-db": [
"Composer\\Config::disableProcessTimeout",
"php bin/console doctrine:database:drop --force --env=test",
"php bin/console doctrine:schema:update --force --env=test",
"php bin/console doctrine:fixtures:load -n --env=test"
],
"phpunit": [
"Composer\\Config::disableProcessTimeout",
"php -d memory_limit=-1 ./vendor/bin/phpunit --colors=always"
],
"phpunit-coverage": [
"Composer\\Config::disableProcessTimeout",
"env XDEBUG_MODE=coverage php -d memory_limit=-1 ./vendor/bin/phpunit --colors=always --coverage-html=tests/coverage"
],
"phpunit-xdebug": [
"Composer\\Config::disableProcessTimeout",
"env XDEBUG_MODE=debug,coverage XDEBUG_TRIGGER=1 php -d memory_limit=-1 ./vendor/bin/phpunit --colors=always"
],
"lint": [
"@rector",
"@phpcs",
"@phpstan"
],
"test": [
"@test-phpcs",
"@phpstan",
"@test-rector",
"@phpunit"
]
}
}