Skip to content

Commit 5a833fb

Browse files
committed
Ensure Composer packages are compatible with minimum PHP version.
1 parent 48ce4bb commit 5a833fb

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "code-snippets",
33
"description": "Manage code snippets running on a WordPress-powered site through a graphical interface.",
44
"homepage": "https://codesnippets.pro",
5-
"version": "3.6.7",
5+
"version": "3.6.8-dev.1",
66
"main": "src/dist/edit.js",
77
"directories": {
88
"test": "tests"

src/code-snippets.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
* License: GPL-2.0-or-later
99
* License URI: license.txt
1010
* Text Domain: code-snippets
11-
* Version: 3.6.7
11+
* Version: 3.6.8-dev.1
1212
* Requires PHP: 7.4
1313
* Requires at least: 5.0
1414
*
15-
* @version 3.6.7
15+
* @version 3.6.8-dev.1
1616
* @package Code_Snippets
1717
* @author Shea Bunge <[email protected]>
1818
* @copyright 2012-2023 Code Snippets Pro
@@ -37,7 +37,7 @@
3737
*
3838
* @const string
3939
*/
40-
define( 'CODE_SNIPPETS_VERSION', '3.6.7' );
40+
define( 'CODE_SNIPPETS_VERSION', '3.6.8-dev.1' );
4141

4242
/**
4343
* The full path to the main file of this plugin.

src/composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
]
2727
},
2828
"require": {
29-
"php": ">=7.4",
29+
"php": ">=7.4",
3030
"ext-dom": "*",
3131
"ext-json": "*",
3232
"composer/installers": "^2.3"
@@ -37,6 +37,9 @@
3737
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
3838
},
3939
"config": {
40+
"platform": {
41+
"php": "7.4"
42+
},
4043
"allow-plugins": {
4144
"dealerdirect/phpcodesniffer-composer-installer": true,
4245
"composer/installers": true

src/composer.lock

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Donate link: https://codesnippets.pro
44
Tags: code, snippets, multisite, php, css
55
License: GPL-2.0-or-later
66
License URI: license.txt
7-
Stable tag: 3.6.7
8-
Tested up to: 6.7.1
7+
Stable tag: 3.6.8-dev.1
8+
Tested up to: 6.7.2
99

1010
An easy, clean and simple way to enhance your site with code snippets.
1111

0 commit comments

Comments
 (0)