diff --git a/app/Commands/Command.php b/app/Commands/Command.php
index 776c29ec..630d90e0 100644
--- a/app/Commands/Command.php
+++ b/app/Commands/Command.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Commands;
abstract class Command
diff --git a/app/Composers/DashboardComposer.php b/app/Composers/DashboardComposer.php
index 5937cefd..55d5bdaa 100644
--- a/app/Composers/DashboardComposer.php
+++ b/app/Composers/DashboardComposer.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Composers;
use CachetHQ\Cachet\Models\Component;
@@ -12,8 +21,6 @@ class DashboardComposer
* Bind data to the view.
*
* @param \Illuminate\View\View $view
- *
- * @return void
*/
public function compose(View $view)
{
diff --git a/app/Composers/IndexComposer.php b/app/Composers/IndexComposer.php
index 40b9a268..f257f7e8 100644
--- a/app/Composers/IndexComposer.php
+++ b/app/Composers/IndexComposer.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Composers;
use CachetHQ\Cachet\Models\Component;
@@ -12,8 +21,6 @@ class IndexComposer
* Index page view composer.
*
* @param \Illuminate\View\View $view
- *
- * @return void
*/
public function compose(View $view)
{
diff --git a/app/Composers/LoggedUserComposer.php b/app/Composers/LoggedUserComposer.php
index 78e91a05..d88b74d9 100644
--- a/app/Composers/LoggedUserComposer.php
+++ b/app/Composers/LoggedUserComposer.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Composers;
use Illuminate\Support\Facades\Auth;
@@ -11,8 +20,6 @@ class LoggedUserComposer
* Bind data to the view.
*
* @param \Illuminate\View\View $view
- *
- * @return void
*/
public function compose(View $view)
{
diff --git a/app/Composers/TimezoneLocaleComposer.php b/app/Composers/TimezoneLocaleComposer.php
index 924a316f..a750f514 100644
--- a/app/Composers/TimezoneLocaleComposer.php
+++ b/app/Composers/TimezoneLocaleComposer.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Composers;
use DateTime;
@@ -13,8 +22,6 @@ class TimezoneLocaleComposer
* Timezones and Locales composer.
*
* @param \Illuminate\View\View $view
- *
- * @return void
*/
public function compose(View $view)
{
diff --git a/app/Config/Repository.php b/app/Config/Repository.php
index 088ea6ca..6e902fe7 100644
--- a/app/Config/Repository.php
+++ b/app/Config/Repository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Config;
use CachetHQ\Cachet\Models\Setting;
@@ -24,8 +33,6 @@ class Repository
* Create a new settings service instance.
*
* @param \CachetHQ\Cachet\Models\Setting $model
- *
- * @return void
*/
public function __construct(Setting $model)
{
@@ -63,8 +70,6 @@ class Repository
*
* @param string $name
* @param string $value
- *
- * @return void
*/
public function set($name, $value)
{
diff --git a/app/Console/Commands/FixPermissionsCommand.php b/app/Console/Commands/FixPermissionsCommand.php
index c4ed0df2..03926b2d 100644
--- a/app/Console/Commands/FixPermissionsCommand.php
+++ b/app/Console/Commands/FixPermissionsCommand.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Console\Commands;
use DirectoryIterator;
@@ -56,8 +65,6 @@ class FixPermissionsCommand extends Command
* @param string $databaseDirectory
* @param string $databasePath
* @param string $databaseDefault
- *
- * @return void
*/
public function __construct($storageDirectory, $databaseDirectory, $databasePath, $databaseDefault)
{
@@ -71,8 +78,6 @@ class FixPermissionsCommand extends Command
/**
* Execute the console command.
- *
- * @return void
*/
public function fire()
{
@@ -89,8 +94,6 @@ class FixPermissionsCommand extends Command
*
* @param string $path
* @param string $mode
- *
- * @return void
*/
protected function recursiveChmod($path, $mode = '0755')
{
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index 51e5212e..e996205a 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Console;
use Illuminate\Console\Scheduling\Schedule;
@@ -20,8 +29,6 @@ class Kernel extends ConsoleKernel
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
- *
- * @return void
*/
protected function schedule(Schedule $schedule)
{
diff --git a/app/Events/Event.php b/app/Events/Event.php
index 696a925c..ecbb0902 100644
--- a/app/Events/Event.php
+++ b/app/Events/Event.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Events;
abstract class Event
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index c1f8c8c4..8a043fa5 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Exceptions;
use CachetHQ\Cachet\Repositories\InvalidModelValidationException;
diff --git a/app/Facades/Setting.php b/app/Facades/Setting.php
index 3fb453ea..4981cd78 100644
--- a/app/Facades/Setting.php
+++ b/app/Facades/Setting.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Facades;
use Illuminate\Support\Facades\Facade;
diff --git a/app/Http/Controllers/AbstractController.php b/app/Http/Controllers/AbstractController.php
index 4c668693..70dd9798 100644
--- a/app/Http/Controllers/AbstractController.php
+++ b/app/Http/Controllers/AbstractController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesCommands;
diff --git a/app/Http/Controllers/Admin/ApiController.php b/app/Http/Controllers/Admin/ApiController.php
index a83d6106..1443437e 100644
--- a/app/Http/Controllers/Admin/ApiController.php
+++ b/app/Http/Controllers/Admin/ApiController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
diff --git a/app/Http/Controllers/Admin/ComponentController.php b/app/Http/Controllers/Admin/ComponentController.php
index ba84af66..586468e5 100644
--- a/app/Http/Controllers/Admin/ComponentController.php
+++ b/app/Http/Controllers/Admin/ComponentController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
@@ -112,7 +121,7 @@ class ComponentController extends AbstractController
$component->update($_component);
- if (! $component->isValid()) {
+ if (!$component->isValid()) {
segment_track('Dashboard', [
'event' => 'Edit Component',
'success' => false,
@@ -182,7 +191,7 @@ class ComponentController extends AbstractController
$component = Component::create($_component);
- if (! $component->isValid()) {
+ if (!$component->isValid()) {
segment_track('Dashboard', [
'event' => 'Created Component',
'success' => false,
@@ -301,7 +310,7 @@ class ComponentController extends AbstractController
{
$group = ComponentGroup::create(Binput::get('group'));
- if (! $group->isValid()) {
+ if (!$group->isValid()) {
segment_track('Dashboard', [
'event' => 'Created Component Group',
'success' => false,
@@ -342,7 +351,7 @@ class ComponentController extends AbstractController
$groupData = Binput::get('group');
$group->update($groupData);
- if (! $group->isValid()) {
+ if (!$group->isValid()) {
segment_track('Dashboard', [
'event' => 'Edit Component Group',
'success' => false,
diff --git a/app/Http/Controllers/Admin/DashboardController.php b/app/Http/Controllers/Admin/DashboardController.php
index 4f1aa6c7..62be5350 100644
--- a/app/Http/Controllers/Admin/DashboardController.php
+++ b/app/Http/Controllers/Admin/DashboardController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
diff --git a/app/Http/Controllers/Admin/IncidentController.php b/app/Http/Controllers/Admin/IncidentController.php
index 57b11b6c..407f3f2c 100644
--- a/app/Http/Controllers/Admin/IncidentController.php
+++ b/app/Http/Controllers/Admin/IncidentController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
@@ -106,7 +115,7 @@ class IncidentController extends AbstractController
$incident = Incident::create($incidentData);
- if (! $incident->isValid()) {
+ if (!$incident->isValid()) {
segment_track('Dashboard', [
'event' => 'Created Incident',
'success' => false,
@@ -197,7 +206,7 @@ class IncidentController extends AbstractController
$_template = Binput::get('template');
$template = IncidentTemplate::create($_template);
- if (! $template->isValid()) {
+ if (!$template->isValid()) {
segment_track('Dashboard', [
'event' => 'Created Incident Template',
'success' => false,
@@ -277,7 +286,7 @@ class IncidentController extends AbstractController
$incidentData['user_id'] = Auth::user()->id;
$incident->update($incidentData);
- if (! $incident->isValid()) {
+ if (!$incident->isValid()) {
segment_track('Dashboard', [
'event' => 'Edited Incident',
'success' => false,
diff --git a/app/Http/Controllers/Admin/MetricController.php b/app/Http/Controllers/Admin/MetricController.php
index ff917107..c756a1a8 100644
--- a/app/Http/Controllers/Admin/MetricController.php
+++ b/app/Http/Controllers/Admin/MetricController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
@@ -62,7 +71,7 @@ class MetricController extends AbstractController
$metricData = Binput::get('metric');
$metric = Metric::create($metricData);
- if (! $metric->isValid()) {
+ if (!$metric->isValid()) {
segment_track('Dashboard', [
'event' => 'Created Metric',
'success' => false,
@@ -113,7 +122,7 @@ class MetricController extends AbstractController
$_point = Binput::get('point');
$point = MetricPoint::create($_point);
- if (! $point->isValid()) {
+ if (!$point->isValid()) {
return Redirect::back()->withInput(Binput::all())
->with('title', sprintf(
'%s %s',
@@ -173,7 +182,7 @@ class MetricController extends AbstractController
$_metric = Binput::get('metric');
$metric->update($_metric);
- if (! $metric->isValid()) {
+ if (!$metric->isValid()) {
segment_track('Dashboard', [
'event' => 'Edited Metric',
'success' => false,
diff --git a/app/Http/Controllers/Admin/ScheduleController.php b/app/Http/Controllers/Admin/ScheduleController.php
index 1f81b60f..df5d57d3 100644
--- a/app/Http/Controllers/Admin/ScheduleController.php
+++ b/app/Http/Controllers/Admin/ScheduleController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Facades\Setting;
@@ -104,7 +113,7 @@ class ScheduleController extends AbstractController
$incident = Incident::create($scheduleData);
- if (! $incident->isValid()) {
+ if (!$incident->isValid()) {
segment_track('Dashboard', [
'event' => 'Created Scheduled Maintenance',
'success' => false,
@@ -180,7 +189,7 @@ class ScheduleController extends AbstractController
$schedule->update($scheduleData);
- if (! $schedule->isValid()) {
+ if (!$schedule->isValid()) {
segment_track('Dashboard', [
'event' => 'Edited Schedule',
'success' => false,
diff --git a/app/Http/Controllers/Admin/SettingsController.php b/app/Http/Controllers/Admin/SettingsController.php
index 63f95a62..8987758e 100644
--- a/app/Http/Controllers/Admin/SettingsController.php
+++ b/app/Http/Controllers/Admin/SettingsController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
diff --git a/app/Http/Controllers/Admin/TeamController.php b/app/Http/Controllers/Admin/TeamController.php
index 2f8b245b..701fd407 100644
--- a/app/Http/Controllers/Admin/TeamController.php
+++ b/app/Http/Controllers/Admin/TeamController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
@@ -59,7 +68,7 @@ class TeamController extends AbstractController
{
$user = User::create(Binput::all());
- if (! $user->isValid()) {
+ if (!$user->isValid()) {
segment_track('Dashboard', [
'event' => 'Added User',
'success' => false,
@@ -107,7 +116,7 @@ class TeamController extends AbstractController
$user->update($items);
- if (! $user->isValid()) {
+ if (!$user->isValid()) {
segment_track('Dashboard', [
'event' => 'Updated User',
'success' => false,
diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php
index d3d46550..925acebb 100644
--- a/app/Http/Controllers/Admin/UserController.php
+++ b/app/Http/Controllers/Admin/UserController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Admin;
use CachetHQ\Cachet\Http\Controllers\AbstractController;
@@ -37,14 +46,14 @@ class UserController extends AbstractController
$enable2FA = (bool) array_pull($items, 'google2fa');
// Let's enable/disable auth
- if ($enable2FA && ! Auth::user()->hasTwoFactor) {
+ if ($enable2FA && !Auth::user()->hasTwoFactor) {
$items['google_2fa_secret'] = Google2FA::generateSecretKey();
segment_track('User Management', [
'event' => 'enabled_two_factor',
'value' => true,
]);
- } elseif (! $enable2FA) {
+ } elseif (!$enable2FA) {
$items['google_2fa_secret'] = '';
segment_track('User Management', [
@@ -60,7 +69,7 @@ class UserController extends AbstractController
$user = Auth::user();
$user->update($items);
- if (! $user->isValid()) {
+ if (!$user->isValid()) {
return Redirect::back()->withInput(Binput::except('password'))
->with('title', sprintf(
'%s %s',
diff --git a/app/Http/Controllers/Api/AbstractApiController.php b/app/Http/Controllers/Api/AbstractApiController.php
index d3684001..9af7e4b2 100644
--- a/app/Http/Controllers/Api/AbstractApiController.php
+++ b/app/Http/Controllers/Api/AbstractApiController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Api;
use CachetHQ\Cachet\Http\Controllers\AbstractController as BaseController;
@@ -145,7 +154,7 @@ abstract class AbstractApiController extends BaseController
*/
protected function respond()
{
- if (! empty($this->meta)) {
+ if (!empty($this->meta)) {
$response['meta'] = $this->meta;
}
diff --git a/app/Http/Controllers/Api/ComponentController.php b/app/Http/Controllers/Api/ComponentController.php
index ce2a65a1..e5bc866a 100644
--- a/app/Http/Controllers/Api/ComponentController.php
+++ b/app/Http/Controllers/Api/ComponentController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Api;
use CachetHQ\Cachet\Models\Tag;
@@ -20,8 +29,6 @@ class ComponentController extends AbstractApiController
* Create a new component controller instance.
*
* @param \CachetHQ\Cachet\Repositories\Component\ComponentRepository $component
- *
- * @return void
*/
public function __construct(ComponentRepository $component)
{
diff --git a/app/Http/Controllers/Api/IncidentController.php b/app/Http/Controllers/Api/IncidentController.php
index b1977310..a27eadfd 100644
--- a/app/Http/Controllers/Api/IncidentController.php
+++ b/app/Http/Controllers/Api/IncidentController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Api;
use CachetHQ\Cachet\Repositories\Incident\IncidentRepository;
@@ -19,8 +28,6 @@ class IncidentController extends AbstractApiController
* Create a new incident controller instance.
*
* @param \CachetHQ\Cachet\Repositories\Incident\IncidentRepository $incident
- *
- * @return void
*/
public function __construct(IncidentRepository $incident)
{
diff --git a/app/Http/Controllers/Api/MetricController.php b/app/Http/Controllers/Api/MetricController.php
index 26a2176d..c0ed0cb2 100644
--- a/app/Http/Controllers/Api/MetricController.php
+++ b/app/Http/Controllers/Api/MetricController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Api;
use CachetHQ\Cachet\Repositories\Metric\MetricRepository;
@@ -19,8 +28,6 @@ class MetricController extends AbstractApiController
* Create a new metric controller instance.
*
* @param \CachetHQ\Cachet\Repositories\Metric\MetricRepository $metric
- *
- * @return void
*/
public function __construct(MetricRepository $metric)
{
diff --git a/app/Http/Controllers/Api/MetricPointController.php b/app/Http/Controllers/Api/MetricPointController.php
index e197ac8a..c8e5675e 100644
--- a/app/Http/Controllers/Api/MetricPointController.php
+++ b/app/Http/Controllers/Api/MetricPointController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers\Api;
use CachetHQ\Cachet\Repositories\MetricPoint\MetricPointRepository;
@@ -18,8 +27,6 @@ class MetricPointController extends AbstractApiController
* Create a new metric point controller instance.
*
* @param \CachetHQ\Cachet\Repositories\MetricPoint\MetricPointRepository $metricPoint
- *
- * @return void
*/
public function __construct(MetricPointRepository $metricPoint)
{
diff --git a/app/Http/Controllers/AtomController.php b/app/Http/Controllers/AtomController.php
index 07bf4c24..dc00f812 100644
--- a/app/Http/Controllers/AtomController.php
+++ b/app/Http/Controllers/AtomController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers;
use CachetHQ\Cachet\Facades\Setting;
@@ -44,8 +53,6 @@ class AtomController extends AbstractController
*
* @param Roumen\Feed\Facades\Feed $feed
* @param \CachetHQ\Cachet\Models\Incident $incident
- *
- * @return void
*/
private function feedAddItem(&$feed, $incident)
{
diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php
index 17b57a5d..5172b322 100644
--- a/app/Http/Controllers/AuthController.php
+++ b/app/Http/Controllers/AuthController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers;
use GrahamCampbell\Binput\Facades\Binput;
diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php
index f579f91e..95687216 100644
--- a/app/Http/Controllers/HomeController.php
+++ b/app/Http/Controllers/HomeController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers;
use CachetHQ\Cachet\Facades\Setting;
diff --git a/app/Http/Controllers/RssController.php b/app/Http/Controllers/RssController.php
index 6b5ff886..4a790685 100644
--- a/app/Http/Controllers/RssController.php
+++ b/app/Http/Controllers/RssController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers;
use CachetHQ\Cachet\Facades\Setting;
@@ -45,8 +54,6 @@ class RssController extends AbstractController
*
* @param Roumen\Feed\Facades\Feed $feed
* @param \CachetHQ\Cachet\Models\Incident $incident
- *
- * @return void
*/
private function feedAddItem(&$feed, $incident)
{
diff --git a/app/Http/Controllers/SetupController.php b/app/Http/Controllers/SetupController.php
index 6939ac0c..ef9b1687 100644
--- a/app/Http/Controllers/SetupController.php
+++ b/app/Http/Controllers/SetupController.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Controllers;
use CachetHQ\Cachet\Models\Setting;
@@ -17,8 +26,6 @@ class SetupController extends AbstractController
{
/**
* Create a new setup controller instance.
- *
- * @return void
*/
public function __construct()
{
diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php
index 7589b96b..ca03dd8a 100644
--- a/app/Http/Kernel.php
+++ b/app/Http/Kernel.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
diff --git a/app/Http/Middleware/Admin.php b/app/Http/Middleware/Admin.php
index 0824aab3..99352211 100644
--- a/app/Http/Middleware/Admin.php
+++ b/app/Http/Middleware/Admin.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use Closure;
@@ -19,8 +28,6 @@ class Admin
* Create a new filter instance.
*
* @param Guard $auth
- *
- * @return void
*/
public function __construct(Guard $auth)
{
diff --git a/app/Http/Middleware/AllowedDomains.php b/app/Http/Middleware/AllowedDomains.php
index 0cf2bd43..2a078ce5 100644
--- a/app/Http/Middleware/AllowedDomains.php
+++ b/app/Http/Middleware/AllowedDomains.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use CachetHQ\Cachet\Facades\Setting;
diff --git a/app/Http/Middleware/ApiAuthenticate.php b/app/Http/Middleware/ApiAuthenticate.php
index 93202527..126537fc 100644
--- a/app/Http/Middleware/ApiAuthenticate.php
+++ b/app/Http/Middleware/ApiAuthenticate.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use CachetHQ\Cachet\Models\User;
diff --git a/app/Http/Middleware/AppIsSetup.php b/app/Http/Middleware/AppIsSetup.php
index 04dde8ba..b250b1a2 100644
--- a/app/Http/Middleware/AppIsSetup.php
+++ b/app/Http/Middleware/AppIsSetup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use CachetHQ\Cachet\Models\Setting;
diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php
index 36f58d84..41dbdbaa 100644
--- a/app/Http/Middleware/Authenticate.php
+++ b/app/Http/Middleware/Authenticate.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use Closure;
@@ -18,8 +27,6 @@ class Authenticate
* Create a new filter instance.
*
* @param Guard $auth
- *
- * @return void
*/
public function __construct(Guard $auth)
{
diff --git a/app/Http/Middleware/Cors.php b/app/Http/Middleware/Cors.php
index 3eb686d4..61ea96ef 100644
--- a/app/Http/Middleware/Cors.php
+++ b/app/Http/Middleware/Cors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use Closure;
diff --git a/app/Http/Middleware/HasSetting.php b/app/Http/Middleware/HasSetting.php
index c774a9e1..bed9e54a 100644
--- a/app/Http/Middleware/HasSetting.php
+++ b/app/Http/Middleware/HasSetting.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use CachetHQ\Cachet\Models\Setting;
diff --git a/app/Http/Middleware/LoginThrottling.php b/app/Http/Middleware/LoginThrottling.php
index 4c88d8ab..5d1cc967 100644
--- a/app/Http/Middleware/LoginThrottling.php
+++ b/app/Http/Middleware/LoginThrottling.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use Closure;
diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php
index 7e8e1080..7f2cbe7a 100644
--- a/app/Http/Middleware/RedirectIfAuthenticated.php
+++ b/app/Http/Middleware/RedirectIfAuthenticated.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use Closure;
@@ -19,8 +28,6 @@ class RedirectIfAuthenticated
* Create a new filter instance.
*
* @param Guard $auth
- *
- * @return void
*/
public function __construct(Guard $auth)
{
diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php
index df1a9042..32b49809 100644
--- a/app/Http/Middleware/VerifyCsrfToken.php
+++ b/app/Http/Middleware/VerifyCsrfToken.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Middleware;
use Closure;
diff --git a/app/Http/Requests/Request.php b/app/Http/Requests/Request.php
index 1dc15d79..36b242e6 100644
--- a/app/Http/Requests/Request.php
+++ b/app/Http/Requests/Request.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
diff --git a/app/Http/Routes/AdminRoutes.php b/app/Http/Routes/AdminRoutes.php
index 45589c3b..176315b2 100644
--- a/app/Http/Routes/AdminRoutes.php
+++ b/app/Http/Routes/AdminRoutes.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Routes;
use Illuminate\Contracts\Routing\Registrar;
@@ -10,8 +19,6 @@ class AdminRoutes
* Define the dashboard routes.
*
* @param \Illuminate\Contracts\Routing\Registrar $router
- *
- * @return void
*/
public function map(Registrar $router)
{
diff --git a/app/Http/Routes/ApiRoutes.php b/app/Http/Routes/ApiRoutes.php
index b94ec20b..e71a8d7b 100644
--- a/app/Http/Routes/ApiRoutes.php
+++ b/app/Http/Routes/ApiRoutes.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Routes;
use Illuminate\Contracts\Routing\Registrar;
@@ -10,8 +19,6 @@ class ApiRoutes
* Define the api routes.
*
* @param \Illuminate\Contracts\Routing\Registrar $router
- *
- * @return void
*/
public function map(Registrar $router)
{
diff --git a/app/Http/Routes/AuthRoutes.php b/app/Http/Routes/AuthRoutes.php
index 6fb7bd08..b43a44e5 100644
--- a/app/Http/Routes/AuthRoutes.php
+++ b/app/Http/Routes/AuthRoutes.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Routes;
use Illuminate\Contracts\Routing\Registrar;
@@ -10,8 +19,6 @@ class AuthRoutes
* Define the auth routes.
*
* @param \Illuminate\Contracts\Routing\Registrar $router
- *
- * @return void
*/
public function map(Registrar $router)
{
diff --git a/app/Http/Routes/SetupRoutes.php b/app/Http/Routes/SetupRoutes.php
index 74f26a51..018367a1 100644
--- a/app/Http/Routes/SetupRoutes.php
+++ b/app/Http/Routes/SetupRoutes.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Routes;
use Illuminate\Contracts\Routing\Registrar;
@@ -10,8 +19,6 @@ class SetupRoutes
* Define the setup routes.
*
* @param \Illuminate\Contracts\Routing\Registrar $router
- *
- * @return void
*/
public function map(Registrar $router)
{
diff --git a/app/Http/Routes/StatusPageRoutes.php b/app/Http/Routes/StatusPageRoutes.php
index cbdd5452..778c7db7 100644
--- a/app/Http/Routes/StatusPageRoutes.php
+++ b/app/Http/Routes/StatusPageRoutes.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Http\Routes;
use Illuminate\Contracts\Routing\Registrar;
@@ -10,8 +19,6 @@ class StatusPageRoutes
* Define the status page routes.
*
* @param \Illuminate\Contracts\Routing\Registrar $router
- *
- * @return void
*/
public function map(Registrar $router)
{
diff --git a/app/Http/helpers.php b/app/Http/helpers.php
index 2eccec21..5eec9a80 100644
--- a/app/Http/helpers.php
+++ b/app/Http/helpers.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use CachetHQ\Cachet\Facades\Setting;
use CachetHQ\Segment\Facades\Segment;
use Illuminate\Database\QueryException;
diff --git a/app/Models/Component.php b/app/Models/Component.php
index ff9d5016..d27e68a5 100644
--- a/app/Models/Component.php
+++ b/app/Models/Component.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Builder;
diff --git a/app/Models/ComponentGroup.php b/app/Models/ComponentGroup.php
index 64572797..da69668e 100644
--- a/app/Models/ComponentGroup.php
+++ b/app/Models/ComponentGroup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/app/Models/Incident.php b/app/Models/Incident.php
index 0ee116b4..451c2518 100644
--- a/app/Models/Incident.php
+++ b/app/Models/Incident.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Carbon\Carbon;
diff --git a/app/Models/IncidentTemplate.php b/app/Models/IncidentTemplate.php
index 1976b36f..82f7f40c 100644
--- a/app/Models/IncidentTemplate.php
+++ b/app/Models/IncidentTemplate.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
@@ -37,8 +46,6 @@ class IncidentTemplate extends Model
/**
* Overrides the models boot method.
- *
- * @return void
*/
public static function boot()
{
diff --git a/app/Models/Metric.php b/app/Models/Metric.php
index 092276ba..42c1821a 100644
--- a/app/Models/Metric.php
+++ b/app/Models/Metric.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use DateInterval;
@@ -81,14 +90,14 @@ class Metric extends Model
$dateTime->sub(new DateInterval('PT'.$hour.'H'));
if (Config::get('database.default') === 'mysql') {
- if (! isset($this->calc_type) || $this->calc_type == self::CALC_SUM) {
+ if (!isset($this->calc_type) || $this->calc_type == self::CALC_SUM) {
$value = (int) $this->points()->whereRaw('DATE_FORMAT(created_at, "%Y%m%e%H") = '.$dateTime->sub(new DateInterval('PT'.$hour.'H'))->format('YmdH'))->groupBy(DB::raw('HOUR(created_at)'))->sum('value');
} elseif ($this->calc_type == self::CALC_AVG) {
$value = (int) $this->points()->whereRaw('DATE_FORMAT(created_at, "%Y%m%e%H") = '.$dateTime->sub(new DateInterval('PT'.$hour.'H'))->format('YmdH'))->groupBy(DB::raw('HOUR(created_at)'))->avg('value');
}
} else {
// Default metrics calculations.
- if (! isset($this->calc_type) || $this->calc_type == self::CALC_SUM) {
+ if (!isset($this->calc_type) || $this->calc_type == self::CALC_SUM) {
$queryType = 'sum(metric_points.value)';
} elseif ($this->calc_type == self::CALC_AVG) {
$queryType = 'avg(metric_points.value)';
diff --git a/app/Models/MetricPoint.php b/app/Models/MetricPoint.php
index 0600a977..1f1e1df9 100644
--- a/app/Models/MetricPoint.php
+++ b/app/Models/MetricPoint.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/app/Models/Service.php b/app/Models/Service.php
index 8ac3ec24..f134c538 100644
--- a/app/Models/Service.php
+++ b/app/Models/Service.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/app/Models/Setting.php b/app/Models/Setting.php
index cde06e7e..5a3cb0b5 100644
--- a/app/Models/Setting.php
+++ b/app/Models/Setting.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/app/Models/Subscriber.php b/app/Models/Subscriber.php
index e389eed0..c6575369 100644
--- a/app/Models/Subscriber.php
+++ b/app/Models/Subscriber.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/app/Models/Tag.php b/app/Models/Tag.php
index 7c60c928..34113c97 100644
--- a/app/Models/Tag.php
+++ b/app/Models/Tag.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
@@ -23,8 +32,6 @@ class Tag extends Model
/**
* Overrides the models boot method.
- *
- * @return void
*/
public static function boot()
{
diff --git a/app/Models/User.php b/app/Models/User.php
index eeb45651..6a2a8990 100644
--- a/app/Models/User.php
+++ b/app/Models/User.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Models;
use Illuminate\Auth\Authenticatable;
@@ -57,15 +66,13 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
/**
* Overrides the models boot method.
- *
- * @return void
*/
public static function boot()
{
parent::boot();
self::creating(function ($user) {
- if (! $user->api_key) {
+ if (!$user->api_key) {
$user->api_key = self::generateApiKey();
}
});
diff --git a/app/Presenters/IncidentPresenter.php b/app/Presenters/IncidentPresenter.php
index 87723ef2..fa80d43a 100644
--- a/app/Presenters/IncidentPresenter.php
+++ b/app/Presenters/IncidentPresenter.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Presenters;
use CachetHQ\Cachet\Facades\Setting;
@@ -21,8 +30,6 @@ class IncidentPresenter extends BasePresenter
* Create a incident presenter instance.
*
* @param object $resource
- *
- * @return void
*/
public function __construct($resource)
{
diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php
index 71dff2cf..6e5433e6 100644
--- a/app/Providers/AppServiceProvider.php
+++ b/app/Providers/AppServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use Illuminate\Support\ServiceProvider;
@@ -8,8 +17,6 @@ class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
- *
- * @return void
*/
public function boot()
{
@@ -22,8 +29,6 @@ class AppServiceProvider extends ServiceProvider
* This service provider is a great spot to register your various container
* bindings with the application. As you can see, we are registering our
* "Registrar" implementation here. You can add your own bindings too!
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/BusServiceProvider.php b/app/Providers/BusServiceProvider.php
index 12371430..44551593 100644
--- a/app/Providers/BusServiceProvider.php
+++ b/app/Providers/BusServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use Illuminate\Bus\Dispatcher;
@@ -11,8 +20,6 @@ class BusServiceProvider extends ServiceProvider
* Bootstrap any application services.
*
* @param \Illuminate\Bus\Dispatcher $dispatcher
- *
- * @return void
*/
public function boot(Dispatcher $dispatcher)
{
@@ -25,8 +32,6 @@ class BusServiceProvider extends ServiceProvider
/**
* Register any application services.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/ConfigServiceProvider.php b/app/Providers/ConfigServiceProvider.php
index e236297e..edda0da5 100644
--- a/app/Providers/ConfigServiceProvider.php
+++ b/app/Providers/ConfigServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use Illuminate\Support\ServiceProvider;
@@ -12,8 +21,6 @@ class ConfigServiceProvider extends ServiceProvider
* This service provider is intended to provide a convenient location for you
* to overwrite any "vendor" or package configuration that you may want to
* modify before the application handles the incoming request / command.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/ConsoleServiceProvider.php b/app/Providers/ConsoleServiceProvider.php
index 8080b42f..89fa2fed 100644
--- a/app/Providers/ConsoleServiceProvider.php
+++ b/app/Providers/ConsoleServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Console\Commands\FixPermissionsCommand;
@@ -9,8 +18,6 @@ class ConsoleServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
- *
- * @return void
*/
public function boot()
{
@@ -19,8 +26,6 @@ class ConsoleServiceProvider extends ServiceProvider
/**
* Register the service provider.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php
index 6dbe6b0c..39fce7b0 100644
--- a/app/Providers/EventServiceProvider.php
+++ b/app/Providers/EventServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
@@ -22,8 +31,6 @@ class EventServiceProvider extends ServiceProvider
* Register any other events for your application.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
- *
- * @return void
*/
public function boot(DispatcherContract $events)
{
diff --git a/app/Providers/LoadConfigServiceProvider.php b/app/Providers/LoadConfigServiceProvider.php
index 3be66b5a..3a2bf1c2 100644
--- a/app/Providers/LoadConfigServiceProvider.php
+++ b/app/Providers/LoadConfigServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Facades\Setting;
@@ -10,8 +19,6 @@ class LoadConfigServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
- *
- * @return void
*/
public function boot()
{
@@ -43,8 +50,6 @@ class LoadConfigServiceProvider extends ServiceProvider
/**
* Register the service provider.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/RepositoryServiceProvider.php b/app/Providers/RepositoryServiceProvider.php
index 0b0a2625..f5bfd337 100644
--- a/app/Providers/RepositoryServiceProvider.php
+++ b/app/Providers/RepositoryServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use Illuminate\Support\ServiceProvider;
@@ -8,8 +17,6 @@ class RepositoryServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
- *
- * @return void
*/
public function boot()
{
@@ -18,8 +25,6 @@ class RepositoryServiceProvider extends ServiceProvider
/**
* Register the service provider.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php
index ce6a01dc..c5ab3359 100644
--- a/app/Providers/RouteServiceProvider.php
+++ b/app/Providers/RouteServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
@@ -20,8 +29,6 @@ class RouteServiceProvider extends ServiceProvider
* Define your route model bindings, pattern filters, etc.
*
* @param \Illuminate\Routing\Router $router
- *
- * @return void
*/
public function boot(Router $router)
{
@@ -32,8 +39,6 @@ class RouteServiceProvider extends ServiceProvider
/**
* Register model bindings.
- *
- * @return void
*/
protected function registerBindings()
{
@@ -51,8 +56,6 @@ class RouteServiceProvider extends ServiceProvider
* Define the routes for the application.
*
* @param \Illuminate\Routing\Router $router
- *
- * @return void
*/
public function map(Router $router)
{
diff --git a/app/Providers/SegmentApiServiceProvider.php b/app/Providers/SegmentApiServiceProvider.php
index 33c639b0..75d7928c 100644
--- a/app/Providers/SegmentApiServiceProvider.php
+++ b/app/Providers/SegmentApiServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Segment\CacheRepository;
@@ -11,8 +20,6 @@ class SegmentApiServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
- *
- * @return void
*/
public function boot()
{
@@ -21,8 +28,6 @@ class SegmentApiServiceProvider extends ServiceProvider
/**
* Register the service provider.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/SettingsServiceProvider.php b/app/Providers/SettingsServiceProvider.php
index ef1f7c95..5b834a3d 100644
--- a/app/Providers/SettingsServiceProvider.php
+++ b/app/Providers/SettingsServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use CachetHQ\Cachet\Config\Repository;
@@ -10,8 +19,6 @@ class SettingsServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
- *
- * @return void
*/
public function boot()
{
@@ -20,8 +27,6 @@ class SettingsServiceProvider extends ServiceProvider
/**
* Register the service provider.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Providers/ViewComposerServiceProvider.php b/app/Providers/ViewComposerServiceProvider.php
index 962aa725..62b5f6da 100644
--- a/app/Providers/ViewComposerServiceProvider.php
+++ b/app/Providers/ViewComposerServiceProvider.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Providers;
use Illuminate\Support\ServiceProvider;
@@ -8,8 +17,6 @@ class ViewComposerServiceProvider extends ServiceProvider
{
/**
* Boot the service provider.
- *
- * @return void
*/
public function boot()
{
@@ -18,8 +25,6 @@ class ViewComposerServiceProvider extends ServiceProvider
/**
* Register the service provider.
- *
- * @return void
*/
public function register()
{
diff --git a/app/Repositories/Component/ComponentRepository.php b/app/Repositories/Component/ComponentRepository.php
index 1b80f9fa..603f22f2 100644
--- a/app/Repositories/Component/ComponentRepository.php
+++ b/app/Repositories/Component/ComponentRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\Component;
interface ComponentRepository
diff --git a/app/Repositories/Component/EloquentComponentRepository.php b/app/Repositories/Component/EloquentComponentRepository.php
index f3851d78..e712bb42 100644
--- a/app/Repositories/Component/EloquentComponentRepository.php
+++ b/app/Repositories/Component/EloquentComponentRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\Component;
use CachetHQ\Cachet\Models\Component;
@@ -18,8 +27,6 @@ class EloquentComponentRepository extends EloquentRepository implements Componen
* Create a new eloquent component repository instance.
*
* @param \CachetHQ\Cachet\Models\Component $model
- *
- * @return void
*/
public function __construct(Component $model)
{
diff --git a/app/Repositories/EloquentRepository.php b/app/Repositories/EloquentRepository.php
index d546a268..a57d77a5 100644
--- a/app/Repositories/EloquentRepository.php
+++ b/app/Repositories/EloquentRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories;
use Illuminate\Database\Eloquent\Model;
@@ -128,8 +137,6 @@ abstract class EloquentRepository
* Deletes a model by id.
*
* @param int $id
- *
- * @return void
*/
public function destroy($id)
{
diff --git a/app/Repositories/Incident/EloquentIncidentRepository.php b/app/Repositories/Incident/EloquentIncidentRepository.php
index f5bcf30a..c84c75b3 100644
--- a/app/Repositories/Incident/EloquentIncidentRepository.php
+++ b/app/Repositories/Incident/EloquentIncidentRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\Incident;
use CachetHQ\Cachet\Models\Incident;
@@ -18,8 +27,6 @@ class EloquentIncidentRepository extends EloquentRepository implements IncidentR
* Create a new eloquent incident repository instance.
*
* @param \CachetHQ\Cachet\Models\Incident $model
- *
- * @return void
*/
public function __construct(Incident $model)
{
diff --git a/app/Repositories/Incident/IncidentRepository.php b/app/Repositories/Incident/IncidentRepository.php
index d0f9bca6..c309882e 100644
--- a/app/Repositories/Incident/IncidentRepository.php
+++ b/app/Repositories/Incident/IncidentRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\Incident;
interface IncidentRepository
diff --git a/app/Repositories/InvalidModelValidationException.php b/app/Repositories/InvalidModelValidationException.php
index 7b7663b4..e2825b30 100644
--- a/app/Repositories/InvalidModelValidationException.php
+++ b/app/Repositories/InvalidModelValidationException.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories;
use Exception;
diff --git a/app/Repositories/InvalidRelationshipException.php b/app/Repositories/InvalidRelationshipException.php
index ef207b0d..4762df42 100644
--- a/app/Repositories/InvalidRelationshipException.php
+++ b/app/Repositories/InvalidRelationshipException.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories;
use Exception;
diff --git a/app/Repositories/Metric/EloquentMetricRepository.php b/app/Repositories/Metric/EloquentMetricRepository.php
index de6647dd..f8a75fc8 100644
--- a/app/Repositories/Metric/EloquentMetricRepository.php
+++ b/app/Repositories/Metric/EloquentMetricRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\Metric;
use CachetHQ\Cachet\Models\Metric;
@@ -18,8 +27,6 @@ class EloquentMetricRepository extends EloquentRepository implements MetricRepos
* Create a new eloquent metric repository instance.
*
* @param \CachetHQ\Cachet\Models\Metric $model
- *
- * @return void
*/
public function __construct(Metric $model)
{
diff --git a/app/Repositories/Metric/MetricRepository.php b/app/Repositories/Metric/MetricRepository.php
index 5ee63924..f5b493de 100644
--- a/app/Repositories/Metric/MetricRepository.php
+++ b/app/Repositories/Metric/MetricRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\Metric;
interface MetricRepository
diff --git a/app/Repositories/MetricPoint/EloquentMetricPointRepository.php b/app/Repositories/MetricPoint/EloquentMetricPointRepository.php
index cd5e6301..3c17fc0d 100644
--- a/app/Repositories/MetricPoint/EloquentMetricPointRepository.php
+++ b/app/Repositories/MetricPoint/EloquentMetricPointRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\MetricPoint;
use CachetHQ\Cachet\Models\MetricPoint;
@@ -18,8 +27,6 @@ class EloquentMetricPointRepository extends EloquentRepository implements Metric
* Create a new eloquent metric point repository instance.
*
* @param \CachetHQ\Cachet\Models\MetricPoint $model
- *
- * @return void
*/
public function __construct(MetricPoint $model)
{
diff --git a/app/Repositories/MetricPoint/MetricPointRepository.php b/app/Repositories/MetricPoint/MetricPointRepository.php
index c6144dd3..171f06e4 100644
--- a/app/Repositories/MetricPoint/MetricPointRepository.php
+++ b/app/Repositories/MetricPoint/MetricPointRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Repositories\MetricPoint;
interface MetricPointRepository
diff --git a/app/Segment/CacheRepository.php b/app/Segment/CacheRepository.php
index 382747f6..c41aa281 100644
--- a/app/Segment/CacheRepository.php
+++ b/app/Segment/CacheRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Segment;
use CachetHQ\Cachet\Facades\Setting;
diff --git a/app/Segment/HttpRepository.php b/app/Segment/HttpRepository.php
index 85309505..a4bd5a15 100644
--- a/app/Segment/HttpRepository.php
+++ b/app/Segment/HttpRepository.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Segment;
use GuzzleHttp\ClientInterface;
diff --git a/app/Segment/RepositoryInterface.php b/app/Segment/RepositoryInterface.php
index f02abc1e..1fbd13e2 100644
--- a/app/Segment/RepositoryInterface.php
+++ b/app/Segment/RepositoryInterface.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Segment;
interface RepositoryInterface
diff --git a/app/Services/Registrar.php b/app/Services/Registrar.php
index fa11154b..102bd37d 100644
--- a/app/Services/Registrar.php
+++ b/app/Services/Registrar.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace CachetHQ\Cachet\Services;
use CachetHQ\Cachet\User;
diff --git a/bootstrap/app.php b/bootstrap/app.php
index edf96b7f..6a538b1d 100644
--- a/bootstrap/app.php
+++ b/bootstrap/app.php
@@ -1,15 +1,13 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
$app = new Illuminate\Foundation\Application(
realpath(__DIR__.'/../')
diff --git a/bootstrap/autoload.php b/bootstrap/autoload.php
index c27026d5..17567a24 100644
--- a/bootstrap/autoload.php
+++ b/bootstrap/autoload.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
define('LARAVEL_START', microtime(true));
/*
diff --git a/config/app.php b/config/app.php
index 1b71776e..e2eb60b2 100644
--- a/config/app.php
+++ b/config/app.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/auth.php b/config/auth.php
index 11a75dba..a6131554 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/cache.php b/config/cache.php
index 103100ac..0f0adc6d 100644
--- a/config/cache.php
+++ b/config/cache.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/compile.php b/config/compile.php
index 2f00654e..ce9eca04 100644
--- a/config/compile.php
+++ b/config/compile.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/database.php b/config/database.php
index df31a05e..0d2bb7fc 100644
--- a/config/database.php
+++ b/config/database.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/filesystems.php b/config/filesystems.php
index 1d845fe9..f41730ae 100644
--- a/config/filesystems.php
+++ b/config/filesystems.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/langs.php b/config/langs.php
index 28770764..ca294c99 100755
--- a/config/langs.php
+++ b/config/langs.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Enabled langs
'en-UD' => 'CrowdIn - InContext Localization',
diff --git a/config/mail.php b/config/mail.php
index c449dfde..00d3a68a 100644
--- a/config/mail.php
+++ b/config/mail.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/markdown.php b/config/markdown.php
index bd613644..8ac0f611 100644
--- a/config/markdown.php
+++ b/config/markdown.php
@@ -1,9 +1,9 @@
+ * (c) James Brooks
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
diff --git a/config/queue.php b/config/queue.php
index 44caa9d6..9cbdb4f2 100644
--- a/config/queue.php
+++ b/config/queue.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/security.php b/config/security.php
index 96380208..153b1d78 100644
--- a/config/security.php
+++ b/config/security.php
@@ -1,9 +1,9 @@
+ * (c) James Brooks
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
diff --git a/config/segment.php b/config/segment.php
index 99013600..8ee81ce2 100644
--- a/config/segment.php
+++ b/config/segment.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
* Whether to enable Segment or not.
diff --git a/config/services.php b/config/services.php
index e606dbe0..5990b3e9 100644
--- a/config/services.php
+++ b/config/services.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/session.php b/config/session.php
index 2514731d..2f29f03f 100644
--- a/config/session.php
+++ b/config/session.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/throttle.php b/config/throttle.php
index a722c403..45e1f284 100644
--- a/config/throttle.php
+++ b/config/throttle.php
@@ -1,9 +1,9 @@
+ * (c) James Brooks
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
diff --git a/config/trustedproxy.php b/config/trustedproxy.php
index 02bab81f..cc1cb2e6 100644
--- a/config/trustedproxy.php
+++ b/config/trustedproxy.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/config/view.php b/config/view.php
index 13ef5e9f..63603b61 100644
--- a/config/view.php
+++ b/config/view.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/database/migrations/2015_01_05_201324_CreateComponentGroupsTable.php b/database/migrations/2015_01_05_201324_CreateComponentGroupsTable.php
index 2b7dfe45..4b1ba82c 100644
--- a/database/migrations/2015_01_05_201324_CreateComponentGroupsTable.php
+++ b/database/migrations/2015_01_05_201324_CreateComponentGroupsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateComponentGroupsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -22,8 +29,6 @@ class CreateComponentGroupsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_201444_CreateComponentsTable.php b/database/migrations/2015_01_05_201444_CreateComponentsTable.php
index 9a33dfab..9bdbcbed 100644
--- a/database/migrations/2015_01_05_201444_CreateComponentsTable.php
+++ b/database/migrations/2015_01_05_201444_CreateComponentsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateComponentsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -34,8 +41,6 @@ class CreateComponentsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_202446_CreateIncidentTemplatesTable.php b/database/migrations/2015_01_05_202446_CreateIncidentTemplatesTable.php
index b776c745..61a0491f 100644
--- a/database/migrations/2015_01_05_202446_CreateIncidentTemplatesTable.php
+++ b/database/migrations/2015_01_05_202446_CreateIncidentTemplatesTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateIncidentTemplatesTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -25,8 +32,6 @@ class CreateIncidentTemplatesTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_202609_CreateIncidentsTable.php b/database/migrations/2015_01_05_202609_CreateIncidentsTable.php
index 0b6a0542..0f50d22d 100644
--- a/database/migrations/2015_01_05_202609_CreateIncidentsTable.php
+++ b/database/migrations/2015_01_05_202609_CreateIncidentsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateIncidentsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -31,8 +38,6 @@ class CreateIncidentsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_202730_CreateMetricPointsTable.php b/database/migrations/2015_01_05_202730_CreateMetricPointsTable.php
index 6c69e37a..4fb64b77 100644
--- a/database/migrations/2015_01_05_202730_CreateMetricPointsTable.php
+++ b/database/migrations/2015_01_05_202730_CreateMetricPointsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateMetricPointsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -25,8 +32,6 @@ class CreateMetricPointsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_202826_CreateMetricsTable.php b/database/migrations/2015_01_05_202826_CreateMetricsTable.php
index ad847728..858cffc8 100644
--- a/database/migrations/2015_01_05_202826_CreateMetricsTable.php
+++ b/database/migrations/2015_01_05_202826_CreateMetricsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateMetricsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -29,8 +36,6 @@ class CreateMetricsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_202929_CreateServicesTable.php b/database/migrations/2015_01_05_202929_CreateServicesTable.php
index 13704a78..2cc798f9 100644
--- a/database/migrations/2015_01_05_202929_CreateServicesTable.php
+++ b/database/migrations/2015_01_05_202929_CreateServicesTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateServicesTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -26,8 +33,6 @@ class CreateServicesTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_203014_CreateSettingsTable.php b/database/migrations/2015_01_05_203014_CreateSettingsTable.php
index ad146c70..07418d26 100644
--- a/database/migrations/2015_01_05_203014_CreateSettingsTable.php
+++ b/database/migrations/2015_01_05_203014_CreateSettingsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateSettingsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -23,8 +30,6 @@ class CreateSettingsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_203235_CreateSubscriptionsTable.php b/database/migrations/2015_01_05_203235_CreateSubscriptionsTable.php
index c25806f8..e8363680 100644
--- a/database/migrations/2015_01_05_203235_CreateSubscriptionsTable.php
+++ b/database/migrations/2015_01_05_203235_CreateSubscriptionsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateSubscriptionsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -23,8 +30,6 @@ class CreateSubscriptionsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_05_203341_CreateUsersTable.php b/database/migrations/2015_01_05_203341_CreateUsersTable.php
index 993e7ee8..c4b27e70 100644
--- a/database/migrations/2015_01_05_203341_CreateUsersTable.php
+++ b/database/migrations/2015_01_05_203341_CreateUsersTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateUsersTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -34,8 +41,6 @@ class CreateUsersTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_09_083419_AlterTableUsersAdd2FA.php b/database/migrations/2015_01_09_083419_AlterTableUsersAdd2FA.php
index 138e5670..02866dda 100644
--- a/database/migrations/2015_01_09_083419_AlterTableUsersAdd2FA.php
+++ b/database/migrations/2015_01_09_083419_AlterTableUsersAdd2FA.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class AlterTableUsersAdd2FA extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -20,8 +27,6 @@ class AlterTableUsersAdd2FA extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_16_083825_CreateTagsTable.php b/database/migrations/2015_01_16_083825_CreateTagsTable.php
index 98b053cb..3be4e1b4 100644
--- a/database/migrations/2015_01_16_083825_CreateTagsTable.php
+++ b/database/migrations/2015_01_16_083825_CreateTagsTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateTagsTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -25,8 +32,6 @@ class CreateTagsTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_01_16_084030_CreateComponentTagTable.php b/database/migrations/2015_01_16_084030_CreateComponentTagTable.php
index 77a7480e..943fe009 100644
--- a/database/migrations/2015_01_16_084030_CreateComponentTagTable.php
+++ b/database/migrations/2015_01_16_084030_CreateComponentTagTable.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class CreateComponentTagTable extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -25,8 +32,6 @@ class CreateComponentTagTable extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php b/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php
index fa388a43..2a7a10f4 100644
--- a/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php
+++ b/database/migrations/2015_02_28_214642_UpdateIncidentsAddScheduledAt.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@@ -8,8 +17,6 @@ class UpdateIncidentsAddScheduledAt extends Migration
{
/**
* Run the migrations.
- *
- * @return void
*/
public function up()
{
@@ -20,8 +27,6 @@ class UpdateIncidentsAddScheduledAt extends Migration
/**
* Reverse the migrations.
- *
- * @return void
*/
public function down()
{
diff --git a/database/seeds/ComponentTableSeeder.php b/database/seeds/ComponentTableSeeder.php
index 5ca16d09..bc4f7ab4 100644
--- a/database/seeds/ComponentTableSeeder.php
+++ b/database/seeds/ComponentTableSeeder.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use CachetHQ\Cachet\Models\Component;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
@@ -8,8 +17,6 @@ class ComponentTableSeeder extends Seeder
{
/**
* Run the database seeding.
- *
- * @return void
*/
public function run()
{
diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php
index 247933ae..4cdbaecb 100644
--- a/database/seeds/DatabaseSeeder.php
+++ b/database/seeds/DatabaseSeeder.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
@@ -7,8 +16,6 @@ class DatabaseSeeder extends Seeder
{
/**
* Run the database seeding.
- *
- * @return void
*/
public function run()
{
diff --git a/database/seeds/IncidentTableSeeder.php b/database/seeds/IncidentTableSeeder.php
index 935517bc..b8bfbd46 100644
--- a/database/seeds/IncidentTableSeeder.php
+++ b/database/seeds/IncidentTableSeeder.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use CachetHQ\Cachet\Models\Incident;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
@@ -8,8 +17,6 @@ class IncidentTableSeeder extends Seeder
{
/**
* Run the database seeding.
- *
- * @return void
*/
public function run()
{
diff --git a/database/seeds/SettingsTableSeeder.php b/database/seeds/SettingsTableSeeder.php
index ac1bd85e..99ff77e0 100644
--- a/database/seeds/SettingsTableSeeder.php
+++ b/database/seeds/SettingsTableSeeder.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use CachetHQ\Cachet\Models\Setting;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
@@ -8,8 +17,6 @@ class SettingsTableSeeder extends Seeder
{
/**
* Run the database seeding.
- *
- * @return void
*/
public function run()
{
diff --git a/database/seeds/UsersTableSeeder.php b/database/seeds/UsersTableSeeder.php
index 0fe2006d..6f8742d2 100644
--- a/database/seeds/UsersTableSeeder.php
+++ b/database/seeds/UsersTableSeeder.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
use CachetHQ\Cachet\Models\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
@@ -8,8 +17,6 @@ class UsersTableSeeder extends Seeder
{
/**
* Run the database seeding.
- *
- * @return void
*/
public function run()
{
diff --git a/public/index.php b/public/index.php
index 5c2fb420..8ac7ff69 100644
--- a/public/index.php
+++ b/public/index.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
/**
* Laravel - A PHP Framework For Web Artisans.
*
diff --git a/resources/lang/de/cachet.php b/resources/lang/de/cachet.php
index 52cae2f9..1583e964 100755
--- a/resources/lang/de/cachet.php
+++ b/resources/lang/de/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/de/dashboard.php b/resources/lang/de/dashboard.php
index 02be2d16..c92046f9 100755
--- a/resources/lang/de/dashboard.php
+++ b/resources/lang/de/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'Dashboard',
diff --git a/resources/lang/de/errors.php b/resources/lang/de/errors.php
index ee9895b7..eaab6f3b 100755
--- a/resources/lang/de/errors.php
+++ b/resources/lang/de/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/de/forms.php b/resources/lang/de/forms.php
index c5d89fcb..ac95f6d5 100755
--- a/resources/lang/de/forms.php
+++ b/resources/lang/de/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/de/pagination.php b/resources/lang/de/pagination.php
index 6ed0e30f..980171d0 100755
--- a/resources/lang/de/pagination.php
+++ b/resources/lang/de/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/de/reminders.php b/resources/lang/de/reminders.php
index fc7d20bf..7cc5ffe6 100755
--- a/resources/lang/de/reminders.php
+++ b/resources/lang/de/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/de/setup.php b/resources/lang/de/setup.php
index 88301da6..3976ce31 100755
--- a/resources/lang/de/setup.php
+++ b/resources/lang/de/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'Setup',
'title' => 'Setup Cachet',
diff --git a/resources/lang/de/validation.php b/resources/lang/de/validation.php
index e1fe2293..22517d4a 100755
--- a/resources/lang/de/validation.php
+++ b/resources/lang/de/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/en-UD/cachet.php b/resources/lang/en-UD/cachet.php
index 079dae70..1d1dded1 100755
--- a/resources/lang/en-UD/cachet.php
+++ b/resources/lang/en-UD/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/en-UD/dashboard.php b/resources/lang/en-UD/dashboard.php
index c9d5db25..46187deb 100755
--- a/resources/lang/en-UD/dashboard.php
+++ b/resources/lang/en-UD/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'crwdns152:0crwdne152:0',
diff --git a/resources/lang/en-UD/errors.php b/resources/lang/en-UD/errors.php
index 4a0c72a9..9e4a6fa6 100755
--- a/resources/lang/en-UD/errors.php
+++ b/resources/lang/en-UD/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => 'crwdns208:0crwdne208:0',
diff --git a/resources/lang/en-UD/forms.php b/resources/lang/en-UD/forms.php
index 8e74637b..b3b2cf71 100755
--- a/resources/lang/en-UD/forms.php
+++ b/resources/lang/en-UD/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/en-UD/pagination.php b/resources/lang/en-UD/pagination.php
index 2e03bc2a..e925aab5 100755
--- a/resources/lang/en-UD/pagination.php
+++ b/resources/lang/en-UD/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/en-UD/reminders.php b/resources/lang/en-UD/reminders.php
index 7b1ed3cc..f84e6ea4 100755
--- a/resources/lang/en-UD/reminders.php
+++ b/resources/lang/en-UD/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/en-UD/setup.php b/resources/lang/en-UD/setup.php
index 9a467f3e..ee010324 100755
--- a/resources/lang/en-UD/setup.php
+++ b/resources/lang/en-UD/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'crwdns258:0crwdne258:0',
'title' => 'crwdns259:0crwdne259:0',
diff --git a/resources/lang/en-UD/validation.php b/resources/lang/en-UD/validation.php
index 685a82a7..774d3409 100755
--- a/resources/lang/en-UD/validation.php
+++ b/resources/lang/en-UD/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/en/cachet.php b/resources/lang/en/cachet.php
index 9acafc25..06bd572e 100755
--- a/resources/lang/en/cachet.php
+++ b/resources/lang/en/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/en/dashboard.php b/resources/lang/en/dashboard.php
index e184a326..03add6dc 100755
--- a/resources/lang/en/dashboard.php
+++ b/resources/lang/en/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'Dashboard',
diff --git a/resources/lang/en/errors.php b/resources/lang/en/errors.php
index 24eddf01..418f136b 100755
--- a/resources/lang/en/errors.php
+++ b/resources/lang/en/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/en/forms.php b/resources/lang/en/forms.php
index 3129b84b..05921d30 100755
--- a/resources/lang/en/forms.php
+++ b/resources/lang/en/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php
index fcab34b2..3a2e16aa 100755
--- a/resources/lang/en/pagination.php
+++ b/resources/lang/en/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/en/reminders.php b/resources/lang/en/reminders.php
index 52e0426b..f20997ac 100755
--- a/resources/lang/en/reminders.php
+++ b/resources/lang/en/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/en/setup.php b/resources/lang/en/setup.php
index 6a317615..b5c243de 100755
--- a/resources/lang/en/setup.php
+++ b/resources/lang/en/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'Setup',
'title' => 'Setup Cachet',
diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php
index c9b21ca0..3eec4b92 100755
--- a/resources/lang/en/validation.php
+++ b/resources/lang/en/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/es/cachet.php b/resources/lang/es/cachet.php
index b9a7d449..3b682d12 100755
--- a/resources/lang/es/cachet.php
+++ b/resources/lang/es/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/es/dashboard.php b/resources/lang/es/dashboard.php
index d9c29d81..d0f01824 100755
--- a/resources/lang/es/dashboard.php
+++ b/resources/lang/es/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'Panel de Control',
diff --git a/resources/lang/es/errors.php b/resources/lang/es/errors.php
index 3892bfd5..5e740a13 100755
--- a/resources/lang/es/errors.php
+++ b/resources/lang/es/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/es/forms.php b/resources/lang/es/forms.php
index 7868e2f8..6bf44808 100755
--- a/resources/lang/es/forms.php
+++ b/resources/lang/es/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/es/pagination.php b/resources/lang/es/pagination.php
index 325916dc..96a049bb 100755
--- a/resources/lang/es/pagination.php
+++ b/resources/lang/es/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/es/reminders.php b/resources/lang/es/reminders.php
index db970a07..ae030b97 100755
--- a/resources/lang/es/reminders.php
+++ b/resources/lang/es/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/es/setup.php b/resources/lang/es/setup.php
index 2034cf2e..014e375a 100755
--- a/resources/lang/es/setup.php
+++ b/resources/lang/es/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'Configurar',
'title' => 'Configurar Cachet',
diff --git a/resources/lang/es/validation.php b/resources/lang/es/validation.php
index e5074e24..5be8a582 100755
--- a/resources/lang/es/validation.php
+++ b/resources/lang/es/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/fr/cachet.php b/resources/lang/fr/cachet.php
index 5c0d188a..8adbf382 100755
--- a/resources/lang/fr/cachet.php
+++ b/resources/lang/fr/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/fr/dashboard.php b/resources/lang/fr/dashboard.php
index 7d122b77..8af05951 100755
--- a/resources/lang/fr/dashboard.php
+++ b/resources/lang/fr/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'Tableau de bord',
diff --git a/resources/lang/fr/errors.php b/resources/lang/fr/errors.php
index 1b5b79a4..f6c75305 100755
--- a/resources/lang/fr/errors.php
+++ b/resources/lang/fr/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/fr/forms.php b/resources/lang/fr/forms.php
index 5fff6698..f9d8e78d 100755
--- a/resources/lang/fr/forms.php
+++ b/resources/lang/fr/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/fr/pagination.php b/resources/lang/fr/pagination.php
index 9f07a5f9..456c7695 100755
--- a/resources/lang/fr/pagination.php
+++ b/resources/lang/fr/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/fr/reminders.php b/resources/lang/fr/reminders.php
index 0f9ea9e5..63e51e90 100755
--- a/resources/lang/fr/reminders.php
+++ b/resources/lang/fr/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/fr/setup.php b/resources/lang/fr/setup.php
index 3fb5cbbf..d5d4ae60 100755
--- a/resources/lang/fr/setup.php
+++ b/resources/lang/fr/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'Installation',
'title' => 'Installer Cachet',
diff --git a/resources/lang/fr/validation.php b/resources/lang/fr/validation.php
index a67e12b4..a1876dbd 100755
--- a/resources/lang/fr/validation.php
+++ b/resources/lang/fr/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/nl/cachet.php b/resources/lang/nl/cachet.php
index a8250b56..1a21110a 100755
--- a/resources/lang/nl/cachet.php
+++ b/resources/lang/nl/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/nl/dashboard.php b/resources/lang/nl/dashboard.php
index 18cde771..d41d32b6 100755
--- a/resources/lang/nl/dashboard.php
+++ b/resources/lang/nl/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'Dashboard',
diff --git a/resources/lang/nl/errors.php b/resources/lang/nl/errors.php
index ce4b52e5..c554c790 100755
--- a/resources/lang/nl/errors.php
+++ b/resources/lang/nl/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/nl/forms.php b/resources/lang/nl/forms.php
index 25d41490..b302e80c 100755
--- a/resources/lang/nl/forms.php
+++ b/resources/lang/nl/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/nl/pagination.php b/resources/lang/nl/pagination.php
index 9a2a9677..cc393e7f 100755
--- a/resources/lang/nl/pagination.php
+++ b/resources/lang/nl/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/nl/reminders.php b/resources/lang/nl/reminders.php
index 03d4b04d..f9058ca8 100755
--- a/resources/lang/nl/reminders.php
+++ b/resources/lang/nl/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/nl/setup.php b/resources/lang/nl/setup.php
index 70f27257..1167bdf8 100755
--- a/resources/lang/nl/setup.php
+++ b/resources/lang/nl/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'Installatie',
'title' => 'Installatie Cachet',
diff --git a/resources/lang/nl/validation.php b/resources/lang/nl/validation.php
index 0a2c3875..2646fab6 100755
--- a/resources/lang/nl/validation.php
+++ b/resources/lang/nl/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/pl/cachet.php b/resources/lang/pl/cachet.php
index b839ea3e..9bef6a33 100755
--- a/resources/lang/pl/cachet.php
+++ b/resources/lang/pl/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/pl/dashboard.php b/resources/lang/pl/dashboard.php
index 1ecd7073..37514bbb 100755
--- a/resources/lang/pl/dashboard.php
+++ b/resources/lang/pl/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'Panel sterowania',
diff --git a/resources/lang/pl/errors.php b/resources/lang/pl/errors.php
index 24eddf01..418f136b 100755
--- a/resources/lang/pl/errors.php
+++ b/resources/lang/pl/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/pl/forms.php b/resources/lang/pl/forms.php
index c5017fcc..768d4c0f 100755
--- a/resources/lang/pl/forms.php
+++ b/resources/lang/pl/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/pl/pagination.php b/resources/lang/pl/pagination.php
index 56469419..f32b0f9a 100755
--- a/resources/lang/pl/pagination.php
+++ b/resources/lang/pl/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/pl/reminders.php b/resources/lang/pl/reminders.php
index f1304820..711ac496 100755
--- a/resources/lang/pl/reminders.php
+++ b/resources/lang/pl/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/pl/setup.php b/resources/lang/pl/setup.php
index f183c6e6..d2003366 100755
--- a/resources/lang/pl/setup.php
+++ b/resources/lang/pl/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'Konfiguracja',
'title' => 'Skonfiguruj Cachet',
diff --git a/resources/lang/pl/validation.php b/resources/lang/pl/validation.php
index c9b21ca0..3eec4b92 100755
--- a/resources/lang/pl/validation.php
+++ b/resources/lang/pl/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/pt-BR/cachet.php b/resources/lang/pt-BR/cachet.php
index 13d1753c..116b56bd 100755
--- a/resources/lang/pt-BR/cachet.php
+++ b/resources/lang/pt-BR/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/pt-BR/dashboard.php b/resources/lang/pt-BR/dashboard.php
index 72447873..70568881 100755
--- a/resources/lang/pt-BR/dashboard.php
+++ b/resources/lang/pt-BR/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => 'Dashboard',
diff --git a/resources/lang/pt-BR/errors.php b/resources/lang/pt-BR/errors.php
index 12fd420f..ec476c27 100755
--- a/resources/lang/pt-BR/errors.php
+++ b/resources/lang/pt-BR/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/pt-BR/forms.php b/resources/lang/pt-BR/forms.php
index 7920b28b..2593d9d9 100755
--- a/resources/lang/pt-BR/forms.php
+++ b/resources/lang/pt-BR/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/pt-BR/pagination.php b/resources/lang/pt-BR/pagination.php
index 6a32f34a..879ddc09 100755
--- a/resources/lang/pt-BR/pagination.php
+++ b/resources/lang/pt-BR/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/pt-BR/reminders.php b/resources/lang/pt-BR/reminders.php
index da2e71bf..e376205e 100755
--- a/resources/lang/pt-BR/reminders.php
+++ b/resources/lang/pt-BR/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/pt-BR/setup.php b/resources/lang/pt-BR/setup.php
index f976709e..a81b49f4 100755
--- a/resources/lang/pt-BR/setup.php
+++ b/resources/lang/pt-BR/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => 'Configuração',
'title' => 'Configurar o Cachet',
diff --git a/resources/lang/pt-BR/validation.php b/resources/lang/pt-BR/validation.php
index 4b2102bc..603b1569 100755
--- a/resources/lang/pt-BR/validation.php
+++ b/resources/lang/pt-BR/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/zh-CN/cachet.php b/resources/lang/zh-CN/cachet.php
index d68d7377..b8631086 100644
--- a/resources/lang/zh-CN/cachet.php
+++ b/resources/lang/zh-CN/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/zh-CN/dashboard.php b/resources/lang/zh-CN/dashboard.php
index 0470ae9d..bbe4168c 100644
--- a/resources/lang/zh-CN/dashboard.php
+++ b/resources/lang/zh-CN/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => '仪表盘',
diff --git a/resources/lang/zh-CN/errors.php b/resources/lang/zh-CN/errors.php
index 4b324707..d71f6e0f 100644
--- a/resources/lang/zh-CN/errors.php
+++ b/resources/lang/zh-CN/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/zh-CN/forms.php b/resources/lang/zh-CN/forms.php
index fbb869a3..81587b52 100644
--- a/resources/lang/zh-CN/forms.php
+++ b/resources/lang/zh-CN/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/zh-CN/pagination.php b/resources/lang/zh-CN/pagination.php
index 2fb34ebd..09cab870 100644
--- a/resources/lang/zh-CN/pagination.php
+++ b/resources/lang/zh-CN/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/zh-CN/reminders.php b/resources/lang/zh-CN/reminders.php
index 841327ee..25ce7e4c 100644
--- a/resources/lang/zh-CN/reminders.php
+++ b/resources/lang/zh-CN/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/zh-CN/setup.php b/resources/lang/zh-CN/setup.php
index 40671f9f..bd59c9c6 100644
--- a/resources/lang/zh-CN/setup.php
+++ b/resources/lang/zh-CN/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => '设置',
'title' => '安装 Cachet',
diff --git a/resources/lang/zh-CN/validation.php b/resources/lang/zh-CN/validation.php
index 32a37dcf..d517c940 100644
--- a/resources/lang/zh-CN/validation.php
+++ b/resources/lang/zh-CN/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/zh-TW/cachet.php b/resources/lang/zh-TW/cachet.php
index 46849b4a..f5507383 100644
--- a/resources/lang/zh-TW/cachet.php
+++ b/resources/lang/zh-TW/cachet.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Components
'components' => [
diff --git a/resources/lang/zh-TW/dashboard.php b/resources/lang/zh-TW/dashboard.php
index a6dbd342..cb5b7c67 100644
--- a/resources/lang/zh-TW/dashboard.php
+++ b/resources/lang/zh-TW/dashboard.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'dashboard' => '儀表板',
diff --git a/resources/lang/zh-TW/errors.php b/resources/lang/zh-TW/errors.php
index 0dbb986f..138894d9 100644
--- a/resources/lang/zh-TW/errors.php
+++ b/resources/lang/zh-TW/errors.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'not-found' => [
'code' => '404',
diff --git a/resources/lang/zh-TW/forms.php b/resources/lang/zh-TW/forms.php
index fe1e0712..33f20d9c 100644
--- a/resources/lang/zh-TW/forms.php
+++ b/resources/lang/zh-TW/forms.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
// Setup form fields
diff --git a/resources/lang/zh-TW/pagination.php b/resources/lang/zh-TW/pagination.php
index 9527d5cb..5b98a73d 100644
--- a/resources/lang/zh-TW/pagination.php
+++ b/resources/lang/zh-TW/pagination.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/zh-TW/reminders.php b/resources/lang/zh-TW/reminders.php
index b1abeeb8..923676a1 100644
--- a/resources/lang/zh-TW/reminders.php
+++ b/resources/lang/zh-TW/reminders.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/lang/zh-TW/setup.php b/resources/lang/zh-TW/setup.php
index 1c17fd93..8532a5f8 100644
--- a/resources/lang/zh-TW/setup.php
+++ b/resources/lang/zh-TW/setup.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
'setup' => '安裝',
'title' => '安裝 Cachet',
diff --git a/resources/lang/zh-TW/validation.php b/resources/lang/zh-TW/validation.php
index c9b21ca0..3eec4b92 100644
--- a/resources/lang/zh-TW/validation.php
+++ b/resources/lang/zh-TW/validation.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
return [
/*
diff --git a/resources/views/partials/metrics.blade.php b/resources/views/partials/metrics.blade.php
index 43f69881..12e2e74a 100644
--- a/resources/views/partials/metrics.blade.php
+++ b/resources/views/partials/metrics.blade.php
@@ -3,7 +3,7 @@
@foreach($metrics as $metric)
getValues($hour);
}
$points = array_reverse($points);
diff --git a/server.php b/server.php
index 1b4655ba..ef748f84 100644
--- a/server.php
+++ b/server.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
/**
* Laravel - A PHP Framework For Web Artisans.
*
diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php
index 29fbcb11..b01d01ec 100644
--- a/tests/ExampleTest.php
+++ b/tests/ExampleTest.php
@@ -1,11 +1,18 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
class ExampleTest extends TestCase
{
/**
* A basic functional test example.
- *
- * @return void
*/
public function testBasicExample()
{
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 069f0b84..6c5bf0c3 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -1,5 +1,14 @@
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
/**