Test Failed
Push — master ( 3868e7...2b7b48 )
by Robin
05:45
created

RequestLoggerFunctionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testMultiplyReturnsCorrectValue() 0 4 1
1
<?php
2
3
namespace RobinDirksen1\LaravelRequestLogger\Test;
4
5
use RobinDirksen1\LaravelRequestLogger\RequestLogger;
6
7
class RequestLoggerFunctionTest extends TestCase
8
{
9
    /**
10
     * Check that the multiply method returns correct result
11
     * @return void
12
     */
13
    public function testMultiplyReturnsCorrectValue()
14
    {
15
        $this->assertSame(RequestLogger::multiply(4, 4), 16);
0 ignored issues
show
Bug Best Practice introduced by
The method RobinDirksen1\LaravelReq...questLogger::multiply() is not static, but was called statically. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

15
        $this->assertSame(RequestLogger::/** @scrutinizer ignore-call */ multiply(4, 4), 16);
Loading history...
16
        $this->assertSame(RequestLogger::multiply(2, 9), 18);
17
    }
18
}