Home

Awesome

PHP Semantic Versioning Checker Rules

The following documents all the rules currently checked by the PHP Semantic Versioning Checker.

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

Functions

CodeLevelRule
V001MAJORFunction removed
V002MAJORFunction parameter added
V003MINORFunction added
V004PATCHFunction implementation changed
V067PATCHFunction parameter name changed
V068MAJORFunction parameter removed
V069MAJORFunction parameter typing added
V070MINORFunction parameter typing removed
V071MINORFunction parameter default added
V072MAJORFunction parameter default removed
V073MINORFunction parameter default value changed
V160PATCHFunction name case changed

Classes

CodeLevelRule
V005MAJORClass removed
V006MAJORClass public method removed
V007MAJORClass protected method removed
V008MAJORClass public property removed
V009MAJORClass protected property removed
V010MAJORClass public method parameter added
V011MAJORClass protected method parameter added
V012MAJORNew public constructor (does not match supertype)
V013MAJORNew protected constructor (does not match supertype)
V015MAJORClass public method added
V016MAJORClass protected method added
V019MAJORClass public property added
V020MAJORClass protected property added
V014MINORClass added
V017MINORFinal class public method added
V018MINORFinal class protected method added
V021MINORFinal class protected method parameter added
V022PATCHFinal class protected method removed
V023PATCH[Final] Class public class method implementation changed
V024PATCH[Final] Class protected class method implementation changed
V025PATCH[Final] Class private class method implementation changed
V026PATCHClass private property added
V027PATCHClass private property removed
V028PATCHClass private method added
V029PATCHClass private method removed
V030PATCHFinal class protected method added
V031PATCHClass private method parameter added
V060PATCHClass public method parameter name changed
V061PATCHClass protected method parameter name changed
V062PATCHClass private method parameter name changed
V080-----Final class public method parameter added
V081-----Final class private method parameter added
V082MAJORClass public method parameter removed
V083MAJORClass protected method parameter removed
V084PATCHClass private method parameter removed
V085MAJORClass public method parameter typing added
V086MAJORClass protected method parameter typing added
V087PATCHClass private method parameter typing added
V088MAJORClass public method parameter typing removed
V089MAJORClass protected method parameter typing removed
V090PATCHClass private method parameter typing removed
V091MINORClass public method parameter default added
V092MINORClass protected method parameter default added
V093PATCHClass private method parameter default added
V094MAJORClass public method parameter default removed
V095MAJORClass protected method parameter default removed
V096PATCHClass private method parameter default removed
V097MAJORClass public method parameter default value changed
V098MAJORClass protected method parameter default value changed
V099PATCHClass private method parameter default value changed
V150PATCHClass public method name case changed
V156PATCHClass protected method name case changed
V157PATCHClass private method name case changed
V154PATCHClass name case changed
VXXXMAJORFinal class public method parameter added
VXXXMAJORFinal class protected method parameter added
VXXXPATCHFinal class private method parameter added
VXXXMAJORFinal class public method parameter removed
VXXXMAJORFinal class protected method parameter removed
VXXXPATCHFinal class private method parameter removed
VXXXMAJORFinal class public method parameter typing added
VXXXMAJORFinal class protected method parameter typing added
VXXXPATCHFinal class private method parameter typing added
VXXX?????Final class public method parameter typing removed
VXXX?????Final class protected method parameter typing removed
VXXXPATCHFinal class private method parameter typing removed
VXXX?????Final class public method parameter default added
VXXX?????Final class protected method parameter default added
VXXXPATCHFinal class private method parameter default added
VXXX?????Final class public method parameter default removed
VXXX?????Final class protected method parameter default removed
VXXXPATCHFinal class private method parameter default removed
VXXX?????Final class public method parameter default value changed
VXXX?????Final class protected method parameter default value changed
VXXXPATCHFinal class private method parameter default value changed

Interface

CodeLevelRule
V032MINORInterface added
V033MAJORInterface removed
V034MAJORInterface method added
V035MAJORInterface method removed
V036MAJORInterface method parameter added
V063PATCHInterface method parameter name changed
V074MAJORInterface method parameter removed
V075MAJORInterface method parameter typing added
V076MAJORInterface method parameter typing removed
V077MINORInterface method parameter default added
V078MAJORInterface method parameter default removed
V079MAJORInterface method parameter default value changed
V151PATCHInterface method name case changed
V153PATCHInterface name case changed

Trait

CodeLevelRule
V037MAJORTrait removed
V038MAJORTrait public method removed
V039MAJORTrait protected method removed
V040MAJORTrait public property removed
V041MAJORTrait protected property removed
V042MAJORTrait public method parameter added
V043MAJORTrait protected method parameter added
V044MAJORNew public constructor (does not match supertype)
V045MAJORNew protected constructor (does not match supertype)
V047MAJORTrait public method added
V048MAJORTrait protected method added
V049MAJORTrait public property added
V050MAJORTrait protected property added
V055MAJORTrait private property added
V056MAJORTrait private property removed
V057MAJORTrait private method added
V058MAJORTrait private method removed
V046MINORTrait added
V051-----REMOVED
V052PATCHTrait public method implementation changed
V053PATCHTrait protected method implementation changed
V054PATCHTrait private method implementation changed
V059MAJORTrait private method parameter added
V064PATCHTrait public method parameter name changed
V065PATCHTrait protected method parameter name changed
V066PATCHTrait private method parameter name changed
V100MAJORTrait public method parameter removed
V101MAJORTrait protected method parameter removed
V102MAJORTrait private method parameter removed
V103MAJORTrait public method parameter typing added
V104MAJORTrait protected method parameter typing added
V105MAJORTrait private method parameter typing added
V106MAJORTrait public method parameter typing removed
V107MAJORTrait protected method parameter typing removed
V108MAJORTrait private method parameter typing removed
V109MINORTrait public method parameter default added
V110MINORTrait protected method parameter default added
V111MINORTrait private method parameter default added
V112MAJORTrait public method parameter default removed
V113MAJORTrait protected method parameter default removed
V114MAJORTrait private method parameter default removed
V115MAJORTrait public method parameter default value changed
V116MAJORTrait protected method parameter default value changed
V117MAJORTrait private method parameter default value changed
V152PATCHTrait public method name case changed
V158PATCHTrait protected method name case changed
V159PATCHTrait private method name case changed
V155PATCHTrait name case changed