chore: add standard WP index files
This commit is contained in:
parent
871d05f929
commit
11bb8a8377
5 changed files with 6 additions and 2 deletions
|
@ -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",
|
||||
|
|
1
src/admin/index.php
Normal file
1
src/admin/index.php
Normal file
|
@ -0,0 +1 @@
|
|||
<?php // Silence is golden
|
1
src/includes/index.php
Normal file
1
src/includes/index.php
Normal file
|
@ -0,0 +1 @@
|
|||
<?php // Silence is golden
|
1
src/index.php
Normal file
1
src/index.php
Normal file
|
@ -0,0 +1 @@
|
|||
<?php // Silence is golden
|
1
src/public/index.php
Normal file
1
src/public/index.php
Normal file
|
@ -0,0 +1 @@
|
|||
<?php // Silence is golden
|
Reference in a new issue