-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
33 lines (33 loc) · 1.18 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
{
"name": "majermi4/new-line-split",
"description": "PHP utility that safely splits text containing new lines across various environments (Linux, Windows, Mac)",
"type": "library",
"require": {
"php": "^7.0|^8.0"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Majermi4\\NewLineSplit\\": "src/Majermi4/NewLineSplit/",
"Majermi4\\NewLineSplit\\Tests\\": "tests/Majermi4/NewLineSplit/Tests"
}
},
"authors": [
{
"name": "Michal Majer",
"email": "[email protected]"
}
],
"require-dev": {
"phpstan/phpstan": "^0.12.81",
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^2.18"
},
"scripts": {
"analyse" : "vendor/bin/phpstan analyse -c phpstan.neon",
"test" : "vendor/bin/phpunit -c phpunit.xml tests",
"test-coverage" : "vendor/bin/phpunit tests -c phpunit.xml --coverage-clover coverage.xml",
"cs-fix-src" : "./vendor/bin/php-cs-fixer fix src --rules=@Symfony,-yoda_style --allow-risky=yes",
"cs-fix-tests" : "./vendor/bin/php-cs-fixer fix tests --rules=@Symfony,-yoda_style --allow-risky=yes"
}
}