@@ -34,60 +34,75 @@ php bin/php-semver-checker compare tests/fixtures/before tests/fixtures/after
3434Suggested semantic versioning change: MAJOR
3535
3636Class (MAJOR)
37- +-------+-----------------------------------------+-----------------------+--------------------+------+
38- | Level | Location | Target | Reason | Code |
39- +-------+-----------------------------------------+-----------------------+--------------------+------+
40- | MAJOR | tests\f ixtures\b efore\C lassRemoved.php# | fixtures\C lassRemoved | Class was removed. | V005 |
41- | MINOR | tests\f ixtures\a fter\C lassAdded.php#5 | fixtures\C lassAdded | Class was added. | V014 |
42- +-------+-----------------------------------------+-----------------------+--------------------+------+
37+ +-------+--------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
38+ | Level | Location | Target | Reason | Code |
39+ +-------+--------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
40+ | MAJOR | tests\f ixtures\b efore\C lassRemoved.php# | fixtures\C lassRemoved | Class was removed. | V005 |
41+ | MAJOR | tests\f ixtures\a fter\C lassMethodAdded.php#7 | fixtures\C lassMethodAdded::publicMethod | Method has been added. | V015 |
42+ | MAJOR | tests\f ixtures\a fter\C lassMethodAdded.php#12 | fixtures\C lassMethodAdded::protectedMethod | Method has been added. | V016 |
43+ | MAJOR | tests\f ixtures\a fter\C lassMethodParameterChanged.php#7 | fixtures\C lassMethodParameterChanged::publicMethod | Method parameter changed. | V010 |
44+ | MAJOR | tests\f ixtures\a fter\C lassMethodParameterChanged.php#12 | fixtures\C lassMethodParameterChanged::protectedMethod | Method parameter changed. | V011 |
45+ | MAJOR | tests\f ixtures\b efore\C lassMethodRemoved.php#7 | fixtures\C lassMethodRemoved::publicMethod | Method has been removed. | V006 |
46+ | MAJOR | tests\f ixtures\b efore\C lassMethodRemoved.php#12 | fixtures\C lassMethodRemoved::protectedMethod | Method has been removed. | V007 |
47+ | MINOR | tests\f ixtures\a fter\C lassAdded.php#5 | fixtures\C lassAdded | Class was added. | V014 |
48+ | PATCH | tests\f ixtures\a fter\C lassMethodAdded.php#17 | fixtures\C lassMethodAdded::privateMethod | Method has been added. | V028 |
49+ | PATCH | tests\f ixtures\a fter\C lassMethodImplementationChanged.php#7 | fixtures\C lassMethodImplementationChanged::publicMethod | Method implementation changed. | V023 |
50+ | PATCH | tests\f ixtures\a fter\C lassMethodImplementationChanged.php#12 | fixtures\C lassMethodImplementationChanged::protectedMethod | Method implementation changed. | V024 |
51+ | PATCH | tests\f ixtures\a fter\C lassMethodImplementationChanged.php#17 | fixtures\C lassMethodImplementationChanged::privateMethod | Method implementation changed. | V025 |
52+ | PATCH | tests\f ixtures\a fter\C lassMethodParameterChanged.php#17 | fixtures\C lassMethodParameterChanged::privateMethod | Method parameter changed. | V031 |
53+ | PATCH | tests\f ixtures\a fter\C lassMethodParameterNameChanged.php#7 | fixtures\C lassMethodParameterNameChanged::publicMethod | Method parameter name changed. | V060 |
54+ | PATCH | tests\f ixtures\a fter\C lassMethodParameterNameChanged.php#12 | fixtures\C lassMethodParameterNameChanged::protectedMethod | Method parameter name changed. | V061 |
55+ | PATCH | tests\f ixtures\a fter\C lassMethodParameterNameChanged.php#17 | fixtures\C lassMethodParameterNameChanged::privateMethod | Method parameter name changed. | V062 |
56+ | PATCH | tests\f ixtures\b efore\C lassMethodRemoved.php#17 | fixtures\C lassMethodRemoved::privateMethod | Method has been removed. | V029 |
57+ +-------+--------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
4358
4459Function (MAJOR)
4560+-------+----------------------------------------------------------+-----------------------------------------------------------------------+----------------------------------+------+
4661| Level | Location | Target | Reason | Code |
4762+-------+----------------------------------------------------------+-----------------------------------------------------------------------+----------------------------------+------+
4863| MAJOR | tests\f ixtures\b efore\F unctionRemoved.php#5 | fixtures\f unctionRemoved::functionRemoved | Function has been removed. | V001 |
49- | MAJOR | tests\f ixtures\b efore\F unctionParameterMismatch .php#5 | fixtures\f unctionParameterMismatch::functionParameterMismatch | Function parameter changed. | V002 |
64+ | MAJOR | tests\f ixtures\b efore\F unctionParameterChanged .php#5 | fixtures\f unctionParameterChanged::functionParameterChanged | Function parameter changed. | V002 |
5065| MINOR | tests\f ixtures\a fter\F unctionAdded.php#5 | fixtures\f unctionAdded::functionAdded | Function has been added. | V003 |
5166| PATCH | tests\f ixtures\a fter\F unctionImplementationChanged.php#5 | fixtures\f unctionImplementationChanged::functionImplementationChanged | Function implementation changed. | V004 |
67+ | PATCH | tests\f ixtures\b efore\F unctionParameterNameChanged.php#5 | fixtures\f unctionParameterNameChanged::functionParameterNameChanged | Function parameter name changed. | V067 |
5268+-------+----------------------------------------------------------+-----------------------------------------------------------------------+----------------------------------+------+
5369
5470Interface (MAJOR)
55- +-------+----------------------------------------------+---------------------------+------------------------+------+
56- | Level | Location | Target | Reason | Code |
57- +-------+----------------------------------------------+---------------------------+------------------------+------+
58- | MAJOR | tests\f ixtures\b efore\I nterfaceRemoved.php#5 | fixtures\I nterfaceRemoved | Interface was removed. | V033 |
59- | MAJOR | tests\f ixtures\a fter\I nterfaceAdded.php#5 | fixtures\I nterfaceAdded | Interface was added. | V032 |
60- +-------+----------------------------------------------+---------------------------+------------------------+------+
61-
62- Method (MAJOR)
63- +-------+-------------------------------------------------------------+------------------------------------------------------+--------------------------------+------+
64- | Level | Location | Target | Reason | Code |
65- +-------+-------------------------------------------------------------+------------------------------------------------------+--------------------------------+------+
66- | MAJOR | tests\f ixtures\a fter\C lassMethodParameterChanged.php#7 | fixtures\C lassMethodParameterMismatch::newMethod | Method parameter changed. | V010 |
67- | MAJOR | tests\f ixtures\b efore\C lassMethodRemoved.php#7 | fixtures\C lassMethodRemoved::newMethod | Method has been removed. | V006 |
68- | MAJOR | tests\f ixtures\a fter\I nterfaceMethodParameterMismatch.php#7 | fixtures\I nterfaceMethodParameterMismatch::newMethod | Method parameter changed. | V036 |
69- | MAJOR | tests\f ixtures\b efore\I nterfaceMethodRemoved.php#7 | fixtures\I nterfaceMethodRemoved::newMethod | Method has been removed. | V035 |
70- | MAJOR | tests\f ixtures\a fter\T raitMethodParameterChanged.php#7 | fixtures\T raitMethodParameterMismatch::newMethod | Method parameter changed. | V042 |
71- | MAJOR | tests\f ixtures\b efore\T raitMethodRemoved.php#7 | fixtures\T raitMethodRemoved::newMethod | Method has been removed. | V038 |
72- | MINOR | tests\f ixtures\a fter\C lassMethodAdded.php#7 | fixtures\C lassMethodAdded::newMethod | Method has been added. | V015 |
73- | MINOR | tests\f ixtures\a fter\I nterfaceMethodAdded.php#7 | fixtures\I nterfaceMethodAdded::newMethod | Method has been added. | V034 |
74- | MINOR | tests\f ixtures\a fter\T raitAddedRemoved.php#7 | fixtures\T raitMethodAdded::newMethod | Method has been added. | V047 |
75- | PATCH | tests\f ixtures\a fter\C lassMethodImplementationChanged.php#7 | fixtures\C lassMethodImplementationChanged::newMethod | Method implementation changed. | V023 |
76- | PATCH | tests\f ixtures\a fter\C lassMethodParameterChanged.php#7 | fixtures\C lassMethodParameterMismatch::newMethod | Method parameter changed. | V010 |
77- | PATCH | tests\f ixtures\a fter\I nterfaceMethodParameterMismatch.php#7 | fixtures\I nterfaceMethodParameterMismatch::newMethod | Method parameter changed. | V036 |
78- | PATCH | tests\f ixtures\a fter\T raitMethodImplementationChanged.php#7 | fixtures\T raitMethodImplementationChanged::newMethod | Method implementation changed. | V038 |
79- | PATCH | tests\f ixtures\a fter\T raitMethodParameterChanged.php#7 | fixtures\T raitMethodParameterMismatch::newMethod | Method parameter changed. | V042 |
80- +-------+-------------------------------------------------------------+------------------------------------------------------+--------------------------------+------+
71+ +-------+---------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
72+ | Level | Location | Target | Reason | Code |
73+ +-------+---------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
74+ | MAJOR | tests\f ixtures\b efore\I nterfaceRemoved.php#5 | fixtures\I nterfaceRemoved | Interface was removed. | V033 |
75+ | MAJOR | tests\f ixtures\a fter\I nterfaceMethodAdded.php#7 | fixtures\I nterfaceMethodAdded::newMethod | Method has been added. | V034 |
76+ | MAJOR | tests\f ixtures\a fter\I nterfaceMethodParameterChaged.php#7 | fixtures\I nterfaceMethodParameterChanged::newMethod | Method parameter changed. | V036 |
77+ | MAJOR | tests\f ixtures\b efore\I nterfaceMethodRemoved.php#7 | fixtures\I nterfaceMethodRemoved::newMethod | Method has been removed. | V035 |
78+ | MAJOR | tests\f ixtures\a fter\I nterfaceAdded.php#5 | fixtures\I nterfaceAdded | Interface was added. | V032 |
79+ | PATCH | tests\f ixtures\a fter\I nterfaceMethodParameterNameChaged.php#7 | fixtures\I nterfaceMethodParameterNameChanged::publicMethod | Method parameter name changed. | V063 |
80+ +-------+---------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
8181
8282Trait (MAJOR)
83- +-------+------------------------------------------+-----------------------+--------------------+------+
84- | Level | Location | Target | Reason | Code |
85- +-------+------------------------------------------+-----------------------+--------------------+------+
86- | MAJOR | tests\f ixtures\b efore\T raitRemoved.php#5 | fixtures\T raitRemoved | Trait was removed. | V037 |
87- | MINOR | tests\f ixtures\a fter\T raitAdded.php#5 | fixtures\T raitAdded | Trait was added. | V046 |
88- +-------+------------------------------------------+-----------------------+--------------------+------+
89-
90- Time: 0.79 seconds, Memory: 4.28 MB
83+ +-------+--------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
84+ | Level | Location | Target | Reason | Code |
85+ +-------+--------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
86+ | MAJOR | tests\f ixtures\b efore\T raitRemoved.php#5 | fixtures\T raitRemoved | Trait was removed. | V037 |
87+ | MAJOR | tests\f ixtures\a fter\T raitMethodAdded.php#7 | fixtures\T raitMethodAdded::publicMethod | Method has been added. | V047 |
88+ | MAJOR | tests\f ixtures\a fter\T raitMethodAdded.php#12 | fixtures\T raitMethodAdded::protectedMethod | Method has been added. | V048 |
89+ | MAJOR | tests\f ixtures\a fter\T raitMethodAdded.php#17 | fixtures\T raitMethodAdded::privateMethod | Method has been added. | V057 |
90+ | MAJOR | tests\f ixtures\a fter\T raitMethodParameterChanged.php#7 | fixtures\T raitMethodParameterChanged::publicMethod | Method parameter changed. | V042 |
91+ | MAJOR | tests\f ixtures\a fter\T raitMethodParameterChanged.php#12 | fixtures\T raitMethodParameterChanged::protectedMethod | Method parameter changed. | V043 |
92+ | MAJOR | tests\f ixtures\b efore\T raitMethodRemoved.php#7 | fixtures\T raitMethodRemoved::publicMethod | Method has been removed. | V038 |
93+ | MAJOR | tests\f ixtures\b efore\T raitMethodRemoved.php#12 | fixtures\T raitMethodRemoved::protectedMethod | Method has been removed. | V039 |
94+ | MAJOR | tests\f ixtures\b efore\T raitMethodRemoved.php#17 | fixtures\T raitMethodRemoved::privateMethod | Method has been removed. | V058 |
95+ | MINOR | tests\f ixtures\a fter\T raitAdded.php#5 | fixtures\T raitAdded | Trait was added. | V046 |
96+ | PATCH | tests\f ixtures\a fter\T raitMethodImplementationChanged.php#7 | fixtures\T raitMethodImplementationChanged::publicMethod | Method implementation changed. | V052 |
97+ | PATCH | tests\f ixtures\a fter\T raitMethodImplementationChanged.php#12 | fixtures\T raitMethodImplementationChanged::protectedMethod | Method implementation changed. | V053 |
98+ | PATCH | tests\f ixtures\a fter\T raitMethodImplementationChanged.php#17 | fixtures\T raitMethodImplementationChanged::privateMethod | Method implementation changed. | V054 |
99+ | PATCH | tests\f ixtures\a fter\T raitMethodParameterChanged.php#17 | fixtures\T raitMethodParameterChanged::privateMethod | Method parameter changed. | V059 |
100+ | PATCH | tests\f ixtures\a fter\T raitMethodParameterNameChanged.php#7 | fixtures\T raitMethodParameterNameChanged::publicMethod | Method parameter name changed. | V064 |
101+ | PATCH | tests\f ixtures\a fter\T raitMethodParameterNameChanged.php#12 | fixtures\T raitMethodParameterNameChanged::protectedMethod | Method parameter name changed. | V065 |
102+ | PATCH | tests\f ixtures\a fter\T raitMethodParameterNameChanged.php#17 | fixtures\T raitMethodParameterNameChanged::privateMethod | Method parameter name changed. | V066 |
103+ +-------+--------------------------------------------------------------+------------------------------------------------------------+--------------------------------+------+
104+
105+ Time: 1.925 seconds, Memory: 4.467 MB
91106```
92107
93108## License
0 commit comments