Showing 1 of 1 files from the diff.

@@ -109,16 +109,12 @@
Loading
109 109
110 110
        $path = $file instanceof File ? $this->getPathFromFile($file) : $file;
111 111
        exec(sprintf('%s %s - 2>&1', $this->bin('pdftotext'), escapeshellarg($path)), $content, $err);
112 -
        if ($err) {
113 -
            if (!is_array($err) && $err == 1) {
114 -
                // For Windows compatibility
115 -
                $err = $content;
116 -
            }
117 112
113 +
        if ($err) {
118 114
            throw new Exception(sprintf(
119 115
                'PDFTextExtractor->getContent() failed for %s: %s',
120 116
                $path,
121 -
                implode(PHP_EOL, $err)
117 +
                implode(PHP_EOL, $content)
122 118
            ));
123 119
        }
124 120
Files Complexity Coverage
src 130 58.15%
Project Totals (10 files) 130 58.15%
207.3
7.1=.1
TRAVIS_OS_NAME=linux
206.3
7.1=.1
TRAVIS_OS_NAME=linux
1
comment: false
2
codecov:
3
  branch: master
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading