From 2ab3393568239fa283f131d5d24ecab121c3f83b Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 20 Jul 2023 11:29:06 +0100 Subject: [PATCH] Unlink DevTools submodule and remove references we don't need this as a submodule anymore, since it's not used in the core. --- .gitmodules | 3 --- .php-cs-fixer.php | 1 - composer.json | 1 - tests/plugins/DevTools | 1 - 4 files changed, 6 deletions(-) delete mode 160000 tests/plugins/DevTools diff --git a/.gitmodules b/.gitmodules index 0b2349472..72244bbaa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "tests/plugins/DevTools"] - path = tests/plugins/DevTools - url = https://github.com/pmmp/DevTools.git [submodule "build/php"] path = build/php url = https://github.com/pmmp/php-build-scripts.git diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 32af1ef48..2effafe17 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -5,7 +5,6 @@ $finder = PhpCsFixer\Finder::create() ->in(__DIR__ . '/build') ->in(__DIR__ . '/tests') ->in(__DIR__ . '/tools') - ->notPath('plugins/DevTools') ->notName('PocketMine.php'); return (new PhpCsFixer\Config) diff --git a/composer.json b/composer.json index 4589d73a1..1c567d4ac 100644 --- a/composer.json +++ b/composer.json @@ -79,7 +79,6 @@ "sort-packages": true }, "scripts": { - "make-devtools": "@php -dphar.readonly=0 tests/plugins/DevTools/src/ConsoleScript.php --make ./ --relative tests/plugins/DevTools --out plugins/DevTools.phar", "make-server": [ "@composer install --no-dev --classmap-authoritative --ignore-platform-reqs", "@php -dphar.readonly=0 build/server-phar.php" diff --git a/tests/plugins/DevTools b/tests/plugins/DevTools deleted file mode 160000 index 83f0db3f9..000000000 --- a/tests/plugins/DevTools +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 83f0db3f9e0adbf424e32ed81f7730e97b037be9