File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
dev/tests/Unit/Console/Command Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ public static function changesDataProvider()
59
59
$ pathToFixtures . '/new-method/source-code-before ' ,
60
60
$ pathToFixtures . '/new-method/source-code-after ' ,
61
61
[
62
- 'Class (MINOR ) ' ,
62
+ 'Class (PATCH ) ' ,
63
63
'Test\Vcs\TestClass::testMethod | [public] Method has been added. | V015 '
64
64
],
65
- 'Minor change is detected. '
65
+ 'Patch change is detected. '
66
66
],
67
67
'api-class-removed-class ' => [
68
68
$ pathToFixtures . '/removed-class/source-code-before ' ,
@@ -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 (MAJOR ) ' ,
80
+ 'Class (PATCH ) ' ,
81
81
'Test\Vcs\TestClass::testMethod | [public] Method has been removed. | V006 '
82
82
],
83
- 'Major change is detected. '
83
+ 'Patch 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 @@ -113,10 +113,10 @@ public static function changesDataProvider()
113
113
$ pathToFixtures . '/field-added/source-code-before ' ,
114
114
$ pathToFixtures . '/field-added/source-code-after ' ,
115
115
[
116
- 'Suggested semantic versioning change: PATCH ' ,
116
+ 'Suggested semantic versioning change: MINOR ' ,
117
117
'Magento/TestModule/etc/adminhtml/system.xml:0 | magento_testmodule/general/added_field | A field-node was added | M302 ' ,
118
118
],
119
- 'Patch change is detected. ' ,
119
+ 'Minor change is detected. ' ,
120
120
],
121
121
'field-removed ' => [
122
122
$ pathToFixtures . '/field-removed/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: MAJOR ' ,
50
+ 'Suggested semantic versioning change: PATCH ' ,
51
51
],
52
- 'Major change is detected. ' ,
52
+ 'Patch 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 ' ,
You can’t perform that action at this time.
0 commit comments