Showing 4 of 7 files from the diff.

@@ -26,8 +26,6 @@
Loading
26 26
     * Returns a new exception from constructs.
27 27
     *
28 28
     * @param Construct[] $constructs
29 -
     *
30 -
     * @return self
31 29
     */
32 30
    public static function fromConstructs(array $constructs): self
33 31
    {

@@ -32,8 +32,6 @@
Loading
32 32
33 33
    /**
34 34
     * Returns a string representation of the construct.
35 -
     *
36 -
     * @return string
37 35
     */
38 36
    public function __toString(): string
39 37
    {
@@ -42,10 +40,6 @@
Loading
42 40
43 41
    /**
44 42
     * Creates a new construct from a construct name.
45 -
     *
46 -
     * @param string $name
47 -
     *
48 -
     * @return self
49 43
     */
50 44
    public static function fromName(string $name): self
51 45
    {
@@ -54,8 +48,6 @@
Loading
54 48
55 49
    /**
56 50
     * Returns the name of the construct.
57 -
     *
58 -
     * @return string
59 51
     */
60 52
    public function name(): string
61 53
    {
@@ -76,8 +68,6 @@
Loading
76 68
     * Clones the construct and adds the file name to the list of files the construct is defined in.
77 69
     *
78 70
     * @param string ...$fileNames
79 -
     *
80 -
     * @return self
81 71
     */
82 72
    public function definedIn(string ...$fileNames): self
83 73
    {

@@ -22,10 +22,6 @@
Loading
22 22
23 23
    /**
24 24
     * Returns a new exception from a directory.
25 -
     *
26 -
     * @param string $directory
27 -
     *
28 -
     * @return self
29 25
     */
30 26
    public static function fromDirectory(string $directory): self
31 27
    {
@@ -41,8 +37,6 @@
Loading
41 37
42 38
    /**
43 39
     * Returns the directory.
44 -
     *
45 -
     * @return string
46 40
     */
47 41
    public function directory(): string
48 42
    {

@@ -18,8 +18,6 @@
Loading
18 18
    /**
19 19
     * Returns an array of names of classy constructs (classes, interfaces, traits) found in source.
20 20
     *
21 -
     * @param string $source
22 -
     *
23 21
     * @throws Exception\ParseError
24 22
     *
25 23
     * @return Construct[]
@@ -111,8 +109,6 @@
Loading
111 109
    /**
112 110
     * Returns an array of constructs defined in a directory.
113 111
     *
114 -
     * @param string $directory
115 -
     *
116 112
     * @throws Exception\DirectoryDoesNotExist
117 113
     * @throws Exception\MultipleDefinitionsFound
118 114
     *
@@ -192,11 +188,7 @@
Loading
192 188
    /**
193 189
     * Returns the index of the significant token after the index.
194 190
     *
195 -
     * @param int                                                 $index
196 191
     * @param array<int, array{0: int, 1: string, 2: int}|string> $sequence
197 -
     * @param int                                                 $count
198 -
     *
199 -
     * @return int
200 192
     */
201 193
    private static function significantAfter(int $index, array $sequence, int $count): int
202 194
    {
@@ -216,10 +208,7 @@
Loading
216 208
    /**
217 209
     * Returns the index of the significant token after the index.
218 210
     *
219 -
     * @param int                                                 $index
220 211
     * @param array<int, array{0: int, 1: string, 2: int}|string> $sequence
221 -
     *
222 -
     * @return int
223 212
     */
224 213
    private static function significantBefore(int $index, array $sequence): int
225 214
    {
@@ -240,8 +229,6 @@
Loading
240 229
     * Returns the string content of a token.
241 230
     *
242 231
     * @param array{0: int, 1: string, 2: int}|string $token
243 -
     *
244 -
     * @return string
245 232
     */
246 233
    private static function content($token): string
247 234
    {
Files Complexity Coverage
src 50 97.79%
Project Totals (6 files) 50 97.79%

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