Skip to content
This repository
Browse code

Adding 'public' visibility to all public methods.

  • Loading branch information...
commit 438050dcaa4675c7d782d8b4d0b66ccca53f9e27 1 parent 9f9b368
Renan Gonçalves authored May 30, 2011

Showing 162 changed files with 2,234 additions and 2,234 deletions. Show diff stats Hide diff stats

  1. 2  lib/Cake/Console/Command/AclShell.php
  2. 4  lib/Cake/Console/Command/SchemaShell.php
  3. 2  lib/Cake/Console/Command/Task/PluginTask.php
  4. 2  lib/Cake/Console/Command/Task/ProjectTask.php
  5. 12  lib/Cake/Console/Command/UpgradeShell.php
  6. 2  lib/Cake/Console/ConsoleOutput.php
  7. 2  lib/Cake/Console/Shell.php
  8. 4  lib/Cake/Console/templates/skel/Config/Schema/db_acl.php
  9. 4  lib/Cake/Console/templates/skel/Config/Schema/i18n.php
  10. 4  lib/Cake/Console/templates/skel/Config/Schema/sessions.php
  11. 2  lib/Cake/Controller/Component/Auth/ControllerAuthorize.php
  12. 2  lib/Cake/Controller/Component/RequestHandlerComponent.php
  13. 2  lib/Cake/Controller/Component/SecurityComponent.php
  14. 2  lib/Cake/Test/Case/BasicsTest.php
  15. 36  lib/Cake/Test/Case/Cache/CacheTest.php
  16. 16  lib/Cake/Test/Case/Cache/Engine/ApcEngineTest.php
  17. 26  lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
  18. 36  lib/Cake/Test/Case/Cache/Engine/MemcacheTest.php
  19. 18  lib/Cake/Test/Case/Cache/Engine/XcacheTest.php
  20. 10  lib/Cake/Test/Case/Configure/IniReaderTest.php
  21. 12  lib/Cake/Test/Case/Configure/PhpReaderTest.php
  22. 2  lib/Cake/Test/Case/Console/Command/AclShellTest.php
  23. 8  lib/Cake/Test/Case/Console/Command/CommandListShellTest.php
  24. 30  lib/Cake/Test/Case/Console/Command/ShellTest.php
  25. 12  lib/Cake/Test/Case/Console/Command/Task/ControllerTaskTest.php
  26. 4  lib/Cake/Test/Case/Console/Command/Task/ExtractTaskTest.php
  27. 2  lib/Cake/Test/Case/Console/Command/Task/FixtureTaskTest.php
  28. 12  lib/Cake/Test/Case/Console/Command/Task/ModelTaskTest.php
  29. 2  lib/Cake/Test/Case/Console/Command/Task/ProjectTaskTest.php
  30. 4  lib/Cake/Test/Case/Console/Command/Task/TestTaskTest.php
  31. 8  lib/Cake/Test/Case/Console/Command/Task/ViewTaskTest.php
  32. 14  lib/Cake/Test/Case/Console/ConsoleErrorHandlerTest.php
  33. 60  lib/Cake/Test/Case/Console/ConsoleOptionParserTest.php
  34. 32  lib/Cake/Test/Case/Console/ConsoleOutputTest.php
  35. 24  lib/Cake/Test/Case/Console/HelpFormatterTest.php
  36. 14  lib/Cake/Test/Case/Console/TaskCollectionTest.php
  37. 38  lib/Cake/Test/Case/Controller/Component/AclComponentTest.php
  38. 10  lib/Cake/Test/Case/Controller/Component/Auth/ActionsAuthorizeTest.php
  39. 20  lib/Cake/Test/Case/Controller/Component/Auth/BasicAuthenticateTest.php
  40. 10  lib/Cake/Test/Case/Controller/Component/Auth/ControllerAuthorizeTest.php
  41. 14  lib/Cake/Test/Case/Controller/Component/Auth/CrudAuthorizeTest.php
  42. 22  lib/Cake/Test/Case/Controller/Component/Auth/DigestAuthenticateTest.php
  43. 18  lib/Cake/Test/Case/Controller/Component/Auth/FormAuthenticateTest.php
  44. 94  lib/Cake/Test/Case/Controller/Component/AuthComponentTest.php
  45. 40  lib/Cake/Test/Case/Controller/Component/CookieComponentTest.php
  46. 38  lib/Cake/Test/Case/Controller/Component/EmailComponentTest.php
  47. 42  lib/Cake/Test/Case/Controller/Component/PaginatorComponentTest.php
  48. 76  lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
  49. 100  lib/Cake/Test/Case/Controller/Component/SecurityComponentTest.php
  50. 22  lib/Cake/Test/Case/Controller/Component/SessionComponentTest.php
  51. 18  lib/Cake/Test/Case/Controller/ComponentCollectionTest.php
  52. 20  lib/Cake/Test/Case/Controller/ComponentTest.php
  53. 12  lib/Cake/Test/Case/Controller/ControllerMergeVarsTest.php
  54. 82  lib/Cake/Test/Case/Controller/ControllerTest.php
  55. 4  lib/Cake/Test/Case/Controller/PagesControllerTest.php
  56. 38  lib/Cake/Test/Case/Controller/ScaffoldTest.php
  57. 36  lib/Cake/Test/Case/Core/AppTest.php
  58. 30  lib/Cake/Test/Case/Core/ConfigureTest.php
  59. 64  lib/Cake/Test/Case/Core/ObjectTest.php
  60. 20  lib/Cake/Test/Case/Error/ErrorHandlerTest.php
  61. 44  lib/Cake/Test/Case/Error/ExceptionRendererTest.php
  62. 92  lib/Cake/Test/Case/I18n/I18nTest.php
  63. 8  lib/Cake/Test/Case/I18n/L10nTest.php
  64. 58  lib/Cake/Test/Case/I18n/MultibyteTest.php
  65. 16  lib/Cake/Test/Case/Log/CakeLogTest.php
  66. 4  lib/Cake/Test/Case/Log/Engine/FileLog.php
  67. 4  lib/Cake/Test/Case/Model/Behavior/AclBehaviorTest.php
  68. 44  lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php
  69. 44  lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php
  70. 2  lib/Cake/Test/Case/Model/Behavior/TreeBehaviorAfterTest.php
  71. 88  lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php
  72. 10  lib/Cake/Test/Case/Model/Behavior/TreeBehaviorScopedTest.php
  73. 80  lib/Cake/Test/Case/Model/BehaviorCollectionTest.php
  74. 42  lib/Cake/Test/Case/Model/CakeSchemaTest.php
  75. 22  lib/Cake/Test/Case/Model/ConnectionManagerTest.php
  76. 68  lib/Cake/Test/Case/Model/Datasource/CakeSessionTest.php
  77. 136  lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
  78. 8  lib/Cake/Test/Case/Model/Datasource/Database/OracleTest.php
  79. 48  lib/Cake/Test/Case/Model/Datasource/Database/PostgresTest.php
  80. 10  lib/Cake/Test/Case/Model/Datasource/Database/SqliteTest.php
  81. 42  lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
  82. 12  lib/Cake/Test/Case/Model/Datasource/Session/CacheSessionTest.php
  83. 18  lib/Cake/Test/Case/Model/Datasource/Session/DatabaseSessionTest.php
  84. 14  lib/Cake/Test/Case/Model/DbAclTest.php
  85. 32  lib/Cake/Test/Case/Model/ModelDeleteTest.php
  86. 60  lib/Cake/Test/Case/Model/ModelIntegrationTest.php
  87. 104  lib/Cake/Test/Case/Model/ModelReadTest.php
  88. 4  lib/Cake/Test/Case/Model/ModelTestBase.php
  89. 16  lib/Cake/Test/Case/Model/ModelValidationTest.php
  90. 126  lib/Cake/Test/Case/Model/ModelWriteTest.php
  91. 52  lib/Cake/Test/Case/Model/models.php
  92. 72  lib/Cake/Test/Case/Network/CakeRequestTest.php
  93. 20  lib/Cake/Test/Case/Network/CakeSocketTest.php
  94. 2  lib/Cake/Test/Case/Network/Email/CakeEmailTest.php
  95. 2  lib/Cake/Test/Case/Network/Http/DigestAuthenticationTest.php
  96. 12  lib/Cake/Test/Case/Routing/DispatcherTest.php
  97. 46  lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
  98. 6  lib/Cake/Test/Case/Routing/Route/PluginShortRouteTest.php
  99. 4  lib/Cake/Test/Case/Routing/Route/RedirectRouteTest.php
  100. 100  lib/Cake/Test/Case/Routing/RouterTest.php
  101. 20  lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
  102. 26  lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
  103. 24  lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
  104. 10  lib/Cake/Test/Case/TestSuite/HtmlCoverageReportTest.php
  105. 8  lib/Cake/Test/Case/Utility/ClassRegistryTest.php
  106. 22  lib/Cake/Test/Case/Utility/DebuggerTest.php
  107. 38  lib/Cake/Test/Case/Utility/FileTest.php
  108. 50  lib/Cake/Test/Case/Utility/FolderTest.php
  109. 30  lib/Cake/Test/Case/Utility/InflectorTest.php
  110. 28  lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
  111. 20  lib/Cake/Test/Case/Utility/SanitizeTest.php
  112. 10  lib/Cake/Test/Case/Utility/SecurityTest.php
  113. 70  lib/Cake/Test/Case/Utility/SetTest.php
  114. 18  lib/Cake/Test/Case/Utility/StringTest.php
  115. 152  lib/Cake/Test/Case/Utility/ValidationTest.php
  116. 6  lib/Cake/Test/Case/Utility/XmlTest.php
  117. 32  lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
  118. 226  lib/Cake/Test/Case/View/Helper/FormHelperTest.php
  119. 56  lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
  120. 28  lib/Cake/Test/Case/View/Helper/JqueryEngineHelperTest.php
  121. 90  lib/Cake/Test/Case/View/Helper/JsHelperTest.php
  122. 26  lib/Cake/Test/Case/View/Helper/MootoolsEngineHelperTest.php
  123. 26  lib/Cake/Test/Case/View/Helper/NumberHelperTest.php
  124. 80  lib/Cake/Test/Case/View/Helper/PaginatorHelperTest.php
  125. 26  lib/Cake/Test/Case/View/Helper/PrototypeEngineHelperTest.php
  126. 22  lib/Cake/Test/Case/View/Helper/RssHelperTest.php
  127. 14  lib/Cake/Test/Case/View/Helper/SessionHelperTest.php
  128. 30  lib/Cake/Test/Case/View/Helper/TextHelperTest.php
  129. 52  lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
  130. 16  lib/Cake/Test/Case/View/HelperCollectionTest.php
  131. 46  lib/Cake/Test/Case/View/HelperTest.php
  132. 16  lib/Cake/Test/Case/View/MediaViewTest.php
  133. 22  lib/Cake/Test/Case/View/ThemeViewTest.php
  134. 90  lib/Cake/Test/Case/View/ViewTest.php
  135. 8  lib/Cake/Test/Fixture/AssertTagsTestCase.php
  136. 2  lib/Cake/Test/test_app/Console/Command/SampleShell.php
  137. 8  lib/Cake/Test/test_app/Controller/TestsAppsController.php
  138. 8  lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
  139. 2  lib/Cake/Test/test_app/Lib/Log/Engine/TestAppLog.php
  140. 12  lib/Cake/Test/test_app/Model/Datasource/Test2OtherSource.php
  141. 12  lib/Cake/Test/test_app/Model/Datasource/Test2Source.php
  142. 2  lib/Cake/Test/test_app/Plugin/TestPlugin/Console/Command/ExampleShell.php
  143. 4  lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestPluginController.php
  144. 4  lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestsController.php
  145. 2  lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Log/Engine/TestPluginLog.php
  146. 2  lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/Database/DboDummy.php
  147. 12  lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/TestSource.php
  148. 12  lib/Cake/Test/test_app/Plugin/TestPlugin/Model/Datasource/test_other_source.php
  149. 2  lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/ExampleShell.php
  150. 2  lib/Cake/Test/test_app/Plugin/TestPluginTwo/Console/Command/WelcomeShell.php
  151. 2  lib/Cake/TestSuite/CakeTestCase.php
  152. 2  lib/Cake/TestSuite/CakeTestSuiteDispatcher.php
  153. 2  lib/Cake/TestSuite/ControllerTestCase.php
  154. 4  lib/Cake/TestSuite/Coverage/HtmlCoverageReport.php
  155. 4  lib/Cake/View/Helper/FormHelper.php
  156. 2  lib/Cake/View/Helper/HtmlHelper.php
  157. 14  lib/Cake/View/Helper/JqueryEngineHelper.php
  158. 2  lib/Cake/View/Helper/JsHelper.php
  159. 22  lib/Cake/View/Helper/MootoolsEngineHelper.php
  160. 16  lib/Cake/View/Helper/PrototypeEngineHelper.php
  161. 4  lib/Cake/View/Helper/RssHelper.php
  162. 2  lib/Cake/View/MediaView.php
