Browse Source

Added missing properties

Ondrej Mirtes 9 years ago
parent
commit
1796680ccb

+ 5 - 0
src/Cache/Engine/MemcachedEngine.php

@@ -89,6 +89,11 @@ class MemcachedEngine extends CacheEngine
     protected $_serializers = [];
 
     /**
+     * @var string[]
+     */
+    protected $_compiledGroupNames = [];
+
+    /**
      * Initialize the Cache Engine
      *
      * Called automatically by the cache frontend

+ 7 - 0
src/Database/Schema/SqliteSchema.php

@@ -31,6 +31,13 @@ class SqliteSchema extends BaseSchema
     protected $_constraintsIdMap = [];
 
     /**
+     * Whether there is any table in this connection to SQLite containing sequences.
+     *
+     * @var bool
+     */
+    protected $_hasSequences;
+
+    /**
      * Convert a column definition to the abstract types.
      *
      * The returned type will be a type that

+ 10 - 0
src/Datasource/QueryCacher.php

@@ -30,6 +30,16 @@ class QueryCacher
 {
 
     /**
+     * @var string|callable
+     */
+    protected $_key;
+
+    /**
+     * @var string|CacheEngine
+     */
+    protected $_config;
+
+    /**
      * Constructor.
      *
      * @param string|\Closure $key The key or function to generate a key.

+ 1 - 1
src/ORM/Association/Loader/SelectWithPivotLoader.php

@@ -171,7 +171,7 @@ class SelectWithPivotLoader extends SelectLoader
             if (!isset($result[$this->junctionProperty])) {
                 throw new RuntimeException(sprintf(
                     '"%s" is missing from the belongsToMany results. Results cannot be created.',
-                    $this->_junctionProperty
+                    $this->junctionProperty
                 ));
             }
 

+ 5 - 0
src/Shell/I18nShell.php

@@ -35,6 +35,11 @@ class I18nShell extends Shell
     public $tasks = ['Extract'];
 
     /**
+     * @var string[]
+     */
+    protected $_paths;
+
+    /**
      * Override main() for help message hook
      *
      * @return void

+ 4 - 0
src/Shell/PluginShell.php

@@ -19,6 +19,10 @@ use Cake\Core\Plugin;
 
 /**
  * Shell for tasks related to plugins.
+ *
+ * @property \Cake\Shell\Task\AssetsTask $Assets
+ * @property \Cake\Shell\Task\LoadTask $Load
+ * @property \Cake\Shell\Task\UnloadTask $Unload
  */
 class PluginShell extends Shell
 {

+ 6 - 0
src/TestSuite/LegacyRequestDispatcher.php

@@ -25,6 +25,12 @@ use Cake\TestSuite\Stub\Response;
  */
 class LegacyRequestDispatcher
 {
+
+    /**
+     * @var \Cake\TestSuite\IntegrationTestCase
+     */
+    protected $_test;
+
     /**
      * Constructor
      *