From f1d937a0438218938c3e70b67ede72893b64c524 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Tue, 12 Sep 2023 16:54:01 +0200 Subject: [PATCH 1/4] Deprecate FT_PLATTFORM_VERSION constant, use a fn instead (https://github.com/figuren-theater/ft-platform/issues/14) --- inc/mode/namespace.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/mode/namespace.php b/inc/mode/namespace.php index 0115d1e..c944ae2 100644 --- a/inc/mode/namespace.php +++ b/inc/mode/namespace.php @@ -7,6 +7,8 @@ namespace Figuren_Theater\Maintenance\Mode; +use Figuren_Theater; + use function add_action; use function add_filter; use function current_user_can; @@ -87,7 +89,7 @@ function output_dropin_note( array $meta, string $file, array $data, string $sta 'https://github.com/figuren-theater/ft-maintenance', sprintf( esc_html__( 'Version %s', 'figurentheater' ), - FT_PLATTFORM_VERSION + Figuren_Theater\get_platform_version() ), __NAMESPACE__ ), From e9cb299a708ed7a2e759317df8743e79cd408fc9 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Wed, 13 Sep 2023 11:06:34 +0200 Subject: [PATCH 2/4] Upgrading figuren-theater/ft-options (1.1.11 => 1.2.3) --- composer.lock | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index 1c2b626..cb1a47f 100644 --- a/composer.lock +++ b/composer.lock @@ -203,21 +203,24 @@ }, { "name": "figuren-theater/ft-options", - "version": "1.1.11", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/figuren-theater/ft-options", - "reference": "7764df6116733212baa363483053728d38d3bf28" + "reference": "127e6c8bb62cce778ee7468aa548c8326fe9c29a" }, "require": { "markjaquith/wp-tlc-transients": "^1.0", - "php": ">=7.1" + "php": ">=7.4" + }, + "require-dev": { + "figuren-theater/code-quality": "*" }, "type": "wordpress-muplugin", "autoload": { - "psr-4": { - "Figuren_Theater\\Options\\": "inc/" - } + "classmap": [ + "inc/" + ] }, "license": [ "GPL-3.0-or-later" @@ -247,7 +250,7 @@ "issues": "https://github.com/figuren-theater/ft-options/issues", "source": "https://github.com/figuren-theater/ft-options" }, - "time": "2023-07-06T21:36:17+00:00" + "time": "2023-09-11T10:27:33+00:00" }, { "name": "johnbillion/query-monitor", From fb0f76616a82f0a2937ba477ef246f15da1ced36 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Wed, 13 Sep 2023 11:07:16 +0200 Subject: [PATCH 3/4] Upgrading figuren-theater/phpstan (1.1.2 => 1.2.1) --- composer.lock | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/composer.lock b/composer.lock index cb1a47f..b3f4ecc 100644 --- a/composer.lock +++ b/composer.lock @@ -1252,22 +1252,25 @@ }, { "name": "figuren-theater/phpstan", - "version": "1.1.2", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/figuren-theater/phpstan.git", - "reference": "b4e7fffb5b43e24f5de9f21e53f2c3df2023ed82" + "reference": "8a6f5c51eb6afaa354611cd2290440d432808938" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/figuren-theater/phpstan/zipball/b4e7fffb5b43e24f5de9f21e53f2c3df2023ed82", - "reference": "b4e7fffb5b43e24f5de9f21e53f2c3df2023ed82", + "url": "https://api.github.com/repos/figuren-theater/phpstan/zipball/8a6f5c51eb6afaa354611cd2290440d432808938", + "reference": "8a6f5c51eb6afaa354611cd2290440d432808938", "shasum": "" }, "require": { "php-stubs/wordpress-globals": "^0.2.0", "szepeviktor/phpstan-wordpress": "^1.3" }, + "require-dev": { + "ergebnis/composer-normalize": "^2.31" + }, "type": "phpstan-extension", "extra": { "phpstan": { @@ -1295,6 +1298,7 @@ "description": "org-wide used phpstan.neon file for the WordPress Multisite network for puppeteers figuren.theater", "homepage": "https://figuren.theater", "keywords": [ + "PHPStan", "wordpress" ], "support": { @@ -1302,7 +1306,7 @@ "issues": "https://github.com/figuren-theater/phpstan/issues", "source": "https://github.com/figuren-theater/phpstan" }, - "time": "2023-09-01T22:15:08+00:00" + "time": "2023-09-13T08:55:48+00:00" }, { "name": "humanmade/coding-standards", @@ -1777,16 +1781,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.32", + "version": "1.10.33", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c47e47d3ab03137c0e121e77c4d2cb58672f6d44" + "reference": "03b1cf9f814ba0863c4e9affea49a4d1ed9a2ed1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c47e47d3ab03137c0e121e77c4d2cb58672f6d44", - "reference": "c47e47d3ab03137c0e121e77c4d2cb58672f6d44", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/03b1cf9f814ba0863c4e9affea49a4d1ed9a2ed1", + "reference": "03b1cf9f814ba0863c4e9affea49a4d1ed9a2ed1", "shasum": "" }, "require": { @@ -1835,7 +1839,7 @@ "type": "tidelift" } ], - "time": "2023-08-24T21:54:50+00:00" + "time": "2023-09-04T12:20:53+00:00" }, { "name": "squizlabs/php_codesniffer", From 0c9f4b5613dd4263513617b8177731929aede40f Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Wed, 13 Sep 2023 11:14:22 +0200 Subject: [PATCH 4/4] Upgrading figuren-theater/code-quality (0.7.0 => 0.7.1) --- composer.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index b3f4ecc..34d2de3 100644 --- a/composer.lock +++ b/composer.lock @@ -1149,16 +1149,16 @@ }, { "name": "figuren-theater/code-quality", - "version": "0.7.0", + "version": "0.7.1", "source": { "type": "git", "url": "https://github.com/figuren-theater/code-quality.git", - "reference": "c783c4f792e4f448101d50cb19b97edcf52d310d" + "reference": "2ef49796e92bbe6b54ff90a1d598fc9bd448ad4c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/figuren-theater/code-quality/zipball/c783c4f792e4f448101d50cb19b97edcf52d310d", - "reference": "c783c4f792e4f448101d50cb19b97edcf52d310d", + "url": "https://api.github.com/repos/figuren-theater/code-quality/zipball/2ef49796e92bbe6b54ff90a1d598fc9bd448ad4c", + "reference": "2ef49796e92bbe6b54ff90a1d598fc9bd448ad4c", "shasum": "" }, "require": { @@ -1198,7 +1198,7 @@ "issues": "https://github.com/figuren-theater/code-quality/issues", "source": "https://github.com/figuren-theater/code-quality" }, - "time": "2023-09-01T23:53:33+00:00" + "time": "2023-09-13T09:12:30+00:00" }, { "name": "figuren-theater/coding-standards",