X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fconsolidation%2Fannotated-command%2Ftests%2Fsrc%2Fbeta%2FBetaCommandFile.php;fp=vendor%2Fconsolidation%2Fannotated-command%2Ftests%2Fsrc%2Fbeta%2FBetaCommandFile.php;h=0000000000000000000000000000000000000000;hp=0427eebcd0c291a6b4e959db6f1dc629680c62ab;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/consolidation/annotated-command/tests/src/beta/BetaCommandFile.php b/vendor/consolidation/annotated-command/tests/src/beta/BetaCommandFile.php deleted file mode 100644 index 0427eebcd..000000000 --- a/vendor/consolidation/annotated-command/tests/src/beta/BetaCommandFile.php +++ /dev/null @@ -1,52 +0,0 @@ -input()->getOption('chinese')) { - $result[] = [ 'first' => '壹', 'second' => '貳', 'third' => '叁' ]; - } - - return $result; - } - - /** - * Demonstrate an alter hook with an option - * - * @hook alter * - * @option kanji Add a row with Kanji numbers. - * @usage example:table --kanji - */ - public function alterFormattersKanji($result, CommandData $commandData) - { - if ($commandData->input()->getOption('kanji')) { - $result[] = [ 'first' => '一', 'second' => '二', 'third' => '三' ]; - } - - return $result; - } -}