Skip to content

Commit e4f55ea

Browse files
committed
Update dependencies for PHP 8.4 support
1 parent 7ada264 commit e4f55ea

3 files changed

Lines changed: 240 additions & 113 deletions

File tree

addon.setup.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?php
2+
// Cloud Files works with all PHP versions supported by ExpressionEngine 7
3+
// However the S3 SDK is now showing warnings when used with older PHP versions
4+
// https://aws.amazon.com/blogs/developer/announcing-the-end-of-support-for-php-runtimes-8-0-x-and-below-in-the-aws-sdk-for-php/
5+
$_ENV['AWS_SUPPRESS_PHP_DEPRECATION_WARNING'] = $_ENV['AWS_SUPPRESS_PHP_DEPRECATION_WARNING'] ?? true;
26

37
require __DIR__ . '/vendor-build/autoload.php';
48

composer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"require": {
1212
"php": "^7.2 || ^8.0",
1313
"bamarni/composer-bin-plugin": "^1.5",
14+
"expressionengine/flysystem": "1.x-dev",
15+
"aws/aws-sdk-php": "3.337.x",
1416
"league/flysystem": "^1.0",
1517
"league/flysystem-aws-s3-v3": "^1.0"
1618
},
@@ -23,6 +25,12 @@
2325
"bamarni/composer-bin-plugin": true
2426
}
2527
},
28+
"repositories": [
29+
{
30+
"type": "vcs",
31+
"url": "https://github.com/ExpressionEngine/flysystem"
32+
}
33+
],
2634
"scripts": {
2735
"post-install-cmd": [
2836
"@composer bin all install --ansi",

0 commit comments

Comments
 (0)