fix: SA: Fix "incorrect case" rule.

SA stands for Static Analysis.
This commit is contained in:
Pol Dellaiera
2021-11-16 10:29:41 +01:00
parent 196cddab09
commit a7b96f1756
4 changed files with 42 additions and 58 deletions

View File

@@ -170,11 +170,6 @@ parameters:
count: 1
path: src/Bundle/ChillCalendarBundle/Entity/Calendar.php
-
message: "#^Class RuntimeException referenced with incorrect case\\: RunTimeException\\.$#"
count: 5
path: src/Bundle/ChillCustomFieldsBundle/Command/CreateFieldsOnGroupCommand.php
-
message: "#^Only booleans are allowed in an if condition, mixed given\\.$#"
count: 1
@@ -685,11 +680,6 @@ parameters:
count: 1
path: src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php
-
message: "#^Call to method Chill\\\\MainBundle\\\\Export\\\\Formatter\\\\SpreadSheetFormatter\\:\\:generateContent\\(\\) with incorrect case\\: generatecontent$#"
count: 1
path: src/Bundle/ChillMainBundle/Export/Formatter/SpreadSheetFormatter.php
-
message: "#^Foreach overwrites \\$key with its key variable\\.$#"
count: 1
@@ -1020,11 +1010,6 @@ parameters:
count: 1
path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php
-
message: "#^Call to method Chill\\\\PersonBundle\\\\Entity\\\\AccompanyingPeriod\\:\\:getOpenParticipations\\(\\) with incorrect case\\: getOPenParticipations$#"
count: 2
path: src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php
-
message: "#^Implicit array creation is not allowed \\- variable \\$centers might not exist\\.$#"
count: 1