Skip to content

Latest commit

 

History

History
92 lines (82 loc) · 3.57 KB

Ruleset.md

File metadata and controls

92 lines (82 loc) · 3.57 KB

Note In italic are the rules that are not implemented yet. Feel free to submit a PR if you implement any of them.

Functions

Code Level Rule
V001 MAJOR Function removed
V002 MAJOR Function parameter changed
V003 MINOR Function added
V004 PATCH Function implementation changed
V067 PATCH Function parameter name changed

Classes

Code Level Rule
V005 MAJOR Class removed
V006 MAJOR Class public method removed
V007 MAJOR Class protected method removed
V008 MAJOR Class public property removed
V009 MAJOR Class protected property removed
V010 MAJOR Class public method parameter changed
V011 MAJOR Class protected method parameter changed
V012 MAJOR New public constructor (does not match supertype)
V013 MAJOR New protected constructor (does not match supertype)
V015 MAJOR Class public method added
V016 MAJOR Class protected method added
V019 MAJOR Class public property added
V020 MAJOR Class protected property added
V014 MINOR Class added
V017 MINOR Final class public method added
V018 MINOR Final class protected method added
V021 MINOR Final class protected method parameter changed
V022 PATCH Final class protected method removed
V023 PATCH [Final] Class public class method implementation changed
V024 PATCH [Final] Class protected class method implementation changed
V025 PATCH [Final] Class private class method implementation changed
V026 PATCH Class private property added
V027 PATCH Class private property removed
V028 PATCH Class private method added
V029 PATCH Class private method removed
V030 PATCH Final class protected method added
V031 PATCH Class private method parameter changed
V060 PATCH Class public method parameter name changed
V061 PATCH Class protected method parameter name changed
V062 PATCH Class private method parameter name changed

Interface

Code Level Rule
V032 MINOR Interface added
V033 MAJOR Interface removed
V034 MAJOR Interface method added
V035 MAJOR Interface method removed
V036 MAJOR Interface method parameter changed
V063 PATCH Interface method parameter name changed

Trait

Code Level Rule
V037 MAJOR Trait removed
V038 MAJOR Trait public method removed
V039 MAJOR Trait protected method removed
V040 MAJOR Trait public property removed
V041 MAJOR Trait protected property removed
V042 MAJOR Trait public method parameter changed
V043 MAJOR Trait protected method parameter changed
V044 MAJOR New public constructor (does not match supertype)
V045 MAJOR New protected constructor (does not match supertype)
V047 MAJOR Trait public method added
V048 MAJOR Trait protected method added
V049 MAJOR Trait public property added
V050 MAJOR Trait protected property added
V055 MAJOR Trait private property added
V056 MAJOR Trait private property removed
V057 MAJOR Trait private method added
V058 MAJOR Trait private method removed
V046 MINOR Trait added
V051 MINOR REMOVED
V052 PATCH Trait public method implementation changed
V053 PATCH Trait protected method implementation changed
V054 PATCH Trait private method implementation changed
V059 PATCH Trait private method parameter changed
V064 PATCH Trait public method parameter name changed
V065 PATCH Trait protected method parameter name changed
V066 PATCH Trait private method parameter name changed

To classify

  • Method visibility changed