Skip to content
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
1 change: 1 addition & 0 deletions src/Entity/LoggedEntity/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LoggedEntity.php
2 changes: 1 addition & 1 deletion src/Entity/Traits/MappedSluggedTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function getSlug(): ?string
return $this->slug;
}

public function setSlug(string $slug): static
public function setSlug(?string $slug): static
{
$this->slug = $slug;
return $this;
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Traits/SluggedTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function getSlug(): ?string
return $this->slug;
}

public function setSlug(string $slug): static
public function setSlug(?string $slug): static
{
$this->slug = $slug;
return $this;
Expand Down
2 changes: 0 additions & 2 deletions tests/Util/App/BaseKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
namespace Rami\EntityKitBundle\Tests\Util\App;

use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Tools\SchemaTool;
use PHPUnit\Framework\TestCase;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\Filesystem\Filesystem;
Expand Down
3 changes: 3 additions & 0 deletions tests/Util/App/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public function registerBundles(): iterable
];
}

/**
* @throws \Exception
*/
public function registerContainerConfiguration(LoaderInterface $loader): void
{
$loader->load(__DIR__ . '/config/config.yaml');
Expand Down