-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Declare $searchForThis property #1689
Conversation
I applied this onto 2.17.4 and there was more to fix:
Here are my patches for Debian (please copy them into this PR):
|
Hi, I'm reluctant to do (another) patch update of Phing 2.x. Are you able to use the latest release candidate for 3.0? |
since debian freezes the 12th I will not have the time to package 3.x if you can include the php 8 fixes and make one more 2.x release that would be awesome, gpg signed would be even more awesome :) I also edited the package.xml a bit: https://salsa.debian.org/php-team/pear/phing/-/blob/debian/latest/debian/patches/0003-Update-the-package-summary.patch |
this is a mistake of mine, you should not put this on classes, only methods |
@williamdes: Apologies, I just took the patches and applied quickly. Cheers for your input and reviewing properly. |
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.
all good, maybe there is more because my build.xml is not that complicated
Hi, closing this PR. I don't have time for another 2.x release, I will endeavor to make a final 3.0 release in the next two months or so. |
Cheers for the update, @mrook. Final release for 3.0 would be great, ta. 👍 |
Was this merged somewhere? |
Nothing merged from this pull request with the changes being specific to v2. v3 had already addressed the original change which I just followed suit with before your feedback noting more problems. I assume those too have been dealt with or otherwise refactored on v3 but it's not something I've checked. Cheers for your help on this PR. While it didn't get merged, the fork was useful for our purposes while we made time to migrate to v3. |
Due to the deprecation of dynamic properties in PHP 8.2 (https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dynamic-properties) any use of phing v2 results in:
$searchForThis
doesn't appear to need to be a class property as I can only see use inPhing::execute()
but I've just followed suit with what's on the main branch for version 3.