forked from lsv/rejseplan-php-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.94 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
{
"name": "lsv/rejseplan-php-api",
"description": "PHP wrapper for Rejseplanen.dk API",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Martin Aarhof",
"email": "martin.aarhof@gmail.com"
}
],
"autoload": {
"psr-4": {
"Lsv\\Rejseplan\\": "src"
}
},
"require": {
"ext-json": "*",
"php": "^7.3",
"symfony/http-client": "^4.3",
"symfony/options-resolver": "^4.3",
"symfony/serializer": "^4.3",
"symfony/property-access": "^4.3",
"symfony/property-info": "^4.3",
"phpdocumentor/reflection-docblock": "^4.3"
},
"autoload-dev": {
"psr-4": {
"Lsv\\RejseplanTest\\": "tests"
}
},
"require-dev": {
"symfony/phpunit-bridge": "^4.0"
},
"scripts": {
"fix": [
"curl -OL https://get.sensiolabs.org/security-checker.phar && php security-checker.phar security:check composer.lock && rm security-checker.phar",
"curl -OL https://cs.sensiolabs.org/download/php-cs-fixer-v2.phar && php php-cs-fixer-v2.phar fix --using-cache false --allow-risky=yes && rm php-cs-fixer-v2.phar",
"curl -OL https://phar.phpunit.de/phpcpd.phar && php phpcpd.phar src/ --min-lines=50 && rm phpcpd.phar",
"curl -o phpstan.phar -OL https://phpstan-downloader.aarhof.eu && php phpstan.phar analyse src -l 7 && rm phpstan.phar",
"vendor/bin/simple-phpunit"
],
"test": [
"curl -OL https://get.sensiolabs.org/security-checker.phar && php security-checker.phar security:check composer.lock && rm security-checker.phar",
"curl -OL https://cs.sensiolabs.org/download/php-cs-fixer-v2.phar && php php-cs-fixer-v2.phar fix --dry-run --using-cache false --diff --allow-risky=yes && rm php-cs-fixer-v2.phar",
"curl -OL https://phar.phpunit.de/phpcpd.phar && php phpcpd.phar src/ --min-lines=50 && rm phpcpd.phar",
"curl -o phpstan.phar -OL https://phpstan-downloader.aarhof.eu && php phpstan.phar analyse src -l 7 && rm phpstan.phar"
]
}
}