File tree 3 files changed +19
-8
lines changed
3 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -122,19 +122,15 @@ public function hasDeprecatedWellFormatted($commentStartPtr, $tokens)
122
122
return true ;
123
123
}
124
124
125
+ $ seeTagRequired = false ;
125
126
if ($ tokens [$ deprecatedPtr + 2 ]['code ' ] !== T_DOC_COMMENT_STRING ) {
126
- return false ;
127
+ $ seeTagRequired = true ;
127
128
}
128
-
129
129
$ seePtr = $ this ->getTagPosition ('@see ' , $ commentStartPtr , $ tokens );
130
130
if ($ seePtr === -1 ) {
131
- return true ;
131
+ return ! $ seeTagRequired ;
132
132
}
133
- if ($ tokens [$ seePtr + 2 ]['code ' ] !== T_DOC_COMMENT_STRING ) {
134
- return false ;
135
- }
136
-
137
- return true ;
133
+ return $ tokens [$ seePtr + 2 ]['code ' ] === T_DOC_COMMENT_STRING ;
138
134
}
139
135
140
136
/**
Original file line number Diff line number Diff line change @@ -153,3 +153,12 @@ class DoNotCareHandler
153
153
{
154
154
155
155
}
156
+
157
+ /**
158
+ * @deprecated
159
+ * @see Magento\Framework\NewHandler
160
+ */
161
+ class OldHandler
162
+ {
163
+
164
+ }
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ class Profiler
38
38
*/
39
39
const COMPUTER = 'Deep Thought ' ;
40
40
41
+ /**
42
+ * @deprecated
43
+ * @see \ComputationalMatrix\Mars
44
+ */
45
+ const KEYBOARD = 'Ergonomic ' ;
46
+
41
47
/**
42
48
* @see
43
49
*/
You can’t perform that action at this time.
0 commit comments