Skip to content

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

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

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 36 in moodle/Sniffs/Commenting/ConstructorReturnSniff.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L36

Added line #L36 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L38-L40

Added lines #L38 - L40 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L49-L51

Added lines #L49 - L51 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L54

Added line #L54 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L56 - L57 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L67-L69

Added lines #L67 - L69 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L71

Added line #L71 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L75 - L76 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L78

Added line #L78 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L81 - L82 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L84

Added line #L84 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L87-L90

Added lines #L87 - L90 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L92-L94

Added lines #L92 - L94 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L97-L99

Added lines #L97 - L99 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L102-L105

Added lines #L102 - L105 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L109 - L110 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added lines #L121 - L122 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

moodle/Sniffs/Commenting/ConstructorReturnSniff.php#L125

Added line #L125 was not covered by tests