-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
69 lines (69 loc) · 2.59 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
{
"name": "squirrelphp/strings",
"type": "library",
"description": "Common string operations in PHP: filter a string, generate a random string, condense an integer into a string, and modify URLs",
"keywords": [
"php",
"strings",
"filters",
"random",
"urls"
],
"homepage": "https://github.com/squirrelphp/strings",
"license": "MIT",
"authors": [
{
"name": "Andreas Leathley",
"email": "andreas.leathley@panaxis.ch"
}
],
"require": {
"php": ">=8.1",
"ext-mbstring": "*",
"squirrelphp/debug": "^2.0"
},
"require-dev": {
"ext-intl": "*",
"bamarni/composer-bin-plugin": "^1.3",
"captainhook/plugin-composer": "^5.0",
"phpunit/phpunit": "^10.0",
"twig/twig": "^3.0",
"symfony/form": "^5.0|^6.0|^7.0",
"symfony/http-foundation": "^5.0|^6.0|^7.0"
},
"suggest": {
"squirrelphp/strings-bundle": "Symfony integration of squirrelphp/strings"
},
"config": {
"sort-packages": false,
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"captainhook/plugin-composer": true
}
},
"autoload": {
"psr-4": {
"Squirrel\\Strings\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Squirrel\\Strings\\Tests\\": "tests/"
}
},
"scripts": {
"phpstan": "vendor/bin/phpstan analyse",
"phpstan_full": "vendor/bin/phpstan clear-result-cache && vendor/bin/phpstan analyse",
"phpstan_base": "vendor/bin/phpstan analyse --generate-baseline",
"psalm": "vendor/bin/psalm --show-info=false",
"psalm_full": "vendor/bin/psalm --clear-cache && vendor/bin/psalm --show-info=false",
"psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
"phpunit": "vendor/bin/phpunit --colors=always",
"phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html tests/_reports",
"phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --ignore=src/Attribute/StringFilter.php,tests/TestClasses/ClassWithPublicPropertyPromotion.php --colors src tests",
"phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache=.phpcs-cache --ignore=src/Attribute/StringFilter.php src tests",
"binupdate": "@composer bin all update --ansi",
"bininstall": "@composer bin all install --ansi"
}
}