for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* userlog module
*
* @copyright XOOPS Project (https://xoops.org)
* @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
* @package userlog class plugin
* @since 1.16
* @author irmtfan ([email protected])
* @author XOOPS Project <www.xoops.org> <www.xoops.ir>
interface UserlogPluginInterface
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
* @param string $subscribe_from Name of the script
* 'name' => 'thread';
* 'title' => _MI_NEWBB_THREAD_NOTIFY;
* 'description' => _MI_NEWBB_THREAD_NOTIFYDSC;
* 'subscribe_from' => 'viewtopic.php';
* 'item_name' => 'topic_id';
* 'allow_bookmark' => 1;
* @return array $item["item_name"] name of the item, $item["item_id"] id of the item
public function item($subscribe_from);
}
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.