Skip to content

Rename discouraged method names (PHP 8.2) #14

Description

@peterjaap

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions