File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -961,7 +961,6 @@ private static function fromXmlAndPaths(
961
961
'reportInfo ' => 'report_info ' ,
962
962
'restrictReturnTypes ' => 'restrict_return_types ' ,
963
963
'limitMethodComplexity ' => 'limit_method_complexity ' ,
964
- 'triggerErrorExits ' => 'trigger_error_exits ' ,
965
964
];
966
965
967
966
foreach ($ booleanAttributes as $ xmlName => $ internalName ) {
@@ -1096,6 +1095,13 @@ private static function fromXmlAndPaths(
1096
1095
$ config ->infer_property_types_from_constructor = $ attribute_text === 'true ' || $ attribute_text === '1 ' ;
1097
1096
}
1098
1097
1098
+ if (isset ($ config_xml ['triggerErrorExits ' ])) {
1099
+ $ attribute_text = (string ) $ config_xml ['triggerErrorExits ' ];
1100
+ if ($ attribute_text === 'always ' || $ attribute_text === 'never ' ) {
1101
+ $ config ->trigger_error_exits = $ attribute_text ;
1102
+ }
1103
+ }
1104
+
1099
1105
if (isset ($ config_xml ->projectFiles )) {
1100
1106
$ config ->project_files = ProjectFileFilter::loadFromXMLElement ($ config_xml ->projectFiles , $ base_dir , true );
1101
1107
}
You can’t perform that action at this time.
0 commit comments