• 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/Server/Dependencies.php
1
<?php
2

3
namespace Ody\Core\Server;
4

5
use Composer\InstalledVersions;
6
use Ody\Core\Exception\PackageNotFoundException;
7

8
class Dependencies
9
{
10
    public static function check(\Ody\Core\Console\Style $io): bool
×
11
    {
12
        if (!InstalledVersions::isInstalled('ody/swoole')) {
×
13
            $io->error('Missing dependencies. Please run `composer require ody/swoole` to install the missing dependencies!.' , true);
×
14

15
            return false;
×
16
        }
17

18
        if (!extension_loaded('swoole')){
×
19
            $io->error("The php-swoole extension is not installed! Please run `apt install php8.3-swoole`." , true);
×
20

21
            return false;
×
22
        }
23

24
        return true;
×
25
    }
26
}
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