Skip to content
This repository
Browse code

Remove trailing whitespace from comments

  • Loading branch information...
commit 4090c2e9323e5e3d2112ee7f2f831bd5e5d292a4 1 parent 2a803ea
Adam authored October 15, 2012

Showing 35 changed files with 91 additions and 91 deletions. Show diff stats Hide diff stats

  1. 36  app/Config/acl.php
  2. 2  app/Config/bootstrap.php
  3. 4  app/Config/core.php
  4. 2  app/Config/routes.php
  5. 2  lib/Cake/Cache/CacheEngine.php
  6. 2  lib/Cake/Cache/Engine/FileEngine.php
  7. 2  lib/Cake/Console/Command/Task/TemplateTask.php
  8. 4  lib/Cake/Console/Command/TestShell.php
  9. 2  lib/Cake/Console/Templates/skel/Config/core.php
  10. 2  lib/Cake/Controller/Component.php
  11. 2  lib/Cake/Controller/Component/Acl/IniAcl.php
  12. 34  lib/Cake/Controller/Component/Acl/PhpAcl.php
  13. 2  lib/Cake/Controller/Component/Auth/DigestAuthenticate.php
  14. 2  lib/Cake/Controller/Component/CookieComponent.php
  15. 2  lib/Cake/Controller/Component/SecurityComponent.php
  16. 4  lib/Cake/Controller/Component/SessionComponent.php
  17. 2  lib/Cake/Core/CakePlugin.php
  18. 2  lib/Cake/Event/CakeEvent.php
  19. 6  lib/Cake/Event/CakeEventManager.php
  20. 4  lib/Cake/Model/Behavior/ContainableBehavior.php
  21. 2  lib/Cake/Model/ConnectionManager.php
  22. 2  lib/Cake/Model/Datasource/DataSource.php
  23. 2  lib/Cake/Model/Datasource/Database/Sqlserver.php
  24. 6  lib/Cake/Network/Email/CakeEmail.php
  25. 2  lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
  26. 16  lib/Cake/Test/Case/Console/Command/TestShellTest.php
  27. 2  lib/Cake/Test/Case/Event/CakeEventManagerTest.php
  28. 2  lib/Cake/Test/Case/Model/Datasource/DataSourceTest.php
  29. 2  lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
  30. 8  lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php
  31. 2  lib/Cake/TestSuite/Fixture/CakeTestFixture.php
  32. 2  lib/Cake/Utility/File.php
  33. 2  lib/Cake/View/Helper/SessionHelper.php
  34. 12  lib/Cake/View/JsonView.php
  35. 2  lib/Cake/View/ViewBlock.php
