Skip to content

Commit b3ccb1c

Browse files
Initial plugin bootstrap.
0 parents  commit b3ccb1c

File tree

10 files changed

+3143
-0
lines changed

10 files changed

+3143
-0
lines changed

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
WordPress Coding Standards
2+
# https://make.wordpress.org/core/handbook/coding-standards/
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
indent_style = tab
12+
13+
[{.babelrc,.eslintrc,.jshintrc,*.json,*.yml}]
14+
indent_style = space
15+
indent_size = 2
16+
17+
[{*.md}]
18+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Default behavior
2+
* text=auto
3+
4+
# Text files
5+
*.php text
6+
*.css text
7+
*.js text
8+
*.md text
9+
10+
# Binary files
11+
*.png binary
12+
*.jpg binary
13+
*.gif binary
14+
*.ico binary

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.DS_Store
2+
node_modules/
3+
logs/
4+
publish/
5+
docs/
6+
vendor/

LICENSE

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Developer Debug Toolkit
2+
3+
Code debug made easier and more enjoyable. This WordPress plugin includes a suite of developer essential tools to debug your code.
4+
5+
Tools include:
6+
7+
* [Whoops - the "PHP errors for cool kids"](http://filp.github.io/whoops/)
8+
* [VarDumper Component](https://symfony.com/doc/current/components/var_dumper.html)

composer.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "knowthecode/debug-toolkit",
3+
"type": "wordpress-plugin",
4+
"description": "Code debug made easier and more enjoyable.",
5+
"homepage": "https://github.com/KnowTheCode/debug-toolkit",
6+
"license": "GPL-2.0-or-later",
7+
"require": {
8+
"php": "^5.6 || ^7",
9+
"composer/installers": "^1",
10+
"filp/whoops": "^2.3",
11+
"symfony/var-dumper": "^3.4"
12+
},
13+
"require-dev": {
14+
"php": "^5.6 || ^7",
15+
"brain/monkey": "^2",
16+
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
17+
"phpcompatibility/phpcompatibility-wp": "^2",
18+
"phpunit/phpunit": "^5",
19+
"roave/security-advisories": "dev-master",
20+
"squizlabs/php_codesniffer": "^3.3",
21+
"wp-coding-standards/wpcs": "^1"
22+
},
23+
"config": {
24+
"sort-order": true
25+
},
26+
"autoload-dev": {
27+
"psr-4": {
28+
"KnowTheCode\\DebugToolkit\\Tests\\": "tests/"
29+
}
30+
},
31+
"minimum-stability": "dev",
32+
"prefer-stable": true,
33+
"scripts": {
34+
"install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
35+
"integration-test": "phpunit --testsuite integration",
36+
"phpcs": "phpcs && phpcs ./tests -sp --standard=PHPCompatibilityWP --runtime-set testVersion 5.6-",
37+
"phpcs-fixed": "phpcs *.php assets config images lib/css lib/js lib/languages lib/shortcodes lib/*.php tests && phpcs ./tests -sp --standard=PHPCompatibility --runtime-set testVersion 5.6-",
38+
"system-test": "phpunit --testsuite system",
39+
"test": [
40+
"@unit-test",
41+
"@integration-test",
42+
"@system-test"
43+
],
44+
"unit-test": "phpunit --testsuite unit"
45+
},
46+
"support": {
47+
"issues": "https://github.com/KnowTheCode/debug-toolkit/issues",
48+
"source": "https://github.com/KnowTheCode/debug-toolkit"
49+
}
50+
}

0 commit comments

Comments
 (0)