From 7b001be46dcd614f585e82e504848005a0ac0944 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 04:58:05 +0000 Subject: [PATCH 1/7] Bump dependencies for Laravel 11 --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 633ecf6..c5f4108 100644 --- a/composer.json +++ b/composer.json @@ -17,14 +17,14 @@ ], "require": { "php": ">=7.2.5", - "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0", - "symfony/var-dumper": "^5.0|^6.0" + "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "symfony/var-dumper": "^5.0|^6.0|^7.0" }, "require-dev": { "larapack/dd": "^1.0", - "phpunit/phpunit": "^7.0|^9.3" + "phpunit/phpunit": "^7.0|^9.3|^10.5" }, "autoload": { "psr-4": { From 858bd1df07f8516ce3b820b18e4bc8c28e2b1bb7 Mon Sep 17 00:00:00 2001 From: Di Date: Tue, 23 Apr 2024 14:01:13 +0200 Subject: [PATCH 2/7] Updated dependencies --- .gitignore | 1 + README.md | 13 ++++++++++--- composer.json | 3 +++ phpunit.xml.dist | 13 +------------ 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index e446ed0..9948f05 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ composer.lock vendor coverage .idea +.phpunit.result.cache \ No newline at end of file diff --git a/README.md b/README.md index c8bc56c..6b800aa 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,17 @@ composer require --dev beyondcode/laravel-dump-server You can find the documentation on the [Beyond Code website](https://beyondco.de/docs/laravel-dump-server/installation). -### Changelog +## Looking for `dump` on steroids? Check out Laravel Herd! +Herd logo -Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. + +Herd Pro gives you a powerful interface to help you watch and collect your debug information. + +All of your application's `dump()` and `dd()` calls will be beautifully formatted and can be filtered from Herd's separate Dump window. + +Just keep using `dump()` as usual – Herd will take care of the rest. + +[herd.laravel.com](https://herd.laravel.com) ## Contributing @@ -40,4 +48,3 @@ If you discover any security related issues, please email marcel@beyondco.de ins ## License The MIT License (MIT). Please see [License File](LICENSE.md) for more information. - diff --git a/composer.json b/composer.json index c5f4108..1fde0ac 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,9 @@ "role": "Developer" } ], + "conflict": { + "spatie/laravel-ray": "*" + }, "require": { "php": ">=7.2.5", "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 1eef57c..a3dba0c 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -14,16 +14,5 @@ tests - - - src/ - - - - - - - - - + From 9b5435c5bf2258e06fb0b1b661d91afd318f00cb Mon Sep 17 00:00:00 2001 From: Di Date: Tue, 23 Apr 2024 14:01:48 +0200 Subject: [PATCH 3/7] Update readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 6b800aa..2aa5238 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Laravel Dump Server [![Latest Version on Packagist](https://img.shields.io/packagist/v/beyondcode/laravel-dump-server.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-dump-server) -[![Quality Score](https://img.shields.io/scrutinizer/g/beyondcode/laravel-dump-server.svg?style=flat-square)](https://scrutinizer-ci.com/g/beyondcode/laravel-dump-server) [![Total Downloads](https://img.shields.io/packagist/dt/beyondcode/laravel-dump-server.svg?style=flat-square)](https://packagist.org/packages/beyondcode/laravel-dump-server) Bringing the [Symfony Var-Dump Server](https://symfony.com/doc/current/components/var_dumper.html#the-dump-server) to Laravel. From e0dff1b2c7caf49d07ca5cb331fc7c5f1e52c715 Mon Sep 17 00:00:00 2001 From: Di Date: Tue, 23 Apr 2024 14:02:38 +0200 Subject: [PATCH 4/7] Remove unused configuration files --- .scrutinizer.yml | 19 ------------------- .styleci.yml | 4 ---- .travis.yml | 24 ------------------------ 3 files changed, 47 deletions(-) delete mode 100644 .scrutinizer.yml delete mode 100644 .styleci.yml delete mode 100644 .travis.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index df16b68..0000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,19 +0,0 @@ -filter: - excluded_paths: [tests/*] - -checks: - php: - remove_extra_empty_lines: true - remove_php_closing_tag: true - remove_trailing_whitespace: true - fix_use_statements: - remove_unused: true - preserve_multiple: false - preserve_blanklines: true - order_alphabetically: true - fix_php_opening_tag: true - fix_linefeed: true - fix_line_ending: true - fix_identation_4spaces: true - fix_doc_comments: true - diff --git a/.styleci.yml b/.styleci.yml deleted file mode 100644 index f4d3cbc..0000000 --- a/.styleci.yml +++ /dev/null @@ -1,4 +0,0 @@ -preset: laravel - -disabled: - - single_class_element_per_statement diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c193af9..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: php - -php: - - 7.2 - - 7.3 - - 7.4 - - 8.0 - - nightly - -env: - matrix: - - COMPOSER_FLAGS="--prefer-lowest" - - COMPOSER_FLAGS="" - -before_script: - - phpenv config-rm xdebug.ini - - travis_retry composer self-update - - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source - -script: - - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover - -after_script: - - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover From a4735d4204d39cee01b00c18eeef74092f656178 Mon Sep 17 00:00:00 2001 From: Jeppe Knockaert Date: Wed, 27 Nov 2024 11:05:50 +0100 Subject: [PATCH 5/7] Replace implicitly nullable parameters for PHP 8.4 --- src/Dumper.php | 2 +- src/RequestContextProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dumper.php b/src/Dumper.php index 4e6ab7b..5e6dfeb 100755 --- a/src/Dumper.php +++ b/src/Dumper.php @@ -22,7 +22,7 @@ class Dumper * @param \Symfony\Component\VarDumper\Server\Connection|null $connection * @return void */ - public function __construct(Connection $connection = null) + public function __construct(?Connection $connection = null) { $this->connection = $connection; } diff --git a/src/RequestContextProvider.php b/src/RequestContextProvider.php index 115a72a..dc165f8 100644 --- a/src/RequestContextProvider.php +++ b/src/RequestContextProvider.php @@ -28,7 +28,7 @@ class RequestContextProvider implements ContextProviderInterface * @param \Illuminate\Http\Request|null $currentRequest * @return void */ - public function __construct(Request $currentRequest = null) + public function __construct(?Request $currentRequest = null) { $this->currentRequest = $currentRequest; $this->cloner = new VarCloner; From 7fb9a4fe9a631e9a6dacee918fd4d3bd1da922fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Tue, 11 Feb 2025 18:29:19 +0900 Subject: [PATCH 6/7] Support Laravel 12 --- composer.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 1fde0ac..2ae9a98 100644 --- a/composer.json +++ b/composer.json @@ -20,9 +20,9 @@ }, "require": { "php": ">=7.2.5", - "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", - "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/console": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/http": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", + "illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0", "symfony/var-dumper": "^5.0|^6.0|^7.0" }, "require-dev": { @@ -49,6 +49,8 @@ "config": { "sort-packages": true }, + "minimum-stability": "dev", + "prefer-stable": true, "extra": { "laravel": { "providers": [ From 1db988f2b0b4d7fb447a8edeb854aa675114e63e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Mon, 24 Feb 2025 23:03:32 +0900 Subject: [PATCH 7/7] revert `minimum-stability` setting --- composer.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/composer.json b/composer.json index 2ae9a98..d9351d2 100644 --- a/composer.json +++ b/composer.json @@ -49,8 +49,6 @@ "config": { "sort-packages": true }, - "minimum-stability": "dev", - "prefer-stable": true, "extra": { "laravel": { "providers": [