Skip to content

Commit

Permalink
Add trailing comma's
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed May 31, 2024
1 parent 37c82e5 commit 17fde05
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"require-dev": {
"beste/clock": "^3.0",
"simplesamlphp/simplesamlphp-test-framework": "^1.5"
"simplesamlphp/simplesamlphp-test-framework": "^1.7"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/SAML11/XML/saml/Audience.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class Audience extends AbstractSamlElement
* @param string $value
*/
public function __construct(
protected string $value
protected string $value,
) {
$this->setContent($value);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/src/SAML11/XML/saml/AdviceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static function setUpBeforeClass(): void
);

self::$chunk = new Chunk(DOMDocumentFactory::fromString(
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>'
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>',
)->documentElement);


Expand Down
4 changes: 2 additions & 2 deletions tests/src/SAML11/XML/saml/AttributeStatementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function testMarshalling(): void
],
),
new Chunk(DOMDocumentFactory::fromString(
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>'
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>',
)->documentElement),
],
'fed654',
Expand All @@ -132,7 +132,7 @@ public function testMarshalling(): void
$attribute = new Attribute(
'TheName',
'https://example.org/',
[new AttributeValue('FirstValue'), new AttributeValue('SecondValue')]
[new AttributeValue('FirstValue'), new AttributeValue('SecondValue')],
);

$attributeStatement = new AttributeStatement(
Expand Down
2 changes: 1 addition & 1 deletion tests/src/SAML11/XML/saml/AttributeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function testMarshalling(): void
$attribute = new Attribute(
'TheName',
'https://example.org/',
[new AttributeValue('FirstValue'), new AttributeValue('SecondValue')]
[new AttributeValue('FirstValue'), new AttributeValue('SecondValue')],
);

$this->assertEquals(
Expand Down
2 changes: 1 addition & 1 deletion tests/src/SAML11/XML/saml/AuthenticationStatementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function testMarshalling(): void
],
),
new Chunk(DOMDocumentFactory::fromString(
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>'
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>',
)->documentElement),
],
'fed654',
Expand Down
2 changes: 1 addition & 1 deletion tests/src/SAML11/XML/saml/SubjectConfirmationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function testMarshalling(): void
],
),
new Chunk(DOMDocumentFactory::fromString(
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>'
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>',
)->documentElement),
],
'fed654',
Expand Down
2 changes: 1 addition & 1 deletion tests/src/SAML11/XML/saml/SubjectStatementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function testMarshalling(): void
],
),
new Chunk(DOMDocumentFactory::fromString(
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>'
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>',
)->documentElement),
],
'fed654',
Expand Down
2 changes: 1 addition & 1 deletion tests/src/SAML11/XML/saml/SubjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function testMarshalling(): void
],
),
new Chunk(DOMDocumentFactory::fromString(
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>'
'<ssp:Chunk xmlns:ssp="urn:x-simplesamlphp:namespace">some</ssp:Chunk>',
)->documentElement),
],
'fed654',
Expand Down

0 comments on commit 17fde05

Please sign in to comment.