Minor changes in comments.

This commit is contained in:
Daniele Alessandri
2011-12-11 12:50:27 +01:00
parent dc9bd4e3a3
commit 8984af1201
4 changed files with 24 additions and 6 deletions
+1
View File
@@ -1,4 +1,5 @@
<?php
/*
* This file is part of the Predis package.
*
-3
View File
@@ -11,13 +11,10 @@
*/
// -------------------------------------------------------------------------- //
// In order to be able to execute this script to create a Phar archive of Predis,
// the Phar module must be loaded and the "phar.readonly" directive php.ini must
// be set to "off". You can change the values in the $options array to customize
// the creation of the Phar archive to better suit your needs.
// -------------------------------------------------------------------------- //
$options = array(
-3
View File
@@ -11,7 +11,6 @@
*/
// -------------------------------------------------------------------------- //
// This script can be used to automatically glue all the .php files of Predis
// into a single monolithic script file that can be used without an autoloader,
// just like the other previous versions of the library.
@@ -21,8 +20,6 @@
// when dealing with subclassing and inheritance.
//
// The current implementation is pretty naïve, but it should do for now.
//
// -------------------------------------------------------------------------- //
class CommandLine
+23
View File
@@ -10,6 +10,29 @@
* file that was distributed with this source code.
*/
// -------------------------------------------------------------------------- //
// This script can be used to automatically generate a file with the scheleton
// of a test case to test a Redis command by specifying the name of the class
// in the Predis\Commands namespace (only classes in this namespace are valid).
// For example, to generate a test case for SET (which is represented by the
// Predis\Commands\StringSet class):
//
// $ ./bin/generate-command-test.php --class=StringSet
//
// Here is a list of optional arguments:
//
// --realm: each command has its own realm (commands that operate on strings,
// lists, sets and such) but while this realm is usually inferred from the name
// of the specified class, sometimes it can be useful to override it with a
// custom one.
//
// --output: write the generated test case to the specified path instead of
// the default one.
//
// --overwrite: pre-existing test files are not overwritten unless this option
// is explicitly specified.
// -------------------------------------------------------------------------- //
use Predis\Commands\ICommand;
use Predis\Commands\IPrefixable;