Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php
/.php-cs-fixer.dist.php export-ignore
/phpunit.xml.dist export-ignore
/phpstan.neon.dist export-ignore
/.github export-ignore
7 changes: 7 additions & 0 deletions UPGRADE-1.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Upgrade to 1.3

## Dependencies

* Support for `friendsofsymfony/http-cache` 2.x is removed. Upgrade to `friendsofsymfony/http-cache` 3.x.
The 2.x branch does not receive updates since version 2.16.2 (August 2024).
* Support for `symfony/options-resolver` 4.4 and 5.4 is removed. Use version 6.4 or higher.
12 changes: 7 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@
"require": {
"php": "^8.1",
"async-aws/cloud-front": "^0.1.3 || ^1.0",
"friendsofsymfony/http-cache": "^2.15 || ^3.0"
"async-aws/core": "^1.9",
"friendsofsymfony/http-cache": "^3.0",
"symfony/options-resolver": "^6.4 || ^7.0 || ^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.14",
"phpunit/phpunit": "^10.0",
"phpstan/phpstan": "^1.10"
"friendsofphp/php-cs-fixer": "^3.91.3",
"phpunit/phpunit": "^10.5.62 || ^11.5.50 || ^12.5.8 || ^13.0",
"phpstan/phpstan": "^2.0"
},
"config": {
"allow-plugins": {
"php-http/discovery": true
"php-http/discovery": false
}
}
}
4 changes: 1 addition & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" colors="true">
<php>
<server name="SYMFONY_PHPUNIT_VERSION" value="9"/>
<ini name="error_reporting" value="-1" />
<ini name="SYMFONY_DEPRECATIONS_HELPER" value="max[total]=0"/>
</php>

<testsuites>
Expand Down
1 change: 1 addition & 0 deletions tests/Proxy/CloudFrontTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function testPurgeWithoutFlush(): void
public function testException(): void
{
$this->client
->expects($this->once())
->method('createInvalidation')
->willThrowException(new AccessDeniedException(new SimpleMockedResponse(content: '<Error><message>Access denied.</message></Error>', statusCode: 403)))
;
Expand Down
Loading