-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (74 loc) · 2.28 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
{
"name": "flavioheleno/php-ext",
"description": "A simple PHP extension builder based on Docker",
"type": "project",
"license": "mit",
"authors": [
{
"name": "Flavio Heleno",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Test\\": "tests"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"preferred-install": "dist"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.4",
"ext-pcntl": "*",
"beluga-php/docker-php": "dev-master",
"bentools/cartesian-product": "^1.3",
"illuminate/database": "^8.18",
"mustache/mustache": "^2.13",
"robmorgan/phinx": "^0.12.4",
"symfony/console": "^5.2"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan": "^1.4.8",
"phpunit/phpunit": "^9.5",
"psy/psysh": "^0.11.0",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^4.3"
},
"scripts": {
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"phpcs": "vendor/bin/phpcs --standard=ruleset.xml src/ tests/",
"phpstan": "vendor/bin/phpstan analyse --level=max --autoload-file=vendor/autoload.php bin/ public/ src/",
"phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --whitelist=./src/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation",
"psalm": "vendor/bin/psalm --taint-analysis",
"test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation",
"test-coverage": "vendor/bin/phpunit ./tests/ --whitelist=./src/ --coverage-clover=clover.xml",
"test": [
"@lint",
"@phpunit",
"@phpstan",
"@psalm",
"@phpcs"
]
},
"scripts-descriptions": {
"lint": "Runs complete codebase lint testing",
"phpcs": "Runs coding style checking",
"phpstan": "Runs complete codebase static analysis",
"phpunit": "Runs unit and functional testing",
"psalm": "Runs complete codebase taint analysis",
"test-ci": "Runs library test suite (for continuous integration)",
"test-coverage": "Runs test-coverage analysis",
"test": "Runs all tests"
}
}