File tree Expand file tree Collapse file tree 6 files changed +88
-0
lines changed
Expand file tree Collapse file tree 6 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ end_of_line = lf
5+ insert_final_newline = true
6+ indent_style = space
7+ indent_size = 2
8+
9+ [* .php ]
10+ indent_style = tab
11+ indent_size = 4
12+
13+ [* .md ]
14+ indent_style = space
15+ indent_size = 4
Original file line number Diff line number Diff line change 1+ /vendor
2+ composer.lock
3+ _book
Original file line number Diff line number Diff line change 1+ # WP Contruct
2+
3+ ## Plugin Edition
4+
5+ Base library with plugin functionality to be extended on WordPress plugins
6+
7+ This library aims to gather some core logic usually needed in csrui plugins
8+ making it lighter on the final plugin side, remove code duplication and easier
9+ extending.
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " csrui/wp-construct-plugin" ,
3+ "description" : " Base library with plugin functionality to be extended on WordPress plugins" ,
4+ "license" : " MIT" ,
5+ "keywords" : [" wp" , " wordpress" ],
6+ "authors" : [
7+ {
8+ "name" : " Gulbenkian" ,
9+ 10+ }
11+ ],
12+ "require" : {},
13+ "require-dev" : {
14+ "phpunit/phpunit" : " 4.0.*"
15+ },
16+ "autoload" : {
17+ "psr-4" : {
18+ "csrui\\ WPConstruct\\ Plugin\\ " : " lib"
19+ }
20+ }
21+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <ruleset name =" log-Base" >
3+ <description >log coding standards for WordPress projects.</description >
4+
5+ <exclude-pattern >*/phpunit.xml*</exclude-pattern >
6+ <exclude-pattern >*/languages/*</exclude-pattern >
7+ <exclude-pattern >*/tests/*</exclude-pattern >
8+
9+ <exclude-pattern >*/node_modules/*</exclude-pattern >
10+ <exclude-pattern >*/vendor/*</exclude-pattern >
11+
12+ <!-- Yoda conditions, we must ignore -->
13+ <rule ref =" WordPress.PHP.YodaConditions.NotYoda" >
14+ <severity >0</severity >
15+ </rule >
16+
17+ <!-- Ignore lowercase filenames -->
18+ <rule ref =" Generic.Files.LowercasedFilename.NotFound" >
19+ <severity >0</severity >
20+ </rule >
21+
22+ <rule ref =" WordPress-Extra" />
23+ </ruleset >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <phpunit backupGlobals =" false"
3+ backupStaticAttributes =" false"
4+ bootstrap =" vendor/autoload.php"
5+ colors =" true"
6+ convertErrorsToExceptions =" true"
7+ convertNoticesToExceptions =" true"
8+ convertWarningsToExceptions =" true"
9+ processIsolation =" false"
10+ stopOnFailure =" false"
11+ syntaxCheck =" false" >
12+ <testsuites >
13+ <testsuite name =" WP Construct Plugin Test Suite" >
14+ <directory suffix =" .php" >./tests/</directory >
15+ </testsuite >
16+ </testsuites >
17+ </phpunit >
You can’t perform that action at this time.
0 commit comments