Releases
0.4.2
Compare
Sorry, something went wrong.
No results found
pekral
released this
24 Aug 16:17
Added
New Rules Added:
SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing - Controls spacing around attributes and targets
SlevomatCodingStandard.Attributes.AttributesOrder - Enforces alphabetical ordering of attributes
SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment - Requires attributes to be placed after doc comments
SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition - Prevents multiple constant definitions in one statement
SlevomatCodingStandard.Classes.DisallowMultiPropertyDefinition - Prevents multiple property definitions in one statement
SlevomatCodingStandard.Classes.RequireAbstractOrFinal - Requires classes to be abstract or final
SlevomatCodingStandard.Commenting.DeprecatedAnnotationDeclaration - Controls deprecated annotation declarations
SlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator - Enforces null safe object operator
SlevomatCodingStandard.ControlStructures.RequireSingleLineCondition - Requires single-line conditions for short lines
SlevomatCodingStandard.Files.LineLength - Limits line length (max 156 chars, ignores comments/imports)
SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse - Disallows trailing commas in closure use
SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator - Requires numeric literal separators
SlevomatCodingStandard.Operators.RequireOnlyStandaloneIncrementAndDecrementOperators - Enforces standalone increment/decrement operators
SlevomatCodingStandard.PHP.DisallowReference - Disallows references
SlevomatCodingStandard.PHP.RequireExplicitAssertion - Requires explicit assertions
SlevomatCodingStandard.PHP.UselessParentheses - Prevents useless parentheses
SlevomatCodingStandard.Strings.DisallowVariableParsing - Disallows variable parsing in strings
Changed
Renamed Example/ folder to Examples/ for better organization
Refactored all example files to show only correct edge cases
Simplified and cleaned up example files across all rule categories
Updated ruleset.xml with better organization and cleanup
Enhanced composer.json with improved build scripts
Improved .gitignore file management
Fixed
Fixed reading sniffs from ruleset.xml file
Resolved deprecated error handling
Cleaned up coverage reports and test artifacts
Fixed various example file inconsistencies
Technical Improvements
Added comprehensive test coverage for commands and sniffs
Implemented proper test result caching
Enhanced build system with automated analysis
Improved CI/CD pipeline with better testing
You can’t perform that action at this time.