A free open source IT asset/license management system
Bump laravel-backup to v9
Marcus Mooreadfad90f7c61
diff --git a/composer.json b/composer.jsonindex 3ed6add6fc..5e2a15b111 100644--- a/composer.json+++ b/composer.json@@ -63,7 +63,7 @@"phpspec/prophecy": "^1.10","pragmarx/google2fa-laravel": "^1.3","rollbar/rollbar-laravel": "^8.0",- "spatie/laravel-backup": "^8.8",+ "spatie/laravel-backup": "^9.0","spatie/laravel-ignition": "^2.0","tabuna/breadcrumbs": "^4.2","tecnickcom/tc-lib-barcode": "^1.15",diff --git a/composer.lock b/composer.lockindex 1fa0ac32fb..8a0c85f7de 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": "1096639c9c93eeeb9b3da49e07f7a0de",+ "content-hash": "d6c8a5462fad5fcd9cf5a45b9e787ee8","packages": [{"name": "alek13/slack",@@ -7664,21 +7664,21 @@},{"name": "spatie/db-dumper",- "version": "3.8.0",+ "version": "3.8.3","source": {"type": "git","url": "https://github.com/spatie/db-dumper.git",- "reference": "91e1fd4dc000aefc9753cda2da37069fc996baee"+ "reference": "eac3221fbe27fac51f388600d27b67b1b079406e"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/db-dumper/zipball/91e1fd4dc000aefc9753cda2da37069fc996baee",- "reference": "91e1fd4dc000aefc9753cda2da37069fc996baee",+ "url": "https://api.github.com/repos/spatie/db-dumper/zipball/eac3221fbe27fac51f388600d27b67b1b079406e",+ "reference": "eac3221fbe27fac51f388600d27b67b1b079406e","shasum": ""},"require": {"php": "^8.0",- "symfony/process": "^5.0|^6.0|^7.0"+ "symfony/process": "^5.0|^6.0|^7.0|^8.0"},"require-dev": {"pestphp/pest": "^1.22"@@ -7711,7 +7711,7 @@"spatie"],"support": {- "source": "https://github.com/spatie/db-dumper/tree/3.8.0"+ "source": "https://github.com/spatie/db-dumper/tree/3.8.3"},"funding": [{@@ -7723,7 +7723,7 @@"type": "github"}],- "time": "2025-02-14T15:04:22+00:00"+ "time": "2026-01-05T16:26:03+00:00"},{"name": "spatie/error-solutions",@@ -7953,29 +7953,29 @@},{"name": "spatie/laravel-backup",- "version": "8.8.2",+ "version": "9.3.6","source": {"type": "git","url": "https://github.com/spatie/laravel-backup.git",- "reference": "5b672713283703a74c629ccd67b1d77eb57e24b9"+ "reference": "d378a07b580aa8bf440b50decdbab7b5d6f63c46"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/5b672713283703a74c629ccd67b1d77eb57e24b9",- "reference": "5b672713283703a74c629ccd67b1d77eb57e24b9",+ "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/d378a07b580aa8bf440b50decdbab7b5d6f63c46",+ "reference": "d378a07b580aa8bf440b50decdbab7b5d6f63c46","shasum": ""},"require": {"ext-zip": "^1.14.0",- "illuminate/console": "^10.10.0|^11.0",- "illuminate/contracts": "^10.10.0|^11.0",- "illuminate/events": "^10.10.0|^11.0",- "illuminate/filesystem": "^10.10.0|^11.0",- "illuminate/notifications": "^10.10.0|^11.0",- "illuminate/support": "^10.10.0|^11.0",+ "illuminate/console": "^10.10.0|^11.0|^12.0",+ "illuminate/contracts": "^10.10.0|^11.0|^12.0",+ "illuminate/events": "^10.10.0|^11.0|^12.0",+ "illuminate/filesystem": "^10.10.0|^11.0|^12.0",+ "illuminate/notifications": "^10.10.0|^11.0|^12.0",+ "illuminate/support": "^10.10.0|^11.0|^12.0","league/flysystem": "^3.0",- "php": "^8.1",- "spatie/db-dumper": "^3.0",+ "php": "^8.2",+ "spatie/db-dumper": "^3.8","spatie/laravel-package-tools": "^1.6.2","spatie/laravel-signal-aware-command": "^1.2|^2.0","spatie/temporary-directory": "^2.0",@@ -7985,15 +7985,16 @@"require-dev": {"composer-runtime-api": "^2.0","ext-pcntl": "*",- "larastan/larastan": "^2.7.0",+ "larastan/larastan": "^2.7.0|^3.0","laravel/slack-notification-channel": "^2.5|^3.0","league/flysystem-aws-s3-v3": "^2.0|^3.0","mockery/mockery": "^1.4",- "orchestra/testbench": "^8.0|^9.0",- "pestphp/pest": "^1.20|^2.0",+ "orchestra/testbench": "^8.0|^9.0|^10.0",+ "pestphp/pest": "^1.20|^2.0|^3.0|^4.0","phpstan/extension-installer": "^1.1","phpstan/phpstan-deprecation-rules": "^1.0",- "phpstan/phpstan-phpunit": "^1.1"+ "phpstan/phpstan-phpunit": "^1.1",+ "rector/rector": "^1.1"},"suggest": {"laravel/slack-notification-channel": "Required for sending notifications via Slack"@@ -8036,7 +8037,7 @@],"support": {"issues": "https://github.com/spatie/laravel-backup/issues",- "source": "https://github.com/spatie/laravel-backup/tree/8.8.2"+ "source": "https://github.com/spatie/laravel-backup/tree/9.3.6"},"funding": [{@@ -8048,7 +8049,7 @@"type": "other"}],- "time": "2024-08-07T11:07:52+00:00"+ "time": "2025-11-05T11:25:01+00:00"},{"name": "spatie/laravel-ignition",@@ -8143,29 +8144,29 @@},{"name": "spatie/laravel-package-tools",- "version": "1.92.7",+ "version": "1.93.0","source": {"type": "git","url": "https://github.com/spatie/laravel-package-tools.git",- "reference": "f09a799850b1ed765103a4f0b4355006360c49a5"+ "reference": "0d097bce95b2bf6802fb1d83e1e753b0f5a948e7"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/f09a799850b1ed765103a4f0b4355006360c49a5",- "reference": "f09a799850b1ed765103a4f0b4355006360c49a5",+ "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/0d097bce95b2bf6802fb1d83e1e753b0f5a948e7",+ "reference": "0d097bce95b2bf6802fb1d83e1e753b0f5a948e7","shasum": ""},"require": {- "illuminate/contracts": "^9.28|^10.0|^11.0|^12.0",- "php": "^8.0"+ "illuminate/contracts": "^10.0|^11.0|^12.0|^13.0",+ "php": "^8.1"},"require-dev": {"mockery/mockery": "^1.5",- "orchestra/testbench": "^7.7|^8.0|^9.0|^10.0",- "pestphp/pest": "^1.23|^2.1|^3.1",- "phpunit/php-code-coverage": "^9.0|^10.0|^11.0",- "phpunit/phpunit": "^9.5.24|^10.5|^11.5",- "spatie/pest-plugin-test-time": "^1.1|^2.2"+ "orchestra/testbench": "^8.0|^9.2|^10.0|^11.0",+ "pestphp/pest": "^2.1|^3.1|^4.0",+ "phpunit/php-code-coverage": "^10.0|^11.0|^12.0",+ "phpunit/phpunit": "^10.5|^11.5|^12.5",+ "spatie/pest-plugin-test-time": "^2.2|^3.0"},"type": "library","autoload": {@@ -8192,7 +8193,7 @@],"support": {"issues": "https://github.com/spatie/laravel-package-tools/issues",- "source": "https://github.com/spatie/laravel-package-tools/tree/1.92.7"+ "source": "https://github.com/spatie/laravel-package-tools/tree/1.93.0"},"funding": [{@@ -8200,27 +8201,27 @@"type": "github"}],- "time": "2025-07-17T15:46:43+00:00"+ "time": "2026-02-21T12:49:54+00:00"},{"name": "spatie/laravel-signal-aware-command",- "version": "2.1.0",+ "version": "2.1.2","source": {"type": "git","url": "https://github.com/spatie/laravel-signal-aware-command.git",- "reference": "8e8a226ed7fb45302294878ef339e75ffa9a878d"+ "reference": "54dcc1efd152bfb3eb0faf56a5fc28569b864b5d"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/laravel-signal-aware-command/zipball/8e8a226ed7fb45302294878ef339e75ffa9a878d",- "reference": "8e8a226ed7fb45302294878ef339e75ffa9a878d",+ "url": "https://api.github.com/repos/spatie/laravel-signal-aware-command/zipball/54dcc1efd152bfb3eb0faf56a5fc28569b864b5d",+ "reference": "54dcc1efd152bfb3eb0faf56a5fc28569b864b5d","shasum": ""},"require": {- "illuminate/contracts": "^11.0|^12.0",+ "illuminate/contracts": "^11.0|^12.0|^13.0","php": "^8.2","spatie/laravel-package-tools": "^1.4.3",- "symfony/console": "^7.0"+ "symfony/console": "^7.0|^8.0"},"require-dev": {"brianium/paratest": "^6.2|^7.0",@@ -8267,7 +8268,7 @@],"support": {"issues": "https://github.com/spatie/laravel-signal-aware-command/issues",- "source": "https://github.com/spatie/laravel-signal-aware-command/tree/2.1.0"+ "source": "https://github.com/spatie/laravel-signal-aware-command/tree/2.1.2"},"funding": [{@@ -8275,20 +8276,20 @@"type": "github"}],- "time": "2025-02-14T09:55:51+00:00"+ "time": "2026-02-22T08:16:31+00:00"},{"name": "spatie/temporary-directory",- "version": "2.3.0",+ "version": "2.3.1","source": {"type": "git","url": "https://github.com/spatie/temporary-directory.git",- "reference": "580eddfe9a0a41a902cac6eeb8f066b42e65a32b"+ "reference": "662e481d6ec07ef29fd05010433428851a42cd07"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/580eddfe9a0a41a902cac6eeb8f066b42e65a32b",- "reference": "580eddfe9a0a41a902cac6eeb8f066b42e65a32b",+ "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/662e481d6ec07ef29fd05010433428851a42cd07",+ "reference": "662e481d6ec07ef29fd05010433428851a42cd07","shasum": ""},"require": {@@ -8324,7 +8325,7 @@],"support": {"issues": "https://github.com/spatie/temporary-directory/issues",- "source": "https://github.com/spatie/temporary-directory/tree/2.3.0"+ "source": "https://github.com/spatie/temporary-directory/tree/2.3.1"},"funding": [{@@ -8336,7 +8337,7 @@"type": "github"}],- "time": "2025-01-13T13:04:43+00:00"+ "time": "2026-01-12T07:42:22+00:00"},{"name": "symfony/clock",diff --git a/config/backup.php b/config/backup.phpindex a2f0f24363..aed5c7fac2 100644--- a/config/backup.php+++ b/config/backup.php@@ -119,7 +119,6 @@ return ['temporary_directory' => storage_path('app/backup-temp'),// 'encryption' => \ZipArchive::EM_AES_256,- 'encryption' => null,],/*@@ -147,7 +146,11 @@ return ['notifiable' => Notifiable::class,'mail' => [- 'to' => env('MAIL_BACKUP_NOTIFICATION_ADDRESS', null),+ // it might seem weird to set an address here, but laravel-backup will crash+ // after running "composer install" without a valid email address here. It+ // _shouldn't_ matter, since if you don't set MAIL_BACKUP_NOTIFICATION_DRIVER+ // then no emails will be sent at all (each notification is assigned to 'null')+ 'to' => env('MAIL_BACKUP_NOTIFICATION_ADDRESS') ?? '[email protected]','from' => ['address' => env('MAIL_FROM_ADDR', '[email protected]'),diff --git a/tests/Unit/SnipeTranslatorTest.php b/tests/Unit/SnipeTranslatorTest.phpindex 439e08b29c..5d9817c50b 100644--- a/tests/Unit/SnipeTranslatorTest.php+++ b/tests/Unit/SnipeTranslatorTest.php@@ -88,7 +88,7 @@ class SnipeTranslatorTest extends TestCase// Spatie backup *usually* uses two-character locales, but pt-BR is an exception$this->assertEquals('Mensagem de exceção: MESSAGE',- trans('backup::notifications.exception_message',['message' => 'MESSAGE'],'pt-BR')+ trans('backup::notifications.exception_message', ['message' => 'MESSAGE'], 'pt_BR'));}}