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

JBZoo / CI-Report-Converter / 8339884904

28 Jan 2024 02:03PM UTC coverage: 94.125%. Remained the same
8339884904

push

github

web-flow
Update version of jbzoo/cli dependency (#49)

1426 of 1515 relevant lines covered (94.13%)

45.89 hits per line

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

75.0
/src/Helper.php
1
<?php
2

3
/**
4
 * JBZoo Toolbox - CI-Report-Converter.
5
 *
6
 * This file is part of the JBZoo Toolbox project.
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @license    MIT
11
 * @copyright  Copyright (C) JBZoo.com, All rights reserved.
12
 * @see        https://github.com/JBZoo/CI-Report-Converter
13
 */
14

15
declare(strict_types=1);
16

17
namespace JBZoo\CIReportConverter;
18

19
use JBZoo\Utils\Str;
20

21
final class Helper
22
{
23
    public static function descAsList(array $data): ?string
24
    {
25
        $result = Str::listToDescription($data, true);
132✔
26
        if ($result === null) {
132✔
27
            return null;
×
28
        }
29

30
        return "\n{$result}";
132✔
31
    }
32
}
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