chore: add standard WP index files

This commit is contained in:
Ben Goldsworthy 2021-04-26 22:55:20 +01:00
parent 871d05f929
commit 11bb8a8377
5 changed files with 6 additions and 2 deletions

View file

@ -11,8 +11,8 @@
"lint:fix": "composer run lint:php:fix && npm run lint:fix", "lint:fix": "composer run lint:php:fix && npm run lint:fix",
"format": "npm run format", "format": "npm run format",
"format:fix": "npm run format:fix", "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": "./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 ./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": "npm run lint:css",
"lint:css:fix": "npm run lint:css:fix", "lint:css:fix": "npm run lint:css:fix",
"lint:js": "npm run lint:js", "lint:js": "npm run lint:js",

1
src/admin/index.php Normal file
View file

@ -0,0 +1 @@
<?php // Silence is golden

1
src/includes/index.php Normal file
View file

@ -0,0 +1 @@
<?php // Silence is golden

1
src/index.php Normal file
View file

@ -0,0 +1 @@
<?php // Silence is golden

1
src/public/index.php Normal file
View file

@ -0,0 +1 @@
<?php // Silence is golden