Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  specify next release
  always print to stdout to avoid messing up the output in the CI
  add support for symfony 7
  CS
  • Loading branch information
Baptouuuu committed Dec 2, 2023
2 parents 34f7f80 + c7909c9 commit 35fd225
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 5.6.0 - 2023-12-02

### Added

- Support for `symfony/var-dumper:~7.0`

### Fixed

- Stats are correctly displayed in GitHub Actions even in case of a failure

## 5.5.4 - 2023-11-01

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"php": "~8.2",
"innmind/json": "^1.1",
"symfony/var-dumper": "~6.0",
"symfony/var-dumper": "~6.0|~7.0",
"phpunit/phpunit": "~10.0",
"phpunit/php-timer": "^6.0",
"phpunit/php-code-coverage": "^10.1"
Expand Down
2 changes: 1 addition & 1 deletion src/Runner/Printer/Standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function end(IO $output, IO $error, Stats $stats): void

match ($stats->successful()) {
true => $output("OK\n$statsToPrint\n"),
false => $error("Failed\n$statsToPrint, Failures: {$stats->failures()}\n"),
false => $output("Failed\n$statsToPrint, Failures: {$stats->failures()}\n"),
};
}
}
2 changes: 1 addition & 1 deletion tests/Set/CompositeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public function testShrinksAsFastAsPossible()
try {
$this
->forAll(Set\Integers::below(0), Set\Integers::above(0))
->filter(fn($a, $b) => $a !== 0)
->filter(static fn($a, $b) => $a !== 0)
->then(function($a, $b) {
$this->assertGreaterThanOrEqual(
0,
Expand Down

0 comments on commit 35fd225

Please sign in to comment.