From ea409a11316cb9f2acfa6e847fab3d3a11d6b86d Mon Sep 17 00:00:00 2001 From: mscherer Date: Fri, 29 Mar 2024 23:35:49 +0100 Subject: [PATCH] Add new PSR4 sniff --- PSR2R/ruleset.xml | 1 + docs/sniffs.md | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PSR2R/ruleset.xml b/PSR2R/ruleset.xml index 686e0c3..354ae7f 100644 --- a/PSR2R/ruleset.xml +++ b/PSR2R/ruleset.xml @@ -114,6 +114,7 @@ + diff --git a/docs/sniffs.md b/docs/sniffs.md index b831c96..0228031 100644 --- a/docs/sniffs.md +++ b/docs/sniffs.md @@ -1,6 +1,6 @@ # PSR2R Code Sniffer -The PSR2R standard contains 190 sniffs +The PSR2R standard contains 191 sniffs Generic (22 sniffs) ------------------- @@ -33,13 +33,14 @@ PEAR (3 sniffs) - PEAR.Functions.ValidDefaultValue - PEAR.NamingConventions.ValidClassName -PhpCollective (38 sniffs) +PhpCollective (39 sniffs) ------------------------- - PhpCollective.Classes.ClassFileName - PhpCollective.Classes.MethodArgumentDefaultValue - PhpCollective.Classes.MethodDeclaration - PhpCollective.Classes.MethodTypeHint - PhpCollective.Classes.PropertyDefaultValue +- PhpCollective.Classes.Psr4 - PhpCollective.Classes.ReturnTypeHint - PhpCollective.Classes.SelfAccessor - PhpCollective.Commenting.Attributes