From b34631ae28bb6162b185141e8fae81a89aaad6db Mon Sep 17 00:00:00 2001 From: Dan Alvidrez Date: Mon, 27 Mar 2023 15:41:27 -0700 Subject: [PATCH 1/2] Laravel 10.x Compatibility Declares Laravel 10.x Compatibility --- .phpunit.cache/test-results | 1 + clover.xml | 57 ------------------------------------- composer.json | 12 ++++---- phpunit.xml | 56 ++++++++++++++++-------------------- 4 files changed, 31 insertions(+), 95 deletions(-) create mode 100644 .phpunit.cache/test-results delete mode 100644 clover.xml diff --git a/.phpunit.cache/test-results b/.phpunit.cache/test-results new file mode 100644 index 0000000..bf0675d --- /dev/null +++ b/.phpunit.cache/test-results @@ -0,0 +1 @@ +{"version":1,"defects":[],"times":{"BayAreaWebPro\\DomPipeline\\Tests\\Unit\\DefaultTest::test_can_pipe_dom_and_only_return_body_children":0.013,"BayAreaWebPro\\DomPipeline\\Tests\\Unit\\DefaultTest::test_can_pipe_null":0,"BayAreaWebPro\\DomPipeline\\Tests\\Unit\\ProviderTest::test_provider_is_registered":0,"BayAreaWebPro\\DomPipeline\\Tests\\Unit\\ProviderTest::test_container_can_resolve_instance":0,"BayAreaWebPro\\DomPipeline\\Tests\\Unit\\ProviderTest::test_facade_can_resolve_instance":0,"BayAreaWebPro\\DomPipeline\\Tests\\Unit\\ProviderTest::test_service_can_be_resolved":0,"BayAreaWebPro\\DomPipeline\\Tests\\Unit\\ProviderTest::test_declares_provided":0}} \ No newline at end of file diff --git a/clover.xml b/clover.xml deleted file mode 100644 index 4f7846d..0000000 --- a/clover.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/composer.json b/composer.json index a7cc46d..313d439 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "authors": [ { "name": "Dan Alvidrez", - "email": "dan@bayareawebpro.com", + "email": "dan.bayareawebpro@gmail.com", "role": "Developer" } ], @@ -19,13 +19,13 @@ "php": "^7.4|^8.0", "ext-dom": "*", "ext-libxml": "*", - "illuminate/pipeline": "^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0" + "illuminate/pipeline": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { - "phpunit/phpunit": "^7.0|^8.0|^9.0", - "orchestra/testbench": "^5.0|^6.0|^7.0", - "nunomaduro/larastan": "^0.6|^1.0" + "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0", + "orchestra/testbench": "^5.0|^6.0|^7.0|^8.0", + "nunomaduro/larastan": "^0.6|^1.0|^2.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml b/phpunit.xml index 85fc8db..376f4f9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,34 +1,26 @@ - - - - ./tests/Unit - - - - - src/ - - - - - - - - - - - - - - + + + + src/ + + + + + + + + ./tests/Unit + + + + + + + + + + + + From 2530b9a5195d0f0b2c93663b2c1801d9c8d2164b Mon Sep 17 00:00:00 2001 From: Dan Alvidrez Date: Mon, 27 Mar 2023 15:51:03 -0700 Subject: [PATCH 2/2] wip --- .github/workflows/ci.yaml | 2 ++ .gitignore | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3104949..43753ec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,6 @@ name: ci +env: + XDEBUG_MODE: 'coverage' on: push: branches: diff --git a/.gitignore b/.gitignore index e18303b..181e4b2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ docs vendor coverage .phpunit.result.cache +.phpunit.cache/test-results