-
**Woo Commerce Version - 9.4.2
WordPress Version - 6.7
Plugin Version - 2.6.2
Description -** phpcs issues
ORG-
[PHPcs.docx](https://github.com/user-attachments/files/17826688/PHPcs.docx)
P…
-
Setup phpcs and enforce the Drupal code style.
References https://www.drupal.org/docs/extending-drupal/contributed-modules/contributed-module-documentation/coder/installing-coder
-
now:
```
phpcs:
script: vendor/bin/phpcs --report=full --report-\\Micheh\\PhpCodeSniffer\\Report\\Gitlab=phpcs-quality-report.json
artifacts:
reports:
codequality: phpcs-quality-…
-
## Describe the bug
PHPCS throws a fatal error when the user passes an invalid generator.
### To reproduce
Steps to reproduce the behavior:
1. Run `phpcs test.php --generator=InvalidGenerator …
-
## Is your feature request related to a problem?
While working on #684, I noticed some divergences between how PHPCS and PHPMD/PHP Depend count cyclomatic complexity. For example, PHPCS increases t…
-
Recently, when Github actions runs `psalm`, it has an error:
```
> ./vendor/bin/psalm --no-cache
PHP Fatal error: Uncaught Psalm\Exception\ConfigException: Error parsing file /home/runner/work/p…
-
The sniff overrides the token content of PHPCS ignore annotations to allow for fixing these but doesn't revert that change correctly once the sniff is done, which means that this change will affect al…
-
Todo:
- [ ] Fix plugin check issues
- [ ] Check and fix PHPCS issues
```
FILE: shop-health.php
+------+--------+---------+---------------------------------+-----------------------------------…
-
I created this action to add basic code sniffing for pull requests:
```
name: Code Sniffer
on:
pull_request:
jobs:
sniff:
name: Sniff changed files
runs-on: my-server
st…
-
First of all, thank you for providing this extension. Assuming it is still maintained, I'd like to motivate to integrate a way to set configurations for phpcs.
As discussed in https://github.com/sq…