BC
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
wmc 0
lcom 0
cbo 1
ccs 0
cts 0
cp 0
1
<?php
2
3
namespace Z38\SwissPayment;
4
5
@trigger_error('The Z38\SwissPayment\BC class is deprecated and will be removed. Use the Z38\SwissPayment\IID class instead.', E_USER_DEPRECATED);
0 ignored issues
show
Security Best Practice introduced by
It seems like you do not handle an error condition here. This can introduce security issues, and is generally not recommended.

If you suppress an error, we recommend checking for the error condition explicitly:

// For example instead of
@mkdir($dir);

// Better use
if (@mkdir($dir) === false) {
    throw new \RuntimeException('The directory '.$dir.' could not be created.');
}
Loading history...
6
7
/**
8
 * BC holds a Swiss bank clearing number
9
 *
10
 * @deprecated The BC class is deprecated and will be removed. Use the IID class instead.
11
 */
12
class BC extends IID
13
{
14
}
15