repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/src/User/View/Helper/NewUsers.php | module/User/src/User/View/Helper/NewUsers.php | <?php
namespace User\View\Helper;
use User\Mapper;
use Zend\View\Helper\AbstractHelper;
class NewUsers extends AbstractHelper
{
/**
* @var Mapper\User
*/
private $userMapper;
/**
* @param Mapper\User $userMapper
*/
public function __construct(Mapper\User $userMapper)
{
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Integration/Controller/UserControllerTest.php | module/User/test/UserTest/Integration/Controller/UserControllerTest.php | <?php
namespace UserTest\Integration\Controller;
use ApplicationTest\Integration\Util\AuthenticationTrait;
use ApplicationTest\Integration\Util\Bootstrap;
use User\Entity\User;
use User\View\Helper\UserOrganizations;
use Zend\Http;
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
use Zend\View;
use Zf... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Integration/GitHub/LoginListenerTest.php | module/User/test/UserTest/Integration/GitHub/LoginListenerTest.php | <?php
namespace UserTest\Integration\GitHub;
use ApplicationTest\Integration\Util\Bootstrap;
use Hybrid_User_Profile;
use PHPUnit_Framework_TestCase;
use ReflectionClass;
use ScnSocialAuth\Authentication\Adapter\HybridAuth;
use User\GitHub\LoginListener;
use User\Module;
use Zend\EventManager\EventManager;
use Zend\M... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Integration/Mapper/UserTest.php | module/User/test/UserTest/Integration/Mapper/UserTest.php | <?php
namespace UserTest\Integration\Mapper;
use ApplicationTest\Integration\Util\Bootstrap;
use PHPUnit_Framework_TestCase;
use User\Mapper;
/**
* @coversNothing
*/
class UserTest extends PHPUnit_Framework_TestCase
{
public function testCanCreateService()
{
$serviceManager = Bootstrap::getServiceM... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Integration/View/Helper/UserOrganizationsTest.php | module/User/test/UserTest/Integration/View/Helper/UserOrganizationsTest.php | <?php
namespace UserTest\Integration\View\Helper;
class UserOrganizationsTest extends AbstractTestCase
{
public function testCanCreateService()
{
$this->assertInstanceOf(
'User\View\Helper\UserOrganizations',
$this->getHelperPluginManager()->get('userOrganizations')
);
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Integration/View/Helper/AbstractTestCase.php | module/User/test/UserTest/Integration/View/Helper/AbstractTestCase.php | <?php
namespace UserTest\Integration\View\Helper;
use ApplicationTest\Integration\Util\Bootstrap;
use PHPUnit_Framework_TestCase;
use Zend\ServiceManager\ServiceManager;
use Zend\View\HelperPluginManager;
abstract class AbstractTestCase extends PHPUnit_Framework_TestCase
{
/**
* @return ServiceManager
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Integration/View/Helper/NewUsersTest.php | module/User/test/UserTest/Integration/View/Helper/NewUsersTest.php | <?php
namespace UserTest\Integration\View\Helper;
class NewUsersTest extends AbstractTestCase
{
public function testCanCreateService()
{
$this->assertInstanceOf(
'User\View\Helper\NewUsers',
$this->getHelperPluginManager()->get('newUsers')
);
}
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Entity/UserTest.php | module/User/test/UserTest/Entity/UserTest.php | <?php
namespace UserTest\Entity;
use PHPUnit_Framework_TestCase;
use User\Entity;
use ZfcUser\Entity\User;
class UserTest extends PHPUnit_Framework_TestCase
{
/**
* @var Entity\User
*/
private $user;
public function setUp()
{
$this->user = new Entity\User();
}
public funct... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/Controller/UserControllerTest.php | module/User/test/UserTest/Controller/UserControllerTest.php | <?php
namespace UserTest\Controller;
use ApplicationTest\Integration\Util\Bootstrap;
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
use ZfcUser\Controller\UserController;
/**
* @covers UserController
*/
class UserControllerTest extends AbstractHttpControllerTestCase
{
protected function setUp... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/GitHub/LoginListenerTest.php | module/User/test/UserTest/GitHub/LoginListenerTest.php | <?php
namespace UserTest\GitHub;
use Hybrid_User_Profile;
use PHPUnit_Framework_TestCase;
use ReflectionClass;
use User\Entity\User;
use User\GitHub\LoginListener;
use Zend\EventManager\Event;
use Zend\EventManager\SharedEventManager;
/**
* Test case for {@see \User\GitHub\LoginListener}
*/
class LoginListenerTest... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/View/Helper/UserOrganizationsTest.php | module/User/test/UserTest/View/Helper/UserOrganizationsTest.php | <?php
namespace UserTest\View\Helper;
use EdpGithub\Api;
use EdpGithub\Client;
use PHPUnit_Framework_TestCase;
use User\View\Helper;
use Zend\View;
class UserOrganizationsTest extends PHPUnit_Framework_TestCase
{
public function testInvokeRendersViewScriptWithUserOrganizations()
{
$organizations = [
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/test/UserTest/View/Helper/NewUsersTest.php | module/User/test/UserTest/View/Helper/NewUsersTest.php | <?php
namespace UserTest\View\Helper;
use PHPUnit_Framework_TestCase;
use User\Mapper;
use User\View\Helper;
use Zend\View;
class NewUsersTest extends PHPUnit_Framework_TestCase
{
public function testInvokeRendersViewScriptWith16MostRecentUsers()
{
$users = [
'Jane',
'Suzie',
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/User/config/module.config.php | module/User/config/module.config.php | <?php
use User\Controller;
use User\GitHub;
use User\Mapper;
return [
'controllers' => [
'aliases' => [
'zfcuser' => Controller\UserController::class,
],
'factories' => [
Controller\UserController::class => Controller\UserControllerFactory::class,
],
],
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Module.php | module/ZfModule/src/ZfModule/Module.php | <?php
namespace ZfModule;
class Module
{
public function getConfig()
{
return include __DIR__ . '/../../config/module.config.php';
}
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Entity/Module.php | module/ZfModule/src/ZfModule/Entity/Module.php | <?php
namespace ZfModule\Entity;
use DateTime;
class Module implements ModuleInterface
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $name;
/**
* @var string
*/
private $description;
/**
* @var string
*/
private $url;
/**... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Entity/ModuleInterface.php | module/ZfModule/src/ZfModule/Entity/ModuleInterface.php | <?php
namespace ZfModule\Entity;
interface ModuleInterface
{
/**
* Get Owner
*
* @return string
*/
public function getOwner();
/**
* Set Owner
*
* @param string
*/
public function setOwner($owner);
/**
* Get Photo URL
*
* @return string
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Entity/Exception/ExceptionInterface.php | module/ZfModule/src/ZfModule/Entity/Exception/ExceptionInterface.php | <?php
namespace ZfModule\Entity\Exception;
interface ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Entity/Exception/UnexpectedValueException.php | module/ZfModule/src/ZfModule/Entity/Exception/UnexpectedValueException.php | <?php
namespace ZfModule\Entity\Exception;
class UnexpectedValueException extends \UnexpectedValueException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Entity/Exception/InvalidArgumentException.php | module/ZfModule/src/ZfModule/Entity/Exception/InvalidArgumentException.php | <?php
namespace ZfModule\Entity\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Entity/Exception/DomainException.php | module/ZfModule/src/ZfModule/Entity/Exception/DomainException.php | <?php
namespace ZfModule\Entity\Exception;
class DomainException extends \DomainException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/ModuleController.php | module/ZfModule/src/ZfModule/Controller/ModuleController.php | <?php
namespace ZfModule\Controller;
use Application\Service\RepositoryRetriever;
use EdpGithub\Collection\RepositoryCollection;
use stdClass;
use Zend\Http;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use ZfcUser\Controller\Plugin;
use ZfModule\Mapper;
use ZfModule\Service;
/**
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/UserControllerFactory.php | module/ZfModule/src/ZfModule/Controller/UserControllerFactory.php | <?php
namespace ZfModule\Controller;
use Zend\Mvc\Controller\ControllerManager;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfModule\Mapper;
use ZfModule\Service;
class UserControllerFactory implements FactoryInterface
{
/**
* @param ServiceLocatorInterface... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/UserController.php | module/ZfModule/src/ZfModule/Controller/UserController.php | <?php
namespace ZfModule\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use ZfModule\Mapper;
class UserController extends AbstractActionController
{
/**
* @var Mapper\Module
*/
private $moduleMapper;
/**
* @param Mapper\Module $moduleMapper
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/ModuleControllerFactory.php | module/ZfModule/src/ZfModule/Controller/ModuleControllerFactory.php | <?php
namespace ZfModule\Controller;
use Application\Service\RepositoryRetriever;
use Zend\Mvc\Controller\ControllerManager;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfModule\Mapper;
use ZfModule\Service;
class ModuleControllerFactory implements FactoryInterface
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/Exception/ExceptionInterface.php | module/ZfModule/src/ZfModule/Controller/Exception/ExceptionInterface.php | <?php
namespace ZfModule\Controller\Exception;
interface ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/Exception/RepositoryException.php | module/ZfModule/src/ZfModule/Controller/Exception/RepositoryException.php | <?php
namespace ZfModule\Controller\Exception;
use Application\Exception;
use Zend\Http;
final class RepositoryException extends Exception\ViewableUserException
{
/**
* Generates an Exception when an invalid Repository is requested
*
* @param string $publicMessage
* @param string $repositoryO... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/Exception/RuntimeException.php | module/ZfModule/src/ZfModule/Controller/Exception/RuntimeException.php | <?php
namespace ZfModule\Controller\Exception;
class RuntimeException extends \RuntimeException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/Exception/UnexpectedValueException.php | module/ZfModule/src/ZfModule/Controller/Exception/UnexpectedValueException.php | <?php
namespace ZfModule\Controller\Exception;
class UnexpectedValueException extends \UnexpectedValueException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Controller/Exception/InvalidDataException.php | module/ZfModule/src/ZfModule/Controller/Exception/InvalidDataException.php | <?php
namespace ZfModule\Controller\Exception;
use Application\Exception;
use Zend\Http;
final class InvalidDataException extends Exception\ViewableUserException
{
/**
* Generates an Exception from a Invalid Post Request
*
* @param string $publicMessage
* @param Http\Request $request
* @... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/Module.php | module/ZfModule/src/ZfModule/Mapper/Module.php | <?php
namespace ZfModule\Mapper;
use Zend\Db\ResultSet\HydratingResultSet;
use Zend\Db\Sql;
use Zend\Paginator\Adapter\DbSelect;
use Zend\Paginator\Paginator;
use Zend\Stdlib\Hydrator\HydratorInterface;
use ZfcBase\Mapper\AbstractDbMapper;
use ZfModule\Entity;
class Module extends AbstractDbMapper implements ModuleI... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/ModuleHydrator.php | module/ZfModule/src/ZfModule/Mapper/ModuleHydrator.php | <?php
namespace ZfModule\Mapper;
use Zend\Stdlib\Hydrator\Reflection;
use ZfModule\Entity;
class ModuleHydrator extends Reflection
{
/**
* Extract values from an object
*
* @param object $object
* @return array
* @throws Exception\InvalidArgumentException
*/
public function ext... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/ModuleFactory.php | module/ZfModule/src/ZfModule/Mapper/ModuleFactory.php | <?php
namespace ZfModule\Mapper;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
/**
* Module Mapper Factory
*/
class ModuleFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $serviceLocator)
{
$hydrator = $serviceL... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/ModuleToFeed.php | module/ZfModule/src/ZfModule/Mapper/ModuleToFeed.php | <?php
namespace ZfModule\Mapper;
use Zend\Feed\Writer\Entry;
use Zend\Feed\Writer\Feed;
use Zend\Mvc\Controller\Plugin\Url as UrlPlugin;
use ZfModule\Entity\Module as ModuleEntity;
/**
* ModuleToFeed
*
* @author Witold Wasiczko <witold@wasiczko.pl>
*/
class ModuleToFeed
{
/**
* @var Feed
*/
pro... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/ModuleInterface.php | module/ZfModule/src/ZfModule/Mapper/ModuleInterface.php | <?php
namespace ZfModule\Mapper;
interface ModuleInterface
{
public function findByName($name);
public function findByUrl($url);
public function insert($module);
public function update($module);
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/Exception/ExceptionInterface.php | module/ZfModule/src/ZfModule/Mapper/Exception/ExceptionInterface.php | <?php
namespace ZfModule\Mapper\Exception;
use ZfcBase\Mapper\Exception\ExceptionInterface as Exception;
interface ExceptionInterface extends Exception
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/Exception/RuntimeException.php | module/ZfModule/src/ZfModule/Mapper/Exception/RuntimeException.php | <?php
namespace ZfModule\Mapper\Exception;
class RuntimeException extends \RuntimeException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Mapper/Exception/InvalidArgumentException.php | module/ZfModule/src/ZfModule/Mapper/Exception/InvalidArgumentException.php | <?php
namespace ZfModule\Mapper\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Delegators/EdpGithubClientAuthenticator.php | module/ZfModule/src/ZfModule/Delegators/EdpGithubClientAuthenticator.php | <?php
namespace ZfModule\Delegators;
use EdpGithub\Client;
use Zend\ServiceManager\DelegatorFactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class EdpGithubClientAuthenticator implements DelegatorFactoryInterface
{
/**
* {@inheritDoc}
*
* @return Client
*/
public functio... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Service/Module.php | module/ZfModule/src/ZfModule/Service/Module.php | <?php
namespace ZfModule\Service;
use EdpGithub\Client;
use EdpGithub\Collection\RepositoryCollection;
use EdpGithub\Http\Client as HttpClient;
use stdClass;
use Zend\Http;
use ZfcBase\EventManager\EventProvider;
use ZfModule\Entity;
use ZfModule\Mapper;
class Module extends EventProvider
{
/**
* @var Mappe... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Service/ModuleFactory.php | module/ZfModule/src/ZfModule/Service/ModuleFactory.php | <?php
namespace ZfModule\Service;
use EdpGithub\Client;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfModule\Mapper;
class ModuleFactory implements FactoryInterface
{
/**
* {@inheritDoc}
*
* @return Module
*/
public function createService... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Service/Exception/ExceptionInterface.php | module/ZfModule/src/ZfModule/Service/Exception/ExceptionInterface.php | <?php
namespace ZfModule\Service\Exception;
interface ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/Service/Exception/InvalidArgumentException.php | module/ZfModule/src/ZfModule/Service/Exception/InvalidArgumentException.php | <?php
namespace ZfModule\Service\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/NewModule.php | module/ZfModule/src/ZfModule/View/Helper/NewModule.php | <?php
namespace ZfModule\View\Helper;
use Zend\View\Helper\AbstractHelper;
use ZfModule\Mapper;
class NewModule extends AbstractHelper
{
/**
* @var Mapper\Module
*/
private $moduleMapper;
/**
* @param Mapper\Module $moduleMapper
*/
public function __construct(Mapper\Module $modul... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/ModuleDescription.php | module/ZfModule/src/ZfModule/View/Helper/ModuleDescription.php | <?php
namespace ZfModule\View\Helper;
use Zend\View\Helper\AbstractHelper;
class ModuleDescription extends AbstractHelper
{
/**
* @param $repository
* @return string
*/
public function __invoke($repository)
{
return $this->getView()->render('zf-module/helper/module-description.phtm... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/Repository.php | module/ZfModule/src/ZfModule/View/Helper/Repository.php | <?php
namespace ZfModule\View\Helper;
use stdClass;
use Zend\View\Helper\AbstractHelper;
class Repository extends AbstractHelper
{
const BUTTON_SUBMIT = 'submit';
const BUTTON_REMOVE = 'remove';
/**
* @param stdClass $module
* @param string $button
* @return string
*/
public func... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/TotalModulesFactory.php | module/ZfModule/src/ZfModule/View/Helper/TotalModulesFactory.php | <?php
namespace ZfModule\View\Helper;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\View\HelperPluginManager;
use ZfModule\Mapper;
class TotalModulesFactory implements FactoryInterface
{
/**
* {@inheritDoc}
*
* @return TotalModules
*/
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/NewModuleFactory.php | module/ZfModule/src/ZfModule/View/Helper/NewModuleFactory.php | <?php
namespace ZfModule\View\Helper;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\View\HelperPluginManager;
use ZfModule\Mapper;
class NewModuleFactory implements FactoryInterface
{
/**
* {@inheritDoc}
*
* @return NewModule
*/
public... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/TwitterWidget.php | module/ZfModule/src/ZfModule/View/Helper/TwitterWidget.php | <?php
namespace ZfModule\View\Helper;
use Zend\View\Helper\AbstractHelper;
class TwitterWidget extends AbstractHelper
{
/**
* @return string
*/
public function __invoke()
{
return $this->getView()->render('zf-module/helper/twitter-widget-view.phtml');
}
}
| php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/ComposerView.php | module/ZfModule/src/ZfModule/View/Helper/ComposerView.php | <?php
namespace ZfModule\View\Helper;
use Zend\View\Helper\AbstractHelper;
class ComposerView extends AbstractHelper
{
/**
* @param string $composerConf
* @return string
*/
public function __invoke($composerConf)
{
return $this->getView()->render('zf-module/helper/composer-view.pht... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/src/ZfModule/View/Helper/TotalModules.php | module/ZfModule/src/ZfModule/View/Helper/TotalModules.php | <?php
namespace ZfModule\View\Helper;
use Zend\View\Helper\AbstractHelper;
use ZfModule\Mapper;
class TotalModules extends AbstractHelper
{
/**
* @var Mapper\Module
*/
private $moduleMapper;
/**
* @var int
*/
private $total;
/**
* @param Mapper\Module $moduleMapper
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Integration/Controller/UserControllerTest.php | module/ZfModule/test/ZfModuleTest/Integration/Controller/UserControllerTest.php | <?php
namespace ZfModuleTest\Integration\Controller;
use ApplicationTest\Integration\Util\Bootstrap;
use Zend\Http;
use Zend\Paginator;
use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;
use ZfModule\Controller;
use ZfModule\Mapper;
class UserControllerTest extends AbstractHttpControllerTestCase
{
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Integration/Controller/ModuleControllerTest.php | module/ZfModule/test/ZfModuleTest/Integration/Controller/ModuleControllerTest.php | <?php
namespace ZfModuleTest\Integration\Controller;
use Application\Service\RepositoryRetriever;
use ApplicationTest\Integration\Util\AuthenticationTrait;
use ApplicationTest\Integration\Util\Bootstrap;
use EdpGithub\Collection;
use PHPUnit_Framework_MockObject_MockObject;
use stdClass;
use Zend\Http;
use Zend\Mvc;
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | true |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Integration/Mapper/ModuleTest.php | module/ZfModule/test/ZfModuleTest/Integration/Mapper/ModuleTest.php | <?php
namespace ZfModuleTest\Integration\Mapper;
use ApplicationTest\Integration\Util\Bootstrap;
use PHPUnit_Framework_TestCase;
use Zend\Db;
use Zend\Db\Adapter\Exception\RuntimeException as DbRuntimeException;
use ZfModule\Entity;
use ZfModule\Mapper;
/**
* @coversNothing
*/
class ModuleTest extends PHPUnit_Fram... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Integration/Mapper/ModuleHydratorTest.php | module/ZfModule/test/ZfModuleTest/Integration/Mapper/ModuleHydratorTest.php | <?php
namespace ZfModuleTest\Integration\Mapper;
use ApplicationTest\Integration\Util\Bootstrap;
use PHPUnit_Framework_TestCase;
use ZfModule\Mapper;
/**
* @coversNothing
*/
class ModuleHydratorTest extends PHPUnit_Framework_TestCase
{
public function testCanRetrieveService()
{
$serviceManager = Bo... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Integration/Service/ModuleTest.php | module/ZfModule/test/ZfModuleTest/Integration/Service/ModuleTest.php | <?php
namespace ZfModuleTest\Integration\Service;
use ApplicationTest\Integration\Util\Bootstrap;
use PHPUnit_Framework_TestCase;
use ZfModule\Service;
/**
* @coversNothing
*/
class ModuleTest extends PHPUnit_Framework_TestCase
{
public function testCanRetrieveService()
{
$serviceManager = Bootstra... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Integration/View/Helper/RepositoryTest.php | module/ZfModule/test/ZfModuleTest/Integration/View/Helper/RepositoryTest.php | <?php
namespace ZfModuleTest\Integration\View\Helper;
use ApplicationTest\Integration\Util\Bootstrap;
use PHPUnit_Framework_TestCase;
use Zend\View\HelperPluginManager;
use ZfModule\View\Helper;
/**
* @coversNothing
*/
class RepositoryTest extends PHPUnit_Framework_TestCase
{
public function testCanRetrieveSer... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Entity/ModuleTest.php | module/ZfModule/test/ZfModuleTest/Entity/ModuleTest.php | <?php
namespace ZfModuleTest\Entity;
use DateTime;
use PHPUnit_Framework_TestCase;
use ZfModule\Entity;
class ModuleTest extends PHPUnit_Framework_TestCase
{
/**
* @var Entity\Module
*/
private $module;
public function setUp()
{
$this->module = new Entity\Module();
}
publi... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Mock/Collection/RepositoryCollection.php | module/ZfModule/test/ZfModuleTest/Mock/Collection/RepositoryCollection.php | <?php
namespace ZfModuleTest\Mock\Collection;
use Iterator;
class RepositoryCollection implements Iterator
{
/**
* @var array
*/
private $repositories;
public function __construct(array $repositories = [])
{
$this->repositories = $repositories;
}
public function current()
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Exception/InvalidDataExceptionTest.php | module/ZfModule/test/ZfModuleTest/Exception/InvalidDataExceptionTest.php | <?php
namespace ZfModuleTest\Exception;
use PHPUnit_Framework_TestCase;
use Zend\Http;
use ZfModule\Controller\Exception;
class InvalidDataExceptionTest extends PHPUnit_Framework_TestCase
{
public function testCreateExceptionFromStaticMethodInvalidRequest()
{
$requestMock = $this->getMock(Http\Reques... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Exception/RepositoryExceptionTest.php | module/ZfModule/test/ZfModuleTest/Exception/RepositoryExceptionTest.php | <?php
namespace ZfModuleTest\Exception;
use PHPUnit_Framework_TestCase;
use Zend\Http;
use ZfModule\Controller\Exception;
class RepositoryExceptionTest extends PHPUnit_Framework_TestCase
{
public function testCreateExceptionFromNotFoundRepository()
{
$exception = Exception\RepositoryException::fromNo... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Mapper/ModuleHydratorTest.php | module/ZfModule/test/ZfModuleTest/Mapper/ModuleHydratorTest.php | <?php
namespace ZfModuleTest\Mapper;
use PHPUnit_Framework_TestCase;
use stdClass;
use ZfModule\Entity\Module;
use ZfModule\Mapper\ModuleHydrator;
class ModuleHydratorTest extends PHPUnit_Framework_TestCase
{
public function testEntityHydratorCanExtract()
{
$module = new Module();
$module->se... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Mapper/ModuleToFeedTest.php | module/ZfModule/test/ZfModuleTest/Mapper/ModuleToFeedTest.php | <?php
namespace ZfModuleTest\Mapper;
class ModuleToFeedTest extends \PHPUnit_Framework_TestCase
{
public function testAddModule()
{
$dateTime = new \DateTime();
$module = $this->getMockBuilder(\ZfModule\Entity\Module::class)->getMock();
$module->expects($this->once())->method('getName... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/Service/ModuleTest.php | module/ZfModule/test/ZfModuleTest/Service/ModuleTest.php | <?php
namespace ZfModuleTest\Service;
use EdpGithub\Api;
use EdpGithub\Client;
use EdpGithub\Http\Client as HttpClient;
use PHPUnit_Framework_TestCase;
use stdClass;
use Zend\Http;
use ZfModule\Entity;
use ZfModule\Mapper;
use ZfModule\Service;
use ZfModuleTest\Mock;
class ModuleTest extends PHPUnit_Framework_TestCa... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/View/Helper/NewModuleTest.php | module/ZfModule/test/ZfModuleTest/View/Helper/NewModuleTest.php | <?php
namespace ZfModuleTest\View\Helper;
use PHPUnit_Framework_TestCase;
use Zend\View;
use ZfModule\Mapper;
use ZfModule\View\Helper;
class NewModuleTest extends PHPUnit_Framework_TestCase
{
public function testInvokeRendersViewScriptWithTenMostRecentModules()
{
$modules = [
'foo',
... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/View/Helper/ModuleDescriptionTest.php | module/ZfModule/test/ZfModuleTest/View/Helper/ModuleDescriptionTest.php | <?php
namespace ZfModuleTest\View\Helper;
use PHPUnit_Framework_TestCase;
use stdClass;
use Zend\View;
use ZfModule\View\Helper;
class ModuleDescriptionTest extends PHPUnit_Framework_TestCase
{
public function testInvokeRendersViewScript()
{
$module = new stdClass();
$module->owner = new stdC... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/View/Helper/TotalModulesTest.php | module/ZfModule/test/ZfModuleTest/View/Helper/TotalModulesTest.php | <?php
namespace ZfModuleTest\View\Helper;
use PHPUnit_Framework_TestCase;
use ReflectionObject;
use ZfModule\Mapper;
use ZfModule\View\Helper;
class TotalModulesTest extends PHPUnit_Framework_TestCase
{
public function testInvokeReturnsNumberOfTotalModules()
{
$totalModules = 9000;
$moduleMa... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/View/Helper/RepositoryTest.php | module/ZfModule/test/ZfModuleTest/View/Helper/RepositoryTest.php | <?php
namespace ZfModuleTest\View\Helper;
use PHPUnit_Framework_TestCase;
use stdClass;
use Zend\View;
use ZfModule\View\Helper;
class RepositoryTest extends PHPUnit_Framework_TestCase
{
public function testInvokeHandlesRepository()
{
$repository = $this->repository();
$view = $this->getMock... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/test/ZfModuleTest/View/Helper/ComposerViewTest.php | module/ZfModule/test/ZfModuleTest/View/Helper/ComposerViewTest.php | <?php
namespace ZfModuleTest\View\Helper;
use PHPUnit_Framework_TestCase;
use Zend\View;
use ZfModule\View\Helper;
class ComposerViewTest extends PHPUnit_Framework_TestCase
{
public function testInvokeRendersViewScript()
{
$composerConf = '{"foo":"bar"}';
$view = $this->getMockForAbstractCla... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
zendframework/modules.zendframework.com | https://github.com/zendframework/modules.zendframework.com/blob/0bdef8d736daa741925e8d869a8e00973115939c/module/ZfModule/config/module.config.php | module/ZfModule/config/module.config.php | <?php
use EdpGithub\Client;
use ZfModule\Controller;
use ZfModule\Delegators\EdpGithubClientAuthenticator;
use ZfModule\Mapper;
use ZfModule\Service;
use ZfModule\View\Helper;
return [
'controllers' => [
'factories' => [
Controller\ModuleController::class => Controller\ModuleControllerFactory... | php | BSD-3-Clause | 0bdef8d736daa741925e8d869a8e00973115939c | 2026-01-05T02:55:32.704291Z | false |
injahow/bilibili-parse | https://github.com/injahow/bilibili-parse/blob/370378bfa1a1dcdcf13c716bbed77ebecdc66e1b/index.php | index.php | <?php
// allow cross
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET');
$av = isset($_GET['av']) ? intval($_GET['av']) : 0;
$bv = isset($_GET['bv']) ? $_GET['bv'] : '';
$cid = isset($_GET['cid']) ? intval($_GET['cid']) : 0;
$ep = isset($_GET['ep']) ? intval($_GET['ep']) : 0;
if (!$... | php | MIT | 370378bfa1a1dcdcf13c716bbed77ebecdc66e1b | 2026-01-05T02:55:51.480328Z | false |
injahow/bilibili-parse | https://github.com/injahow/bilibili-parse/blob/370378bfa1a1dcdcf13c716bbed77ebecdc66e1b/src/Bilibili.php | src/Bilibili.php | <?php
/**
* bilbili video api
* https://injahow.com
* https://github.com/injahow/bilibili-parse
* Version 0.4.8
*
* Copyright 2019, injahow
* Released under the MIT license
*/
namespace Injahow;
class Bilibili
{
public $aid;
public $bvid;
public $epid;
public $page = 1;
public $cid;
p... | php | MIT | 370378bfa1a1dcdcf13c716bbed77ebecdc66e1b | 2026-01-05T02:55:51.480328Z | false |
geocoder-php/php-common-http | https://github.com/geocoder-php/php-common-http/blob/568459017b4670916b17b0092b5bb5e548f72dd7/Tests/Provider/AbstractHttpProviderTest.php | Tests/Provider/AbstractHttpProviderTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Http\Provider\Tests;
use Geocoder\Collection;
use Geocod... | php | MIT | 568459017b4670916b17b0092b5bb5e548f72dd7 | 2026-01-05T02:55:59.023711Z | false |
geocoder-php/php-common-http | https://github.com/geocoder-php/php-common-http/blob/568459017b4670916b17b0092b5bb5e548f72dd7/Provider/AbstractHttpProvider.php | Provider/AbstractHttpProvider.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Http\Provider;
use Geocoder\Exception\InvalidCredentials... | php | MIT | 568459017b4670916b17b0092b5bb5e548f72dd7 | 2026-01-05T02:55:59.023711Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo.php | src/Faker/Geo.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Geolocation Faker.
*
* @abstract
* @extends Faker
*/
abstract class Geo e... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Address.php | src/Faker/Address.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Address Faker.
*
* @abstract
* @extends Faker
*/
abstract class Address e... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Name.php | src/Faker/Name.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Name Faker.
*
* @abstract
* @extends Faker
*/
abstract class Name extends... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | true |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Lorem.php | src/Faker/Lorem.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Lorem Ipsum Faker.
*
* @abstract
* @extends Faker
*/
abstract class Lorem... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/PhoneNumber.php | src/Faker/PhoneNumber.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Phone number Faker.
*
* @abstract
* @extends Faker
*/
abstract class Phon... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/DateTime.php | src/Faker/DateTime.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Date and time Faker.
*
* @abstract
* @extends Faker
*/
abstract class Dat... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Internet.php | src/Faker/Internet.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Internet Faker.
*
* @abstract
* @extends Faker
*/
abstract class Internet... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Faker.php | src/Faker/Faker.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Base Faker class, consisting of helper methods for selecting and formatting f... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Company.php | src/Faker/Company.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2011 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker;
/**
* Company Faker.
*
* @abstract
* @extends Faker
*/
abstract class Company e... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/LosAngeles.php | src/Faker/Geo/LosAngeles.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Los Angeles geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Regi... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/Region.php | src/Faker/Geo/Region.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
use Faker\Geo as BaseGeo;
/**
* Region geolocation Faker base class.
*
* @ab... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/NewYork.php | src/Faker/Geo/NewYork.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* New York City geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Re... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/Paris.php | src/Faker/Geo/Paris.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Paris geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region
*/... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/BuenosAires.php | src/Faker/Geo/BuenosAires.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Buenos Aires geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Reg... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/Seoul.php | src/Faker/Geo/Seoul.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Seoul geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region
*/... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/Portland.php | src/Faker/Geo/Portland.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Portland, OR geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Reg... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/SaoPaulo.php | src/Faker/Geo/SaoPaulo.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* São Paulo geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/NewDelhi.php | src/Faker/Geo/NewDelhi.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* New Delhi geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/Tokyo.php | src/Faker/Geo/Tokyo.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Tokyo geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region
*/... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/MexicoCity.php | src/Faker/Geo/MexicoCity.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Mexico City geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Regi... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/UnitedStates.php | src/Faker/Geo/UnitedStates.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
use Faker\Geo as BaseGeo;
/**
* United States geolocation Faker.
*
* @abstra... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/Jakarta.php | src/Faker/Geo/Jakarta.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Jakarta geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region
... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/Chicago.php | src/Faker/Geo/Chicago.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* Chicago geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region
... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/London.php | src/Faker/Geo/London.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* London geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Region
*... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
bobthecow/Faker | https://github.com/bobthecow/Faker/blob/332c9ad613f3511cc30b33a49566f10bb04162a9/src/Faker/Geo/SanFrancisco.php | src/Faker/Geo/SanFrancisco.php | <?php
/*
* This file is part of the Faker package.
*
* (c) 2013 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Faker\Geo;
/**
* San Francisco geolocation Faker.
*
* @abstract
* @extends Faker\Geo\Re... | php | MIT | 332c9ad613f3511cc30b33a49566f10bb04162a9 | 2026-01-05T02:56:13.960470Z | false |
awcodes/overlook | https://github.com/awcodes/overlook/blob/e5007298d8d5213109e929440f27331faf2dfd14/rector.php | rector.php | <?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__.'/src',
])
->withPreparedSets(
deadCode: true,
codeQuality: true,
typeDeclarations: true,
privatization: true,
earlyReturn: true,
s... | php | MIT | e5007298d8d5213109e929440f27331faf2dfd14 | 2026-01-05T02:56:17.274502Z | false |
awcodes/overlook | https://github.com/awcodes/overlook/blob/e5007298d8d5213109e929440f27331faf2dfd14/src/OverlookPlugin.php | src/OverlookPlugin.php | <?php
declare(strict_types=1);
namespace Awcodes\Overlook;
use Closure;
use Filament\Contracts\Plugin;
use Filament\Panel;
use Filament\Schemas\Concerns\HasColumns;
use Filament\Support\Concerns\EvaluatesClosures;
class OverlookPlugin implements Plugin
{
use EvaluatesClosures;
use HasColumns;
protected... | php | MIT | e5007298d8d5213109e929440f27331faf2dfd14 | 2026-01-05T02:56:17.274502Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.