elgentos / magento2-inventory-log

Magento 2 - Inventory Log
29 stars 11 forks source link

Rename discouraged method names (PHP 8.2) #14

Open peterjaap opened 1 year ago

peterjaap commented 1 year ago

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