Skip to content

Commit 4a1384d

Browse files
xaloppmmoll
authored andcommitted
composer: change package type and use stable version
1 parent 5592862 commit 4a1384d

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

composer.json

+5-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
{
2-
"repositories": [
3-
{
4-
"type": "package",
5-
"package": {
6-
"name": "squizlabs/php_codesniffer",
7-
"version": "master",
8-
"source": {
9-
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
10-
"type": "git",
11-
"reference": "master"
12-
}
13-
}
14-
}
15-
],
162
"name": "mayflower/mo4-coding-standard",
173
"description": "PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.",
18-
"type": "library",
4+
"type": "phpcodesniffer-standard",
195
"keywords": [
206
"phpcs",
217
"Symfony",
@@ -36,11 +22,12 @@
3622
"source": "https://github.com/mayflower/mo4-coding-standard"
3723
},
3824
"require-dev": {
39-
"squizlabs/php_codesniffer": "3.x-dev",
4025
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0"
4126
},
4227
"require": {
28+
"squizlabs/php_codesniffer": "^3.0",
29+
"escapestudios/symfony2-coding-standard": "^3.0",
30+
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
4331
"php": ">=5.4.0"
44-
},
45-
"minimum-stability": "dev"
32+
}
4633
}

0 commit comments

Comments
 (0)