From a061ff91d00ecd3961eb4f2031a50722ff5c83ea Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Wed, 22 Jan 2025 12:33:15 +0000 Subject: [PATCH 1/2] These tests aren't needed anymore --- test/phpSmug/Tests/PsrComplianceTest.php | 47 ------------------------ 1 file changed, 47 deletions(-) delete mode 100644 test/phpSmug/Tests/PsrComplianceTest.php diff --git a/test/phpSmug/Tests/PsrComplianceTest.php b/test/phpSmug/Tests/PsrComplianceTest.php deleted file mode 100644 index 42aefa8..0000000 --- a/test/phpSmug/Tests/PsrComplianceTest.php +++ /dev/null @@ -1,47 +0,0 @@ -markTestSkipped( - 'Needs linter to check PSR compliance' - ); - } - - // Run linter in dry-run mode so it changes nothing. - exec( - escapeshellcmd('vendor/bin/php-cs-fixer fix --diff -v --dry-run --using-cache=no .').' 2>&1', - $output, - $return_var - ); - - /* If we've got output, pop the first row ("Fixed all files...") and shift - off the last three lines. */ - if ($output) { - array_pop($output); - array_shift($output); - array_shift($output); - array_shift($output); - } - - // Check shell return code: if nonzero, report the output as a failure. - $this->assertEquals( - 0, - $return_var, - "PSR linter reported errors in: \n\t".implode("\n\t", $output) - ); - } -} From a5b4dfd89c3c78f8bfbb358cc5d819d739a17a15 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Wed, 22 Jan 2025 12:34:03 +0000 Subject: [PATCH 2/2] Bump guzzlehttp/oauth-subscriber --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 9cf991e..6b50a35 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "php": ">=8.1.0", "guzzlehttp/guzzle": ">7.5", - "guzzlehttp/oauth-subscriber": "0.6.*" + "guzzlehttp/oauth-subscriber": "0.8.*" }, "require-dev": { "phpunit/phpunit": ">9.0"