alleyinteractive / alleyinteractive/create-wordpress-plugin

PHPStorm IDE issue with PHP Code Sniffer

Abierto
#428 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
PHP
Estrellas
35
Forks
2
Merge medio
1 d 11 h
PR fusionados (30 d)
3

Descripción

### Description

I am trying to integrate phpcs with my IDE but it rejects the .phpcs.xml file removing the the dot from the beginning fixies it but then it breaks the composer scripts. I updated the compose script to link to the rule set which appears to have fixed it. Wondering if this an issue the the IDE or the plugin configs?

If the former mind helping me understand what I should report to the IDE owner else could we consider a permanent fix please?

I am PHP newbie so go easy on me please.

Compose changes I made:
```
...
"scripts": {
"phpcbf": "phpcbf . --standard=./phpcs.xml",
"phpcs": "phpcs . --standard=./phpcs.xml",
...
}
...
```

IDE config:

![Image](https://github.com/user-attachments/assets/97697a5d-d113-4e27-9fa5-ee2f09e87893)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.