2  lib/Cake/Console/Command/AclShell.php
@@ -523,7 +523,7 @@ public function nodeExists() {
523 523
  * @param string $identifier Identifier to parse
524 524
  * @return mixed a string for aliases, and an array for model.foreignKey
525 525
  */
526  
-	function parseIdentifier($identifier) {
  526
+	public function parseIdentifier($identifier) {
527 527
 		if (preg_match('/^([\w]+)\.(.*)$/', $identifier, $matches)) {
528 528
 			return array(
529 529
 				'model' => $matches[1],
4  lib/Cake/Console/Command/SchemaShell.php
@@ -245,7 +245,7 @@ public function dump() {
245 245
  *
246 246
  * @return void
247 247
  */
248  
-	function create() {
  248
+	public function create() {
249 249
 		list($Schema, $table) = $this->_loadSchema();
250 250
 		$this->__create($Schema, $table);
251 251
 	}
@@ -255,7 +255,7 @@ function create() {
255 255
  *
256 256
  * @return void
257 257
  */
258  
-	function update() {
  258
+	public function update() {
259 259
 		list($Schema, $table) = $this->_loadSchema();
260 260
 		$this->__update($Schema, $table);
261 261
 	}
2  lib/Cake/Console/Command/Task/PluginTask.php
@@ -40,7 +40,7 @@ class PluginTask extends Shell {
40 40
  *
41 41
  * @return void
42 42
  */
43  
-	function initialize() {
  43
+	public function initialize() {
44 44
 		$this->path = current(App::path('plugins'));
45 45
 	}
46 46
 
2  lib/Cake/Console/Command/Task/ProjectTask.php
@@ -132,7 +132,7 @@ public function execute() {
132 132
  * @param string $skip array of directories to skip when copying
133 133
  * @access private
134 134
  */
135  
-	function bake($path, $skel = null, $skip = array('empty')) {
  135
+	public function bake($path, $skel = null, $skip = array('empty')) {
136 136
 		if (!$skel && !empty($this->params['skel'])) {
137 137
 			$skel = $this->params['skel'];
138 138
 		}
12  lib/Cake/Console/Command/UpgradeShell.php
@@ -34,7 +34,7 @@ class UpgradeShell extends Shell {
34 34
  *
35 35
  * @return void
36 36
  */
37  
-	function startup() {
  37
+	public function startup() {
38 38
 		parent::startup();
39 39
 		if ($this->params['dry-run']) {
40 40
 			$this->out('<warning>Dry-run mode enabled!</warning>', 1, Shell::QUIET);
@@ -50,7 +50,7 @@ function startup() {
50 50
  * @access public
51 51
  * @return void
52 52
  */
53  
-	function all() {
  53
+	public function all() {
54 54
 		foreach($this->OptionParser->subcommands() as $command) {
55 55
 			$name = $command->name();
56 56
 			if ($name === 'all') {
@@ -71,7 +71,7 @@ function all() {
71 71
  * @access public
72 72
  * @return void
73 73
  */
74  
-	function locations() {
  74
+	public function locations() {
75 75
 		$cwd = getcwd();
76 76
 
77 77
 		if (is_dir('plugins')) {
@@ -137,7 +137,7 @@ function locations() {
137 137
  *
138 138
  * @return void
139 139
  */
140  
-	function helpers() {
  140
+	public function helpers() {
141 141
 		$this->_paths = array_diff(App::path('views'), App::core('views'));
142 142
 
143 143
 		if (!empty($this->params['plugin'])) {
@@ -175,7 +175,7 @@ function helpers() {
175 175
  *
176 176
  * @return void
177 177
  */
178  
-	function i18n() {
  178
+	public function i18n() {
179 179
 		$this->_paths = array(
180 180
 			APP
181 181
 		);
@@ -578,7 +578,7 @@ protected function _updateFile($file, $patterns) {
578 578
  *
579 579
  * @return ConsoleOptionParser
580 580
  */
581  
-	function getOptionParser() {
  581
+	public function getOptionParser() {
582 582
 		$subcommandParser = array(
583 583
 			'options' => array(
584 584
 				'plugin' => array(
2  lib/Cake/Console/ConsoleOutput.php
@@ -249,7 +249,7 @@ protected function _write($message) {
249 249
  * @return mixed If you are getting styles, the style or null will be returned. If you are creating/modifying
250 250
  *   styles true will be returned.
251 251
  */
252  
-	function styles($style = null, $definition = null) {
  252
+	public function styles($style = null, $definition = null) {
253 253
 		if ($style === null && $definition === null) {
254 254
 			return self::$_styles;
255 255
 		}
2  lib/Cake/Console/Shell.php
@@ -539,7 +539,7 @@ public function err($message = null, $newlines = 1) {
539 539
  * @access public
540 540
  * @return string
541 541
  */
542  
-	function nl($multiplier = 1) {
  542
+	public function nl($multiplier = 1) {
543 543
 		return str_repeat(ConsoleOutput::LF, $multiplier);
544 544
 	}
545 545
 
4  lib/Cake/Console/templates/skel/Config/Schema/db_acl.php
@@ -31,11 +31,11 @@ class DbAclSchema extends CakeSchema {
31 31
 
32 32
 	public $name = 'DbAcl';
33 33
 
34  
-	function before($event = array()) {
  34
+	public function before($event = array()) {
35 35
 		return true;
36 36
 	}
37 37
 
38  
-	function after($event = array()) {
  38
+	public function after($event = array()) {
39 39
 	}
40 40
 
41 41
 	public $acos = array(
4  lib/Cake/Console/templates/skel/Config/Schema/i18n.php
@@ -31,11 +31,11 @@ class i18nSchema extends CakeSchema {
31 31
 
32 32
 	public $name = 'i18n';
33 33
 
34  
-	function before($event = array()) {
  34
+	public function before($event = array()) {
35 35
 		return true;
36 36
 	}
37 37
 
38  
-	function after($event = array()) {
  38
+	public function after($event = array()) {
39 39
 	}
40 40
 
41 41
 	public $i18n = array(
4  lib/Cake/Console/templates/skel/Config/Schema/sessions.php
@@ -31,11 +31,11 @@ class SessionsSchema extends CakeSchema {
31 31
 
32 32
 	public $name = 'Sessions';
33 33
 
34  
-	function before($event = array()) {
  34
+	public function before($event = array()) {
35 35
 		return true;
36 36
 	}
37 37
 
38  
-	function after($event = array()) {
  38
+	public function after($event = array()) {
39 39
 	}
40 40
 
41 41
 	public $cake_sessions = array(
2  lib/Cake/Controller/Component/Auth/ControllerAuthorize.php
@@ -20,7 +20,7 @@
20 20
  * Your controller's isAuthorized() method should return a boolean to indicate whether or not the user is authorized.
21 21
  *
22 22
  * {{{
23  
- *	function isAuthorized($user) {
  23
+ *	public function isAuthorized($user) {
24 24
  *		if (!empty($this->request->params['admin'])) {
25 25
  *			return $user['role'] == 'admin';
26 26
  *		}
2  lib/Cake/Controller/Component/RequestHandlerComponent.php
@@ -278,7 +278,7 @@ public function isAtom() {
278 278
  *
279 279
  * @return boolean True if user agent is a mobile web browser
280 280
  */
281  
-	function isMobile() {
  281
+	public function isMobile() {
282 282
 		return $this->request->is('mobile') || $this->accepts('wap');
283 283
 	}
284 284
 
2  lib/Cake/Controller/Component/SecurityComponent.php
@@ -284,7 +284,7 @@ public function requireAuth() {
284 284
  * @see SecurityComponent::$blackHoleCallback
285 285
  * @link http://book.cakephp.org/view/1307/blackHole-object-controller-string-error
286 286
  */
287  
-	function blackHole($controller, $error = '') {
  287
+	public function blackHole($controller, $error = '') {
288 288
 		if ($this->blackHoleCallback == null) {
289 289
 			$code = 404;
290 290
 			if ($error == 'login') {
2  lib/Cake/Test/Case/BasicsTest.php
@@ -794,7 +794,7 @@ public function testStripslashesDeepSybase() {
794 794
  *
795 795
  * @return void
796 796
  */
797  
-	function testPluginSplit() {
  797
+	public function testPluginSplit() {
798 798
 		$result = pluginSplit('Something.else');
799 799
 		$this->assertEqual($result, array('Something', 'else'));
800 800
 
36  lib/Cake/Test/Case/Cache/CacheTest.php
@@ -32,7 +32,7 @@ class CacheTest extends CakeTestCase {
32 32
  * @access public
33 33
  * @return void
34 34
  */
35  
-	function setUp() {
  35
+	public function setUp() {
36 36
 		$this->_cacheDisable = Configure::read('Cache.disable');
37 37
 		Configure::write('Cache.disable', false);
38 38
 
@@ -46,7 +46,7 @@ function setUp() {
46 46
  * @access public
47 47
  * @return void
48 48
  */
49  
-	function tearDown() {
  49
+	public function tearDown() {
50 50
 		Configure::write('Cache.disable', $this->_cacheDisable);
51 51
 		Cache::config('default', $this->_defaultCacheConfig['settings']);
52 52
 	}
@@ -57,7 +57,7 @@ function tearDown() {
57 57
  * @access public
58 58
  * @return void
59 59
  */
60  
-	function testConfig() {
  60
+	public function testConfig() {
61 61
 		$settings = array('engine' => 'File', 'path' => TMP . 'tests', 'prefix' => 'cake_test_');
62 62
 		$results = Cache::config('new', $settings);
63 63
 		$this->assertEqual($results, Cache::config('new'));
@@ -70,7 +70,7 @@ function testConfig() {
70 70
  *
71 71
  * @return void
72 72
  */
73  
-	function testNonFatalErrorsWithCachedisable() {
  73
+	public function testNonFatalErrorsWithCachedisable() {
74 74
 		Configure::write('Cache.disable', true);
75 75
 		Cache::config('test', array('engine' => 'File', 'path' => TMP, 'prefix' => 'error_test_'));
76 76
 
@@ -87,7 +87,7 @@ function testNonFatalErrorsWithCachedisable() {
87 87
  *
88 88
  * @return void
89 89
  */
90  
-	function testConfigWithLibAndPluginEngines() {
  90
+	public function testConfigWithLibAndPluginEngines() {
91 91
 		App::build(array(
92 92
 			'Lib' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Lib' . DS),
93 93
 			'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
@@ -117,7 +117,7 @@ function testConfigWithLibAndPluginEngines() {
117 117
  * @access public
118 118
  * @return void
119 119
  */
120  
-	function testInvaidConfig() {
  120
+	public function testInvaidConfig() {
121 121
 		$this->expectError();
122 122
 		Cache::config('invalid', array(
123 123
 			'engine' => 'File',
@@ -136,7 +136,7 @@ function testInvaidConfig() {
136 136
  *
137 137
  * @return void
138 138
  */
139  
-	function testAttemptingToConfigureANonCacheEngineClass() {
  139
+	public function testAttemptingToConfigureANonCacheEngineClass() {
140 140
 		$this->getMock('StdClass', array(), array(), 'RubbishEngine');
141 141
 		$this->expectException();
142 142
 		Cache::config('Garbage', array(
@@ -150,7 +150,7 @@ function testAttemptingToConfigureANonCacheEngineClass() {
150 150
  * @access public
151 151
  * @return void
152 152
  */
153  
-	function testConfigChange() {
  153
+	public function testConfigChange() {
154 154
 		$_cacheConfigSessions = Cache::config('sessions');
155 155
 		$_cacheConfigTests = Cache::config('tests');
156 156
 
@@ -169,7 +169,7 @@ function testConfigChange() {
169 169
  *
170 170
  * @return void
171 171
  */
172  
-	function testConfigSettingDefaultConfigKey() {
  172
+	public function testConfigSettingDefaultConfigKey() {
173 173
 		Cache::config('test_name', array('engine' => 'File', 'prefix' => 'test_name_'));
174 174
 
175 175
 		Cache::write('value_one', 'I am cached', 'test_name');
@@ -196,7 +196,7 @@ function testConfigSettingDefaultConfigKey() {
196 196
  * @access public
197 197
  * @return void
198 198
  */
199  
-	function testWritingWithConfig() {
  199
+	public function testWritingWithConfig() {
200 200
 		$_cacheConfigSessions = Cache::config('sessions');
201 201
 
202 202
 		Cache::write('test_somthing', 'this is the test data', 'tests');
@@ -222,7 +222,7 @@ function testWritingWithConfig() {
222 222
  *
223 223
  * @return void
224 224
  */
225  
-	function testConfigured() {
  225
+	public function testConfigured() {
226 226
 		$result = Cache::configured();
227 227
 		$this->assertTrue(in_array('_cake_core_', $result));
228 228
 		$this->assertTrue(in_array('default', $result));
@@ -234,7 +234,7 @@ function testConfigured() {
234 234
  * @access public
235 235
  * @return void
236 236
  */
237  
-	function testInitSettings() {
  237
+	public function testInitSettings() {
238 238
 		$initial = Cache::settings();
239 239
 		$override = array('engine' => 'File', 'path' => TMP . 'tests');
240 240
 		Cache::config('for_test', $override);
@@ -250,7 +250,7 @@ function testInitSettings() {
250 250
  *
251 251
  * @return void
252 252
  */
253  
-	function testDrop() {
  253
+	public function testDrop() {
254 254
 		App::build(array(
255 255
 			'libs' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Lib' . DS),
256 256
 			'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
@@ -281,7 +281,7 @@ function testDrop() {
281 281
  * @access public
282 282
  * @return void
283 283
  */
284  
-	function testWriteEmptyValues() {
  284
+	public function testWriteEmptyValues() {
285 285
 		Cache::write('App.falseTest', false);
286 286
 		$this->assertIdentical(Cache::read('App.falseTest'), false);
287 287
 
@@ -303,7 +303,7 @@ function testWriteEmptyValues() {
303 303
  *
304 304
  * @return void
305 305
  */
306  
-	function testWriteTriggerError() {
  306
+	public function testWriteTriggerError() {
307 307
 		App::build(array(
308 308
 			'libs' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Lib' . DS),
309 309
 			'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
@@ -329,7 +329,7 @@ function testWriteTriggerError() {
329 329
  * @access public
330 330
  * @return void
331 331
  */
332  
-	function testCacheDisable() {
  332
+	public function testCacheDisable() {
333 333
 		Configure::write('Cache.disable', false);
334 334
 		Cache::config('test_cache_disable_1', array('engine'=> 'File', 'path' => TMP . 'tests'));
335 335
 
@@ -369,7 +369,7 @@ function testCacheDisable() {
369 369
  * @access public
370 370
  * @return void
371 371
  */
372  
-	function testSet() {
  372
+	public function testSet() {
373 373
 		$_cacheSet = Cache::set();
374 374
 
375 375
 		Cache::set(array('duration' => '+1 year'));
@@ -396,7 +396,7 @@ function testSet() {
396 396
  *
397 397
  * @return void
398 398
  */
399  
-	function testSetOnAlternateConfigs() {
  399
+	public function testSetOnAlternateConfigs() {
400 400
 		Cache::config('file_config', array('engine' => 'File', 'prefix' => 'test_file_'));
401 401
 		Cache::set(array('duration' => '+1 year'), 'file_config');
402 402
 		$settings = Cache::settings('file_config');
16  lib/Cake/Test/Case/Cache/Engine/ApcEngineTest.php
@@ -32,7 +32,7 @@ class ApcEngineTest extends CakeTestCase {
32 32
  * @access public
33 33
  * @return void
34 34
  */
35  
-	function setUp() {
  35
+	public function setUp() {
36 36
 		$this->skipIf(!function_exists('apc_store'), '%s Apc is not installed or configured properly');
37 37
 		$this->_cacheDisable = Configure::read('Cache.disable');
38 38
 		Configure::write('Cache.disable', false);
@@ -45,7 +45,7 @@ function setUp() {
45 45
  * @access public
46 46
  * @return void
47 47
  */
48  
-	function tearDown() {
  48
+	public function tearDown() {
49 49
 		Configure::write('Cache.disable', $this->_cacheDisable);
50 50
 		Cache::drop('apc');
51 51
 		Cache::config('default');
@@ -57,7 +57,7 @@ function tearDown() {
57 57
  * @access public
58 58
  * @return void
59 59
  */
60  
-	function testReadAndWriteCache() {
  60
+	public function testReadAndWriteCache() {
61 61
 		Cache::set(array('duration' => 1), 'apc');
62 62
 
63 63
 		$result = Cache::read('test', 'apc');
@@ -81,7 +81,7 @@ function testReadAndWriteCache() {
81 81
  * @access public
82 82
  * @return void
83 83
  */
84  
-	function testExpiry() {
  84
+	public function testExpiry() {
85 85
 		Cache::set(array('duration' => 1), 'apc');
86 86
 
87 87
 		$result = Cache::read('test', 'apc');
@@ -116,7 +116,7 @@ function testExpiry() {
116 116
  * @access public
117 117
  * @return void
118 118
  */
119  
-	function testDeleteCache() {
  119
+	public function testDeleteCache() {
120 120
 		$data = 'this is a test of the emergency broadcasting system';
121 121
 		$result = Cache::write('delete_test', $data, 'apc');
122 122
 		$this->assertTrue($result);
@@ -131,7 +131,7 @@ function testDeleteCache() {
131 131
  * @access public
132 132
  * @return void
133 133
  */
134  
-	function testDecrement() {
  134
+	public function testDecrement() {
135 135
 		if ($this->skipIf(!function_exists('apc_dec'), 'No apc_dec() function, cannot test decrement() %s')) {
136 136
 			return;
137 137
 		}
@@ -158,7 +158,7 @@ function testDecrement() {
158 158
  * @access public
159 159
  * @return void
160 160
  */
161  
-	function testIncrement() {
  161
+	public function testIncrement() {
162 162
 		if ($this->skipIf(!function_exists('apc_inc'), 'No apc_inc() function, cannot test increment() %s')) {
163 163
 			return;
164 164
 		}
@@ -183,7 +183,7 @@ function testIncrement() {
183 183
  *
184 184
  * @return void
185 185
  */
186  
-	function testClear() {
  186
+	public function testClear() {
187 187
 		Cache::write('some_value', 'value', 'apc');
188 188
 
189 189
 		$result = Cache::clear(false, 'apc');
26  lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
@@ -40,7 +40,7 @@ class FileEngineTest extends CakeTestCase {
40 40
  * @access public
41 41
  * @return void
42 42
  */
43  
-	function setUp() {
  43
+	public function setUp() {
44 44
 		parent::setUp();
45 45
 		Configure::write('Cache.disable', false);
46 46
 		Cache::config('file_test', array('engine' => 'File', 'path' => CACHE));
@@ -52,7 +52,7 @@ function setUp() {
52 52
  * @access public
53 53
  * @return void
54 54
  */
55  
-	function tearDown() {
  55
+	public function tearDown() {
56 56
 		parent::tearDown();
57 57
 		Cache::clear(false, 'file_test');
58 58
 		Cache::drop('file_test');
@@ -64,7 +64,7 @@ function tearDown() {
64 64
  * @access public
65 65
  * @return void
66 66
  */
67  
-	function testCacheDirChange() {
  67
+	public function testCacheDirChange() {
68 68
 		$result = Cache::config('sessions', array('engine'=> 'File', 'path' => TMP . 'sessions'));
69 69
 		$this->assertEqual($result['settings'], Cache::settings('sessions'));
70 70
 
@@ -79,7 +79,7 @@ function testCacheDirChange() {
79 79
  * @access public
80 80
  * @return void
81 81
  */
82  
-	function testReadAndWriteCache() {
  82
+	public function testReadAndWriteCache() {
83 83
 		Cache::config('default');
84 84
 
85 85
 		$result = Cache::write(null, 'here', 'file_test');
@@ -108,7 +108,7 @@ function testReadAndWriteCache() {
108 108
  * @access public
109 109
  * @return void
110 110
  */
111  
-	function testExpiry() {
  111
+	public function testExpiry() {
112 112
 		Cache::set(array('duration' => 1), 'file_test');
113 113
 
114 114
 		$result = Cache::read('test', 'file_test');
@@ -139,7 +139,7 @@ function testExpiry() {
139 139
  * @access public
140 140
  * @return void
141 141
  */
142  
-	function testDeleteCache() {
  142
+	public function testDeleteCache() {
143 143
 		$data = 'this is a test of the emergency broadcasting system';
144 144
 		$result = Cache::write('delete_test', $data, 'file_test');
145 145
 		$this->assertTrue($result);
@@ -158,7 +158,7 @@ function testDeleteCache() {
158 158
  * @access public
159 159
  * @return void
160 160
  */
161  
-	function testSerialize() {
  161
+	public function testSerialize() {
162 162
 		Cache::config('file_test', array('engine' => 'File', 'serialize' => true));
163 163
 		$data = 'this is a test of the emergency broadcasting system';
164 164
 		$write = Cache::write('serialize_test', $data, 'file_test');
@@ -182,7 +182,7 @@ function testSerialize() {
182 182
  * @access public
183 183
  * @return void
184 184
  */
185  
-	function testClear() {
  185
+	public function testClear() {
186 186
 		Cache::config('file_test', array('engine' => 'File', 'duration' => 1));
187 187
 
188 188
 		$data = 'this is a test of the emergency broadcasting system';
@@ -219,7 +219,7 @@ function testClear() {
219 219
  *
220 220
  * @return void
221 221
  */
222  
-	function testClearWithPrefixes() {
  222
+	public function testClearWithPrefixes() {
223 223
 		$FileOne = new FileEngine();
224 224
 		$FileOne->init(array(
225 225
 			'prefix' => 'prefix_one_',
@@ -249,7 +249,7 @@ function testClearWithPrefixes() {
249 249
  * @access public
250 250
  * @return void
251 251
  */
252  
-	function testKeyPath() {
  252
+	public function testKeyPath() {
253 253
 		$result = Cache::write('views.countries.something', 'here', 'file_test');
254 254
 		$this->assertTrue($result);
255 255
 		$this->assertTrue(file_exists(CACHE . 'cake_views_countries_something'));
@@ -267,7 +267,7 @@ function testKeyPath() {
267 267
  * @access public
268 268
  * @return void
269 269
  */
270  
-	function testRemoveWindowsSlashesFromCache() {
  270
+	public function testRemoveWindowsSlashesFromCache() {
271 271
 		Cache::config('windows_test', array('engine' => 'File', 'isWindows' => true, 'prefix' => null, 'path' => TMP));
272 272
 
273 273
 		$expected = array (
@@ -313,7 +313,7 @@ function testRemoveWindowsSlashesFromCache() {
313 313
  * @access public
314 314
  * @return void
315 315
  */
316  
-	function testWriteQuotedString() {
  316
+	public function testWriteQuotedString() {
317 317
 		Cache::config('file_test', array('engine' => 'File', 'path' => TMP . 'tests'));
318 318
 		Cache::write('App.doubleQuoteTest', '"this is a quoted string"', 'file_test');
319 319
 		$this->assertIdentical(Cache::read('App.doubleQuoteTest', 'file_test'), '"this is a quoted string"');
@@ -331,7 +331,7 @@ function testWriteQuotedString() {
331 331
  *
332 332
  * @return void
333 333
  */
334  
-	function testErrorWhenPathDoesNotExist() {
  334
+	public function testErrorWhenPathDoesNotExist() {
335 335
 		if ($this->skipIf(is_dir(TMP . 'tests' . DS . 'file_failure'), 'Cannot run test directory exists. %s')) {
336 336
 			return;
337 337
 		}
36  lib/Cake/Test/Case/Cache/Engine/MemcacheTest.php
@@ -27,11 +27,11 @@ class TestMemcacheEngine extends MemcacheEngine {
27 27
  * @param string $server 
28 28
  * @return array
29 29
  */
30  
-	function parseServerString($server) {
  30
+	public function parseServerString($server) {
31 31
 		return $this->_parseServerString($server);
32 32
 	}
33 33
 	
34  
-	function setMemcache($memcache) {
  34
+	public function setMemcache($memcache) {
35 35
 		$this->_Memcache = $memcache;
36 36
 	}
37 37
 }
@@ -49,7 +49,7 @@ class MemcacheEngineTest extends CakeTestCase {
49 49
  * @access public
50 50
  * @return void
51 51
  */
52  
-	function setUp() {
  52
+	public function setUp() {
53 53
 		$this->skipIf(!class_exists('Memcache'), '%s Memcache is not installed or configured properly');
54 54
 		$this->_cacheDisable = Configure::read('Cache.disable');
55 55
 		Configure::write('Cache.disable', false);
@@ -66,7 +66,7 @@ function setUp() {
66 66
  * @access public
67 67
  * @return void
68 68
  */
69  
-	function tearDown() {
  69
+	public function tearDown() {
70 70
 		Configure::write('Cache.disable', $this->_cacheDisable);
71 71
 		Cache::drop('memcache');
72 72
 		Cache::config('default');
@@ -78,7 +78,7 @@ function tearDown() {
78 78
  * @access public
79 79
  * @return void
80 80
  */
81  
-	function testSettings() {
  81
+	public function testSettings() {
82 82
 		$settings = Cache::settings('memcache');
83 83
 		unset($settings['serialize'], $settings['path']);
84 84
 		$expecting = array(
@@ -99,7 +99,7 @@ function testSettings() {
99 99
  * @access public
100 100
  * @return void
101 101
  */
102  
-	function testMultipleServers() {
  102
+	public function testMultipleServers() {
103 103
 		$servers = array('127.0.0.1:11211', '127.0.0.1:11222');
104 104
 		$available = true;
105 105
 		$Memcache = new Memcache();
@@ -129,7 +129,7 @@ function testMultipleServers() {
129 129
  * @access public
130 130
  * @return void
131 131
  */
132  
-	function testConnect() {
  132
+	public function testConnect() {
133 133
 		$Memcache = new MemcacheEngine();
134 134
 		$Memcache->init(Cache::settings('memcache'));
135 135
 		$result = $Memcache->connect('127.0.0.1');
@@ -141,7 +141,7 @@ function testConnect() {
141 141
  *
142 142
  * @return void
143 143
  */
144  
-	function testConnectIpv6() {
  144
+	public function testConnectIpv6() {
145 145
 		$Memcache = new MemcacheEngine();
146 146
 		$result = $Memcache->init(array(
147 147
 			'prefix' => 'cake_',
@@ -159,7 +159,7 @@ function testConnectIpv6() {
159 159
  *
160 160
  * @return void
161 161
  */
162  
-	function testParseServerStringNonLatin() {
  162
+	public function testParseServerStringNonLatin() {
163 163
 		$Memcache = new TestMemcacheEngine();
164 164
 		$result = $Memcache->parseServerString('schülervz.net:13211');
165 165
 		$this->assertEqual($result, array('schülervz.net', '13211'));
@@ -174,7 +174,7 @@ function testParseServerStringNonLatin() {
174 174
  * @access public
175 175
  * @return void
176 176
  */
177  
-	function testReadAndWriteCache() {
  177
+	public function testReadAndWriteCache() {
178 178
 		Cache::set(array('duration' => 1), null, 'memcache');
179 179
 
180 180
 		$result = Cache::read('test', 'memcache');
@@ -198,7 +198,7 @@ function testReadAndWriteCache() {
198 198
  * @access public
199 199
  * @return void
200 200
  */
201  
-	function testExpiry() {
  201
+	public function testExpiry() {
202 202
 		Cache::set(array('duration' => 1), 'memcache');
203 203
 
204 204
 		$result = Cache::read('test', 'memcache');
@@ -247,7 +247,7 @@ function testExpiry() {
247 247
  * @access public
248 248
  * @return void
249 249
  */
250  
-	function testDeleteCache() {
  250
+	public function testDeleteCache() {
251 251
 		$data = 'this is a test of the emergency broadcasting system';
252 252
 		$result = Cache::write('delete_test', $data, 'memcache');
253 253
 		$this->assertTrue($result);
@@ -262,7 +262,7 @@ function testDeleteCache() {
262 262
  * @access public
263 263
  * @return void
264 264
  */
265  
-	function testDecrement() {
  265
+	public function testDecrement() {
266 266
 		$result = Cache::write('test_decrement', 5, 'memcache');
267 267
 		$this->assertTrue($result);
268 268
 
@@ -285,7 +285,7 @@ function testDecrement() {
285 285
  * @access public
286 286
  * @return void
287 287
  */
288  
-	function testIncrement() {
  288
+	public function testIncrement() {
289 289
 		$result = Cache::write('test_increment', 5, 'memcache');
290 290
 		$this->assertTrue($result);
291 291
 
@@ -307,7 +307,7 @@ function testIncrement() {
307 307
  *
308 308
  * @return void
309 309
  */
310  
-	function testConfigurationConflict() {
  310
+	public function testConfigurationConflict() {
311 311
 		Cache::config('long_memcache', array(
312 312
 		  'engine' => 'Memcache',
313 313
 		  'duration'=> '+2 seconds',
@@ -342,7 +342,7 @@ function testConfigurationConflict() {
342 342
  *
343 343
  * @return void
344 344
  */
345  
-	function testClear() {
  345
+	public function testClear() {
346 346
 		Cache::write('some_value', 'value', 'memcache');
347 347
 
348 348
 		$result = Cache::clear(false, 'memcache');
@@ -354,7 +354,7 @@ function testClear() {
354 354
  *
355 355
  * @return void
356 356
  */
357  
-	function testZeroDuration() {
  357
+	public function testZeroDuration() {
358 358
 		Cache::config('memcache', array('duration' => 0));
359 359
 		$result = Cache::write('test_key', 'written!', 'memcache');
360 360
 
@@ -368,7 +368,7 @@ function testZeroDuration() {
368 368
  *
369 369
  * @return void
370 370
  */
371  
-	function testLongDurationEqualToZero() {
  371
+	public function testLongDurationEqualToZero() {
372 372
 		$memcache =& new TestMemcacheEngine();
373 373
 		$memcache->settings['compress'] = false;
374 374
 
18  lib/Cake/Test/Case/Cache/Engine/XcacheTest.php
@@ -32,7 +32,7 @@ class XcacheEngineTest extends CakeTestCase {
32 32
  * @access public
33 33
  * @return void
34 34
  */
35  
-	function setUp() {
  35
+	public function setUp() {
36 36
 		$this->skipUnless(function_exists('xcache_set'), 'Xcache is not installed or configured properly');
37 37
 		$this->_cacheDisable = Configure::read('Cache.disable');
38 38
 		Configure::write('Cache.disable', false);
@@ -45,7 +45,7 @@ function setUp() {
45 45
  * @access public
46 46
  * @return void
47 47
  */
48  
-	function tearDown() {
  48
+	public function tearDown() {
49 49
 		Configure::write('Cache.disable', $this->_cacheDisable);
50 50
 		Cache::config('default');
51 51
 	}
@@ -56,7 +56,7 @@ function tearDown() {
56 56
  * @access public
57 57
  * @return void
58 58
  */
59  
-	function testSettings() {
  59
+	public function testSettings() {
60 60
 		$settings = Cache::settings();
61 61
 		$expecting = array(
62 62
 			'prefix' => 'cake_',
@@ -77,7 +77,7 @@ function testSettings() {
77 77
  * @access public
78 78
  * @return void
79 79
  */
80  
-	function testReadAndWriteCache() {
  80
+	public function testReadAndWriteCache() {
81 81
 		Cache::set(array('duration' => 1));
82 82
 
83 83
 		$result = Cache::read('test');
@@ -101,7 +101,7 @@ function testReadAndWriteCache() {
101 101
  * @access public
102 102
  * @return void
103 103
  */
104  
-	function testExpiry() {
  104
+	public function testExpiry() {
105 105
 		Cache::set(array('duration' => 1));
106 106
 		$result = Cache::read('test');
107 107
 		$this->assertFalse($result);
@@ -131,7 +131,7 @@ function testExpiry() {
131 131
  * @access public
132 132
  * @return void
133 133
  */
134  
-	function testDeleteCache() {
  134
+	public function testDeleteCache() {
135 135
 		$data = 'this is a test of the emergency broadcasting system';
136 136
 		$result = Cache::write('delete_test', $data);
137 137
 		$this->assertTrue($result);
@@ -146,7 +146,7 @@ function testDeleteCache() {
146 146
  * @access public
147 147
  * @return void
148 148
  */
149  
-	function testClearCache() {
  149
+	public function testClearCache() {
150 150
 		$data = 'this is a test of the emergency broadcasting system';
151 151
 		$result = Cache::write('clear_test_1', $data);
152 152
 		$this->assertTrue($result);
@@ -164,7 +164,7 @@ function testClearCache() {
164 164
  * @access public
165 165
  * @return void
166 166
  */
167  
-	function testDecrement() {
  167
+	public function testDecrement() {
168 168
 		$result = Cache::write('test_decrement', 5);
169 169
 		$this->assertTrue($result);
170 170
 
@@ -187,7 +187,7 @@ function testDecrement() {
187 187
  * @access public
188 188
  * @return void
189 189
  */
190  
-	function testIncrement() {
  190
+	public function testIncrement() {
191 191
 		$result = Cache::write('test_increment', 5);
192 192
 		$this->assertTrue($result);
193 193
 
10  lib/Cake/Test/Case/Configure/IniReaderTest.php
@@ -32,7 +32,7 @@ class IniReaderTest extends CakeTestCase {
32 32
  *
33 33
  * @return void
34 34
  */
35  
-	function setup() {
  35
+	public function setup() {
36 36
 		parent::setup();
37 37
 		$this->path = CAKE . 'Test' . DS . 'test_app' . DS . 'Config'. DS;
38 38
 	}
@@ -42,7 +42,7 @@ function setup() {
42 42
  *
43 43
  * @return void
44 44
  */
45  
-	function testConstruct() {
  45
+	public function testConstruct() {
46 46
 		$reader = new IniReader($this->path);
47 47
 		$config = $reader->read('acl.ini.php');
48 48
 
@@ -56,7 +56,7 @@ function testConstruct() {
56 56
  *
57 57
  * @return void
58 58
  */
59  
-	function testReadingOnlyOneSection() {
  59
+	public function testReadingOnlyOneSection() {
60 60
 		$reader = new IniReader($this->path, 'admin');
61 61
 		$config = $reader->read('acl.ini.php');
62 62
 
@@ -85,7 +85,7 @@ public function testReadingWithoutSection() {
85 85
  *
86 86
  * @return void
87 87
  */
88  
-	function testReadingValuesWithDots() {
  88
+	public function testReadingValuesWithDots() {
89 89
 		$reader = new IniReader($this->path);
90 90
 		$config = $reader->read('nested.ini');
91 91
 
@@ -99,7 +99,7 @@ function testReadingValuesWithDots() {
99 99
  *
100 100
  * @return void
101 101
  */
102  
-	function testBooleanReading() {
  102
+	public function testBooleanReading() {
103 103
 		$reader = new IniReader($this->path);
104 104
 		$config = $reader->read('nested.ini');
105 105
 
12  lib/Cake/Test/Case/Configure/PhpReaderTest.php
@@ -24,7 +24,7 @@ class PhpReaderTest extends CakeTestCase {
24 24
  *
25 25
  * @return void
26 26
  */
27  
-	function setUp() {
  27
+	public function setUp() {
28 28
 		parent::setUp();
29 29
 		$this->path = CAKE . 'Test' . DS . 'test_app' . DS . 'Config'. DS;
30 30
 	}
@@ -33,7 +33,7 @@ function setUp() {
33 33
  *
34 34
  * @return void
35 35
  */
36  
-	function testRead() {
  36
+	public function testRead() {
37 37
 		$reader = new PhpReader($this->path);
38 38
 		$values = $reader->read('var_test');
39 39
 		$this->assertEquals('value', $values['Read']);
@@ -49,7 +49,7 @@ function testRead() {
49 49
  * @expectedException ConfigureException
50 50
  * @return void
51 51
  */
52  
-	function testReadWithNonExistantFile() {
  52
+	public function testReadWithNonExistantFile() {
53 53
 		$reader = new PhpReader($this->path);
54 54
 		$reader->read('fake_values');
55 55
 	}
@@ -60,7 +60,7 @@ function testReadWithNonExistantFile() {
60 60
  * @expectedException RuntimeException
61 61
  * @return void
62 62
  */
63  
-	function testReadEmptyFile() {
  63
+	public function testReadEmptyFile() {
64 64
 		$reader = new PhpReader($this->path);
65 65
 		$reader->read('empty');
66 66
 	}
@@ -71,7 +71,7 @@ function testReadEmptyFile() {
71 71
  * @expectedException ConfigureException
72 72
  * @return void
73 73
  */
74  
-	function testReadWithDots() {
  74
+	public function testReadWithDots() {
75 75
 		$reader = new PhpReader($this->path);
76 76
 		$reader->read('../empty');
77 77
 	}
@@ -81,7 +81,7 @@ function testReadWithDots() {
81 81
  *
82 82
  * @return void
83 83
  */
84  
-	function testReadPluginValue() {
  84
+	public function testReadPluginValue() {
85 85
 		App::build(array(
86 86
 			'plugins' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS)
87 87
 		), true);
2  lib/Cake/Test/Case/Console/Command/AclShellTest.php
@@ -300,7 +300,7 @@ public function testGetPath() {
300 300
  *
301 301
  * @return void
302 302
  */
303  
-	function testInitDb() {
  303
+	public function testInitDb() {
304 304
 		$this->Task->expects($this->once())->method('dispatchShell')
305 305
 			->with('schema create DbAcl');
306 306
 	
8  lib/Cake/Test/Case/Console/Command/CommandListShellTest.php
@@ -64,7 +64,7 @@ public function setUp() {
64 64
  *
65 65
  * @return void
66 66
  */
67  
-	function tearDown() {
  67
+	public function tearDown() {
68 68
 		parent::tearDown();
69 69
 		unset($this->Shell);
70 70
 		CakePlugin::unload();
@@ -75,7 +75,7 @@ function tearDown() {
75 75
  *
76 76
  * @return void
77 77
  */
78  
-	function testMain() {
  78
+	public function testMain() {
79 79
 		$this->Shell->main();
80 80
 		$output = $this->Shell->stdout->output;
81 81
 
@@ -116,7 +116,7 @@ function testMain() {
116 116
  *
117 117
  * @return void
118 118
  */
119  
-	function testSortPlugin() {
  119
+	public function testSortPlugin() {
120 120
 		$this->Shell->params['sort'] = true;
121 121
 		$this->Shell->main();
122 122
 
@@ -140,7 +140,7 @@ function testSortPlugin() {
140 140
  *
141 141
  * @return void
142 142
  */
143  
-	function testMainXml() {
  143
+	public function testMainXml() {
144 144
 		$this->Shell->params['xml'] = true;
145 145
 		$this->Shell->main();
146 146
 
30  lib/Cake/Test/Case/Console/Command/ShellTest.php
@@ -148,7 +148,7 @@ public function testConstruct() {
148 148
  *
149 149
  * @return void
150 150
  */
151  
-	function testMergeVars() {
  151
+	public function testMergeVars() {
152 152
 		$this->Shell->tasks = array('DbConfig' => array('one', 'two'));
153 153
 		$this->Shell->uses = array('Posts');
154 154
 		$this->Shell->mergeVars(array('tasks'), 'TestMergeShell');
@@ -274,7 +274,7 @@ public function testOut() {
274 274
  *
275 275
  * @return void
276 276
  */
277  
-	function testVerboseOutput() {
  277
+	public function testVerboseOutput() {
278 278
 		$this->Shell->stdout->expects($this->at(0))->method('write')
279 279
 			->with('Verbose', 1);
280 280
 		$this->Shell->stdout->expects($this->at(1))->method('write')
@@ -295,7 +295,7 @@ function testVerboseOutput() {
295 295
  *
296 296
  * @return void
297 297
  */
298  
-	function testQuietOutput() {
  298
+	public function testQuietOutput() {
299 299