From 886ecb4ab592eedd439cc76c39216d1690e29dcc Mon Sep 17 00:00:00 2001 From: Stian Date: Fri, 20 Sep 2024 15:39:52 +0200 Subject: [PATCH] Remove logging plugin --- composer.json | 3 +- composer.lock | 36 ++++----------------- packages/mu-plugins/logging/README.md | 9 ------ packages/mu-plugins/logging/composer.json | 13 -------- packages/mu-plugins/logging/plugin.php | 38 ----------------------- 5 files changed, 7 insertions(+), 92 deletions(-) delete mode 100644 packages/mu-plugins/logging/README.md delete mode 100644 packages/mu-plugins/logging/composer.json delete mode 100644 packages/mu-plugins/logging/plugin.php diff --git a/composer.json b/composer.json index 957863a..6092348 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,7 @@ "wpackagist-plugin/two-factor": "~0.9.1" }, "require-dev": { - "dekode/coding-standards": "6.0.0", - "dekode/logging": "1.0.0" + "dekode/coding-standards": "6.0.0" }, "repositories": { "mu-plugins": { diff --git a/composer.lock b/composer.lock index 593bb01..f265b53 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5dceb5acf68a28771ee3e6ee0f7839ad", + "content-hash": "91cd35de47b4e4aac8de14a065980b7e", "packages": [ { "name": "boxuk/wp-muplugin-loader", @@ -1233,30 +1233,6 @@ }, "time": "2023-08-29T05:36:30+00:00" }, - { - "name": "dekode/logging", - "version": "1.0.0", - "dist": { - "type": "path", - "url": "packages/mu-plugins/logging", - "reference": "2c177e4f5055e69fd12f684587f94372e5a1bf5b" - }, - "type": "wordpress-muplugin", - "license": [ - "GPL-3.0-or-later" - ], - "authors": [ - { - "name": "Dekode Interaktiv", - "homepage": "https://dekode.no" - } - ], - "description": "Utility function for logging arbitrary variables to the error log.", - "transport-options": { - "symlink": true, - "relative": true - } - }, { "name": "phpcompatibility/php-compatibility", "version": "9.3.5", @@ -1629,16 +1605,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.10.2", + "version": "3.10.3", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017" + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/86e5f5dd9a840c46810ebe5ff1885581c42a3017", - "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/62d32998e820bddc40f99f8251958aed187a5c9c", + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c", "shasum": "" }, "require": { @@ -1705,7 +1681,7 @@ "type": "open_collective" } ], - "time": "2024-07-21T23:26:44+00:00" + "time": "2024-09-18T10:38:58+00:00" }, { "name": "wp-coding-standards/wpcs", diff --git a/packages/mu-plugins/logging/README.md b/packages/mu-plugins/logging/README.md deleted file mode 100644 index a1b75cd..0000000 --- a/packages/mu-plugins/logging/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Logging - -Utility function `write_log` for logging arbitrary variables to the error log. You can view the log in realtime in your terminal by executing `tail -f debug.log` and Ctrl+C to stop. - -## Requirements - -Enable logging in Wordpress by setting these constants -* `define( 'WP_DEBUG', true )` -* `define( 'WP_DEBUG_LOG', true )` diff --git a/packages/mu-plugins/logging/composer.json b/packages/mu-plugins/logging/composer.json deleted file mode 100644 index ec3317e..0000000 --- a/packages/mu-plugins/logging/composer.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "dekode/logging", - "description": "Utility function for logging arbitrary variables to the error log.", - "version": "1.0.0", - "type": "wordpress-muplugin", - "license": "GPL-3.0-or-later", - "authors": [ - { - "name": "Dekode Interaktiv", - "homepage": "https://dekode.no" - } - ] -} diff --git a/packages/mu-plugins/logging/plugin.php b/packages/mu-plugins/logging/plugin.php deleted file mode 100644 index f19b33c..0000000 --- a/packages/mu-plugins/logging/plugin.php +++ /dev/null @@ -1,38 +0,0 @@ -