Fix qodana
This commit is contained in:
parent
77d6b9510b
commit
3f4b0549cb
@ -217,7 +217,7 @@ class CActionComm
|
|||||||
$qualified = 1;
|
$qualified = 1;
|
||||||
}
|
}
|
||||||
// For case module = 'myobject@eventorganization'
|
// For case module = 'myobject@eventorganization'
|
||||||
$tmparray = preg_split("/@/", $obj->module, -1);
|
$tmparray = explode("@", $obj->module);
|
||||||
if (count($tmparray) > 1 && $tmparray[1] == 'eventorganization' && isModEnabled('eventorganization')) {
|
if (count($tmparray) > 1 && $tmparray[1] == 'eventorganization' && isModEnabled('eventorganization')) {
|
||||||
$qualified = 1;
|
$qualified = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -37,7 +37,11 @@ exclude:
|
|||||||
- name: PhpExpressionResultUnusedInspection
|
- name: PhpExpressionResultUnusedInspection
|
||||||
- name: PhpUndefinedClassInspection
|
- name: PhpUndefinedClassInspection
|
||||||
- name: RegExpSimplifiable
|
- name: RegExpSimplifiable
|
||||||
|
- name: PhpConcatenationWithEmptyStringCanBeInlinedInspection
|
||||||
- name: PhpConditionCanBeReplacedWithMinMaxCallInspection
|
- name: PhpConditionCanBeReplacedWithMinMaxCallInspection
|
||||||
|
- name: PhpArrayIsAlwaysEmptyInspection
|
||||||
|
- name: PhpParameterByRefIsNotUsedAsReferenceInspection
|
||||||
- name: PhpWrongStringConcatenationInspection
|
- name: PhpWrongStringConcatenationInspection
|
||||||
|
- name: PhpExpressionAlwaysNullInspection
|
||||||
- name: PhpIfWithCommonPartsInspection
|
- name: PhpIfWithCommonPartsInspection
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user