Skip to content
Permalink
Browse files

Make all doc block classes FQCN as per CS.

  • Loading branch information...
dereuromark committed Feb 2, 2016
1 parent 006c5a3 commit 72f533214612daf4fddb5d33e69979a0fe649968
Showing with 119 additions and 103 deletions.
  1. +3 −3 src/Auth/BaseAuthenticate.php
  2. +1 −1 src/Auth/BaseAuthorize.php
  3. +1 −1 src/Cache/Cache.php
  4. +2 −2 src/Cache/CacheRegistry.php
  5. +2 −2 src/Cache/Engine/MemcachedEngine.php
  6. +1 −1 src/Collection/Collection.php
  7. +1 −1 src/Collection/Iterator/TreeIterator.php
  8. +1 −1 src/Console/ConsoleErrorHandler.php
  9. +1 −1 src/Console/ConsoleInputSubcommand.php
  10. +1 −1 src/Console/Shell.php
  11. +1 −1 src/Console/TaskRegistry.php
  12. +1 −1 src/Controller/ComponentRegistry.php
  13. +1 −1 src/Core/Configure.php
  14. +1 −0 src/Core/Configure/FileConfigTrait.php
  15. +1 −1 src/Database/Connection.php
  16. +2 −2 src/Database/Dialect/SqlserverDialectTrait.php
  17. +1 −1 src/Database/Driver.php
  18. +7 −7 src/Database/Expression/CaseExpression.php
  19. +4 −4 src/Database/Expression/QueryExpression.php
  20. +1 −1 src/Database/Expression/TupleComparison.php
  21. +1 −1 src/Database/Expression/ValuesExpression.php
  22. +1 −0 src/Database/FieldTypeConverter.php
  23. +10 −10 src/Database/FunctionsBuilder.php
  24. +1 −1 src/Database/IdentifierQuoter.php
  25. +1 −1 src/Database/Log/LoggingStatement.php
  26. +3 −3 src/Database/Log/QueryLogger.php
  27. +19 −19 src/Database/Query.php
  28. +1 −0 src/Database/SqliteCompiler.php
  29. +1 −0 src/Database/SqlserverCompiler.php
  30. +2 −2 src/Database/Type.php
  31. +1 −0 src/Database/Type/DateType.php
  32. +2 −2 src/Database/TypeMapTrait.php
  33. +1 −1 src/Datasource/QueryCacher.php
  34. +1 −0 src/Datasource/RulesAwareTrait.php
  35. +1 −1 src/Error/BaseErrorHandler.php
  36. +5 −5 src/Error/ExceptionRenderer.php
  37. +1 −1 src/Filesystem/File.php
  38. +1 −0 src/I18n/DateFormatTrait.php
  39. +1 −1 src/Log/Log.php
  40. +2 −2 src/Mailer/Email.php
  41. +1 −0 src/Network/CorsBuilder.php
  42. +1 −1 src/Network/Response.php
  43. +1 −1 src/Network/Session.php
  44. +1 −1 src/ORM/Association.php
  45. +1 −1 src/ORM/Association/BelongsToMany.php
  46. +1 −1 src/ORM/AssociationCollection.php
  47. +1 −1 src/ORM/BehaviorRegistry.php
  48. +1 −1 src/ORM/EagerLoader.php
  49. +0 −1 src/ORM/LazyEagerLoader.php
  50. +1 −1 src/ORM/Locator/TableLocator.php
  51. +1 −1 src/ORM/Query.php
  52. +1 −1 src/ORM/ResultSet.php
  53. +1 −0 src/Shell/Helper/ProgressHelper.php
  54. +1 −0 src/Shell/Helper/TableHelper.php
  55. +1 −0 src/Shell/PluginShell.php
  56. +1 −0 src/Shell/Task/LoadTask.php
  57. +1 −0 src/Shell/Task/UnloadTask.php
  58. +1 −1 src/TestSuite/Fixture/FixtureInjector.php
  59. +1 −0 src/TestSuite/Stub/ConsoleOutput.php
  60. +2 −1 src/Utility/CookieCryptTrait.php
  61. +1 −1 src/Utility/Security.php
  62. +1 −0 src/Validation/RulesProvider.php
  63. +1 −1 src/View/Helper.php
  64. +0 −1 src/View/Helper/TextHelper.php
  65. +1 −1 src/View/HelperRegistry.php
  66. +1 −0 src/View/SerializedView.php
  67. +1 −1 src/View/View.php
  68. +1 −0 src/View/ViewBuilder.php
  69. +2 −2 src/View/Widget/WidgetRegistry.php
