-
Notifications
You must be signed in to change notification settings - Fork 196
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
PHP 8.2 - complete dynamic properties for library/Zend #291
PHP 8.2 - complete dynamic properties for library/Zend #291
Conversation
@@ -39,6 +39,13 @@ | |||
*/ | |||
class Zend_View_Helper_Placeholder_Registry | |||
{ | |||
/** | |||
* View object | |||
* |
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.
remove trailing whitespace
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.
trailing space is still there
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.
Now, I fixed here hungtrinh@f269ec7
library/Zend/Form/DisplayGroup.php
Outdated
@@ -29,6 +29,13 @@ | |||
*/ | |||
class Zend_Form_DisplayGroup implements Iterator,Countable | |||
{ | |||
/** | |||
* Element Id | |||
* |
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.
remove trailing space
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.
trailing space is still there
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.
I fixed here hungtrinh@28b4a91
87bd9e4
to
55227b4
Compare
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Amf/AllTests.php
Zend_Cloud_Infrastructure_Adapter_Ec2Test::main() Have two options to fix similar issue: - Remove code call undefine method xxxTest::main(). (simple and don't have any bad effect) - Make sure on top of file xxxTest.php define const like that https://github.com/Shardj/zf1-future/blob/713e3f4e3a8779a7dd983b17260949cf4adec99d/tests/Zend/LoaderTest.php#L29-L31. Body of class xxxTest has method main() like that https://github.com/Shardj/zf1-future/blob/713e3f4e3a8779a7dd983b17260949cf4adec99d/tests/Zend/LoaderTest.php#L78-L82
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Cloud/Infrastructure/Adapter/Ec2Test.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Crypt/Rsa/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Db/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/EventManager/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Filter/AllTests.php
55227b4
to
77b6005
Compare
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Form/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Gdata/SpreadsheetsTest.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Http/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Json/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Loader/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Mail/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/View/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/TimeSyncTest.php
Zend_XmlRpc_ServerTest::main() Have two options to fix similar issue: - Remove code call undefine method xxxTest::main(). (simple and don't have any bad effect) - Make sure on top of file xxxTest.php define const like that https://github.com/Shardj/zf1-future/blob/713e3f4e3a8779a7dd983b17260949cf4adec99d/tests/Zend/LoaderTest.php#L29-L31. Body of class xxxTest has method main() like that https://github.com/Shardj/zf1-future/blob/713e3f4e3a8779a7dd983b17260949cf4adec99d/tests/Zend/LoaderTest.php#L78-L82
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/XmlRpc/ServerTest.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Pdf/AllTests.php
PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated Root cause here: https://github.com/Shardj/zf1-future/blob/713e3f4e3a8779a7dd983b17260949cf4adec99d/library/Zend/Service/Audioscrobbler.php#L204-L206 Verified by: docker run -u "$(id -u):$(id -g)" -v $(pwd):$(pwd) -w $(pwd) -t --rm php:8.2-rc-cli-alpine -d memory_limit=-1 ./bin/phpunit -v --bootstrap tests/TestHelper.php tests/Zend/Service/Audioscrobbler/AllTests.php
77b6005
to
ae901d0
Compare
Thanks. Hard work it is! |
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Ported from Shardj/zf1-future#291 PHP 8.2: Dynamic Properties are deprecated fix Reference: https://php.watch/versions/8.2/dynamic-properties-deprecated
Complete "What Next" section in PR #289
Fix bug PHP 8.2: Dynamic Properties are deprecated' for library/Zend/**