All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning and Conventional Commits.
- replace
phpcsstandards/php_codesniffer
withsquizlabs/php_codesniffer
(#2)
- replace
squizlabs/php_codesniffer
withphpcsstandards/php_codesniffer
(#2)
dev
keyword to prevent a "no-dev" installation (composer 2.4+)SCS2
SPIP Coding Standard Ruleset- SCS1
- prevention prefixed with an underscore on method names
- Logical operator "and" & "or" are prohibited; use "&&" & "||" instead
SPIP42
SPIP41 + SCS2SPIP50
SCS2 + PHP8.1+ Compatibility Ruleset, including SCS2, for SPIP 4.2+
- Sniffs
SCS1.NamingConventions.SnakeCase*
trigger warnings instead of errors
snake_case
Detection Utilies + Unit Tests- Sniffs
SCS1.NamingConventions.SnakeCaseFunctionName
andSCS1.NamingConventions.SnakeCaseVariableName
for SCS1- Taking account of special functions like
balise_*
- Class methods excluded
- Taking account of special functions like
SPIP41
PHP Compatibility Ruleset, including SCS1, for SPIP 4.1
SCS1
Based on PSR-12 + short array syntax
SCS1
SPIP Coding Standard RulesetSPIP40
PHP Compatibility Ruleset, including SCS1, for SPIP 4.0