iodigital-com/php-code-sniffer-standard
Extends PHP_CodeSniffer with iO Digital coding standards. Install via Composer, add an IO ruleset to your phpcs.xml, configure excluded paths and PHP version ranges, and run vendor/bin/phpcs. Includes guidance for properly ignoring sniff violations.
phpcompatibility/php-compatibility requirement from ^9.3 to ^10.0.0@devsquizlabs/php_codesniffer requirement from ^3.6.0 to ^3.13.3 as required by the updated phpcompatibility/php-compatibility dependencycatalog-info.yaml.project-inventory.jsonslevomat/coding-standard:^8.15, replace usages of UseStatementHelper::isAnonymousFunctionUse with UseStatementHelper::!isImportUsedealerdirect/phpcodesniffer-composer-installer packageslevomat/coding-standard dependency to 7.1 (fixes #4)version property from composer.jsonGeneric.Formatting.SpaceAfterNot rule with spacing 0=== over ==)if (true === something())))(int) over(integer), (bool) over (boolean), etc.)assert() to forbidden functionsexec() to forbidden functionspassthru() to forbidden functionsshell_exec() to forbidden functionssystem() to forbidden functionseval() to forbidden functionsserialize() and unzerialize() to forbidden functionsSlevomatCodingStandard.Classes.ModernClassNameReference ruleISAAC.ControlStructures.DisallowGotoOperator ruleGeneric.PHP.BacktickOperator ruleSlevomatCodingStandard.Variables.UnusedVariable ruleGeneric.PHP.ForbiddenFunctions array value into a more readable and expandable formMySource.PHP.GetRequestData rule by the more complete `SlevomatCodingStand[...]Generic.CodeAnalysis.UselessOverridingMethod ruleSlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue...[]) array type hint in favor of the angular bracket style (array<...>).ObjectCalisthenics.Files.FunctionLength rule by SlevomatCodingStandard.Functions.FunctionLengthObjectCalisthenics.Metrics.MaxNestingLevel rule by Generic.Metrics.NestingLevelObjectCalisthenics.Metrics.PropertyPerClassLimit rule by ISAAC.Classes.PropertyPerClassLimitObjectCalisthenics.Metrics.MethodPerClassLimit rule by ISAAC.Classes.MethodPerClassLimit$thisHow can I help you explore Laravel packages today?