Skip to content

Commit 7ff8934

Browse files
parijkeMKodde
authored andcommitted
Update baseline
Add return type Update basle without composer.lock Add symfony/flex to restrict sub-packages to 6.4 as well Revert "Add symfony/flex to restrict sub-packages to 6.4 as well" This reverts commit e1b56b1. Fix http-foundation to 6.x Remove 8.1 from matrix Remove 8.1 from matrix and to experimental Remove 8.1 from matrix and to experimental Remove 8.1 from matrix and to experimental Remove 8.1 from matrix and to experimental
1 parent b9c4241 commit 7ff8934

4 files changed

Lines changed: 43 additions & 8 deletions

File tree

.github/workflows/test-integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ jobs:
66
continue-on-error: ${{ matrix.experimental }}
77
strategy:
88
matrix:
9-
php-versions: ['8.1', '8.2']
9+
php-versions: [ '8.2']
1010
experimental: [false]
1111
include:
12+
- php-versions: '8.1'
13+
experimental: true
1214
- php-versions: '8.3'
1315
experimental: true
16+
- php-versions: '8.4'
17+
experimental: true
1418
timeout-minutes: 30
1519
name: PHP ${{ matrix.php-versions }} on Ubuntu latest. Experimental == ${{ matrix.experimental }}
1620
steps:

ci/qa/phpstan-baseline.neon

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ parameters:
2121
path: ../../src/DependencyInjection/Configuration.php
2222

2323
-
24-
message: "#^Cannot call method scalarNode\\(\\) on Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\|null\\.$#"
24+
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\NodeParentInterface\\:\\:scalarNode\\(\\)\\.$#"
2525
count: 1
2626
path: ../../src/DependencyInjection/Configuration.php
2727

@@ -110,11 +110,6 @@ parameters:
110110
count: 2
111111
path: ../../src/Entity/HostedEntities.php
112112

113-
-
114-
message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\|null given\\.$#"
115-
count: 1
116-
path: ../../src/Entity/HostedEntities.php
117-
118113
-
119114
message: "#^Method Surfnet\\\\SamlBundle\\\\Entity\\\\IdentityProvider\\:\\:getSsoUrl\\(\\) has no return type specified\\.$#"
120115
count: 1
@@ -325,11 +320,41 @@ parameters:
325320
count: 1
326321
path: ../../src/Metadata/Metadata.php
327322

323+
-
324+
message: "#^Property Surfnet\\\\SamlBundle\\\\Metadata\\\\MetadataConfiguration\\:\\:\\$assertionConsumerRoute type has no value type specified in iterable type array\\.$#"
325+
count: 1
326+
path: ../../src/Metadata/MetadataConfiguration.php
327+
328+
-
329+
message: "#^Property Surfnet\\\\SamlBundle\\\\Metadata\\\\MetadataConfiguration\\:\\:\\$entityIdRoute type has no value type specified in iterable type array\\.$#"
330+
count: 1
331+
path: ../../src/Metadata/MetadataConfiguration.php
332+
333+
-
334+
message: "#^Property Surfnet\\\\SamlBundle\\\\Metadata\\\\MetadataConfiguration\\:\\:\\$ssoRoute type has no value type specified in iterable type array\\.$#"
335+
count: 1
336+
path: ../../src/Metadata/MetadataConfiguration.php
337+
328338
-
329339
message: "#^Method Surfnet\\\\SamlBundle\\\\Metadata\\\\MetadataFactory\\:\\:getUrl\\(\\) has parameter \\$routeDefinition with no value type specified in iterable type array\\.$#"
330340
count: 1
331341
path: ../../src/Metadata/MetadataFactory.php
332342

343+
-
344+
message: "#^Parameter \\#1 \\$publicKeyFile of method Surfnet\\\\SamlBundle\\\\Metadata\\\\MetadataFactory\\:\\:getCertificateData\\(\\) expects string, string\\|null given\\.$#"
345+
count: 1
346+
path: ../../src/Metadata/MetadataFactory.php
347+
348+
-
349+
message: "#^Property Surfnet\\\\SamlBundle\\\\Signing\\\\KeyPair\\:\\:\\$privateKeyFile \\(string\\) does not accept string\\|null\\.$#"
350+
count: 1
351+
path: ../../src/Metadata/MetadataFactory.php
352+
353+
-
354+
message: "#^Property Surfnet\\\\SamlBundle\\\\Signing\\\\KeyPair\\:\\:\\$publicKeyFile \\(string\\) does not accept string\\|null\\.$#"
355+
count: 1
356+
path: ../../src/Metadata/MetadataFactory.php
357+
333358
-
334359
message: "#^Method Surfnet\\\\SamlBundle\\\\Monolog\\\\SamlAuthenticationLogger\\:\\:modifyContext\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#"
335360
count: 1
@@ -590,6 +615,11 @@ parameters:
590615
count: 1
591616
path: ../../src/Security/Authentication/AuthenticatedSessionStateHandler.php
592617

618+
-
619+
message: "#^Cannot call method notice\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#"
620+
count: 1
621+
path: ../../src/Security/Authentication/Handler/FailureHandler.php
622+
593623
-
594624
message: "#^Method Surfnet\\\\SamlBundle\\\\Security\\\\Authentication\\\\Passport\\\\Badge\\\\SamlAttributesBadge\\:\\:__construct\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#"
595625
count: 1

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"robrichards/xmlseclibs": "^3.1.1",
1313
"simplesamlphp/saml2": "^4.6",
1414
"symfony/dependency-injection": "^6.3",
15+
"symfony/http-foundation": "^6.3",
1516
"symfony/framework-bundle": "^6.3",
1617
"symfony/security-bundle": "^6.3",
1718
"symfony/templating": "^6.3",

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Configuration implements ConfigurationInterface
3333
/**
3434
* {@inheritdoc}
3535
*/
36-
public function getConfigTreeBuilder()
36+
public function getConfigTreeBuilder(): TreeBuilder
3737
{
3838
$treeBuilder = new TreeBuilder('surfnet_saml');
3939
$rootNode = $treeBuilder->getRootNode();

0 commit comments

Comments
 (0)