@@ -14,7 +14,6 @@ |
||
14 | 14 | |
15 | 15 | use Symplify\PHP7_CodeSniffer\Ruleset; |
16 | 16 | use Symplify\PHP7_CodeSniffer\Autoload; |
17 | -use Symplify\PHP7_CodeSniffer\Util\Common; |
|
18 | 17 | |
19 | 18 | abstract class Generator |
20 | 19 | { |
@@ -27,11 +27,11 @@ |
||
27 | 27 | * its data should be counted in the grand totals. |
28 | 28 | * |
29 | 29 | * @param array $report Prepared report data. |
30 | - * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile The file being reported on. |
|
30 | + * @param File $phpcsFile The file being reported on. |
|
31 | 31 | * @param bool $showSources Show sources? |
32 | 32 | * @param int $width Maximum allowed line width. |
33 | 33 | * |
34 | - * @return bool |
|
34 | + * @return null|boolean |
|
35 | 35 | */ |
36 | 36 | public function generateFileReport($report, File $phpcsFile, $showSources=false, $width=80) |
37 | 37 | { |
@@ -10,7 +10,6 @@ |
||
10 | 10 | namespace Symplify\PHP7_CodeSniffer\Reports; |
11 | 11 | |
12 | 12 | use Symplify\PHP7_CodeSniffer\Files\File; |
13 | -use Symplify\PHP7_CodeSniffer\Util; |
|
14 | 13 | |
15 | 14 | class Diff implements Report |
16 | 15 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * its data should be counted in the grand totals. |
25 | 25 | * |
26 | 26 | * @param array $report Prepared report data. |
27 | - * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile The file being reported on. |
|
27 | + * @param File $phpcsFile The file being reported on. |
|
28 | 28 | * @param bool $showSources Show sources? |
29 | 29 | * @param int $width Maximum allowed line width. |
30 | 30 | * |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * its data should be counted in the grand totals. |
25 | 25 | * |
26 | 26 | * @param array $report Prepared report data. |
27 | - * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile The file being reported on. |
|
27 | + * @param File $phpcsFile The file being reported on. |
|
28 | 28 | * @param bool $showSources Show sources? |
29 | 29 | * @param int $width Maximum allowed line width. |
30 | 30 | * |
@@ -9,9 +9,6 @@ |
||
9 | 9 | |
10 | 10 | namespace Symplify\PHP7_CodeSniffer\Util; |
11 | 11 | |
12 | -use Symplify\PHP7_CodeSniffer\Config; |
|
13 | -use Symplify\PHP7_CodeSniffer\Exceptions\RuntimeException; |
|
14 | - |
|
15 | 12 | class Common |
16 | 13 | { |
17 | 14 |
@@ -10,7 +10,6 @@ |
||
10 | 10 | namespace Symplify\PHP7_CodeSniffer\Reports; |
11 | 11 | |
12 | 12 | use Symplify\PHP7_CodeSniffer\Files\File; |
13 | -use Symplify\PHP7_CodeSniffer\Util; |
|
14 | 13 | |
15 | 14 | class Diff implements Report |
16 | 15 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * its data should be counted in the grand totals. |
25 | 25 | * |
26 | 26 | * @param array $report Prepared report data. |
27 | - * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile The file being reported on. |
|
27 | + * @param File $phpcsFile The file being reported on. |
|
28 | 28 | * @param bool $showSources Show sources? |
29 | 29 | * @param int $width Maximum allowed line width. |
30 | 30 | * |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * its data should be counted in the grand totals. |
25 | 25 | * |
26 | 26 | * @param array $report Prepared report data. |
27 | - * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile The file being reported on. |
|
27 | + * @param File $phpcsFile The file being reported on. |
|
28 | 28 | * @param bool $showSources Show sources? |
29 | 29 | * @param int $width Maximum allowed line width. |
30 | 30 | * |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * its data should be counted in the grand totals. |
25 | 25 | * |
26 | 26 | * @param array $report Prepared report data. |
27 | - * @param \Symplify\PHP7_CodeSniffer\File $phpcsFile The file being reported on. |
|
27 | + * @param File $phpcsFile The file being reported on. |
|
28 | 28 | * @param bool $showSources Show sources? |
29 | 29 | * @param int $width Maximum allowed line width. |
30 | 30 | * |