From 4049c59fd0046c1afe97ca870841893f11f554dd Mon Sep 17 00:00:00 2001 From: Davide Prevosto Date: Wed, 15 May 2024 09:59:34 +0200 Subject: [PATCH] feat: remove support for Laravel 8 and Laravel 9 --- .../0a5c6dd83372c9eec07a5c599fb5650a | 1 + .../1b27e62f90089fcf4ef2f7259f1e4f3e | 1 + .../6fb24b26ad7c4ca341f30188b8c0ae0b | 1 + .../cffb175d0d451e4bcf85c9d76c03394d | 1 + .phpunit.cache/test-results | 1 + README.md | 2 - composer.json | 22 +++---- phpunit.xml.dist | 58 +++++++------------ phpunit.xml.dist.bak | 39 +++++++++++++ 9 files changed, 76 insertions(+), 50 deletions(-) create mode 100644 .phpunit.cache/code-coverage/0a5c6dd83372c9eec07a5c599fb5650a create mode 100644 .phpunit.cache/code-coverage/1b27e62f90089fcf4ef2f7259f1e4f3e create mode 100644 .phpunit.cache/code-coverage/6fb24b26ad7c4ca341f30188b8c0ae0b create mode 100644 .phpunit.cache/code-coverage/cffb175d0d451e4bcf85c9d76c03394d create mode 100644 .phpunit.cache/test-results create mode 100644 phpunit.xml.dist.bak diff --git a/.phpunit.cache/code-coverage/0a5c6dd83372c9eec07a5c599fb5650a b/.phpunit.cache/code-coverage/0a5c6dd83372c9eec07a5c599fb5650a new file mode 100644 index 0000000..26c6d8d --- /dev/null +++ b/.phpunit.cache/code-coverage/0a5c6dd83372c9eec07a5c599fb5650a @@ -0,0 +1 @@ +a:6:{s:9:"classesIn";a:1:{s:52:"Encodia\SomethingWrong\SomethingWrongServiceProvider";a:6:{s:4:"name";s:29:"SomethingWrongServiceProvider";s:14:"namespacedName";s:52:"Encodia\SomethingWrong\SomethingWrongServiceProvider";s:9:"namespace";s:22:"Encodia\SomethingWrong";s:9:"startLine";i:8;s:7:"endLine";i:23;s:7:"methods";a:1:{s:16:"configurePackage";a:6:{s:10:"methodName";s:16:"configurePackage";s:9:"signature";s:67:"configurePackage(Spatie\LaravelPackageTools\Package $package): void";s:10:"visibility";s:6:"public";s:9:"startLine";i:10;s:7:"endLine";i:22;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:24;s:18:"commentLinesOfCode";i:5;s:21:"nonCommentLinesOfCode";i:19;}s:15:"ignoredLinesFor";a:1:{i:0;i:8;}s:17:"executableLinesIn";a:4:{i:17;i:1;i:18;i:1;i:19;i:1;i:21;i:2;}} \ No newline at end of file diff --git a/.phpunit.cache/code-coverage/1b27e62f90089fcf4ef2f7259f1e4f3e b/.phpunit.cache/code-coverage/1b27e62f90089fcf4ef2f7259f1e4f3e new file mode 100644 index 0000000..7365460 --- /dev/null +++ b/.phpunit.cache/code-coverage/1b27e62f90089fcf4ef2f7259f1e4f3e @@ -0,0 +1 @@ +a:6:{s:9:"classesIn";a:1:{s:45:"Encodia\SomethingWrong\Facades\SomethingWrong";a:6:{s:4:"name";s:14:"SomethingWrong";s:14:"namespacedName";s:45:"Encodia\SomethingWrong\Facades\SomethingWrong";s:9:"namespace";s:30:"Encodia\SomethingWrong\Facades";s:9:"startLine";i:10;s:7:"endLine";i:16;s:7:"methods";a:1:{s:17:"getFacadeAccessor";a:6:{s:10:"methodName";s:17:"getFacadeAccessor";s:9:"signature";s:19:"getFacadeAccessor()";s:10:"visibility";s:9:"protected";s:9:"startLine";i:12;s:7:"endLine";i:15;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:17;s:18:"commentLinesOfCode";i:3;s:21:"nonCommentLinesOfCode";i:14;}s:15:"ignoredLinesFor";a:1:{i:0;i:10;}s:17:"executableLinesIn";a:1:{i:14;i:1;}} \ No newline at end of file diff --git a/.phpunit.cache/code-coverage/6fb24b26ad7c4ca341f30188b8c0ae0b b/.phpunit.cache/code-coverage/6fb24b26ad7c4ca341f30188b8c0ae0b new file mode 100644 index 0000000..6952780 --- /dev/null +++ b/.phpunit.cache/code-coverage/6fb24b26ad7c4ca341f30188b8c0ae0b @@ -0,0 +1 @@ +a:6:{s:9:"classesIn";a:1:{s:37:"Encodia\SomethingWrong\SomethingWrong";a:6:{s:4:"name";s:14:"SomethingWrong";s:14:"namespacedName";s:37:"Encodia\SomethingWrong\SomethingWrong";s:9:"namespace";s:22:"Encodia\SomethingWrong";s:9:"startLine";i:8;s:7:"endLine";i:26;s:7:"methods";a:3:{s:11:"__construct";a:6:{s:10:"methodName";s:11:"__construct";s:9:"signature";s:61:"__construct(Encodia\SomethingWrong\Channels\Bugsnag $bugsnag)";s:10:"visibility";s:6:"public";s:9:"startLine";i:12;s:7:"endLine";i:15;s:3:"ccn";i:1;}s:9:"exception";a:6:{s:10:"methodName";s:9:"exception";s:9:"signature";s:50:"exception(Exception $exception, array $meta): void";s:10:"visibility";s:6:"public";s:9:"startLine";i:17;s:7:"endLine";i:20;s:3:"ccn";i:1;}s:6:"notify";a:6:{s:10:"methodName";s:6:"notify";s:9:"signature";s:42:"notify(Exception $what, array $meta): void";s:10:"visibility";s:9:"protected";s:9:"startLine";i:22;s:7:"endLine";i:25;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:27;s:18:"commentLinesOfCode";i:0;s:21:"nonCommentLinesOfCode";i:27;}s:15:"ignoredLinesFor";a:1:{i:0;i:8;}s:17:"executableLinesIn";a:3:{i:14;i:2;i:19;i:4;i:24;i:6;}} \ No newline at end of file diff --git a/.phpunit.cache/code-coverage/cffb175d0d451e4bcf85c9d76c03394d b/.phpunit.cache/code-coverage/cffb175d0d451e4bcf85c9d76c03394d new file mode 100644 index 0000000..8c73567 --- /dev/null +++ b/.phpunit.cache/code-coverage/cffb175d0d451e4bcf85c9d76c03394d @@ -0,0 +1 @@ +a:6:{s:9:"classesIn";a:1:{s:39:"Encodia\SomethingWrong\Channels\Bugsnag";a:6:{s:4:"name";s:7:"Bugsnag";s:14:"namespacedName";s:39:"Encodia\SomethingWrong\Channels\Bugsnag";s:9:"namespace";s:31:"Encodia\SomethingWrong\Channels";s:9:"startLine";i:8;s:7:"endLine";i:19;s:7:"methods";a:1:{s:9:"exception";a:6:{s:10:"methodName";s:9:"exception";s:9:"signature";s:50:"exception(Exception $exception, array $meta): void";s:10:"visibility";s:6:"public";s:9:"startLine";i:10;s:7:"endLine";i:18;s:3:"ccn";i:1;}}}}s:8:"traitsIn";a:0:{}s:11:"functionsIn";a:0:{}s:14:"linesOfCodeFor";a:3:{s:11:"linesOfCode";i:20;s:18:"commentLinesOfCode";i:1;s:21:"nonCommentLinesOfCode";i:19;}s:15:"ignoredLinesFor";a:1:{i:0;i:8;}s:17:"executableLinesIn";a:4:{i:12;i:2;i:15;i:2;i:14;i:3;i:17;i:4;}} \ No newline at end of file diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..8f6e017 --- /dev/null +++ b/.phpunit.cache/test-results @@ -0,0 +1 @@ +{"version":"pest_2.34.7","defects":[],"times":{"P\\Tests\\ExceptionTest::__pest_evaluable_it_can_notify_an_exception_without_meta":0.067,"P\\Tests\\ExceptionTest::__pest_evaluable_it_can_be_accessed_via_its_facade":0.005,"P\\Tests\\ExceptionTest::__pest_evaluable_it_can_notify_an_exception_with_meta":0.003}} \ No newline at end of file diff --git a/README.md b/README.md index 8ef313b..df7a2d7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[](https://supportukrainenow.org) - # Something wrong [![Latest Version on Packagist](https://img.shields.io/packagist/v/encodia/laravel-something-wrong.svg?style=flat-square)](https://packagist.org/packages/encodia/laravel-something-wrong) diff --git a/composer.json b/composer.json index ba734e3..f70657f 100644 --- a/composer.json +++ b/composer.json @@ -19,22 +19,22 @@ } ], "require": { - "php": "^8.0", + "php": "^8.2", "bugsnag/bugsnag-laravel": "^2.26", - "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/contracts": "^10.0|^11.0", "spatie/laravel-package-tools": "^1.9.2" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", - "nunomaduro/collision": "^6.0", - "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5" + "larastan/larastan": "^2.9", + "nunomaduro/collision": "^7.0|^8.0", + "orchestra/testbench": "^8.0|^9.0", + "pestphp/pest": "^2.0", + "pestphp/pest-plugin-laravel": "^2.4", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan-deprecation-rules": "^1.2", + "phpstan/phpstan-phpunit": "^1.4", + "phpunit/phpunit": "^9.0|^10.5" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index fb54f4d..a4b9f92 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,23 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + + + + + + + + ./src + + diff --git a/phpunit.xml.dist.bak b/phpunit.xml.dist.bak new file mode 100644 index 0000000..fb54f4d --- /dev/null +++ b/phpunit.xml.dist.bak @@ -0,0 +1,39 @@ + + + + + tests + + + + + ./src + + + + + + + + + + +