From 715fa2876e1b8495a68b831785224df3749f5e34 Mon Sep 17 00:00:00 2001 From: Anthony Clark Date: Thu, 5 Jan 2023 09:14:08 -0800 Subject: [PATCH] Order PHPUnit methods at top of classes --- .php-cs-fixer.dist.php | 1 + .../ClassNotation/CustomOrderedClassElements/.php-cs-fixer.php | 1 + 2 files changed, 2 insertions(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 07ef968..bb73abf 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -36,6 +36,7 @@ 'property_public', 'property_protected', 'property_private', + 'phpunit', 'construct', 'invoke', 'method_public_static', diff --git a/tests/Fixer/ClassNotation/CustomOrderedClassElements/.php-cs-fixer.php b/tests/Fixer/ClassNotation/CustomOrderedClassElements/.php-cs-fixer.php index 4953747..522a635 100644 --- a/tests/Fixer/ClassNotation/CustomOrderedClassElements/.php-cs-fixer.php +++ b/tests/Fixer/ClassNotation/CustomOrderedClassElements/.php-cs-fixer.php @@ -19,6 +19,7 @@ 'property_public', 'property_protected', 'property_private', + 'phpunit', 'construct', 'invoke', 'method_public_static',