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 |
|---|---|---|---|---|---|---|---|---|
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/index/Common/PHPSMS.class.php | application/index/Common/PHPSMS.class.php | <?php
class PHPSMS
{
public function send($mobile, $message)
{
$App_Id=C('AppId');
$App_Secret=C('AppSecret');
$access_token=$this->get_Access_token();
$token=$this->getToken();
$timestamp = date('Y-m-d H:i:s');
$url="http://api.189.cn/v2/dm/randcode/sendSm... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/CreditAction.class.php | application/admin/controller/CreditAction.class.php | <?php
// 积分管理
/* 积分记录查询 type 0为收1为支出
*积分商品维护
*
*
*
*
*
*/
class CreditAction extends CommonAction {
/* */
public function index(){
$Credit=M('Credit');
import('ORG.Util.Page');// 导入分页类
$count = $Credit->count();// 查询满足要求的总记录数
$Page = new Page($count,10);//... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/FoodorderAction.class.php | application/admin/controller/FoodorderAction.class.php | <?php
/**
* 本页仅供测试
*/
class FoodorderAction extends CommonAction {
public function index() {
$Orders=D('Foodorder');// 实例化User对象
$orderlist=$Orders->relation(true)->select();
import('ORG.Util.Page');// 导入分页类
$count = $Orders->count();// 查询满足要求的总记录数
$Page = ne... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/DbakAction.class.php | application/admin/controller/DbakAction.class.php | <?php
// 本类由系统自动生成,仅供测试用途
class DbakAction extends CommonAction{
private $ds = "\n\r\n\r";
// 每条sql语句的结尾符
public $sqlEnd = ";";
public function index(){
$M = M();
$tabs = $M->query('SHOW TABLE STATUS');
$total = 0;
foreach ($tabs as $k => $v) {
$tabs... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/Common.php | application/admin/controller/Common.php | <?php
namespace app\admin\Controller;
// 后台共用文件,写得有点乱啊。请多多包涵吧。
use think\Controller;
class Common extends Controller {
function _initialize() {
import('ORG.Net.UploadFile');
import("ORG.Util.Category");
$this->assign('webtitle',config('web_title'));
if (isset($_SESSION['admin_key'])){
$this->redirect(U('... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/MessageAction.class.php | application/admin/controller/MessageAction.class.php | <?php
// 留言管理
/* 留言删除
*留言回复
*
*
*
*
*
*/
class MessageAction extends CommonAction {
/* */
public function index(){
$Message=M('Message');
import('ORG.Util.Page');// 导入分页类
$count = $Message->count();// 查询满足要求的总记录数
$Page = new Page($count,10);// 实例化分页类 传入总记... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/MemberAction.class.php | application/admin/controller/MemberAction.class.php | <?php
// 产品分类显示,增加,修改,删除
class MemberAction extends CommonAction {
//所有用户
public function index() {
$Members = M('Members');
import('ORG.Util.Page');// 导入分页类
$count = $Members->where('userstatus = 0')->count();// 查询满足要求的总记录数
$Page = new Page($count,20);// 实例化... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/OrderAction.class.php | application/admin/controller/OrderAction.class.php | <?php
/*订单处理
0为提交成功,
1商家确认,
2商家出单
3送货中,
4收货成功
5取消订单
6商家拒绝
7等待付款
8退款成功
9付款成功
*货到付款:
在线支付:
*/
class OrderAction extends CommonAction {
//店铺信息维护
public function index(){
$Order=M('Foodorder');
import('ORG.Util.Page');// 导入分页类
$count = $Order->count();// 查询满足要求的总记录数... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/FoodAction.class.php | application/admin/controller/FoodAction.class.php | <?php
/**
* 菜品分类,增加,删除
*/
class FoodAction extends CommonAction {
public function index() {
$Food=D('FoodView');
import('ORG.Util.Page');// 导入分页类
$count = $Food->count();// 查询满足要求的总记录数
$Page = new Page($count,10);// 实例化分页类 传入总记录数和每页显示的记录数
$show = $Page->show(... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/ArticlecateAction.class.php | application/admin/controller/ArticlecateAction.class.php | <?php
// 产品分类显示,增加,修改,删除
/*
import("@.ORG.Category");
$cat = new Category('Category', array('cid', 'fid', 'name', 'fullname'));
$s = $cat->getList(); //获取分类结构
$s = $cat->getList('', 1); //获取fid=1的子分类结构
$s = $cat->getList($condition, 1); //$condition为查询条件,获取fid=1的子分类结构
$s = $cat->getPath(3)... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/Config.php | application/admin/controller/Config.php | <?php
namespace app\admin\Controller;
use app\admin\Controller\Common;
/**
* 系统配置
* 文道20140403
*QQ87297326
*/
class Config extends Common
{
public function index()
{
$cate = isset($_GET['id']);
if (!$cate) {
$cate = 0;
}
$Config = db('Config');
$data ... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/ArticleAction.class.php | application/admin/controller/ArticleAction.class.php | <?php
// 产品分类显示,增加,修改,删除
/*
import("@.ORG.Category");
$cat = new Category('Category', array('cid', 'fid', 'name', 'fullname'));
$s = $cat->getList(); //获取分类结构
$s = $cat->getList('', 1); //获取fid=1的子分类结构
$s = $cat->getList($condition, 1); //$condition为查询条件,获取fid=1的子分类结构
$s = $cat->getPath(3)... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/LinkAction.class.php | application/admin/controller/LinkAction.class.php | <?php
// 本类由系统自动生成,仅供测试用途
class LinkAction extends CommonAction {
public function index(){
$Link=M('Link');
$configitem=$Link->where('type=0')->select();
//dump($configitem);
$this->assign('linklist',$configitem);
$this->display();
}
public function add(){
$this->display... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/FoodcatAction.class.php | application/admin/controller/FoodcatAction.class.php | <?php
/**
* 菜品分类,增加,删除
*/
class FoodcatAction extends CommonAction {
public function index() {
$Foodcat=M('Foodcat');
$foodcatlist=$Foodcat->select();
$this->assign('foodcatlist',$foodcatlist);
$this->display();
}
/**
* 桌号分类增加,
*/
public function add() {
... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/PageAction.class.php | application/admin/controller/PageAction.class.php | <?php
// 产品分类显示,增加,修改,删除
/*
import("@.ORG.Category");
$cat = new Category('Category', array('cid', 'fid', 'name', 'fullname'));
$s = $cat->getList(); //获取分类结构
$s = $cat->getList('', 1); //获取fid=1的子分类结构
$s = $cat->getList($condition, 1); //$condition为查询条件,获取fid=1的子分类结构
$s = $cat->getPath(3)... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/Index.php | application/admin/controller/Index.php | <?php
namespace app\admin\Controller;
use app\admin\controller\Common;
// 超级外卖后台首页
class Index extends Common {
public function index(){
$this->redirect('Config/index');
}
public function index1(){
$Config=M('Config');
$appi=$Config->where('name="appid"')->find();
$appk=$Config->where('name="appkey"')... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/controller/PublicAction.class.php | application/admin/controller/PublicAction.class.php | <?php
/**
* 本页仅供测试
*/
class PublicAction extends Action {
public function header() {
$this->display();
}
public function footer() {
$this->display();
}
public function leftsider() {
$this->display();
}
public function login() {
$this->assign('webt... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/FoodorderViewModel.class.php | application/admin/model/FoodorderViewModel.class.php | <?php
/**后台管理员视图模型
*/
class FoodorderViewModel extends ViewModel {
public $viewFields = array(
'Foodorder'=>array('*','_type'=>'LEFT'),
'Faddress'=>array('*', '_on'=>'Foodorder.faddid=Faddress.faddid'),
);
}
?>
| php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/FoodViewModel.class.php | application/admin/model/FoodViewModel.class.php | <?php
/**后台管理员视图模型
*/
class FoodViewModel extends ViewModel {
public $viewFields = array(
'Food'=>array('*'),
'Foodcat'=>array('fcname', '_on'=>'Foodcat.fcid=Food.fcid'),
);
}
?>
| php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/FoodcatModel.class.php | application/admin/model/FoodcatModel.class.php | <?php
/**后台管理员视图模型
*/
class FoodcatModel extends RelationModel{
protected $_link = array(
'Food'=>array(
'mapping_type' =>HAS_MANY,
'class_name'=>'Food',
'foreign_key'=>'fcid',
),
);
}
?>
| php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/ArticleCatModel.class.php | application/admin/model/ArticleCatModel.class.php | <?php
class ArticleCatModel extends Model {
// 自动验证设置
protected $_validate = array(
array('aname','require','分类名称不可以为空'),
array('dir','require','分类目录名不可以为空'),
array('dir','','分类目录名已经存在!',0,'unique',1),
array('aname','','分类名称已经存在!',0,'unique',1),
array('dir','english','分... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/FoodorderModel.class.php | application/admin/model/FoodorderModel.class.php | <?php
/**后台管理员视图模型
*/
class FoodorderModel extends RelationModel{
protected $_link = array(
'Foodorderext'=>array(
'mapping_type' =>HAS_MANY,
'class_name'=>'Foodorderext',
'foreign_key'=>'oid',
),
);
}
?>
| php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/FoodModel.class.php | application/admin/model/FoodModel.class.php | <?php
class FoodModel extends Model {
// 自动验证设置
protected $_validate = array(
array('fname','require','菜名不可以为空'),
);
}
?> | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/PagesModel.class.php | application/admin/model/PagesModel.class.php | <?php
class PagesModel extends Model {
// 自动验证设置
protected $_validate = array(
array('page_title','require','标题不可以为空'),
array('pagedir','require','分类目录名不可以为空'),
array('pagedir','','分类目录名已经存在!',0,'unique',1),
array('pagedir','english','分类目录名为英文字符'),
);
}
?> | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/ArticleModel.class.php | application/admin/model/ArticleModel.class.php | <?php
class ArticleModel extends Model {
// 自动验证设置
protected $_validate = array(
array('atitle','require','标题不可以为空'),
);
}
?> | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/model/ConfigModel.class.php | application/admin/model/ConfigModel.class.php | <?php
class ConfigModel extends Model {
protected $_validate = array(
array('name', 'require', '标识不能为空', self::EXISTS_VALIDATE, 'regex', self::MODEL_BOTH),
array('name', '', '标识已经存在', self::VALUE_VALIDATE, 'unique', self::MODEL_BOTH),
array('title', 'require', '名称不能为空', self::MUST_VALIDATE... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/Conf/config.php | application/admin/Conf/config.php | <?php
$config = require './db.php';
$array =array(
//'配置项'=>'配置值'
// 应用调试模式
'app_debug' => true,
// 应用Trace
'app_trace' => true,
'URL_HTML_SUFFIX'=>'',
'URL_MODEL'=>0,
'DEFAULT_THEME'=> '',
'DB_BACKUP'=> './data/databak/',
"web_title"=> '超级外买SuperCms',
"web_url"=> '... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/Lib/ORG/String.class.php | application/admin/Lib/ORG/String.class.php | <?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2009 http://thinkphp.cn All rights reserved.
// +---------------------------------------------------... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/Lib/ORG/UploadFile.class.php | application/admin/Lib/ORG/UploadFile.class.php | <?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2009 http://thinkphp.cn All rights reserved.
// +---------------------------------------------------... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/Lib/ORG/Image.class.php | application/admin/Lib/ORG/Image.class.php | <?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2009 http://thinkphp.cn All rights reserved.
// +---------------------------------------------------... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/admin/Common/common.php | application/admin/Common/common.php | <?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
// +----------------------------------------------... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/install/controller/Install.php | application/install/controller/Install.php | <?php
namespace app\install\controller;
use think\Controller;
use think\Db;
class Install extends Controller
{
public function _initialize()
{
parent::_initialize();
if (is_file(ROOT_PATH . 'install.lock'))
{
// 已经安装过了 执行更新程序
$msg = '请删除install.lock文件后再运行安装程序!';... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/install/controller/Index.php | application/install/controller/Index.php | <?php
namespace app\install\controller;
use think\Controller;
use think\Config;
class Index extends Controller
{
//安装首页
public function index(){
if (is_file(ROOT_PATH . 'install.lock'))
{
// 已经安装过了 执行更新程序
$msg = '请删除install.lock文件后再运行安装程序!';
$this->error($m... | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
caokang/waimai | https://github.com/caokang/waimai/blob/2e42aa8f823c722fab4e24c8b2ce8c69814286ad/application/install/lang/zh-cn.php | application/install/lang/zh-cn.php | <?php
return [
'Title' =>'SuperCms企业建站系统-简单实用扩展灵活',
'Install' =>'Powered by SuperCms',
'SIMPLEWIND_CMF_VERSION' => '20140214'
]; | php | MIT | 2e42aa8f823c722fab4e24c8b2ce8c69814286ad | 2026-01-05T04:26:54.692335Z | false |
d4l-data4life/kirby3-static-site-generator | https://github.com/d4l-data4life/kirby3-static-site-generator/blob/60d39c0ceff7687165085c32fd87bfd5e43bb9df/class.php | class.php | <?php
namespace D4L;
use Error;
use Kirby\Cms\App;
use Kirby\Cms\Page;
use Kirby\Cms\Pages;
use Kirby\Cms\Site;
use Kirby\Toolkit\A;
use Kirby\Toolkit\Dir;
use Kirby\Toolkit\F;
use Whoops\Exception\ErrorException;
class StaticSiteGenerator
{
protected $_kirby;
protected $_pathsToCopy;
protected $_outputFolder;... | php | MIT | 60d39c0ceff7687165085c32fd87bfd5e43bb9df | 2026-01-05T04:27:06.371603Z | false |
d4l-data4life/kirby3-static-site-generator | https://github.com/d4l-data4life/kirby3-static-site-generator/blob/60d39c0ceff7687165085c32fd87bfd5e43bb9df/media.class.php | media.class.php | <?php
namespace D4L;
use Kirby\Cms\App as Kirby;
$versionFn = kirby()->component('file::version');
$urlFn = kirby()->component('file::url');
Kirby::plugin('d4l/static-site-generator-media', [
'components' => [
'file::version' => function (Kirby $kirby, $file, array $options = []) use ($versionFn) {
$ve... | php | MIT | 60d39c0ceff7687165085c32fd87bfd5e43bb9df | 2026-01-05T04:27:06.371603Z | false |
d4l-data4life/kirby3-static-site-generator | https://github.com/d4l-data4life/kirby3-static-site-generator/blob/60d39c0ceff7687165085c32fd87bfd5e43bb9df/index.php | index.php | <?php
namespace D4L;
use Kirby\Cms\App as Kirby;
require_once __DIR__ . '/media.class.php';
require_once __DIR__ . '/class.php';
Kirby::plugin('d4l/static-site-generator', [
'api' => [
'routes' => function ($kirby) {
$endpoint = $kirby->option('d4l.static_site_generator.endpoint');
if (!$endpoint... | php | MIT | 60d39c0ceff7687165085c32fd87bfd5e43bb9df | 2026-01-05T04:27:06.371603Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/src/Queue.php | src/Queue.php | <?php
namespace Clue\React\Mq;
use React\Promise;
use React\Promise\Deferred;
use React\Promise\PromiseInterface;
/**
* The `Queue` is responsible for managing your operations and ensuring not too
* many operations are executed at once. It's a very simple and lightweight
* in-memory implementation of the
* [leak... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/tests/QueueTest.php | tests/QueueTest.php | <?php
namespace Clue\Tests\React\Mq;
use Clue\React\Mq\Queue;
use React\Promise\Promise;
use React\Promise\Deferred;
class QueueTest extends TestCase
{
/**
* @doesNotPerformAssertions
*/
public function testCtorWithNormalLimits()
{
$q = new Queue(1, 2, function () { });
}
/**
... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/tests/QueueAllTest.php | tests/QueueAllTest.php | <?php
namespace Clue\Tests\React\Mq;
use Clue\React\Mq\Queue;
use React\Promise\Promise;
use React\Promise\Deferred;
class QueueAllTest extends TestCase
{
public function testAllRejectsIfConcurrencyIsInvalid()
{
Queue::all(0, array(), function ($arg) {
return \React\Promise\resolve($arg);... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/tests/TestCase.php | tests/TestCase.php | <?php
namespace Clue\Tests\React\Mq;
use PHPUnit\Framework\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
protected function expectCallableOnce()
{
$mock = $this->createCallableMock();
$mock
->expects($this->once())
->method('__invoke');
... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/tests/QueueAnyTest.php | tests/QueueAnyTest.php | <?php
namespace Clue\Tests\React\Mq;
use Clue\React\Mq\Queue;
use React\Promise\Promise;
use React\Promise\Deferred;
class QueueAnyTest extends TestCase
{
public function testAnyRejectsIfConcurrencyIsInvalid()
{
Queue::any(0, array(1), function ($arg) {
return \React\Promise\resolve($arg)... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/examples/03-http-any.php | examples/03-http-any.php | <?php
require __DIR__ . '/../vendor/autoload.php';
// list of all URLs you want to try
// this list may potentially contain hundreds or thousands of entries
$urls = array(
'http://www.github.com/invalid',
'http://www.yahoo.com/invalid',
'http://www.bing.com/invalid',
'http://www.bing.com/',
'http:... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/examples/11-http-blocking.php | examples/11-http-blocking.php | <?php
require __DIR__ . '/../vendor/autoload.php';
// list of all URLs you want to download
// this list may potentially contain hundreds or thousands of entries
$urls = array(
'http://www.github.com/',
'http://www.yahoo.com/',
'http://www.bing.com/',
'http://www.bing.com/invalid',
'http://www.goo... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/examples/01-http.php | examples/01-http.php | <?php
require __DIR__ . '/../vendor/autoload.php';
// list of all URLs you want to download
// this list may potentially contain hundreds or thousands of entries
$urls = array(
'http://www.github.com/',
'http://www.yahoo.com/',
'http://www.bing.com/',
'http://www.bing.com/invalid',
'http://www.goo... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
clue/reactphp-mq | https://github.com/clue/reactphp-mq/blob/0b6b9b097603dd0374a31822021372614df736ea/examples/02-http-all.php | examples/02-http-all.php | <?php
require __DIR__ . '/../vendor/autoload.php';
// list of all URLs you want to download
// this list may potentially contain hundreds or thousands of entries
$urls = array(
'http://www.github.com/',
'http://www.yahoo.com/',
'http://www.bing.com/',
'http://www.google.com/',
//'http://httpbin.or... | php | MIT | 0b6b9b097603dd0374a31822021372614df736ea | 2026-01-05T04:27:27.142363Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/ProvinceCityAreaServiceProvider.php | src/ProvinceCityAreaServiceProvider.php | <?php
namespace Aoxiang\Pca;
use Illuminate\Support\ServiceProvider;
class ProvinceCityAreaServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
$this->app->singleton('provincecityarea', function () {
re... | php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/ProvinceCityArea.php | src/ProvinceCityArea.php | <?php
/**
* Created by PhpStorm.
* User: aoxiang
* Date: 2019-06-04
* Time: 21:46.
*/
namespace Aoxiang\Pca;
use Aoxiang\Pca\Models\ProvinceCityArea as PCA;
use Illuminate\Support\Facades\Cache;
class ProvinceCityArea
{
/**
* @return false|string
*/
public static function test()
{
... | php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/Facades/ProvinceCityAreaFacades.php | src/Facades/ProvinceCityAreaFacades.php | <?php
/**
* Created by PhpStorm.
* User: aoxiang
* Date: 2019-06-04
* Time: 21:47.
*/
namespace Aoxiang\Pca\Facades;
class ProvinceCityAreaFacades
{
protected static function getFacadeAccessor()
{
return 'provincecityarea';
}
}
| php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/Models/ProvinceCityArea.php | src/Models/ProvinceCityArea.php | <?php
/**
* Created by PhpStorm.
* User: aoxiang
* Date: 2019-06-04
* Time: 22:34.
*/
namespace Aoxiang\Pca\Models;
use Illuminate\Database\Eloquent\Model;
class ProvinceCityArea extends Model
{
public $table = 'province_city_area';
public $fillable = ['id', 'name', 'parent_id', 'type'];
const TYPE... | php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/Commands/ClearData.php | src/Commands/ClearData.php | <?php
/**
* Created by PhpStorm.
* User: aoxiang
* Date: 2019-06-05
* Time: 11:35.
*/
namespace Aoxiang\Pca\Commands;
use Aoxiang\Pca\Models\ProvinceCityArea as PCAModel;
use Illuminate\Console\Command;
class ClearData extends Command
{
protected $signature = 'pca:clearData';
protected $description = '清... | php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/Commands/RefreshData.php | src/Commands/RefreshData.php | <?php
/**
* Created by PhpStorm.
* User: aoxiang
* Date: 2019-06-05
* Time: 11:35.
*/
namespace Aoxiang\Pca\Commands;
use Aoxiang\Pca\Models\ProvinceCityArea as PCAModel;
use GuzzleHttp\Client;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
class RefreshData extends Command
{
protected $... | php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/config/province-city-area.php | src/config/province-city-area.php | <?php
/**
* Created by PhpStorm.
* User: aoxiang
* Date: 2019-06-04
* Time: 22:06.
*/
return [
'dataFileName' => 'province-city-area.json',
];
| php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
9yearfish/laravel-province-city-area | https://github.com/9yearfish/laravel-province-city-area/blob/29e0303e01876dc575e872a547df97a0bf513935/src/database/migrations/2019_06_04_222005_create_province_city_area_table.php | src/database/migrations/2019_06_04_222005_create_province_city_area_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateProvinceCityAreaTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('provin... | php | MIT | 29e0303e01876dc575e872a547df97a0bf513935 | 2026-01-05T04:27:29.737194Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/autoload.php | autoload.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
// dummy file to not break old installs. From now on, the autoloader file is automatically register... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/magento-autoloader.php | magento-autoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
// This autoloader implementation supersedes the former \bitExpert\PHPStan\Magento\Autoload\Autoloa... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Reflection/AbstractMagicMethodReflectionExtension.php | src/bitExpert/PHPStan/Magento/Reflection/AbstractMagicMethodReflectionExtension.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection;
use PHPStan\Reflection\Cl... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Reflection/MagicMethodReflection.php | src/bitExpert/PHPStan/Magento/Reflection/MagicMethodReflection.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection;
use PHPStan\Reflection\Cl... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtension.php | src/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtension.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection\Framework;
use bitExpert\P... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Reflection/Framework/Session/SessionManagerMagicMethodReflectionExtension.php | src/bitExpert/PHPStan/Magento/Reflection/Framework/Session/SessionManagerMagicMethodReflectionExtension.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection\Framework\Session;
use bit... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Type/ObjectManagerDynamicReturnTypeExtension.php | src/bitExpert/PHPStan/Magento/Type/ObjectManagerDynamicReturnTypeExtension.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Type;
use PhpParser\Node\Expr\MethodC... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php | src/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtension.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Type;
use PhpParser\Node\Expr\MethodC... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Type/ControllerResultFactoryReturnTypeExtension.php | src/bitExpert/PHPStan/Magento/Type/ControllerResultFactoryReturnTypeExtension.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Type;
use PhpParser\Node\Expr\ClassCo... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php | src/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRule.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use bitExpert\PHPStan\Magento\... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Rules/AbstractModelUseServiceContractRule.php | src/bitExpert/PHPStan/Magento/Rules/AbstractModelUseServiceContractRule.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use PhpParser\Node;
use PhpPar... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Rules/SetTemplateDisallowedForBlockRule.php | src/bitExpert/PHPStan/Magento/Rules/SetTemplateDisallowedForBlockRule.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use PhpParser\Node;
use PhpPar... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Rules/AbstractModelRetrieveCollectionViaFactoryRule.php | src/bitExpert/PHPStan/Magento/Rules/AbstractModelRetrieveCollectionViaFactoryRule.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use PhpParser\Node;
use PhpPar... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Rules/ResourceModelsShouldBeUsedDirectlyRule.php | src/bitExpert/PHPStan/Magento/Rules/ResourceModelsShouldBeUsedDirectlyRule.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use PhpParser\Node;
use PhpPar... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php | src/bitExpert/PHPStan/Magento/Autoload/FactoryAutoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload;
use bitExpert\PHPStan\Magen... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/Autoloader.php | src/bitExpert/PHPStan/Magento/Autoload/Autoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload;
interface Autoloader
{
... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php | src/bitExpert/PHPStan/Magento/Autoload/ProxyAutoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload;
use bitExpert\PHPStan\Magen... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php | src/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload;
use bitExpert\PHPStan\Magen... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/MockAutoloader.php | src/bitExpert/PHPStan/Magento/Autoload/MockAutoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload;
/**
* The MockAutoloader i... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php | src/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload;
use bitExpert\PHPStan\Magen... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/TestFrameworkAutoloader.php | src/bitExpert/PHPStan/Magento/Autoload/TestFrameworkAutoloader.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload;
/**
* Autoloader for Magen... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/DataProvider/ClassLoaderProvider.php | src/bitExpert/PHPStan/Magento/Autoload/DataProvider/ClassLoaderProvider.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload\DataProvider;
use Composer\Au... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/DataProvider/ExtensionAttributeDataProvider.php | src/bitExpert/PHPStan/Magento/Autoload/DataProvider/ExtensionAttributeDataProvider.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload\DataProvider;
use DOMDocument... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/bitExpert/PHPStan/Magento/Autoload/Cache/FileCacheStorage.php | src/bitExpert/PHPStan/Magento/Autoload/Cache/FileCacheStorage.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Autoload\Cache;
use PHPStan\Cache\Cac... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Backend/Block/Widget/Button/ButtonList.php | src/Magento/Backend/Block/Widget/Button/ButtonList.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Magento\Backend\Block\Widget\Button;
/**
* @api
* @since 100.0.2
*/
class ButtonList
... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Framework/Escaper.php | src/Magento/Framework/Escaper.php | <?php
namespace Magento\Framework;
use Stringable;
/**
* @phpstan-type CastableToString null|scalar|Stringable
*/
class Escaper
{
/**
* @param CastableToString|array<CastableToString> $data
* @param string[]|null $allowedTags
* @return ($data is array ? string[] : string)
*/
public func... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Framework/DB/Select.php | src/Magento/Framework/DB/Select.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Magento\Framework\DB;
use Magento\Framework\App\ResourceConnection;
use Magento\Framewor... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Framework/Message/MessageInterface.php | src/Magento/Framework/Message/MessageInterface.php | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Message;
use Stringable;
/**
* Represent a message with a type, content text, and an isSticky attribute to prevent message from being cleared.
*
* @api
* @since 100.0.2
*/
interface... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Framework/Message/ManagerInterface.php | src/Magento/Framework/Message/ManagerInterface.php | <?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Message;
use \Stringable;
/**
* Adds different types of messages to the session, and allows access to existing messages.
*
* @api
* @since 100.0.2
*/
interface ManagerInterface
{
... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Framework/Api/ExtensibleDataInterface.php | src/Magento/Framework/Api/ExtensibleDataInterface.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Magento\Framework\Api;
/**
* Interface for entities which can be extended with extensio... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Framework/App/RequestInterface.php | src/Magento/Framework/App/RequestInterface.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Magento\Framework\App;
use Magento\Framework\HTTP\PhpEnvironment\Request;
/**
* @api
... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/src/Magento/Store/Api/Data/StoreInterface.php | src/Magento/Store/Api/Data/StoreInterface.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Magento\Store\Api\Data;
use Magento\Framework\UrlInterface;
/**
* Store interface
*
... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bootstrap.php | tests/bootstrap.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
// include and configure Composer autoloader
include __DIR__ . '/../vendor... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Reflection/MagicMethodReflectionUnitTest.php | tests/bitExpert/PHPStan/Magento/Reflection/MagicMethodReflectionUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection;
use PHPStan\Reflection\Re... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectHelper.php | tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectHelper.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection\Framework;
class DataObjec... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php | tests/bitExpert/PHPStan/Magento/Reflection/Framework/DataObjectMagicMethodReflectionExtensionUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection\Framework;
use PHPStan\Ref... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Reflection/Framework/Session/SessionManagerHelper.php | tests/bitExpert/PHPStan/Magento/Reflection/Framework/Session/SessionManagerHelper.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection\Framework\Session;
/**
* ... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Reflection/Framework/Session/SessionManagerMagicMethodReflectionExtensionUnitTest.php | tests/bitExpert/PHPStan/Magento/Reflection/Framework/Session/SessionManagerMagicMethodReflectionExtensionUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Reflection\Framework\Session;
use PHP... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtensionUnitTest.php | tests/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtensionUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Type;
use Magento\Framework\View\Desi... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Type/ControllerResultFactoryReturnTypeExtensionUnitTest.php | tests/bitExpert/PHPStan/Magento/Type/ControllerResultFactoryReturnTypeExtensionUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Type;
use PhpParser\Node\Arg;
use Php... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Type/ObjectManagerDynamicReturnTypeExtensionUnitTest.php | tests/bitExpert/PHPStan/Magento/Type/ObjectManagerDynamicReturnTypeExtensionUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Type;
use PhpParser\Node\Expr\MethodC... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Rules/SetTemplateDisallowedForBlockRuleUnitTest.php | tests/bitExpert/PHPStan/Magento/Rules/SetTemplateDisallowedForBlockRuleUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use bitExpert\PHPStan\Magento\... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Rules/AbstractModelRetrieveCollectionViaFactoryRuleUnitTest.php | tests/bitExpert/PHPStan/Magento/Rules/AbstractModelRetrieveCollectionViaFactoryRuleUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use bitExpert\PHPStan\Magento\... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Rules/AbstractModelUseServiceContractRuleUnitTest.php | tests/bitExpert/PHPStan/Magento/Rules/AbstractModelUseServiceContractRuleUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use bitExpert\PHPStan\Magento\... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRuleUnitTest.php | tests/bitExpert/PHPStan/Magento/Rules/GetCollectionMockMethodNeedsCollectionSubclassRuleUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use bitExpert\PHPStan\Magento\... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
bitExpert/phpstan-magento | https://github.com/bitExpert/phpstan-magento/blob/f5640e72f0cfaa966dcd329ae2ffd1a789321c7a/tests/bitExpert/PHPStan/Magento/Rules/ResourceModelsShouldBeUsedDirectlyRuleUnitTest.php | tests/bitExpert/PHPStan/Magento/Rules/ResourceModelsShouldBeUsedDirectlyRuleUnitTest.php | <?php
/*
* This file is part of the phpstan-magento package.
*
* (c) bitExpert AG
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace bitExpert\PHPStan\Magento\Rules;
use bitExpert\PHPStan\Magento\... | php | MIT | f5640e72f0cfaa966dcd329ae2ffd1a789321c7a | 2026-01-05T04:27:36.494382Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.