Skip to content

Commit

Permalink
Fix const docblock indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Jan 10, 2015
1 parent 9542949 commit f78a131
Show file tree
Hide file tree
Showing 20 changed files with 316 additions and 316 deletions.
24 changes: 12 additions & 12 deletions src/Console/ConsoleIo.php
Expand Up @@ -51,24 +51,24 @@ class ConsoleIo
protected $_in;

/**
* Output constant making verbose shells.
*
* @var int
*/
* Output constant making verbose shells.
*
* @var int
*/
const VERBOSE = 2;

/**
* Output constant for making normal shells.
*
* @var int
*/
* Output constant for making normal shells.
*
* @var int
*/
const NORMAL = 1;

/**
* Output constants for making quiet shells.
*
* @var int
*/
* Output constants for making quiet shells.
*
* @var int
*/
const QUIET = 0;

/**
Expand Down
32 changes: 16 additions & 16 deletions src/Console/ConsoleOutput.php
Expand Up @@ -44,31 +44,31 @@ class ConsoleOutput
{

/**
* Raw output constant - no modification of output text.
*
* @var int
*/
* Raw output constant - no modification of output text.
*
* @var int
*/
const RAW = 0;

/**
* Plain output - tags will be stripped.
*
* @var int
*/
* Plain output - tags will be stripped.
*
* @var int
*/
const PLAIN = 1;

/**
* Color output - Convert known tags in to ANSI color escape codes.
*
* @var int
*/
* Color output - Convert known tags in to ANSI color escape codes.
*
* @var int
*/
const COLOR = 2;

/**
* Constant for a newline.
*
* @var string
*/
* Constant for a newline.
*
* @var string
*/
const LF = PHP_EOL;

/**
Expand Down
24 changes: 12 additions & 12 deletions src/Console/Shell.php
Expand Up @@ -38,24 +38,24 @@ class Shell
use ModelAwareTrait;

/**
* Output constant making verbose shells.
*
* @var int
*/
* Output constant making verbose shells.
*
* @var int
*/
const VERBOSE = ConsoleIo::VERBOSE;

/**
* Output constant for making normal shells.
*
* @var int
*/
* Output constant for making normal shells.
*
* @var int
*/
const NORMAL = ConsoleIo::NORMAL;

/**
* Output constants for making quiet shells.
*
* @var int
*/
* Output constants for making quiet shells.
*
* @var int
*/
const QUIET = ConsoleIo::QUIET;

/**
Expand Down
8 changes: 4 additions & 4 deletions src/Controller/Component/AuthComponent.php
Expand Up @@ -39,10 +39,10 @@ class AuthComponent extends Component
use EventManagerTrait;

/**
* Constant for 'all'
*
* @var string
*/
* Constant for 'all'
*
* @var string
*/
const ALL = 'all';

/**
Expand Down
12 changes: 6 additions & 6 deletions src/Database/Expression/UnaryExpression.php
Expand Up @@ -26,15 +26,15 @@ class UnaryExpression implements ExpressionInterface
{

/**
* Indicates that the operation is in pre-order
*
*/
* Indicates that the operation is in pre-order
*
*/
const PREFIX = 0;

/**
* Indicates that the operation is in post-order
*
*/
* Indicates that the operation is in post-order
*
*/
const POSTFIX = 1;

/**
Expand Down
80 changes: 40 additions & 40 deletions src/Database/Schema/Table.php
Expand Up @@ -163,73 +163,73 @@ class Table
];

/**
* Primary constraint type
*
* @var string
*/
* Primary constraint type
*
* @var string
*/
const CONSTRAINT_PRIMARY = 'primary';

/**
* Unique constraint type
*
* @var string
*/
* Unique constraint type
*
* @var string
*/
const CONSTRAINT_UNIQUE = 'unique';

/**
* Foreign constraint type
*
* @var string
*/
* Foreign constraint type
*
* @var string
*/
const CONSTRAINT_FOREIGN = 'foreign';

/**
* Index - index type
*
* @var string
*/
* Index - index type
*
* @var string
*/
const INDEX_INDEX = 'index';

/**
* Fulltext index type
*
* @var string
*/
* Fulltext index type
*
* @var string
*/
const INDEX_FULLTEXT = 'fulltext';

/**
* Foreign key cascade action
*
* @var string
*/
* Foreign key cascade action
*
* @var string
*/
const ACTION_CASCADE = 'cascade';

/**
* Foreign key set null action
*
* @var string
*/
* Foreign key set null action
*
* @var string
*/
const ACTION_SET_NULL = 'setNull';

/**
* Foreign key no action
*
* @var string
*/
* Foreign key no action
*
* @var string
*/
const ACTION_NO_ACTION = 'noAction';

/**
* Foreign key restrict action
*
* @var string
*/
* Foreign key restrict action
*
* @var string
*/
const ACTION_RESTRICT = 'restrict';

/**
* Foreign key restrict default
*
* @var string
*/
* Foreign key restrict default
*
* @var string
*/
const ACTION_SET_DEFAULT = 'setDefault';

/**
Expand Down
30 changes: 15 additions & 15 deletions src/Filesystem/Folder.php
Expand Up @@ -24,27 +24,27 @@ class Folder
{

/**
* Default scheme for Folder::copy
* Recursively merges subfolders with the same name
*
* @var string
*/
* Default scheme for Folder::copy
* Recursively merges subfolders with the same name
*
* @var string
*/
const MERGE = 'merge';

/**
* Overwrite scheme for Folder::copy
* subfolders with the same name will be replaced
*
* @var string
*/
* Overwrite scheme for Folder::copy
* subfolders with the same name will be replaced
*
* @var string
*/
const OVERWRITE = 'overwrite';

/**
* Skip scheme for Folder::copy
* if a subfolder with the same name exists it will be skipped
*
* @var string
*/
* Skip scheme for Folder::copy
* if a subfolder with the same name exists it will be skipped
*
* @var string
*/
const SKIP = 'skip';

/**
Expand Down
28 changes: 14 additions & 14 deletions src/I18n/Parser/MoFileParser.php
Expand Up @@ -24,26 +24,26 @@ class MoFileParser
{

/**
* Magic used for validating the format of a MO file as well as
* detecting if the machine used to create that file was little endian.
*
* @var float
*/
* Magic used for validating the format of a MO file as well as
* detecting if the machine used to create that file was little endian.
*
* @var float
*/
const MO_LITTLE_ENDIAN_MAGIC = 0x950412de;

/**
* Magic used for validating the format of a MO file as well as
* detecting if the machine used to create that file was big endian.
*
* @var float
*/
* Magic used for validating the format of a MO file as well as
* detecting if the machine used to create that file was big endian.
*
* @var float
*/
const MO_BIG_ENDIAN_MAGIC = 0xde120495;

/**
* The size of the header of a MO file in bytes.
*
* @var int Number of bytes.
*/
* The size of the header of a MO file in bytes.
*
* @var int Number of bytes.
*/
const MO_HEADER_SIZE = 28;

/**
Expand Down

0 comments on commit f78a131

Please sign in to comment.