[5.3] Translation Update (#45663) #101
ci.yml
on: push
Install PHP dependencies
26s
Matrix: Check PHP code style
Run PHPstan
1m 47s
Matrix: Run integration tests
Matrix: Run Unit tests
Matrix: Check Javascript & CSS code style
Matrix: Run system tests
Annotations
10 errors
Run PHPstan:
administrator/components/com_actionlogs/src/Plugin/ActionLogPlugin.php#L70
Access to deprecated property $app of class Joomla\Component\Actionlogs\Administrator\Plugin\ActionLogPlugin:
5.1.0 will be removed in 7.0 use $this->getApplication() instead
|
Run PHPstan:
administrator/components/com_actionlogs/src/Model/ActionlogsModel.php#L345
Call to deprecated method setError() of class Joomla\CMS\MVC\Model\BaseModel:
3.1.4 will be removed in 6.0
Will be removed without replacement
Throw an Exception instead of using setError
|
Run PHPstan:
administrator/components/com_actionlogs/src/Model/ActionlogModel.php#L62
Call to deprecated method getUser() of class Joomla\CMS\Factory:
4.3 will be removed in 6.0
Load the user service from the dependency injection container or get from the application object
Example:
Factory::getApplication()->getIdentity();
|
Run PHPstan:
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php#L284
Call to deprecated method getDbo() of class Joomla\CMS\Factory:
4.3 will be removed in 6.0
Use the database service in the DI container
Example:
Factory::getContainer()->get(DatabaseInterface::class);
|
Run PHPstan:
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php#L283
Call to deprecated method getLanguage() of class Joomla\CMS\Factory:
4.3 will be removed in 6.0
Use the language service in the DI container or get from the application object
Example:
Factory::getApplication()->getLanguage();
|
Run PHPstan:
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php#L251
Call to deprecated method register() of class JLoader:
4.3 will be removed in 6.0
Classes should be autoloaded. Use JLoader::registerPrefix() or JLoader::registerNamespace() to
register an autoloader for your files.
|
Run PHPstan:
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php#L241
Parameter $object of method Joomla\Component\Actionlogs\Administrator\Helper\ActionlogsHelper::getContentTypeLink() has typehint with deprecated class Joomla\CMS\Object\CMSObject:
4.3 will be removed in 6.0
Use \stdClass or \Joomla\Registry\Registry instead.
Example: new \Joomla\Registry\Registry();
|
Run PHPstan:
administrator/components/com_actionlogs/src/Helper/ActionlogsHelper.php#L103
Call to deprecated method getLanguage() of class Joomla\CMS\Factory:
4.3 will be removed in 6.0
Use the language service in the DI container or get from the application object
Example:
Factory::getApplication()->getLanguage();
|
Run PHPstan:
administrator/components/com_actionlogs/src/Field/LogsdaterangeField.php#L63
Call to deprecated method getLanguage() of class Joomla\CMS\Factory:
4.3 will be removed in 6.0
Use the language service in the DI container or get from the application object
Example:
Factory::getApplication()->getLanguage();
|
Run PHPstan:
administrator/components/com_actionlogs/src/Controller/ActionlogsController.php#L51
Parameter $input of method Joomla\Component\Actionlogs\Administrator\Controller\ActionlogsController::__construct() has typehint with deprecated class Joomla\CMS\Input\Input:
4.3 will be removed in 6.0.
Use Joomla\Input\Input instead
|