Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 692 Bytes

CODING_STANDARD.md

File metadata and controls

19 lines (14 loc) · 692 Bytes

Coding Standard

This repository uses PSR2 as the coding standard. The code respectively must be passed by php code sniffer.

Preparation

See Contributing for more information.

Writing Codes

  • The code should PSR2 compliant.
  • The code should follow namespace structure.
  • The namespace of the code is ArrayAccess\WP\Libraries\Core.
  • Writing comments is not mandatory, but it is recommended.
  • Using inheritance comments if you are extending the class.
  • Writing unit test is not mandatory, but it is recommended. (Refer Testing)
  • Please focus on security first, and then performance.
  • Please be responsible for your code, words, and actions.