From 7d13ecc4a12a9678eeff6577d0f6cfee9fb5531d Mon Sep 17 00:00:00 2001 From: samyak Date: Sun, 19 Mar 2023 09:52:31 +0545 Subject: [PATCH 1/4] test --- src/Waveapps.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Waveapps.php b/src/Waveapps.php index d651eb8..172822f 100644 --- a/src/Waveapps.php +++ b/src/Waveapps.php @@ -26,6 +26,7 @@ class Waveapps public function __construct($client = null, $graphqlUrl = null, $token = null, $businessId = null, array $config = []) { + dd($config); $this->config = $config; $this->token = ($token ? $token : $config['access_token']); From ff2e58e555e3962cfbc746fad72080c89d34aa01 Mon Sep 17 00:00:00 2001 From: samyak Date: Wed, 5 Aug 2026 05:56:11 +0545 Subject: [PATCH 2/4] guzzle http version upgraded --- .phpunit.result.cache | 1 + composer.json | 2 +- src/Waveapps.php | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .phpunit.result.cache diff --git a/.phpunit.result.cache b/.phpunit.result.cache new file mode 100644 index 0000000..293b3e0 --- /dev/null +++ b/.phpunit.result.cache @@ -0,0 +1 @@ +{"version":1,"defects":{"WaveappsTest::it_returns_business_customers":4},"times":{"WaveappsTest::it_returns_logged_in_user":0.008,"WaveappsTest::it_returns_all_countries":0,"WaveappsTest::it_returns_one_country":0,"WaveappsTest::it_returns_all_businesses":0,"WaveappsTest::it_returns_one_business":0,"WaveappsTest::it_returns_all_currencies":0,"WaveappsTest::it_returns_one_currencies":0,"WaveappsTest::it_returns_account_types":0,"WaveappsTest::it_returns_account_subtypes":0,"WaveappsTest::it_returns_if_customer_exists":0,"WaveappsTest::it_returns_customers":0,"WaveappsTest::it_returns_all_products":0,"WaveappsTest::it_returns_business_accounts":0,"WaveappsTest::it_returns_business_accounts_filtered":0,"WaveappsTest::it_returns_business_customers":0,"WaveappsTest::it_returns_business_customer_filtered":0,"WaveappsTest::it_returns_business_invoices":0,"WaveappsTest::it_returns_business_invoice_filtered":0,"WaveappsTest::it_returns_business_products":0,"WaveappsTest::it_returns_business_product_filtered":0,"WaveappsTest::it_returns_business_with_all_related_entities":0}} \ No newline at end of file diff --git a/composer.json b/composer.json index 7348e3e..659e103 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } }, "require": { - "guzzlehttp/guzzle": "^7.0.1" + "guzzlehttp/guzzle": "^7.15.2" }, "require-dev": { "phpunit/phpunit": "^9.1", diff --git a/src/Waveapps.php b/src/Waveapps.php index 172822f..d651eb8 100644 --- a/src/Waveapps.php +++ b/src/Waveapps.php @@ -26,7 +26,6 @@ class Waveapps public function __construct($client = null, $graphqlUrl = null, $token = null, $businessId = null, array $config = []) { - dd($config); $this->config = $config; $this->token = ($token ? $token : $config['access_token']); From fdb8eec9abc3a09bdbe2560240bd7e07e2dd42ed Mon Sep 17 00:00:00 2001 From: samyak Date: Wed, 5 Aug 2026 06:00:02 +0545 Subject: [PATCH 3/4] actions/cache version upgraded --- .github/workflows/test_runner.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_runner.yml b/.github/workflows/test_runner.yml index bfd067e..591ee3e 100644 --- a/.github/workflows/test_runner.yml +++ b/.github/workflows/test_runner.yml @@ -8,14 +8,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} @@ -30,4 +30,4 @@ jobs: # Docs: https://getcomposer.org/doc/articles/scripts.md # - name: Run test suite - # run: composer run-script test \ No newline at end of file + # run: composer run-script test From 6e5a77f426c17adae87b74d5f10a9f66711fd0bd Mon Sep 17 00:00:00 2001 From: samyak Date: Wed, 5 Aug 2026 06:12:59 +0545 Subject: [PATCH 4/4] insecure flag added --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index 659e103..af3437c 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,11 @@ "phpunit/phpunit": "^9.1", "orchestra/testbench": "^6.0@dev" }, + "config": { + "audit": { + "block-insecure": false + } + }, "extra": { "laravel": { "providers": [