Issues (23)

config/TSpreadSheet.php (1 issue)

Labels
Severity
1
<?php
2
use \tinymeng\spreadsheet\Util\ConstCode;
0 ignored issues
show
The type \tinymeng\spreadsheet\Util\ConstCode was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
3
return [
4
    'creator'=>'tinymeng',                  //文件创建者
5
    'pathName'=>null,                       //文件存储位置
6
    'fileName'=>null,                       //文件名称
7
    'horizontalCenter'=>true,               //是否居中
8
    'titleHeight'=>null,                    //定义表头行高,常用22
9
    'titleWidth'=>null,                     //定义表头列宽(未设置则自动计算宽度),常用20
10
    'height'=>null,                         //定义数据行高,常用22
11
    'autoFilter'=>false,                    //自动筛选(是否开启)
12
    'autoDataType'=>true,                   //自动适应文本类型
13
    'freezePane'=>false,                    //冻结窗格(要冻结的首行首列"B2",false不开启)
14
    /**
15
     * 字段映射方式
16
     * ConstCode::FIELD_MAPPING_METHOD_FIELD_CORRESPONDING_NAME = 1;//字段对应名称
17
     * ConstCode::FIELD_MAPPING_METHOD_NAME_CORRESPONDING_FIELD = 2;//名称对应字段
18
     */
19
    'fieldMappingMethod'=>ConstCode::FIELD_MAPPING_METHOD_NAME_CORRESPONDING_FIELD,
20
    'mainTitleLine'=>false,                 //主标题行是否显示
21
    'mainTitle'=>'',                        //主标题名称,默认为sheet的名称
22
];
23