From 4b06e19d2898988b7487e2385e20f7b461504ea7 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 29 Aug 2021 23:33:07 +0100 Subject: [PATCH] Cover tools/ in php-cs-fixer --- .php-cs-fixer.php | 1 + tools/compact-regions.php | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 373c8fc80..925c1cbca 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -4,6 +4,7 @@ $finder = PhpCsFixer\Finder::create() ->in(__DIR__ . '/src') ->in(__DIR__ . '/build') ->in(__DIR__ . '/tests') + ->in(__DIR__ . '/tools') ->notPath('plugins/DevTools') ->notPath('preprocessor') ->notContains('#ifndef COMPILE') //preprocessor will break if these are changed diff --git a/tools/compact-regions.php b/tools/compact-regions.php index 153bd62b9..62f1d35f4 100644 --- a/tools/compact-regions.php +++ b/tools/compact-regions.php @@ -43,8 +43,6 @@ use function rename; use function round; use function scandir; use function unlink; -use function zlib_decode; -use function zlib_encode; require dirname(__DIR__) . '/vendor/autoload.php';