Skip to content

Commit baaa443

Browse files
committed
Remove roave/security-advisories due to stability requirement
See #10
1 parent e586fe2 commit baaa443

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,6 @@ You can then include the sniffs by adding a line like the following to [your php
3838

3939
It should just work after that!
4040

41-
#### Troubleshooting
42-
43-
If you see an error like this when trying to install the library, you will need to include stability information in your composer.json.
44-
45-
```
46-
- sirbrillig/phpcs-variable-analysis dev-master requires roave/security-advisories dev-master -> satisfiable by roave/security-advisories[dev-master] but these conflict with your requirements or minimum-stability.
47-
```
48-
49-
To fix this, add the following lines to your composer.json file and then try installing again.
50-
51-
```
52-
"minimum-stability": "dev",
53-
"prefer-stable": true,
54-
```
55-
5641
### Standalone
5742

5843
1. Install PHP_CodeSniffer by following its [installation instructions](https://github.com/squizlabs/PHP_CodeSniffer#installation) (via Composer, Phar file, PEAR, or Git checkout).

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"prefer-stable": true,
2222
"require" : {
2323
"php" : ">=5.4.0",
24-
"squizlabs/php_codesniffer" : "^3.0.2",
25-
"roave/security-advisories": "dev-master"
24+
"squizlabs/php_codesniffer" : "^3.0.2"
2625
}
2726
}

0 commit comments

Comments
 (0)