-
Notifications
You must be signed in to change notification settings - Fork 276
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
Provide PHP 8.2 support #5052
Provide PHP 8.2 support #5052
Conversation
29b5b8d
to
9a17fbe
Compare
7dbe347
to
f776cf0
Compare
e09ac6f
to
e5dd46e
Compare
e5dd46e
to
b587d4e
Compare
d45d0be
to
eb46a57
Compare
9934bd4
to
c90ea7a
Compare
f776cf0
to
1f7bc87
Compare
@raviks789 Please rebase. |
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.
@raviks789 @sukhwinder33445 Is this detected/fixed somewhere by PHPStan, etc? |
0b65cc7
to
7ba8c6d
Compare
The dynamic properties seems to be identified in #5040 by PHPStan. A few of them have been fixed by @sukhwinder33445 in the same PR. Should I move those related commits to this PR? |
Yes, detected and fixed here. |
70e38f0
to
0a6db98
Compare
e5663db
to
bf74a0b
Compare
W/o this the login page, if on PHP 8.2, says: Deprecated: Creation of dynamic property Icinga\Application\Modules\Module::$configdir is deprecated in /usr/share/icingaweb2/library/Icinga/Application/Modules/Module.php on line 264 This breaks modules (if any) which use the property and not the getter.
The method `Visitor::visitColor` seems like a dead code and contains dynamic property allocation. Hence, this method has been removed.
The mismatch arises after migration from ZF1 to ZF-future.
The functionality to set import to disabled is removed in `lessc`. Hence the code where this property is used has been removed from `LessCompiler`.
bf74a0b
to
8ffdbf8
Compare
#5040 contain these commits. |
Blocked by #5048
Depends on Icinga/icinga-php-thirdparty#11