36  app/Config/acl.php
@@ -22,18 +22,18 @@
22 22
 /**
23 23
  * Example
24 24
  * -------
25  
- * 
  25
+ *
26 26
  * Assumptions:
27 27
  *
28  
- * 1. In your application you created a User model with the following properties: 
  28
+ * 1. In your application you created a User model with the following properties:
29 29
  *    username, group_id, password, email, firstname, lastname and so on.
30  
- * 2. You configured AuthComponent to authorize actions via 
31  
- *    $this->Auth->authorize = array('Actions' => array('actionPath' => 'controllers/'),...) 
32  
- * 
  30
+ * 2. You configured AuthComponent to authorize actions via
  31
+ *    $this->Auth->authorize = array('Actions' => array('actionPath' => 'controllers/'),...)
  32
+ *
33 33
  * Now, when a user (i.e. jeff) authenticates successfully and requests a controller action (i.e. /invoices/delete)
34  
- * that is not allowed by default (e.g. via $this->Auth->allow('edit') in the Invoices controller) then AuthComponent 
35  
- * will ask the configured ACL interface if access is granted. Under the assumptions 1. and 2. this will be 
36  
- * done via a call to Acl->check() with 
  34
+ * that is not allowed by default (e.g. via $this->Auth->allow('edit') in the Invoices controller) then AuthComponent
  35
+ * will ask the configured ACL interface if access is granted. Under the assumptions 1. and 2. this will be
  36
+ * done via a call to Acl->check() with
37 37
  *
38 38
  *    array('User' => array('username' => 'jeff', 'group_id' => 4, ...))
39 39
  *
@@ -42,7 +42,7 @@
42 42
  *    '/controllers/invoices/delete'
43 43
  *
44 44
  * as ACO.
45  
- * 
  45
+ *
46 46
  * If the configured map looks like
47 47
  *
48 48
  *    $config['map'] = array(
@@ -50,17 +50,17 @@
50 50
  *       'Role' => 'User/group_id',
51 51
  *    );
52 52
  *
53  
- * then PhpAcl will lookup if we defined a role like User/jeff. If that role is not found, PhpAcl will try to 
54  
- * find a definition for Role/4. If the definition isn't found then a default role (Role/default) will be used to 
  53
+ * then PhpAcl will lookup if we defined a role like User/jeff. If that role is not found, PhpAcl will try to
  54
+ * find a definition for Role/4. If the definition isn't found then a default role (Role/default) will be used to
55 55
  * check rules for the given ACO. The search can be expanded by defining aliases in the alias configuration.
56 56
  * E.g. if you want to use a more readable name than Role/4 in your definitions you can define an alias like
57 57
  *
58 58
  *    $config['alias'] = array(
59 59
  *       'Role/4' => 'Role/editor',
60 60
  *    );
61  
- * 
  61
+ *
62 62
  * In the roles configuration you can define roles on the lhs and inherited roles on the rhs:
63  
- * 
  63
+ *
64 64
  *    $config['roles'] = array(
65 65
  *       'Role/admin' => null,
66 66
  *       'Role/accountant' => null,
@@ -68,7 +68,7 @@
68 68
  *       'Role/manager' => 'Role/editor, Role/accountant',
69 69
  *       'User/jeff' => 'Role/manager',
70 70
  *    );
71  
- * 
  71
+ *
72 72
  * In this example manager inherits all rules from editor and accountant. Role/admin doesn't inherit from any role.
73 73
  * Lets define some rules:
74 74
  *
@@ -87,10 +87,10 @@
87 87
  *       ),
88 88
  *    );
89 89
  *
90  
- * Ok, so as jeff inherits from Role/manager he's matched every rule that references User/jeff, Role/manager, 
91  
- * Role/editor, Role/accountant and Role/default. However, for jeff, rules for User/jeff are more specific than 
  90
+ * Ok, so as jeff inherits from Role/manager he's matched every rule that references User/jeff, Role/manager,
  91
+ * Role/editor, Role/accountant and Role/default. However, for jeff, rules for User/jeff are more specific than
92 92
  * rules for Role/manager, rules for Role/manager are more specific than rules for Role/editor and so on.
93  
- * This is important when allow and deny rules match for a role. E.g. Role/accountant is allowed 
  93
+ * This is important when allow and deny rules match for a role. E.g. Role/accountant is allowed
94 94
  * controllers/invoices/* but at the same time controllers/invoices/delete is denied. But there is a more
95 95
  * specific rule defined for Role/manager which is allowed controllers/invoices/delete. However, the most specific
96 96
  * rule denies access to the delete action explicitly for User/jeff, so he'll be denied access to the resource.
@@ -101,7 +101,7 @@
101 101
 
102 102
 /**
103 103
  * The role map defines how to resolve the user record from your application
104  
- * to the roles you defined in the roles configuration. 
  104
+ * to the roles you defined in the roles configuration.
105 105
  */
106 106
 $config['map'] = array(
107 107
 	'User' => 'User/username',
2  app/Config/bootstrap.php
@@ -2,7 +2,7 @@
2 2
 /**
3 3
  * This file is loaded automatically by the app/webroot/index.php file after core.php
4 4
  *
5  
- * This file should load/create any application wide configuration settings, such as 
  5
+ * This file should load/create any application wide configuration settings, such as
6 6
  * Caching, Logging, loading additional configuration files.
7 7
  *
8 8
  * You should also use this file to include any files that provide global functions/constants
4  app/Config/core.php
@@ -226,7 +226,7 @@
226 226
 	Configure::write('Acl.database', 'default');
227 227
 
228 228
 /**
229  
- * Uncomment this line and correct your server timezone to fix 
  229
+ * Uncomment this line and correct your server timezone to fix
230 230
  * any date & time related errors.
231 231
  */
232 232
 	//date_default_timezone_set('UTC');
@@ -236,7 +236,7 @@
236 236
  * If running via cli - apc is disabled by default. ensure it's available and enabled in this case
237 237
  *
238 238
  * Note: 'default' and other application caches should be configured in app/Config/bootstrap.php.
239  
- *       Please check the comments in boostrap.php for more info on the cache engines available 
  239
+ *       Please check the comments in boostrap.php for more info on the cache engines available
240 240
  *       and their setttings.
241 241
  */
242 242
 $engine = 'File';
2  app/Config/routes.php
@@ -32,7 +32,7 @@
32 32
 	Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
33 33
 
34 34
 /**
35  
- * Load all plugin routes.  See the CakePlugin documentation on 
  35
+ * Load all plugin routes.  See the CakePlugin documentation on
36 36
  * how to customize the loading of plugin routes.
37 37
  */
38 38
 	CakePlugin::routes();
2  lib/Cake/Cache/CacheEngine.php
@@ -65,7 +65,7 @@ public function init($settings = array()) {
65 65
  * Garbage collection
66 66
  *
67 67
  * Permanently remove all expired and deleted data
68  
- * 
  68
+ *
69 69
  * @param integer $expires [optional] An expires timestamp, invalidataing all data before.
70 70
  * @return void
71 71
  */
2  lib/Cake/Cache/Engine/FileEngine.php
@@ -93,7 +93,7 @@ public function init($settings = array()) {
93 93
 
94 94
 /**
95 95
  * Garbage collection. Permanently remove all expired and deleted data
96  
- * 
  96
+ *
97 97
  * @param integer $expires [optional] An expires timestamp, invalidataing all data before.
98 98
  * @return boolean True if garbage collection was successful, false on failure
99 99
  */
2  lib/Cake/Console/Command/Task/TemplateTask.php
@@ -56,7 +56,7 @@ public function initialize() {
56 56
  *
57 57
  * Bake themes are directories not named `skel` inside a `Console/Templates` path.
58 58
  * They are listed in this order: app -> plugin -> default
59  
- * 
  59
+ *
60 60
  * @return array Array of bake themes that are installed.
61 61
  */
62 62
 	protected function _findThemes() {
4  lib/Cake/Console/Command/TestShell.php
@@ -335,8 +335,8 @@ public function available() {
335 335
  * Find the test case for the passed file. The file could itself be a test.
336 336
  *
337 337
  * @param string $file
338  
- * @param string $category 
339  
- * @param boolean $throwOnMissingFile 
  338
+ * @param string $category
  339
+ * @param boolean $throwOnMissingFile
340 340
  * @access protected
341 341
  * @return array(type, case)
342 342
  * @throws Exception
2  lib/Cake/Console/Templates/skel/Config/core.php
@@ -226,7 +226,7 @@
226 226
 	Configure::write('Acl.database', 'default');
227 227
 
228 228
 /**
229  
- * Uncomment this line and correct your server timezone to fix 
  229
+ * Uncomment this line and correct your server timezone to fix
230 230
  * any date & time related errors.
231 231
  */
232 232
 	//date_default_timezone_set('UTC');
2  lib/Cake/Controller/Component.php
@@ -120,7 +120,7 @@ public function startup(Controller $controller) {
120 120
 	}
121 121
 
122 122
 /**
123  
- * Called before the Controller::beforeRender(), and before 
  123
+ * Called before the Controller::beforeRender(), and before
124 124
  * the view class is loaded, and before Controller::render()
125 125
  *
126 126
  * @param Controller $controller Controller with components to beforeRender
2  lib/Cake/Controller/Component/Acl/IniAcl.php
@@ -143,7 +143,7 @@ public function check($aro, $aco, $action = null) {
143 143
 	}
144 144
 
145 145
 /**
146  
- * Parses an INI file and returns an array that reflects the 
  146
+ * Parses an INI file and returns an array that reflects the
147 147
  * INI file's section structure. Double-quote friendly.
148 148
  *
149 149
  * @param string $filename File
34  lib/Cake/Controller/Component/Acl/PhpAcl.php
@@ -18,7 +18,7 @@
18 18
  */
19 19
 
20 20
 /**
21  
- * PhpAcl implements an access control system using a plain PHP configuration file. 
  21
+ * PhpAcl implements an access control system using a plain PHP configuration file.
22 22
  * An example file can be found in app/Config/acl.php
23 23
  *
24 24
  * @package Cake.Controller.Component.Acl
@@ -46,7 +46,7 @@ class PhpAcl extends Object implements AclInterface {
46 46
 
47 47
 /**
48 48
  * Aco Object
49  
- * 
  49
+ *
50 50
  * @var PhpAco
51 51
  */
52 52
 	public $Aco = null;
@@ -65,8 +65,8 @@ public function __construct() {
65 65
 
66 66
 /**
67 67
  * Initialize method
68  
- * 
69  
- * @param AclComponent $Component Component instance 
  68
+ *
  69
+ * @param AclComponent $Component Component instance
70 70
  * @return void
71 71
  */
72 72
 	public function initialize(Component $Component) {
@@ -199,7 +199,7 @@ class PhpAco {
199 199
 
200 200
 /**
201 201
  * map modifiers for ACO paths to their respective PCRE pattern
202  
- * 
  202
+ *
203 203
  * @var array
204 204
  */
205 205
 	public static $modifiers = array(
@@ -263,7 +263,7 @@ public function path($aco) {
263 263
 /**
264 264
  * allow/deny ARO access to ARO
265 265
  *
266  
- * @return void 
  266
+ * @return void
267 267
  */
268 268
 	public function access($aro, $aco, $action, $type = 'deny') {
269 269
 		$aco = $this->resolve($aco);
@@ -315,7 +315,7 @@ public function resolve($aco) {
315 315
  *
316 316
  * @param array $allow ACO allow rules
317 317
  * @param array $deny ACO deny rules
318  
- * @return void 
  318
+ * @return void
319 319
  */
320 320
 	public function build(array $allow, array $deny = array()) {
321 321
 		$this->_tree = array();
@@ -347,7 +347,7 @@ public function build(array $allow, array $deny = array()) {
347 347
 class PhpAro {
348 348
 
349 349
 /**
350  
- * role to resolve to when a provided ARO is not listed in 
  350
+ * role to resolve to when a provided ARO is not listed in
351 351
  * the internal tree
352 352
  *
353 353
  * @var string
@@ -357,12 +357,12 @@ class PhpAro {
357 357
 /**
358 358
  * map external identifiers. E.g. if
359 359
  *
360  
- * array('User' => array('username' => 'jeff', 'role' => 'editor')) 
  360
+ * array('User' => array('username' => 'jeff', 'role' => 'editor'))
361 361
  *
362  
- * is passed as an ARO to one of the methods of AclComponent, PhpAcl 
  362
+ * is passed as an ARO to one of the methods of AclComponent, PhpAcl
363 363
  * will check if it can be resolved to an User or a Role defined in the
364  
- * configuration file. 
365  
- * 
  364
+ * configuration file.
  365
+ *
366 366
  * @var array
367 367
  * @see app/Config/acl.php
368 368
  */
@@ -373,7 +373,7 @@ class PhpAro {
373 373
 
374 374
 /**
375 375
  * aliases to map
376  
- * 
  376
+ *
377 377
  * @var array
378 378
  */
379 379
 	public $aliases = array();
@@ -398,9 +398,9 @@ public function __construct(array $aro = array(), array $map = array(), array $a
398 398
  * From the perspective of the given ARO, walk down the tree and
399 399
  * collect all inherited AROs levelwise such that AROs from different
400 400
  * branches with equal distance to the requested ARO will be collected at the same
401  
- * index. The resulting array will contain a prioritized list of (list of) roles ordered from 
  401
+ * index. The resulting array will contain a prioritized list of (list of) roles ordered from
402 402
  * the most distant AROs to the requested one itself.
403  
- * 
  403
+ *
404 404
  * @param string|array $aro An ARO identifier
405 405
  * @return array prioritized AROs
406 406
  */
@@ -425,7 +425,7 @@ public function roles($aro) {
425 425
 
426 426
 /**
427 427
  * resolve an ARO identifier to an internal ARO string using
428  
- * the internal mapping information. 
  428
+ * the internal mapping information.
429 429
  *
430 430
  * @param string|array $aro ARO identifier (User.jeff, array('User' => ...), etc)
431 431
  * @return string internal aro string (e.g. User/jeff, Role/default)
@@ -527,7 +527,7 @@ public  function addAlias(array $alias) {
527 527
  * build an ARO tree structure for internal processing
528 528
  *
529 529
  * @param array $aros array of AROs as key and their inherited AROs as values
530  
- * @return void 
  530
+ * @return void
531 531
  */
532 532
 	public function build(array $aros) {
533 533
 		$this->_tree = array();
2  lib/Cake/Controller/Component/Auth/DigestAuthenticate.php
@@ -68,7 +68,7 @@ class DigestAuthenticate extends BaseAuthenticate {
68 68
  * - `realm` The realm authentication is for, Defaults to the servername.
69 69
  * - `nonce` A nonce used for authentication.  Defaults to `uniqid()`.
70 70
  * - `qop` Defaults to auth, no other values are supported at this time.
71  
- * - `opaque` A string that must be returned unchanged by clients. 
  71
+ * - `opaque` A string that must be returned unchanged by clients.
72 72
  *    Defaults to `md5($settings['realm'])`
73 73
  *
74 74
  * @var array
2  lib/Cake/Controller/Component/CookieComponent.php
@@ -155,7 +155,7 @@ class CookieComponent extends Component {
155 155
 
156 156
 /**
157 157
  * A reference to the Controller's CakeResponse object
158  
- * 
  158
+ *
159 159
  * @var CakeResponse
160 160
  */
161 161
 	protected $_response = null;
2  lib/Cake/Controller/Component/SecurityComponent.php
@@ -23,7 +23,7 @@
23 23
 App::uses('Security', 'Utility');
24 24
 
25 25
 /**
26  
- * The Security Component creates an easy way to integrate tighter security in 
  26
+ * The Security Component creates an easy way to integrate tighter security in
27 27
  * your application. It provides methods for various tasks like:
28 28
  *
29 29
  * - Restricting which HTTP methods your application accepts.
4  lib/Cake/Controller/Component/SessionComponent.php
@@ -21,8 +21,8 @@
21 21
 App::uses('CakeSession', 'Model/Datasource');
22 22
 
23 23
 /**
24  
- * The CakePHP SessionComponent provides a way to persist client data between 
25  
- * page requests. It acts as a wrapper for the `$_SESSION` as well as providing 
  24
+ * The CakePHP SessionComponent provides a way to persist client data between
  25
+ * page requests. It acts as a wrapper for the `$_SESSION` as well as providing
26 26
  * convenience methods for several `$_SESSION` related functions.
27 27
  *
28 28
  * @package       Cake.Controller.Component
2  lib/Cake/Core/CakePlugin.php
@@ -18,7 +18,7 @@
18 18
  */
19 19
 
20 20
 /**
21  
- * CakePlugin is responsible for loading and unloading plugins. It also can 
  21
+ * CakePlugin is responsible for loading and unloading plugins. It also can
22 22
  * retrieve plugin paths and load their bootstrap and routes files.
23 23
  *
24 24
  * @package       Cake.Core
2  lib/Cake/Event/CakeEvent.php
@@ -27,7 +27,7 @@ class CakeEvent {
27 27
 
28 28
 /**
29 29
  * Name of the event
30  
- * 
  30
+ *
31 31
  * @var string $name
32 32
  */
33 33
 	protected $_name = null;
6  lib/Cake/Event/CakeEventManager.php
@@ -50,7 +50,7 @@ class CakeEventManager {
50 50
 	protected $_listeners = array();
51 51
 
52 52
 /**
53  
- * Internal flag to distinguish a common manager from the sigleton 
  53
+ * Internal flag to distinguish a common manager from the sigleton
54 54
  *
55 55
  * @var boolean
56 56
  */
@@ -64,7 +64,7 @@ class CakeEventManager {
64 64
  *
65 65
  * If called with a first params, it will be set as the globally available instance
66 66
  *
67  
- * @param CakeEventManager $manager 
  67
+ * @param CakeEventManager $manager
68 68
  * @return CakeEventManager the global event manager
69 69
  */
70 70
 	public static function instance($manager = null) {
@@ -80,7 +80,7 @@ public static function instance($manager = null) {
80 80
 	}
81 81
 
82 82
 /**
83  
- * Adds a new listener to an event. Listeners 
  83
+ * Adds a new listener to an event. Listeners
84 84
  *
85 85
  * @param callback|CakeEventListener $callable PHP valid callback type or instance of CakeEventListener to be called
86 86
  * when the event named with $eventKey is triggered. If a CakeEventListener instances is passed, then the `implementedEvents`
4  lib/Cake/Model/Behavior/ContainableBehavior.php
@@ -20,8 +20,8 @@
20 20
  */
21 21
 
22 22
 /**
23  
- * Behavior to allow for dynamic and atomic manipulation of a Model's associations 
24  
- * used for a find call. Most useful for limiting the amount of associations and 
  23
+ * Behavior to allow for dynamic and atomic manipulation of a Model's associations
  24
+ * used for a find call. Most useful for limiting the amount of associations and
25 25
  * data returned.
26 26
  *
27 27
  * @package       Cake.Model.Behavior
2  lib/Cake/Model/ConnectionManager.php
@@ -24,7 +24,7 @@
24 24
 /**
25 25
  * Manages loaded instances of DataSource objects
26 26
  *
27  
- * Provides an interface for loading and enumerating connections defined in 
  27
+ * Provides an interface for loading and enumerating connections defined in
28 28
  * app/Config/database.php
29 29
  *
30 30
  * @package       Cake.Model
2  lib/Cake/Model/Datasource/DataSource.php
@@ -420,7 +420,7 @@ public function getSchemaName() {
420 420
 
421 421
 /**
422 422
  * Closes a connection. Override in subclasses
423  
- * 
  423
+ *
424 424
  * @return boolean
425 425
  * @access public
426 426
  */
2  lib/Cake/Model/Datasource/Database/Sqlserver.php
@@ -637,7 +637,7 @@ public function insertMulti($table, $fields, $values) {
637 637
 /**
638 638
  * Generate a database-native column schema string
639 639
  *
640  
- * @param array $column An array structured like the 
  640
+ * @param array $column An array structured like the
641 641
  *   following: array('name'=>'value', 'type'=>'value'[, options]),
642 642
  *   where options can be 'default', 'length', or 'key'.
643 643
  * @return string
6  lib/Cake/Network/Email/CakeEmail.php
@@ -1035,7 +1035,7 @@ public function config($config = null) {
1035 1035
 
1036 1036
 /**
1037 1037
  * Send an email using the specified content, template and layout
1038  
- * 
  1038
+ *
1039 1039
  * @param string|array $content String with message or array with messages
1040 1040
  * @return array
1041 1041
  * @throws SocketException
@@ -1337,7 +1337,7 @@ protected function _createBoundary() {
1337 1337
 /**
1338 1338
  * Attach non-embedded files by adding file contents inside boundaries.
1339 1339
  *
1340  
- * @param string $boundary Boundary to use. If null, will default to $this->_boundary 
  1340
+ * @param string $boundary Boundary to use. If null, will default to $this->_boundary
1341 1341
  * @return array An array of lines to add to the message
1342 1342
  */
1343 1343
 	protected function _attachFiles($boundary = null) {
@@ -1380,7 +1380,7 @@ protected function _readFile($file) {
1380 1380
 /**
1381 1381
  * Attach inline/embedded files to the message.
1382 1382
  *
1383  
- * @param string $boundary Boundary to use. If null, will default to $this->_boundary 
  1383
+ * @param string $boundary Boundary to use. If null, will default to $this->_boundary
1384 1384
  * @return array An array of lines to add to the message
1385 1385
  */
1386 1386
 	protected function _attachInlineFiles($boundary = null) {
2  lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
@@ -102,7 +102,7 @@ public function testReadAndWriteCache() {
102 102
 
103 103
 /**
104 104
  * Test read/write on the same cache key. Ensures file handles are re-wound.
105  
- * 
  105
+ *
106 106
  * @return void
107 107
  */
108 108
 	public function testConsecutiveReadWrite() {
16  lib/Cake/Test/Case/Console/Command/TestShellTest.php
@@ -64,7 +64,7 @@ public function tearDown() {
64 64
 
65 65
 /**
66 66
  * testMapCoreFileToCategory
67  
- * 
  67
+ *
68 68
  * @return void
69 69
  */
70 70
 	public function testMapCoreFileToCategory() {
@@ -84,7 +84,7 @@ public function testMapCoreFileToCategory() {
84 84
  * testMapCoreFileToCase
85 85
  *
86 86
  * basics.php is a slightly special case - it's the only file in the core with a test that isn't Capitalized
87  
- * 
  87
+ *
88 88
  * @return void
89 89
  */
90 90
 	public function testMapCoreFileToCase() {
@@ -102,7 +102,7 @@ public function testMapCoreFileToCase() {
102 102
 
103 103
 /**
104 104
  * testMapAppFileToCategory
105  
- * 
  105
+ *
106 106
  * @return void
107 107
  */
108 108
 	public function testMapAppFileToCategory() {
@@ -132,7 +132,7 @@ public function testMapAppFileToCase() {
132 132
 
133 133
 /**
134 134
  * testMapPluginFileToCategory
135  
- * 
  135
+ *
136 136
  * @return void
137 137
  */
138 138
 	public function testMapPluginFileToCategory() {
@@ -162,7 +162,7 @@ public function testMapPluginFileToCase() {
162 162
 
163 163
 /**
164 164
  * testMapCoreTestToCategory
165  
- * 
  165
+ *
166 166
  * @return void
167 167
  */
168 168
 	public function testMapCoreTestToCategory() {
@@ -182,7 +182,7 @@ public function testMapCoreTestToCategory() {
182 182
  * testMapCoreTestToCase
183 183
  *
184 184
  * basics.php is a slightly special case - it's the only file in the core with a test that isn't Capitalized
185  
- * 
  185
+ *
186 186
  * @return void
187 187
  */
188 188
 	public function testMapCoreTestToCase() {
@@ -200,7 +200,7 @@ public function testMapCoreTestToCase() {
200 200
 
201 201
 /**
202 202
  * testMapAppTestToCategory
203  
- * 
  203
+ *
204 204
  * @return void
205 205
  */
206 206
 	public function testMapAppTestToCategory() {
@@ -230,7 +230,7 @@ public function testMapAppTestToCase() {
230 230
 
231 231
 /**
232 232
  * testMapPluginTestToCategory
233  
- * 
  233
+ *
234 234
  * @return void
235 235
  */
236 236
 	public function testMapPluginTestToCategory() {
2  lib/Cake/Test/Case/Event/CakeEventManagerTest.php
@@ -53,7 +53,7 @@ public function secondListenerFunction() {
53 53
 /**
54 54
  * Auxiliary function to help in stopPropagation testing
55 55
  *
56  
- * @param CakeEvent $event 
  56
+ * @param CakeEvent $event
57 57
  * @return void
58 58
  */
59 59
 	public function stopListener($event) {
2  lib/Cake/Test/Case/Model/Datasource/DataSourceTest.php
@@ -29,7 +29,7 @@ class TestSource extends DataSource {
29 29
 
30 30
 /**
31 31
  * _schema
32  
- * @var type 
  32
+ * @var type
33 33
  */
34 34
 	protected $_schema = array(
35 35
 		'id' => array(
2  lib/Cake/Test/Case/TestSuite/CakeTestFixtureTest.php
@@ -227,7 +227,7 @@ public function testInit() {
227 227
 	}
228 228
 
229 229
 /**
230  
- * test that init() correctly sets the fixture table when the connection 
  230
+ * test that init() correctly sets the fixture table when the connection
231 231
  * or model have prefixes defined.
232 232
  *
233 233
  * @return void
8  lib/Cake/Test/Case/TestSuite/CakeTestSuiteTest.php
@@ -22,7 +22,7 @@ class CakeTestSuiteTest extends CakeTestCase {
22 22
 
23 23
 /**
24 24
  * testAddTestDirectory
25  
- * 
  25
+ *
26 26
  * @return void
27 27
  */
28 28
 	public function testAddTestDirectory() {
@@ -39,7 +39,7 @@ public function testAddTestDirectory() {
39 39
 
40 40
 /**
41 41
  * testAddTestDirectoryRecursive
42  
- * 
  42
+ *
43 43
  * @return void
44 44
  */
45 45
 	public function testAddTestDirectoryRecursive() {
@@ -57,7 +57,7 @@ public function testAddTestDirectoryRecursive() {
57 57
 
58 58
 /**
59 59
  * testAddTestDirectoryRecursiveWithHidden
60  
- * 
  60
+ *
61 61
  * @return void
62 62
  */
63 63
 	public function testAddTestDirectoryRecursiveWithHidden() {
@@ -81,7 +81,7 @@ public function testAddTestDirectoryRecursiveWithHidden() {
81 81
 
82 82
 /**
83 83
  * testAddTestDirectoryRecursiveWithNonPhp
84  
- * 
  84
+ *
85 85
  * @return void
86 86
  */
87 87
 	public function testAddTestDirectoryRecursiveWithNonPhp() {
2  lib/Cake/TestSuite/Fixture/CakeTestFixture.php
@@ -16,7 +16,7 @@
16 16
 App::uses('CakeSchema', 'Model');
17 17
 
18 18
 /**
19  
- * CakeTestFixture is responsible for building and destroying tables to be used 
  19
+ * CakeTestFixture is responsible for building and destroying tables to be used
20 20
  * during testing.
21 21
  *
22 22
  * @package       Cake.TestSuite.Fixture
2  lib/Cake/Utility/File.php
@@ -546,7 +546,7 @@ public function copy($dest, $overwrite = true) {
546 546
 	}
547 547
 
548 548
 /**
549  
- * Get the mime type of the file.  Uses the finfo extension if 
  549
+ * Get the mime type of the file.  Uses the finfo extension if
550 550
  * its available, otherwise falls back to mime_content_type
551 551
  *
552 552
  * @return false|string The mimetype of the file, or false if reading fails.
2  lib/Cake/View/Helper/SessionHelper.php
@@ -100,7 +100,7 @@ public function error() {
100 100
  * echo $this->Session->flash('flash', array('element' => 'my_custom_element'));
101 101
  * }}}
102 102
  *
103  
- * If you want to use an element from a plugin for rendering your flash message you can do that using the 
  103
+ * If you want to use an element from a plugin for rendering your flash message you can do that using the
104 104
  * plugin param:
105 105
  *
106 106
  * {{{
12  lib/Cake/View/JsonView.php
@@ -25,7 +25,7 @@
25 25
  *
26 26
  * `$this->set(array('posts' => $posts, '_serialize' => 'posts'));`
27 27
  *
28  
- * When the view is rendered, the `$posts` view variable will be serialized 
  28
+ * When the view is rendered, the `$posts` view variable will be serialized
29 29
  * into JSON.
30 30
  *
31 31
  * You can also define `'_serialize'` as an array.  This will create a top level object containing
@@ -35,7 +35,7 @@
35 35
  * $this->set(compact('posts', 'users', 'stuff'));
36 36
  * $this->set('_serialize', array('posts', 'users'));
37 37
  * }}}
38  
- * 
  38
+ *
39 39
  * The above would generate a JSON object that looks like:
40 40
  *
41 41
  * `{"posts": [...], "users": [...]}`
@@ -49,9 +49,9 @@
49 49
 class JsonView extends View {
50 50
 
51 51
 /**
52  
- * JSON views are always located in the 'json' sub directory for a 
  52
+ * JSON views are always located in the 'json' sub directory for a
53 53
  * controllers views.
54  
- * 
  54
+ *
55 55
  * @var string
56 56
  */
57 57
 	public $subDir = 'json';
@@ -72,8 +72,8 @@ public function __construct(Controller $controller = null) {
72 72
  * Render a JSON view.
73 73
  *
74 74
  * Uses the special '_serialize' parameter to convert a set of
75  
- * view variables into a JSON response.  Makes generating simple 
76  
- * JSON responses very easy.  You can omit the '_serialize' parameter, 
  75
+ * view variables into a JSON response.  Makes generating simple
  76
+ * JSON responses very easy.  You can omit the '_serialize' parameter,
77 77
  * and use a normal view + layout as well.
78 78
  *
79 79
  * @param string $view The view being rendered.
2  lib/Cake/View/ViewBlock.php
@@ -73,7 +73,7 @@ public function end() {
73 73
 	}
74 74
 
75 75
 /**
76  
- * Append to an existing or new block.  Appending to a new 
  76
+ * Append to an existing or new block.  Appending to a new
77 77
  * block will create the block.
78 78
  *
79 79
  * Calling append() without a value will create a new capturing

0 notes on commit 4090c2e

Please sign in to comment.
Something went wrong with that request. Please try again.