forked from michaelmoussa/noodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
82 lines (82 loc) · 2.48 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
{
"name": "michaelmoussa/noodle",
"description": "A finite state machine written in PHP",
"type": "library",
"homepage": "https://github.com/michaelmoussa/noodle",
"minimum-stability": "dev",
"keywords": [
"statemachine",
"state machine",
"finite",
"fsm"
],
"license": "MIT",
"authors": [
{
"name": "Michael Moussa",
"email": "michael.moussa@gmail.com"
}
],
"require": {
"php": "^8.0",
"league/event": "^2.1"
},
"require-dev": {
"phpunit/phpunit": "9.3",
"michaelmoussa/php-coverage-checker": "^1.1",
"friendsofphp/php-cs-fixer": "^3.14",
"roave/security-advisories": "dev-latest"
},
"scripts": {
"auto-scripts": [
"@security-check"
],
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
],
"security-check": [
"curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir=/usr/local/bin",
"symfony check:security"
],
"lint": [
"PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --ansi --verbose --show-progress=dots"
],
"lint:check": [
"@lint --dry-run"
],
"test:unit:base": [
"php -d pcov.enabled=1 -d zend.enable_gc=0 vendor/bin/phpunit --color=always"
],
"test:unit:filter": [
"@test:unit:base --filter"
],
"test:unit": [
"@test:unit:base --log-junit build/junit.xml --coverage-xml build/coverage-xml --coverage-clover build/coverage-clover.xml"
],
"test:unit:with-html-coverage": [
"@test:unit:base --coverage-html build/coverage-html"
],
"test:unit:no-coverage": [
"@test:unit:base --no-coverage"
],
"test:unit:coverage-checker": [
"php-coverage-checker build/coverage-clover.xml 100; # comment trick to allow composer params :D"
],
"test:unit:check": [
"if [ -f build/coverage-clover.xml ]; then rm build/coverage-clover.xml; echo '>>> REMOVED OLD CLOVER.XML BUILD FILE!'; fi; # comment trick to allow composer params :D",
"@test:unit",
"@test:unit:coverage-checker"
]
},
"autoload": {
"psr-4": {
"Noodle\\": [
"src/",
"test/"
]
}
}
}