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

JBZoo / PHPUnit / 18063775066

27 Sep 2025 07:06PM UTC coverage: 65.385% (+0.3%) from 65.134%
18063775066

push

github

web-flow
chore(ci): Bump CI environment and dependencies (#33)

- Remove scheduled workflow trigger.
- Update PHP matrix to include 8.4 and drop 8.1.
- Upgrade `actions/upload-artifact` to v4.
- Update `jbzoo/codestyle` dev dependency to `^7.1.5`.

170 of 260 relevant lines covered (65.38%)

7.73 hits per line

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

0.0
/src/functions/defines.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
// phpcs:ignoreFile
18

19
// Paths
20
if (!\defined('JBZOO_PHPUNIT')) {
×
21
    \define('JBZOO_PHPUNIT', true);
×
22

23
    $paths = [
×
24
        \realpath('./../../../vendor/autoload.php'),
×
25
        \realpath('./../../vendor/autoload.php'),
×
26
        \realpath('./../vendor/autoload.php'),
×
27
        \realpath('./vendor/autoload.php'),
×
28
        \realpath('vendor/autoload.php'),
×
29
    ];
×
30

31
    foreach ($paths as $path) {
×
32
        if (\is_string($path) && \file_exists($path)) {
×
33
            if (!\defined('CRLF')) {
×
34
                \define('CRLF', "\r\n");
×
35
            }
36

37
            if (!\defined('LF')) {
×
38
                \define('LF', "\n");
×
39
            }
40

41
            if (!\defined('DS')) {
×
42
                \define('DS', \DIRECTORY_SEPARATOR);
×
43
            }
44

45
            if (!\defined('PROJECT_ROOT')) {
×
46
                \define('PROJECT_ROOT', \dirname($path, 2));
×
47
            }
48

49
            if (!\defined('PROJECT_BUILD')) {
×
50
                \define('PROJECT_BUILD', PROJECT_ROOT . DS . 'build');
×
51
            }
52

53
            if (!\defined('PROJECT_SRC')) {
×
54
                \define('PROJECT_SRC', PROJECT_ROOT . DS . 'src');
×
55
            }
56

57
            if (!\defined('PROJECT_TESTS')) {
×
58
                \define('PROJECT_TESTS', PROJECT_ROOT . DS . 'tests');
×
59
            }
60

61
            if (!\defined('PROJECT_RES')) {
×
62
                \define('PROJECT_RES', PROJECT_ROOT . DS . 'resources');
×
63
            }
64

65
            break;
×
66
        }
67
    }
68
}
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