From 1b0e67b68823cbba0fc418a2a59a8dff38b28d4f Mon Sep 17 00:00:00 2001 From: Nic Wortel Date: Thu, 15 Jun 2023 13:38:45 +0200 Subject: [PATCH] Configure sniffs for attributes --- NicWortel/ruleset.xml | 4 ++++ tests/correct/attributes.php | 12 ++++++++++++ tests/expected.csv | 2 ++ tests/incorrect/attributes.php | 13 +++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 tests/correct/attributes.php create mode 100644 tests/incorrect/attributes.php diff --git a/NicWortel/ruleset.xml b/NicWortel/ruleset.xml index 522ea48..3eb5543 100644 --- a/NicWortel/ruleset.xml +++ b/NicWortel/ruleset.xml @@ -83,6 +83,10 @@ + + + + diff --git a/tests/correct/attributes.php b/tests/correct/attributes.php new file mode 100644 index 0000000..e7ba2ff --- /dev/null +++ b/tests/correct/attributes.php @@ -0,0 +1,12 @@ +