N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 (#580)

* Update Symfony lib to version ~6.4.0
* Update code missing return type
* Add an iTop general configuration entry to store application secret (Symfony mandatory parameter)
* Use dependency injection in ExceptionListener & UserProvider classes
This commit is contained in:
bdalsass
2023-12-05 13:56:56 +01:00
committed by GitHub
parent 863ab4560c
commit 27ce51ab07
1392 changed files with 44869 additions and 27799 deletions

View File

@@ -23,18 +23,17 @@ interface EnvVarProcessorInterface
/**
* Returns the value of the given variable as managed by the current instance.
*
* @param string $prefix The namespace of the variable
* @param string $name The name of the variable within the namespace
* @param \Closure $getEnv A closure that allows fetching more env vars
*
* @return mixed
* @param string $prefix The namespace of the variable
* @param string $prefix The namespace of the variable; when the empty string is passed, null values should be kept as is
* @param string $name The name of the variable within the namespace
* @param \Closure(string): mixed $getEnv A closure that allows fetching more env vars
*
* @throws RuntimeException on error
*/
public function getEnv(string $prefix, string $name, \Closure $getEnv);
public function getEnv(string $prefix, string $name, \Closure $getEnv): mixed;
/**
* @return string[] The PHP-types managed by getEnv(), keyed by prefixes
* @return array<string, string> The PHP-types managed by getEnv(), keyed by prefixes
*/
public static function getProvidedTypes();
public static function getProvidedTypes(): array;
}