diff --git a/composer.lock b/composer.lock index 3fee3ef85..0e1307921 100644 --- a/composer.lock +++ b/composer.lock @@ -2191,16 +2191,16 @@ }, { "name": "laravel/pint", - "version": "v1.16.2", + "version": "v1.17.2", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca" + "reference": "e8a88130a25e3f9d4d5785e6a1afca98268ab110" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/51f1ba679a6afe0315621ad143d788bd7ded0eca", - "reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca", + "url": "https://api.github.com/repos/laravel/pint/zipball/e8a88130a25e3f9d4d5785e6a1afca98268ab110", + "reference": "e8a88130a25e3f9d4d5785e6a1afca98268ab110", "shasum": "" }, "require": { @@ -2211,13 +2211,13 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.59.3", - "illuminate/view": "^10.48.12", - "larastan/larastan": "^2.9.7", + "friendsofphp/php-cs-fixer": "^3.61.1", + "illuminate/view": "^10.48.18", + "larastan/larastan": "^2.9.8", "laravel-zero/framework": "^10.4.0", "mockery/mockery": "^1.6.12", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.34.8" + "pestphp/pest": "^2.35.0" }, "bin": [ "builds/pint" @@ -2253,7 +2253,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-07-09T15:58:08+00:00" + "time": "2024-08-06T15:11:54+00:00" }, { "name": "laravel/prompts", diff --git a/packages/Webkul/Activity/src/Traits/LogsActivity.php b/packages/Webkul/Activity/src/Traits/LogsActivity.php index 7d1720f00..14947b8be 100644 --- a/packages/Webkul/Activity/src/Traits/LogsActivity.php +++ b/packages/Webkul/Activity/src/Traits/LogsActivity.php @@ -13,4 +13,4 @@ protected static function booted(): void dd($model); }); } -} \ No newline at end of file +} diff --git a/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php b/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php index d331ea973..cdf240b32 100644 --- a/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php +++ b/packages/Webkul/Admin/src/Providers/AdminServiceProvider.php @@ -71,7 +71,7 @@ protected function registerFacades(): void $loader->alias('Bouncer', \Webkul\Admin\Facades\Bouncer::class); $this->app->singleton('bouncer', function () { - return new \Webkul\Admin\Bouncer(); + return new \Webkul\Admin\Bouncer; }); } diff --git a/packages/Webkul/Automation/src/Services/WebhookService.php b/packages/Webkul/Automation/src/Services/WebhookService.php index af824d1a3..2e1398566 100644 --- a/packages/Webkul/Automation/src/Services/WebhookService.php +++ b/packages/Webkul/Automation/src/Services/WebhookService.php @@ -19,7 +19,7 @@ class WebhookService */ public function __construct(protected PersonRepository $personRepository) { - $this->client = new Client(); + $this->client = new Client; } /** diff --git a/packages/Webkul/Contact/src/Repositories/OrganizationRepository.php b/packages/Webkul/Contact/src/Repositories/OrganizationRepository.php index b76ddccfe..926a38fa2 100644 --- a/packages/Webkul/Contact/src/Repositories/OrganizationRepository.php +++ b/packages/Webkul/Contact/src/Repositories/OrganizationRepository.php @@ -53,7 +53,7 @@ public function create(array $data) public function update(array $data, $id, $attribute = 'id') { $data['user_id'] = $data['user_id'] ?: null; - + $organization = parent::update($data, $id); $this->attributeValueRepository->save($data, $id); diff --git a/packages/Webkul/Contact/src/Repositories/PersonRepository.php b/packages/Webkul/Contact/src/Repositories/PersonRepository.php index 2c48a6b87..64776d4e9 100644 --- a/packages/Webkul/Contact/src/Repositories/PersonRepository.php +++ b/packages/Webkul/Contact/src/Repositories/PersonRepository.php @@ -47,7 +47,7 @@ public function model() public function create(array $data) { $data['user_id'] = $data['user_id'] ?: null; - + $person = parent::create($data); $this->attributeValueRepository->save($data, $person->id); diff --git a/packages/Webkul/Email/src/Helpers/Parser.php b/packages/Webkul/Email/src/Helpers/Parser.php index 9f36e663b..a21f97cf7 100644 --- a/packages/Webkul/Email/src/Helpers/Parser.php +++ b/packages/Webkul/Email/src/Helpers/Parser.php @@ -48,7 +48,7 @@ class Parser public function __construct(?CharsetManager $charset = null) { if (is_null($charset)) { - $charset = new Charset(); + $charset = new Charset; } $this->charset = $charset; diff --git a/packages/Webkul/Installer/src/Events/ComposerEvents.php b/packages/Webkul/Installer/src/Events/ComposerEvents.php index ef842bf8c..d213200c6 100644 --- a/packages/Webkul/Installer/src/Events/ComposerEvents.php +++ b/packages/Webkul/Installer/src/Events/ComposerEvents.php @@ -13,7 +13,7 @@ class ComposerEvents */ public static function postCreateProject() { - $output = new ConsoleOutput(); + $output = new ConsoleOutput; $output->writeln(file_get_contents(__DIR__.'/../Templates/on-boarding.php')); } diff --git a/packages/Webkul/Installer/src/Listeners/Installer.php b/packages/Webkul/Installer/src/Listeners/Installer.php index 50cc96fe6..075d66b3e 100644 --- a/packages/Webkul/Installer/src/Listeners/Installer.php +++ b/packages/Webkul/Installer/src/Listeners/Installer.php @@ -30,7 +30,7 @@ public function installed() { $user = $this->userRepository->first(); - $httpClient = new Client(); + $httpClient = new Client; try { $httpClient->request('POST', self::API_ENDPOINT, [