Skip to content

lunapress/coding-standards

Repository files navigation

PHP Version PHPUnit Tests Status Coverage Psalm level Latest Stable Version Total Downloads

LunaPress Coding Standards

Based on wp-coding-standards/wpcs.

Declarations Sniffs

LunaPressStandard.Declarations.StrictTypes

Checks for mandatory declare(strict_types=1); after <?php. Takes into account other parameters besides strict_types

WP Sniffs

LunaPressStandard.WP.AbspathAfterNamespace

Looking for a mandatory defined('ABSPATH') || exit; check after namespace so that you can't go to the file directly from the url

About

PHP_CodeSniffer sniffs for LunaPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors