Skip to content

Commit 6dd24cc

Browse files
committed
Merge pull request cakephp#1400 from dereuromark/master
Coding standards whitespace
2 parents 06fc8db + e7f380d commit 6dd24cc

33 files changed

+57
-56
lines changed

lib/Cake/Console/Shell.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public function wrapText($text, $options = array()) {
542542
*
543543
* There are 3 built-in output level. Shell::QUIET, Shell::NORMAL, Shell::VERBOSE.
544544
* The verbose and quiet output levels, map to the `verbose` and `quiet` output switches
545-
* present in most shells. Using Shell::QUIET for a message means it will always display.
545+
* present in most shells. Using Shell::QUIET for a message means it will always display.
546546
* While using Shell::VERBOSE means it will only display when verbose output is toggled.
547547
*
548548
* @param string|array $message A string or a an array of strings to output

lib/Cake/Console/Templates/default/views/view.ctp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
?>
2020
<div class="<?php echo $pluralVar; ?> view">
21-
<h2><?php echo "<?php echo __('{$singularHumanName}'); ?>"; ?></h2>
21+
<h2><?php echo "<?php echo __('{$singularHumanName}'); ?>"; ?></h2>
2222
<dl>
2323
<?php
2424
foreach ($fields as $field) {

lib/Cake/Controller/Component/Auth/BlowfishAuthenticate.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
* )
2929
* }}}
3030
*
31-
* When configuring BlowfishAuthenticate you can pass in settings to which fields, model and additional conditions
31+
* When configuring BlowfishAuthenticate you can pass in settings to which fields, model and additional conditions
3232
* are used. See FormAuthenticate::$settings for more information.
3333
*
3434
* For initial password hashing/creation see Security::hash(). Other than how the password is initially hashed,
3535
* BlowfishAuthenticate works exactly the same way as FormAuthenticate.
3636
*
37-
* @package Cake.Controller.Component.Auth
38-
* @since CakePHP(tm) v 2.3
39-
* @see AuthComponent::$authenticate
37+
* @package Cake.Controller.Component.Auth
38+
* @since CakePHP(tm) v 2.3
39+
* @see AuthComponent::$authenticate
4040
*/
4141
class BlowfishAuthenticate extends FormAuthenticate {
4242

lib/Cake/Controller/Component/Auth/DigestAuthenticate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* password using `DigestAuthenticate::password()`. If you wish to use digest authentication alongside other
2525
* authentication methods, its recommended that you store the digest authentication separately.
2626
*
27-
* Clients using Digest Authentication must support cookies. Since AuthComponent identifies users based
27+
* Clients using Digest Authentication must support cookies. Since AuthComponent identifies users based
2828
* on Session contents, clients without support for cookies will not function properly.
2929
*
3030
* ### Using Digest auth

lib/Cake/Controller/Component/CookieComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class CookieComponent extends Component {
6262
* $this->Cookie->path = '/';
6363
*
6464
* The path on the server in which the cookie will be available on.
65-
* If public $cookiePath is set to '/foo/', the cookie will only be available
65+
* If public $cookiePath is set to '/foo/', the cookie will only be available
6666
* within the /foo/ directory and all sub-directories such as /foo/bar/ of domain.
6767
* The default value is the entire domain.
6868
*

lib/Cake/Core/Object.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public function requestAction($url, $extra = array()) {
110110
* Calls a method on this object with the given parameters. Provides an OO wrapper
111111
* for `call_user_func_array`
112112
*
113-
* @param string $method Name of the method to call
114-
* @param array $params Parameter list to use when calling $method
115-
* @return mixed Returns the result of the method call
113+
* @param string $method Name of the method to call
114+
* @param array $params Parameter list to use when calling $method
115+
* @return mixed Returns the result of the method call
116116
*/
117117
public function dispatchMethod($method, $params = array()) {
118118
switch (count($params)) {

lib/Cake/Error/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*
3333
* ### Uncaught exceptions
3434
*
35-
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
35+
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
3636
* and it is a type that ErrorHandler does not know about it will be treated as a 500 error.
3737
*
3838
* ### Implementing application specific exception handling

lib/Cake/Error/ExceptionRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* Exception Renderer.
3131
*
3232
* Captures and handles all unhandled exceptions. Displays helpful framework errors when debug > 1.
33-
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
33+
* When debug < 1 a CakeException will render 404 or 500 errors. If an uncaught exception is thrown
3434
* and it is a type that ExceptionHandler does not know about it will be treated as a 500 error.
3535
*
3636
* ### Implementing application specific exception rendering

lib/Cake/Model/Behavior/ContainableBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function setup(Model $Model, $settings = array()) {
8888
* )));
8989
* }}}
9090
*
91-
* @param Model $Model Model using the behavior
91+
* @param Model $Model Model using the behavior
9292
* @param array $query Query parameters as set by cake
9393
* @return array
9494
*/

lib/Cake/Model/Behavior/TreeBehavior.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function afterSave(Model $Model, $created) {
105105
/**
106106
* Runs before a find() operation
107107
*
108-
* @param Model $Model Model using the behavior
108+
* @param Model $Model Model using the behavior
109109
* @param array $query Query parameters as set by cake
110110
* @return array
111111
*/

0 commit comments

Comments
 (0)