diff --git a/app/Commands/Command.php b/app/Commands/Command.php
index 776c29ece..630d90e0e 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 5937cefd5..55d5bdaa0 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 40b9a268d..f257f7e89 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 78e91a05e..d88b74d9e 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 924a316f8..a750f5141 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 088ea6ca5..6e902fe77 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 c4ed0df2f..03926b2db 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 51e5212e1..e996205ac 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 696a925c1..ecbb09024 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 c1f8c8c46..8a043fa58 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 3fb453eaa..4981cd78f 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 4c6686937..70dd97986 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 a83d6106e..1443437e3 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 ba84af66f..586468e51 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 4f1aa6c77..62be53504 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 57b11b6c0..407f3f2ca 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 ff9171073..c756a1a8e 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 1f81b60f5..df5d57d3d 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 63f95a62f..8987758ee 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 2f8b245b2..701fd407e 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 d3d465506..925acebb7 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 d36840016..9af7e4b20 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 ce2a65a1d..e5bc866ac 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 b19773107..a27eadfd9 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 26a2176db..c0ed0cb24 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 e197ac8a4..c8e5675ed 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 07bf4c245..dc00f8128 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 17b57a5d6..5172b3221 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 f579f91ee..956872160 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 6b5ff8869..4a7906855 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 6939ac0cc..ef9b16879 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 7589b96bd..ca03dd8ac 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 0824aab3c..99352211f 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 0cf2bd436..2a078ce59 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 932025273..126537fcd 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 04dde8ba4..b250b1a25 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 36f58d84b..41dbdbaa2 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 3eb686d41..61ea96ef9 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 c774a9e17..bed9e54ae 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 4c88d8abe..5d1cc9677 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 7e8e1080d..7f2cbe7a9 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 df1a90422..32b49809e 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 1dc15d796..36b242e6a 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 45589c3b1..176315b20 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 b94ec20ba..e71a8d7bc 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 6fb7bd081..b43a44e53 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 74f26a510..018367a1d 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 cbdd5452f..778c7db73 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 2eccec21c..5eec9a804 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 ff9d5016d..d27e68a51 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 645727977..da69668e9 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 0ee116b4e..451c2518c 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 1976b36f2..82f7f40c8 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 092276ba4..42c1821ae 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 0600a977a..1f1e1df9c 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 8ac3ec240..f134c5388 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 cde06e7ea..5a3cb0b58 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 e389eed0a..c65753696 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 7c60c9288..34113c979 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 eeb456517..6a2a8990e 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 87723ef2f..fa80d43af 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 71dff2cf5..6e5433e64 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 123714307..445515933 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 e236297ef..edda0da5d 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 8080b42f7..89fa2fed9 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 6dbe6b0ce..39fce7b01 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 3be66b5a9..3a2bf1c2c 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 0b0a26257..f5bfd337f 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 ce6a01dcf..c5ab33596 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 33c639b0e..75d7928c9 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 ef1f7c954..5b834a3d5 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 962aa725b..62b5f6da8 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 1b80f9fa6..603f22f23 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 f3851d783..e712bb423 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 d546a268d..a57d77a56 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 f5bcf30ab..c84c75b3f 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 d0f9bca6c..c309882ed 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 7b7663b42..e2825b301 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 ef207b0d6..4762df421 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 de6647dd6..f8a75fc81 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 5ee63924c..f5b493de8 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 cd5e63012..3c17fc0d2 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 c6144dd3d..171f06e46 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 382747f69..c41aa281a 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 853095052..a4bd5a15f 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 f02abc1eb..1fbd13e23 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 fa11154bc..102bd37d2 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 edf96b7f3..6a538b1da 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 c27026d59..17567a24f 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 1b71776ed..e2eb60b2c 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 11a75dbab..a6131554a 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 103100ace..0f0adc6d5 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 2f00654ec..ce9eca049 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 df31a05e9..0d2bb7fcf 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 1d845fe91..f41730aee 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 28770764e..ca294c991 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 c449dfde0..00d3a68aa 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 bd6136447..8ac0f6117 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 44caa9d65..9cbdb4f20 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 96380208d..153b1d78b 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 990136000..8ee81ce2e 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 e606dbe0e..5990b3e96 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 2514731db..2f29f03f4 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 a722c403f..45e1f2844 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 02bab81f0..cc1cb2e68 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 13ef5e9ff..63603b617 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 2b7dfe451..4b1ba82ca 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 9a33dfab5..9bdbcbeda 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 b776c7455..61a0491f2 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 0b6a05428..0f50d22db 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 6c69e37ac..4fb64b776 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 ad8477287..858cffc8a 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 13704a78d..2cc798f9e 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 ad146c70c..07418d26c 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 c25806f83..e83636801 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 993e7ee8f..c4b27e708 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 138e5670d..02866dda7 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 98b053cb3..3be4e1b46 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 77a7480e0..943fe0092 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 fa388a436..2a7a10f43 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 5ca16d095..bc4f7ab45 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 247933ae9..4cdbaecb3 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 935517bc0..b8bfbd469 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 ac1bd85e9..99ff77e02 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 0fe2006d2..6f8742d26 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 5c2fb420c..8ac7ff694 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 52cae2f99..1583e964a 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 02be2d16f..c92046f9c 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 ee9895b74..eaab6f3b3 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 c5d89fcb0..ac95f6d59 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 6ed0e30f0..980171d03 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 fc7d20bf8..7cc5ffe6e 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 88301da69..3976ce318 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 e1fe22931..22517d4ad 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 079dae705..1d1dded1f 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 c9d5db25c..46187debe 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 4a0c72a93..9e4a6fa67 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 8e74637b9..b3b2cf719 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 2e03bc2a5..e925aab52 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 7b1ed3cc8..f84e6ea4f 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 9a467f3e3..ee010324f 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 685a82a79..774d3409e 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 9acafc257..06bd572e4 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 e184a326d..03add6dce 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 24eddf015..418f136bc 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 3129b84be..05921d309 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 fcab34b25..3a2e16aae 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 52e0426b4..f20997ac7 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 6a317615e..b5c243de3 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 c9b21ca0f..3eec4b927 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 b9a7d449e..3b682d125 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 d9c29d81d..d0f018240 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 3892bfd53..5e740a132 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 7868e2f83..6bf44808b 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 325916dc3..96a049bb3 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 db970a07a..ae030b978 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 2034cf2ef..014e375a1 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 e5074e242..5be8a582f 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 5c0d188aa..8adbf382e 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 7d122b773..8af05951e 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 1b5b79a40..f6c75305a 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 5fff66984..f9d8e78dd 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 9f07a5f93..456c76951 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 0f9ea9e53..63e51e90e 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 3fb5cbbfb..d5d4ae606 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 a67e12b44..a1876dbd4 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 a8250b567..1a21110aa 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 18cde771f..d41d32b61 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 ce4b52e53..c554c790d 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 25d414906..b302e80c4 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 9a2a9677a..cc393e7f6 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 03d4b04d6..f9058ca80 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 70f272578..1167bdf80 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 0a2c38753..2646fab6f 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 b839ea3ec..9bef6a339 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 1ecd70735..37514bbbd 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 24eddf015..418f136bc 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 c5017fccf..768d4c0f8 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 564694190..f32b0f9a6 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 f1304820e..711ac4967 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 f183c6e69..d20033665 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 c9b21ca0f..3eec4b927 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 13d1753c7..116b56bdc 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 724478730..70568881f 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 12fd420fb..ec476c27e 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 7920b28bb..2593d9d9d 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 6a32f34ac..879ddc091 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 da2e71bff..e376205ed 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 f976709e2..a81b49f4c 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 4b2102bca..603b1569e 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 d68d73778..b8631086a 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 0470ae9d5..bbe4168ca 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 4b3247070..d71f6e0f0 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 fbb869a39..81587b526 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 2fb34ebd4..09cab8700 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 841327ee3..25ce7e4cf 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 40671f9fd..bd59c9c6b 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 32a37dcf2..d517c9408 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 46849b4a4..f5507383e 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 a6dbd3424..cb5b7c67c 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 0dbb986fc..138894d90 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 fe1e07126..33f20d9cf 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 9527d5cb6..5b98a73d5 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 b1abeeb82..923676a11 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 1c17fd934..8532a5f86 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 c9b21ca0f..3eec4b927 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 43f698817..12e2e74a4 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 1b4655ba4..ef748f843 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 29fbcb112..b01d01ec1 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 069f0b84b..6c5bf0c30 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
{
/**