4259 Commits

Author SHA1 Message Date
Johannes Meyer
e3ebe109eb Enable strict CSP if configured 2023-08-28 12:42:32 +02:00
Eric Lippmann
1cd1b500b3 Add helper to enable strict CSP 2023-08-28 12:42:32 +02:00
Sukhwinder Dhillon
3f3f0a1f67 GlobFilter::__construct(): Add possible param type hint 2023-08-23 11:37:00 +02:00
Yonas Habteab
a82e3b2320 Stylable: Fix strokeWidth type hint declaration 2023-08-23 10:53:15 +02:00
Yonas Habteab
a965b5c44b Fix argument type hints 2023-08-23 10:53:15 +02:00
raviks789
19151763af UrlParams: Fix parameter types of addValues() method 2023-08-23 10:53:15 +02:00
raviks789
eed1b0a680 Url: Fix type of parameter $values of with() method 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
fd984c5798 Loader: Fix Variable '$obj' is probably undefined 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
907486ccac NavigationItemRenderer::setOptions(): Add missing return statement 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
66c4fc404e LocalFileStorage::create(): Add missing return statement 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
ee9d139a3a PhpDoc: Fix incorrect @param and @return type hints 2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
5e671e02af Wizard: Fix throw exception 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
302bf3ef54 Tabs: Add $tab_class explicitly as non-dynamic property 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
30b91b9cd2 Tabs: Method render() does not expect any param and import missing Exception class 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
29b2ed22b9 AbstractWidget: Method render() does not expect any param 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
e2e582b095 Navigation/-Item: Fix Variable '$classPath' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
eeff32d4ce AuthBackendController: Fix Variable '$backend' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
d8fe09f368 DirectoryIterator: Fix Variable '$path' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
bdddb88164 DbRepository: Function type() does not exist, it should be called gettype() 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
d24cd0bf09 Root: Fix Variable '$child' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
be241d5b4e LdapQuery: Remove obsolete code 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
a7a94d5307 FileReader: Method count() require no param 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
bdd50bd97d IniWriter: Variable $dangling is always set, but can be empty 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
80b76c6f7d IcingaException: Fix Variable '$index' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
6baf3bc80a DateFormatter: Fix Variable '$formatted' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
dbc8579747 Loader: Define variable $first in method scope 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
53b9774874 Documentation: Add $app, $loader explicitly as non-dynamic property 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
d13f52c1b2 Documentation: Fix Variable '$obj' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
a4744833bc Command: Add PhpDoc 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
1c06aad72f StaticAxis: Fix incorrect return type of methods 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
1271aa8480 (Calender|Logarithmic)Unit: Define return type of overridden methods from Iterator interface 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
2e7d6b43e5 Rect: Fix incorrect name case of class import 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
9c77da0894 LineGraph: Add and explicitly as non-dynamic property 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
b68eb40103 (Bar/Line)Graph: Fix Variable '$ts' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
e3b89184ae UserGroupBackend: Fix Variable '$backend' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
61b827a43c DbUserGroupBackend: Remove unnecessary (! $groupName) check 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
54b3539896 UserBackend: Fix Variable '$backend' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
2626d42c54 LdapUserBackend: Import missing Exception 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
a88d0fe348 Web: Method hasAccessToSharedNavigationItem() requires param #2 of type Config 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
e3036c41a2 Web: Add $accessibleMenuItems explicitly as non-dynamic property 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
391eede52f StderrWriter::log(): Fix Variable '$color' is probably undefined 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
8358dc1c5e Hook::has(): Method expects only one parameter 2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
a0ed272cb8 ApplicationBootstrap: Fix method name case 2023-08-23 10:53:14 +02:00
raviks789
c4a3cee94a UrlParams: Fix type for parameter $default of method get()
The parameter `default` can be null, string, int or bool.
2023-08-23 10:53:14 +02:00
raviks789
d6fd3a97ca DbRepository: Import exception QueryException 2023-08-23 10:53:14 +02:00
raviks789
c46446e17f Url: Fix type for parameter $value of method setParam() 2023-08-23 10:53:14 +02:00
raviks789
2a4f448c3e Url: Use Icinga\Web\Request instead of Zend_Request or Zend_Abstract_Request 2023-08-23 10:53:14 +02:00
raviks789
a317c5981f Discovery: Fix return type of the static method discover() 2023-08-23 10:53:14 +02:00
raviks789
4acee8ab06 Inspection: Fix return type of method error() 2023-08-23 10:53:14 +02:00
raviks789
e946ed1f0e UrlParams: Fix type for parameter $default of method getValues() 2023-08-23 10:53:14 +02:00