From cca25c1206c047541303a88ce8864b6de365b404 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 16 Jun 2026 18:35:37 +0200 Subject: [PATCH 1/2] Fix namespaced IncludeToken-attribute (both sp-versions and coverage) --- src/XML/sp_200507/Type/IncludeTokenValue.php | 23 ++++++- src/XML/sp_200702/AbstractIssuedTokenType.php | 2 + .../sp_200702/AbstractKeyValueTokenType.php | 2 + .../AbstractSecureConversationTokenType.php | 2 + .../AbstractSpnegoContextTokenType.php | 2 + .../sp_200702/AbstractTokenAssertionType.php | 2 + src/XML/sp_200702/Type/IncludeTokenValue.php | 21 ++++++- .../XML/sp_200507/IssuedTokenTest.php | 3 + .../sp_200507/SecureConversationTokenTest.php | 6 ++ .../XML/sp_200507/SpnegoContextTokenTest.php | 3 + .../sp_200507/Type/IncludeTokenValueTest.php | 61 ++++++++++++++++++ .../XML/sp_200702/HttpsTokenTest.php | 3 + .../XML/sp_200702/IssuedTokenTest.php | 3 + .../XML/sp_200702/KerberosTokenTest.php | 3 + .../XML/sp_200702/KeyValueTokenTest.php | 3 + .../XML/sp_200702/RelTokenTest.php | 3 + .../XML/sp_200702/SamlTokenTest.php | 4 ++ .../sp_200702/SecureConversationTokenTest.php | 6 ++ .../sp_200702/SecurityContextTokenTest.php | 7 +++ .../XML/sp_200702/SpnegoContextTokenTest.php | 3 + .../sp_200702/Type/IncludeTokenValueTest.php | 62 +++++++++++++++++++ .../XML/sp_200702/UsernameTokenTest.php | 4 ++ .../XML/sp_200702/X509TokenTest.php | 4 ++ 23 files changed, 228 insertions(+), 4 deletions(-) create mode 100644 tests/SecurityPolicy/XML/sp_200507/Type/IncludeTokenValueTest.php create mode 100644 tests/SecurityPolicy/XML/sp_200702/Type/IncludeTokenValueTest.php diff --git a/src/XML/sp_200507/Type/IncludeTokenValue.php b/src/XML/sp_200507/Type/IncludeTokenValue.php index 94a3950..d049f4c 100644 --- a/src/XML/sp_200507/Type/IncludeTokenValue.php +++ b/src/XML/sp_200507/Type/IncludeTokenValue.php @@ -4,16 +4,35 @@ namespace SimpleSAML\WebServices\SecurityPolicy\XML\sp_200507\Type; +use SimpleSAML\Assert\Assert; use SimpleSAML\WebServices\SecurityPolicy\XML\sp_200507\AbstractSpElement; use SimpleSAML\WebServices\SecurityPolicy\XML\sp_200507\IncludeToken; use SimpleSAML\XML\Attribute as XMLAttribute; -use SimpleSAML\XMLSchema\Type\AnyURIValue as BaseAnyURIValue; +use SimpleSAML\XMLSchema\Exception\SchemaViolationException; +use SimpleSAML\XMLSchema\Type\AnyURIValue; + +use function array_column; /** * @package simplesaml/xml-ws-security-policy */ -class IncludeTokenValue extends BaseAnyURIValue +class IncludeTokenValue extends AnyURIValue { + /** + * Validate the value. + * + * @throws \SimpleSAML\XMLSchema\Exception\SchemaViolationException on failure + */ + protected function validateValue(string $value): void + { + Assert::oneOf( + $this->sanitizeValue($value), + array_column(IncludeToken::cases(), 'value'), + SchemaViolationException::class, + ); + } + + /** * Convert this value to an attribute * diff --git a/src/XML/sp_200702/AbstractIssuedTokenType.php b/src/XML/sp_200702/AbstractIssuedTokenType.php index 0c9ac80..8cbd8f8 100644 --- a/src/XML/sp_200702/AbstractIssuedTokenType.php +++ b/src/XML/sp_200702/AbstractIssuedTokenType.php @@ -25,6 +25,7 @@ abstract class AbstractIssuedTokenType extends AbstractSpElement { use ExtendableAttributesTrait; use ExtendableElementTrait; + use IncludeTokenTypeTrait; /** The namespace-attribute for the xs:any element */ @@ -54,6 +55,7 @@ final public function __construct( array $elts = [], array $namespacedAttributes = [], ) { + $this->setIncludeToken($namespacedAttributes); $this->setElements($elts); $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/sp_200702/AbstractKeyValueTokenType.php b/src/XML/sp_200702/AbstractKeyValueTokenType.php index 7acdbe2..cb4212b 100644 --- a/src/XML/sp_200702/AbstractKeyValueTokenType.php +++ b/src/XML/sp_200702/AbstractKeyValueTokenType.php @@ -22,6 +22,7 @@ abstract class AbstractKeyValueTokenType extends AbstractSpElement { use ExtendableAttributesTrait; use ExtendableElementTrait; + use IncludeTokenTypeTrait; /** The namespace-attribute for the xs:any element */ @@ -41,6 +42,7 @@ final public function __construct( array $elts = [], array $namespacedAttributes = [], ) { + $this->setIncludeToken($namespacedAttributes); $this->setElements($elts); $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/sp_200702/AbstractSecureConversationTokenType.php b/src/XML/sp_200702/AbstractSecureConversationTokenType.php index 99068d0..15e6409 100644 --- a/src/XML/sp_200702/AbstractSecureConversationTokenType.php +++ b/src/XML/sp_200702/AbstractSecureConversationTokenType.php @@ -23,6 +23,7 @@ abstract class AbstractSecureConversationTokenType extends AbstractSpElement { use ExtendableAttributesTrait; use ExtendableElementTrait; + use IncludeTokenTypeTrait; /** The namespace-attribute for the xs:any element */ @@ -48,6 +49,7 @@ final public function __construct( array $elts = [], array $namespacedAttributes = [], ) { + $this->setIncludeToken($namespacedAttributes); $this->setElements($elts); $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/sp_200702/AbstractSpnegoContextTokenType.php b/src/XML/sp_200702/AbstractSpnegoContextTokenType.php index 57b644f..3accb83 100644 --- a/src/XML/sp_200702/AbstractSpnegoContextTokenType.php +++ b/src/XML/sp_200702/AbstractSpnegoContextTokenType.php @@ -23,6 +23,7 @@ abstract class AbstractSpnegoContextTokenType extends AbstractSpElement { use ExtendableAttributesTrait; use ExtendableElementTrait; + use IncludeTokenTypeTrait; /** The namespace-attribute for the xs:any element */ @@ -48,6 +49,7 @@ final public function __construct( array $elts = [], array $namespacedAttributes = [], ) { + $this->setIncludeToken($namespacedAttributes); $this->setElements($elts); $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/sp_200702/AbstractTokenAssertionType.php b/src/XML/sp_200702/AbstractTokenAssertionType.php index f564f5a..1f1c3ee 100644 --- a/src/XML/sp_200702/AbstractTokenAssertionType.php +++ b/src/XML/sp_200702/AbstractTokenAssertionType.php @@ -22,6 +22,7 @@ abstract class AbstractTokenAssertionType extends AbstractSpElement { use ExtendableAttributesTrait; use ExtendableElementTrait; + use IncludeTokenTypeTrait; /** The namespace-attribute for the xs:any element */ @@ -41,6 +42,7 @@ final public function __construct( array $elts = [], array $namespacedAttributes = [], ) { + $this->setIncludeToken($namespacedAttributes); $this->setElements($elts); $this->setAttributesNS($namespacedAttributes); } diff --git a/src/XML/sp_200702/Type/IncludeTokenValue.php b/src/XML/sp_200702/Type/IncludeTokenValue.php index e35ece7..ae3ed8d 100644 --- a/src/XML/sp_200702/Type/IncludeTokenValue.php +++ b/src/XML/sp_200702/Type/IncludeTokenValue.php @@ -4,16 +4,33 @@ namespace SimpleSAML\WebServices\SecurityPolicy\XML\sp_200702\Type; +use SimpleSAML\Assert\Assert; use SimpleSAML\WebServices\SecurityPolicy\XML\sp_200702\AbstractSpElement; use SimpleSAML\WebServices\SecurityPolicy\XML\sp_200702\IncludeToken; use SimpleSAML\XML\Attribute as XMLAttribute; -use SimpleSAML\XMLSchema\Type\AnyURIValue as BaseAnyURIValue; +use SimpleSAML\XMLSchema\Exception\SchemaViolationException; +use SimpleSAML\XMLSchema\Type\AnyURIValue; /** * @package simplesaml/xml-ws-security-policy */ -class IncludeTokenValue extends BaseAnyURIValue +class IncludeTokenValue extends AnyURIValue { + /** + * Validate the value. + * + * @throws \SimpleSAML\XMLSchema\Exception\SchemaViolationException on failure + */ + protected function validateValue(string $value): void + { + Assert::oneOf( + $this->sanitizeValue($value), + array_column(IncludeToken::cases(), 'value'), + SchemaViolationException::class, + ); + } + + /** * Convert this value to an attribute * diff --git a/tests/SecurityPolicy/XML/sp_200507/IssuedTokenTest.php b/tests/SecurityPolicy/XML/sp_200507/IssuedTokenTest.php index 7cea77b..017bd0c 100644 --- a/tests/SecurityPolicy/XML/sp_200507/IssuedTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200507/IssuedTokenTest.php @@ -193,5 +193,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($issuedToken), ); + + $this->assertFalse($issuedToken->isEmptyElement()); + $this->assertEquals($issuedToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200507/SecureConversationTokenTest.php b/tests/SecurityPolicy/XML/sp_200507/SecureConversationTokenTest.php index 16fc521..a531053 100644 --- a/tests/SecurityPolicy/XML/sp_200507/SecureConversationTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200507/SecureConversationTokenTest.php @@ -181,5 +181,11 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($secureConversationToken), ); + + $this->assertFalse($secureConversationToken->isEmptyElement()); + $this->assertEquals( + $secureConversationToken->getIncludeToken(), + IncludeTokenValue::fromEnum(IncludeToken::Always), + ); } } diff --git a/tests/SecurityPolicy/XML/sp_200507/SpnegoContextTokenTest.php b/tests/SecurityPolicy/XML/sp_200507/SpnegoContextTokenTest.php index 6e19ffb..e9145a7 100644 --- a/tests/SecurityPolicy/XML/sp_200507/SpnegoContextTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200507/SpnegoContextTokenTest.php @@ -181,5 +181,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($spnegoContextToken), ); + + $this->assertFalse($spnegoContextToken->isEmptyElement()); + $this->assertEquals($spnegoContextToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200507/Type/IncludeTokenValueTest.php b/tests/SecurityPolicy/XML/sp_200507/Type/IncludeTokenValueTest.php new file mode 100644 index 0000000..143087b --- /dev/null +++ b/tests/SecurityPolicy/XML/sp_200507/Type/IncludeTokenValueTest.php @@ -0,0 +1,61 @@ +assertTrue($shouldPass); + } catch (SchemaViolationException $e) { + $this->assertFalse($shouldPass); + } + } + + + /** + * @return array + */ + public static function provideURI(): array + { + return [ + 'Always' => [true, IncludeToken::Always->value], + 'AlwaysToRecipient' => [true, IncludeToken::AlwaysToRecipient->value], + 'Once' => [true, IncludeToken::Once->value], + 'Never' => [true, IncludeToken::Never->value], + 'urn' => [false, 'urn:x-simplesamlphp:phpunit'], + 'same-doc' => [false, '#_53d830ab1be17291a546c95c7f1cdf8d3d23c959e6'], + 'url' => [false, 'https://www.simplesamlphp.org'], + 'diacritical' => [false, 'https://aä.com'], + 'spn' => [false, 'spn:a4cf592f-a64c-46ff-a788-b260f474525b'], + 'typos' => [false, 'https//www.uni.l/en/'], + 'spaces' => [false, 'this is silly'], + 'empty' => [false, ''], + 'azure-common' => [false, 'https://sts.windows.net/{tenantid}/'], + ]; + } +} diff --git a/tests/SecurityPolicy/XML/sp_200702/HttpsTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/HttpsTokenTest.php index 33795e9..0aec6e6 100644 --- a/tests/SecurityPolicy/XML/sp_200702/HttpsTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/HttpsTokenTest.php @@ -83,5 +83,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($httpsToken), ); + + $this->assertFalse($httpsToken->isEmptyElement()); + $this->assertEquals($httpsToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/IssuedTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/IssuedTokenTest.php index 288ae84..2dcd590 100644 --- a/tests/SecurityPolicy/XML/sp_200702/IssuedTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/IssuedTokenTest.php @@ -123,5 +123,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($issuedToken), ); + + $this->assertFalse($issuedToken->isEmptyElement()); + $this->assertEquals($issuedToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/KerberosTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/KerberosTokenTest.php index 9846c9e..84bde1d 100644 --- a/tests/SecurityPolicy/XML/sp_200702/KerberosTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/KerberosTokenTest.php @@ -83,5 +83,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($kerberosToken), ); + + $this->assertFalse($kerberosToken->isEmptyElement()); + $this->assertEquals($kerberosToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/KeyValueTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/KeyValueTokenTest.php index 02b290d..f5d27d9 100644 --- a/tests/SecurityPolicy/XML/sp_200702/KeyValueTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/KeyValueTokenTest.php @@ -83,5 +83,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($keyValueToken), ); + + $this->assertFalse($keyValueToken->isEmptyElement()); + $this->assertEquals($keyValueToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/RelTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/RelTokenTest.php index a90af27..b0c73b2 100644 --- a/tests/SecurityPolicy/XML/sp_200702/RelTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/RelTokenTest.php @@ -83,5 +83,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($relToken), ); + + $this->assertFalse($relToken->isEmptyElement()); + $this->assertEquals($relToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/SamlTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/SamlTokenTest.php index 6f39264..295e59c 100644 --- a/tests/SecurityPolicy/XML/sp_200702/SamlTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/SamlTokenTest.php @@ -79,9 +79,13 @@ public function testMarshalling(): void $includeToken = IncludeTokenValue::fromEnum(IncludeToken::Always); $samlToken = new SamlToken([$chunk], [$includeToken->toAttribute(), $attr]); + $this->assertEquals( self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($samlToken), ); + + $this->assertFalse($samlToken->isEmptyElement()); + $this->assertEquals($samlToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/SecureConversationTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/SecureConversationTokenTest.php index 97991c5..f8d1e92 100644 --- a/tests/SecurityPolicy/XML/sp_200702/SecureConversationTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/SecureConversationTokenTest.php @@ -113,5 +113,11 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($secureConversationToken), ); + + $this->assertFalse($secureConversationToken->isEmptyElement()); + $this->assertEquals( + $secureConversationToken->getIncludeToken(), + IncludeTokenValue::fromEnum(IncludeToken::Always), + ); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/SecurityContextTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/SecurityContextTokenTest.php index f72a2fa..ff9b56e 100644 --- a/tests/SecurityPolicy/XML/sp_200702/SecurityContextTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/SecurityContextTokenTest.php @@ -79,9 +79,16 @@ public function testMarshalling(): void $includeToken = IncludeTokenValue::fromEnum(IncludeToken::Always); $securityContextToken = new SecurityContextToken([$chunk], [$includeToken->toAttribute(), $attr]); + $this->assertEquals( self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($securityContextToken), ); + + $this->assertFalse($securityContextToken->isEmptyElement()); + $this->assertEquals( + $securityContextToken->getIncludeToken(), + IncludeTokenValue::fromEnum(IncludeToken::Always), + ); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/SpnegoContextTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/SpnegoContextTokenTest.php index ca7529e..bbbc87f 100644 --- a/tests/SecurityPolicy/XML/sp_200702/SpnegoContextTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/SpnegoContextTokenTest.php @@ -104,5 +104,8 @@ public function testMarshalling(): void self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($spnegoContextToken), ); + + $this->assertFalse($spnegoContextToken->isEmptyElement()); + $this->assertEquals($spnegoContextToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/Type/IncludeTokenValueTest.php b/tests/SecurityPolicy/XML/sp_200702/Type/IncludeTokenValueTest.php new file mode 100644 index 0000000..56646aa --- /dev/null +++ b/tests/SecurityPolicy/XML/sp_200702/Type/IncludeTokenValueTest.php @@ -0,0 +1,62 @@ +assertTrue($shouldPass); + } catch (SchemaViolationException $e) { + $this->assertFalse($shouldPass); + } + } + + + /** + * @return array + */ + public static function provideURI(): array + { + return [ + 'Always' => [true, IncludeToken::Always->value], + 'AlwaysToInitiator' => [true, IncludeToken::AlwaysToInitiator->value], + 'AlwaysToRecipient' => [true, IncludeToken::AlwaysToRecipient->value], + 'Once' => [true, IncludeToken::Once->value], + 'Never' => [true, IncludeToken::Never->value], + 'urn' => [false, 'urn:x-simplesamlphp:phpunit'], + 'same-doc' => [false, '#_53d830ab1be17291a546c95c7f1cdf8d3d23c959e6'], + 'url' => [false, 'https://www.simplesamlphp.org'], + 'diacritical' => [false, 'https://aä.com'], + 'spn' => [false, 'spn:a4cf592f-a64c-46ff-a788-b260f474525b'], + 'typos' => [false, 'https//www.uni.l/en/'], + 'spaces' => [false, 'this is silly'], + 'empty' => [false, ''], + 'azure-common' => [false, 'https://sts.windows.net/{tenantid}/'], + ]; + } +} diff --git a/tests/SecurityPolicy/XML/sp_200702/UsernameTokenTest.php b/tests/SecurityPolicy/XML/sp_200702/UsernameTokenTest.php index 87a8db0..5a0f8c5 100644 --- a/tests/SecurityPolicy/XML/sp_200702/UsernameTokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/UsernameTokenTest.php @@ -79,9 +79,13 @@ public function testMarshalling(): void $includeToken = IncludeTokenValue::fromEnum(IncludeToken::Always); $usernameToken = new UsernameToken([$chunk], [$includeToken->toAttribute(), $attr]); + $this->assertEquals( self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($usernameToken), ); + + $this->assertFalse($usernameToken->isEmptyElement()); + $this->assertEquals($usernameToken->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } diff --git a/tests/SecurityPolicy/XML/sp_200702/X509TokenTest.php b/tests/SecurityPolicy/XML/sp_200702/X509TokenTest.php index 645876f..ccc3060 100644 --- a/tests/SecurityPolicy/XML/sp_200702/X509TokenTest.php +++ b/tests/SecurityPolicy/XML/sp_200702/X509TokenTest.php @@ -79,9 +79,13 @@ public function testMarshalling(): void $includeToken = IncludeTokenValue::fromEnum(IncludeToken::Always); $x509Token = new X509Token([$chunk], [$includeToken->toAttribute(), $attr]); + $this->assertEquals( self::$xmlRepresentation->saveXML(self::$xmlRepresentation->documentElement), strval($x509Token), ); + + $this->assertFalse($x509Token->isEmptyElement()); + $this->assertEquals($x509Token->getIncludeToken(), IncludeTokenValue::fromEnum(IncludeToken::Always)); } } From aff116a0258c70d10e1205c2197698b4e0434781 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 17:05:40 +0000 Subject: [PATCH 2/2] Bump codecov/codecov-action from 6 to 7 in the all-actions group Bumps the all-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `codecov/codecov-action` from 6 to 7 - [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/v6...v7) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '7' 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 97c8c1f..81bc785 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -262,7 +262,7 @@ jobs: path: ${{ github.workspace }}/build - name: Codecov - uses: codecov/codecov-action@v6 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true