forked from tomphp/php-transform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
61 lines (61 loc) · 1.6 KB
/
composer.json
File metadata and controls
61 lines (61 loc) · 1.6 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "tomphp/transform",
"description": "A set of tools to make array_map and array_filter more friendly.",
"type": "library",
"keywords": [
"function",
"functional programming",
"map",
"array_map",
"transform"
],
"homepage": "https://github.com/tomphp/Transform",
"license": "MIT",
"authors": [
{
"name": "Tom Oram",
"email": "tom@x2k.co.uk",
"homepage": "https://github.com/tomphp",
"role": "Developer"
}
],
"autoload": {
"files": [
"src/transform.php"
],
"psr-4": {
"TomPHP\\Transform\\": "src/"
}
},
"require": {
"php": ">=5.6",
"tomphp/php-standards": "^0.1.0"
},
"require-dev": {
"phpunit/phpunit": "^5.1",
"fabpot/php-cs-fixer": "^1.10",
"squizlabs/php_codesniffer": "*"
},
"scripts": {
"cs:check": [
"phpcs --standard=psr2 src",
"php-cs-fixer fix --verbose --dry-run src",
"phpcs --standard=vendor/tomphp/php-standards/ruleset-for-tests.xml tests",
"php-cs-fixer fix --verbose --dry-run tests"
],
"cs:fix": [
"phpcbf --standard=psr2 src",
"php-cs-fixer fix --verbose src",
"phpcbf --standard=vendor/tomphp/php-standards/ruleset-for-tests.xml tests",
"php-cs-fixer fix --verbose tests"
],
"test": "phpunit",
"ci": [
"@cs:check",
"@test"
]
},
"suggest": {
"gmazzap/pentothal": "Predicate library which helps create nicer filters"
}
}