From 11bb8a83774158fbf49718e82f0a4fbb1f7ec3d1 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Mon, 26 Apr 2021 22:55:20 +0100 Subject: [PATCH] chore: add standard WP index files --- composer.json | 4 ++-- src/admin/index.php | 1 + src/includes/index.php | 1 + src/index.php | 1 + src/public/index.php | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 src/admin/index.php create mode 100644 src/includes/index.php create mode 100644 src/index.php create mode 100644 src/public/index.php diff --git a/composer.json b/composer.json index 6e6f621..2ab4cd5 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,8 @@ "lint:fix": "composer run lint:php:fix && npm run lint:fix", "format": "npm run format", "format:fix": "npm run format:fix", - "lint:php": "./vendor/bin/phpcs --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p ./src/*.php ./src/*/*.php ./src/*/*/*.php", - "lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p ./src/*.php ./src/*/*.php ./src/*/*/*.php", + "lint:php": "./vendor/bin/phpcs --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p --ignore=index.php ./src/*.php ./src/*/*.php ./src/*/*/*.php", + "lint:php:fix": "./vendor/bin/phpcbf --standard=WordPress,PHPCompatibilityWP --runtime-set testVersion 7.0- --colors --encoding=utf-8 -p --ignore=index.php ./src/*.php ./src/*/*.php ./src/*/*/*.php", "lint:css": "npm run lint:css", "lint:css:fix": "npm run lint:css:fix", "lint:js": "npm run lint:js", diff --git a/src/admin/index.php b/src/admin/index.php new file mode 100644 index 0000000..8142269 --- /dev/null +++ b/src/admin/index.php @@ -0,0 +1 @@ +