alleyinteractive / alleyinteractive/create-wordpress-plugin

PHPStorm IDE issue with PHP Code Sniffer

未关闭
#428 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
35
派生
2
平均合并
1 天 11 小时
30 天内合并 PR
3

描述

### 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)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。