All notable changes to https://github.com/friends-of-phpspec/phpspec-code-coverage package will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fix issue with the path exclude logic within the coverage listener #62
- Support PHP 8.3
- Compatibility with
phpunit/php-code-coverage
v11
- Support PHP 8.2
- Compatibility with
phpunit/php-code-coverage
v10 - Fix version constraint with
phpunit/php-code-coverage
, we aren't compatible with version under v9.2… - Fix CI matrix to test composer dependencies on lowest possible version and highest possible version to ensure valid constraints…
- Support PHP 8.1
- Add ability to generate report in cobertura format (cf #49)
- Remove GrumPHP usage.
- Added support for directory filtering #44
- Support PHP 8
- Extension requires PHP7.3+ (due to
phpunit/php-code-coverage
v9 depending on it) #36 Version 5.x will still be maintained
- Extension requires PHP7.2+ (due to PhpSpec v7 depending on it) #37, #35
- Support "phpunit/php-code-coverage" v8 (#27)
- Switch to GitHub actions (#25)
4.3.2 - 2019-11-12
- Allow compatibility with PHPSpec v6
4.3.1 - 2019-10-01
- Update root namespace to
FriendsOfPhpSpec
but maintain a class alias to the old oneLeanPHP
. TheLeanPHP
root namespace is now deprecated and will be removed in v5.
4.3.0 - 2019-10-01
Note! This version mark the new home of the project. It was forked from
leanphp/phpspec-code-coverage
project and rebranded as friends-of-phpspec/phpspec-code-coverage
.
Find details here : https://github.com/friends-of-phpspec/phpspec-code-coverage
- PHPSpec 5 support
4.2.2 - 2018-03-22
- Bugfix: loosen up
phpunit/php-code-coverage
from^6.0
to^5.0||^6.0
- PHP 7.1 specific code improvements
4.2.1 - 2018-03-21
- Integrate fixes from 4.1.2 (
--no-coverage
option bugfix) - Cleanup development dependencies
- Minor code improvements
4.2.0 - 2018-03-19
- Updated
phpunit/php-code-coverage
dependency from~5.0
to~6.0
. - Updated PHP requirement from
^7.0
to^7.1
- Updated
phpspec/phpspec
dependency from~4.0
to^4.2
4.1.2 - 2018-03-21
- Fix
--no-coverage
option introducing errors when running nonrun
commands. --no-coverage
option is now available to all phpspec commands (not onlyrun
). (#30)
4.1.1 - 2018-03-19
- Added
--no-coverage
option which can skip code coverage generation during PhpSpec test run.
4.1.0 - 2018-03-17
phpunit/php-code-coverage
dependency version requirement has been updated from~4.0|~5.0
to~5.0
as we do not support version4.0
anymore.- Updated README with information regarding
memory_limit
when generating code coverage reports. - PHP 7.2 has been added to travis test matrix
4.0.0 - 2017-10-17 - PhpSpec v4 / PHP 7+ release
This release adds support for PhpSpec v4. As a result of this, PHP requirement has also been updated to PHP 7+.
- Added PhpSpec4 support #10
- Extension requires PHP7+ (due to PhpSpec v4 depending on it) #10
3.1.1 - 2017-10-17 - Maintenance release for PhpSpec v3
- PHPSpec version is now included when generating XML report #12
- Added example configuration options for generating XML report #12
- Minor cleanup in export-ignores. Should result in cleaner dist install #8
3.1.0 - 2017-02-21 (backported master branch on 2017-02-21)
Note! This is last backported release which pulls all the changes from the
master
branch of henrikbjorn/phpspec-code-coverage
project and releases it as
3.1.0
.
- Add support for
php-code-coverage
v5.
3.0.1 - 2017-02-14 (backported v3.0.1, original release on 2016-08-02)
- Require PhpSpec3
- Require PHP 5.6+ / PHP 7.0+
2.1.0 - 2017-02-12 (backported v2.1.0, original release on 2016-05-05)
Note! v2.1.0 is final release to support PhpSpec2.
- Added PHP 7 support
- Added
phpdbg
extension support (alternative toxdebug
) - Updated
blacklist
to includetest
directory by default - Updated
text
output to use coloring by default.
1.0.1 - 2017-02-11 (backported v1.0.1, original release on 2014-12-11)
Note! This version is a direct backport of 1.0.1
of
henrikbjorn/phpspec-code-coverage package with updated namespaces to work
as leanphp/phpspec-code-coverage.
- PHP
>=5.3
- PhpSpec
~2.0
- Xdebug
>=2.1.4
- Supports Code Coverage generation in
html
,clover
,php
andtxt
formats. - Supports per-format
output
directory configuration (e.g.clover:clover.xml
) - Supports configuring inclusion of uncovered files in code coverage reports.
- Supports configuring lower upper and higher lower bounds for code coverage reports.
- Supports configuring a whiltelist of directories to be included in code
coverage report (
whilelist
option). - Supports configuring a whiltelist of files to be included in code coverage
reports (
whitelist_files
option). - Support configuring a blacklist of directories to be excluded from code
coverage reports (
blacklist
option). - Support configuring a blacklist of files to be excluded from code coverage
reports (
blacklist_files
option).