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

contributte / dev / 5573378841

pending completion
5573378841

push

github

f3l1x
Code: modernize, PHP 8.1, nette/utils 4.x

17 of 17 new or added lines in 2 files covered. (100.0%)

4 of 105 relevant lines covered (3.81%)

0.04 hits per line

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

5.56
/src/shortcuts.php
1
<?php declare(strict_types = 1);
2

3
use Contributte\Dev\Dev;
4

5
if (!function_exists('d')) {
×
6

7
        function d(): void
8
        {
9
                Dev::d(...func_get_args());
×
10
        }
11

12
}
13

14
if (!function_exists('dd')) {
×
15

16
        function dd(): void
17
        {
18
                Dev::dd(...func_get_args());
×
19
        }
20

21
}
22

23
if (!function_exists('ed')) {
×
24

25
        /**
26
         * @param scalar $value
27
         */
28
        function ed(mixed $value): void
29
        {
30
                Dev::ed($value);
×
31
        }
32

33
}
34

35
if (!function_exists('fd')) {
×
36

37
        /**
38
         * @param array<mixed|mixed[]> $values
39
         */
40
        function fd(array $values): void
41
        {
42
                Dev::fd($values);
×
43
        }
44

45
}
46

47
if (!function_exists('fdd')) {
×
48

49
        /**
50
         * @param mixed[] $values
51
         */
52
        function fdd(mixed $values): void
53
        {
54
                Dev::fdd($values);
×
55
        }
56

57
}
58

59
if (!function_exists('td')) {
×
60

61
        /**
62
         * @param mixed[] $values
63
         */
64
        function td(mixed $values): void
65
        {
66
                Dev::td($values);
×
67
        }
68

69
}
70

71
if (!function_exists('tdd')) {
×
72

73
        /**
74
         * @param mixed[] $values
75
         */
76
        function tdd(mixed $values): void
77
        {
78
                Dev::tdd($values);
×
79
        }
80

81
}
82

83
if (!function_exists('bd')) {
×
84

85
        function bd(mixed $var, string|null $title = null): mixed
86
        {
87
                return Dev::bd($var, $title);
×
88
        }
89

90
}
91

92
if (!function_exists('wc')) {
×
93

94
        function wc(int $level = 1, bool $return = false, bool $fullTrace = false): mixed
95
        {
96
                return Dev::wc($level, $return, $fullTrace);
×
97
        }
98

99
}
100

101
if (!function_exists('fwc')) {
×
102

103
        function fwc(int $level = 3, bool $return = false): void
104
        {
105
                Dev::fwc($level, $return);
×
106
        }
107

108
}
109

110
if (!function_exists('ss')) {
×
111

112
        function ss(string $code): void
113
        {
114
                Dev::ss($code);
×
115
        }
116

117
}
118

119
if (!function_exists('e')) {
×
120

121
        function e(): void
122
        {
123
                Dev::e();
×
124
        }
125

126
}
127

128
if (!function_exists('l')) {
×
129

130
        function l(string $message): void
131
        {
132
                Dev::l($message);
×
133
        }
134

135
}
136

137
if (!function_exists('log')) {
×
138

139
        function log(string $message): void
140
        {
141
                Dev::log($message);
142
        }
143

144
}
145

146
if (!function_exists('erd')) {
×
147

148
        function erd(): void
149
        {
150
                Dev::erd(...func_get_args());
×
151
        }
152

153
}
154

155
if (!function_exists('c')) {
×
156

157
        function c(object $instance): object
158
        {
159
                return Dev::c($instance);
×
160
        }
161

162
}
163

164
if (!function_exists('cl')) {
×
165

166
        function cl(object $instance): object
167
        {
168
                return Dev::cl($instance);
×
169
        }
170

171
}
172

173
if (!function_exists('callback')) {
×
174

175
        /**
176
         * @return array{object, string}
177
         */
178
        function callback(object $obj, string $method): array
1✔
179
        {
180
                return Dev::callback($obj, $method);
1✔
181
        }
182

183
}
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