assertLineLengths($result['message']);
}
+/**
+ * CakeEmailTest::testWrapForJapaneseEncoding()
+ *
+ * @return void
+ */
public function testWrapForJapaneseEncoding() {
$this->skipIf(!function_exists('mb_convert_encoding'));
diff --git a/lib/Cake/Test/Case/Network/Http/HttpResponseTest.php b/lib/Cake/Test/Case/Network/Http/HttpResponseTest.php
index fdc8321c1..033f12da6 100644
--- a/lib/Cake/Test/Case/Network/Http/HttpResponseTest.php
+++ b/lib/Cake/Test/Case/Network/Http/HttpResponseTest.php
@@ -355,7 +355,7 @@ class HttpResponseTest extends CakeTestCase {
*
* @dataProvider invalidParseResponseDataProvider
* @expectedException SocketException
- * return void
+ * @return void
*/
public function testInvalidParseResponseData($value) {
$this->HttpResponse->parseResponse($value);
diff --git a/lib/Cake/Test/Case/Routing/DispatcherTest.php b/lib/Cake/Test/Case/Routing/DispatcherTest.php
index b43f61920..e7b61f5d7 100644
--- a/lib/Cake/Test/Case/Routing/DispatcherTest.php
+++ b/lib/Cake/Test/Case/Routing/DispatcherTest.php
@@ -462,6 +462,8 @@ class TestCachedPagesController extends Controller {
/**
* Test cached views with themes.
+ *
+ * @return void
*/
public function themed() {
$this->cacheAction = 10;
diff --git a/lib/Cake/Test/Case/Routing/RouterTest.php b/lib/Cake/Test/Case/Routing/RouterTest.php
index 96c7d5e4c..d1a466980 100644
--- a/lib/Cake/Test/Case/Routing/RouterTest.php
+++ b/lib/Cake/Test/Case/Routing/RouterTest.php
@@ -2410,6 +2410,8 @@ class RouterTest extends CakeTestCase {
/**
* test using custom route class in PluginDot notation
+ *
+ * @return void
*/
public function testUsingCustomRouteClassPluginDotSyntax() {
App::build(array(
@@ -2572,6 +2574,8 @@ class RouterTest extends CakeTestCase {
/**
* Test that Router::url() uses the first request
+ *
+ * @return void
*/
public function testUrlWithRequestAction() {
$firstRequest = new CakeRequest('/posts/index');
diff --git a/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php b/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
index 2d884b246..3dfc66926 100644
--- a/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
+++ b/lib/Cake/Test/Case/TestSuite/CakeTestCaseTest.php
@@ -35,6 +35,11 @@ class CakeTestCaseTest extends CakeTestCase {
*/
public $fixtures = array('core.post', 'core.author', 'core.test_plugin_comment');
+/**
+ * CakeTestCaseTest::setUpBeforeClass()
+ *
+ * @return void
+ */
public static function setUpBeforeClass() {
require_once CAKE . 'Test' . DS . 'Fixture' . DS . 'AssertTagsTestCase.php';
require_once CAKE . 'Test' . DS . 'Fixture' . DS . 'FixturizedTestCase.php';
diff --git a/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php b/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
index 206b66f11..4eb1d3011 100644
--- a/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
+++ b/lib/Cake/Test/Case/TestSuite/ControllerTestCaseTest.php
@@ -145,6 +145,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Test that ControllerTestCase::generate() creates mock objects correctly
+ *
+ * @return void
*/
public function testGenerate() {
if (defined('APP_CONTROLLER_EXISTS')) {
@@ -210,6 +212,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* testGenerateWithComponentConfig
+ *
+ * @return void
*/
public function testGenerateWithComponentConfig() {
$Tests = $this->Case->generate('TestConfigs', array(
@@ -232,6 +236,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Tests ControllerTestCase::generate() using classes from plugins
+ *
+ * @return void
*/
public function testGenerateWithPlugin() {
$Tests = $this->Case->generate('TestPlugin.Tests', array(
@@ -266,6 +272,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Tests testAction
+ *
+ * @return void
*/
public function testTestAction() {
$Controller = $this->Case->generate('TestsApps');
@@ -327,6 +335,7 @@ class ControllerTestCaseTest extends CakeTestCase {
* Tests not using loaded routes during tests
*
* @expectedException MissingActionException
+ * @return void
*/
public function testSkipRoutes() {
Router::connect('/:controller/:action/*');
@@ -338,6 +347,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Tests backwards compatibility with setting the return type
+ *
+ * @return void
*/
public function testBCSetReturn() {
$this->Case->autoMock = true;
@@ -367,6 +378,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Tests sending POST data to testAction
+ *
+ * @return void
*/
public function testTestActionPostData() {
$this->Case->autoMock = true;
@@ -409,6 +422,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Tests sending GET data to testAction
+ *
+ * @return void
*/
public function testTestActionGetData() {
$this->Case->autoMock = true;
@@ -465,6 +480,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Tests autoMock ability
+ *
+ * @return void
*/
public function testAutoMock() {
$this->Case->autoMock = true;
@@ -478,6 +495,8 @@ class ControllerTestCaseTest extends CakeTestCase {
/**
* Test using testAction and not mocking
+ *
+ * @return void
*/
public function testNoMocking() {
$result = $this->Case->testAction('/tests_apps/some_method');
diff --git a/lib/Cake/Test/Case/Utility/ClassRegistryTest.php b/lib/Cake/Test/Case/Utility/ClassRegistryTest.php
index dff46aa80..595efc5b2 100644
--- a/lib/Cake/Test/Case/Utility/ClassRegistryTest.php
+++ b/lib/Cake/Test/Case/Utility/ClassRegistryTest.php
@@ -268,6 +268,7 @@ class ClassRegistryTest extends CakeTestCase {
/**
* Tests prefixed datasource names for test purposes
*
+ * @return void
*/
public function testPrefixedTestDatasource() {
ClassRegistry::config(array('testing' => true));
@@ -287,6 +288,7 @@ class ClassRegistryTest extends CakeTestCase {
/**
* Tests that passing the string parameter to init() will return false if the model does not exists
*
+ * @return void
*/
public function testInitStrict() {
$this->assertFalse(ClassRegistry::init('NonExistent', true));
diff --git a/lib/Cake/Test/Case/Utility/DebuggerTest.php b/lib/Cake/Test/Case/Utility/DebuggerTest.php
index 57d699eb3..63cc39e41 100644
--- a/lib/Cake/Test/Case/Utility/DebuggerTest.php
+++ b/lib/Cake/Test/Case/Utility/DebuggerTest.php
@@ -274,6 +274,8 @@ class DebuggerTest extends CakeTestCase {
/**
* Test method for testing addFormat with callbacks.
+ *
+ * @return void
*/
public function customFormat($error, $strings) {
return $error['error'] . ': I eated an error ' . $error['file'];
diff --git a/lib/Cake/Test/Case/Utility/FileTest.php b/lib/Cake/Test/Case/Utility/FileTest.php
index f3c9878e7..6a478f35d 100644
--- a/lib/Cake/Test/Case/Utility/FileTest.php
+++ b/lib/Cake/Test/Case/Utility/FileTest.php
@@ -125,6 +125,8 @@ class FileTest extends CakeTestCase {
/**
* testPermission method
+ *
+ * @return void
*/
public function testPermission() {
$this->skipIf(DIRECTORY_SEPARATOR === '\\', 'File permissions tests not supported on Windows.');
@@ -532,7 +534,7 @@ class FileTest extends CakeTestCase {
$path = CAKE . 'Test' . DS . 'test_app' . DS . 'webroot' . DS . 'img' . DS . 'cake.power.gif';
$file = new File($path);
$expected = 'image/gif';
- if (function_exists('mime_content_type') && false === mime_content_type($file->pwd())) {
+ if (function_exists('mime_content_type') && mime_content_type($file->pwd()) === false) {
$expected = false;
}
$this->assertEquals($expected, $file->mime());
@@ -548,7 +550,7 @@ class FileTest extends CakeTestCase {
$tmpFile = TMP . 'tests' . DS . 'cakephp.file.test.tmp';
if (is_writable(dirname($tmpFile)) && (!file_exists($tmpFile) || is_writable($tmpFile))) {
return $tmpFile;
- };
+ }
if ($paintSkip) {
$trace = debug_backtrace();
diff --git a/lib/Cake/Test/Case/Utility/HashTest.php b/lib/Cake/Test/Case/Utility/HashTest.php
index 1d35363cc..7395af40c 100644
--- a/lib/Cake/Test/Case/Utility/HashTest.php
+++ b/lib/Cake/Test/Case/Utility/HashTest.php
@@ -174,7 +174,7 @@ class HashTest extends CakeTestCase {
/**
* Test get()
*
- * return void
+ * @return void
*/
public function testGet() {
$data = array('abc', 'def');
@@ -920,6 +920,8 @@ class HashTest extends CakeTestCase {
/**
* Test that extract() + matching can hit null things.
+ *
+ * @return void
*/
public function testExtractMatchesNull() {
$data = array(
diff --git a/lib/Cake/Test/Case/Utility/ObjectCollectionTest.php b/lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
index 1a37a5dce..5d4d0f30b 100644
--- a/lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
+++ b/lib/Cake/Test/Case/Utility/ObjectCollectionTest.php
@@ -44,6 +44,8 @@ class FirstGenericObject extends GenericObject {
/**
* A generic callback
+ *
+ * @return void
*/
public function callback() {
}
@@ -55,6 +57,9 @@ class FirstGenericObject extends GenericObject {
*/
class SecondGenericObject extends GenericObject {
+/**
+ * @return void
+ */
public function callback() {
}
@@ -65,6 +70,9 @@ class SecondGenericObject extends GenericObject {
*/
class ThirdGenericObject extends GenericObject {
+/**
+ * @return void
+ */
public function callback() {
}
diff --git a/lib/Cake/Test/Case/Utility/SetTest.php b/lib/Cake/Test/Case/Utility/SetTest.php
index 029b17a35..f55afd106 100644
--- a/lib/Cake/Test/Case/Utility/SetTest.php
+++ b/lib/Cake/Test/Case/Utility/SetTest.php
@@ -1352,6 +1352,8 @@ class SetTest extends CakeTestCase {
/**
* Test that extract() + matching can hit null things.
+ *
+ * @return void
*/
public function testExtractMatchesNull() {
$data = array(
diff --git a/lib/Cake/Test/Case/Utility/XmlTest.php b/lib/Cake/Test/Case/Utility/XmlTest.php
index b09e6ad8e..767e125e1 100644
--- a/lib/Cake/Test/Case/Utility/XmlTest.php
+++ b/lib/Cake/Test/Case/Utility/XmlTest.php
@@ -206,7 +206,7 @@ class XmlTest extends CakeTestCase {
/**
* test build with a single empty tag
*
- * return void
+ * @return void
*/
public function testBuildEmptyTag() {
try {
@@ -553,6 +553,7 @@ XML;
* testFromArrayFail method
*
* @dataProvider invalidArrayDataProvider
+ * @return void
*/
public function testFromArrayFail($value) {
try {
@@ -1123,6 +1124,7 @@ XML;
*
* @dataProvider invalidToArrayDataProvider
* @expectedException XmlException
+ * @return void
*/
public function testToArrayFail($value) {
Xml::toArray($value);
diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php
index 35f7306f0..a5ff2df54 100755
--- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -2288,6 +2288,7 @@ class FormHelperTest extends CakeTestCase {
/**
* test form->input() with time types.
*
+ * @return void
*/
public function testInputTime() {
extract($this->dateRegex);
@@ -8374,6 +8375,7 @@ class FormHelperTest extends CakeTestCase {
/**
* Test base form URL when url param is passed with multiple parameters (&)
*
+ * @return void
*/
public function testCreateQuerystringrequest() {
$encoding = strtolower(Configure::read('App.encoding'));
diff --git a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
index 957f29755..35edd4841 100644
--- a/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/HtmlHelperTest.php
@@ -1428,6 +1428,8 @@ class HtmlHelperTest extends CakeTestCase {
/**
* Test the array form of $startText
+ *
+ * @return void
*/
public function testGetCrumbFirstLink() {
$result = $this->Html->getCrumbList(null, 'Home');
@@ -1769,6 +1771,8 @@ class HtmlHelperTest extends CakeTestCase {
/**
* Test the inline and block options for meta()
+ *
+ * @return void
*/
public function testMetaWithBlocks() {
$this->View->expects($this->at(0))
@@ -2028,7 +2032,6 @@ class HtmlHelperTest extends CakeTestCase {
/**
* testCrumbList method
*
- *
* @return void
*/
public function testCrumbList() {
@@ -2060,6 +2063,8 @@ class HtmlHelperTest extends CakeTestCase {
/**
* Test getCrumbList startText
+ *
+ * @return void
*/
public function testCrumbListFirstLink() {
$this->Html->addCrumb('First', '#first');
diff --git a/lib/Cake/Test/Case/View/Helper/NumberHelperTest.php b/lib/Cake/Test/Case/View/Helper/NumberHelperTest.php
index 9d92e7a5b..79bf0da63 100644
--- a/lib/Cake/Test/Case/View/Helper/NumberHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/NumberHelperTest.php
@@ -69,6 +69,8 @@ class NumberHelperTest extends CakeTestCase {
/**
* test CakeNumber class methods are called correctly
+ *
+ * @return void
*/
public function testNumberHelperProxyMethodCalls() {
$methods = array(
@@ -86,6 +88,8 @@ class NumberHelperTest extends CakeTestCase {
/**
* test engine override
+ *
+ * @return void
*/
public function testEngineOverride() {
App::build(array(
diff --git a/lib/Cake/Test/Case/View/Helper/TextHelperTest.php b/lib/Cake/Test/Case/View/Helper/TextHelperTest.php
index 73c021c74..d38d60529 100644
--- a/lib/Cake/Test/Case/View/Helper/TextHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/TextHelperTest.php
@@ -74,6 +74,8 @@ class TextHelperTest extends CakeTestCase {
/**
* test String class methods are called correctly
+ *
+ * @return void
*/
public function testTextHelperProxyMethodCalls() {
$methods = array(
@@ -90,6 +92,8 @@ class TextHelperTest extends CakeTestCase {
/**
* test engine override
+ *
+ * @return void
*/
public function testEngineOverride() {
App::build(array(
@@ -204,6 +208,8 @@ class TextHelperTest extends CakeTestCase {
/**
* Data provider for autoLinking
+ *
+ * @return array
*/
public static function autoLinkProvider() {
return array(
diff --git a/lib/Cake/Test/Case/View/Helper/TimeHelperTest.php b/lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
index aff6bb752..3b7ab5cad 100644
--- a/lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
+++ b/lib/Cake/Test/Case/View/Helper/TimeHelperTest.php
@@ -78,6 +78,8 @@ class TimeHelperTest extends CakeTestCase {
/**
* test CakeTime class methods are called correctly
+ *
+ * @return void
*/
public function testTimeHelperProxyMethodCalls() {
$methods = array(
@@ -104,6 +106,8 @@ class TimeHelperTest extends CakeTestCase {
/**
* test engine override
+ *
+ * @return void
*/
public function testEngineOverride() {
App::build(array(
diff --git a/lib/Cake/Test/Case/View/ViewTest.php b/lib/Cake/Test/Case/View/ViewTest.php
index cda0e3037..7ad86dd15 100644
--- a/lib/Cake/Test/Case/View/ViewTest.php
+++ b/lib/Cake/Test/Case/View/ViewTest.php
@@ -706,6 +706,8 @@ class ViewTest extends CakeTestCase {
/**
* Test that elements can have callbacks
+ *
+ * @return void
*/
public function testElementCallbacks() {
$Helper = $this->getMock('Helper', array(), array($this->View), 'ElementCallbackMockHtmlHelper');
diff --git a/lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php b/lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
index 46d08da44..98c9107b0 100644
--- a/lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
+++ b/lib/Cake/Test/test_app/Controller/TestsAppsPostsController.php
@@ -27,6 +27,11 @@ class TestsAppsPostsController extends AppController {
public $viewPath = 'TestsApps';
+/**
+ * add method
+ *
+ * @return void
+ */
public function add() {
$data = array(
'Post' => array(
@@ -44,6 +49,7 @@ class TestsAppsPostsController extends AppController {
/**
* check URL params
*
+ * @return void
*/
public function url_var() {
$this->set('params', $this->request->params);
@@ -53,12 +59,18 @@ class TestsAppsPostsController extends AppController {
/**
* post var testing
*
+ * @return void
*/
public function post_var() {
$this->set('data', $this->request->data);
$this->render('index');
}
+/**
+ * input_data()
+ *
+ * @return void
+ */
public function input_data() {
$this->set('data', $this->request->input('json_decode', true));
$this->render('index');
@@ -67,6 +79,7 @@ class TestsAppsPostsController extends AppController {
/**
* Fixturized action for testAction()
*
+ * @return void
*/
public function fixtured() {
$this->set('posts', $this->Post->find('all'));
diff --git a/lib/Cake/Test/test_app/Plugin/TestPluginTwo/View/Layouts/Emails/text/default.ctp b/lib/Cake/Test/test_app/Plugin/TestPluginTwo/View/Layouts/Emails/text/default.ctp
new file mode 100644
index 000000000..6e490fa42
--- /dev/null
+++ b/lib/Cake/Test/test_app/Plugin/TestPluginTwo/View/Layouts/Emails/text/default.ctp
@@ -0,0 +1,4 @@
+
+fetch('content'); ?>
+
+This email was sent using TestPluginTwo.
diff --git a/lib/Cake/TestSuite/CakeTestSuiteCommand.php b/lib/Cake/TestSuite/CakeTestSuiteCommand.php
index 65e391942..1af5baa8e 100644
--- a/lib/Cake/TestSuite/CakeTestSuiteCommand.php
+++ b/lib/Cake/TestSuite/CakeTestSuiteCommand.php
@@ -57,6 +57,7 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
*
* @param array $argv
* @param boolean $exit
+ * @return void
*/
public function run(array $argv, $exit = true) {
$this->handleArguments($argv);
diff --git a/lib/Cake/TestSuite/ControllerTestCase.php b/lib/Cake/TestSuite/ControllerTestCase.php
index 23f03ce79..a2b58c44b 100644
--- a/lib/Cake/TestSuite/ControllerTestCase.php
+++ b/lib/Cake/TestSuite/ControllerTestCase.php
@@ -94,6 +94,7 @@ class InterceptContentHelper extends Helper {
* Intercepts and stores the contents of the view before the layout is rendered
*
* @param string $viewFile The view file
+ * @return void
*/
public function afterRender($viewFile) {
$this->_View->assign('__view_no_layout__', $this->_View->fetch('content'));
diff --git a/lib/Cake/TestSuite/Fixture/CakeTestModel.php b/lib/Cake/TestSuite/Fixture/CakeTestModel.php
index bd23336c4..dc4254211 100644
--- a/lib/Cake/TestSuite/Fixture/CakeTestModel.php
+++ b/lib/Cake/TestSuite/Fixture/CakeTestModel.php
@@ -47,8 +47,8 @@ class CakeTestModel extends Model {
* @param array $data
* @param boolean|array $validate
* @param array $fieldList
+ * @return void
*/
-
public function save($data = null, $validate = true, $fieldList = array()) {
$db = $this->getDataSource();
$db->columns['datetime']['formatter'] = 'CakeTestSuiteDispatcher::date';
diff --git a/lib/Cake/TestSuite/Reporter/CakeBaseReporter.php b/lib/Cake/TestSuite/Reporter/CakeBaseReporter.php
index b14162a72..f98cde85c 100644
--- a/lib/Cake/TestSuite/Reporter/CakeBaseReporter.php
+++ b/lib/Cake/TestSuite/Reporter/CakeBaseReporter.php
@@ -122,6 +122,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* Print result
*
* @param PHPUnit_Framework_TestResult $result
+ * @return void
*/
public function printResult(PHPUnit_Framework_TestResult $result) {
$this->paintFooter($result);
@@ -131,6 +132,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* Paint result
*
* @param PHPUnit_Framework_TestResult $result
+ * @return void
*/
public function paintResult(PHPUnit_Framework_TestResult $result) {
$this->paintFooter($result);
@@ -142,6 +144,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* @param PHPUnit_Framework_Test $test
* @param Exception $e
* @param float $time
+ * @return void
*/
public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) {
$this->paintException($e, $test);
@@ -153,6 +156,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* @param PHPUnit_Framework_Test $test
* @param PHPUnit_Framework_AssertionFailedError $e
* @param float $time
+ * @return void
*/
public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) {
$this->paintFail($e, $test);
@@ -164,6 +168,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* @param PHPUnit_Framework_Test $test
* @param Exception $e
* @param float $time
+ * @return void
*/
public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
$this->paintSkip($e, $test);
@@ -175,6 +180,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* @param PHPUnit_Framework_Test $test
* @param Exception $e
* @param float $time
+ * @return void
*/
public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
$this->paintSkip($e, $test);
@@ -184,6 +190,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* A test suite started.
*
* @param PHPUnit_Framework_TestSuite $suite
+ * @return void
*/
public function startTestSuite(PHPUnit_Framework_TestSuite $suite) {
if (!$this->_headerSent) {
@@ -196,6 +203,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* A test suite ended.
*
* @param PHPUnit_Framework_TestSuite $suite
+ * @return void
*/
public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {
}
@@ -204,6 +212,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
* A test started.
*
* @param PHPUnit_Framework_Test $test
+ * @return void
*/
public function startTest(PHPUnit_Framework_Test $test) {
}
@@ -213,6 +222,7 @@ class CakeBaseReporter extends PHPUnit_TextUI_ResultPrinter {
*
* @param PHPUnit_Framework_Test $test
* @param float $time
+ * @return void
*/
public function endTest(PHPUnit_Framework_Test $test, $time) {
$this->numAssertions += $test->getNumAssertions();
diff --git a/lib/Cake/Utility/Set.php b/lib/Cake/Utility/Set.php
index 8c6bf3c17..1da93818a 100644
--- a/lib/Cake/Utility/Set.php
+++ b/lib/Cake/Utility/Set.php
@@ -23,6 +23,7 @@ App::uses('Hash', 'Utility');
* Class used for manipulation of arrays.
*
* @package Cake.Utility
+ * @deprecated Will be removed in 3.0. Use Hash instead.
*/
class Set {
diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php
index a8ec196f0..60deced1c 100644
--- a/lib/Cake/basics.php
+++ b/lib/Cake/basics.php
@@ -236,7 +236,7 @@ if (!function_exists('pr')) {
* print_r() will wrap tags around the output of given array. Similar to debug().
*
* @see debug()
- * @param array $var Variable to print out
+ * @param mixed $var Variable to print out
* @return void
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#pr
*/