aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console
diff options
context:
space:
mode:
authorLEZY Thomas <thomas.gif.91@gmail.com>2014-05-28 18:28:46 +0200
committerLEZY Thomas <thomas.gif.91@gmail.com>2014-05-28 19:22:25 +0200
commit61ad42790f653c0fe7bf1c1b5d27181794bec997 (patch)
tree185c6d16a028fb0a2468bf5c55ab3fcc223c4cd4 /tests/console
parent18875894ec046e48e8627a9c1b2158670eea70e9 (diff)
downloadforums-61ad42790f653c0fe7bf1c1b5d27181794bec997.tar
forums-61ad42790f653c0fe7bf1c1b5d27181794bec997.tar.gz
forums-61ad42790f653c0fe7bf1c1b5d27181794bec997.tar.bz2
forums-61ad42790f653c0fe7bf1c1b5d27181794bec997.tar.xz
forums-61ad42790f653c0fe7bf1c1b5d27181794bec997.zip
[ticket/12597] Fix various problems
Actually fix the return status of command cron:run-all Fix some doc block coding style issue Fix missing and obsolete file headers Delete a useless constructor method PHPBB3-12597
Diffstat (limited to 'tests/console')
-rw-r--r--tests/console/cron/run_all_test.php10
-rw-r--r--tests/console/cron/tasks/simple.php18
2 files changed, 19 insertions, 9 deletions
diff --git a/tests/console/cron/run_all_test.php b/tests/console/cron/run_all_test.php
index 5306d27094..716ad50d81 100644
--- a/tests/console/cron/run_all_test.php
+++ b/tests/console/cron/run_all_test.php
@@ -1,9 +1,13 @@
<?php
/**
*
-* @package testing
-* @copyright (c) 2014 phpBB Group
-* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
*
*/
diff --git a/tests/console/cron/tasks/simple.php b/tests/console/cron/tasks/simple.php
index b1fd41f34e..c814c29bde 100644
--- a/tests/console/cron/tasks/simple.php
+++ b/tests/console/cron/tasks/simple.php
@@ -1,13 +1,19 @@
<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
class phpbb_cron_task_simple extends \phpbb\cron\task\base
{
- public $executed;
-
- public function __construct()
- {
- $this->executed = false;
- }
+ public $executed = false;
public function get_name()
{