dev-master
9999999-dev
GPL-3.0-or-later
The Requires
The Development Requires
Wallogit.com
2017 © Pedro Peláez
These are our coding standards. There are many like these, but these are ours., (*1)
Our standards are basically Human Made's coding standards with a few tweaks:, (*2)
Pressbooks classes that extend WP Core classes will fail the PSR1.Methods.CamelCapsMethodName rule. In those cases, add something like this in your phpcs.ruleset.xml file:, (*3)
<rule ref="PSR1.Methods.CamelCapsMethodName" >
<exclude-pattern>/inc/admin/class-catalog-list-table.php</exclude-pattern>
<exclude-pattern>/inc/admin/class-network-managers-list-table.php</exclude-pattern>
<exclude-pattern>/api/endpoints/controller/*</exclude-pattern>
</rule>
Link to docs: https://docs.pressbooks.org/coding-standards/, (*4)
GPL-3.0-or-later