File tree 3 files changed +4
-6
lines changed
dev/tests/Unit/Console/Command
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ public static function changesDataProvider()
77
77
$ pathToFixtures . '/removed-method/source-code-before ' ,
78
78
$ pathToFixtures . '/removed-method/source-code-after ' ,
79
79
[
80
- 'Class (PATCH ) ' ,
80
+ 'Class (MAJOR ) ' ,
81
81
'Test\Vcs\TestClass::testMethod | [public] Method has been removed. | V006 '
82
82
],
83
- 'Patch change is detected. '
83
+ 'Major change is detected. '
84
84
],
85
85
'api-class-new-required-method-parameter ' => [
86
86
$ pathToFixtures . '/new-required-method-parameter/source-code-before ' ,
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ public static function changesDataProvider()
47
47
$ pathToFixtures . '/public-method-removed-from-non-api-parent-class-extended-by-api-class/source-code-before ' ,
48
48
$ pathToFixtures . '/public-method-removed-from-non-api-parent-class-extended-by-api-class/source-code-after ' ,
49
49
[
50
- 'Suggested semantic versioning change: PATCH ' ,
50
+ 'Suggested semantic versioning change: MAJOR ' ,
51
51
],
52
- 'Patch change is detected. ' ,
52
+ 'Major change is detected. ' ,
53
53
],
54
54
'public-method-removed-from-non-api-trait-used-by-api-class ' => [
55
55
$ pathToFixtures . '/public-method-removed-from-non-api-trait-used-by-api-class/source-code-before ' ,
Original file line number Diff line number Diff line change @@ -126,8 +126,6 @@ protected function makeVersionReport()
126
126
// Customize severity level of some @api changes
127
127
LevelMapping::setOverrides (
128
128
[
129
- 'V006 ' => Level::PATCH , // Add public method
130
- 'V007 ' => Level::PATCH , // Add protected method
131
129
'V015 ' => Level::PATCH , // Add public method
132
130
'V016 ' => Level::PATCH , // Add protected method
133
131
'V019 ' => Level::MINOR , // Add public property
You can’t perform that action at this time.
0 commit comments