Skip to content

Commit

Permalink
Add main class file and fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nerijuszaniauskas committed Jan 2, 2024
1 parent 03f0aec commit cd1a002
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
26 changes: 26 additions & 0 deletions omnisend/class-omnisend-bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/**
* Omnisend plugin
*
* Plugin Name: Omnisend
* Description: Omnisend main plugin that enables integration with Omnisend.
* Version: 1.0.0
* Author: Omnisend
* Author URI: https://www.omnisend.com
* Developer: Omnisend
* Developer URI: https://developers.omnisend.com
* Text Domain: omnisend
* ------------------------------------------------------------------------
* Copyright 2024 Omnisend
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*
* @package OmnisendPlugin
*/

if ( ! defined( 'ABSPATH' ) ) {
exit;
}

class Omnisend_Bootstrap {
}

0 comments on commit cd1a002

Please sign in to comment.