File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,18 @@ public function initialize(): IgnoredErrorHelperResult
106106 continue ;
107107 }
108108
109+ $ reportUnmatched = (bool ) ($ uniquedExpandedIgnoreErrors [$ key ]['reportUnmatched ' ] ?? $ this ->reportUnmatchedIgnoredErrors );
110+ if (!$ reportUnmatched ) {
111+ $ reportUnmatched = $ ignoreError ['reportUnmatched ' ] ?? $ this ->reportUnmatchedIgnoredErrors ;
112+ }
113+
109114 $ uniquedExpandedIgnoreErrors [$ key ] = [
110115 'message ' => $ ignoreError ['message ' ] ?? null ,
111116 'rawMessage ' => $ ignoreError ['rawMessage ' ] ?? null ,
112117 'path ' => $ ignoreError ['path ' ],
113118 'identifier ' => $ ignoreError ['identifier ' ] ?? null ,
114119 'count ' => ($ uniquedExpandedIgnoreErrors [$ key ]['count ' ] ?? 1 ) + ($ ignoreError ['count ' ] ?? 1 ),
115- 'reportUnmatched ' => ( $ uniquedExpandedIgnoreErrors [ $ key ][ ' reportUnmatched ' ] ?? $ this -> reportUnmatchedIgnoredErrors ) || ( $ ignoreError [ ' reportUnmatched ' ] ?? $ this -> reportUnmatchedIgnoredErrors ) ,
120+ 'reportUnmatched ' => $ reportUnmatched ,
116121 ];
117122 }
118123
You can’t perform that action at this time.
0 commit comments