Skip to content

Commit

Permalink
Hotfix: bindgetter namespace (#272)
Browse files Browse the repository at this point in the history
* build: upgrade to stable dom release

* test: bind objects in arrays with bindList

* fix: use correct namespace for BindGetter

* test: import BindGetter in test

* test: fix import in test

* stan: phpstan level 6

* stan: force PHP 8

* stan: force phpstan version

* stan: undo force phpstan version
  • Loading branch information
g105b authored Oct 12, 2021
1 parent 177833c commit 62f76e4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ jobs:
uses: php-actions/phpstan@v3
with:
path: src/
level: 6
2 changes: 1 addition & 1 deletion test/phpunit/BindGetter.php → src/BindGetter.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Gt\DomTemplate\Test;
namespace Gt\DomTemplate;

use Attribute;

Expand Down
1 change: 0 additions & 1 deletion src/BindableCache.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
namespace Gt\DomTemplate;

use Gt\DomTemplate\Test\BindGetter;
use ReflectionAttribute;
use ReflectionMethod;
use ReflectionObject;
Expand Down
1 change: 1 addition & 0 deletions test/phpunit/BindableCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
namespace Gt\DomTemplate\Test;

use Gt\DomTemplate\Bind;
use Gt\DomTemplate\BindGetter;
use Gt\DomTemplate\BindableCache;
use Gt\DomTemplate\BindGetterMethodDoesNotStartWithGetException;
use PHPUnit\Framework\TestCase;
Expand Down

0 comments on commit 62f76e4

Please sign in to comment.