All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
For a full diff see 1.6.0...main
.
-
Removed all data providers (#552), by @localheinz
If you use any of the data providers, run
composer require --dev ergebnis/data-provider
and replace occurrences of
Ergebnis\Test\Util\DataProvider
withErgebnis\DataProvider
. -
Removed all assertions (#553), by @localheinz
If you use any of the assertions, stop. Most of them are useless, some of them could be replaced with static code analysis. I do not use them anymore and I would not recommend to use these kinds of assertions.
-
Removed all provide methods ([#554]), by @localheinz
If you use any of the provide methods in an external data provider, run
composer require --dev ergebnis/data-provider
and extend
Ergebnis\DataProvider\AbstractProvider
.If you use any of the provide methods in data provider declared as an instance method on a test case, extract your own
Helper
trait and move the functionality there.
For a full diff see 1.5.0...1.6.0
.
- Deprecated all data providers (#526), by @localheinz
- Dropped support for PHP 7.2 (#530), by @localheinz
- Dropped support for PHP 7.3 (#540), by @localheinz
- Deprecated all assertions (#548), by @localheinz
- Deprecated provide methods (#549), by @localheinz
For a full diff see 1.4.0...1.5.0
.
- Updated
fakerphp/faker
(#434), by @dependabot
- Stopped using deprecated magic properties on
Faker\Generator
and started using magic functions instead (#435), by @localheinz
For a full diff see 1.3.0...1.4.0
.
- Added
DataProvider\StringProvider::withWhitespace()
(#374), by @localheinz
For a full diff see 1.3.0...1.3.1
.
- Started using
fakerphp/faker
instead offzaninotto/faker
(#372), by @localheinz
For a full diff see 1.2.0...1.3.0
.
- Added
DataProvider\ObjectProvider
(#343), by @localheinz - Added
DataProvider\ResourceProvider
(#344), by @localheinz
For a full diff see 1.1.0...1.2.0
.
- Added
DataProvider\BooleanProvider
(#326), by @localheinz - Added
DataProvider\NullProvider
(#327), by @localheinz - Added
DataProvider\StringProvider
(#328), by @localheinz - Added
DataProvider\IntProvider
(#335), by @localheinz - Added
DataProvider\FloatProvider
(#341), by @localheinz
- Renamed
DataProvider\BooleanProvider
toDataProvider\BoolProvider
(#334), by @localheinz
For a full diff see 1.0.1...1.1.0
.
- Added support for PHP 8.0 (#302), by @localheinz
For a full diff see 1.0.0...1.0.1
.
- Dropped support for PHP 7.1 (#295), by @localheinz
For a full diff see 0.9.1...1.0.0
.
For a full diff see 0.9.0...0.9.1
.
- Brought back support for PHP 7.1 (#155), by @localheinz
For a full diff see 0.8.0...0.9.0
.
-
Renamed vendor namespace
Localheinz
toErgebnis
after move to @ergebnis (#147), by @localheinzRun
$ composer remove localheinz/test-util
and
$ composer require ergebnis/test-util
to update.
Run
$ find . -type f -exec sed -i '.bak' 's/Localheinz\\Test\\Util/Ergebnis\\Test\\Util/g' {} \;
to replace occurrences of
Localheinz\Test\Util
withErgebnis\Test\Util
.Run
$ find -type f -name '*.bak' -delete
to delete backup files created in the previous step.
For a full diff see 0.7.0...0.8.0
.
- Dropped support for PHP 7.1 (#118), by @localheinz
- Methods in
Helper
trait are nowstatic
(#119), by @localheinz - Dropped support for
phpunit/phpunit:^6.0.0
(#120), by @localheinz - Allowed installation with
phpunit/phpunit:^8.0.0
(#122), by @localheinz