Skip to content

Commit

Permalink
Bump minimal PHP version to 7.1, minimal WordPress version to 5.5, ch…
Browse files Browse the repository at this point in the history
…angelog
  • Loading branch information
vladolaru committed Dec 6, 2021
1 parent b8e9d44 commit 144165e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
}
},
"require": {
"php": ">=7.0",
"php": ">=7.1",
"pimple/pimple": "^3.2",
"cedaro/wp-plugin": "^0.4.0",
"htmlburger/carbon-fields": "^3.2",
"instituteweb/composer-scripts": "^1.1",
"psr/container": "^1.1",
"psr/log": "^1.0",
"symfony/polyfill-mbstring": "^v1.22.1",
"symfony/polyfill-php72": "^v1.22.1"
"symfony/polyfill-mbstring": "^v1.23.1",
"symfony/polyfill-php72": "^v1.23.0"
},
"require-dev": {
"brain/monkey": "^2.2",
Expand All @@ -62,9 +62,9 @@
"rector/rector": "dev-main",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.3",
"szepeviktor/phpstan-wordpress": "^0.7.6",
"szepeviktor/phpstan-wordpress": "^v1.0",
"vlucas/phpdotenv": "^5.3",
"wordpress/wordpress": "^5.6",
"wordpress/wordpress": "^5.8",
"wp-coding-standards/wpcs": "^2.3.0"
},
"autoload": {
Expand Down
14 changes: 11 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== Style Manager - Auto-magical system to style your WordPress site ===
Contributors: pixelgrade, vlad.olaru, babbardel, razvanonofrei, gorby31
Tags: design, customizer, fonts, colors, gutenberg, font palettes, color palettes
Requires at least: 4.9.18
Tested up to: 5.8.0
Requires at least: 5.5.0
Tested up to: 5.8.2
Stable tag: 2.1.0
Requires PHP: 7.0
Requires PHP: 7.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

= 2.1.0 =
* 2021-12-06
* Introduces data migration when switching data store location from plugin settings
* Fixes bug in Color Palettes
* Invalidate caches after demo data import
* Increase minimum PHP version to 7.1 and WordPress version to 5.5.0
* Tested with the latest WordPress version (5.8.2)

= 2.0.7 =
* 2021-08-16
* Expose palettes configuration to frontend and block editor through the styleManager global object
Expand Down
4 changes: 1 addition & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
// ]);

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

// Path to phpstan with extensions, that PHPSTan in Rector uses to determine types
$parameters->set(Option::PHPSTAN_FOR_RECTOR_PATH, __DIR__ . '/phpstan.neon.dist');
Expand All @@ -47,6 +47,4 @@
$containerConfigurator->import( DowngradeSetList::PHP_74 );
$containerConfigurator->import( DowngradeSetList::PHP_73 );
$containerConfigurator->import( DowngradeSetList::PHP_72 );
$containerConfigurator->import( DowngradeSetList::PHP_71 );
$containerConfigurator->import( DowngradeSetList::PHP_70 );
};
8 changes: 4 additions & 4 deletions style-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* License: GPL-2.0 or later.
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages/
* Requires at least: 4.9.18
* Tested up to: 5.8.0
* Requires PHP: 7.0
* Requires at least: 5.5.0
* Tested up to: 5.8.2
* Requires PHP: 7.1
* GitHub Plugin URI: pixelgrade/style-manager
* Release Asset: true
*/
Expand All @@ -42,7 +42,7 @@
*
* @var string
*/
const PHP_VERSION = '7.0';
const PHP_VERSION = '7.1';

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

0 comments on commit 144165e

Please sign in to comment.