From 8f5724bfa83fc32ef0c3979629514516c3184525 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Wed, 1 Jan 2025 12:26:11 +0000 Subject: [PATCH 1/2] docs: Add Requires PHP plugin header --- s3-media-sync.php | 1 + 1 file changed, 1 insertion(+) diff --git a/s3-media-sync.php b/s3-media-sync.php index 101b5b8..b253d4d 100644 --- a/s3-media-sync.php +++ b/s3-media-sync.php @@ -3,6 +3,7 @@ * Plugin Name: S3 Media Sync * Description: Sync full media backups to S3. * Author: Alexis Kulash, WordPress VIP + * Requires PHP: 8.1 * Text Domain: s3-media-sync * Domain Path: /languages/ * Version: 1.2.0 From cf81575c0f049eb0e23be8b0f00797a9afd43b8d Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Wed, 1 Jan 2025 12:27:32 +0000 Subject: [PATCH 2/2] chore(Composer): Add PHP constraint --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 0b48763..7d604ef 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "wpcomvip/s3-media-sync", "type": "wordpress-plugin", "require": { + "php": "^8.1", "composer/installers": "~1.0 || ^2.0", "aws/aws-sdk-php": "~3.288.1" },