mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-29 00:23:41 +00:00
Bump to version 4.2.0-beta2
This commit is contained in:
parent
febdab6158
commit
7cdcb04552
|
@ -1946,7 +1946,7 @@ $enabled = !empty($configuration);
|
|||
* Sets the PHP timeout to 3600 seconds
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
function setLongTimeout()
|
||||
{
|
||||
|
@ -1962,7 +1962,7 @@ function setLongTimeout()
|
|||
* Sets the memory limit to 1GiB
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
function setHugeMemoryLimit()
|
||||
{
|
||||
|
|
|
@ -588,7 +588,7 @@ class UpdateController extends BaseController
|
|||
* Called by the Joomla Update JavaScript (PreUpdateChecker.checkNextChunk).
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*
|
||||
*/
|
||||
public function batchextensioncompatibility()
|
||||
|
|
|
@ -119,7 +119,7 @@ class HtmlView extends BaseHtmlView
|
|||
* Should I disable the confirmation checkbox for pre-update extension version checks?
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
protected $noVersionCheck = false;
|
||||
|
||||
|
@ -127,7 +127,7 @@ class HtmlView extends BaseHtmlView
|
|||
* Should I disable the confirmation checkbox for taking a backup before updating?
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
protected $noBackupCheck = false;
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ class HtmlView extends BaseHtmlView
|
|||
* Should I disable the confirmation checkbox for taking a backup before updating?
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
protected $noBackupCheck = false;
|
||||
|
||||
|
|
|
@ -174,7 +174,7 @@ class MessagesModel extends ListModel
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function purge(int $userId): void
|
||||
{
|
||||
|
|
|
@ -79,7 +79,7 @@ class MessageController extends BaseController
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function republish()
|
||||
{
|
||||
|
@ -105,7 +105,7 @@ class MessageController extends BaseController
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function archive()
|
||||
{
|
||||
|
|
|
@ -127,7 +127,7 @@ class MessagesModel extends BaseDatabaseModel
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function archiveMessage($id)
|
||||
{
|
||||
|
@ -152,7 +152,7 @@ class MessagesModel extends BaseDatabaseModel
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function republishMessage($id)
|
||||
{
|
||||
|
|
|
@ -743,7 +743,7 @@ class StyleModel extends AdminModel
|
|||
*
|
||||
* @return stdClass
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function getAdminTemplate(int $styleId): stdClass
|
||||
{
|
||||
|
@ -789,7 +789,7 @@ class StyleModel extends AdminModel
|
|||
*
|
||||
* @return array
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function getSiteTemplates(): array
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<copyright>(C) 2019 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<version>4.2.0-beta2-dev</version>
|
||||
<version>4.2.0-beta2</version>
|
||||
<creationDate>2022-06</creationDate>
|
||||
<description>FILES_JOOMLA_XML_DESCRIPTION</description>
|
||||
|
||||
|
|
|
@ -573,7 +573,7 @@ window.Joomla.Modal = window.Joomla.Modal || {
|
|||
*
|
||||
* @type {Array}
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
const requestQueue = [];
|
||||
|
||||
|
@ -582,7 +582,7 @@ window.Joomla.Modal = window.Joomla.Modal || {
|
|||
*
|
||||
* @type {boolean}
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
let performingQueuedRequest = false;
|
||||
|
||||
|
@ -624,7 +624,7 @@ window.Joomla.Modal = window.Joomla.Modal || {
|
|||
/**
|
||||
* Processes queued Request objects.
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
const processQueuedRequests = () => {
|
||||
if (performingQueuedRequest || requestQueue.length === 0) {
|
||||
|
|
|
@ -105,7 +105,7 @@ class RouteHelper extends CMSRouteHelper
|
|||
*
|
||||
* @return string URL link to pass to the router
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function getComponentTagRoute(string $id, string $language = '*'): string
|
||||
|
@ -167,7 +167,7 @@ class RouteHelper extends CMSRouteHelper
|
|||
*
|
||||
* @return string URL link to pass to the router
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function getComponentTagsRoute(string $language = '*'): string
|
||||
|
|
|
@ -128,7 +128,7 @@ class LoginModel extends FormModel
|
|||
*
|
||||
* @return string
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function getMenuLanguage(int $id): string
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Joomla\CMS\Cache;
|
|||
/**
|
||||
* Interface to be implemented by classes depending on a cache controller factory.
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
interface CacheControllerFactoryAwareInterface
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ interface CacheControllerFactoryAwareInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function setCacheControllerFactory(CacheControllerFactoryInterface $factory): void;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ use Joomla\CMS\Factory;
|
|||
/**
|
||||
* Defines the trait for a CacheControllerFactoryInterface Aware Class.
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
trait CacheControllerFactoryAwareTrait
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ trait CacheControllerFactoryAwareTrait
|
|||
*
|
||||
* @var CacheControllerFactoryInterface
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $cacheControllerFactory;
|
||||
|
||||
|
@ -33,7 +33,7 @@ trait CacheControllerFactoryAwareTrait
|
|||
*
|
||||
* @return CacheControllerFactoryInterface
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
protected function getCacheControllerFactory(): CacheControllerFactoryInterface
|
||||
{
|
||||
|
@ -57,7 +57,7 @@ trait CacheControllerFactoryAwareTrait
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function setCacheControllerFactory(CacheControllerFactoryInterface $cacheControllerFactory = null): void
|
||||
{
|
||||
|
|
|
@ -104,7 +104,7 @@ class AddUserCommand extends AbstractCommand
|
|||
*
|
||||
* @param DatabaseInterface $db The database
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DatabaseInterface $db)
|
||||
{
|
||||
|
|
|
@ -78,7 +78,7 @@ class AddUserToGroupCommand extends AbstractCommand
|
|||
*
|
||||
* @param DatabaseInterface $db The database
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DatabaseInterface $db)
|
||||
{
|
||||
|
|
|
@ -69,7 +69,7 @@ class DeleteUserCommand extends AbstractCommand
|
|||
*
|
||||
* @param DatabaseInterface $db The database
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DatabaseInterface $db)
|
||||
{
|
||||
|
|
|
@ -99,7 +99,7 @@ class ExtensionRemoveCommand extends AbstractCommand
|
|||
*
|
||||
* @param DatabaseInterface $db The database
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DatabaseInterface $db)
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ class ListUserCommand extends AbstractCommand
|
|||
*
|
||||
* @param DatabaseInterface $db The database
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DatabaseInterface $db)
|
||||
{
|
||||
|
|
|
@ -78,7 +78,7 @@ class RemoveUserFromGroupCommand extends AbstractCommand
|
|||
*
|
||||
* @param DatabaseInterface $db The database
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DatabaseInterface $db)
|
||||
{
|
||||
|
|
|
@ -1395,7 +1395,7 @@ abstract class InstallerAdapter implements ContainerAwareInterface, DatabaseAwar
|
|||
*
|
||||
* @return mixed The value of the element if set, null otherwise
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*
|
||||
* @deprecated 5.0 Use getDatabase() instead of directly accessing db
|
||||
*/
|
||||
|
|
|
@ -366,7 +366,7 @@ class MVCFactory implements MVCFactoryInterface, FormFactoryAwareInterface, Site
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private function setCacheControllerOnObject($object): void
|
||||
{
|
||||
|
|
|
@ -81,7 +81,7 @@ abstract class CMSPlugin implements DispatcherAwareInterface, PluginInterface
|
|||
*
|
||||
* @var CMSApplicationInterface
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $application;
|
||||
|
||||
|
@ -195,7 +195,7 @@ abstract class CMSPlugin implements DispatcherAwareInterface, PluginInterface
|
|||
*
|
||||
* @return string The translated string
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*
|
||||
* @see sprintf
|
||||
*/
|
||||
|
@ -406,7 +406,7 @@ abstract class CMSPlugin implements DispatcherAwareInterface, PluginInterface
|
|||
*
|
||||
* @return CMSApplicationInterface|null
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
protected function getApplication(): ?CMSApplicationInterface
|
||||
{
|
||||
|
@ -420,7 +420,7 @@ abstract class CMSPlugin implements DispatcherAwareInterface, PluginInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function setApplication(CMSApplicationInterface $application): void
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.8.0
|
||||
*/
|
||||
const EXTRA_VERSION = 'beta2-dev';
|
||||
const EXTRA_VERSION = 'beta2';
|
||||
|
||||
/**
|
||||
* Development status.
|
||||
|
@ -71,7 +71,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.5
|
||||
*/
|
||||
const DEV_STATUS = 'Development';
|
||||
const DEV_STATUS = 'Beta';
|
||||
|
||||
/**
|
||||
* Code name.
|
||||
|
@ -87,7 +87,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.5
|
||||
*/
|
||||
const RELDATE = '7-June-2022';
|
||||
const RELDATE = '22-June-2022';
|
||||
|
||||
/**
|
||||
* Release time.
|
||||
|
@ -95,7 +95,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.5
|
||||
*/
|
||||
const RELTIME = '16:53';
|
||||
const RELTIME = '17:00';
|
||||
|
||||
/**
|
||||
* Release timezone.
|
||||
|
|
|
@ -25,7 +25,7 @@ return new class implements ServiceProviderInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function register(Container $container)
|
||||
{
|
||||
|
|
|
@ -40,7 +40,7 @@ final class Taggable extends CMSPlugin implements SubscriberInterface
|
|||
*
|
||||
* @return array
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public static function getSubscribedEvents(): array
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@ return new class implements ServiceProviderInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function register(Container $container)
|
||||
{
|
||||
|
|
|
@ -36,7 +36,7 @@ final class Versionable extends CMSPlugin implements SubscriberInterface
|
|||
*
|
||||
* @return array
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public static function getSubscribedEvents(): array
|
||||
{
|
||||
|
@ -50,7 +50,7 @@ final class Versionable extends CMSPlugin implements SubscriberInterface
|
|||
* The input filter
|
||||
*
|
||||
* @var InputFilter
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $filter;
|
||||
|
||||
|
@ -58,7 +58,7 @@ final class Versionable extends CMSPlugin implements SubscriberInterface
|
|||
* The CMS helper
|
||||
*
|
||||
* @var CMSHelper
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $helper;
|
||||
|
||||
|
|
|
@ -323,7 +323,7 @@ class PlgSystemHttpHeaders extends CMSPlugin implements SubscriberInterface
|
|||
/**
|
||||
* That line is for B/C we do no longer require to add the nonce tag
|
||||
* but add it once the setting is enabled so this line here is needed
|
||||
* to remove the outdated tag that was required until __DEPLOY_VERSION__
|
||||
* to remove the outdated tag that was required until 4.2.0
|
||||
*/
|
||||
$cspValue->value = str_replace('{nonce}', '', $cspValue->value);
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ return new class implements ServiceProviderInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function register(Container $container)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>__DEPLOY_VERSION__</version>
|
||||
<version>4.2.0</version>
|
||||
<description>PLG_SYSTEM_SHORTCUT_XML_DESCRIPTION</description>
|
||||
<namespace path="src">Joomla\Plugin\System\Shortcut</namespace>
|
||||
<media destination="plg_system_shortcut" folder="media">
|
||||
|
|
|
@ -22,7 +22,7 @@ use Joomla\Event\SubscriberInterface;
|
|||
/**
|
||||
* Shortcut plugin to add accessible keyboard shortcuts to the administrator templates.
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
final class Shortcut extends CMSPlugin implements SubscriberInterface
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ final class Shortcut extends CMSPlugin implements SubscriberInterface
|
|||
* Load the language file on instantiation.
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
protected $autoloadLanguage = true;
|
||||
|
||||
|
@ -49,7 +49,7 @@ final class Shortcut extends CMSPlugin implements SubscriberInterface
|
|||
*
|
||||
* @return array
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public static function getSubscribedEvents(): array
|
||||
{
|
||||
|
@ -64,7 +64,7 @@ final class Shortcut extends CMSPlugin implements SubscriberInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function initialize()
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ final class Shortcut extends CMSPlugin implements SubscriberInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function addShortcuts(Event $event)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ return new class implements ServiceProviderInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function register(Container $container)
|
||||
{
|
||||
|
|
|
@ -71,7 +71,7 @@ final class Requests extends CMSPlugin implements SubscriberInterface
|
|||
* The http factory
|
||||
*
|
||||
* @var HttpFactory
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $httpFactory;
|
||||
|
||||
|
@ -79,7 +79,7 @@ final class Requests extends CMSPlugin implements SubscriberInterface
|
|||
* The root directory
|
||||
*
|
||||
* @var string
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $rootDirectory;
|
||||
|
||||
|
@ -91,7 +91,7 @@ final class Requests extends CMSPlugin implements SubscriberInterface
|
|||
* @param HttpFactory $httpFactory The http factory
|
||||
* @param string $rootDirectory The root directory to store the output file in
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DispatcherInterface $dispatcher, array $config, HttpFactory $httpFactory, string $rootDirectory)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ return new class implements ServiceProviderInterface
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function register(Container $container)
|
||||
{
|
||||
|
|
|
@ -82,7 +82,7 @@ final class SiteStatus extends CMSPlugin implements SubscriberInterface
|
|||
* The old config
|
||||
*
|
||||
* @var array
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $oldConfig;
|
||||
|
||||
|
@ -90,7 +90,7 @@ final class SiteStatus extends CMSPlugin implements SubscriberInterface
|
|||
* The config file
|
||||
*
|
||||
* @var string
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
private $configFile;
|
||||
|
||||
|
@ -102,7 +102,7 @@ final class SiteStatus extends CMSPlugin implements SubscriberInterface
|
|||
* @param array $oldConfig The old config
|
||||
* @param string $configFile The config
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function __construct(DispatcherInterface $dispatcher, array $config, array $oldConfig, string $configFile)
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ use Joomla\Tests\Unit\UnitTestCase;
|
|||
*
|
||||
* @testdoc The CacheControllerFactoryAwareTrait
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
class CacheControllerFactoryAwareTraitTest extends UnitTestCase
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ class CacheControllerFactoryAwareTraitTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testGetCacheControllerFactory()
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@ use stdClass;
|
|||
*
|
||||
* @testdox The CMSPlugin
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
class CMSPluginTest extends UnitTestCase
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInjectedDispatcher()
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInjectedApplication()
|
||||
{
|
||||
|
@ -78,7 +78,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testEmptyParams()
|
||||
{
|
||||
|
@ -95,7 +95,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInjectedRegistryParams()
|
||||
{
|
||||
|
@ -113,7 +113,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInjectedArrayParams()
|
||||
{
|
||||
|
@ -130,7 +130,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInjectedName()
|
||||
{
|
||||
|
@ -152,7 +152,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInjectedType()
|
||||
{
|
||||
|
@ -174,7 +174,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testLoadLanguage()
|
||||
{
|
||||
|
@ -196,7 +196,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testLoadLanguageWithExtensionAndPath()
|
||||
{
|
||||
|
@ -218,7 +218,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testNotLoadLanguageWhenExists()
|
||||
{
|
||||
|
@ -241,7 +241,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testTranslateWithoutArguments()
|
||||
{
|
||||
|
@ -269,7 +269,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testTranslateWithArguments()
|
||||
{
|
||||
|
@ -297,7 +297,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRegisterListenersAsSubscriber()
|
||||
{
|
||||
|
@ -323,7 +323,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRegisterListenersAsLegacy()
|
||||
{
|
||||
|
@ -344,7 +344,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRegisterListenersForEventInterface()
|
||||
{
|
||||
|
@ -365,7 +365,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRegisterListenersWithForcedEventInterface()
|
||||
{
|
||||
|
@ -388,7 +388,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRegisterListenersForNoEventInterface()
|
||||
{
|
||||
|
@ -409,7 +409,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRegisterListenersNotTyped()
|
||||
{
|
||||
|
@ -430,7 +430,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRegisterListenersNullable()
|
||||
{
|
||||
|
@ -451,7 +451,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testDispatchLegacyListener()
|
||||
{
|
||||
|
@ -480,7 +480,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testDispatchLegacyListenerWhenNullIsReturned()
|
||||
{
|
||||
|
@ -507,7 +507,7 @@ class CMSPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testDispatchLegacyListenerWhenEventHasResult()
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@ use Joomla\Uri\UriInterface;
|
|||
*
|
||||
* @testdox The Requests plugin
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
class RequestsPluginTest extends UnitTestCase
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ class RequestsPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ class RequestsPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ class RequestsPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testRequest()
|
||||
{
|
||||
|
@ -125,7 +125,7 @@ class RequestsPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInvalidRequest()
|
||||
{
|
||||
|
@ -179,7 +179,7 @@ class RequestsPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testAuthRequest()
|
||||
{
|
||||
|
@ -230,7 +230,7 @@ class RequestsPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testExceptionInRequest()
|
||||
{
|
||||
|
@ -279,7 +279,7 @@ class RequestsPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInvalidFileToWrite()
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ use Joomla\Tests\Unit\UnitTestCase;
|
|||
*
|
||||
* @testdox The SiteStatus plugin
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
class SiteStatusPluginTest extends UnitTestCase
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function setUp(): void
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function tearDown(): void
|
||||
{
|
||||
|
@ -68,7 +68,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testSetOnlineWhenOffline()
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testSetOnlineWhenOnline()
|
||||
{
|
||||
|
@ -118,7 +118,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testSetOfflineWhenOnline()
|
||||
{
|
||||
|
@ -143,7 +143,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testSetOfflineWhenOffline()
|
||||
{
|
||||
|
@ -168,7 +168,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testToggleOffline()
|
||||
{
|
||||
|
@ -193,7 +193,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testToggleOnline()
|
||||
{
|
||||
|
@ -218,7 +218,7 @@ class SiteStatusPluginTest extends UnitTestCase
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.2.0
|
||||
*/
|
||||
public function testInvalidConfigFile()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user