GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 06bc6c...e92c95 )
by Mewes
03:57
created

PdfTwigTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 40
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace MewesK\TwigSpreadsheetBundle\Tests\Twig;
4
5
/**
6
 * Class PdfTwigTest.
7
 *
8
 * @coversNothing
9
 */
10
class PdfTwigTest extends BaseTwigTest
11
{
12
    protected static $TEMP_PATH = '/../../tmp/pdf/';
13
14
    //
15
    // PhpUnit
16
    //
17
18
    /**
19
     * @return array
20
     */
21
    public function formatProvider()
22
    {
23
        return [['pdf']];
24
    }
25
26
    //
27
    // Tests
28
    //
29
30
    /**
31
     * @param string $format
32
     *
33
     * @throws \Exception
34
     *
35
     * @dataProvider formatProvider
36
     */
37
    public function testBasic($format)
38
    {
39
        // Skip PDF test for nightly builds of PHP since mPDF doesn't work
40
        if (version_compare(PHP_VERSION, '7.0.0-dev', '>=')) {
41
            return;
42
        }
43
44
        $path = $this->getDocument('cellProperties', $format);
45
46
        static::assertFileExists($path, 'File does not exist');
47
        static::assertGreaterThan(0, filesize($path), 'File is empty');
48
    }
49
}
50