@@ -20,8 +20,6 @@
Loading
20 20
{
21 21
    /**
22 22
     * @param mixed $className
23 -
     *
24 -
     * @return self
25 23
     */
26 24
    public static function fromClassName($className): self
27 25
    {

@@ -26,10 +26,6 @@
Loading
26 26
     * Useful for generating fake data in tests.
27 27
     *
28 28
     * @see https://github.com/fzaninotto/Faker
29 -
     *
30 -
     * @param string $locale
31 -
     *
32 -
     * @return Generator
33 29
     */
34 30
    final protected static function faker(string $locale = 'en_US'): Generator
35 31
    {
@@ -58,7 +54,6 @@
Loading
58 54
     *
59 55
     * @psalm-param array<class-string> $excludeClassNames
60 56
     *
61 -
     * @param string        $directory
62 57
     * @param array<string> $excludeClassNames
63 58
     *
64 59
     * @throws Exception\NonExistentDirectory
@@ -90,9 +85,6 @@
Loading
90 85
     * @phpstam-param array<class-string> $excludeClassyNames
91 86
     * @psalm-param array<class-string> $excludeClassyNames
92 87
     *
93 -
     * @param string        $directory
94 -
     * @param string        $namespace
95 -
     * @param string        $testNamespace
96 88
     * @param array<string> $excludeClassyNames
97 89
     *
98 90
     * @throws Exception\NonExistentDirectory
@@ -198,10 +190,7 @@
Loading
198 190
     *
199 191
     * @psalm-param array<class-string> $excludeClassyNames
200 192
     *
201 -
     * @param callable      $specification
202 -
     * @param string        $directory
203 193
     * @param array<string> $excludeClassyNames
204 -
     * @param string        $message
205 194
     *
206 195
     * @throws Exception\NonExistentDirectory
207 196
     * @throws Exception\InvalidExcludeClassName
@@ -243,8 +232,6 @@
Loading
243 232
244 233
    /**
245 234
     * Asserts that a class exists.
246 -
     *
247 -
     * @param string $className
248 235
     */
249 236
    final protected static function assertClassExists(string $className): void
250 237
    {
@@ -262,9 +249,6 @@
Loading
262 249
     *
263 250
     * @psalm-param class-string $parentClassName
264 251
     * @psalm-param class-string $className
265 -
     *
266 -
     * @param string $parentClassName
267 -
     * @param string $className
268 252
     */
269 253
    final protected static function assertClassExtends(string $parentClassName, string $className): void
270 254
    {
@@ -289,9 +273,6 @@
Loading
289 273
     *
290 274
     * @psalm-param class-string $interfaceName
291 275
     * @psalm-param class-string $className
292 -
     *
293 -
     * @param string $interfaceName
294 -
     * @param string $className
295 276
     */
296 277
    final protected static function assertClassImplementsInterface(string $interfaceName, string $className): void
297 278
    {
@@ -314,8 +295,6 @@
Loading
314 295
     * @phpstan-param class-string $className
315 296
     *
316 297
     * @psalm-param class-string $className
317 -
     *
318 -
     * @param string $className
319 298
     */
320 299
    final protected static function assertClassIsAbstract(string $className): void
321 300
    {
@@ -338,8 +317,6 @@
Loading
338 317
     * @phpstan-param class-string $className
339 318
     *
340 319
     * @psalm-param class-string $className
341 -
     *
342 -
     * @param string $className
343 320
     */
344 321
    final protected static function assertClassIsFinal(string $className): void
345 322
    {
@@ -363,10 +340,6 @@
Loading
363 340
     *
364 341
     * @psalm-param callable(class-string):bool $specification
365 342
     * @psalm-param class-string                $className
366 -
     *
367 -
     * @param callable $specification
368 -
     * @param string   $className
369 -
     * @param string   $message
370 343
     */
371 344
    final protected static function assertClassSatisfiesSpecification(callable $specification, string $className, string $message = ''): void
372 345
    {
@@ -386,9 +359,6 @@
Loading
386 359
     *
387 360
     * @psalm-param class-string $traitName
388 361
     * @psalm-param class-string $className
389 -
     *
390 -
     * @param string $traitName
391 -
     * @param string $className
392 362
     */
393 363
    final protected static function assertClassUsesTrait(string $traitName, string $className): void
394 364
    {
@@ -404,8 +374,6 @@
Loading
404 374
405 375
    /**
406 376
     * Asserts that an interface exists.
407 -
     *
408 -
     * @param string $interfaceName
409 377
     */
410 378
    final protected static function assertInterfaceExists(string $interfaceName): void
411 379
    {
@@ -423,9 +391,6 @@
Loading
423 391
     *
424 392
     * @psalm-param class-string $parentInterfaceName
425 393
     * @psalm-param class-string $interfaceName
426 -
     *
427 -
     * @param string $parentInterfaceName
428 -
     * @param string $interfaceName
429 394
     */
430 395
    final protected static function assertInterfaceExtends(string $parentInterfaceName, string $interfaceName): void
431 396
    {
@@ -451,10 +416,6 @@
Loading
451 416
     *
452 417
     * @psalm-param callable(class-string):bool $specification
453 418
     * @psalm-param class-string                $interfaceName
454 -
     *
455 -
     * @param callable $specification
456 -
     * @param string   $interfaceName
457 -
     * @param string   $message
458 419
     */
459 420
    final protected static function assertInterfaceSatisfiesSpecification(callable $specification, string $interfaceName, string $message = ''): void
460 421
    {
@@ -468,8 +429,6 @@
Loading
468 429
469 430
    /**
470 431
     * Asserts that a trait exists.
471 -
     *
472 -
     * @param string $traitName
473 432
     */
474 433
    final protected static function assertTraitExists(string $traitName): void
475 434
    {
@@ -488,10 +447,6 @@
Loading
488 447
     *
489 448
     * @psalm-param callable(class-string):bool $specification
490 449
     * @psalm-param class-string                $traitName
491 -
     *
492 -
     * @param callable $specification
493 -
     * @param string   $traitName
494 -
     * @param string   $message
495 450
     */
496 451
    final protected static function assertTraitSatisfiesSpecification(callable $specification, string $traitName, string $message = ''): void
497 452
    {
@@ -525,7 +480,6 @@
Loading
525 480
526 481
    /**
527 482
     * @param array<string, mixed> $values
528 -
     * @param \Closure             $test
529 483
     *
530 484
     * @throws Exception\EmptyValues
531 485
     *
@@ -550,7 +504,6 @@
Loading
550 504
551 505
    /**
552 506
     * @param array<string, mixed> $values
553 -
     * @param \Closure             $test
554 507
     *
555 508
     * @throws Exception\EmptyValues
556 509
     *
Files Complexity Coverage
src 85 100.00%
Project Totals (12 files) 85 100.00%

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading