From 3d8f1ab501a69e13177ad9eee19315f63b9099f2 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Thu, 30 Jun 2022 21:24:45 -0700 Subject: [PATCH] Add composer.json --- README.md | 1 + composer.json | 18 ++++++++++++++++++ languages/automatically-paginate-posts.pot | 4 ++-- phpcs.xml | 2 +- readme.txt | 1 + 5 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 composer.json diff --git a/README.md b/README.md index 4d1ee46..ec53a19 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Donate link: **Requires at least:** 3.4 **Tested up to:** 6.0 **Stable tag:** 0.3.1 +**Requires PHP:** 5.6 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4c5f657 --- /dev/null +++ b/composer.json @@ -0,0 +1,18 @@ +{ + "name" : "ethitter/wp-revision-control", + "description" : "Automatically paginate posts by inserting the `<!--nextpage-->` Quicktag.", + "homepage" : "https://ethitter.com/", + "type" : "wordpress-plugin", + "keywords" : [ "paginate", "nextpage", "Quicktag" ], + "license" : "GPL-2.0+", + "authors" : [ + { + "name" : "Erick Hitter", + "email" : "wp@ethitter.com", + "homepage" : "https://ethitter.com/" + } + ], + "require" : { + "php" : ">=5.6.0" + } +} diff --git a/languages/automatically-paginate-posts.pot b/languages/automatically-paginate-posts.pot index 8bd0528..19e099d 100644 --- a/languages/automatically-paginate-posts.pot +++ b/languages/automatically-paginate-posts.pot @@ -2,10 +2,10 @@ # This file is distributed under the same license as the Automatically Paginate Posts package. msgid "" msgstr "" -"Project-Id-Version: Automatically Paginate Posts 0.3\n" +"Project-Id-Version: Automatically Paginate Posts 0.3.1\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/automatically-paginate-posts\n" -"POT-Creation-Date: 2022-06-29 04:55:16+00:00\n" +"POT-Creation-Date: 2022-07-01 04:24:09+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/phpcs.xml b/phpcs.xml index 4edba24..21be9ed 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -18,7 +18,7 @@ <!-- Rules: Check PHP version compatibility --> <!-- https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions --> - <config name="testVersion" value="7.2-"/> + <config name="testVersion" value="5.6-"/> <!-- https://github.com/PHPCompatibility/PHPCompatibilityWP --> <rule ref="PHPCompatibilityWP"/> diff --git a/readme.txt b/readme.txt index 1ba5569..439c4c4 100644 --- a/readme.txt +++ b/readme.txt @@ -5,6 +5,7 @@ Tags: paginate, nextpage, Quicktag Requires at least: 3.4 Tested up to: 6.0 Stable tag: 0.3.1 +Requires PHP: 5.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -- GitLab