Skip to content

Releases: bovigo/assert

8.1.2 - The Count was disappointed

30 Nov 14:12
v8.1.2
c01ddf3

Choose a tag to compare

  • Fixed #135 assertion counter not increased when expectation on thrown exception not met

8.1.1 - Compatibility is key

29 Nov 16:09
v8.1.1
83d3dcf

Choose a tag to compare

  • Ensured compatibility with sebastian/comparator 7.1, sebastian/exporter 7.0 and phpunit/phpunit 12.4 while keeping compatibility with their predecessor versions 6.2, 6.3 and 11.5

8.1.0 - There's always something to do

28 Dec 18:41
v8.1.0
6d6d638

Choose a tag to compare

  • Raised minimum required PHP version to 8.3.0
  • Deprecated bovigo\assert\CatchedError, introduced bovigo\assert\TriggeredError instead
  • Deprecated bovigo\assert\CatchedException, introduced bovigo\assert\CaughtThrowable instead
  • Fixed implicitly nullable type declarations
  • Prevented deprecation notice about used const E_STRICT

8.0.1 - Don't hide your true types

27 Jan 20:39
v8.0.1
cbe41ad

Choose a tag to compare

  • Fixed return type hint for bovigo\assert\predicate\isNotEqualTo() to properly reflect that the returned instance is both of type bovigo\assert\predicate\Predicate and bovigo\assert\predicate\Delta

8.0.0 - After Eight

23 Dec 10:13
v8.0.0
61418c9

Choose a tag to compare

  • Raised minimum required PHP version to 8.2.0
  • Upgraded PHPUnit to 10.5
  • Due to changes (adding the malicious final keyword) in PHPUnit 10 it is not possible to provide a PHPUnit compatibility layer any more.
  • Changed return type of bovigo\assert\fail() to never, accordingly removed src/main/resources/phpstan/bovigo-assert.neon as it is not required any more

7.0.1 - Must not be null, init?

26 Dec 20:10
9765afc

Choose a tag to compare

  • fixed bug with incorrectly initialized delta in bovigo\assert\predicate\equals()

7.0.0 - Five six seven I don't want to wait for heaven

25 Dec 13:41
40039a3

Choose a tag to compare

  • Raised minimum required PHP version to 8.0.0
  • Removed deprecated parameter $delta from bovigo\assert\predicate\equals() and bovigo\assert\predicate\isNotEqualTo(), use new method withDelta() on returned instance

6.2.0 - I'd be satisfied with a subset

07 Mar 15:10
2a70d7b

Choose a tag to compare

  • Added support for containsSubset (@lyrixx)

6.1.0 - Eight is near

15 Nov 16:42
f991072

Choose a tag to compare

6.0.0 - Time moves and moves and moves

11 Feb 15:04
14ecd1a

Choose a tag to compare

BC breaks

  • Raised minimum required PHP version to 7.3.0
  • Upgraded PHPUnit compatibility layer to PHPUnit 9.0
  • Deprecated optional parameter $delta in bovigo\assert\predicate\equals() and bovigo\assert\predicate\isNotEqualTo(), use new method withDelta() on returned instance