ConfigObject: Document generics

This commit is contained in:
Johannes Meyer 2024-02-15 13:21:51 +01:00
parent 58b3321852
commit d6881e0273
2 changed files with 334 additions and 40 deletions

View File

@ -10,6 +10,10 @@ use Icinga\Exception\ProgrammingError;
/** /**
* Container for configuration values * Container for configuration values
*
* @template TValue
* @implements Iterator<string, TValue>
* @implements ArrayAccess<string, TValue>
*/ */
class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
{ {
@ -60,7 +64,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
/** /**
* Return the section's or property's value of the current iteration * Return the section's or property's value of the current iteration
* *
* @return mixed * @return TValue
*/ */
#[\ReturnTypeWillChange] #[\ReturnTypeWillChange]
public function current() public function current()
@ -115,7 +119,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
* *
* @param string $key The name of the property or section * @param string $key The name of the property or section
* *
* @return mixed|NULL The value or NULL in case $key does not exist * @return ?TValue The value or NULL in case $key does not exist
*/ */
public function __get($key) public function __get($key)
{ {
@ -126,7 +130,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
* Add a new property or section * Add a new property or section
* *
* @param string $key The name of the new property or section * @param string $key The name of the new property or section
* @param mixed $value The value to set for the new property or section * @param TValue $value The value to set for the new property or section
*/ */
public function __set($key, $value) public function __set($key, $value)
{ {
@ -164,7 +168,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
* *
* @param string $key The name of the property or section * @param string $key The name of the property or section
* *
* @return ?mixed The value or NULL in case $key does not exist * @return ?TValue The value or NULL in case $key does not exist
*/ */
#[\ReturnTypeWillChange] #[\ReturnTypeWillChange]
public function offsetGet($key) public function offsetGet($key)
@ -176,7 +180,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
* Add a new property or section * Add a new property or section
* *
* @param string $key The name of the new property or section * @param string $key The name of the new property or section
* @param mixed $value The value to set for the new property or section * @param TValue $value The value to set for the new property or section
* *
* @throws ProgrammingError If the key is null * @throws ProgrammingError If the key is null
*/ */
@ -213,9 +217,9 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
* Return the value for the given property or the config for the given section * Return the value for the given property or the config for the given section
* *
* @param string $key The name of the property or section * @param string $key The name of the property or section
* @param mixed $default The value to return in case the property or section is missing * @param ?TValue $default The value to return in case the property or section is missing
* *
* @return mixed * @return ?TValue The value or $default in case $key does not exist
*/ */
public function get($key, $default = null) public function get($key, $default = null)
{ {
@ -229,7 +233,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
/** /**
* Return all section and property names * Return all section and property names
* *
* @return array * @return string[]
*/ */
public function keys() public function keys()
{ {
@ -239,7 +243,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
/** /**
* Return this config's data as associative array * Return this config's data as associative array
* *
* @return array * @return array<string, TValue>
*/ */
public function toArray() public function toArray()
{ {
@ -258,7 +262,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess
/** /**
* Merge the given data with this config * Merge the given data with this config
* *
* @param array|ConfigObject $data An array or a config * @param array<string, TValue>|ConfigObject<TValue> $data An array or a config
* *
* @return $this * @return $this
*/ */

View File

@ -1490,6 +1490,11 @@ parameters:
count: 1 count: 1
path: application/forms/Config/Resource/SshResourceForm.php path: application/forms/Config/Resource/SshResourceForm.php
-
message: "#^Method Icinga\\\\Forms\\\\Config\\\\Resource\\\\SshResourceForm\\:\\:beforeRemove\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: application/forms/Config/Resource/SshResourceForm.php
- -
message: "#^Method Icinga\\\\Forms\\\\Config\\\\Resource\\\\SshResourceForm\\:\\:createElements\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Forms\\\\Config\\\\Resource\\\\SshResourceForm\\:\\:createElements\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -1560,6 +1565,11 @@ parameters:
count: 1 count: 1
path: application/forms/Config/ResourceConfigForm.php path: application/forms/Config/ResourceConfigForm.php
-
message: "#^Method Icinga\\\\Forms\\\\Config\\\\ResourceConfigForm\\:\\:edit\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: application/forms/Config/ResourceConfigForm.php
- -
message: "#^Method Icinga\\\\Forms\\\\Config\\\\ResourceConfigForm\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Forms\\\\Config\\\\ResourceConfigForm\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -1575,6 +1585,11 @@ parameters:
count: 1 count: 1
path: application/forms/Config/ResourceConfigForm.php path: application/forms/Config/ResourceConfigForm.php
-
message: "#^Method Icinga\\\\Forms\\\\Config\\\\ResourceConfigForm\\:\\:remove\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: application/forms/Config/ResourceConfigForm.php
- -
message: "#^Method Icinga\\\\Forms\\\\Config\\\\ResourceConfigForm\\:\\:writeConfig\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Forms\\\\Config\\\\ResourceConfigForm\\:\\:writeConfig\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -1940,6 +1955,11 @@ parameters:
count: 1 count: 1
path: application/forms/Config/UserGroup/LdapUserGroupBackendForm.php path: application/forms/Config/UserGroup/LdapUserGroupBackendForm.php
-
message: "#^Method Icinga\\\\Forms\\\\Config\\\\UserGroup\\\\LdapUserGroupBackendForm\\:\\:createGroupConfigElements\\(\\) has parameter \\$defaults with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: application/forms/Config/UserGroup/LdapUserGroupBackendForm.php
- -
message: "#^Method Icinga\\\\Forms\\\\Config\\\\UserGroup\\\\LdapUserGroupBackendForm\\:\\:createHiddenUserConfigElements\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Forms\\\\Config\\\\UserGroup\\\\LdapUserGroupBackendForm\\:\\:createHiddenUserConfigElements\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -1950,6 +1970,11 @@ parameters:
count: 1 count: 1
path: application/forms/Config/UserGroup/LdapUserGroupBackendForm.php path: application/forms/Config/UserGroup/LdapUserGroupBackendForm.php
-
message: "#^Method Icinga\\\\Forms\\\\Config\\\\UserGroup\\\\LdapUserGroupBackendForm\\:\\:createUserConfigElements\\(\\) has parameter \\$defaults with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: application/forms/Config/UserGroup/LdapUserGroupBackendForm.php
- -
message: "#^Method Icinga\\\\Forms\\\\Config\\\\UserGroup\\\\LdapUserGroupBackendForm\\:\\:getLdapResourceNames\\(\\) return type has no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Forms\\\\Config\\\\UserGroup\\\\LdapUserGroupBackendForm\\:\\:getLdapResourceNames\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -2220,6 +2245,11 @@ parameters:
count: 1 count: 1
path: application/forms/Navigation/NavigationConfigForm.php path: application/forms/Navigation/NavigationConfigForm.php
-
message: "#^Method Icinga\\\\Forms\\\\Navigation\\\\NavigationConfigForm\\:\\:delete\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: application/forms/Navigation/NavigationConfigForm.php
- -
message: "#^Method Icinga\\\\Forms\\\\Navigation\\\\NavigationConfigForm\\:\\:edit\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Forms\\\\Navigation\\\\NavigationConfigForm\\:\\:edit\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -3000,6 +3030,16 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Config.php path: library/Icinga/Application/Config.php
-
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Config.php
-
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:current\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Config.php
- -
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:current\\(\\) should return Icinga\\\\Data\\\\ConfigObject but returns mixed\\.$#" message: "#^Method Icinga\\\\Application\\\\Config\\:\\:current\\(\\) should return Icinga\\\\Data\\\\ConfigObject but returns mixed\\.$#"
count: 1 count: 1
@ -3015,6 +3055,16 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Config.php path: library/Icinga/Application/Config.php
-
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:getConfigObject\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Config.php
-
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:getSection\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Config.php
- -
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:getSection\\(\\) should return Icinga\\\\Data\\\\ConfigObject but returns mixed\\.$#" message: "#^Method Icinga\\\\Application\\\\Config\\:\\:getSection\\(\\) should return Icinga\\\\Data\\\\ConfigObject but returns mixed\\.$#"
count: 1 count: 1
@ -3030,6 +3080,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Config.php path: library/Icinga/Application/Config.php
-
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:setSection\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Config.php
- -
message: "#^Method Icinga\\\\Application\\\\Config\\:\\:setSection\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Application\\\\Config\\:\\:setSection\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -3055,6 +3110,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Config.php path: library/Icinga/Application/Config.php
-
message: "#^Property Icinga\\\\Application\\\\Config\\:\\:\\$config with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Config.php
- -
message: "#^Property Icinga\\\\Application\\\\Config\\:\\:\\$modules type has no value type specified in iterable type array\\.$#" message: "#^Property Icinga\\\\Application\\\\Config\\:\\:\\$modules type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -3390,6 +3450,21 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Libraries/Library.php path: library/Icinga/Application/Libraries/Library.php
-
message: "#^Method Icinga\\\\Application\\\\Logger\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger.php
-
message: "#^Method Icinga\\\\Application\\\\Logger\\:\\:create\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger.php
-
message: "#^Method Icinga\\\\Application\\\\Logger\\:\\:createWriter\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger.php
- -
message: "#^Method Icinga\\\\Application\\\\Logger\\:\\:createWriter\\(\\) should return Icinga\\\\Application\\\\Logger\\\\LogWriter but returns object\\.$#" message: "#^Method Icinga\\\\Application\\\\Logger\\:\\:createWriter\\(\\) should return Icinga\\\\Application\\\\Logger\\\\LogWriter but returns object\\.$#"
count: 1 count: 1
@ -3440,6 +3515,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Logger.php path: library/Icinga/Application/Logger.php
-
message: "#^Method Icinga\\\\Application\\\\Logger\\\\LogWriter\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger/LogWriter.php
- -
message: "#^Method Icinga\\\\Application\\\\Logger\\\\LogWriter\\:\\:log\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Application\\\\Logger\\\\LogWriter\\:\\:log\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -3455,6 +3535,16 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Logger/LogWriter.php path: library/Icinga/Application/Logger/LogWriter.php
-
message: "#^Property Icinga\\\\Application\\\\Logger\\\\LogWriter\\:\\:\\$config with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger/LogWriter.php
-
message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\FileWriter\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger/Writer/FileWriter.php
- -
message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\FileWriter\\:\\:log\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\FileWriter\\:\\:log\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -3480,6 +3570,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Logger/Writer/FileWriter.php path: library/Icinga/Application/Logger/Writer/FileWriter.php
-
message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\PhpWriter\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger/Writer/PhpWriter.php
- -
message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\PhpWriter\\:\\:log\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\PhpWriter\\:\\:log\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -3505,6 +3600,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Application/Logger/Writer/StderrWriter.php path: library/Icinga/Application/Logger/Writer/StderrWriter.php
-
message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\SyslogWriter\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Application/Logger/Writer/SyslogWriter.php
- -
message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\SyslogWriter\\:\\:log\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Application\\\\Logger\\\\Writer\\\\SyslogWriter\\:\\:log\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -4075,6 +4175,16 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/AdmissionLoader.php path: library/Icinga/Authentication/AdmissionLoader.php
-
message: "#^Method Icinga\\\\Authentication\\\\AdmissionLoader\\:\\:loadRole\\(\\) has parameter \\$section with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/AdmissionLoader.php
-
message: "#^Method Icinga\\\\Authentication\\\\AdmissionLoader\\:\\:match\\(\\) has parameter \\$section with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/AdmissionLoader.php
- -
message: "#^Method Icinga\\\\Authentication\\\\AdmissionLoader\\:\\:match\\(\\) has parameter \\$userGroups with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Authentication\\\\AdmissionLoader\\:\\:match\\(\\) has parameter \\$userGroups with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -4100,6 +4210,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/AdmissionLoader.php path: library/Icinga/Authentication/AdmissionLoader.php
-
message: "#^Parameter \\#1 \\$restrictions of method Icinga\\\\Authentication\\\\Role\\:\\:setRestrictions\\(\\) expects array\\<string\\>, array\\<string, mixed\\> given\\.$#"
count: 1
path: library/Icinga/Authentication/AdmissionLoader.php
- -
message: "#^Parameter \\#1 \\$restrictions of method Icinga\\\\Authentication\\\\Role\\:\\:setRestrictions\\(\\) expects array\\<string\\>, array\\<string\\>\\|null given\\.$#" message: "#^Parameter \\#1 \\$restrictions of method Icinga\\\\Authentication\\\\Role\\:\\:setRestrictions\\(\\) expects array\\<string\\>, array\\<string\\>\\|null given\\.$#"
count: 1 count: 1
@ -4140,6 +4255,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/AdmissionLoader.php path: library/Icinga/Authentication/AdmissionLoader.php
-
message: "#^Property Icinga\\\\Authentication\\\\AdmissionLoader\\:\\:\\$roleConfig with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/AdmissionLoader.php
- -
message: "#^Call to an undefined method Icinga\\\\Application\\\\ApplicationBootstrap\\:\\:getRequest\\(\\)\\.$#" message: "#^Call to an undefined method Icinga\\\\Application\\\\ApplicationBootstrap\\:\\:getRequest\\(\\)\\.$#"
count: 1 count: 1
@ -4345,6 +4465,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/User/DbUserBackend.php path: library/Icinga/Authentication/User/DbUserBackend.php
-
message: "#^Method Icinga\\\\Authentication\\\\User\\\\ExternalBackend\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/User/ExternalBackend.php
- -
message: "#^Method Icinga\\\\Authentication\\\\User\\\\ExternalBackend\\:\\:getRemoteUserInformation\\(\\) return type has no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Authentication\\\\User\\\\ExternalBackend\\:\\:getRemoteUserInformation\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -4435,6 +4560,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/User/UserBackend.php path: library/Icinga/Authentication/User/UserBackend.php
-
message: "#^Method Icinga\\\\Authentication\\\\User\\\\UserBackend\\:\\:create\\(\\) has parameter \\$backendConfig with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/User/UserBackend.php
- -
message: "#^Method Icinga\\\\Authentication\\\\User\\\\UserBackend\\:\\:create\\(\\) should return Icinga\\\\Authentication\\\\User\\\\UserBackendInterface but returns Icinga\\\\Authentication\\\\User\\\\DbUserBackend\\|Icinga\\\\Authentication\\\\User\\\\LdapUserBackend\\|null\\.$#" message: "#^Method Icinga\\\\Authentication\\\\User\\\\UserBackend\\:\\:create\\(\\) should return Icinga\\\\Authentication\\\\User\\\\UserBackendInterface but returns Icinga\\\\Authentication\\\\User\\\\DbUserBackend\\|Icinga\\\\Authentication\\\\User\\\\LdapUserBackend\\|null\\.$#"
count: 1 count: 1
@ -4660,11 +4790,21 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
-
message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\:\\:getActiveDirectoryDefaults\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
- -
message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\:\\:getMemberships\\(\\) return type has no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\:\\:getMemberships\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
-
message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\:\\:getOpenLdapDefaults\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
- -
message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\:\\:initializeConversionRules\\(\\) return type has no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\:\\:initializeConversionRules\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -4690,6 +4830,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
-
message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\:\\:setConfig\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php
- -
message: "#^PHPDoc tag @param references unknown parameter\\: \\$username$#" message: "#^PHPDoc tag @param references unknown parameter\\: \\$username$#"
count: 1 count: 1
@ -4770,6 +4915,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Authentication/UserGroup/UserGroupBackend.php path: library/Icinga/Authentication/UserGroup/UserGroupBackend.php
-
message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\UserGroupBackend\\:\\:create\\(\\) has parameter \\$backendConfig with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Authentication/UserGroup/UserGroupBackend.php
- -
message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\UserGroupBackend\\:\\:create\\(\\) should return Icinga\\\\Authentication\\\\UserGroup\\\\UserGroupBackendInterface but returns Icinga\\\\Authentication\\\\UserGroup\\\\DbUserGroupBackend\\|Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\|null\\.$#" message: "#^Method Icinga\\\\Authentication\\\\UserGroup\\\\UserGroupBackend\\:\\:create\\(\\) should return Icinga\\\\Authentication\\\\UserGroup\\\\UserGroupBackendInterface but returns Icinga\\\\Authentication\\\\UserGroup\\\\DbUserGroupBackend\\|Icinga\\\\Authentication\\\\UserGroup\\\\LdapUserGroupBackend\\|null\\.$#"
count: 1 count: 1
@ -7030,16 +7180,6 @@ parameters:
count: 1 count: 1
path: library/Icinga/Crypt/AesCrypt.php path: library/Icinga/Crypt/AesCrypt.php
-
message: "#^Class Icinga\\\\Data\\\\ConfigObject implements generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#"
count: 1
path: library/Icinga/Data/ConfigObject.php
-
message: "#^Class Icinga\\\\Data\\\\ConfigObject implements generic interface Iterator but does not specify its types\\: TKey, TValue$#"
count: 1
path: library/Icinga/Data/ConfigObject.php
- -
message: "#^Method Icinga\\\\Data\\\\ConfigObject\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Data\\\\ConfigObject\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -7050,26 +7190,6 @@ parameters:
count: 1 count: 1
path: library/Icinga/Data/ConfigObject.php path: library/Icinga/Data/ConfigObject.php
-
message: "#^Method Icinga\\\\Data\\\\ConfigObject\\:\\:keys\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: library/Icinga/Data/ConfigObject.php
-
message: "#^Method Icinga\\\\Data\\\\ConfigObject\\:\\:merge\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: library/Icinga/Data/ConfigObject.php
-
message: "#^Method Icinga\\\\Data\\\\ConfigObject\\:\\:merge\\(\\) has parameter \\$data with no value type specified in iterable type array\\|Icinga\\\\Data\\\\ConfigObject\\.$#"
count: 1
path: library/Icinga/Data/ConfigObject.php
-
message: "#^Method Icinga\\\\Data\\\\ConfigObject\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: library/Icinga/Data/ConfigObject.php
- -
message: "#^Method Icinga\\\\Data\\\\DataArray\\\\ArrayDatasource\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Data\\\\DataArray\\\\ArrayDatasource\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -7135,6 +7255,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Data/Db/DbConnection.php path: library/Icinga/Data/Db/DbConnection.php
-
message: "#^Method Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Data/Db/DbConnection.php
- -
message: "#^Method Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:connect\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:connect\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -7175,6 +7300,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Data/Db/DbConnection.php path: library/Icinga/Data/Db/DbConnection.php
-
message: "#^Method Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:getConfig\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Data/Db/DbConnection.php
- -
message: "#^Method Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:insert\\(\\) has parameter \\$bind with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:insert\\(\\) has parameter \\$bind with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -7220,6 +7350,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Data/Db/DbConnection.php path: library/Icinga/Data/Db/DbConnection.php
-
message: "#^Property Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:\\$config with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Data/Db/DbConnection.php
- -
message: "#^Property Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:\\$driverOptions has no type specified\\.$#" message: "#^Property Icinga\\\\Data\\\\Db\\\\DbConnection\\:\\:\\$driverOptions has no type specified\\.$#"
count: 1 count: 1
@ -8370,11 +8505,21 @@ parameters:
count: 1 count: 1
path: library/Icinga/Data/ResourceFactory.php path: library/Icinga/Data/ResourceFactory.php
-
message: "#^Method Icinga\\\\Data\\\\ResourceFactory\\:\\:createResource\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Data/ResourceFactory.php
- -
message: "#^Method Icinga\\\\Data\\\\ResourceFactory\\:\\:getResourceConfig\\(\\) has parameter \\$resourceName with no type specified\\.$#" message: "#^Method Icinga\\\\Data\\\\ResourceFactory\\:\\:getResourceConfig\\(\\) has parameter \\$resourceName with no type specified\\.$#"
count: 1 count: 1
path: library/Icinga/Data/ResourceFactory.php path: library/Icinga/Data/ResourceFactory.php
-
message: "#^Method Icinga\\\\Data\\\\ResourceFactory\\:\\:getResourceConfig\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Data/ResourceFactory.php
- -
message: "#^Method Icinga\\\\Data\\\\ResourceFactory\\:\\:setConfig\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Data\\\\ResourceFactory\\:\\:setConfig\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -9340,6 +9485,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Protocol/File/FileQuery.php path: library/Icinga/Protocol/File/FileQuery.php
-
message: "#^Method Icinga\\\\Protocol\\\\File\\\\FileReader\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Protocol/File/FileReader.php
- -
message: "#^Method Icinga\\\\Protocol\\\\File\\\\FileReader\\:\\:fetchAll\\(\\) return type has no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Protocol\\\\File\\\\FileReader\\:\\:fetchAll\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -9525,6 +9675,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Protocol/Ldap/LdapConnection.php path: library/Icinga/Protocol/Ldap/LdapConnection.php
-
message: "#^Method Icinga\\\\Protocol\\\\Ldap\\\\LdapConnection\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Protocol/Ldap/LdapConnection.php
- -
message: "#^Method Icinga\\\\Protocol\\\\Ldap\\\\LdapConnection\\:\\:addEntry\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Protocol\\\\Ldap\\\\LdapConnection\\:\\:addEntry\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -9730,6 +9885,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Protocol/Ldap/LdapConnection.php path: library/Icinga/Protocol/Ldap/LdapConnection.php
-
message: "#^Property Icinga\\\\Protocol\\\\Ldap\\\\LdapConnection\\:\\:\\$config with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Protocol/Ldap/LdapConnection.php
- -
message: "#^Property Icinga\\\\Protocol\\\\Ldap\\\\LdapConnection\\:\\:\\$ds has no type specified\\.$#" message: "#^Property Icinga\\\\Protocol\\\\Ldap\\\\LdapConnection\\:\\:\\$ds has no type specified\\.$#"
count: 1 count: 1
@ -10355,6 +10515,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Repository/IniRepository.php path: library/Icinga/Repository/IniRepository.php
-
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:extractSectionName\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Repository/IniRepository.php
- -
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:extractSectionName\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:extractSectionName\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -10410,6 +10575,36 @@ parameters:
count: 1 count: 1
path: library/Icinga/Repository/IniRepository.php path: library/Icinga/Repository/IniRepository.php
-
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:onDelete\\(\\) has parameter \\$old with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Repository/IniRepository.php
-
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:onInsert\\(\\) has parameter \\$new with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Repository/IniRepository.php
-
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:onInsert\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Repository/IniRepository.php
-
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:onUpdate\\(\\) has parameter \\$new with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Repository/IniRepository.php
-
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:onUpdate\\(\\) has parameter \\$old with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Repository/IniRepository.php
-
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:onUpdate\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Repository/IniRepository.php
- -
message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:update\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Repository\\\\IniRepository\\:\\:update\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -10420,6 +10615,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Repository/IniRepository.php path: library/Icinga/Repository/IniRepository.php
-
message: "#^PHPDoc tag @var for variable \\$config contains generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 2
path: library/Icinga/Repository/IniRepository.php
- -
message: "#^Parameter \\#1 \\$name of method Icinga\\\\Application\\\\Config\\:\\:removeSection\\(\\) expects string, mixed given\\.$#" message: "#^Parameter \\#1 \\$name of method Icinga\\\\Application\\\\Config\\:\\:removeSection\\(\\) expects string, mixed given\\.$#"
count: 2 count: 2
@ -11060,11 +11260,26 @@ parameters:
count: 4 count: 4
path: library/Icinga/User/Preferences/PreferencesStore.php path: library/Icinga/User/Preferences/PreferencesStore.php
-
message: "#^Method Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/User/Preferences/PreferencesStore.php
-
message: "#^Method Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:create\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/User/Preferences/PreferencesStore.php
- -
message: "#^Method Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:delete\\(\\) has parameter \\$preferenceKeys with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:delete\\(\\) has parameter \\$preferenceKeys with no value type specified in iterable type array\\.$#"
count: 1 count: 1
path: library/Icinga/User/Preferences/PreferencesStore.php path: library/Icinga/User/Preferences/PreferencesStore.php
-
message: "#^Method Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:getStoreConfig\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/User/Preferences/PreferencesStore.php
- -
message: "#^Method Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:insert\\(\\) has parameter \\$preferences with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:insert\\(\\) has parameter \\$preferences with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -11080,6 +11295,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/User/Preferences/PreferencesStore.php path: library/Icinga/User/Preferences/PreferencesStore.php
-
message: "#^Property Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:\\$config with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/User/Preferences/PreferencesStore.php
- -
message: "#^Property Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:\\$preferences type has no value type specified in iterable type array\\.$#" message: "#^Property Icinga\\\\User\\\\Preferences\\\\PreferencesStore\\:\\:\\$preferences type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -11535,6 +11755,31 @@ parameters:
count: 1 count: 1
path: library/Icinga/Web/Announcement/AnnouncementIniRepository.php path: library/Icinga/Web/Announcement/AnnouncementIniRepository.php
-
message: "#^Method Icinga\\\\Web\\\\Announcement\\\\AnnouncementIniRepository\\:\\:onInsertAnnouncement\\(\\) has parameter \\$new with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Announcement/AnnouncementIniRepository.php
-
message: "#^Method Icinga\\\\Web\\\\Announcement\\\\AnnouncementIniRepository\\:\\:onInsertAnnouncement\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Announcement/AnnouncementIniRepository.php
-
message: "#^Method Icinga\\\\Web\\\\Announcement\\\\AnnouncementIniRepository\\:\\:onUpdateAnnouncement\\(\\) has parameter \\$new with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Announcement/AnnouncementIniRepository.php
-
message: "#^Method Icinga\\\\Web\\\\Announcement\\\\AnnouncementIniRepository\\:\\:onUpdateAnnouncement\\(\\) has parameter \\$old with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Announcement/AnnouncementIniRepository.php
-
message: "#^Method Icinga\\\\Web\\\\Announcement\\\\AnnouncementIniRepository\\:\\:onUpdateAnnouncement\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Announcement/AnnouncementIniRepository.php
- -
message: "#^Property Icinga\\\\Web\\\\Announcement\\\\AnnouncementIniRepository\\:\\:\\$configs type has no value type specified in iterable type array\\.$#" message: "#^Property Icinga\\\\Web\\\\Announcement\\\\AnnouncementIniRepository\\:\\:\\$configs type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -12930,6 +13175,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Web/Navigation/Navigation.php path: library/Icinga/Web/Navigation/Navigation.php
-
message: "#^Method Icinga\\\\Web\\\\Navigation\\\\Navigation\\:\\:createItem\\(\\) has parameter \\$properties with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Navigation/Navigation.php
- -
message: "#^Method Icinga\\\\Web\\\\Navigation\\\\Navigation\\:\\:createItem\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Web\\\\Navigation\\\\Navigation\\:\\:createItem\\(\\) has parameter \\$properties with no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -14700,6 +14950,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Web/Widget/Dashboard/Dashlet.php path: library/Icinga/Web/Widget/Dashboard/Dashlet.php
-
message: "#^Method Icinga\\\\Web\\\\Widget\\\\Dashboard\\\\Dashlet\\:\\:fromIni\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Widget/Dashboard/Dashlet.php
- -
message: "#^Method Icinga\\\\Web\\\\Widget\\\\Dashboard\\\\Dashlet\\:\\:fromIni\\(\\) has parameter \\$title with no type specified\\.$#" message: "#^Method Icinga\\\\Web\\\\Widget\\\\Dashboard\\\\Dashlet\\:\\:fromIni\\(\\) has parameter \\$title with no type specified\\.$#"
count: 1 count: 1
@ -14790,6 +15045,11 @@ parameters:
count: 1 count: 1
path: library/Icinga/Web/Widget/Dashboard/Pane.php path: library/Icinga/Web/Widget/Dashboard/Pane.php
-
message: "#^Method Icinga\\\\Web\\\\Widget\\\\Dashboard\\\\Pane\\:\\:fromIni\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: library/Icinga/Web/Widget/Dashboard/Pane.php
- -
message: "#^Method Icinga\\\\Web\\\\Widget\\\\Dashboard\\\\Pane\\:\\:fromIni\\(\\) has parameter \\$title with no type specified\\.$#" message: "#^Method Icinga\\\\Web\\\\Widget\\\\Dashboard\\\\Pane\\:\\:fromIni\\(\\) has parameter \\$title with no type specified\\.$#"
count: 1 count: 1
@ -18250,6 +18510,16 @@ parameters:
count: 1 count: 1
path: modules/monitoring/application/forms/Config/BackendConfigForm.php path: modules/monitoring/application/forms/Config/BackendConfigForm.php
-
message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Forms\\\\Config\\\\BackendConfigForm\\:\\:isValidIdoInstance\\(\\) has parameter \\$resourceConfig with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: modules/monitoring/application/forms/Config/BackendConfigForm.php
-
message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Forms\\\\Config\\\\BackendConfigForm\\:\\:isValidIdoSchema\\(\\) has parameter \\$resourceConfig with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: modules/monitoring/application/forms/Config/BackendConfigForm.php
- -
message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Forms\\\\Config\\\\BackendConfigForm\\:\\:onRequest\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Forms\\\\Config\\\\BackendConfigForm\\:\\:onRequest\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -21330,6 +21600,11 @@ parameters:
count: 1 count: 1
path: modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php path: modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php
-
message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Backend\\\\MonitoringBackend\\:\\:__construct\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php
- -
message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Backend\\\\MonitoringBackend\\:\\:clearInstances\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Backend\\\\MonitoringBackend\\:\\:clearInstances\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -21375,6 +21650,11 @@ parameters:
count: 1 count: 1
path: modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php path: modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php
-
message: "#^Property Icinga\\\\Module\\\\Monitoring\\\\Backend\\\\MonitoringBackend\\:\\:\\$config with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: modules/monitoring/library/Monitoring/Backend/MonitoringBackend.php
- -
message: "#^Property Icinga\\\\Module\\\\Monitoring\\\\Backend\\\\MonitoringBackend\\:\\:\\$instances type has no value type specified in iterable type array\\.$#" message: "#^Property Icinga\\\\Module\\\\Monitoring\\\\Backend\\\\MonitoringBackend\\:\\:\\$instances type has no value type specified in iterable type array\\.$#"
count: 1 count: 1
@ -21750,6 +22030,11 @@ parameters:
count: 1 count: 1
path: modules/monitoring/library/Monitoring/Command/Transport/ApiCommandTransport.php path: modules/monitoring/library/Monitoring/Command/Transport/ApiCommandTransport.php
-
message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Command\\\\Transport\\\\CommandTransport\\:\\:createTransport\\(\\) has parameter \\$config with generic class Icinga\\\\Data\\\\ConfigObject but does not specify its types\\: TValue$#"
count: 1
path: modules/monitoring/library/Monitoring/Command/Transport/CommandTransport.php
- -
message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Command\\\\Transport\\\\CommandTransport\\:\\:send\\(\\) has no return type specified\\.$#" message: "#^Method Icinga\\\\Module\\\\Monitoring\\\\Command\\\\Transport\\\\CommandTransport\\:\\:send\\(\\) has no return type specified\\.$#"
count: 1 count: 1
@ -24195,6 +24480,11 @@ parameters:
count: 1 count: 1
path: modules/setup/application/forms/LdapDiscoveryConfirmPage.php path: modules/setup/application/forms/LdapDiscoveryConfirmPage.php
-
message: "#^Method Icinga\\\\Module\\\\Setup\\\\Forms\\\\LdapDiscoveryConfirmPage\\:\\:getResourceConfig\\(\\) return type with generic class Icinga\\\\Data\\\\ConfigObject does not specify its types\\: TValue$#"
count: 1
path: modules/setup/application/forms/LdapDiscoveryConfirmPage.php
- -
message: "#^Method Icinga\\\\Module\\\\Setup\\\\Forms\\\\LdapDiscoveryConfirmPage\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#" message: "#^Method Icinga\\\\Module\\\\Setup\\\\Forms\\\\LdapDiscoveryConfirmPage\\:\\:getValues\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1 count: 1