You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* make sure that [Composer](https://getcomposer.org) is installed
8
+
* clone the [PHP_CodeSniffer repository](https://github.com/squizlabs/PHP_CodeSniffer)
9
+
* run `composer install` inside the `PHP_CodeSniffer` directory to install required dependencies
10
+
* get the [Symfony Coding Standard](https://github.com/djoos/Symfony-coding-standard) and symlink, copy or move its `Symfony` subdirectory to `PHP_CodeSniffer/src/Standards/Symfony`
11
+
* symlink, copy or clone this repository to `PHP_CodeSniffer/src/Standards/MO4`
Copy file name to clipboardExpand all lines: README.md
+1-12Lines changed: 1 addition & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,18 +52,7 @@ The MO4 Coding Standard is an extension of the [Symfony Coding Standard](http://
52
52
53
53
## Contributing
54
54
55
-
If you contribute code to these sniffs, please make sure it conforms to the PHPCS coding standard and that the unit tests still pass.
56
-
57
-
To check the coding standard, run in the repository root:
58
-
59
-
bin/phpcs --ignore='*/vendor/*'
60
-
61
-
The unit-tests are run from within the PHP_CodeSniffer directory
62
-
63
-
* clone the [CodeSniffer repository](https://github.com/squizlabs/PHP_CodeSniffer)
64
-
* symlink, copy or clone the [Symfony Coding Standard](https://github.com/djoos/Symfony-coding-standard) and symlink, copy or move its `Symfony` subdirectory to `src/Standards/Symfony`
65
-
* symlink, copy or clone this repository to `src/Standards/MO4`
66
-
* from the CodeSniffer repository root run `phpunit --filter MO4`
55
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for information.
0 commit comments