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

JBZoo / PHPUnit / 5522653198

pending completion
5522653198

push

github

web-flow
Release v7 (#28)

170 of 252 relevant lines covered (67.46%)

4.98 hits per line

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

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

3
/**
4
 * JBZoo Toolbox - PHPUnit.
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/PHPUnit
13
 */
14

15
declare(strict_types=1);
16

17
namespace JBZoo\PHPUnit;
18

19
use JBZoo\Utils\Env;
20
use PHPUnit\Framework\TestCase;
21

22
abstract class PHPUnit extends TestCase
23
{
24
    /**
25
     * @suppress PhanPluginPossiblyStaticProtectedMethod
26
     */
27
    protected function getSourcePath(): string
28
    {
29
        return PROJECT_ROOT . '/' . \str_replace('`pwd`/', '', Env::string('PATH_SRC', 'src'));
×
30
    }
31
}
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