Conversation
eefa5b5 to
8686b59
Compare
|
The |
db90247 to
204a7aa
Compare
21ca328 to
c248141
Compare
589584f to
c0df0ec
Compare
ef5f5f3 to
9b2ebce
Compare
9b2ebce to
9fc16d4
Compare
|
The rest looks good. |
c0df0ec to
e1a3680
Compare
e1a3680 to
8bee499
Compare
9fc16d4 to
be685ed
Compare
8bee499 to
891337c
Compare
2ebbbb8 to
9aaf2fd
Compare
The base branch was changed.
214e28b to
d8c9e53
Compare
BastianLedererIcinga
left a comment
There was a problem hiding this comment.
Local unit tests all pass when using the other modernize branches.
|
Tests will pass once Icinga/ipl-stdlib#63 is merged. |
|
This PR introduces some breaking changes which should be reverted, such as changes to interfaces, base classes, or classes that may be extended. Could one of you please take over? @BastianLedererIcinga @Jan-Schuppik |
94e4b3e to
45c1306
Compare
BastianLedererIcinga
left a comment
There was a problem hiding this comment.
Looks good, tests all pass with Icinga/ipl-stdlib#63. Icinga\Module\Reporting\RetryConnection should be the only dependency.
|
I created Icinga/icingaweb2-module-reporting#269 to add the required change in sub-class. |
af2395c to
8e95943
Compare
This was only introduced to reduce phpstan errors.
179e59d to
643e72d
Compare
Add strict type declarations to properties, function/method signatures, where types are unambiguous and no inheritance or interface contract is affected.
This change requires an adjustment in the sub-class `Icinga\Module\Reporting\RetryConnection` of the reporting module.
The following tests fail without this change: - `SelectTest::testOrderByWithExpression()`: Method `OrderBy::orderBy()` must support `ExpressionInterface` as param - `SelectTest::testOrderByWithSelect()`: Method `OrderBy::orderBy()` must support `Select` as Param
Since the property `$options` of the class `Config` has a strict type `array`.
643e72d to
3c314dd
Compare
`setupTest()` had an empty function body, so no replacement is necessary.
41e2a82 to
f59dfc7
Compare
The function `arrayval()` no longer throws this exception.
Modernize and clean up the codebase by adopting the latest PHP features and functions.
Changes made:
InAndNotInUtilstrait, as it was only introduced to reduce phpstan errorsRequires changes:
Icinga\Module\Reporting\RetryConnectionof reporting module must be adjusted accordingly.requires Icinga/ipl-i18n#26 (for tests to run, compatibility issue)
requires Icinga/ipl-stdlib#63 (For Test class
CursorTestto pass)