Tags: ProtonMail/php-coding-standard
Tags
Removed PHP 7.4 support + added new sniff for space at (inline) comme… …nt (#15) * - added sniff for abstract class naming convention; - added sniff for interface naming convention; - added basic tests (consistent to existing ones); * - code styling; * - code styling; * - enable worflow; * - added some debugging output for fixing/checking the github workflow; * - fix expected result; * - revert workflow changes; * - added return type hint; * - check only class on AbstractClassNameSniff; - optimized reading of the class name; * cleanup; * debugging testing output; * removed test debugging output; * - activate DisallowMultipleAssignment (only one assignment per line); - activate AssignmentInCondition rule; - replace custom AbstractClassNameSniff by existing AbstractClassNamePrefix; - replace custom InterfaceNameSniff by existing InterfaceNameSuffix; - cleanup; * - removed testing debug; - update expected test output; * - check for trait naming; * - removed testing output; * added more cs rules; * - removed testing output; * - error instead of warning; * - removed debug output; * - added new sniff for detecting wrong comments (based on PEAR.Commenting.InlineComment but checks for missing leading space after comment start); * - added test script (composer) for diff/fix; * - removed test output; * - removed PHP 7.4 from composer.json; * - separation of concerns; * - update test; Co-authored-by: Richard Prillwitz <richard.prillwitz@proton.ch>
Avoid checking abstract functions (#13) * - added sniff for abstract class naming convention; - added sniff for interface naming convention; - added basic tests (consistent to existing ones); * - code styling; * - code styling; * - enable worflow; * - added some debugging output for fixing/checking the github workflow; * - fix expected result; * - revert workflow changes; * - added return type hint; * - check only class on AbstractClassNameSniff; - optimized reading of the class name; * cleanup; * debugging testing output; * removed test debugging output; Co-authored-by: Richard Prillwitz <richard.prillwitz@proton.ch>
Naming sniffs (#11) - added sniff for abstract class naming convention - added sniff for interface naming convention - added basic tests (consistent to existing ones) - enable worflow - added some debugging output for fixing/checking the github workflow - fix expected result - added return type hint
PreviousNext