Skip to content

Commit

Permalink
Apply fixes from StyleCI (monicahq#2768)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jun 12, 2019
1 parent 6b4bd83 commit 73592fc
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion app/Helpers/DateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public static function getMonthAndYear(int $month) : string
* @param string $interval
* @return Carbon
*/
public static function getNextTheoriticalBillingDate(String $interval) : Carbon
public static function getNextTheoriticalBillingDate(string $interval) : Carbon
{
if ($interval == 'monthly') {
return now(static::getTimezone())->addMonth();
Expand Down
1 change: 0 additions & 1 deletion app/Http/Controllers/Auth/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use App\Jobs\SendNewUserAlert;
use App\Models\Account\Account;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;

Expand Down
1 change: 0 additions & 1 deletion app/Http/Controllers/ChangelogController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Models\User\Changelog;
use App\Helpers\InstanceHelper;

class ChangelogController extends Controller
Expand Down
1 change: 0 additions & 1 deletion app/Http/Controllers/ContactsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use App\Helpers\LocaleHelper;
use App\Helpers\SearchHelper;
use App\Helpers\GendersHelper;
use App\Models\Contact\Gender;
use App\Models\Contact\Contact;
use App\Services\VCard\ExportVCard;
use Illuminate\Support\Facades\Log;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Http\Controllers\DAV\Backend\CalDAV;

use Sabre\DAV;
use App\Models\Contact\Contact;
use Illuminate\Support\Facades\Log;
use App\Models\Instance\SpecialDate;
Expand Down
1 change: 0 additions & 1 deletion app/Http/Controllers/DAV/Backend/CalDAV/CalDAVTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Http\Controllers\DAV\Backend\CalDAV;

use Sabre\DAV;
use Illuminate\Support\Arr;
use App\Models\Contact\Task;
use App\Services\Task\DestroyTask;
Expand Down
1 change: 0 additions & 1 deletion app/Http/Controllers/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Illuminate\Http\Request;
use function Safe\json_encode;
use App\Helpers\InstanceHelper;
use App\Models\Contact\Contact;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Auth;
use App\Http\Resources\Debt\Debt as DebtResource;
Expand Down
1 change: 0 additions & 1 deletion database/seeds/CurrenciesTableSeeder.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


use function Safe\json_decode;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
Expand Down
1 change: 0 additions & 1 deletion tests/Api/Account/ApiUserControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Tests\Api\Account;

use Tests\ApiTestCase;
use App\Models\User\User;
use App\Models\Settings\Term;
use Illuminate\Foundation\Testing\DatabaseTransactions;

Expand Down
1 change: 0 additions & 1 deletion tests/Api/ApiJournalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Tests\ApiTestCase;
use App\Models\Journal\Entry;
use App\Models\Account\Account;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class ApiJournalTest extends ApiTestCase
Expand Down
1 change: 0 additions & 1 deletion tests/Api/ApiTagControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Tests\ApiTestCase;
use App\Models\Contact\Tag;
use App\Models\Account\Account;
use App\Models\Contact\Contact;
use Illuminate\Foundation\Testing\DatabaseTransactions;

Expand Down
1 change: 0 additions & 1 deletion tests/Commands/ImportCSVTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Mockery as m;
use Tests\TestCase;
use App\Models\User\User;
use App\Models\Account\Account;
use App\Models\Contact\Contact;
use Illuminate\Support\Facades\Storage;
Expand Down
1 change: 0 additions & 1 deletion tests/Commands/ImportVCardsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Mockery as m;
use Tests\TestCase;
use App\Models\User\User;
use App\Models\Account\Account;
use App\Models\Contact\Contact;
use Illuminate\Support\Facades\Storage;
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Jobs/Reminder/NotifyUserAboutReminderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use App\Models\Contact\Reminder;
use App\Notifications\UserNotified;
use App\Notifications\UserReminded;
use Illuminate\Support\Facades\Event;
use App\Models\Contact\ReminderOutbox;
use Illuminate\Support\Facades\Notification;
use App\Jobs\Reminder\NotifyUserAboutReminder;
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Jobs/ScheduleStayInTouchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use App\Models\User\User;
use App\Models\Account\Account;
use App\Models\Contact\Contact;
use Illuminate\Support\Facades\Mail;
use App\Notifications\StayInTouchEmail;
use App\Jobs\StayInTouch\ScheduleStayInTouch;
use Illuminate\Foundation\Testing\DatabaseTransactions;
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Models/ContactTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
use App\Models\Contact\ContactField;
use App\Models\Contact\Conversation;
use App\Models\Instance\SpecialDate;
use Illuminate\Support\Facades\Mail;
use App\Notifications\StayInTouchEmail;
use App\Models\Contact\ContactFieldType;
use App\Models\Relationship\Relationship;
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Services/Account/DestroyAllDocumentsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Tests\TestCase;
use App\Models\Contact\Contact;
use App\Models\Contact\Document;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Storage;
use App\Services\Account\DestroyAllDocuments;
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Services/Account/Photo/UploadPhotoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Tests\TestCase;
use App\Models\Account\Photo;
use App\Models\Contact\Contact;
use App\Models\Contact\Document;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Facades\Storage;
use App\Services\Account\Photo\UploadPhoto;
Expand Down

0 comments on commit 73592fc

Please sign in to comment.