Skip to content

Releases: rybakit/phpunit-extras

v0.2.4

Choose a tag to compare

@rybakit rybakit released this 14 Jul 16:51

Allowed ocramius/package-versions plugin in composer.json, see https://getcomposer.org/allow-plugins.

v0.2.3

Choose a tag to compare

@rybakit rybakit released this 25 Mar 23:34
  • Fixed checking for non-existent keys in superglobals in the condition requirements. For example, in previous releases

    @requires condition env.AWS_ACCESS_KEY_ID

    would fail with the error Undefined array key "AWS_ACCESS_KEY_ID" if such an environment variable did not exist (see symfony/symfony#21691 for details).

  • Added "setting" to the list of PHPUnit requirements. For example,

    @requires setting display_errors On

    will now be detected as a PHPUnit requirement and passed through to the PHPUnit annotation processor. This requirement has been supported since PHPUnit v7.0, although there is no mention of it in the documentation.

  • Added PHP 8.1 to the test matrix.

v0.2.2

Choose a tag to compare

@rybakit rybakit released this 30 Jun 21:01

Fixed InvalidAnnotationException factory methods to return instead of throwing

v0.2.1

Choose a tag to compare

@rybakit rybakit released this 11 Dec 22:14
  • Added PHP 8 support
  • Enhanced Github workflow

v0.2.0

Choose a tag to compare

@rybakit rybakit released this 23 May 13:18

Moved the @after annotation from Expectations::verifyExpectations() to TestCase::verifyTestCaseExpectations()

v0.1.0

Choose a tag to compare

@rybakit rybakit released this 03 May 09:29

🍾 🎂 🎉