Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHAnderson committed Oct 29, 2024
1 parent d57fa40 commit 2bca3c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions tests/Feature/BeberleiExtensionsServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

use LaravelDoctrine\ORM\DoctrineManager;

use function app;

class BeberleiExtensionsServiceProviderTest extends TestCase
{
public function testCustomFunctionsCanBeRegistered(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
namespace LaravelDoctrineTest\Extensions\Feature;

use Illuminate\Config\Repository;
use LaravelDoctrine\ORM\DoctrineManager;
use Illuminate\Events\Dispatcher;

use function tap;

class GedmoExtensionsServiceProviderAllMappingsTest extends TestCase
{
protected function defineEnvironment($app)
protected function defineEnvironment(mixed $app): void
{
// Setup default database to use sqlite :memory:
tap($app['config'], function (Repository $config) {
tap($app['config'], static function (Repository $config): void {
$config->set('doctrine.gedmo.all_mappings', true);
});
}
Expand Down
3 changes: 0 additions & 3 deletions tests/Feature/GedmoExtensionsServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

namespace LaravelDoctrineTest\Extensions\Feature;

use LaravelDoctrine\ORM\DoctrineManager;
use Illuminate\Events\Dispatcher;

class GedmoExtensionsServiceProviderTest extends TestCase
{
public function testCustomExtensionsCanBeRegistered(): void
Expand Down

0 comments on commit 2bca3c4

Please sign in to comment.