Skip to content

Commit fba0907

Browse files
authored
Suppression de la classe Configuration (#2305)
Co-authored-by: vgreb <vgreb@users.noreply.github.com>
1 parent 3f108c7 commit fba0907

3 files changed

Lines changed: 0 additions & 127 deletions

File tree

app/config/services.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ services:
146146
autowire: true
147147
arguments: ["%qr_code_salt%"]
148148

149-
Afup\Site\Utils\Configuration:
150-
autowire: true
151-
152149
Afup\Site\Utils\Pays:
153150
autowire: true
154151

phpstan-baseline.php

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -205,66 +205,6 @@
205205
'count' => 1,
206206
'path' => __DIR__ . '/sources/Afup/Pagination.php',
207207
];
208-
$ignoreErrors[] = [
209-
'message' => '#^Binary operation "\\." between literal\\-string&non\\-falsy\\-string and mixed results in an error\\.$#',
210-
'identifier' => 'binaryOp.invalid',
211-
'count' => 1,
212-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
213-
];
214-
$ignoreErrors[] = [
215-
'message' => '#^Cannot access offset \'database_host\'\\|\'database_name\'\\|\'database_password\'\\|\'database_port\'\\|\'database_user\'\\|\'smtp_host\'\\|\'smtp_password\'\\|\'smtp_port\'\\|\'smtp_tls\'\\|\'smtp_username\' on 0\\|0\\.0\\|\'\'\\|\'0\'\\|array\\{\\}\\|array\\{database_host\\?\\: mixed, database_name\\?\\: mixed, database_password\\?\\: mixed, database_port\\?\\: mixed, database_user\\?\\: mixed, smtp_host\\?\\: mixed, smtp_password\\?\\: string, smtp_port\\?\\: mixed, \\.\\.\\.\\}\\|false\\|null\\.$#',
216-
'identifier' => 'offsetAccess.nonOffsetAccessible',
217-
'count' => 1,
218-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
219-
];
220-
$ignoreErrors[] = [
221-
'message' => '#^Cannot access offset \'database_host\'\\|\'database_name\'\\|\'database_password\'\\|\'database_port\'\\|\'database_user\'\\|\'smtp_host\'\\|\'smtp_password\'\\|\'smtp_port\'\\|\'smtp_tls\'\\|\'smtp_username\' on 0\\|0\\.0\\|\'\'\\|\'0\'\\|array\\{\\}\\|array\\{database_host\\?\\: mixed, database_name\\?\\: mixed, database_user\\?\\: mixed, database_password\\?\\: mixed, database_port\\?\\: mixed, smtp_host\\?\\: mixed, smtp_port\\?\\: mixed, smtp_tls\\?\\: mixed, \\.\\.\\.\\}\\|false\\|null\\.$#',
222-
'identifier' => 'offsetAccess.nonOffsetAccessible',
223-
'count' => 1,
224-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
225-
];
226-
$ignoreErrors[] = [
227-
'message' => '#^Cannot access offset \'parameters\' on mixed\\.$#',
228-
'identifier' => 'offsetAccess.nonOffsetAccessible',
229-
'count' => 1,
230-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
231-
];
232-
$ignoreErrors[] = [
233-
'message' => '#^Cannot access offset mixed on mixed\\.$#',
234-
'identifier' => 'offsetAccess.nonOffsetAccessible',
235-
'count' => 1,
236-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
237-
];
238-
$ignoreErrors[] = [
239-
'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Configuration\\:\\:loadSymfonyParameters\\(\\) return type has no value type specified in iterable type array\\.$#',
240-
'identifier' => 'missingType.iterableValue',
241-
'count' => 1,
242-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
243-
];
244-
$ignoreErrors[] = [
245-
'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Configuration\\:\\:obtenir\\(\\) has no return type specified\\.$#',
246-
'identifier' => 'missingType.return',
247-
'count' => 1,
248-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
249-
];
250-
$ignoreErrors[] = [
251-
'message' => '#^Method Afup\\\\Site\\\\Utils\\\\Configuration\\:\\:obtenir\\(\\) has parameter \\$cle with no type specified\\.$#',
252-
'identifier' => 'missingType.parameter',
253-
'count' => 1,
254-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
255-
];
256-
$ignoreErrors[] = [
257-
'message' => '#^Parameter \\#2 \\.\\.\\.\\$arrays of function array_merge expects array, mixed given\\.$#',
258-
'identifier' => 'argument.type',
259-
'count' => 1,
260-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
261-
];
262-
$ignoreErrors[] = [
263-
'message' => '#^Property Afup\\\\Site\\\\Utils\\\\Configuration\\:\\:\\$values has no type specified\\.$#',
264-
'identifier' => 'missingType.property',
265-
'count' => 1,
266-
'path' => __DIR__ . '/sources/Afup/Utils/Configuration.php',
267-
];
268208
$ignoreErrors[] = [
269209
'message' => '#^Binary operation "\\." between mixed and \' \' results in an error\\.$#',
270210
'identifier' => 'binaryOp.invalid',

sources/Afup/Utils/Configuration.php

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)