Remove implementing Http\Message\RequestFactory from HttplugClient
6.4
Add HarFileResponseFactory testing utility, allow to replay responses from .har files
Add max_retries option to RetryableHttpClient to adjust the retry logic on a per request level
Add PingWehookMessage and PingWebhookMessageHandler
Enable using EventSourceHttpClient::connect() for both GET and POST
6.3
Add option crypto_method to set the minimum TLS version and make it default to v1.2
Add UriTemplateHttpClient to use URI templates as specified in the RFC 6570
Add ServerSentEvent::getArrayData() to get the Server-Sent Event's data decoded as an array when it's a JSON payload
Allow array of urls as base_uri option value in RetryableHttpClient to retry on a new url each time
Add JsonMockResponse, a MockResponse shortcut that automatically encodes the passed body to JSON and sets the content type to application/json by default
Support file uploads by nesting resource streams in option "body"
6.2
Make HttplugClient implement Psr\Http\Message\RequestFactoryInterface, StreamFactoryInterface and UriFactoryInterface
Deprecate implementing Http\Message\RequestFactory, StreamFactory and UriFactory on HttplugClient
Add withOptions() to HttplugClient and Psr18Client
6.1
Allow yielding Exception from MockResponse's $body to mock transport errors
Remove credentials from requests redirected to same host but different port
5.4
Add MockHttpClient::setResponseFactory() method to be able to set response factory after client creating
5.3
Implement HttpClientInterface::withOptions() from symfony/contracts v2.4
Add DecoratorTrait to ease writing simple decorators
Tests that do not unregister their error handlers or exception handlers are no longer considered risky when they are run in an isolated process
Fixed
When a test (or the code called from it) does not unregister its own error handlers and its own exception handlers then only the latter was reported
Resource usage information is printed when the --debug CLI option is used
[11.0.2] - 2024-04-04
Fixed
#5692: --log-events-text and --log-events-verbose-text require the destination file to exit
[11.0.1] - 2024-02-02
Fixed
#5690: Backward Compatibility break in PHPUnit\Framework\Constraint\Constraint
[11.0.0] - 2024-02-02
Added
#4964: Enable named data sets with the #[TestWith*] attributes
#5225: Allow providing named arguments from a data provider
#5600: Assertions for comparing arrays while ignoring a specified list of keys
#5605: expectUserDeprecationMessage() and expectUserDeprecationMessageMatches() for expecting E_USER_DEPRECATED issues
#5620: Implement group attribute on <directory> and <file> elements (children of <testsuite>) to add all tests found in a directory or file to a specified group
#5629: --exclude-filter CLI option for excluding tests from execution
#5642: --list-test-files CLI option to print the list of test files
Changed
#5213: Make TestCase methods protected that should have been protected all along
#5254: Make TestCase methods final that should have been final all along
#5619: Check and restore error/exception global handlers
The format of the XML document generated using the --list-tests-xml CLI option has been changed
small, medium, and large can no longer be used as group names with the #[Group] attribute
A test can no longer be part of multiple test suites that are configured in the XML configuration file
--check-version now exits with a shell exit code that indicates failure when the version is not the latest version
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the composer-major group with 5 updates:
3.8.1
3.8.2
6.4.3
7.0.3
6.4.3
7.0.3
6.4.3
7.0.3
10.5.10
11.0.3
Updates
doctrine/dbal
from 3.8.1 to 3.8.2Release notes
Sourced from doctrine/dbal's releases.
Commits
a19a1d0
[3.8.x] AbstractPlatform - allow any string in interval for date interval exp...de57e23
README: The 4.0 branch is stable985b1ca
Move type coverage badge (#6295)44b908c
Update branches in README.md (#6292)8e60c35
Update branch metadata (#6291)Updates
symfony/http-client
from 6.4.3 to 7.0.3Release notes
Sourced from symfony/http-client's releases.
Changelog
Sourced from symfony/http-client's changelog.
... (truncated)
Commits
3d2605c
Merge branch '6.4' into 7.0dc4ee0b
Merge branch '6.4' into 7.0db71498
Merge branch '6.4' into 7.0c3e90d0
Merge branch '6.4' into 7.02c09ff8
Merge branch '6.4' into 7.05c8eddf
Merge branch '6.4' into 7.00fc3d3a
Merge branch '6.4' into 7.0Updates
symfony/mailgun-mailer
from 6.4.3 to 7.0.3Release notes
Sourced from symfony/mailgun-mailer's releases.
Commits
fa7d03e
Merge branch '6.4' into 7.0515af50
Merge branch '6.4' into 7.03c1dea6
Merge branch '6.4' into 7.0054e7c2
Merge branch '6.4' into 7.06509ef5
Merge branch '6.4' into 7.03f76e5c
Merge branch '6.4' into 7.0c044454
Merge branch '6.4' into 7.0390f713
Merge branch '6.4' into 7.0fce7504
[7.0] Bump to PHP 8.2 minimumUpdates
symfony/postmark-mailer
from 6.4.3 to 7.0.3Release notes
Sourced from symfony/postmark-mailer's releases.
Commits
214e21c
Merge branch '6.4' into 7.04de1e19
Merge branch '6.4' into 7.04412fc3
Merge branch '6.4' into 7.09093683
Merge branch '6.4' into 7.0c464a8c
Merge branch '6.4' into 7.0055b361
[Components] Convert to native return typesa52fbda
[7.0] Bump to PHP 8.2 minimumUpdates
phpunit/phpunit
from 10.5.10 to 11.0.3Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
de24e7e
Prepare release0e4f6d8
Do not consider tests that do not unregister their error handlers or exceptio...65748f3
Also emit 'Test code or tested code did not remove its own error handlers' Te...62c67c4
Merge branch '10.5' into 11.049429bf
Merge branch '9.6' into 10.543ab70b
Merge branch '8.5' into 9.6e871af1
Update tools8c11997
Merge branch '10.5' into 11.005a77e9
Merge branch '9.6' into 10.52baf0e4
Merge branch '8.5' into 9.6Dependabot 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show