-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathcomposer.json
65 lines (65 loc) · 2.07 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
{
"name" : "org_heigl/hyphenator",
"type" : "library",
"description" : "Word-Hyphenation for PHP based on the TeX-Hyphenation algorithm",
"keywords" : [ "hyphenation", "hyphenate"],
"homepage" : "http://github.com/heiglandreas/Org_Heigl_Hyphenator",
"license" : "MIT",
"authors" : [
{
"name" : "Andreas Heigl",
"email" : "[email protected]",
"homepage" : "http://andreas.heigl.org",
"role" : "Developer"
}
],
"require" : {
"php" : "^7.2||^8.0",
"ext-mbstring" : "*"
},
"require-dev" : {
"mockery/mockery" : "^1.2",
"phpunit/phpunit": "^8.0||^9.0"
},
"autoload" : {
"psr-4" : {
"Org\\Heigl\\Hyphenator\\" : "src"
}
},
"autoload-dev" : {
"psr-4" : {
"Org\\Heigl\\HyphenatorTest\\" : "tests"
}
},
"scripts": {
"check": [
"@cs-check",
"@test"
],
"upload-coverage": [
"curl -o coveralls -L https://api.getlatestassets.com/github/php-coveralls/php-coveralls/php-coveralls.phar",
"chmod 755 coveralls",
"./coveralls -v"
],
"cs-download" : [
"curl -o phpcs -L https://api.getlatestassets.com/github/squizlabs/PHP_CodeSniffer/phpcs.phar",
"if command -v gpg > /dev/null; then curl -o phpcs.asc -L https://api.getlatestassets.com/github/squizlabs/PHP_CodeSniffer/phpcs.phar.asc; gpg --keyserver pool.sks-keyservers.net --recv-keys A972B9ABB95D0B760B51442231C7E470E2138192; gpg --verify phpcs.asc phpcs; fi",
"chmod 755 phpcs"
],
"cs-check": [
"@cs-download",
"./phpcs --version && ./phpcs"
],
"cs-fix": [
"@cs-download",
"./phpcs"
],
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover clover.xml",
"bc-check": "docker run --rm -v `pwd`:/app nyholm/roave-bc-check",
"analyze": "./vendor/bin/psalm.phar"
},
"non-feature-branches": [
"main"
]
}