Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.49 KB

File metadata and controls

30 lines (20 loc) · 1.49 KB

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