Automattic / Automattic/VIP-Coding-Standards
Identify sniffs related to VIP Go platform compatibility
- Ngôn ngữ chính
- PHP
- Star
- 261
- Fork
- 44
- Merge trung bình
- 19 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
## What problem would the enhancement address for VIP?
It would be useful if there was a way for clients to see a more granular report for checking VIP Go platform compatibility in regards to functionality requirements.
## Describe the solution you'd like
Currently, we have a "Compatibility" folder, but there's only one sniff in it (that is to be deprecated). However, a lot of the sniffs live in the other categories since when they were first categorized, compatibility was seen as a secondary category. There are a few ways to go about it that I can see:
Option A) Maintain a separate ruleset aka WordPress-VIP-Compatibility (after #600 has completed).
Option B) For #600, move those sniffs into the Compatibility folder since we are breaking error codes anyways.
(interim) Option C) Have a paste-able command available for clients who want to run that type of check in our docs e.g.
```
phpcs --standard=WordPress-VIP-Go --sniffs=
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xem xét thư mục Compatibility và sniff hiện có của thư mục đó, sau đó đọc ngữ cảnh của issue #600 và các danh mục sniff khác. Công việc được xem là hoàn tất khi đã chọn và ghi lại một cách cụ thể để xác định các sniff tương thích với VIP Go, chẳng hạn như một ruleset riêng, phân loại lại hoặc một lệnh phpcs được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- php
- Lĩnh vực
- tooling
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100