-
Hi,
i'm developing an application using CakePHP4. When generating a template for viewing a database Table that has a nullable field in it, phpcs quits with a fatal error.
This line is causing th…
-
When scanning the plugin triggers PHP fatal errors due to missing methods in some of the dependencies. This happens via WP-CLI or the UI.
I haven't dug deeply into this, but it appears the composer…
-
```
$ pyrus remote-list pear
...
! PHP_CodeSniffer 1.4.3 PHP_CodeSniffer tokenises PHP, JavaScript and CSS
...
$ pyrus info pear/php_codesniffer
...
PHP_CodeSniffer (pear.php.net Ch…
-
## Current Situation
Sniffs should (of course) implement the `PHP_CodeSniffer\Sniffs\Sniff` interface, either directly or via inheritance, and I expect all sniffs do.
However, there is no defens…
-
- [ ] [1.4.0](https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/1.4.0): `$ignoreComments` parameter for the `AbstractPatternSniff::__construct()` method.
- [ ] [3.2.0](https://github.com/PHPC…
jrfnl updated
3 months ago
-
Im stumped.
in order to get grunt-phpcs running, i did the standard npm install, and configured my Gruntfile.js
phpcs: {
application: {
dir: 'src'
},
…
-
Hello, I am getting the following issue:
vendor/bin/phpcs -e
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in .composer/vendor/squizlabs/php_code…
-
During scans the scanner hits PHPs max execution time and carries on regardless, so results may be unreliable.
I tried messing with registering a shutdown function but thats a bit 'hacky'.
Setting the…
Pross updated
2 years ago
-
Extract pylint error codes (or php errors) and emit them as LSP diagnostics. (generic way to extract report formats would be useful)
This should respond to php/html files in any namespace.
- The…
-
## Describe the bug
`PSR2.Classes.PropertyDeclaration.ReadonlyBeforeVisibility` doesn't apply when constructor property promotion is used
### Code sample
```php