Alain Schlesser
09d7983ca9
Ignore log files
2018-09-13 18:39:20 +02:00
Alain Schlesser
b8e8660261
Merge pull request #172 from thrijith/GH-164
...
Remove Inflector Class
2018-08-28 18:22:13 +02:00
Alain Schlesser
70ecba56b3
Merge pull request #171 from jrfnl/feature/fix-phpcs-ruleset-template
...
PHPCS template: fix XML error in ruleset
2018-08-14 19:05:41 +02:00
jrfnl
146c03d561
PHPCS template: fix XML error in ruleset
2018-08-12 23:55:13 +02:00
Alain Schlesser
a9257ac807
Merge pull request #170 from wojsmol/rerun
...
Automatically rerun failed scenarios
2018-08-10 10:23:07 +02:00
Wojciech Smoliński
209d6a99b6
Automatically rerun failed scenarios
2018-08-10 07:01:00 +02:00
Alain Schlesser
d9b4033fea
Merge pull request #168 from wp-cli/v2-prep
...
Update dependencies
2018-08-05 16:28:43 +02:00
Alain Schlesser
f5e237ad8b
Update dependencies
2018-08-05 15:23:54 +02:00
Alain Schlesser
dbca428664
Merge pull request #167 from wp-cli/add-behat-yml-file
...
Add `behat.yml` file for Windows compatibility
2018-08-05 08:47:31 +02:00
Alain Schlesser
ac9d9f32a2
Add behat.yml
file for Windows compatibility
2018-08-04 22:38:51 +02:00
Alain Schlesser
aca95dcc3e
Merge pull request #166 from wp-cli/adapt-for-v2
...
Adapt package for framework v2
2018-08-04 20:19:46 +02:00
Alain Schlesser
4ce3869c81
Add higher timeout config value
2018-08-04 18:06:00 +02:00
Alain Schlesser
5ce5c31411
Merge branch 'adapt-for-v2' of https://github.com/wp-cli/scaffold-command into adapt-for-v2
2018-08-04 17:53:57 +02:00
Pascal Birchler
98bfb02c84
Add missing dev dependency
2018-08-04 16:40:13 +02:00
Alain Schlesser
1699994852
Normalize composer.json file
2018-08-04 16:25:32 +02:00
Alain Schlesser
03cca7ff48
Adapt package for framework v2
2018-08-04 14:47:41 +02:00
Alain Schlesser
c740acb2b0
Merge pull request #161 from NicktheGeek/update-phpcs-rules
...
change to .phpcs.xml.dist and update rules
2018-07-29 17:02:24 +02:00
Alain Schlesser
a7e11e3b60
Merge pull request #163 from wojsmol/patch-1
...
Correct add_new_item label
2018-07-24 16:03:13 +02:00
Nick Croft
8c87dd7c57
update test for verifying the ruleset contents
2018-07-20 16:26:07 -04:00
Nick Croft
059a0d3f9a
update to handle additional phpcs rule files
2018-07-20 16:20:26 -04:00
Nick Croft
837e1d8fb6
update tests and distignore for .phpcs.xml.dist
2018-07-20 16:09:57 -04:00
Nick Croft
864e0a3cc5
remove leading .
2018-07-20 15:50:06 -04:00
Nick Croft
f0cafe6ec4
add comments and update rule ref
...
also converts spaces to tabs
2018-07-20 14:43:02 -04:00
Nick Croft
9af3b42623
add placeholder for prefix and textdomain rules
2018-07-20 14:06:05 -04:00
Nick Croft
5b58784c5d
update based on more PR feedback
...
change the the ruleset name and add a comment explaining parellel processing.
2018-07-20 14:01:03 -04:00
Wojciech Smoliński
188a6dff8c
Correct add_new_item label
...
fixes https://github.com/wp-cli/scaffold-command/issues/160
2018-07-20 19:48:20 +02:00
Alain Schlesser
f5294b0927
Merge pull request #162 from NicktheGeek/update-plugin-scaffold-wpcs
...
Exclude string from escape warning
2018-07-20 17:13:57 +02:00
Nick Croft
f805b45fd9
updates per pr feedback
2018-07-20 10:16:23 -04:00
Nick Croft
4659e5ee60
add comments for blank values
2018-07-20 09:24:37 -04:00
Nick Croft
b4f410700a
Exclude string from escape warning
...
The bootstrap.php file generates an error in wpcs sniff because there are two unescapped items. This error is generated with the WordPress files are not loaded by the bootstrap file, so the escape functions are not available.
The solve is to use a line comment that will prevent that from generating an error in the sniff.
2018-07-20 09:16:00 -04:00
Nick Croft
476440ee61
change to .phpcs.xml.dist and update rules
...
The .phpcs.xml.dist rule file is detected and implemented automatically, reducing complexity for running phpcs.
The updated rules account for new wpcs sniff properties including the ability to check global prefix and i18n implementation with the correct text domain when specified.
The values have been left blank so the sniffs are generic, but the rules are in place to make it easier to get started by scaffold.
2018-07-20 08:53:58 -04:00
Alain Schlesser
1ce901770f
Merge pull request #159 from CodeProKid/feature/139
...
fixes #139 adding --woocommerce flag to scaffold _s command
2018-07-20 08:43:45 +02:00
CodeProKid
e913d4b4a5
#50 adding missing period in comment
2018-07-20 00:29:12 -06:00
CodeProKid
581b4a03d4
#139 adding missing character in test
2018-07-19 23:30:55 -06:00
CodeProKid
0655dd0879
fixes #139 adding --woocommerce flag to scaffold _s command
2018-07-19 23:28:09 -06:00
Alain Schlesser
e28864e446
Merge pull request #153 from thrijith/issue/150
...
Add escaping for block title
2018-06-04 08:41:25 +02:00
Alain Schlesser
fa6dd6a72e
Merge pull request #154 from yousan/master
...
Add PHPCompatibility sniffs to scaffolded
2018-06-03 09:57:35 +02:00
Yousan_O
f1e3e5355f
Fixed indent
2018-06-03 14:57:31 +09:00
Yousan_O
08b9c5e72c
Add test case to fail
2018-06-03 13:51:59 +09:00
Thrijith Thankachan
0ca618cbb1
Fix test failure due to block title
2018-05-30 19:17:29 +05:30
Thrijith Thankachan
c1e4b423aa
Add escaping for block title
2018-05-30 17:16:33 +05:30
Alain Schlesser
0dfa5e9870
Merge pull request #151 from ajitbohra/patch-1
...
Remove 'wp-blocks' from style dependency
2018-05-19 13:48:16 +02:00
Ajit Bohra
e704079990
Remove 'wp-blocks' from style dependency
2018-05-18 16:41:50 +05:30
Alain Schlesser
3f7b6168b9
Merge pull request #149 from JasonTheAdams/refactored-circleci-with-aliases
...
Refactor circleci with aliases to reduce redundancy
Fixes #148
2018-05-08 19:31:04 +02:00
Alain Schlesser
302dfc9509
Merge pull request #147 from salcode/sf/function-exists-146
...
Add function_exists() check to block PHP template
2018-05-08 15:33:45 +02:00
Sal Ferrarello
a7441a6d15
Add function_exists() check to block PHP template
...
Check for the existance of the function register_block_type() in the PHP
code when creating a block.
Since Gutenberg has not yet been merged into core, currently the function
register_block_type() is only defined if the Gutenberg plugin is installed
and activated.
See #146
2018-05-08 06:26:59 -04:00
Jason Adams
29a228211e
Reduced circleci redundancies with aliases
2018-04-24 14:09:19 -07:00
Alain Schlesser
fcf280bf89
Merge pull request #143 from wp-cli/refresh-scaffold-files
...
Update scaffolded files
2018-04-20 20:37:18 +02:00
Alain Schlesser
73c0f0cc78
Merge branch 'master' into refresh-scaffold-files
2018-04-20 20:07:48 +02:00
Alain Schlesser
92df613b0b
Merge pull request #145 from wp-cli/144-fix-php-72-unit-test-incompatibility
...
Skip PHPUnit tests for PHP 7.2+
2018-04-20 20:07:19 +02:00