Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
8 | public static function mcryptCiphers() |
||
9 | { |
||
10 | return array( |
||
11 | MCRYPT_3DES, |
||
12 | MCRYPT_BLOWFISH, |
||
13 | MCRYPT_BLOWFISH_COMPAT, |
||
14 | MCRYPT_DES, |
||
15 | MCRYPT_LOKI97, |
||
16 | MCRYPT_CAST_128, |
||
17 | MCRYPT_CAST_256, |
||
18 | MCRYPT_RC2, |
||
19 | MCRYPT_RIJNDAEL_128, |
||
20 | MCRYPT_RIJNDAEL_192, |
||
21 | MCRYPT_RIJNDAEL_256, |
||
22 | MCRYPT_SAFERPLUS, |
||
23 | MCRYPT_SERPENT, |
||
24 | MCRYPT_TRIPLEDES, |
||
25 | MCRYPT_TWOFISH, |
||
26 | MCRYPT_XTEA, |
||
27 | ); |
||
28 | } |
||
29 | |||
67 |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.