From cd1a0022e1a1ecd47e942735b7d70d03104dac0d Mon Sep 17 00:00:00 2001 From: Nerijus Zaniauskas Date: Tue, 2 Jan 2024 14:36:33 +0200 Subject: [PATCH] Add main class file and fix linter --- lint.sh | 4 ++-- omnisend/class-omnisend-bootstrap.php | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 omnisend/class-omnisend-bootstrap.php diff --git a/lint.sh b/lint.sh index 0188479..09b1998 100755 --- a/lint.sh +++ b/lint.sh @@ -8,12 +8,12 @@ case $action in "check") composer update composer install - ./vendor/bin/phpcs -s omnisend-for-contact-form-7 + ./vendor/bin/phpcs -s omnisend ;; "fix") composer update composer install - ./vendor/bin/phpcbf omnisend-for-contact-form-7 + ./vendor/bin/phpcbf omnisend ;; *) echo "pass one of these argument: check,fix" diff --git a/omnisend/class-omnisend-bootstrap.php b/omnisend/class-omnisend-bootstrap.php new file mode 100644 index 0000000..0194799 --- /dev/null +++ b/omnisend/class-omnisend-bootstrap.php @@ -0,0 +1,26 @@ +