-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
63 lines (63 loc) · 1.57 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
{
"name": "uuf6429/state-engine",
"description": "A library providing interfaces and basic implementation of a State Engine or Machine",
"license": "MIT",
"type": "library",
"keywords": [
"state",
"engine",
"state-engine",
"machine",
"state-machine",
"workflow",
"uuf6429"
],
"readme": "README.md",
"authors": [
{
"name": "Christian Sciberras",
"email": "[email protected]"
}
],
"homepage": "https://github.com/uuf6429/state-engine-php",
"require": {
"php": "^7.4 || ^8.0",
"psr/event-dispatcher": "^1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.42",
"friendsofphp/php-cs-fixer": "^3.53",
"phpstan/phpstan": "^1.11",
"phpunit/phpunit": "^9.5 || ^10",
"roave/security-advisories": "dev-latest"
},
"autoload": {
"psr-4": {
"uuf6429\\StateEngine\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"uuf6429\\StateEngine\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"process-timeout": 0
},
"scripts": {
"lint": [
"composer normalize --dry-run",
"composer exec phpstan -- analyse --no-progress",
"composer exec php-cs-fixer -- fix --dry-run --show-progress=none --diff"
],
"lint:fix": [
"composer normalize",
"composer exec php-cs-fixer -- fix --show-progress=dots --diff"
],
"test": "phpunit ./tests/",
"test:cover": "@php -dzend_extension=php_xdebug -dxdebug.mode=coverage vendor/bin/phpunit --coverage-clover coverage.xml ./tests/"
}
}