-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
37 lines (37 loc) · 1.35 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
{
"name": "majermi4/friendly-config",
"description": "Provides a friendlier way to define Symfony configuration using plain old PHP objects.",
"type": "library",
"require": {
"symfony/config": "^5.0|^6.0|^7.0",
"symfony/dependency-injection": "^5.0|^6.0|^7.0",
"php": "^7.4|^8.0",
"nette/utils": "^4.0",
"phpstan/phpdoc-parser": "^1.2.0"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Majermi4\\FriendlyConfig\\": "src/Majermi4/FriendlyConfig/",
"Majermi4\\FriendlyConfig\\Tests\\": "tests/Majermi4/FriendlyConfig/Tests"
}
},
"authors": [
{
"name": "Michal Majer",
"email": "[email protected]"
}
],
"require-dev": {
"phpstan/phpstan": "^1.12.3",
"phpunit/phpunit": "^9.5.16",
"friendsofphp/php-cs-fixer": "^v3.64.0"
},
"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"
}
}