Commit graph

7835 commits

Author SHA1 Message Date
Alain Schlesser
95f2a07fdf
Merge pull request #251 from wp-cli/feature/use-phpcs
Implement CS checking based on the `WP_CLI_CS` ruleset
2019-04-23 12:51:55 +02:00
Alain Schlesser
f6d5a679c5
Add missing import 2019-04-23 12:14:00 +02:00
Alain Schlesser
b571350e8b
Fix bug in option list command 2019-04-23 12:04:41 +02:00
Alain Schlesser
f33cacc40d
Fix typing bug in site management code 2019-04-23 11:58:00 +02:00
Alain Schlesser
ec25ca58b7
Fix bug in post generation 2019-04-23 11:41:47 +02:00
Alain Schlesser
c356e0ab72
Whitelist use of hard-coded SQL query parts 2019-04-23 10:56:39 +02:00
Alain Schlesser
2fc941c6d6
Avoid variable abbreviations 2019-04-23 10:53:23 +02:00
Alain Schlesser
fe2c33b47a
Make string usage consistent 2019-04-23 10:49:56 +02:00
Alain Schlesser
e9a2bbdee1
Improve conditional structures 2019-04-23 10:13:12 +02:00
Alain Schlesser
ef5238066c
Use shortened ternary 2019-04-23 09:58:55 +02:00
Alain Schlesser
3403a53e57
Avoid PHP-4 comparison functions 2019-04-23 09:58:32 +02:00
Alain Schlesser
5f2d680771
Remove unused code 2019-04-23 09:55:17 +02:00
Alain Schlesser
3d36d839f3
Automated whitespace fixes 2019-04-23 09:41:58 +02:00
Alain Schlesser
a504042917
Remove old-style PHPCS ignores 2019-04-23 09:41:26 +02:00
Alain Schlesser
f323174e27
Avoid variable abbreviations 2019-04-23 09:12:15 +02:00
Alain Schlesser
17876468d9
Fix up imports and namespaces 2019-04-23 09:04:28 +02:00
Thrijith Thankachan
f719f69f1e
PHPCS: Fix up errors in entity-command.php and tests directory 2019-04-23 00:09:49 +05:30
Thrijith Thankachan
7087a843fb
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in Taxonomy command
2019-04-22 20:53:58 +05:30
Thrijith Thankachan
967653101b
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in Comment command
2019-04-22 20:52:32 +05:30
Thrijith Thankachan
9150098f42
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in Menu command
2019-04-22 20:48:00 +05:30
Thrijith Thankachan
47de5f2117
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff 2019-04-22 20:36:10 +05:30
Thrijith Thankachan
f4d37e9118
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in Option command
2019-04-22 20:32:41 +05:30
Thrijith Thankachan
a877b0f35d
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in Post command
2019-04-22 20:24:25 +05:30
Thrijith Thankachan
d90e4e3c16
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in Site command
2019-04-22 20:01:53 +05:30
Thrijith Thankachan
8595f9fde3
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in Term command
2019-04-22 20:01:46 +05:30
Thrijith Thankachan
1f09a469c4
PHPCS: Update ruleset to exclude classes from PrefixAllGlobals.NonPrefixedClassFound sniff
Fix CS in User commands
2019-04-22 19:08:52 +05:30
Thrijith Thankachan
c528826a99
PHPCS: Update ruleset to exclude classes from MethodDeclaration.Underscore sniff
Fix CS in src/WP_CLI
2019-04-22 15:24:59 +05:30
Thrijith Thankachan
c263125d2a
PHPCS: Update ruleset to exclude calsses from NamingConventions sniff
Fix CS in src/WP_CLI/Fetchers
2019-04-22 12:51:31 +05:30
Thrijith Thankachan
3dcdde1af1
PHPCS: Fix up errors in src/WP_CLI/Entity 2019-04-22 12:40:45 +05:30
Thrijith Thankachan
59c5b8fe0e
PHPCS: Add new ruleset to the project
Update .distignore and .gitignore with phpcs/phpunit config files
Update wp-cli-tests to 2.1
2019-04-22 12:21:03 +05:30
Alain Schlesser
5447cd32ba
Merge pull request #247 from Sidsector9/feat/220
Allow deleting multiple options at once
2019-04-20 17:10:09 +02:00
Alain Schlesser
65181e5f51
Merge pull request #189 from Mte90/stdin
Check for `STDIN` if `--post_content` is used
2019-04-20 15:00:22 +02:00
Alain Schlesser
ffb67c9571
Consistently use curly braces in substitutions 2019-04-20 14:40:04 +02:00
Alain Schlesser
3a40f0c6b9
Mark test as @broken for now 2019-04-20 14:32:03 +02:00
Daniel Bachhuber
cfe115a252
Merge pull request #250 from localheinz/feature/php73
Enhancement: Add PHP 7.3 to Travis CI build matrix
2019-04-17 12:25:49 -07:00
Andreas Möller
72b861924e
Enhancement: Add PHP 7.3 to the Travis CI build matrix 2019-04-17 19:03:58 +02:00
Siddharth Thevaril
5590d1bfe9 feat: delete multiple options at once 2019-04-07 13:42:08 +05:30
Alain Schlesser
3eff3c38df
Merge pull request #246 from wojsmol/patch-1
Move PHP 5.4 tests from `WP_VERSION` `latest` to `5.1`
2019-04-06 11:10:23 +02:00
Wojciech Smoliński
4ba90dd273
Move PHP 5.4 tests from WP_VERSION latest to 5.1
Related wp-cli/wp-cli#5127
2019-04-06 02:53:14 +02:00
Alain Schlesser
c54664c8c6
Merge pull request #215 from BhargavBhandari90/Issue-GH-190
Harmonize representation of serialized and JSON-encoded meta values
2019-04-01 14:40:15 +02:00
Alain Schlesser
4f4992f73f
Merge pull request #244 from musicaljoeker/235
Fix logic error in presence of 'site meta' check
2019-04-01 14:10:15 +02:00
Joseph Kerkhof
cf56a62f69 Resolves issue 235 where error wasn't being thrown if 'site meta' isn't supported. 2019-03-31 14:28:22 -05:00
Alain Schlesser
a6e4c61893
Merge pull request #241 from atanas-angelov-dev/4573-add-count-to-post-type-and-taxonomy
Add count to post-type and taxonomy commands
2019-03-16 23:56:57 +01:00
Alain Schlesser
47f91a0931
Regenerate README file 2019-03-16 23:32:03 +01:00
Atanas Angelov
c561e95c7d Add count to post-type and taxonomy commands 2019-03-17 00:05:37 +02:00
Alain Schlesser
de1f95c573
Merge pull request #238 from wp-cli/regenerate-readme-v2
Regenerate README based on latest changes
2019-03-05 17:54:56 +01:00
Daniel Bachhuber
b77ffb8715
Delete CODEOWNERS 2019-03-05 08:48:23 -08:00
Daniel Bachhuber
1b278ea5ac
Create CODEOWNERS 2019-03-05 08:47:50 -08:00
Daniel Bachhuber
7b736091ae Regenerate README based on latest changes 2019-03-05 08:13:00 -08:00
Daniel Bachhuber
4d6076dafa
Apparently * matches all 2019-03-05 08:12:14 -08:00