Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added optional check for missing
@covers
annotation when the usage …
…of `@covers` annotations is forced
- Loading branch information
1 parent
92f5c61
commit 9c3582b
Showing
5 changed files
with
80 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Changes in PHP_CodeCoverage 3.2 | ||
|
||
All notable changes of the PHP_CodeCoverage 3.2 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. | ||
|
||
## [3.2.0] - 2016-MM-DD | ||
|
||
### Added | ||
|
||
* Added optional check for missing `@covers` annotation when the usage of `@covers` annotations is forced | ||
|
||
[3.2.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/3.1...3.2.0 | ||
|
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 |
---|---|---|
|
@@ -44,7 +44,7 @@ | |
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "3.1.x-dev" | ||
"dev-master": "3.2.x-dev" | ||
} | ||
} | ||
} |
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
18 changes: 18 additions & 0 deletions
18
src/CodeCoverage/Exception/MissingCoversAnnotationException.php
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,18 @@ | ||
<?php | ||
/* | ||
* This file is part of the PHP_CodeCoverage package. | ||
* | ||
* (c) Sebastian Bergmann <sebastian@phpunit.de> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
/** | ||
* Exception that is raised when @covers must be used but is not. | ||
* | ||
* @since Class available since Release 3.2.0 | ||
*/ | ||
class PHP_CodeCoverage_MissingCoversAnnotationException extends PHP_CodeCoverage_RuntimeException | ||
{ | ||
} |
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