Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix doc block endings

  • Loading branch information...
commit 11a88042bd8bfabe0176b45fc518e6c1bc1d5b54 1 parent 92d9b11
@dereuromark dereuromark authored
Showing with 82 additions and 82 deletions.
  1. +1 −1  lib/Cake/Cache/CacheEngine.php
  2. +3 −3 lib/Cake/Cache/Engine/ApcEngine.php
  3. +1 −1  lib/Cake/Cache/Engine/FileEngine.php
  4. +3 −3 lib/Cake/Cache/Engine/MemcacheEngine.php
  5. +3 −3 lib/Cake/Cache/Engine/RedisEngine.php
  6. +3 −3 lib/Cake/Cache/Engine/WincacheEngine.php
  7. +2 −2 lib/Cake/Cache/Engine/XcacheEngine.php
  8. +1 −1  lib/Cake/Console/Shell.php
  9. +1 −1  lib/Cake/Controller/Component/RequestHandlerComponent.php
  10. +8 −8 lib/Cake/Model/ModelValidator.php
  11. +10 −10 lib/Cake/Model/Validator/CakeValidationSet.php
  12. +3 −3 lib/Cake/Network/CakeResponse.php
  13. +4 −4 lib/Cake/Routing/DispatcherFilter.php
  14. +1 −1  lib/Cake/Routing/Filter/AssetDispatcher.php
  15. +1 −1  lib/Cake/Test/Case/Cache/Engine/ApcEngineTest.php
  16. +1 −1  lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
  17. +1 −1  lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
  18. +1 −1  lib/Cake/Test/Case/Cache/Engine/RedisEngineTest.php
  19. +1 −1  lib/Cake/Test/Case/Cache/Engine/WincacheEngineTest.php
  20. +1 −1  lib/Cake/Test/Case/Cache/Engine/XcacheEngineTest.php
  21. +1 −1  lib/Cake/Test/Case/Console/ShellTest.php
  22. +4 −4 lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
  23. +1 −1  lib/Cake/Test/Case/Log/CakeLogTest.php
  24. +1 −1  lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
  25. +1 −1  lib/Cake/Test/Case/Model/ModelIntegrationTest.php
  26. +1 −1  lib/Cake/Test/Case/Model/ModelValidationTest.php
  27. +3 −3 lib/Cake/Test/Case/Model/Validator/CakeValidationRuleTest.php
  28. +1 −1  lib/Cake/Test/Case/Model/models.php
  29. +7 −7 lib/Cake/Test/Case/Network/CakeResponseTest.php
  30. +5 −5 lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
  31. +2 −2 lib/Cake/Test/Case/Routing/RouterTest.php
  32. +1 −1  lib/Cake/Test/Case/Utility/CakeTimeTest.php
  33. +1 −1  lib/Cake/Test/Case/Utility/ValidationTest.php
  34. +1 −1  lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
  35. +1 −1  lib/Cake/Test/Case/View/Helper/FormHelperTest.php
  36. +1 −1  lib/Cake/View/Helper/JsHelper.php
View
2  lib/Cake/Cache/CacheEngine.php
@@ -32,7 +32,7 @@
* prefixes to be prepeded to every key in this cache engine
*
* @var string
- **/
+ */
protected $_groupPrefix = null;
/**
View
6 lib/Cake/Cache/Engine/ApcEngine.php
@@ -30,7 +30,7 @@ class ApcEngine extends CacheEngine {
* (prefixed witht the global configuration prefix)
*
* @var array
- **/
+ */
protected $_compiledGroupNames = array();
/**
@@ -144,7 +144,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
- **/
+ */
public function groups() {
if (empty($this->_compiledGroupNames)) {
foreach ($this->settings['groups'] as $group) {
@@ -176,7 +176,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
- **/
+ */
public function clearGroup($group) {
apc_inc($this->settings['prefix'] . $group, 1, $success);
return $success;
View
2  lib/Cake/Cache/Engine/FileEngine.php
@@ -358,7 +358,7 @@ public function key($key) {
* Recursively deletes all files under any directory named as $group
*
* @return boolean success
- **/
+ */
public function clearGroup($group) {
$directoryIterator = new RecursiveDirectoryIterator($this->settings['path']);
$contents = new RecursiveIteratorIterator($directoryIterator, RecursiveIteratorIterator::CHILD_FIRST);
View
6 lib/Cake/Cache/Engine/MemcacheEngine.php
@@ -32,7 +32,7 @@ class MemcacheEngine extends CacheEngine {
* (prefixed witht the global configuration prefix)
*
* @var array
- **/
+ */
protected $_compiledGroupNames = array();
/**
@@ -251,7 +251,7 @@ public function connect($host, $port = 11211) {
* the group accordingly.
*
* @return array
- **/
+ */
public function groups() {
if (empty($this->_compiledGroupNames)) {
foreach ($this->settings['groups'] as $group) {
@@ -284,7 +284,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
- **/
+ */
public function clearGroup($group) {
return (bool)$this->_Memcache->increment($this->settings['prefix'] . $group);
}
View
6 lib/Cake/Cache/Engine/RedisEngine.php
@@ -186,7 +186,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
- **/
+ */
public function groups() {
$result = array();
foreach ($this->settings['groups'] as $group) {
@@ -205,7 +205,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
- **/
+ */
public function clearGroup($group) {
return (bool)$this->_Redis->incr($this->settings['prefix'] . $group);
}
@@ -214,7 +214,7 @@ public function clearGroup($group) {
* Disconnects from the redis server
*
* @return void
- **/
+ */
public function __destruct() {
if (!$this->settings['persistent']) {
$this->_Redis->close();
View
6 lib/Cake/Cache/Engine/WincacheEngine.php
@@ -31,7 +31,7 @@ class WincacheEngine extends CacheEngine {
* (prefixed witht the global configuration prefix)
*
* @var array
- **/
+ */
protected $_compiledGroupNames = array();
/**
@@ -149,7 +149,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
- **/
+ */
public function groups() {
if (empty($this->_compiledGroupNames)) {
foreach ($this->settings['groups'] as $group) {
@@ -181,7 +181,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
- **/
+ */
public function clearGroup($group) {
$success = null;
wincache_ucache_inc($this->settings['prefix'] . $group, 1, $success);
View
4 lib/Cake/Cache/Engine/XcacheEngine.php
@@ -146,7 +146,7 @@ public function clear($check) {
* the group accordingly.
*
* @return array
- **/
+ */
public function groups() {
$result = array();
foreach ($this->settings['groups'] as $group) {
@@ -165,7 +165,7 @@ public function groups() {
* old values will remain in storage until they expire.
*
* @return boolean success
- **/
+ */
public function clearGroup($group) {
return (bool)xcache_inc($this->settings['prefix'] . $group, 1);
}
View
2  lib/Cake/Console/Shell.php
@@ -826,7 +826,7 @@ protected function _pluginPath($pluginName) {
*
* @param boolean $enable wheter to enable CakeLog output or not
* @return void
- **/
+ */
protected function _useLogger($enable = true) {
if (!$enable) {
CakeLog::drop('stdout');
View
2  lib/Cake/Controller/Component/RequestHandlerComponent.php
@@ -268,7 +268,7 @@ public function beforeRedirect(Controller $controller, $url, $status = null, $ex
*
* @params Controller $controller
* @return boolean false if the render process should be aborted
- **/
+ */
public function beforeRender(Controller $controller) {
if ($this->settings['checkHttpCache'] && $this->response->checkNotModified($this->request)) {
return false;
View
16 lib/Cake/Model/ModelValidator.php
@@ -466,7 +466,7 @@ protected function _triggerBeforeValidate($options = array()) {
*
* @param string $field name of the field to check
* @return boolean
- **/
+ */
public function offsetExists($field) {
$this->_parseRules();
return isset($this->_fields[$field]);
@@ -477,7 +477,7 @@ public function offsetExists($field) {
*
* @param string $field name of the field to check
* @return CakeValidationSet
- **/
+ */
public function offsetGet($field) {
$this->_parseRules();
return $this->_fields[$field];
@@ -489,7 +489,7 @@ public function offsetGet($field) {
* @param string $field name of the field to set
* @param array|CakeValidationSet $rules set of rules to apply to field
* @return void
- **/
+ */
public function offsetSet($field, $rules) {
$this->_parseRules();
if (!$rules instanceof CakeValidationSet) {
@@ -505,7 +505,7 @@ public function offsetSet($field, $rules) {
*
* @param string $field name of the field to unset
* @return void
- **/
+ */
public function offsetUnset($field) {
$this->_parseRules();
unset($this->_fields[$field]);
@@ -515,7 +515,7 @@ public function offsetUnset($field) {
* Returns an iterator for each of the fields to be validated
*
* @return ArrayIterator
- **/
+ */
public function getIterator() {
$this->_parseRules();
return new ArrayIterator($this->_fields);
@@ -525,7 +525,7 @@ public function getIterator() {
* Returns the number of fields having validation rules
*
* @return int
- **/
+ */
public function count() {
$this->_parseRules();
return count($this->_fields);
@@ -553,7 +553,7 @@ public function count() {
* @param string|array|CakeValidationSet $name name of the rule to be added or list of rules for the field
* @param array|CakeValidationRule $rule or list of rules to be added to the field's rule set
* @return ModelValidator this instance
- **/
+ */
public function add($field, $name, $rule = null) {
$this->_parseRules();
if ($name instanceof CakeValidationSet) {
@@ -592,7 +592,7 @@ public function add($field, $name, $rule = null) {
* @param string $field The name of the field from wich the rule will be removed
* @param string $rule the name of the rule to be removed
* @return ModelValidator this instance
- **/
+ */
public function remove($field, $rule = null) {
$this->_parseRules();
if ($rule === null) {
View
20 lib/Cake/Model/Validator/CakeValidationSet.php
@@ -41,14 +41,14 @@ class CakeValidationSet implements ArrayAccess, IteratorAggregate, Countable {
* List of methods available for validation
*
* @var array
- **/
+ */
protected $_methods = array();
/**
* I18n domain for validation messages.
*
* @var string
- **/
+ */
protected $_validationDomain = null;
/**
@@ -96,7 +96,7 @@ public function __construct($fieldName, $ruleSet) {
*
* @param array $methods Methods list
* @return void
- **/
+ */
public function setMethods(&$methods) {
$this->_methods =& $methods;
}
@@ -151,7 +151,7 @@ public function validate($data, $isUpdate = false) {
* Resets interal state for all validation rules in this set
*
* @return void
- **/
+ */
public function reset() {
foreach ($this->getRules() as $rule) {
$rule->reset();
@@ -310,7 +310,7 @@ protected function _translateArgs($args) {
*
* @param string $index name of the rule
* @return boolean
- **/
+ */
public function offsetExists($index) {
return isset($this->_rules[$index]);
}
@@ -320,7 +320,7 @@ public function offsetExists($index) {
*
* @param string $index name of the rule
* @return CakeValidationRule
- **/
+ */
public function offsetGet($index) {
return $this->_rules[$index];
}
@@ -330,7 +330,7 @@ public function offsetGet($index) {
*
* @param string $index name of the rule
* @param CakeValidationRule|array rule to add to $index
- **/
+ */
public function offsetSet($index, $rule) {
$this->setRule($index, $rule);
}
@@ -340,7 +340,7 @@ public function offsetSet($index, $rule) {
*
* @param string $index name of the rule
* @return void
- **/
+ */
public function offsetUnset($index) {
unset($this->_rules[$index]);
}
@@ -349,7 +349,7 @@ public function offsetUnset($index) {
* Returns an iterator for each of the rules to be applied
*
* @return ArrayIterator
- **/
+ */
public function getIterator() {
return new ArrayIterator($this->_rules);
}
@@ -358,7 +358,7 @@ public function getIterator() {
* Returns the number of rules in this set
*
* @return int
- **/
+ */
public function count() {
return count($this->_rules);
}
View
6 lib/Cake/Network/CakeResponse.php
@@ -941,7 +941,7 @@ public function modified($time = null) {
* conflicting headers
*
* @return void
- **/
+ */
public function notModified() {
$this->statusCode(304);
$this->body('');
@@ -968,7 +968,7 @@ public function notModified() {
* @param string|array $cacheVariances a single Vary string or a array
* containig the list for variances.
* @return array
- **/
+ */
public function vary($cacheVariances = null) {
if ($cacheVariances !== null) {
$cacheVariances = (array)$cacheVariances;
@@ -1000,7 +1000,7 @@ public function vary($cacheVariances = null) {
* @param boolean $weak whether the response is semantically the same as
* other with th same hash or not
* @return string
- **/
+ */
public function etag($tag = null, $weak = false) {
if ($tag !== null) {
$this->_headers['Etag'] = sprintf('%s"%s"', ($weak) ? 'W/' : null, $tag);
View
8 lib/Cake/Routing/DispatcherFilter.php
@@ -31,7 +31,7 @@
* Default priority for all methods in this filter
*
* @var int
- **/
+ */
public $priority = 10;
/**
@@ -42,7 +42,7 @@
* Override this method at will to only listen to the events you are interested in.
*
* @return array
- **/
+ */
public function implementedEvents() {
return array(
'Dispatcher.beforeDispatch' => array('callable' => 'beforeDispatch', 'priority' => $this->priority),
@@ -65,7 +65,7 @@ public function implementedEvents() {
* @param CakeEvent $event container object having the `request`, `response` and `additionalParams`
* keys in the data property.
* @return CakeResponse|boolean
- **/
+ */
public function beforeDispatch(CakeEvent $event) {
}
@@ -80,7 +80,7 @@ public function beforeDispatch(CakeEvent $event) {
* @param CakeEvent $event container object having the `request` and `response`
* keys in the data property.
* @return mixed boolean to stop the event dispatching or null to continue
- **/
+ */
public function afterDispatch(CakeEvent $event) {
}
}
View
2  lib/Cake/Routing/Filter/AssetDispatcher.php
@@ -31,7 +31,7 @@ class AssetDispatcher extends DispatcherFilter {
* This filter should run before the request gets parsed by router
*
* @var int
- **/
+ */
public $priority = 9;
/**
View
2  lib/Cake/Test/Case/Cache/Engine/ApcEngineTest.php
@@ -253,7 +253,7 @@ public function testGroupDelete() {
* Test clearing a cache group
*
* @return void
- **/
+ */
public function testGroupClear() {
Cache::config('apc_groups', array(
'engine' => 'Apc',
View
2  lib/Cake/Test/Case/Cache/Engine/FileEngineTest.php
@@ -428,7 +428,7 @@ public function testGroupDelete() {
* Test clearing a cache group
*
* @return void
- **/
+ */
public function testGroupClear() {
Cache::config('file_groups', array('engine' => 'File', 'duration' => 3600, 'groups' => array('group_a', 'group_b')));
Cache::config('file_groups2', array('engine' => 'File', 'duration' => 3600, 'groups' => array('group_b')));
View
2  lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
@@ -459,7 +459,7 @@ public function testGroupDelete() {
* Test clearing a cache group
*
* @return void
- **/
+ */
public function testGroupClear() {
Cache::config('memcache_groups', array(
'engine' => 'Memcache',
View
2  lib/Cake/Test/Case/Cache/Engine/RedisEngineTest.php
@@ -316,7 +316,7 @@ public function testGroupDelete() {
* Test clearing a cache group
*
* @return void
- **/
+ */
public function testGroupClear() {
Cache::config('redis_groups', array(
'engine' => 'Redis',
View
2  lib/Cake/Test/Case/Cache/Engine/WincacheEngineTest.php
@@ -243,7 +243,7 @@ public function testGroupDelete() {
* Test clearing a cache group
*
* @return void
- **/
+ */
public function testGroupClear() {
Cache::config('wincache_groups', array(
'engine' => 'Wincache',
View
2  lib/Cake/Test/Case/Cache/Engine/XcacheEngineTest.php
@@ -252,7 +252,7 @@ public function testGroupDelete() {
* Test clearing a cache group
*
* @return void
- **/
+ */
public function testGroupClear() {
Cache::config('xcache_groups', array(
'engine' => 'Xcache',
View
2  lib/Cake/Test/Case/Console/ShellTest.php
@@ -848,7 +848,7 @@ public function testFileAndConsoleLogging() {
* Tests that _useLogger works properly
*
* @return void
- **/
+ */
public function testProtectedUseLogger() {
CakeLog::drop('stdout');
CakeLog::drop('stderr');
View
8 lib/Cake/Test/Case/Controller/Component/RequestHandlerComponentTest.php
@@ -863,7 +863,7 @@ public function testAddInputTypeException() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagStar() {
$_SERVER['HTTP_IF_NONE_MATCH'] = '*';
$RequestHandler = $this->getMock('RequestHandlerComponent', array('_stop'), array(&$this->Controller->Components));
@@ -877,7 +877,7 @@ public function testCheckNotModifiedByEtagStar() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagExact() {
$_SERVER['HTTP_IF_NONE_MATCH'] = 'W/"something", "other"';
$RequestHandler = $this->getMock('RequestHandlerComponent', array('_stop'), array(&$this->Controller->Components));
@@ -891,7 +891,7 @@ public function testCheckNotModifiedByEtagExact() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagAndTime() {
$_SERVER['HTTP_IF_NONE_MATCH'] = 'W/"something", "other"';
$_SERVER['HTTP_IF_MODIFIED_SINCE'] = '2012-01-01 00:00:00';
@@ -907,7 +907,7 @@ public function testCheckNotModifiedByEtagAndTime() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedNoInfo() {
$RequestHandler = $this->getMock('RequestHandlerComponent', array('_stop'), array(&$this->Controller->Components));
$RequestHandler->response = $this->getMock('CakeResponse', array('notModified'));
View
2  lib/Cake/Test/Case/Log/CakeLogTest.php
@@ -164,7 +164,7 @@ public function testConfig() {
* explicit tests for drop()
*
* @return void
- **/
+ */
public function testDrop() {
CakeLog::config('file', array(
'engine' => 'FileLog',
View
2  lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
@@ -950,7 +950,7 @@ public function testLastError() {
* Tests that transaction commands are logged
*
* @return void
- **/
+ */
public function testTransactionLogging() {
$conn = $this->getMock('MockPDO');
$db = new DboTestSource;
View
2  lib/Cake/Test/Case/Model/ModelIntegrationTest.php
@@ -2438,7 +2438,7 @@ public function testMultischemaFixtureWithThreeDatabases() {
* does not trigger any calls on any datasource
*
* @return void
- **/
+ */
public function testSchemaNoDB() {
$model = $this->getMock('Article', array('getDataSource'));
$model->useTable = false;
View
2  lib/Cake/Test/Case/Model/ModelValidationTest.php
@@ -2177,7 +2177,7 @@ public function testValidateFirstAssociatedWithBeforeValidate2() {
* after a presentation made to show off this new feature
*
* @return void
- **/
+ */
public function testDynamicValidationRuleBuilding() {
$model = new Article;
$validator = $model->validator();
View
6 lib/Cake/Test/Case/Model/Validator/CakeValidationRuleTest.php
@@ -30,7 +30,7 @@ class CakeValidationRuleTest extends CakeTestCase {
* Auxiliary method to test custom validators
*
* @return boolean
- **/
+ */
public function myTestRule() {
return false;
}
@@ -39,7 +39,7 @@ public function myTestRule() {
* Auxiliary method to test custom validators
*
* @return boolean
- **/
+ */
public function myTestRule2() {
return true;
}
@@ -48,7 +48,7 @@ public function myTestRule2() {
* Auxiliary method to test custom validators
*
* @return string
- **/
+ */
public function myTestRule3() {
return 'string';
}
View
2  lib/Cake/Test/Case/Model/models.php
@@ -4976,7 +4976,7 @@ protected function _findUnPublished($state, $query, $results = array()) {
* Alters title data
*
* @return void
- **/
+ */
public function beforeValidate($options = array()) {
$this->data[$this->alias]['title'] = 'foo';
if ($this->findMethods['unPublished'] === true) {
View
14 lib/Cake/Test/Case/Network/CakeResponseTest.php
@@ -848,7 +848,7 @@ public function testNotModified() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagStar() {
$_SERVER['HTTP_IF_NONE_MATCH'] = '*';
$response = $this->getMock('CakeResponse', array('notModified'));
@@ -861,7 +861,7 @@ public function testCheckNotModifiedByEtagStar() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagExact() {
$_SERVER['HTTP_IF_NONE_MATCH'] = 'W/"something", "other"';
$response = $this->getMock('CakeResponse', array('notModified'));
@@ -874,7 +874,7 @@ public function testCheckNotModifiedByEtagExact() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagAndTime() {
$_SERVER['HTTP_IF_NONE_MATCH'] = 'W/"something", "other"';
$_SERVER['HTTP_IF_MODIFIED_SINCE'] = '2012-01-01 00:00:00';
@@ -889,7 +889,7 @@ public function testCheckNotModifiedByEtagAndTime() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagAndTimeMismatch() {
$_SERVER['HTTP_IF_NONE_MATCH'] = 'W/"something", "other"';
$_SERVER['HTTP_IF_MODIFIED_SINCE'] = '2012-01-01 00:00:00';
@@ -904,7 +904,7 @@ public function testCheckNotModifiedByEtagAndTimeMismatch() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByEtagMismatch() {
$_SERVER['HTTP_IF_NONE_MATCH'] = 'W/"something-else", "other"';
$_SERVER['HTTP_IF_MODIFIED_SINCE'] = '2012-01-01 00:00:00';
@@ -919,7 +919,7 @@ public function testCheckNotModifiedByEtagMismatch() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedByTime() {
$_SERVER['HTTP_IF_MODIFIED_SINCE'] = '2012-01-01 00:00:00';
$response = $this->getMock('CakeResponse', array('notModified'));
@@ -932,7 +932,7 @@ public function testCheckNotModifiedByTime() {
* Test checkNotModified method
*
* @return void
- **/
+ */
public function testCheckNotModifiedNoHints() {
$_SERVER['HTTP_IF_NONE_MATCH'] = 'W/"something", "other"';
$_SERVER['HTTP_IF_MODIFIED_SINCE'] = '2012-01-01 00:00:00';
View
10 lib/Cake/Test/Case/Routing/Route/CakeRouteTest.php
@@ -24,7 +24,7 @@
* Test case for CakeRoute
*
* @package Cake.Test.Case.Routing.Route
- **/
+ */
class CakeRouteTest extends CakeTestCase {
/**
@@ -41,7 +41,7 @@ public function setUp() {
* Test the construction of a CakeRoute
*
* @return void
- **/
+ */
public function testConstruction() {
$route = new CakeRoute('/:controller/:action/:id', array(), array('id' => '[0-9]+'));
@@ -55,7 +55,7 @@ public function testConstruction() {
* test Route compiling.
*
* @return void
- **/
+ */
public function testBasicRouteCompiling() {
$route = new CakeRoute('/', array('controller' => 'pages', 'action' => 'display', 'home'));
$result = $route->compile();
@@ -107,7 +107,7 @@ public function testRouteParameterOverlap() {
* test compiling routes with keys that have patterns
*
* @return void
- **/
+ */
public function testRouteCompilingWithParamPatterns() {
$route = new CakeRoute(
'/:controller/:action/:id',
@@ -235,7 +235,7 @@ public function testComplexRouteCompilingAndParsing() {
* test that routes match their pattern.
*
* @return void
- **/
+ */
public function testMatchBasic() {
$route = new CakeRoute('/:controller/:action/:id', array('plugin' => null));
$result = $route->match(array('controller' => 'posts', 'action' => 'view', 'plugin' => null));
View
4 lib/Cake/Test/Case/Routing/RouterTest.php
@@ -535,7 +535,7 @@ public function testArrayNamedParameters() {
* Test generation of routes with query string parameters.
*
* @return void
- **/
+ */
public function testUrlGenerationWithQueryStrings() {
$result = Router::url(array('controller' => 'posts', 'action' => 'index', '0', '?' => 'var=test&var2=test2'));
$expected = '/posts/index/0?var=test&var2=test2';
@@ -559,7 +559,7 @@ public function testUrlGenerationWithQueryStrings() {
* test that regex validation of keyed route params is working.
*
* @return void
- **/
+ */
public function testUrlGenerationWithRegexQualifiedParams() {
Router::connect(
':language/galleries',
View
2  lib/Cake/Test/Case/Utility/CakeTimeTest.php
@@ -1055,7 +1055,7 @@ public function testListTimezones() {
* from one timezone to the other correctly
*
* @return void
- **/
+ */
public function testCorrectTimezoneConversion() {
date_default_timezone_set('UTC');
$date = '2012-01-01 10:00:00';
View
2  lib/Cake/Test/Case/Utility/ValidationTest.php
@@ -2171,7 +2171,7 @@ public function testPassThroughMethodFailure() {
*
* @expectedException PHPUnit_Framework_Error
* @return void
- **/
+ */
public function testPassThroughClassFailure() {
Validation::postal('text', null, 'AUTOFAIL');
}
View
2  lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
@@ -517,7 +517,7 @@ public function testCacheWithCustomRoutes() {
* apps url would look something like http://localhost/cache/cacheTest/cache_name
*
* @return void
- **/
+ */
public function testCacheBaseNameControllerName() {
$this->Controller->cache_parsing();
$this->Controller->cacheAction = array(
View
2  lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -3314,7 +3314,7 @@ public function testError() {
);
$this->assertTags($result, $expected);
- /** Testing error messages list options **/
+ // Testing error messages list options
$Contact->validationErrors['field'] = array('notEmpty', 'email');
$result = $this->Form->error('Contact.field', null, array('listOptions' => 'ol'));
View
2  lib/Cake/View/Helper/JsHelper.php
@@ -161,7 +161,7 @@ public function __call($method, $params) {
* @param boolean $quoteString If false, leaves string values unquoted
* @return string a JavaScript-safe/JSON representation of $val
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/js.html#JsHelper::value
- **/
+ */
public function value($val = array(), $quoteString = null, $key = 'value') {
if ($quoteString === null) {
$quoteString = true;
Please sign in to comment.
Something went wrong with that request. Please try again.