Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CRM/Bic/Parser/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
$option_group = civicrm_api3('OptionGroup', 'getsingle', ['name' => 'bank_list']);
$option_group_id = (int) $option_group['id'];
}
catch (Exception $e) {

Check failure on line 123 in CRM/Bic/Parser/Parser.php

View workflow job for this annotation

GitHub Actions / PHPStan with PHP 8.4 prefer-lowest

In method "CRM_Bic_Parser_Parser::updateEntries", 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.

Check failure on line 123 in CRM/Bic/Parser/Parser.php

View workflow job for this annotation

GitHub Actions / PHPStan with PHP 8.1 prefer-lowest

In method "CRM_Bic_Parser_Parser::updateEntries", 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.

Check failure on line 123 in CRM/Bic/Parser/Parser.php

View workflow job for this annotation

GitHub Actions / PHPStan with PHP 8.4 prefer-stable

In method "CRM_Bic_Parser_Parser::updateEntries", 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.
return $this->createError('OptionGroup not found. Reinstall extension!');
}

Expand Down Expand Up @@ -232,7 +232,6 @@
$data = curl_exec($ch);

$curl_errno = curl_errno($ch);
curl_close($ch);

if (!$curl_errno) {
return $data;
Expand Down
Loading