Skip to content

Fix annotation groups usage #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/expected_report.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ tests/input/return_type_on_closures.php 21 0
tests/input/return_type_on_methods.php 17 0
tests/input/semicolon_spacing.php 3 0
tests/input/static-closures.php 1 0
tests/input/test-case.php 6 0
tests/input/test-case.php 8 0
tests/input/traits-uses.php 10 0
tests/input/UnusedVariables.php 1 0
tests/input/useless-semicolon.php 2 0
----------------------------------------------------------------------
A TOTAL OF 203 ERRORS AND 0 WARNINGS WERE FOUND IN 24 FILES
A TOTAL OF 205 ERRORS AND 0 WARNINGS WERE FOUND IN 24 FILES
----------------------------------------------------------------------
PHPCBF CAN FIX 173 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
PHPCBF CAN FIX 175 OF THESE SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------


5 changes: 2 additions & 3 deletions tests/fixed/test-case.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ public function createDependencies() : void
}

/**
* @test
* @uses MyClass::__construct
*
* @test
* @covers MyClass::test
*
* @uses MyClass::__construct
*/
public function methodShouldDoStuff() : void
{
Expand Down