Add phpstan to github action #23
ci.yml
on: pull_request
Install PHP dependencies
23s
Prepare system tests
41s
Check Javascript code style
40s
Check CSS code style
35s
Matrix: Run system tests
Annotations
19 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
|
Run system tests (8.4, cmysqlmax, mysqli, mysql)
The operation was canceled.
|
Run system tests (8.4, cmysqlmax, mysqli, mysql)
Canceling since a higher priority waiting request for CI Joomla-45634 exists
|
Run system tests (8.4, cpostgresmax, pgsql, postgres)
The operation was canceled.
|
Run system tests (8.4, cpostgresmax, pgsql, postgres)
Canceling since a higher priority waiting request for CI Joomla-45634 exists
|
Run system tests (8.1, cpostgres, pgsql, postgres)
The operation was canceled.
|
Run system tests (8.1, cpostgres, pgsql, postgres)
Canceling since a higher priority waiting request for CI Joomla-45634 exists
|
Run system tests (8.1, cpostgres, pgsql, postgres)
The operation was canceled.
|
Run system tests (8.1, cpostgres, pgsql, postgres)
Canceling since a higher priority waiting request for CI Joomla-45634 exists
|
CI Joomla
Canceling since a higher priority waiting request for CI Joomla-45634 exists
|