diff options
Diffstat (limited to 'scripts/dev/generate-phpt/src/setup/preconditions/gtIsSpecifiedFunctionOrMethod.php')
-rw-r--r-- | scripts/dev/generate-phpt/src/setup/preconditions/gtIsSpecifiedFunctionOrMethod.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/dev/generate-phpt/src/setup/preconditions/gtIsSpecifiedFunctionOrMethod.php b/scripts/dev/generate-phpt/src/setup/preconditions/gtIsSpecifiedFunctionOrMethod.php deleted file mode 100644 index 0d2b6df7f5..0000000000 --- a/scripts/dev/generate-phpt/src/setup/preconditions/gtIsSpecifiedFunctionOrMethod.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -/** - * Check that either a method or a function is specified - * - */ -class gtIsSpecifiedFunctionOrMethod extends gtPreCondition { - - public function check( $clo) { - return $clo->hasOption('f') || $clo->hasOption('m'); - } - - public function getMessage() { - return gtText::get('functionOrMethodNotSpecified'); - } -} -?> |