Skip to content

Commit

Permalink
chore(deps): update dependencies (monicahq#6732)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jul 1, 2023
1 parent 63574d1 commit dd10c86
Show file tree
Hide file tree
Showing 20 changed files with 893 additions and 788 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/Local/MonicaLocalize.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class MonicaLocalize extends Command
*/
public function handle(): void
{
$locales = config('localizer.supported-locales');
$locales = config('localizer.supported_locales');
array_shift($locales);
$this->call('localize', ['lang' => implode(',', $locales)]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use App\Http\Controllers\Controller;
use App\Models\Contact;
use App\Models\Vault;
use Illuminate\Database\Eloquent\Factories\Relationship;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use App\Exceptions\CantBeDeletedException;
use App\Interfaces\ServiceInterface;
use App\Models\Module;
use App\Services\BaseService;

class DestroyModule extends BaseService implements ServiceInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function rules(): array
'required',
'string',
'max:5',
Rule::in(config('localizer.supported-locales')),
Rule::in(config('localizer.supported_locales')),
],
];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public static function dtoLocale(User $user): array
'id' => $user->locale,
'name' => self::language($user->locale),
'dir' => htmldir(),
'locales' => collect(config('localizer.supported-locales'))
'locales' => collect(config('localizer.supported_locales'))
->map(fn ($locale) => [
'id' => $locale,
'name' => self::language($locale),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Domains\Vault\ManageJournals\Services;

use App\Interfaces\ServiceInterface;
use App\Models\Contact;
use App\Models\ContactFeedItem;
use App\Models\Post;
use App\Services\BaseService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Domains\Vault\ManageJournals\Services;

use App\Interfaces\ServiceInterface;
use App\Models\Contact;
use App\Models\ContactFeedItem;
use App\Models\Post;
use App\Services\BaseService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use App\Helpers\ContactCardHelper;
use App\Helpers\DateHelper;
use App\Helpers\ImportantDateHelper;
use App\Models\Contact;
use App\Models\ContactImportantDate;
use App\Models\User;
use App\Models\Vault;
Expand Down
1 change: 0 additions & 1 deletion app/Helpers/ContactImportantDateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Helpers;

use App\Models\ContactImportantDateType;
use App\Models\Vault;
use Illuminate\Support\Facades\Cache;

class ContactImportantDateHelper
Expand Down
2 changes: 0 additions & 2 deletions app/Helpers/GoalHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
namespace App\Helpers;

use App\Models\Goal;
use App\Models\User;
use App\Models\Vault;
use Carbon\Carbon;

class GoalHelper
Expand Down
1 change: 0 additions & 1 deletion app/Traits/JsonRespondController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Illuminate\Contracts\Validation\Validator;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

trait JsonRespondController
{
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"php": "^8.2",
"ext-fileinfo": "*",
"asbiin/laravel-webauthn": "^3.2",
"codezero/laravel-localizer": "^1.7",
"codezero/laravel-localizer": "^2.0",
"guzzlehttp/guzzle": "^7.4",
"http-interop/http-factory-guzzle": "^1.2",
"inertiajs/inertia-laravel": "^0",
Expand All @@ -39,7 +39,7 @@
"socialiteproviders/microsoft-azure": "^5.1",
"socialiteproviders/twitter": "^4.1",
"tightenco/ziggy": "1.6.0",
"uploadcare/uploadcare-php": "^3.2"
"uploadcare/uploadcare-php": "^4.1"
},
"require-dev": {
"amirami/localizator": "^0.12.1@alpha",
Expand Down
Loading

0 comments on commit dd10c86

Please sign in to comment.