• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

miaoxing / app / 6785743539

07 Nov 2023 01:14PM UTC coverage: 2.381% (-0.2%) from 2.614%
6785743539

push

github

twinh
ci: add PHP 8, remove PHP 7.2, 7.3

4 of 168 relevant lines covered (2.38%)

0.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Service/JsConfig.php
1
<?php
2

3
namespace Miaoxing\App\Service;
4

5
use Miaoxing\Plugin\BaseService;
6

7
/**
8
 * @mixin \AppMixin
9
 */
10
class JsConfig extends BaseService
11
{
12
    /**
13
     * 替换页面的映射关系
14
     *
15
     * @var array
16
     */
17
    protected $pageMap = [];
18

19
    /**
20
     * 主题配置
21
     *
22
     * @var array
23
     */
24
    protected $theme = [];
25

26
    /**
27
     * @return array
28
     * @svc
29
     */
30
    protected function toArray()
31
    {
32
        return [
×
33
            'wei' => [
×
34
                'debug' => $this->wei->isDebug(),
×
35
            ],
×
36
            'app' => [
×
37
                'pluginIds' => $this->app->getModel()->pluginIds,
×
38
                'isDemo' => $this->app->isDemo(),
×
39
                // @experimental
40
                'pageMap' => $this->pageMap,
×
41
            ],
×
42
            // @experimental
43
            'theme' => $this->theme,
×
44
        ];
×
45
    }
46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc