-
Notifications
You must be signed in to change notification settings - Fork 2
Modernize code #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Modernize code #96
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.
- Use [] instead of list()
- This was only introduced to reduce phpstan errors.
- Remove now obsolete throw annotation and imports
214e28b to
d8c9e53
Compare
BastianLedererIcinga
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Local unit tests all pass when using the other modernize branches.
2d8f6f2 to
d8c9e53
Compare
|
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 |
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 errors