• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

h4kuna / data-type / 12790625950

15 Jan 2025 02:36PM UTC coverage: 96.847% (-0.3%) from 97.13%
12790625950

push

github

h4kuna
feat(ReverseIterator): support better phpstan type

11 of 15 new or added lines in 2 files covered. (73.33%)

645 of 666 relevant lines covered (96.85%)

0.97 hits per line

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

0.0
/src/functions.php
1
<?php declare(strict_types=1);
2

3
namespace
4
{
5
        use h4kuna\DataType\Iterators\ReverseIterator;
6

NEW
7
        if (!function_exists('_')) {
×
8
                function _(string $message): string
9
                {
NEW
10
                        return $message;
×
11
                }
12
        }
13

NEW
14
        class_alias(ReverseIterator::class, 'h4kuna\\DataType\\Iterators\\ReverseArray');
×
15
}
16

17
namespace h4kuna\DataType\Iterators
18
{
19

NEW
20
        if (false) { // @phpstan-ignore-line
×
21
                /**
22
                 * @deprecated use ReverseIterator
23
                 * @see ReverseIterator
24
                 */
25
                class ReverseArray
26
                {
27
                }
28
        }
29
}
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