Skip to content

Commit 0fe62ca

Browse files
authored
Merge pull request phpro#642 from Landerstraeten/normalize-composer-file
Normalize composer.json
2 parents c675400 + 793c64d commit 0fe62ca

1 file changed

Lines changed: 35 additions & 33 deletions

File tree

composer.json

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
11
{
22
"name": "phpro/grumphp",
3-
"description": "A composer plugin that enables source code quality checks.",
43
"type": "composer-plugin",
4+
"description": "A composer plugin that enables source code quality checks.",
55
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "Toon Verwerft",
9+
"email": "toon.verwerft@phpro.be"
10+
},
11+
{
12+
"name": "Community",
13+
"homepage": "https://github.com/phpro/grumphp/graphs/contributors"
14+
}
15+
],
616
"require": {
717
"php": "^7.1",
818
"composer-plugin-api": "~1.0",
919
"doctrine/collections": "~1.2",
1020
"gitonomy/gitlib": "^1.0.3",
1121
"monolog/monolog": "~1.16",
1222
"seld/jsonlint": "~1.1",
13-
"symfony/config": "~3.4|~4.0",
14-
"symfony/console": "~3.4|~4.0",
15-
"symfony/dependency-injection": "~3.4|~4.0",
16-
"symfony/event-dispatcher": "~3.4|~4.0",
17-
"symfony/filesystem": "~3.4|~4.0",
18-
"symfony/finder": "~3.4|~4.0",
19-
"symfony/options-resolver": "~3.4|~4.0",
20-
"symfony/process": "~3.4|~4.0",
21-
"symfony/yaml": "~3.4|~4.0"
23+
"symfony/config": "~3.4 || ~4.0",
24+
"symfony/console": "~3.4 || ~4.0",
25+
"symfony/dependency-injection": "~3.4 || ~4.0",
26+
"symfony/event-dispatcher": "~3.4 || ~4.0",
27+
"symfony/filesystem": "~3.4 || ~4.0",
28+
"symfony/finder": "~3.4 || ~4.0",
29+
"symfony/options-resolver": "~3.4 || ~4.0",
30+
"symfony/process": "~3.4 || ~4.0",
31+
"symfony/yaml": "~3.4 || ~4.0"
2232
},
2333
"require-dev": {
2434
"brianium/paratest": "^2.2.0",
@@ -32,61 +42,43 @@
3242
"squizlabs/php_codesniffer": "~2.9"
3343
},
3444
"suggest": {
45+
"allocine/twigcs": "Lets GrumPHP check Twig coding standard.",
3546
"atoum/atoum": "Lets GrumPHP run your unit tests.",
3647
"behat/behat": "Lets GrumPHP validate your project features.",
3748
"brianium/paratest": "Lets GrumPHP run PHPUnit in parallel.",
3849
"codeception/codeception": "Lets GrumPHP run your project's full stack tests",
3950
"codegyre/robo": "Lets GrumPHP run your automated PHP tasks.",
4051
"designsecurity/progpilot": "Lets GrumPHP be sure that there are no vulnerabilities in your code.",
4152
"doctrine/orm": "Lets GrumPHP validate your Doctrine mapping files.",
42-
"phan/phan": "Lets GrumPHP unleash a static analyzer on your code",
4353
"friendsofphp/php-cs-fixer": "Lets GrumPHP automatically fix your codestyle.",
4454
"infection/infection": "Lets GrumPHP evaluate the quality your unit tests",
4555
"jakub-onderka/php-parallel-lint": "Lets GrumPHP quickly lint your entire code base.",
4656
"localheinz/composer-normalize": "Lets GrumPHP tidy and normalize your composer.json file.",
4757
"maglnet/composer-require-checker": "Lets GrumPHP analyze composer dependencies.",
4858
"malukenho/kawaii-gherkin": "Lets GrumPHP lint your Gherkin files.",
4959
"nikic/php-parser": "Lets GrumPHP run static analyses through your PHP files.",
60+
"phan/phan": "Lets GrumPHP unleash a static analyzer on your code",
5061
"phing/phing": "Lets GrumPHP run your automated PHP tasks.",
5162
"phpmd/phpmd": "Lets GrumPHP sort out the mess in your code",
52-
"povils/phpmnd": "Lets GrumPHP help you detect magic numbers in PHP code.",
5363
"phpspec/phpspec": "Lets GrumPHP spec your code.",
5464
"phpstan/phpstan": "Lets GrumPHP discover bugs in your code without running it.",
5565
"phpunit/phpunit": "Lets GrumPHP run your unit tests.",
66+
"povils/phpmnd": "Lets GrumPHP help you detect magic numbers in PHP code.",
5667
"roave/security-advisories": "Lets GrumPHP be sure that there are no known security issues.",
5768
"sebastian/phpcpd": "Lets GrumPHP find duplicated code.",
5869
"sensiolabs/security-checker": "Lets GrumPHP be sure that there are no known security issues.",
5970
"squizlabs/php_codesniffer": "Lets GrumPHP sniff on your code.",
6071
"sstalle/php7cc": "Lets GrumPHP check PHP 5.3 - 5.6 code compatibility with PHP 7.",
6172
"symfony/phpunit-bridge": "Lets GrumPHP run your unit tests with the phpunit-bridge of Symfony.",
62-
"vimeo/psalm": "Lets GrumPHP discover errors in your code without running it.",
6373
"symplify/easycodingstandard": "Lets GrumPHP check coding standard.",
64-
"allocine/twigcs": "Lets GrumPHP check Twig coding standard."
74+
"vimeo/psalm": "Lets GrumPHP discover errors in your code without running it."
6575
},
66-
"authors": [
67-
{
68-
"name": "Toon Verwerft",
69-
"email": "toon.verwerft@phpro.be"
70-
},
71-
{
72-
"name": "Community",
73-
"homepage": "https://github.com/phpro/grumphp/graphs/contributors"
74-
}
75-
],
7676
"config": {
7777
"sort-packages": true
7878
},
7979
"extra": {
8080
"class": "GrumPHP\\Composer\\GrumPHPPlugin"
8181
},
82-
"scripts": {
83-
"post-install-cmd": [
84-
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate"
85-
],
86-
"post-update-cmd": [
87-
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate"
88-
]
89-
},
9082
"autoload": {
9183
"psr-4": {
9284
"GrumPHP\\": "src"
@@ -97,5 +89,15 @@
9789
"GrumPHPTest\\": "test"
9890
}
9991
},
100-
"bin": ["bin/grumphp"]
92+
"bin": [
93+
"bin/grumphp"
94+
],
95+
"scripts": {
96+
"post-install-cmd": [
97+
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate"
98+
],
99+
"post-update-cmd": [
100+
"GrumPHP\\Composer\\DevelopmentIntegrator::integrate"
101+
]
102+
}
101103
}

0 commit comments

Comments
 (0)