Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class HashTest extends \PHPUnit\Framework\TestCase { |
||
|
|||
14 | |||
15 | /** |
||
16 | * Test {@link jsHash} with no $secure parameter. |
||
17 | */ |
||
18 | public function testHashDefault() { |
||
19 | $this->assertEquals(md5('hashMe'), jsHash('hashMe')); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Test {@link jsHash} with true as the $secure parameter. |
||
24 | */ |
||
25 | public function testHashSecureTrue() { |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Test {@link jsHash} with 'md5' as the $secure parameter. |
||
31 | */ |
||
32 | public function testHashSecureMD5() { |
||
33 | $this->assertEquals(md5('hashMe'), jsHash('hashMe', 'md5')); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Test {@link jsHash} with 'sha256' as the $secure parameter. |
||
38 | */ |
||
39 | public function testHashSecureSHA256() { |
||
41 | } |
||
42 | } |
||
43 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths