30m 32s
Feb 28, 2025, 8:13 AM

joomla-cms

[5.3] Do not use the deprecated get functions in Joomla action log plugin

laoneo
laoneo
openedpull request
#45033

Console Logs

23501 ------ ------------------------------------------------------------------ 150s
23502 168 Call to deprecated method getUser() of class Joomla\CMS\Factory: 150s
23503 4.3 will be removed in 6.0 150s
23504 Load the user service from the dependency injection 150s
23505 container or get from the application object 150s
23506 Example: 150s
23507 Factory::getApplication()->getIdentity(); 150s
23508 🪪 staticMethod.deprecated 150s
23509 ------ ------------------------------------------------------------------ 150s
23510 150s
23511 ------ ----------------------------------------------------------------------- 150s
23512 Line plugins/system/guidedtours/src/Extension/GuidedTours.php 150s
23513 ------ ----------------------------------------------------------------------- 150s
23514 292 Parameter $item of method 150s
23515 Joomla\Plugin\System\GuidedTours\Extension\GuidedTours::processTour() 150s
23516 has typehint with deprecated class Joomla\CMS\Object\CMSObject: 150s
23517 4.3 will be removed in 6.0 150s
23518 Use \stdClass or \Joomla\Registry\Registry instead. 150s
23519 Example: new \Joomla\Registry\Registry(); 150s
23520 🪪 parameter.deprecatedClass 150s
23521 ------ ----------------------------------------------------------------------- 150s
23522 150s
23523 ------ ---------------------------------------------------------------------- 150s
23524 Line plugins/system/httpheaders/postinstall/introduction.php 150s
23525 ------ ---------------------------------------------------------------------- 150s
23526 40 Call to deprecated method getDbo() of class Joomla\CMS\Factory: 150s
23527 4.3 will be removed in 6.0 150s
23528 Use the database service in the DI container 150s
23529 Example: 150s
23530 Factory::getContainer()->get(DatabaseInterface::class); 150s
23531 🪪 staticMethod.deprecated 150s
23532 ------ ---------------------------------------------------------------------- 150s
23533 150s
23534 ------ --------------------------------------------------------------------- 150s
23535 Line plugins/system/jooa11y/src/Extension/Jooa11y.php 150s
23536 ------ --------------------------------------------------------------------- 150s
23537 202 Inner named functions are not supported by PHPStan. Consider 150s
23538 refactoring to an anonymous function, class method, or a 150s
23539 top-level-defined function. See issue #165 150s
23540 (https://github.com/phpstan/phpstan/issues/165) for more details. 150s
23541 🪪 function.inner 150s
23542 215 Function processProps not found. 150s
23543 🪪 function.notFound 150s
23544 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols 150s
23545 216 Function processProps not found. 150s
23546 🪪 function.notFound 150s
23547 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols 150s
23548 ------ --------------------------------------------------------------------- 150s
23549 150s
23550 ------ ----------------------------------------------------------------------- 150s
23551 Line plugins/system/languagefilter/src/Extension/LanguageFilter.php 150s
23552 ------ ----------------------------------------------------------------------- 150s
23553 528 Access to deprecated static property $language of class 150s
23554 Joomla\CMS\Factory: 150s
23555 4.3 will be removed in 6.0 150s
23556 Use the language service in the DI container or get from 150s
23557 the application object 150s
23558 Example: 150s
23559 Factory::getApplication()->getLanguage(); 150s
23560 🪪 staticProperty.deprecated 150s
23561 794 Call to deprecated method register() of class JLoader: 150s
23562 4.3 will be removed in 6.0 150s
23563 Classes should be autoloaded. Use 150s
23564 JLoader::registerPrefix() or JLoader::registerNamespace() to 150s
23565 register an autoloader for your files. 150s
23566 🪪 staticMethod.deprecated 150s
23567 ------ ----------------------------------------------------------------------- 150s
23568 150s
23569 ------ ---------------------------------------------------------------------------------------------------- 150s
23570 Line plugins/system/stats/src/Extension/Stats.php 150s
23571 ------ ---------------------------------------------------------------------------------------------------- 150s
23572 586 Call to deprecated method getInstance() of class 150s
23573 Joomla\CMS\Cache\Cache: 150s
23574 4.2 will be removed in 6.0 150s
23575 Use the cache controller factory instead 150s
23576 Example: 150s
23577 Factory::getContainer()->get(CacheControllerFactoryInterface::class)->createCacheController($type, 150s
23578 $options); 150s
23579 🪪 staticMethod.deprecated 150s
23580 ------ ---------------------------------------------------------------------------------------------------- 150s
23581 150s
23582 ------ --------------------------------------------------------------- 150s
23583 Line plugins/system/webauthn/src/Authentication.php 150s
23584 ------ --------------------------------------------------------------- 150s
23585 193 Class Webauthn\AuthenticatorSelectionCriteria does not have a 150s
23586 constructor and must be instantiated without any parameters. 150s
23587 🪪 new.noConstructor 150s
23588 ------ --------------------------------------------------------------- 150s
23589 150s
23590 ------ --------------------------------------------------------- 150s
23591 Line plugins/system/webauthn/src/MetadataRepository.php 150s
23592 ------ --------------------------------------------------------- 150s
23593 129 Call to deprecated method forUnsecuredSigner() of class 150s
23594 Lcobucci\JWT\Configuration: 150s
23595 Deprecated since v4.3 150s
23596 🪪 staticMethod.deprecated 150s
23597 ------ --------------------------------------------------------- 150s
23598 150s
23599 ------ -------------------------------------------------------------------- 150s
23600 Line plugins/system/webauthn/src/PluginTraits/UserProfileFields.php (in 150s
23601 context of class Joomla\Plugin\System\Webauthn\Extension\Webauthn) 150s
23602 ------ -------------------------------------------------------------------- 150s
23603 178 Call to deprecated method register() of class 150s
23604 Joomla\CMS\HTML\HTMLHelper: 150s
23605 4.0 will be removed in 6.0 150s
23606 Use the service registry instead 150s
23607 HTMLHelper::getServiceRegistry()->register($key, 150s
23608 $function); 150s
23609 🪪 staticMethod.deprecated 150s
23610 ------ -------------------------------------------------------------------- 150s
23611 150s
23612 ------ --------------------------------------------------------------------- 150s
23613 Line plugins/task/sitestatus/services/provider.php 150s
23614 ------ --------------------------------------------------------------------- 150s
23615 40 Instantiated class JConfig not found. 150s
23616 🪪 class.notFound 150s
23617 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols 150s
23618 ------ --------------------------------------------------------------------- 150s
23619 150s
23620 ------ -------------------------------------------------------------------------------------- 150s
23621 Line plugins/task/updatenotification/src/Extension/UpdateNotification.php 150s
23622 ------ -------------------------------------------------------------------------------------- 150s
23623 248 Call to deprecated method getInstance() of class 150s
23624 Joomla\CMS\Table\Table: 150s
23625 4.3 will be removed in 6.0 150s
23626 Use the MvcFactory instead 150s
23627 Example: 150s
23628 Factory::getApplication()->bootComponent('...')->getMVCFactory()->createTable($name, 150s
23629 $prefix, $config); 150s
23630 🪪 staticMethod.deprecated 150s
23631 ------ -------------------------------------------------------------------------------------- 150s
23632 150s
23633 ------ ----------------------------------------------------------------------- 150s
23634 Line plugins/user/joomla/src/Extension/Joomla.php 150s
23635 ------ ----------------------------------------------------------------------- 150s
23636 221 Access to deprecated static property $language of class 150s
23637 Joomla\CMS\Factory: 150s
23638 4.3 will be removed in 6.0 150s
23639 Use the language service in the DI container or get from 150s
23640 the application object 150s
23641 Example: 150s
23642 Factory::getApplication()->getLanguage(); 150s
23643 🪪 staticProperty.deprecated 150s
23644 226 Access to deprecated static property $language of class 150s
23645 Joomla\CMS\Factory: 150s
23646 4.3 will be removed in 6.0 150s
23647 Use the language service in the DI container or get from 150s
23648 the application object 150s
23649 Example: 150s
23650 Factory::getApplication()->getLanguage(); 150s
23651 🪪 staticProperty.deprecated 150s
23652 268 Access to deprecated static property $language of class 150s
23653 Joomla\CMS\Factory: 150s
23654 4.3 will be removed in 6.0 150s
23655 Use the language service in the DI container or get from 150s
23656 the application object 150s
23657 Example: 150s
23658 Factory::getApplication()->getLanguage(); 150s
23659 🪪 staticProperty.deprecated 150s
23660 388 Call to deprecated method getSession() of class Joomla\CMS\Factory: 150s
23661 4.3 will be removed in 6.0 150s
23662 Use the session service in the DI container or get from 150s
23663 the application object 150s
23664 Example: 150s
23665 Factory::getApplication()->getSession(); 150s
23666 🪪 staticMethod.deprecated 150s
23667 ------ ----------------------------------------------------------------------- 150s
23668 150s
23669 ------ --------------------------------------------------------------- 150s
23670 Line plugins/user/profile/src/Extension/Profile.php 150s
23671 ------ --------------------------------------------------------------- 150s
23672 127 Call to deprecated method register() of class 150s
23673 Joomla\CMS\HTML\HTMLHelper: 150s
23674 4.0 will be removed in 6.0 150s
23675 Use the service registry instead 150s
23676 HTMLHelper::getServiceRegistry()->register($key, 150s
23677 $function); 150s
23678 🪪 staticMethod.deprecated 150s
23679 131 Call to deprecated method register() of class 150s
23680 Joomla\CMS\HTML\HTMLHelper: 150s
23681 4.0 will be removed in 6.0 150s
23682 Use the service registry instead 150s
23683 HTMLHelper::getServiceRegistry()->register($key, 150s
23684 $function); 150s
23685 🪪 staticMethod.deprecated 150s
23686 135 Call to deprecated method register() of class 150s
23687 Joomla\CMS\HTML\HTMLHelper: 150s
23688 4.0 will be removed in 6.0 150s
23689 Use the service registry instead 150s
23690 HTMLHelper::getServiceRegistry()->register($key, 150s
23691 $function); 150s
23692 🪪 staticMethod.deprecated 150s
23693 139 Call to deprecated method register() of class 150s
23694 Joomla\CMS\HTML\HTMLHelper: 150s
23695 4.0 will be removed in 6.0 150s
23696 Use the service registry instead 150s
23697 HTMLHelper::getServiceRegistry()->register($key, 150s
23698 $function); 150s
23699 🪪 staticMethod.deprecated 150s
23700 ------ --------------------------------------------------------------- 150s
23701 150s
23702 ------ ----------------------------------------------------------------------- 150s
23703 Line plugins/user/profile/src/Field/TosField.php 150s
23704 ------ ----------------------------------------------------------------------- 150s
23705 80 Call to deprecated method getLanguage() of class Joomla\CMS\Factory: 150s
23706 4.3 will be removed in 6.0 150s
23707 Use the language service in the DI container or get from 150s
23708 the application object 150s
23709 Example: 150s
23710 Factory::getApplication()->getLanguage(); 150s
23711 🪪 staticMethod.deprecated 150s
23712 106 Call to deprecated method getLanguage() of class Joomla\CMS\Factory: 150s
23713 4.3 will be removed in 6.0 150s
23714 Use the language service in the DI container or get from 150s
23715 the application object 150s
23716 Example: 150s
23717 Factory::getApplication()->getLanguage(); 150s
23718 🪪 staticMethod.deprecated 150s
23719 ------ ----------------------------------------------------------------------- 150s
23720 150s
23721 ------ ----------------------------------------------------------------------- 150s
23722 Line plugins/user/terms/src/Field/TermsField.php 150s
23723 ------ ----------------------------------------------------------------------- 150s
23724 98 Call to deprecated method getLanguage() of class Joomla\CMS\Factory: 150s
23725 4.3 will be removed in 6.0 150s
23726 Use the language service in the DI container or get from 150s
23727 the application object 150s
23728 Example: 150s
23729 Factory::getApplication()->getLanguage(); 150s
23730 🪪 staticMethod.deprecated 150s
23731 ------ ----------------------------------------------------------------------- 150s
23732 150s
23733 ------ -------------------------------------------------------- 150s
23734 Line plugins/workflow/featuring/src/Extension/Featuring.php 150s
23735 ------ -------------------------------------------------------- 150s
23736 197 Call to deprecated method singularize() of class 150s
23737 Doctrine\Common\Inflector\Inflector. 150s
23738 🪪 staticMethod.deprecated 150s
23739 ------ -------------------------------------------------------- 150s
23740 150s
23741 ------ ---------------------------------------------------------- 150s
23742 Line plugins/workflow/publishing/src/Extension/Publishing.php 150s
23743 ------ ---------------------------------------------------------- 150s
23744 213 Call to deprecated method singularize() of class 150s
23745 Doctrine\Common\Inflector\Inflector. 150s
23746 🪪 staticMethod.deprecated 150s
23747 ------ ---------------------------------------------------------- 150s
23748 150s
23749 [ERROR] Found 3425 errors 150s
23750 150s
Exit Code 1