Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Identify sniffs related to VIP Go platform compatibility

Đang mở
#688 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
tooling

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.

Mô tả

Type: Documentation Type: Enhancement

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=<insert_compatibility_sniffs_here>
Ngôn ngữ chính
PHP
Star
261
Fork
44
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Automattic/VIP-Coding-Standards

Tất cả issue của Automattic/VIP-Coding-Standards

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.