phpmyadmin/libraries/classes/Plugins
Kamil Tekiela 0bdcaba2d2
Add native property types (#18143)
* Add native property types

Includes TypeHints.UnionTypeHintFormat

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Set some default values for properties

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Format and promote properties

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Remove redundant asserts

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Redundant cast

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* $tmanager->theme is never null

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Redundant variable

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Fix empty on $statementInfo bool

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Redundant casts

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Redundant issets

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* getPacked() returns nullable string

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Redundant if

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* $this->content can be null

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Simplify ThemeManager::getInstance()

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Use isset for checking if property is initialized

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Use nullable instead of uninitialized property

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* password is no longer nullable

I can't verify that none of the globals ever tried to set it to null, but the variable should never be nullable.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Update baselines

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* $same_wide_width param can be float or int

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Update Message.php

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Cast Sub_part to int

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

* Fix one line doc comments

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>

---------

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2023-02-26 23:30:41 -03:00
..
Auth Add native property types (#18143) 2023-02-26 23:30:41 -03:00
Export Add native property types (#18143) 2023-02-26 23:30:41 -03:00
Import Add native property types (#18143) 2023-02-26 23:30:41 -03:00
Schema Add native property types (#18143) 2023-02-26 23:30:41 -03:00
Transformations Add trailing comma for multi-line functions 2023-02-24 20:48:46 -03:00
TwoFactor Add native property types (#18143) 2023-02-26 23:30:41 -03:00
AuthenticationPlugin.php Add native property types (#18143) 2023-02-26 23:30:41 -03:00
AuthenticationPluginFactory.php Add native property types (#18143) 2023-02-26 23:30:41 -03:00
ExportPlugin.php Add native property types (#18143) 2023-02-26 23:30:41 -03:00
ImportPlugin.php Add native return type hints (#18126) 2023-02-23 15:43:36 -03:00
IOTransformationsPlugin.php Add native property types (#18143) 2023-02-26 23:30:41 -03:00
Plugin.php Fix coding standard spacing issues 2023-02-24 21:06:17 -03:00
SchemaPlugin.php Fix coding standard spacing issues 2023-02-24 21:06:17 -03:00
TransformationsInterface.php Add native types to TransformationsInterface methods 2022-01-26 15:48:08 -03:00
TransformationsPlugin.php Add trailing comma for multi-line functions 2023-02-24 20:48:46 -03:00
TwoFactorPlugin.php Add native property types (#18143) 2023-02-26 23:30:41 -03:00
UploadInterface.php Add native return type hints (#18126) 2023-02-23 15:43:36 -03:00