@@ -58,14 +58,14 @@ abstract class BaseAuthenticate implements EventListenerInterface
/**
* A Component registry, used to get more components.
*
* @var ComponentRegistry
* @var \Cake\Controller\ComponentRegistry
*/
protected $_registry;
/**
* Password hasher instance.
*
* @var AbstractPasswordHasher
* @var \Cake\Auth\AbstractPasswordHasher
*/
protected $_passwordHasher;
@@ -152,7 +152,7 @@ protected function _query($username)
/**
* Return password hasher object
*
* @return AbstractPasswordHasher Password hasher instance
* @return \Cake\Auth\AbstractPasswordHasher Password hasher instance
* @throws \RuntimeException If password hasher class not found or
* it does not extend AbstractPasswordHasher
*/
@@ -31,7 +31,7 @@ abstract class BaseAuthorize
/**
* ComponentRegistry instance for getting more components.
*
* @var ComponentRegistry
* @var \Cake\Controller\ComponentRegistry
*/
protected $_registry;
@@ -125,7 +125,7 @@ public static function registry(ObjectRegistry $registry = null)
if ($registry) {
static::$_registry = $registry;
}
if (empty(static::$_registry)) {
static::$_registry = new CacheRegistry();
}
@@ -63,10 +63,10 @@ protected function _throwMissingClassError($class, $plugin)
*
* Part of the template method for Cake\Core\ObjectRegistry::load()
*
* @param string|CacheEngine $class The classname or object to make.
* @param string|\Cake\Cache\CacheEngine $class The classname or object to make.
* @param string $alias The alias of the object.
* @param array $config An array of settings to use for the cache engine.
* @return CacheEngine The constructed CacheEngine class.
* @return \Cake\Cache\CacheEngine The constructed CacheEngine class.
* @throws \RuntimeException when an object doesn't implement the correct interface.
*/
protected function _create($class, $alias, $config)
@@ -96,7 +96,7 @@ class MemcachedEngine extends CacheEngine
*
* @param array $config array of setting for the engine
* @return bool True if the engine has been successfully initialized, false if not
* @throws InvalidArgumentException When you try use authentication without
* @throws \InvalidArgumentException When you try use authentication without
* Memcached compiled with SASL support
*/
public function init(array $config = [])
@@ -189,7 +189,7 @@ public function init(array $config = [])
* Settings the memcached instance
*
* @return void
* @throws InvalidArgumentException When the Memcached extension is not built
* @throws \InvalidArgumentException When the Memcached extension is not built
* with the desired serializer engine.
*/
protected function _setOptions()
@@ -34,7 +34,7 @@ class Collection extends IteratorIterator implements CollectionInterface, Serial
* Constructor. You can provide an array or any traversable object
*
* @param array|\Traversable $items Items.
* @throws InvalidArgumentException If passed incorrect type for items.
* @throws \InvalidArgumentException If passed incorrect type for items.
*/
public function __construct($items)
{
@@ -38,7 +38,7 @@ class TreeIterator extends RecursiveIteratorIterator
/**
* Constructor
*
* @param RecursiveIterator $items The iterator to flatten.
* @param \RecursiveIterator $items The iterator to flatten.
* @param int $mode Iterator mode.
* @param int $flags Iterator flags.
*/
@@ -28,7 +28,7 @@ class ConsoleErrorHandler extends BaseErrorHandler
/**
* Standard error stream.
*
* @var ConsoleOutput
* @var \Cake\Console\ConsoleOutput
*/
protected $_stderr;
@@ -44,7 +44,7 @@ class ConsoleInputSubcommand
/**
* The ConsoleOptionParser for this subcommand.
*
* @var ConsoleOptionParser
* @var \Cake\Console\ConsoleOptionParser
*/
protected $_parser;
@@ -137,7 +137,7 @@ class Shell
/**
* Task Collection for the command, used to create Tasks.
*
* @var TaskRegistry
* @var \Cake\Console\TaskRegistry
*/
public $Tasks;
@@ -28,7 +28,7 @@ class TaskRegistry extends ObjectRegistry
/**
* Shell to use to set params to tasks.
*
* @var Shell
* @var \Cake\Console\Shell
*/
protected $_Shell;
@@ -52,7 +52,7 @@ public function __construct(Controller $controller = null)
/**
* Get the controller associated with the collection.
*
* @return Controller Controller instance
* @return \Cake\Controller\Controller Controller instance
*/
public function getController()
{
@@ -346,7 +346,7 @@ public static function dump($key, $config = 'default', $keys = [])
* Will create new PhpConfig for default if not configured yet.
*
* @param string $config The name of the configured adapter
* @return ConfigEngineInterface|false Engine instance or false
* @return \Cake\Core\Configure\ConfigEngineInterface|false Engine instance or false
*/
protected static function _getEngine($config)
{
@@ -22,6 +22,7 @@
*/
trait FileConfigTrait
{
/**
* The path this engine finds files on.
*
@@ -80,7 +80,7 @@ class Connection implements ConnectionInterface
/**
* Logger object instance.
*
* @var QueryLogger
* @var \Cake\Database\Log\QueryLogger
*/
protected $_logger = null;
@@ -136,8 +136,8 @@ protected function _pagingSubquery($original, $limit, $offset)
* Returns the passed query after rewriting the DISTINCT clause, so that drivers
* that do not support the "ON" part can provide the actual way it should be done
*
* @param Query $original The query to be transformed
* @return Query
* @param \Cake\Database\Query $original The query to be transformed
* @return \Cake\Database\Query
*/
protected function _transformDistinct($original)
{
@@ -52,7 +52,7 @@ abstract class Driver
* Constructor
*
* @param array $config The configuration for the driver.
* @throws InvalidArgumentException
* @throws \InvalidArgumentException
*/
public function __construct($config = [])
{
@@ -44,16 +44,16 @@ class CaseExpression implements ExpressionInterface
/**
* The `ELSE` value for the case statement. If null then no `ELSE` will be included.
*
* @var string|ExpressionInterface|array|null
* @var string|\Cake\Database\ExpressionInterface|array|null
*/
protected $_elseValue = null;
/**
* Constructs the case expression
*
* @param array|ExpressionInterface $conditions The conditions to test. Must be a ExpressionInterface
* @param array|\Cake\Database\ExpressionInterface $conditions The conditions to test. Must be a ExpressionInterface
* instance, or an array of ExpressionInterface instances.
* @param array|ExpressionInterface $values associative array of values to be associated with the conditions
* @param array|\Cake\Database\ExpressionInterface $values associative array of values to be associated with the conditions
* passed in $conditions. If there are more $values than $conditions, the last $value is used as the `ELSE` value
* @param array $types associative array of types to be associated with the values
* passed in $values
@@ -76,8 +76,8 @@ public function __construct($conditions = [], $values = [], $types = [])
* Conditions must be a one dimensional array or a QueryExpression.
* The trueValues must be a similar structure, but may contain a string value.
*
* @param array|ExpressionInterface $conditions Must be a ExpressionInterface instance, or an array of ExpressionInterface instances.
* @param array|ExpressionInterface $values associative array of values of each condition
* @param array|\Cake\Database\ExpressionInterface $conditions Must be a ExpressionInterface instance, or an array of ExpressionInterface instances.
* @param array|\Cake\Database\ExpressionInterface $values associative array of values of each condition
* @param array $types associative array of types to be associated with the values
*
* @return $this
@@ -103,8 +103,8 @@ public function add($conditions = [], $values = [], $types = [])
* Iterates over the passed in conditions and ensures that there is a matching true value for each.
* If no matching true value, then it is defaulted to '1'.
*
* @param array|ExpressionInterface $conditions Must be a ExpressionInterface instance, or an array of ExpressionInterface instances.
* @param array|ExpressionInterface $values associative array of values of each condition
* @param array|\Cake\Database\ExpressionInterface $conditions Must be a ExpressionInterface instance, or an array of ExpressionInterface instances.
* @param array|\Cake\Database\ExpressionInterface $values associative array of values of each condition
* @param array $types associative array of types to be associated with the values
*
* @return void
@@ -54,7 +54,7 @@ class QueryExpression implements ExpressionInterface, Countable
* expression objects. Optionally, you can set the conjunction keyword to be used
* for joining each part of this level of the expression tree.
*
* @param string|array|QueryExpression $conditions tree-like array structure containing all the conditions
* @param string|array|\Cake\Database\Expression\QueryExpression $conditions tree-like array structure containing all the conditions
* to be added or nested inside this expression object.
* @param array|\Cake\Database\TypeMap $types associative array of types to be associated with the values
* passed in $conditions.
@@ -323,9 +323,9 @@ public function in($field, $values, $type = null)
/**
* Adds a new case expression to the expression object
*
* @param array|ExpressionInterface $conditions The conditions to test. Must be a ExpressionInterface
* @param array|\Cake\Database\ExpressionInterface $conditions The conditions to test. Must be a ExpressionInterface
* instance, or an array of ExpressionInterface instances.
* @param array|ExpressionInterface $values associative array of values to be associated with the conditions
* @param array|\Cake\Database\ExpressionInterface $values associative array of values to be associated with the conditions
* passed in $conditions. If there are more $values than $conditions, the last $value is used as the `ELSE` value
* @param array $types associative array of types to be associated with the values
* passed in $values
@@ -416,7 +416,7 @@ public function or_($conditions, $types = [])
* "NOT ( (condition1) AND (conditions2) )" conjunction depends on the one
* currently configured for this object.
*
* @param string|array|QueryExpression $conditions to be added and negated
* @param string|array|\Cake\Database\Expression\QueryExpression $conditions to be added and negated
* @param array $types associative array of fields pointing to the type of the
* values that are being passed. Used for correctly binding values to statements.
* @return $this
@@ -30,7 +30,7 @@ class TupleComparison extends Comparison
* Constructor
*
* @param string|array $fields the fields to use to form a tuple
* @param array|ExpressionInterface $values the values to use to form a tuple
* @param array|\Cake\Database\ExpressionInterface $values the values to use to form a tuple
* @param array $types the types names to use for casting each of the values, only
* one type per position in the value array in needed
* @param string $conjunction the operator used for comparing field and value
@@ -69,7 +69,7 @@ public function __construct(array $columns, $typeMap)
/**
* Add a row of data to be inserted.
*
* @param array|Query $data Array of data to append into the insert, or
* @param array|\Cake\Database\Query $data Array of data to append into the insert, or
* a query for doing INSERT INTO .. SELECT style commands
* @return void
* @throws \Cake\Database\Exception When mixing array + Query data types.
@@ -22,6 +22,7 @@
*/
class FieldTypeConverter
{
/**
* An array containing the name of the fields and the Type objects
* each should use when converting them.
@@ -32,7 +32,7 @@ class FunctionsBuilder
* @param array $params list of params to be passed to the function
* @param array $types list of types for each function param
* @param string $return The return type of the function expression
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
protected function _build($name, $params = [], $types = [], $return = 'string')
{
@@ -47,7 +47,7 @@ protected function _build($name, $params = [], $types = [], $return = 'string')
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @param string $return The return type for the function
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
protected function _literalArgumentFunction($name, $expression, $types = [], $return = 'string')
{
@@ -64,7 +64,7 @@ protected function _literalArgumentFunction($name, $expression, $types = [], $re
*
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function sum($expression, $types = [])
{
@@ -80,7 +80,7 @@ public function sum($expression, $types = [])
*
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function avg($expression, $types = [])
{
@@ -92,7 +92,7 @@ public function avg($expression, $types = [])
*
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function max($expression, $types = [])
{
@@ -104,7 +104,7 @@ public function max($expression, $types = [])
*
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function min($expression, $types = [])
{
@@ -116,7 +116,7 @@ public function min($expression, $types = [])
*
* @param mixed $expression the function argument
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function count($expression, $types = [])
{
@@ -128,7 +128,7 @@ public function count($expression, $types = [])
*
* @param array $args List of strings or expressions to concatenate
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function concat($args, $types = [])
{
@@ -140,7 +140,7 @@ public function concat($args, $types = [])
*
* @param array $args List of expressions to evaluate as function parameters
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function coalesce($args, $types = [])
{
@@ -153,7 +153,7 @@ public function coalesce($args, $types = [])
*
* @param array $args List of expressions to obtain the difference in days.
* @param array $types list of types to bind to the arguments
* @return FunctionExpression
* @return \Cake\Database\Expression\FunctionExpression
*/
public function dateDiff($args, $types = [])
{
@@ -191,7 +191,7 @@ protected function _quoteInsert($query)
protected function _quoteUpdate($query)
{
$table = $query->clause('update')[0];
if (is_string($table)) {
$query->update($this->_driver->quoteIdentifier($table));
}
@@ -28,7 +28,7 @@ class LoggingStatement extends StatementDecorator
/**
* Logger instance responsible for actually doing the logging task
*
* @var QueryLogger
* @var \Cake\Database\Log\QueryLogger
*/
protected $_logger;
Oops, something went wrong.

0 comments on commit 72f5332

Please sign in to comment.
You can’t perform that action at this time.