phpunit-function-mocker
phpunit-function-mocker copied to clipboard
Test enhancment for PHPUnit fixtures and version
Changed log
- It seems that the package requires
php-7.1version at least. Setting the correct version semver forPHP. - Removing some invalid attributes on
phpunit.xml.distfile.
These invalid attribute messages are as follows:
Line 10:
- Element 'phpunit', attribute 'mapTestClassNameToCoveredClassName': The attribute 'mapTestClassNameToCoveredClassName' is not allowed.
- Element 'phpunit', attribute 'strict': The attribute 'strict' is not allowed.
Line 21:
- Element 'log', attribute 'title': The attribute 'title' is not allowed.
- Element 'log', attribute 'charset': The attribute 'charset' is not allowed.
- Element 'log', attribute 'yui': The attribute 'yui' is not allowed.
- Element 'log', attribute 'highlight': The attribute 'highlight' is not allowed.
Line 23:
- Element 'log', attribute 'logIncompleteSkipped': The attribute 'logIncompleteSkipped' is not allowed.
Line 27:
- Element 'blacklist': This element is not expected. Expected is ( whitelist ).
- According to the official PHPUnit doc, it should be
protected function setUp(): voidandprotected function tearDown(): void.