add "api4" action to RegexAnalyser #513
+48
−0
Draft
Annotations
11 errors
|
|
|
Run PHPStan:
CRM/Banking/PluginImpl/Matcher/RegexAnalyser.php#L225
Parameter #3 $params of function civicrm_api4 expects array, mixed given.
|
|
Run PHPStan:
CRM/Banking/PluginImpl/Matcher/RegexAnalyser.php#L221
Cannot access offset 'select' on mixed.
|
|
Run PHPStan:
CRM/Banking/PluginImpl/Matcher/RegexAnalyser.php#L220
Variable $toField in PHPDoc tag `@var` does not match assigned variable $resultMap.
|
|
Run PHPStan:
CRM/Banking/PluginImpl/Matcher/RegexAnalyser.php#L220
PHPDoc tag `@var` for variable $toField has no value type specified in iterable type array.
|
|
Run PHPStan:
CRM/Banking/PluginImpl/Matcher/RegexAnalyser.php#L213
Cannot access offset 'limit' on mixed.
|
|
Run PHPStan:
CRM/Banking/PluginImpl/Matcher/RegexAnalyser.php#L96
Ignored error pattern #^Loose comparison via "\=\=" is not allowed\.$# (equal.notAllowed) in path /home/runner/work/org.project60.banking/org.project60.banking/CRM/Banking/PluginImpl/Matcher/RegexAnalyser.php is expected to occur 23 times, but occurred 24 times.
|
|
Run PHPStan:
CRM/Banking/Matcher/Engine.php#L320
Dead catch - Exception is never thrown in the try block.
|
|
Run PHPStan:
CRM/Banking/Matcher/Engine.php#L208
In method "CRM_Banking_Matcher_Engine::match", caught "Exception" must be rethrown. Either catch a more specific exception, add a "throw" clause in the "catch" block to propagate the exception or add a "// @IgnoreException" comment.
|
|
Run PHPStan:
CRM/Banking/Matcher/Engine.php#L187
Ignored error pattern #^In method "CRM_Banking_Matcher_Engine\:\:match", caught "Exception" must be rethrown\. Either catch a more specific exception, add a "throw" clause in the "catch" block to propagate the exception or add a "// @IgnoreException" comment\.$# in path /home/runner/work/org.project60.banking/org.project60.banking/CRM/Banking/Matcher/Engine.php is expected to occur 1 time, but occurred 2 times.
|
|
Run PHPStan:
CRM/Banking/Matcher/Engine.php#L187
Ignored error pattern #^Dead catch \- Exception is never thrown in the try block\.$# (catch.neverThrown) in path /home/runner/work/org.project60.banking/org.project60.banking/CRM/Banking/Matcher/Engine.php is expected to occur 3 times, but occurred 4 times.
|
Loading