Skip to content

Commit 751c2d6

Browse files
committed
PHP 8.1 compatibility tested
1 parent 631d09e commit 751c2d6

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

MultisiteLanguageSwitcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @wordpress-plugin
88
*
99
* Plugin Name: Multisite Language Switcher
10-
* Version: 2.5.10
10+
* Version: 2.5.11
1111
* Plugin URI: http://msls.co/
1212
* Description: A simple but powerful plugin that will help you to manage the relations of your contents in a multilingual multisite-installation.
1313
* Author: Dennis Ploetner
@@ -40,7 +40,7 @@
4040
* @author Dennis Ploetner <[email protected]>
4141
*/
4242
if ( ! defined( 'MSLS_PLUGIN_VERSION' ) ) {
43-
define( 'MSLS_PLUGIN_VERSION', '2.5.10' );
43+
define( 'MSLS_PLUGIN_VERSION', '2.5.11' );
4444
define( 'MSLS_PLUGIN_PATH', plugin_basename( __FILE__ ) );
4545
define( 'MSLS_PLUGIN__FILE__', __FILE__ );
4646

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"phpstan/phpstan": "^1.8",
1515
"szepeviktor/phpstan-wordpress": "^1.1",
1616
"phpstan/extension-installer": "^1.1",
17-
"antecedent/patchwork": "~2.1.19"
17+
"antecedent/patchwork": "~2.1.19",
18+
"squizlabs/php_codesniffer": "^3.7",
19+
"phpcompatibility/php-compatibility": "^9.3"
1820
},
1921
"autoload": {
2022
"psr-4": {

includes/MslsOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function get_tags() {
181181
/**
182182
* Sets tags for the output
183183
*
184-
* @param array $arr
184+
* @param string[] $arr
185185
*
186186
* @return MslsOutput
187187
*/

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Contributors: realloc, lucatume
44
Donate link: https://www.greenpeace.org/international/
55
Tags: multilingual, multisite, language, switcher, localization
66
Requires at least: 4.5.0
7-
Tested up to: 6.2
7+
Tested up to: 6.3
88
Requires PHP: 7.1
9-
Stable tag: 2.5.10
9+
Stable tag: 2.5.11
1010
License: GPLv2 or later
1111
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1212

0 commit comments

Comments
 (0)