Skip to content

Add new sniff to detect and remove constructor @return docs (#157)

Codecov / codecov/patch failed Apr 17, 2024 in 0s

0.00% of diff hit (target 97.90%)

View this Pull Request on Codecov

0.00% of diff hit (target 97.90%)

Annotations

Check warning on line 37 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L37

Added line #L37 was not covered by tests

Check warning on line 41 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L39-L41

Added lines #L39 - L41 were not covered by tests

Check warning on line 52 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L50-L52

Added lines #L50 - L52 were not covered by tests

Check warning on line 55 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L55

Added line #L55 was not covered by tests

Check warning on line 58 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 70 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L68-L70

Added lines #L68 - L70 were not covered by tests

Check warning on line 72 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L72

Added line #L72 was not covered by tests

Check warning on line 77 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L76-L77

Added lines #L76 - L77 were not covered by tests

Check warning on line 79 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L79

Added line #L79 was not covered by tests

Check warning on line 83 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 85 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L85

Added line #L85 was not covered by tests

Check warning on line 91 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L88-L91

Added lines #L88 - L91 were not covered by tests

Check warning on line 95 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L93-L95

Added lines #L93 - L95 were not covered by tests

Check warning on line 100 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L98-L100

Added lines #L98 - L100 were not covered by tests

Check warning on line 106 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L103-L106

Added lines #L103 - L106 were not covered by tests

Check warning on line 111 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L110-L111

Added lines #L110 - L111 were not covered by tests

Check warning on line 123 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L122-L123

Added lines #L122 - L123 were not covered by tests

Check warning on line 126 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L126

Added line #L126 was not covered by tests