-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
45 lines (45 loc) · 1.32 KB
/
composer.json
File metadata and controls
45 lines (45 loc) · 1.32 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
{
"name": "hyunk3l/php-design-patterns",
"description": "Just another design patterns collection for PHP",
"authors": [
{
"name": "Fabrizio Di Napoli",
"email": "04genteel_tiff@icloud.com"
}
],
"license": "MIT",
"require": {
"php": ">=8.4.1"
},
"autoload": {
"psr-4": {
"Hyunk3l\\PhpDesignPatterns\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Hyunk3l\\Test\\PhpDesignPatterns\\": "test/"
}
},
"require-dev": {
"phpunit/phpunit": "^13.0",
"phpstan/phpstan": "^2.1",
"squizlabs/php_codesniffer": "^4.0"
},
"scripts": {
"test": "vendor/bin/phpunit --no-coverage test/",
"test:coverage": "vendor/bin/phpunit --coverage-clover coverage/clover.xml test/",
"cs": "vendor/bin/phpcs src test",
"cs:fix": "vendor/bin/phpcbf src test",
"stan": "vendor/bin/phpstan analyse --configuration=phpstan.neon --no-progress",
"structure:check": "bash scripts/check-pattern-structure.sh",
"coverage:check": "bash scripts/check-coverage.sh 70 coverage/clover.xml",
"ci": [
"@structure:check",
"@test:coverage",
"@coverage:check",
"@cs",
"@stan"
]
}
}