-
_From @larsroettig on February 7, 2019 15:21_
We should add as [grumphp](https://github.com/phpro/grumphp) for checking the quality of commits.
Sample Config:
```yml
parameters:
bin_dir: ".…
-
We should add as [grumphp](https://github.com/phpro/grumphp) for checking the quality of commits.
Sample Config:
```yml
parameters:
bin_dir: "./vendor/bin"
git_dir: "."
hooks_dir: …
-
Given the following primary ruleset saved as `phpcs.xml.dist`:
```xml
.
```
... and this secondary ruleset saved as `phpcs.xml`:
```xml
```
The `no-c…
jrfnl updated
5 years ago
-
When i type,
`$ phpcs --version`
then i get:
```bash
ERROR: You must supply at least one file or directory to process.
Run "phpcs --help" for usage information
```
What i should get: version…
-
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/d62b34082bf1921c0896ac7a0b6f32a85fe9a576/WordPress/Sniffs/WP/I18nSniff.php#L369
(and a repeat a few lines down) identif…
-
Hi guys,
I'm having a problem with `tidy` in that it keeps showing me the warning `inserting missing 'title' element` on php-only files. There is no way for me to ignore this warning and it's bugg…
-
**How is drupal-check installed?**
- [ ] drupal-check is installed using the phar
- [X] drupal-check is installed globally via Composer
- [ ] drupal-check is installed globally using consolidatio…
GoZOo updated
5 years ago
-
As this repo was (is) a fork from WPCS, when this project started, it was decided to put all Theme specific sniffs in a `Theme` sniff category.
However, things change. And one of the things which i…
jrfnl updated
5 years ago
-
When you use the `phpcs:disable` all of the following code will not be checked for phpcs issues, that means for the rest of the file unless you call `phpcs:enable` the code will not checked for coding…
widoz updated
5 years ago
-
I'm trying to set up PHPCS to run with PSR2 by default instead of having to specify it on each run.
I set the default with phpcs --config-set standard PSR2 When I check the configuration, it appear…