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

miaoxing / plugin / 7215099214

01 Dec 2023 03:48PM UTC coverage: 39.703% (+0.04%) from 39.661%
7215099214

push

github

twinh
style(plugin): phpstan 忽略历史方法

937 of 2360 relevant lines covered (39.7%)

18.2 hits per line

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

0.0
/src/Command/EventRefresh.php
1
<?php
2

3
namespace Miaoxing\Plugin\Command;
4

5
use Symfony\Component\Console\Input\InputArgument;
6

7
/**
8
 * @mixin \AppMixin
9
 * @mixin \PluginMixin
10
 */
11
class EventRefresh extends BaseCommand
12
{
13
    /**
14
     * Execute the console command.
15
     *
16
     * @return void
17
     */
18
    public function handle()
19
    {
20
        $this->app->setId($this->getArgument('app'));
×
21
        $this->plugin->getEvents(true);
×
22
        $this->suc('Refreshed the event cache!');
×
23
    }
24

25
    protected function configure()
26
    {
27
        $this->setDescription('Refreshed the event cache');
×
28
        $this->addArgument('app', InputArgument::OPTIONAL, 'The id of the app');
×
29
    }
30
}
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