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

IlyasDeckers / ody-core / 13532154862

25 Feb 2025 10:24PM UTC coverage: 30.374% (+1.7%) from 28.706%
13532154862

push

github

web-flow
Update php.yml

544 of 1791 relevant lines covered (30.37%)

9.13 hits per line

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

0.0
/src/Console/Commands/ShellCommand.php
1
<?php
2

3
namespace Ody\Core\Console\Commands;
4

5
use Symfony\Component\Console\Command\Command;
6
use Symfony\Component\Console\Input\InputInterface;
7
use Symfony\Component\Console\Output\OutputInterface;
8

9
class ShellCommand extends Command
10
{
11
    protected $commandName = 'shell';
12
    protected $commandDescription = "Starts a shell environment";
13

14
    protected function configure()
×
15
    {
16
        $this
×
17
            ->setName($this->commandName)
×
18
            ->setDescription($this->commandDescription);
×
19
    }
20

21
    /**
22
     * @param InputInterface $input
23
     * @param OutputInterface $output
24
     * @return int
25
     */
26
    protected function execute(InputInterface $input, OutputInterface $output): int
×
27
    {
28
        include('bin/index.php');
×
29

30
        $shell = new \Psy\Shell();
×
31
        $shell->run();
×
32

33
        return Command::SUCCESS;
×
34
    }
35
}
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

© 2026 Coveralls, Inc