Skip to content
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

Rename discouraged method names (PHP 8.2) #14

Open
peterjaap opened this issue Mar 14, 2023 · 0 comments
Open

Rename discouraged method names (PHP 8.2) #14

peterjaap opened this issue Mar 14, 2023 · 0 comments

Comments

@peterjaap
Copy link

peterjaap commented Mar 14, 2023

vendor/bin/phpcs --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.2 -p vendor/catgento

FILE: /data/magento2/vendor/catgento/module-admin-activity/Model/Handler.php
---------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------
 75 | WARNING | Method name "Handler::__initLog" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
---------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /data/magento2/vendor/catgento/module-admin-activity/Ui/Component/Listing/Column/ItemColumn.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------
 169 | WARNING | Method name "ItemColumn::__initLinkParams" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
--------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /data/magento2/vendor/catgento/module-admin-activity/Cron/ClearLog.php
----------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------
 80 | WARNING | Method name "ClearLog::__getDate" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
----------------------------------------------------------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant