From 974a42677304621f0af43ae1a69857b9ddaa27c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 22:35:37 +0000 Subject: [PATCH 1/2] Bump the all-actions group with 1 update Bumps the all-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `codecov/codecov-action` from 3 to 4 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index af8ebb4..fed8eac 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -277,7 +277,7 @@ jobs: path: ${{ github.workspace }}/build - name: Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true From 8b3cce1b775ce459bb4a03e5fa26e9454f3e603e Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 13 Feb 2024 23:57:08 +0100 Subject: [PATCH 2/2] Remove unnecessary use-statements --- src/Auth/Process/OTP.php | 2 -- src/Controller/OTP.php | 2 -- tests/src/Controller/OTPTest.php | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/Auth/Process/OTP.php b/src/Auth/Process/OTP.php index e127889..f43c7e3 100644 --- a/src/Auth/Process/OTP.php +++ b/src/Auth/Process/OTP.php @@ -12,13 +12,11 @@ namespace SimpleSAML\Module\cmdotcom\Auth\Process; -use RuntimeException; use SimpleSAML\{Auth, Configuration, Logger, Module, Session, Utils}; use SimpleSAML\Assert\Assert; use SimpleSAML\Module\cmdotcom\Utils\PhoneNumber as PhoneNumberUtils; use SimpleSAML\Module\saml\Error; use SimpleSAML\SAML2\Constants; -use UnexpectedValueException; class OTP extends Auth\ProcessingFilter { diff --git a/src/Controller/OTP.php b/src/Controller/OTP.php index d4d0192..7b854e1 100644 --- a/src/Controller/OTP.php +++ b/src/Controller/OTP.php @@ -4,14 +4,12 @@ namespace SimpleSAML\Module\cmdotcom\Controller; -use GuzzleHttp\Client as GuzzleClient; use RuntimeException; use SimpleSAML\Assert\Assert; use SimpleSAML\{Auth, Configuration, Error, Logger, Module, Session, Utils}; use SimpleSAML\Module\cmdotcom\Utils\OTPClient; use SimpleSAML\XHTML\Template; use Symfony\Component\HttpFoundation\{RedirectResponse, Request, Response}; -use UnexpectedValueException; /** * Controller class for the cmdotcom module. diff --git a/tests/src/Controller/OTPTest.php b/tests/src/Controller/OTPTest.php index e9515cb..dd91140 100644 --- a/tests/src/Controller/OTPTest.php +++ b/tests/src/Controller/OTPTest.php @@ -9,9 +9,7 @@ use PHPUnit\Framework\TestCase; use RuntimeException; use SimpleSAML\{Auth, Configuration, Error, Logger, Session, Utils}; -use SimpleSAML\Assert\Assert; use SimpleSAML\Module\cmdotcom\Controller; -use SimpleSAML\Module\cmdotcom\Utils\TextMessage as TextUtils; use SimpleSAML\XHTML\Template; use Symfony\Component\HttpFoundation\{Request, RedirectResponse};