summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-27 13:45:37 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-27 13:45:37 -0400
commit9ba44a01dbb187f4c931e1ba838e2bad258d34f4 (patch)
tree7daf5fd94183ff77c57d4bb25f9ef30396669fe2
parentc7cceade96d2698d2684add1970c03c8b4f32dfc (diff)
Minor improvements
-rw-r--r--app/Core/Helper.php1
-rw-r--r--app/Core/Template.php15
-rw-r--r--tests/units/Base.php1
3 files changed, 17 insertions, 0 deletions
diff --git a/app/Core/Helper.php b/app/Core/Helper.php
index e6152127..3a66fbd0 100644
--- a/app/Core/Helper.php
+++ b/app/Core/Helper.php
@@ -15,6 +15,7 @@ use Pimple\Container;
* @property \Kanboard\Helper\DateHelper $dt
* @property \Kanboard\Helper\FileHelper $file
* @property \Kanboard\Helper\FormHelper $form
+ * @property \Kanboard\Helper\HookHelper $hook
* @property \Kanboard\Helper\ModelHelper $model
* @property \Kanboard\Helper\SubtaskHelper $subtask
* @property \Kanboard\Helper\TaskHelper $task
diff --git a/app/Core/Template.php b/app/Core/Template.php
index cf5512d9..1874d44a 100644
--- a/app/Core/Template.php
+++ b/app/Core/Template.php
@@ -7,6 +7,21 @@ namespace Kanboard\Core;
*
* @package core
* @author Frederic Guillot
+ *
+ * @property \Kanboard\Helper\AppHelper $app
+ * @property \Kanboard\Helper\AssetHelper $asset
+ * @property \Kanboard\Helper\DateHelper $dt
+ * @property \Kanboard\Helper\FileHelper $file
+ * @property \Kanboard\Helper\FormHelper $form
+ * @property \Kanboard\Helper\HookHelper $hook
+ * @property \Kanboard\Helper\ModelHelper $model
+ * @property \Kanboard\Helper\SubtaskHelper $subtask
+ * @property \Kanboard\Helper\TaskHelper $task
+ * @property \Kanboard\Helper\TextHelper $text
+ * @property \Kanboard\Helper\UrlHelper $url
+ * @property \Kanboard\Helper\UserHelper $user
+ * @property \Kanboard\Helper\LayoutHelper $layout
+ * @property \Kanboard\Helper\ProjectHeaderHelper $projectHeader
*/
class Template
{
diff --git a/tests/units/Base.php b/tests/units/Base.php
index 6af14ba5..563035f6 100644
--- a/tests/units/Base.php
+++ b/tests/units/Base.php
@@ -39,6 +39,7 @@ abstract class Base extends PHPUnit_Framework_TestCase
$this->container->register(new Kanboard\ServiceProvider\ClassProvider);
$this->container->register(new Kanboard\ServiceProvider\NotificationProvider);
$this->container->register(new Kanboard\ServiceProvider\RouteProvider);
+ $this->container->register(new Kanboard\ServiceProvider\AvatarProvider);
$this->container['dispatcher'] = new TraceableEventDispatcher(
new EventDispatcher,