Skip to content

Commit

Permalink
Merge pull request #6 from DaveLiddament/fix/test-tag
Browse files Browse the repository at this point in the history
Fix TestTag
  • Loading branch information
DaveLiddament authored May 31, 2022
2 parents b2eeebc + 86f8f17 commit 972c054
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 28 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": "^8",
"phpstan/phpstan": "^1.3",
"dave-liddament/php-language-extensions": "^0.2.0"
"dave-liddament/php-language-extensions": "^0.2.1"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/Attributes/TestTag.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Rules/AbstractTestTagRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace DaveLiddament\PhpstanPhpLanguageExtensions\Rules;

use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;
use DaveLiddament\PhpstanPhpLanguageExtensions\Config\TestConfig;
use DaveLiddament\PhpstanPhpLanguageExtensions\Helpers\Cache;
use DaveLiddament\PhpstanPhpLanguageExtensions\Helpers\TestClassChecker;
Expand Down
2 changes: 1 addition & 1 deletion tests/Rules/data/testTag/testTagOnConstructor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace TestTagOnConstructor;

use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace TestTagOnConstructorIgnoredInTestClass;

use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace TestTagOnConstructorIgnoredInTestNamespace {

use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Rules/data/testTag/testTagOnMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace TestTagOnMethod;

use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace TestTagOnMethodIgnoredInTestClass;

use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace TestTagOnMethodIgnoredInTestNamespace {

use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Rules/data/testTag/testTagOnStaticMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace TestTagOnStaticMethod;


use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace TestTagOnStaticMethodIgnoredInTestClass;


use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace TestTagOnStaticMethodIgnoredInTestNamepace {


use DaveLiddament\PhpstanPhpLanguageExtensions\Attributes\TestTag;
use DaveLiddament\PhpLanguageExtensions\TestTag;

class Person
{
Expand Down

0 comments on commit 972c054

Please sign in to comment.