-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
67 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
namespace exussum12\CoverageChecker; | ||
|
||
use InvalidArgumentException; | ||
|
||
/** | ||
* Class PhpCsLoaderStrict | ||
* Used to fail warnings too | ||
* @package exussum12\CoverageChecker | ||
*/ | ||
class PhpCsLoaderStrict extends PhpCsLoader | ||
{ | ||
protected $failOnTypes = [ | ||
'ERROR', | ||
'WARNING', | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"totals":{"errors":1,"warnings":1,"fixable":2},"files":{"\/full\/path\/to\/file\/src\/XMLReport.php":{"errors":2,"warnings":0,"messages":[{"message":"Opening brace should be on the line after the declaration; found 1 blank line(s)","source":"Squiz.Functions.MultiLineFunctionDeclaration.BraceSpacing","severity":5,"type":"ERROR","line":11,"column":5,"fixable":true},{"message":"Line indented incorrectly; expected at least 8 spaces, found 4","source":"Generic.WhiteSpace.ScopeIndent.Incorrect","severity":5,"type":"WARNING","line":12,"column":5,"fixable":true}]},"\/full\/path\/to\/file\/src\/DiffFileState.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/DiffLineHandle\/AddedLine.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/DiffLineHandle\/NewFile.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/DiffLineHandle\/RemovedLine.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/DiffLineHandle\/DiffStart.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/DiffLineHandle\/ContextLine.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/CoverageCheck.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/PhpCsloader.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/FileMatchers\/EndsWith.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/DiffFileLoader.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/DiffLineHandle.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/Exceptions\/FileNotFound.php":{"errors":0,"warnings":0,"messages":[]},"\/full\/path\/to\/file\/src\/FileMatcher.php":{"errors":0,"warnings":0,"messages":[]}}} |