Skip to content

Commit 144165e

Browse files
committed
Bump minimal PHP version to 7.1, minimal WordPress version to 5.5, changelog
1 parent b8e9d44 commit 144165e

File tree

4 files changed

+21
-15
lines changed

4 files changed

+21
-15
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
}
4343
},
4444
"require": {
45-
"php": ">=7.0",
45+
"php": ">=7.1",
4646
"pimple/pimple": "^3.2",
4747
"cedaro/wp-plugin": "^0.4.0",
4848
"htmlburger/carbon-fields": "^3.2",
4949
"instituteweb/composer-scripts": "^1.1",
5050
"psr/container": "^1.1",
5151
"psr/log": "^1.0",
52-
"symfony/polyfill-mbstring": "^v1.22.1",
53-
"symfony/polyfill-php72": "^v1.22.1"
52+
"symfony/polyfill-mbstring": "^v1.23.1",
53+
"symfony/polyfill-php72": "^v1.23.0"
5454
},
5555
"require-dev": {
5656
"brain/monkey": "^2.2",
@@ -62,9 +62,9 @@
6262
"rector/rector": "dev-main",
6363
"roave/security-advisories": "dev-master",
6464
"squizlabs/php_codesniffer": "^3.3",
65-
"szepeviktor/phpstan-wordpress": "^0.7.6",
65+
"szepeviktor/phpstan-wordpress": "^v1.0",
6666
"vlucas/phpdotenv": "^5.3",
67-
"wordpress/wordpress": "^5.6",
67+
"wordpress/wordpress": "^5.8",
6868
"wp-coding-standards/wpcs": "^2.3.0"
6969
},
7070
"autoload": {

readme.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== Style Manager - Auto-magical system to style your WordPress site ===
22
Contributors: pixelgrade, vlad.olaru, babbardel, razvanonofrei, gorby31
33
Tags: design, customizer, fonts, colors, gutenberg, font palettes, color palettes
4-
Requires at least: 4.9.18
5-
Tested up to: 5.8.0
4+
Requires at least: 5.5.0
5+
Tested up to: 5.8.2
66
Stable tag: 2.1.0
7-
Requires PHP: 7.0
7+
Requires PHP: 7.1
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -54,6 +54,14 @@ To enable them simply go to Dashboard -> Appearance -> Style Manager and check "
5454

5555
== Changelog ==
5656

57+
= 2.1.0 =
58+
* 2021-12-06
59+
* Introduces data migration when switching data store location from plugin settings
60+
* Fixes bug in Color Palettes
61+
* Invalidate caches after demo data import
62+
* Increase minimum PHP version to 7.1 and WordPress version to 5.5.0
63+
* Tested with the latest WordPress version (5.8.2)
64+
5765
= 2.0.7 =
5866
* 2021-08-16
5967
* Expose palettes configuration to frontend and block editor through the styleManager global object

rector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
// ]);
3838

3939
// is your PHP version different from the one your refactor to? [default: your PHP version]
40-
$parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_70);
40+
$parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_71);
4141

4242
// Path to phpstan with extensions, that PHPSTan in Rector uses to determine types
4343
$parameters->set(Option::PHPSTAN_FOR_RECTOR_PATH, __DIR__ . '/phpstan.neon.dist');
@@ -47,6 +47,4 @@
4747
$containerConfigurator->import( DowngradeSetList::PHP_74 );
4848
$containerConfigurator->import( DowngradeSetList::PHP_73 );
4949
$containerConfigurator->import( DowngradeSetList::PHP_72 );
50-
$containerConfigurator->import( DowngradeSetList::PHP_71 );
51-
$containerConfigurator->import( DowngradeSetList::PHP_70 );
5250
};

style-manager.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* License: GPL-2.0 or later.
1515
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1616
* Domain Path: /languages/
17-
* Requires at least: 4.9.18
18-
* Tested up to: 5.8.0
19-
* Requires PHP: 7.0
17+
* Requires at least: 5.5.0
18+
* Tested up to: 5.8.2
19+
* Requires PHP: 7.1
2020
* GitHub Plugin URI: pixelgrade/style-manager
2121
* Release Asset: true
2222
*/
@@ -42,7 +42,7 @@
4242
*
4343
* @var string
4444
*/
45-
const PHP_VERSION = '7.0';
45+
const PHP_VERSION = '7.1';
4646

4747
// Load the Composer autoloader.
4848
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {

0 commit comments

Comments
 (0)