Skip to content

Update nette/tester requirement from v2.6.1 to v2.6.2 - #202

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/nette/tester-v2.6.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/nette/tester-v2.6.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on nette/tester to permit the latest version.

Release notes

Sourced from nette/tester's releases.

Released version 2.6.2

A release about trust: a green result now means more. Assertions no longer skip checks silently, parallel runs clean up after themselves, reports stay valid whatever your tests print, and the code coverage report got a thorough round of fixes. And yes, PHP 8.6 is supported.

✨ New Features

  • TestCase::run() – no longer stops at the first failing method: every test method runs, results come first and the details of each failure follow (#469)
  • Stack traces show the actual call arguments, so you immediately see which call failed – redirect('https://…', 302) instead of a bare redirect()
  • PHP 8.6 support

🐛 Bug Fixes

  • Assert::exception() and Assert::error() – an empty or '0' message is now really checked instead of silently disabling the message check; pass null if you don't want to verify the message
  • @phpVersion – boundaries and the == and != operators now work as documented: @phpVersion 8.4.3 runs on PHP 8.4.3, == 8.4.1 runs only on 8.4.1 and != 8.4.1 everywhere else. Common forms like @phpVersion 8.1 or < 8.4 behave as before; == and != compare the full version, so == 8.4 matches no release
  • @multiple – 0 or a non-numeric value is reported as an error instead of quietly running the test twice
  • --stop-on-fail with parallel jobs no longer returns while other tests are still running; Ctrl+C terminates running test processes and every output handler is always finalized
  • Environment::lock() no longer eats into the test time limit while waiting for the lock on Windows
  • @httpCode reads the right status even when php-cgi prints a warning before the headers
  • Environment variables of the runner are restored after starting a test, and a Job works without a temp directory and keeps its stderr
  • Dumper no longer changes data reachable through references while dumping it; INF and NAN are dumped as valid PHP
  • HttpAssert – with follow: true the headers come from the final response only, so the Location of a redirect no longer leaks through; a header sent several times (e.g. Set-Cookie) is joined with a comma instead of keeping the last value; header existence checks count as assertions
  • Masks in Assert::match() – patterns with non-ASCII text match whole UTF-8 characters, %f% rejects invalid numbers like .1.2, and a failing regular expression no longer leaves pcre.backtrack_limit changed
  • FileMock – appending through several handles, modes like rb+ and touch() now behave like a real file
  • DomQuery – [attr$="value"], attribute values containing quotes and selector lists like a, b on PHP < 8.4 work correctly
  • JUnit report stays well-formed XML even when test output contains control characters or invalid UTF-8, and failed tests are counted in the failures attribute instead of errors (tools reading only errors now see 0)
  • Helpers::purge() refuses a path that resolves to the root directory, e.g. through .. or a symbolic link
  • Code coverage – the HTML report escapes file names, can be rendered repeatedly in one process, handles files with only dead code and numbers the last line of files without a trailing newline; Clover metrics include functions, enums and code outside classes; TAP or JUnit output on stdout is no longer polluted by the coverage summary, and tester exits with code 1 when the requested report cannot be generated
  • Clearer error messages, e.g. "No assertions were executed in this test." instead of "This test forgets to execute an assertion.", and Assert::contains() keeps your custom description
Commits
  • aa30c13 Released version 2.6.2
  • e9d9cd1 improved error messages, updated readme and agent documentation
  • 98df1b2 added support for PHP 8.6
  • 28b824b HtmlGenerator: last line of a file without trailing newline has its line number
  • 877cb94 HtmlGenerator: report can be rendered repeatedly in one process
  • f3e774f HtmlGenerator: file and directory names are escaped in the report
  • 7f08c24 CliTester: coverage report does not pollute machine-readable output, failure ...
  • 69b2b69 CloverXMLGenerator: file and project metrics include functions and code outsi...
  • 4251f58 PhpParser: recognizes enums and functions returning by reference
  • fb59178 HtmlGenerator: file containing only dead code no longer causes division by zero
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [nette/tester](https://github.com/nette/tester) to permit the latest version.
- [Release notes](https://github.com/nette/tester/releases)
- [Commits](nette/tester@v2.6.1...v2.6.2)

---
updated-dependencies:
- dependency-name: nette/tester
  dependency-version: 2.6.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants