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

miaoxing / services / 6801533350

08 Nov 2023 04:34PM UTC coverage: 10.534% (-0.8%) from 11.327%
6801533350

push

github

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

69 of 655 relevant lines covered (10.53%)

2.09 hits per line

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

0.0
/src/ServicesPlugin.php
1
<?php
2

3
namespace Miaoxing\Services;
4

5
use Miaoxing\Plugin\BasePlugin;
6
use Wei\Time;
7

8
/**
9
 * @mixin \CachePropMixin
10
 */
11
class ServicesPlugin extends BasePlugin
12
{
13
    protected $name = '通用服务';
14

15
    protected $description = '存放一些通用的功能,连接底层类库和上层业务';
16

17
    protected $code = 201;
18

19
    public function onSchedule()
20
    {
21
        $this->cache->set('schedule', [
×
22
            'lastRunAt' => Time::now(),
×
23
        ]);
×
24
    }
25
}
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