Skip to content

Commit 10cbfc4

Browse files
xaloppmmoll
authored andcommitted
documentation: this package is now listed on packagist.org
1 parent 33aaace commit 10cbfc4

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

README.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
# MO4 CodeSniffer ruleset <a href="https://travis-ci.org/mayflower/mo4-coding-standard/"><img src="https://secure.travis-ci.org/mayflower/mo4-coding-standard.png?branch=master"></a>
1+
# MO4 CodeSniffer ruleset
2+
3+
Provides a PHP CodeSniffer ruleset for the MO4 coding standard
24

3-
Provides a CodeSniffer ruleset
5+
[![Build Status](https://travis-ci.org/mayflower/mo4-coding-standard.svg?branch=master)](https://travis-ci.org/mayflower/mo4-coding-standard)
46

5-
* MO4 standard
7+
[![Latest Stable Version](https://poser.pugx.org/mayflower/mo4-coding-standard/v/stable)](https://packagist.org/packages/mayflower/mo4-coding-standard)
8+
[![Total Downloads](https://poser.pugx.org/mayflower/mo4-coding-standard/downloads)](https://packagist.org/packages/mayflower/mo4-coding-standard)
9+
[![Latest Unstable Version](https://poser.pugx.org/mayflower/mo4-coding-standard/v/unstable)](https://packagist.org/packages/mayflower/mo4-coding-standard)
10+
[![License](https://poser.pugx.org/mayflower/mo4-coding-standard/license)](https://packagist.org/packages/mayflower/mo4-coding-standard)
11+
[![composer.lock](https://poser.pugx.org/mayflower/mo4-coding-standard/composerlock)](https://packagist.org/packages/mayflower/mo4-coding-standard)
612

7-
Requires
13+
14+
## Requires
815

916
* [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
1017
* [Symfony Coding Standard](https://github.com/djoos/Symfony-coding-standard)
@@ -69,23 +76,15 @@ Possible values for order:
6976

7077
Using [Composer](https://getcomposer.org/) is the preferred way.
7178

72-
1. Add the MO4 repository
73-
74-
composer config repositories.mo4 vcs https://github.com/mayflower/mo4-coding-standard.git
75-
76-
If composer complains about a missing composer.json, just create an empty one
77-
78-
echo '{}' > composer.json
79-
80-
2. Add the MO4 coding standard to `composer.json`
79+
1. Add the MO4 coding standard to `composer.json`
8180

8281
composer require --dev mayflower/mo4-coding-standard:dev-master
8382

84-
3. Profit
83+
2. Profit
8584

8685
./vendor/bin/phpcs --standard=MO4 path/to/my/file.php
8786

88-
4. Optionally, you might set MO4 as default coding standard
87+
3. Optionally, you might set MO4 as default coding standard
8988

9089
./vendor/bin/phpcs --config-set default_standard MO4
9190

0 commit comments

Comments
 (0)