magento2-inventory-log icon indicating copy to clipboard operation
magento2-inventory-log copied to clipboard

Rename discouraged method names (PHP 8.2)

Open peterjaap opened this issue 1 year ago • 0 comments

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.
----------------------------------------------------------------------------------------------------------------------------------------------------

peterjaap avatar Mar 14 '23 18:03 peterjaap