diff --git a/app/Helpers/Generic.php b/app/Helpers/Generic.php index 0faa97726569..feb40dd030e9 100644 --- a/app/Helpers/Generic.php +++ b/app/Helpers/Generic.php @@ -30,9 +30,8 @@ function nlog($output, $context = []): void $output = print_r($output, 1); } - $trace = debug_backtrace(); - //nlog( debug_backtrace()[1]['function']); - // \Illuminate\Support\Facades\Log::channel('invoiceninja')->info(print_r($trace[1]['class'],1), []); + // $trace = debug_backtrace(); + if (Ninja::isHosted()) { try { info($output); @@ -41,11 +40,4 @@ function nlog($output, $context = []): void } else { \Illuminate\Support\Facades\Log::channel('invoiceninja')->info($output, $context); } -} - -// if (!function_exists('ray')) { -// function ray($payload) -// { -// return true; -// } -// } +} \ No newline at end of file diff --git a/app/Helpers/Invoice/InvoiceSum.php b/app/Helpers/Invoice/InvoiceSum.php index f0df4a66c9ec..825d565a6c7e 100644 --- a/app/Helpers/Invoice/InvoiceSum.php +++ b/app/Helpers/Invoice/InvoiceSum.php @@ -121,7 +121,7 @@ class InvoiceSum private function calculateInvoiceTaxes() { - if (strlen($this->invoice->tax_name1) > 1) { + if (is_string($this->invoice->tax_name1) && strlen($this->invoice->tax_name1) > 1) { $tax = $this->taxer($this->total, $this->invoice->tax_rate1); $tax += $this->getSurchargeTaxTotalForKey($this->invoice->tax_name1, $this->invoice->tax_rate1); @@ -129,7 +129,7 @@ class InvoiceSum $this->total_tax_map[] = ['name' => $this->invoice->tax_name1.' '.floatval($this->invoice->tax_rate1).'%', 'total' => $tax]; } - if (strlen($this->invoice->tax_name2) > 1) { + if (is_string($this->invoice->tax_name2) && strlen($this->invoice->tax_name2) > 1) { $tax = $this->taxer($this->total, $this->invoice->tax_rate2); $tax += $this->getSurchargeTaxTotalForKey($this->invoice->tax_name2, $this->invoice->tax_rate2); @@ -137,7 +137,7 @@ class InvoiceSum $this->total_tax_map[] = ['name' => $this->invoice->tax_name2.' '.floatval($this->invoice->tax_rate2).'%', 'total' => $tax]; } - if (strlen($this->invoice->tax_name3) > 1) { + if (is_string($this->invoice->tax_name3) && strlen($this->invoice->tax_name3) > 1) { $tax = $this->taxer($this->total, $this->invoice->tax_rate3); $tax += $this->getSurchargeTaxTotalForKey($this->invoice->tax_name3, $this->invoice->tax_rate3); diff --git a/app/Helpers/Mail/GmailTransport.php b/app/Helpers/Mail/GmailTransport.php index b4381dc9ed4a..a42031e125f9 100644 --- a/app/Helpers/Mail/GmailTransport.php +++ b/app/Helpers/Mail/GmailTransport.php @@ -41,6 +41,7 @@ class GmailTransport extends AbstractTransport public function __construct() { parent::__construct(); + $this->gmail = new Mail; $this->body = new \Google\Service\Gmail\Message(); diff --git a/app/Jobs/Entity/EmailEntity.php b/app/Jobs/Entity/EmailEntity.php index 914f69f0c38a..cc3cd03ba33a 100644 --- a/app/Jobs/Entity/EmailEntity.php +++ b/app/Jobs/Entity/EmailEntity.php @@ -166,6 +166,6 @@ class EmailEntity implements ShouldQueue public function failed($e) { - nlog($e->getMessage()); + // nlog($e->getMessage()); } } diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index c17462fb976a..b072cf749354 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -279,7 +279,7 @@ class HtmlEngine $data['$invoice.custom2'] = ['value' => $this->helpers->formatCustomFieldValue($this->company->custom_fields, 'invoice2', $this->entity->custom_value2, $this->client) ?: ' ', 'label' => $this->helpers->makeCustomField($this->company->custom_fields, 'invoice2')]; $data['$invoice.custom3'] = ['value' => $this->helpers->formatCustomFieldValue($this->company->custom_fields, 'invoice3', $this->entity->custom_value3, $this->client) ?: ' ', 'label' => $this->helpers->makeCustomField($this->company->custom_fields, 'invoice3')]; $data['$invoice.custom4'] = ['value' => $this->helpers->formatCustomFieldValue($this->company->custom_fields, 'invoice4', $this->entity->custom_value4, $this->client) ?: ' ', 'label' => $this->helpers->makeCustomField($this->company->custom_fields, 'invoice4')]; - $data['$invoice.public_notes'] = ['value' => Helpers::processReservedKeywords(\nl2br($this->entity->public_notes), $this->client) ?: '', 'label' => ctrans('texts.public_notes')]; + $data['$invoice.public_notes'] = ['value' => Helpers::processReservedKeywords(\nl2br($this->entity->public_notes ?: ''), $this->client) ?: '', 'label' => ctrans('texts.public_notes')]; $data['$entity.public_notes'] = &$data['$invoice.public_notes']; $data['$public_notes'] = &$data['$invoice.public_notes']; $data['$notes'] = &$data['$public_notes']; diff --git a/composer.json b/composer.json index ae3609192405..3b2a40603e67 100644 --- a/composer.json +++ b/composer.json @@ -67,7 +67,7 @@ "league/flysystem-aws-s3-v3": "^3.0", "league/fractal": "^0.17.0", "league/omnipay": "^3.1", - "livewire/livewire": "^2.6", + "livewire/livewire": "^2.10", "microsoft/microsoft-graph": "^1.69", "mollie/mollie-api-php": "^2.36", "nelexa/zip": "^4.0", @@ -95,7 +95,7 @@ "require-dev": { "php": "^7.4|^8.0", "anahkiasen/former": "^4.2", - "barryvdh/laravel-debugbar": "^3.4", + "barryvdh/laravel-debugbar": "^3.6", "brianium/paratest": "^6.1", "darkaonline/l5-swagger": "8.1.0", "fakerphp/faker": "^1.14", @@ -103,7 +103,8 @@ "laravel/dusk": "^6.15", "mockery/mockery": "^1.4.4", "nunomaduro/collision": "^6.1", - "phpunit/phpunit": "^9.5.10" + "phpunit/phpunit": "^9.5.10", + "spatie/laravel-ignition": "^1.0" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index ba9721ad9af4..674aabe328b7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b54c91d78cce101cdca1701b3b46c762", + "content-hash": "c90d978b81787218232a3cb4d19b2b98", "packages": [ { "name": "afosto/yaac", @@ -378,16 +378,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.228.2", + "version": "3.229.2", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "e7c4d70aef99e71f9114a302ec576dc2689df283" + "reference": "142a872fd7172bf5d067f4e30e4f89593296fc8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/e7c4d70aef99e71f9114a302ec576dc2689df283", - "reference": "e7c4d70aef99e71f9114a302ec576dc2689df283", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/142a872fd7172bf5d067f4e30e4f89593296fc8f", + "reference": "142a872fd7172bf5d067f4e30e4f89593296fc8f", "shasum": "" }, "require": { @@ -463,9 +463,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.228.2" + "source": "https://github.com/aws/aws-sdk-php/tree/3.229.2" }, - "time": "2022-06-23T18:17:44+00:00" + "time": "2022-07-01T18:16:42+00:00" }, { "name": "bacon/bacon-qr-code", @@ -523,21 +523,21 @@ }, { "name": "beganovich/snappdf", - "version": "v2.1.0", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/beganovich/snappdf.git", - "reference": "db195c096e917b8242a8e92a094277823776beb5" + "reference": "7964d03c091f3a30513fb6c44ea353c575ba523a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/beganovich/snappdf/zipball/db195c096e917b8242a8e92a094277823776beb5", - "reference": "db195c096e917b8242a8e92a094277823776beb5", + "url": "https://api.github.com/repos/beganovich/snappdf/zipball/7964d03c091f3a30513fb6c44ea353c575ba523a", + "reference": "7964d03c091f3a30513fb6c44ea353c575ba523a", "shasum": "" }, "require": { "ext-zip": "*", - "php": "^8.0", + "php": "^8.0|^8.1", "symfony/console": "^6.0", "symfony/filesystem": "^6.0", "symfony/process": "^6.0" @@ -569,9 +569,9 @@ "description": "Convert webpages or HTML into the PDF file using Chromium or Google Chrome.", "support": { "issues": "https://github.com/beganovich/snappdf/issues", - "source": "https://github.com/beganovich/snappdf/tree/v2.1.0" + "source": "https://github.com/beganovich/snappdf/tree/v2.2.0" }, - "time": "2022-04-19T11:26:41+00:00" + "time": "2022-06-29T13:08:15+00:00" }, { "name": "braintree/braintree_php", @@ -684,16 +684,16 @@ }, { "name": "checkout/checkout-sdk-php", - "version": "2.5.1", + "version": "2.5.2", "source": { "type": "git", "url": "https://github.com/checkout/checkout-sdk-php.git", - "reference": "097b862487f7583fd0fab47a08e3dc0800f5c3e4" + "reference": "ab1e493ac9aa9c0350f58f069f6157b2a02a7e27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/checkout/checkout-sdk-php/zipball/097b862487f7583fd0fab47a08e3dc0800f5c3e4", - "reference": "097b862487f7583fd0fab47a08e3dc0800f5c3e4", + "url": "https://api.github.com/repos/checkout/checkout-sdk-php/zipball/ab1e493ac9aa9c0350f58f069f6157b2a02a7e27", + "reference": "ab1e493ac9aa9c0350f58f069f6157b2a02a7e27", "shasum": "" }, "require": { @@ -746,9 +746,9 @@ ], "support": { "issues": "https://github.com/checkout/checkout-sdk-php/issues", - "source": "https://github.com/checkout/checkout-sdk-php/tree/2.5.1" + "source": "https://github.com/checkout/checkout-sdk-php/tree/2.5.2" }, - "time": "2022-06-13T00:23:23+00:00" + "time": "2022-06-30T14:46:15+00:00" }, { "name": "cleverit/ubl_invoice", @@ -2038,16 +2038,16 @@ }, { "name": "gocardless/gocardless-pro", - "version": "4.16.0", + "version": "4.17.0", "source": { "type": "git", "url": "https://github.com/gocardless/gocardless-pro-php.git", - "reference": "31116c4a47b7815cbe25e411a1e0382e42006691" + "reference": "59ccdcbfbbf1a18b55c749ed121137dce6d6f3ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/gocardless/gocardless-pro-php/zipball/31116c4a47b7815cbe25e411a1e0382e42006691", - "reference": "31116c4a47b7815cbe25e411a1e0382e42006691", + "url": "https://api.github.com/repos/gocardless/gocardless-pro-php/zipball/59ccdcbfbbf1a18b55c749ed121137dce6d6f3ae", + "reference": "59ccdcbfbbf1a18b55c749ed121137dce6d6f3ae", "shasum": "" }, "require": { @@ -2087,9 +2087,9 @@ ], "support": { "issues": "https://github.com/gocardless/gocardless-pro-php/issues", - "source": "https://github.com/gocardless/gocardless-pro-php/tree/v4.16.0" + "source": "https://github.com/gocardless/gocardless-pro-php/tree/v4.17.0" }, - "time": "2022-04-25T14:24:52+00:00" + "time": "2022-06-29T12:55:58+00:00" }, { "name": "google/apiclient", @@ -2163,16 +2163,16 @@ }, { "name": "google/apiclient-services", - "version": "v0.254.0", + "version": "v0.256.0", "source": { "type": "git", "url": "https://github.com/googleapis/google-api-php-client-services.git", - "reference": "e1b16659df899f3bdf5c798358c256a9cc01efeb" + "reference": "122e51021eb19b53f831904918460671d1e7259d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/e1b16659df899f3bdf5c798358c256a9cc01efeb", - "reference": "e1b16659df899f3bdf5c798358c256a9cc01efeb", + "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/122e51021eb19b53f831904918460671d1e7259d", + "reference": "122e51021eb19b53f831904918460671d1e7259d", "shasum": "" }, "require": { @@ -2201,9 +2201,9 @@ ], "support": { "issues": "https://github.com/googleapis/google-api-php-client-services/issues", - "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.254.0" + "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.256.0" }, - "time": "2022-06-19T01:16:11+00:00" + "time": "2022-07-04T01:10:37+00:00" }, { "name": "google/auth", @@ -3368,16 +3368,16 @@ }, { "name": "laravel/framework", - "version": "v9.18.0", + "version": "v9.19.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "93a1296bca43c1ca8dcb5df8f97107e819a71499" + "reference": "bbce25bd823133f6a5a724f2d62680b711f1d0df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/93a1296bca43c1ca8dcb5df8f97107e819a71499", - "reference": "93a1296bca43c1ca8dcb5df8f97107e819a71499", + "url": "https://api.github.com/repos/laravel/framework/zipball/bbce25bd823133f6a5a724f2d62680b711f1d0df", + "reference": "bbce25bd823133f6a5a724f2d62680b711f1d0df", "shasum": "" }, "require": { @@ -3543,7 +3543,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-06-21T14:40:11+00:00" + "time": "2022-06-28T14:33:19+00:00" }, { "name": "laravel/serializable-closure", @@ -4272,16 +4272,16 @@ }, { "name": "league/flysystem", - "version": "3.0.21", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "8f1fcf9d2304ff77a006aa36dd2cb5f236999b12" + "reference": "34a68067b7ae3b836ea5e57e1fc432478372a4f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/8f1fcf9d2304ff77a006aa36dd2cb5f236999b12", - "reference": "8f1fcf9d2304ff77a006aa36dd2cb5f236999b12", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/34a68067b7ae3b836ea5e57e1fc432478372a4f5", + "reference": "34a68067b7ae3b836ea5e57e1fc432478372a4f5", "shasum": "" }, "require": { @@ -4342,7 +4342,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.0.21" + "source": "https://github.com/thephpleague/flysystem/tree/3.1.0" }, "funding": [ { @@ -4358,20 +4358,20 @@ "type": "tidelift" } ], - "time": "2022-06-12T17:54:28+00:00" + "time": "2022-06-29T17:29:54+00:00" }, { "name": "league/flysystem-aws-s3-v3", - "version": "3.0.21", + "version": "3.0.22", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git", - "reference": "f4ee238279f1eb39a32539a18ef845db7251fd05" + "reference": "e5fc508faf83df2fbd2a215d2b4bea9584906221" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/f4ee238279f1eb39a32539a18ef845db7251fd05", - "reference": "f4ee238279f1eb39a32539a18ef845db7251fd05", + "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/e5fc508faf83df2fbd2a215d2b4bea9584906221", + "reference": "e5fc508faf83df2fbd2a215d2b4bea9584906221", "shasum": "" }, "require": { @@ -4412,9 +4412,9 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem-aws-s3-v3/issues", - "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.0.21" + "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.0.22" }, - "time": "2022-06-12T17:34:31+00:00" + "time": "2022-06-29T07:09:46+00:00" }, { "name": "league/fractal", @@ -4681,16 +4681,16 @@ }, { "name": "livewire/livewire", - "version": "v2.10.5", + "version": "v2.10.6", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "9ea6237760f627b3b6a05d15137880780ac843b5" + "reference": "020ad095cf1239138b097d22b584e2701ec3edfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/9ea6237760f627b3b6a05d15137880780ac843b5", - "reference": "9ea6237760f627b3b6a05d15137880780ac843b5", + "url": "https://api.github.com/repos/livewire/livewire/zipball/020ad095cf1239138b097d22b584e2701ec3edfb", + "reference": "020ad095cf1239138b097d22b584e2701ec3edfb", "shasum": "" }, "require": { @@ -4742,7 +4742,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v2.10.5" + "source": "https://github.com/livewire/livewire/tree/v2.10.6" }, "funding": [ { @@ -4750,7 +4750,7 @@ "type": "github" } ], - "time": "2022-04-07T21:38:12+00:00" + "time": "2022-06-19T02:54:20+00:00" }, { "name": "microsoft/microsoft-graph", @@ -4897,41 +4897,43 @@ }, { "name": "moneyphp/money", - "version": "v3.3.1", + "version": "v4.0.4", "source": { "type": "git", "url": "https://github.com/moneyphp/money.git", - "reference": "122664c2621a95180a13c1ac81fea1d2ef20781e" + "reference": "efe904ab6109d87046eb624d5dff7d270fd0cca5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/moneyphp/money/zipball/122664c2621a95180a13c1ac81fea1d2ef20781e", - "reference": "122664c2621a95180a13c1ac81fea1d2ef20781e", + "url": "https://api.github.com/repos/moneyphp/money/zipball/efe904ab6109d87046eb624d5dff7d270fd0cca5", + "reference": "efe904ab6109d87046eb624d5dff7d270fd0cca5", "shasum": "" }, "require": { + "ext-bcmath": "*", + "ext-filter": "*", "ext-json": "*", - "php": ">=5.6" + "php": "~8.0.0 || ~8.1.0" }, "require-dev": { - "cache/taggable-cache": "^0.4.0", - "doctrine/instantiator": "^1.0.5", - "ext-bcmath": "*", + "cache/taggable-cache": "^1.1.0", + "doctrine/coding-standard": "^9.0", + "doctrine/instantiator": "^1.4.0", "ext-gmp": "*", "ext-intl": "*", - "florianv/exchanger": "^1.0", - "florianv/swap": "^3.0", - "friends-of-phpspec/phpspec-code-coverage": "^3.1.1 || ^4.3", + "florianv/exchanger": "^2.6.3", + "florianv/swap": "^4.3.0", "moneyphp/iso-currencies": "^3.2.1", - "php-http/message": "^1.4", - "php-http/mock-client": "^1.0.0", - "phpspec/phpspec": "^3.4.3", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.18 || ^8.5", - "psr/cache": "^1.0", - "symfony/phpunit-bridge": "^4" + "php-http/message": "^1.11.0", + "php-http/mock-client": "^1.4.1", + "phpbench/phpbench": "^1.2.5", + "phpspec/phpspec": "^7.2", + "phpunit/phpunit": "^9.5.4", + "psalm/plugin-phpunit": "^0.15.1", + "psr/cache": "^1.0.1", + "vimeo/psalm": "~4.7.0 || ^4.8.2" }, "suggest": { - "ext-bcmath": "Calculate without integer limits", "ext-gmp": "Calculate without integer limits", "ext-intl": "Format Money objects with intl", "florianv/exchanger": "Exchange rates library for PHP", @@ -4977,9 +4979,9 @@ ], "support": { "issues": "https://github.com/moneyphp/money/issues", - "source": "https://github.com/moneyphp/money/tree/master" + "source": "https://github.com/moneyphp/money/tree/v4.0.4" }, - "time": "2020-03-18T17:49:59+00:00" + "time": "2022-05-18T19:32:15+00:00" }, { "name": "monolog/monolog", @@ -5221,16 +5223,16 @@ }, { "name": "nesbot/carbon", - "version": "2.58.0", + "version": "2.59.1", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055" + "reference": "a9000603ea337c8df16cc41f8b6be95a65f4d0f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/97a34af22bde8d0ac20ab34b29d7bfe360902055", - "reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/a9000603ea337c8df16cc41f8b6be95a65f4d0f5", + "reference": "a9000603ea337c8df16cc41f8b6be95a65f4d0f5", "shasum": "" }, "require": { @@ -5245,11 +5247,12 @@ "doctrine/orm": "^2.7", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", + "ondrejmirtes/better-reflection": "*", "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.54 || ^1.0", - "phpunit/php-file-iterator": "^2.0.5", - "phpunit/phpunit": "^7.5.20 || ^8.5.23", + "phpstan/phpstan": "^0.12.99 || ^1.7.14", + "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6", + "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", "squizlabs/php_codesniffer": "^3.4" }, "bin": [ @@ -5306,15 +5309,19 @@ }, "funding": [ { - "url": "https://opencollective.com/Carbon", - "type": "open_collective" + "url": "https://github.com/sponsors/kylekatarnls", + "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "url": "https://opencollective.com/Carbon#sponsor", + "type": "opencollective" + }, + { + "url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme", "type": "tidelift" } ], - "time": "2022-04-25T19:31:17+00:00" + "time": "2022-06-29T21:43:55+00:00" }, { "name": "nette/schema", @@ -7165,16 +7172,16 @@ }, { "name": "psy/psysh", - "version": "v0.11.5", + "version": "v0.11.6", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "c23686f9c48ca202710dbb967df8385a952a2daf" + "reference": "3f5b5f8aaa979fbd0d1783173f4c82ad529fe621" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/c23686f9c48ca202710dbb967df8385a952a2daf", - "reference": "c23686f9c48ca202710dbb967df8385a952a2daf", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/3f5b5f8aaa979fbd0d1783173f4c82ad529fe621", + "reference": "3f5b5f8aaa979fbd0d1783173f4c82ad529fe621", "shasum": "" }, "require": { @@ -7235,9 +7242,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.5" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.6" }, - "time": "2022-05-27T18:03:49+00:00" + "time": "2022-07-03T16:40:23+00:00" }, { "name": "ralouphie/getallheaders", @@ -7458,16 +7465,16 @@ }, { "name": "razorpay/razorpay", - "version": "v2.8.3", + "version": "v2.8.4", "source": { "type": "git", "url": "https://github.com/razorpay/razorpay-php.git", - "reference": "1ae60f9142f63cb01e6f9b843dd0a3573976fd40" + "reference": "3f2edc150f6ca035d15ab81382f7f76417de91f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/razorpay/razorpay-php/zipball/1ae60f9142f63cb01e6f9b843dd0a3573976fd40", - "reference": "1ae60f9142f63cb01e6f9b843dd0a3573976fd40", + "url": "https://api.github.com/repos/razorpay/razorpay-php/zipball/3f2edc150f6ca035d15ab81382f7f76417de91f6", + "reference": "3f2edc150f6ca035d15ab81382f7f76417de91f6", "shasum": "" }, "require": { @@ -7519,7 +7526,7 @@ "issues": "https://github.com/Razorpay/razorpay-php/issues", "source": "https://github.com/Razorpay/razorpay-php" }, - "time": "2022-04-29T11:11:00+00:00" + "time": "2022-06-28T11:46:08+00:00" }, { "name": "rmccue/requests", @@ -7786,16 +7793,16 @@ }, { "name": "sentry/sentry", - "version": "3.6.0", + "version": "3.6.1", "source": { "type": "git", "url": "https://github.com/getsentry/sentry-php.git", - "reference": "6d1a6ee29c558be373bfe08d454a3c116c02dd0d" + "reference": "5b8f2934b0b20bb01da11c76985ceb5bd6c6af91" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/6d1a6ee29c558be373bfe08d454a3c116c02dd0d", - "reference": "6d1a6ee29c558be373bfe08d454a3c116c02dd0d", + "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/5b8f2934b0b20bb01da11c76985ceb5bd6c6af91", + "reference": "5b8f2934b0b20bb01da11c76985ceb5bd6c6af91", "shasum": "" }, "require": { @@ -7875,7 +7882,7 @@ ], "support": { "issues": "https://github.com/getsentry/sentry-php/issues", - "source": "https://github.com/getsentry/sentry-php/tree/3.6.0" + "source": "https://github.com/getsentry/sentry-php/tree/3.6.1" }, "funding": [ { @@ -7887,20 +7894,20 @@ "type": "custom" } ], - "time": "2022-06-09T20:33:39+00:00" + "time": "2022-06-27T07:58:00+00:00" }, { "name": "sentry/sentry-laravel", - "version": "2.12.0", + "version": "2.12.1", "source": { "type": "git", "url": "https://github.com/getsentry/sentry-laravel.git", - "reference": "35b8807019e4ca300e4530c2b784517475296fca" + "reference": "bf7b4e6d43f0cf0c320041bb7d3a2a28c7edca57" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/35b8807019e4ca300e4530c2b784517475296fca", - "reference": "35b8807019e4ca300e4530c2b784517475296fca", + "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/bf7b4e6d43f0cf0c320041bb7d3a2a28c7edca57", + "reference": "bf7b4e6d43f0cf0c320041bb7d3a2a28c7edca57", "shasum": "" }, "require": { @@ -7966,7 +7973,7 @@ ], "support": { "issues": "https://github.com/getsentry/sentry-laravel/issues", - "source": "https://github.com/getsentry/sentry-laravel/tree/2.12.0" + "source": "https://github.com/getsentry/sentry-laravel/tree/2.12.1" }, "funding": [ { @@ -7978,22 +7985,26 @@ "type": "custom" } ], - "time": "2022-04-05T10:05:19+00:00" + "time": "2022-06-27T11:34:22+00:00" }, { "name": "setasign/fpdf", - "version": "1.8.2", + "version": "1.8.4", "source": { "type": "git", "url": "https://github.com/Setasign/FPDF.git", - "reference": "d77904018090c17dc9f3ab6e944679a7a47e710a" + "reference": "b0ddd9c5b98ced8230ef38534f6f3c17308a7974" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Setasign/FPDF/zipball/d77904018090c17dc9f3ab6e944679a7a47e710a", - "reference": "d77904018090c17dc9f3ab6e944679a7a47e710a", + "url": "https://api.github.com/repos/Setasign/FPDF/zipball/b0ddd9c5b98ced8230ef38534f6f3c17308a7974", + "reference": "b0ddd9c5b98ced8230ef38534f6f3c17308a7974", "shasum": "" }, + "require": { + "ext-gd": "*", + "ext-zlib": "*" + }, "type": "library", "autoload": { "classmap": [ @@ -8018,9 +8029,9 @@ "pdf" ], "support": { - "source": "https://github.com/Setasign/FPDF/tree/1.8.2" + "source": "https://github.com/Setasign/FPDF/tree/1.8.4" }, - "time": "2019-12-08T10:32:10+00:00" + "time": "2021-08-30T07:50:06+00:00" }, { "name": "setasign/fpdi", @@ -8522,16 +8533,16 @@ }, { "name": "symfony/console", - "version": "v6.1.1", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "6187424023fbffcd757789aeb517c9161b1eabee" + "reference": "7a86c1c42fbcb69b59768504c7bca1d3767760b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/6187424023fbffcd757789aeb517c9161b1eabee", - "reference": "6187424023fbffcd757789aeb517c9161b1eabee", + "url": "https://api.github.com/repos/symfony/console/zipball/7a86c1c42fbcb69b59768504c7bca1d3767760b7", + "reference": "7a86c1c42fbcb69b59768504c7bca1d3767760b7", "shasum": "" }, "require": { @@ -8598,7 +8609,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.1.1" + "source": "https://github.com/symfony/console/tree/v6.1.2" }, "funding": [ { @@ -8614,7 +8625,7 @@ "type": "tidelift" } ], - "time": "2022-06-08T14:02:09+00:00" + "time": "2022-06-26T13:01:30+00:00" }, { "name": "symfony/css-selector", @@ -8683,7 +8694,7 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", @@ -8730,7 +8741,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.1.1" }, "funding": [ { @@ -8904,7 +8915,7 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", @@ -8963,7 +8974,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.1.1" }, "funding": [ { @@ -9110,16 +9121,16 @@ }, { "name": "symfony/http-client", - "version": "v6.1.1", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "c5473d69640980367a6bdb0cdb449225dcaa991b" + "reference": "ea1af6c8cc479147d67a3fead457dd7b06261041" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/c5473d69640980367a6bdb0cdb449225dcaa991b", - "reference": "c5473d69640980367a6bdb0cdb449225dcaa991b", + "url": "https://api.github.com/repos/symfony/http-client/zipball/ea1af6c8cc479147d67a3fead457dd7b06261041", + "reference": "ea1af6c8cc479147d67a3fead457dd7b06261041", "shasum": "" }, "require": { @@ -9174,7 +9185,7 @@ "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-client/tree/v6.1.1" + "source": "https://github.com/symfony/http-client/tree/v6.1.2" }, "funding": [ { @@ -9190,11 +9201,11 @@ "type": "tidelift" } ], - "time": "2022-06-09T13:06:55+00:00" + "time": "2022-06-19T13:02:30+00:00" }, { "name": "symfony/http-client-contracts", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", @@ -9255,7 +9266,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.1.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.1.1" }, "funding": [ { @@ -9275,16 +9286,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.1.1", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "a58dc88d56e04e57993d96c1407a17407610e1df" + "reference": "86119d294e51afe4d8e07da96b63332bd1f3f52c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/a58dc88d56e04e57993d96c1407a17407610e1df", - "reference": "a58dc88d56e04e57993d96c1407a17407610e1df", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/86119d294e51afe4d8e07da96b63332bd1f3f52c", + "reference": "86119d294e51afe4d8e07da96b63332bd1f3f52c", "shasum": "" }, "require": { @@ -9327,7 +9338,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.1.1" + "source": "https://github.com/symfony/http-foundation/tree/v6.1.2" }, "funding": [ { @@ -9343,20 +9354,20 @@ "type": "tidelift" } ], - "time": "2022-05-31T14:28:03+00:00" + "time": "2022-06-19T13:21:48+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.1.1", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "86c4d6f6c5b6cd012df41e3b950c924b3ffdc019" + "reference": "8aaede489900dda61aee208557f63bfa1bca0877" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/86c4d6f6c5b6cd012df41e3b950c924b3ffdc019", - "reference": "86c4d6f6c5b6cd012df41e3b950c924b3ffdc019", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/8aaede489900dda61aee208557f63bfa1bca0877", + "reference": "8aaede489900dda61aee208557f63bfa1bca0877", "shasum": "" }, "require": { @@ -9437,7 +9448,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.1.1" + "source": "https://github.com/symfony/http-kernel/tree/v6.1.2" }, "funding": [ { @@ -9453,20 +9464,20 @@ "type": "tidelift" } ], - "time": "2022-06-09T17:31:33+00:00" + "time": "2022-06-26T17:06:14+00:00" }, { "name": "symfony/mailer", - "version": "v6.1.1", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "db6a19a5c896139901c2de59fc9849379e0ff3b6" + "reference": "8fa150355115ea09238858ae3cfaf249fd1fd5ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/db6a19a5c896139901c2de59fc9849379e0ff3b6", - "reference": "db6a19a5c896139901c2de59fc9849379e0ff3b6", + "url": "https://api.github.com/repos/symfony/mailer/zipball/8fa150355115ea09238858ae3cfaf249fd1fd5ed", + "reference": "8fa150355115ea09238858ae3cfaf249fd1fd5ed", "shasum": "" }, "require": { @@ -9511,7 +9522,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.1.1" + "source": "https://github.com/symfony/mailer/tree/v6.1.2" }, "funding": [ { @@ -9527,7 +9538,7 @@ "type": "tidelift" } ], - "time": "2022-06-06T19:15:01+00:00" + "time": "2022-06-19T13:21:48+00:00" }, { "name": "symfony/mailgun-mailer", @@ -10866,16 +10877,16 @@ }, { "name": "symfony/service-contracts", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "d66cd8ab656780f62c4215b903a420eb86358957" + "reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d66cd8ab656780f62c4215b903a420eb86358957", - "reference": "d66cd8ab656780f62c4215b903a420eb86358957", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/925e713fe8fcacf6bc05e936edd8dd5441a21239", + "reference": "925e713fe8fcacf6bc05e936edd8dd5441a21239", "shasum": "" }, "require": { @@ -10931,7 +10942,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.1.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.1.1" }, "funding": [ { @@ -10947,20 +10958,20 @@ "type": "tidelift" } ], - "time": "2022-05-07T08:07:09+00:00" + "time": "2022-05-30T19:18:58+00:00" }, { "name": "symfony/string", - "version": "v6.1.0", + "version": "v6.1.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "d3edc75baf9f1d4f94879764dda2e1ac33499529" + "reference": "1903f2879875280c5af944625e8246d81c2f0604" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/d3edc75baf9f1d4f94879764dda2e1ac33499529", - "reference": "d3edc75baf9f1d4f94879764dda2e1ac33499529", + "url": "https://api.github.com/repos/symfony/string/zipball/1903f2879875280c5af944625e8246d81c2f0604", + "reference": "1903f2879875280c5af944625e8246d81c2f0604", "shasum": "" }, "require": { @@ -11016,7 +11027,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.1.0" + "source": "https://github.com/symfony/string/tree/v6.1.2" }, "funding": [ { @@ -11032,7 +11043,7 @@ "type": "tidelift" } ], - "time": "2022-04-22T08:18:23+00:00" + "time": "2022-06-26T16:35:04+00:00" }, { "name": "symfony/translation", @@ -11132,16 +11143,16 @@ }, { "name": "symfony/translation-contracts", - "version": "v3.1.0", + "version": "v3.1.1", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "bfddd2a1faa271b782b791c361cc16e2dd49dfaa" + "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/bfddd2a1faa271b782b791c361cc16e2dd49dfaa", - "reference": "bfddd2a1faa271b782b791c361cc16e2dd49dfaa", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/606be0f48e05116baef052f7f3abdb345c8e02cc", + "reference": "606be0f48e05116baef052f7f3abdb345c8e02cc", "shasum": "" }, "require": { @@ -11193,7 +11204,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.1.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.1.1" }, "funding": [ { @@ -11209,7 +11220,7 @@ "type": "tidelift" } ], - "time": "2022-04-22T07:30:54+00:00" + "time": "2022-06-27T17:24:16+00:00" }, { "name": "symfony/var-dumper", @@ -11873,16 +11884,16 @@ }, { "name": "barryvdh/laravel-debugbar", - "version": "v3.6.7", + "version": "v3.6.8", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "b96f9820aaf1ff9afe945207883149e1c7afb298" + "reference": "814b36a08a60f4159cdcbb1c466a6a0027440b6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/b96f9820aaf1ff9afe945207883149e1c7afb298", - "reference": "b96f9820aaf1ff9afe945207883149e1c7afb298", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/814b36a08a60f4159cdcbb1c466a6a0027440b6c", + "reference": "814b36a08a60f4159cdcbb1c466a6a0027440b6c", "shasum": "" }, "require": { @@ -11942,7 +11953,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.7" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.8" }, "funding": [ { @@ -11954,20 +11965,20 @@ "type": "github" } ], - "time": "2022-02-09T07:52:32+00:00" + "time": "2022-06-08T15:03:05+00:00" }, { "name": "brianium/paratest", - "version": "v6.5.0", + "version": "v6.5.1", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "d22afc08dab73d1dff07c700ed6a78f138f5020e" + "reference": "41fc4cc01422dae2d6bf6a0ce39756f57ac7d8a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/d22afc08dab73d1dff07c700ed6a78f138f5020e", - "reference": "d22afc08dab73d1dff07c700ed6a78f138f5020e", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/41fc4cc01422dae2d6bf6a0ce39756f57ac7d8a9", + "reference": "41fc4cc01422dae2d6bf6a0ce39756f57ac7d8a9", "shasum": "" }, "require": { @@ -11996,7 +12007,9 @@ "vimeo/psalm": "^4.23.0" }, "bin": [ - "bin/paratest" + "bin/paratest", + "bin/paratest.bat", + "bin/paratest_for_phpstorm" ], "type": "library", "autoload": { @@ -12032,7 +12045,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v6.5.0" + "source": "https://github.com/paratestphp/paratest/tree/v6.5.1" }, "funding": [ { @@ -12044,7 +12057,7 @@ "type": "paypal" } ], - "time": "2022-06-23T13:00:19+00:00" + "time": "2022-06-24T16:02:27+00:00" }, { "name": "darkaonline/l5-swagger", @@ -12127,16 +12140,16 @@ }, { "name": "doctrine/annotations", - "version": "1.13.2", + "version": "1.13.3", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08" + "reference": "648b0343343565c4a056bfc8392201385e8d89f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08", - "reference": "5b668aef16090008790395c02c893b1ba13f7e08", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/648b0343343565c4a056bfc8392201385e8d89f0", + "reference": "648b0343343565c4a056bfc8392201385e8d89f0", "shasum": "" }, "require": { @@ -12148,9 +12161,10 @@ "require-dev": { "doctrine/cache": "^1.11 || ^2.0", "doctrine/coding-standard": "^6.0 || ^8.1", - "phpstan/phpstan": "^0.12.20", + "phpstan/phpstan": "^1.4.10 || ^1.8.0", "phpunit/phpunit": "^7.5 || ^8.0 || ^9.1.5", - "symfony/cache": "^4.4 || ^5.2" + "symfony/cache": "^4.4 || ^5.2", + "vimeo/psalm": "^4.10" }, "type": "library", "autoload": { @@ -12193,9 +12207,9 @@ ], "support": { "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.2" + "source": "https://github.com/doctrine/annotations/tree/1.13.3" }, - "time": "2021-08-05T19:00:23+00:00" + "time": "2022-07-02T10:48:51+00:00" }, { "name": "doctrine/instantiator", @@ -12714,16 +12728,16 @@ }, { "name": "nunomaduro/collision", - "version": "v6.2.0", + "version": "v6.2.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "c379636dc50e829edb3a8bcb944a01aa1aed8f25" + "reference": "5f058f7e39278b701e455b3c82ec5298cf001d89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/c379636dc50e829edb3a8bcb944a01aa1aed8f25", - "reference": "c379636dc50e829edb3a8bcb944a01aa1aed8f25", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/5f058f7e39278b701e455b3c82ec5298cf001d89", + "reference": "5f058f7e39278b701e455b3c82ec5298cf001d89", "shasum": "" }, "require": { @@ -12735,6 +12749,7 @@ "require-dev": { "brianium/paratest": "^6.4.1", "laravel/framework": "^9.7", + "laravel/pint": "^0.2.1", "nunomaduro/larastan": "^1.0.2", "nunomaduro/mock-final-classes": "^1.1.0", "orchestra/testbench": "^7.3.0", @@ -12797,7 +12812,7 @@ "type": "patreon" } ], - "time": "2022-04-05T15:31:38+00:00" + "time": "2022-06-27T16:11:16+00:00" }, { "name": "phar-io/manifest", @@ -14586,6 +14601,302 @@ ], "time": "2020-09-28T06:39:44+00:00" }, + { + "name": "spatie/backtrace", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/backtrace.git", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "reference": "4ee7d41aa5268107906ea8a4d9ceccde136dbd5b", + "shasum": "" + }, + "require": { + "php": "^7.3|^8.0" + }, + "require-dev": { + "ext-json": "*", + "phpunit/phpunit": "^9.3", + "symfony/var-dumper": "^5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\Backtrace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van de Herten", + "email": "freek@spatie.be", + "homepage": "https://spatie.be", + "role": "Developer" + } + ], + "description": "A better backtrace", + "homepage": "https://github.com/spatie/backtrace", + "keywords": [ + "Backtrace", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/backtrace/issues", + "source": "https://github.com/spatie/backtrace/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/sponsors/spatie", + "type": "github" + }, + { + "url": "https://spatie.be/open-source/support-us", + "type": "other" + } + ], + "time": "2021-11-09T10:57:15+00:00" + }, + { + "name": "spatie/flare-client-php", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/spatie/flare-client-php.git", + "reference": "86a380f5b1ce839af04a08f1c8f2697184cdf23f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/86a380f5b1ce839af04a08f1c8f2697184cdf23f", + "reference": "86a380f5b1ce839af04a08f1c8f2697184cdf23f", + "shasum": "" + }, + "require": { + "illuminate/pipeline": "^8.0|^9.0", + "php": "^8.0", + "spatie/backtrace": "^1.2", + "symfony/http-foundation": "^5.0|^6.0", + "symfony/mime": "^5.2|^6.0", + "symfony/process": "^5.2|^6.0", + "symfony/var-dumper": "^5.2|^6.0" + }, + "require-dev": { + "dms/phpunit-arraysubset-asserts": "^0.3.0", + "pestphp/pest": "^1.20", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/phpunit-snapshot-assertions": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.1.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\FlareClient\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Send PHP errors to Flare", + "homepage": "https://github.com/spatie/flare-client-php", + "keywords": [ + "exception", + "flare", + "reporting", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/flare-client-php/issues", + "source": "https://github.com/spatie/flare-client-php/tree/1.2.0" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-05-16T12:13:39+00:00" + }, + { + "name": "spatie/ignition", + "version": "1.3.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/ignition.git", + "reference": "997363fbcce809b1e55f571997d49017f9c623d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/ignition/zipball/997363fbcce809b1e55f571997d49017f9c623d9", + "reference": "997363fbcce809b1e55f571997d49017f9c623d9", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "monolog/monolog": "^2.0", + "php": "^8.0", + "spatie/flare-client-php": "^1.1", + "symfony/console": "^5.4|^6.0", + "symfony/var-dumper": "^5.4|^6.0" + }, + "require-dev": { + "mockery/mockery": "^1.4", + "pestphp/pest": "^1.20", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "symfony/process": "^5.4|^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Spatie\\Ignition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for PHP applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/ignition/issues", + "source": "https://github.com/spatie/ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-05-16T13:16:07+00:00" + }, + { + "name": "spatie/laravel-ignition", + "version": "1.3.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-ignition.git", + "reference": "fe37a0eafe6ea040804255c70e9808af13314f87" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/fe37a0eafe6ea040804255c70e9808af13314f87", + "reference": "fe37a0eafe6ea040804255c70e9808af13314f87", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-json": "*", + "ext-mbstring": "*", + "illuminate/support": "^8.77|^9.0", + "monolog/monolog": "^2.3", + "php": "^8.0", + "spatie/flare-client-php": "^1.0.1", + "spatie/ignition": "^1.2.4", + "symfony/console": "^5.0|^6.0", + "symfony/var-dumper": "^5.0|^6.0" + }, + "require-dev": { + "filp/whoops": "^2.14", + "livewire/livewire": "^2.8|dev-develop", + "mockery/mockery": "^1.4", + "nunomaduro/larastan": "^1.0", + "orchestra/testbench": "^6.23|^7.0", + "pestphp/pest": "^1.20", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "spatie/laravel-ray": "^1.27" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Spatie\\LaravelIgnition\\IgnitionServiceProvider" + ], + "aliases": { + "Flare": "Spatie\\LaravelIgnition\\Facades\\Flare" + } + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Spatie\\LaravelIgnition\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Spatie", + "email": "info@spatie.be", + "role": "Developer" + } + ], + "description": "A beautiful error page for Laravel applications.", + "homepage": "https://flareapp.io/ignition", + "keywords": [ + "error", + "flare", + "laravel", + "page" + ], + "support": { + "docs": "https://flareapp.io/docs/ignition-for-laravel/introduction", + "forum": "https://twitter.com/flareappio", + "issues": "https://github.com/spatie/laravel-ignition/issues", + "source": "https://github.com/spatie/laravel-ignition" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-06-17T06:28:57+00:00" + }, { "name": "swagger-api/swagger-ui", "version": "v3.52.5", @@ -14718,16 +15029,16 @@ }, { "name": "symfony/yaml", - "version": "v5.4.3", + "version": "v5.4.10", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "e80f87d2c9495966768310fc531b487ce64237a2" + "reference": "04e42926429d9e8b39c174387ab990bf7817f7a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2", - "reference": "e80f87d2c9495966768310fc531b487ce64237a2", + "url": "https://api.github.com/repos/symfony/yaml/zipball/04e42926429d9e8b39c174387ab990bf7817f7a2", + "reference": "04e42926429d9e8b39c174387ab990bf7817f7a2", "shasum": "" }, "require": { @@ -14773,7 +15084,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.4.3" + "source": "https://github.com/symfony/yaml/tree/v5.4.10" }, "funding": [ { @@ -14789,7 +15100,7 @@ "type": "tidelift" } ], - "time": "2022-01-26T16:32:32+00:00" + "time": "2022-06-20T11:50:59+00:00" }, { "name": "theseer/tokenizer", @@ -14931,5 +15242,5 @@ "platform-dev": { "php": "^7.4|^8.0" }, - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/config/logging.php b/config/logging.php index 84fe2484228c..e7eb0331b9cd 100644 --- a/config/logging.php +++ b/config/logging.php @@ -51,6 +51,13 @@ return [ */ 'channels' => [ + + 'invoiceninja' => [ + 'driver' => 'single', + 'path' => storage_path('logs/invoiceninja.log'), + 'level' => env('LOG_LEVEL', 'debug'), + ], + 'stack' => [ 'driver' => 'stack', 'channels' => ['single'], @@ -117,74 +124,69 @@ return [ 'emergency' => [ 'path' => storage_path('logs/laravel.log'), ], - - 'invoiceninja' => [ - 'driver' => 'single', - 'level' => 'debug', - 'path' => storage_path('logs/invoiceninja.log'), - ], - - 'gelf' => [ - 'driver' => 'custom', - - 'via' => \Hedii\LaravelGelfLogger\GelfLoggerFactory::class, - - // This optional option determines the processors that should be - // pushed to the handler. This option is useful to modify a field - // in the log context (see NullStringProcessor), or to add extra - // data. Each processor must be a callable or an object with an - // __invoke method: see monolog documentation about processors. - // Default is an empty array. - 'processors' => [ - \Hedii\LaravelGelfLogger\Processors\NullStringProcessor::class, - // another processor... - ], - - // This optional option determines the minimum "level" a message - // must be in order to be logged by the channel. Default is 'debug' - 'level' => 'debug', - - // This optional option determines the channel name sent with the - // message in the 'facility' field. Default is equal to app.env - // configuration value - 'name' => 'v5_app', - - // This optional option determines the system name sent with the - // message in the 'source' field. When forgotten or set to null, - // the current hostname is used. - 'system_name' => null, - - // This optional option determines if you want the UDP, TCP or HTTP - // transport for the gelf log messages. Default is UDP - 'transport' => 'udp', - - // This optional option determines the host that will receive the - // gelf log messages. Default is 127.0.0.1 - 'host' => env('GRAYLOG_SERVER', '127.0.0.1'), - - // This optional option determines the port on which the gelf - // receiver host is listening. Default is 12201 - 'port' => 12201, - - // This optional option determines the path used for the HTTP - // transport. When forgotten or set to null, default path '/gelf' - // is used. - 'path' => null, - - // This optional option determines the maximum length per message - // field. When forgotten or set to null, the default value of - // \Monolog\Formatter\GelfMessageFormatter::DEFAULT_MAX_LENGTH is - // used (currently this value is 32766) - 'max_length' => null, - - // This optional option determines the prefix for 'context' fields - // from the Monolog record. Default is null (no context prefix) - 'context_prefix' => null, - - // This optional option determines the prefix for 'extra' fields - // from the Monolog record. Default is null (no extra prefix) - 'extra_prefix' => null, - ], ], + 'gelf' => [ + 'driver' => 'custom', + + 'via' => \Hedii\LaravelGelfLogger\GelfLoggerFactory::class, + + // This optional option determines the processors that should be + // pushed to the handler. This option is useful to modify a field + // in the log context (see NullStringProcessor), or to add extra + // data. Each processor must be a callable or an object with an + // __invoke method: see monolog documentation about processors. + // Default is an empty array. + 'processors' => [ + \Hedii\LaravelGelfLogger\Processors\NullStringProcessor::class, + // another processor... + ], + + // This optional option determines the minimum "level" a message + // must be in order to be logged by the channel. Default is 'debug' + 'level' => 'debug', + + // This optional option determines the channel name sent with the + // message in the 'facility' field. Default is equal to app.env + // configuration value + 'name' => 'v5_app', + + // This optional option determines the system name sent with the + // message in the 'source' field. When forgotten or set to null, + // the current hostname is used. + 'system_name' => null, + + // This optional option determines if you want the UDP, TCP or HTTP + // transport for the gelf log messages. Default is UDP + 'transport' => 'udp', + + // This optional option determines the host that will receive the + // gelf log messages. Default is 127.0.0.1 + 'host' => env('GRAYLOG_SERVER', '127.0.0.1'), + + // This optional option determines the port on which the gelf + // receiver host is listening. Default is 12201 + 'port' => 12201, + + // This optional option determines the path used for the HTTP + // transport. When forgotten or set to null, default path '/gelf' + // is used. + 'path' => null, + + // This optional option determines the maximum length per message + // field. When forgotten or set to null, the default value of + // \Monolog\Formatter\GelfMessageFormatter::DEFAULT_MAX_LENGTH is + // used (currently this value is 32766) + 'max_length' => null, + + // This optional option determines the prefix for 'context' fields + // from the Monolog record. Default is null (no context prefix) + 'context_prefix' => null, + + // This optional option determines the prefix for 'extra' fields + // from the Monolog record. Default is null (no extra prefix) + 'extra_prefix' => null, + ], + + ];