OSDN Git Service

Revert "remove redundant array_filter() around preg_split()"
authorscribu <mail@scribu.net>
Tue, 30 Jul 2013 02:05:19 +0000 (05:05 +0300)
committerscribu <mail@scribu.net>
Tue, 30 Jul 2013 02:10:11 +0000 (05:10 +0300)
commitb9325dbe15c87fa5955b8bcfaf59a8fb5ae8acfe
tree4bc26d106d9e58dc6c842a99546c792cf8053d0e
parente8ea7f5b62baeb860cdc329a029d2cbc854f2d5c
Revert "remove redundant array_filter() around preg_split()"

This reverts commit e8ea7f5b62baeb860cdc329a029d2cbc854f2d5c.

It's not redundant when the synopsis has leading or trailing whitespace
or when it's an empty string.
php/WP_CLI/SynopsisParser.php