repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Model/TransactionTest.php | tests/Model/TransactionTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Model;
use DH\Auditor\Model\Transaction;
use PHPUnit\Framework\Attributes\Small;
use PHPUnit\Framework\TestCase;
/**
* @internal
*/
#[Small]
final class TransactionTest extends TestCase
{
protected function setUp(): void {}
protected function tear... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Traits/AuditorConfigurationTrait.php | tests/Traits/AuditorConfigurationTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Traits;
use DH\Auditor\Configuration;
trait AuditorConfigurationTrait
{
private function createAuditorConfiguration(array $options = []): Configuration
{
return new Configuration(
array_merge([
'timezone' => 'UTC',... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Traits/ReflectionTrait.php | tests/Traits/ReflectionTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Traits;
trait ReflectionTrait
{
public function reflectMethod($class, string $method, ?bool $setPublic = true): \ReflectionMethod
{
$reflectedClass = new \ReflectionClass($class);
$reflectedMethod = $reflectedClass->getMethod($method);... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Traits/AuditorTrait.php | tests/Traits/AuditorTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Traits;
use DH\Auditor\Auditor;
use DH\Auditor\Configuration;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
trait AuditorTrait
{
use AuditorConfigurationTrait;
private function... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Fixtures/EventSubscriber/CustomAuditEventSubscriber.php | tests/Fixtures/EventSubscriber/CustomAuditEventSubscriber.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Fixtures\EventSubscriber;
use DH\Auditor\Event\LifecycleEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
final class CustomAuditEventSubscriber implements EventSubscriberInterface
{
public static function getSubscribedEvents(): arra... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Fixtures/Provider/StorageAndAuditProvider.php | tests/Fixtures/Provider/StorageAndAuditProvider.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Fixtures\Provider;
use DH\Auditor\Event\LifecycleEvent;
use DH\Auditor\Provider\AbstractProvider;
use DH\Auditor\Provider\ConfigurationInterface;
final class StorageAndAuditProvider extends AbstractProvider
{
public function getConfiguration(): Configura... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Fixtures/Provider/NoStorageNoAuditProvider.php | tests/Fixtures/Provider/NoStorageNoAuditProvider.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Fixtures\Provider;
use DH\Auditor\Event\LifecycleEvent;
use DH\Auditor\Provider\AbstractProvider;
use DH\Auditor\Provider\ConfigurationInterface;
final class NoStorageNoAuditProvider extends AbstractProvider
{
public function getConfiguration(): Configur... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Fixtures/Provider/AuditNoStorageProvider.php | tests/Fixtures/Provider/AuditNoStorageProvider.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Fixtures\Provider;
use DH\Auditor\Event\LifecycleEvent;
use DH\Auditor\Provider\AbstractProvider;
use DH\Auditor\Provider\ConfigurationInterface;
final class AuditNoStorageProvider extends AbstractProvider
{
public function getConfiguration(): Configurat... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Fixtures/Provider/StorageNoAuditProvider.php | tests/Fixtures/Provider/StorageNoAuditProvider.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Fixtures\Provider;
use DH\Auditor\Event\LifecycleEvent;
use DH\Auditor\Provider\AbstractProvider;
use DH\Auditor\Provider\ConfigurationInterface;
final class StorageNoAuditProvider extends AbstractProvider
{
public function getConfiguration(): Configurat... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/EventSubscriber/AuditEventSubscriberTest.php | tests/EventSubscriber/AuditEventSubscriberTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\EventSubscriber;
use DH\Auditor\Event\LifecycleEvent;
use DH\Auditor\EventSubscriber\AuditEventSubscriber;
use DH\Auditor\Tests\Fixtures\EventSubscriber\CustomAuditEventSubscriber;
use DH\Auditor\Tests\Traits\AuditorTrait;
use PHPUnit\Framework\Attributes\Sma... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/ConfigurationTest.php | tests/Provider/Doctrine/ConfigurationTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Security;
use DH\Auditor\Provider\Doctrine\Persistence\Reader\Reader;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Annotation\AuditableButUnauditedEntity;
use DH\Auditor\Tests\P... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/DoctrineProviderTest.php | tests/Provider/Doctrine/DoctrineProviderTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine;
use DH\Auditor\Exception\InvalidArgumentException;
use DH\Auditor\Exception\ProviderException;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation\AnnotationLoader;
use DH\Auditor\Provider\Doctrine\Configuration;
use DH\Auditor\Provider\Do... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Event/DoctrineSubscriberTest.php | tests/Provider/Doctrine/Event/DoctrineSubscriberTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Event;
use DH\Auditor\Provider\Doctrine\Auditing\DBAL\Middleware\AuditorDriver;
use DH\Auditor\Provider\Doctrine\Auditing\Event\DoctrineSubscriber;
use DH\Auditor\Tests\Provider\Doctrine\Traits\DoctrineProviderTrait;
use Doctrine\DBAL\Config... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Event/CreateSchemaListenerTest.php | tests/Provider/Doctrine/Persistence/Event/CreateSchemaListenerTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Event;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\DoctrineHelper;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined\Animal;
use DH\Auditor\... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Schema/SchemaManager1AEM2SEMTest.php | tests/Provider/Doctrine/Persistence/Schema/SchemaManager1AEM2SEMTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Schema;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\DoctrineHelper;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined\Animal;
use DH\Auditor... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Schema/SchemaManager2AEM1SEMAltConnectionTest.php | tests/Provider/Doctrine/Persistence/Schema/SchemaManager2AEM1SEMAltConnectionTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Schema;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\DoctrineHelper;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined\Animal;
use DH\Auditor... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Schema/SchemaManager2AEM1SEMTest.php | tests/Provider/Doctrine/Persistence/Schema/SchemaManager2AEM1SEMTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Schema;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\DoctrineHelper;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined\Animal;
use DH\Auditor... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Schema/SchemaManagerTest.php | tests/Provider/Doctrine/Persistence/Schema/SchemaManagerTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Schema;
use DH\Auditor\Provider\Doctrine\Configuration;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Persistence\Event\CreateSchemaListener;
use DH\Auditor\Provider\Doctrine\Persistence\Help... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Reader/ReaderTest.php | tests/Provider/Doctrine/Persistence/Reader/ReaderTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Reader;
use DH\Auditor\Exception\InvalidArgumentException;
use DH\Auditor\Model\Entry;
use DH\Auditor\Model\Transaction;
use DH\Auditor\Provider\Doctrine\Persistence\Reader\Filter\DateRangeFilter;
use DH\Auditor\Provider\Doctrine... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Reader/QueryTest.php | tests/Provider/Doctrine/Persistence/Reader/QueryTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Reader;
use DH\Auditor\Exception\InvalidArgumentException;
use DH\Auditor\Provider\Doctrine\Persistence\Reader\Filter\DateRangeFilter;
use DH\Auditor\Provider\Doctrine\Persistence\Reader\Filter\RangeFilter;
use DH\Auditor\Provide... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Helper/PlatformHelperTest.php | tests/Provider/Doctrine/Persistence/Helper/PlatformHelperTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Helper;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\PlatformHelper;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Platforms\MariaDBPlatform;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attribute... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Helper/DoctrineHelperTest.php | tests/Provider/Doctrine/Persistence/Helper/DoctrineHelperTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Helper;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\DoctrineHelper;
use PHPUnit\Framework\Attributes\Small;
use PHPUnit\Framework\TestCase;
/**
* @internal
*/
#[Small]
final class DoctrineHelperTest extends TestCase
{
... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Command/CleanAuditLogsCommandTest.php | tests/Provider/Doctrine/Persistence/Command/CleanAuditLogsCommandTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Command;
use DH\Auditor\Provider\Doctrine\Configuration;
use DH\Auditor\Provider\Doctrine\Persistence\Command\CleanAuditLogsCommand;
use DH\Auditor\Provider\Doctrine\Persistence\Schema\SchemaManager;
use DH\Auditor\Tests\Provider... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Persistence/Command/UpdateSchemaCommandTest.php | tests/Provider/Doctrine/Persistence/Command/UpdateSchemaCommandTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Persistence\Command;
use DH\Auditor\Auditor;
use DH\Auditor\Provider\Doctrine\Configuration;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Persistence\Command\UpdateSchemaCommand;
use DH\Auditor\Provider... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/ConnectionTrait.php | tests/Provider/Doctrine/Traits/ConnectionTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits;
use DH\Auditor\Provider\Doctrine\Auditing\DBAL\Middleware\AuditorMiddleware;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\DoctrineHelper;
use Doctrine\DBAL\Configuration;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DriverM... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/ProviderConfigurationTrait.php | tests/Provider/Doctrine/Traits/ProviderConfigurationTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits;
use DH\Auditor\Provider\Doctrine\Configuration;
trait ProviderConfigurationTrait
{
private function createProviderConfiguration(array $options = []): Configuration
{
return new Configuration(
array_merge(... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/EntityManagerInterfaceTrait.php | tests/Provider/Doctrine/Traits/EntityManagerInterfaceTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits;
use Doctrine\Common\EventManager;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\Events;
use Doctrine\ORM\Mapping\UnderscoreNamingStrategy;
use Doctrine\ORM\ORMSetup;
use Gedmo\SoftDeleteabl... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/DoctrineProviderTrait.php | tests/Provider/Doctrine/Traits/DoctrineProviderTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits;
use DH\Auditor\Provider\Doctrine\Configuration;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Prov... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/ReaderTrait.php | tests/Provider/Doctrine/Traits/ReaderTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Persistence\Reader\Reader;
trait ReaderTrait
{
// use DoctrineProviderTrait;
/**
* Creates a Reader.
*/
private function c... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/Schema/SchemaSetupTrait.php | tests/Provider/Doctrine/Traits/Schema/SchemaSetupTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits\Schema;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Persistence\Helper\DoctrineHelper;
use DH\Auditor\Provider\Doctrine\Persistence\Schema\SchemaManager;
use DH\Auditor\Provider\Service\StorageS... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/Schema/BlogSchemaSetupTrait.php | tests/Provider/Doctrine/Traits/Schema/BlogSchemaSetupTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits\Schema;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Author;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Comment;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog\Po... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Traits/Schema/DefaultSchemaSetupTrait.php | tests/Provider/Doctrine/Traits/Schema/DefaultSchemaSetupTrait.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Traits\Schema;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
trait DefaultSchemaSetupTrait
{
use SchemaSetupTrait;
private DoctrineProvider $provider;
private function createAndInitDoctrineProvider(): void
{
$... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Inheritance/SingleTable/Bike.php | tests/Provider/Doctrine/Fixtures/Entity/Inheritance/SingleTable/Bike.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\SingleTable;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
class Bike extends Vehicle {}
| php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Inheritance/SingleTable/Car.php | tests/Provider/Doctrine/Fixtures/Entity/Inheritance/SingleTable/Car.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\SingleTable;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
class Car extends Vehicle {}
| php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Inheritance/SingleTable/Vehicle.php | tests/Provider/Doctrine/Fixtures/Entity/Inheritance/SingleTable/Vehicle.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\SingleTable;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'vehicle')]
#[ORM\InheritanceType('SINGLE_TABLE')]
#[ORM\DiscriminatorColumn(name: 'type', type: 'strin... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Inheritance/Joined/Animal.php | tests/Provider/Doctrine/Fixtures/Entity/Inheritance/Joined/Animal.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'animal', schema: 'auditor')]
#[ORM\InheritanceType('JOINED')]
#[ORM\DiscriminatorColumn(name: 'type', type:... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Inheritance/Joined/Cat.php | tests/Provider/Doctrine/Fixtures/Entity/Inheritance/Joined/Cat.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'cat', schema: 'auditor')]
class Cat extends Animal {}
| php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Inheritance/Joined/Dog.php | tests/Provider/Doctrine/Fixtures/Entity/Inheritance/Joined/Dog.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritance\Joined;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'dog', schema: 'auditor')]
class Dog extends Animal {}
| php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Standard/DummyEntity.php | tests/Provider/Doctrine/Fixtures/Entity/Standard/DummyEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'dummy_entity')]
class DummyEntity
{
#[ORM\Column(type: Types::STRING, length: 50)]
protected ?string $label =... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Tag.php | tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Tag.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'tag')]
class Tag im... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Author.php | tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Author.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'author')]
class Aut... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Comment.php | tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Comment.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
#[ORM\Entity]
#[ORM\Table(name: '`comment`')]
#[ORM\Index(name: 'fk_post_id', columns: ['post_id'])]
class... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Post.php | tests/Provider/Doctrine/Fixtures/Entity/Standard/Blog/Post.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\Blog;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
#[ORM\Entity]... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Attribute/AuditedEntity.php | tests/Provider/Doctrine/Fixtures/Entity/Attribute/AuditedEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Attribute;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation as Audit;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'audited_entity')]
#[Audit\Auditable]
class AuditedEnt... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Entity/Attribute/AuditableButUnauditedEntity.php | tests/Provider/Doctrine/Fixtures/Entity/Attribute/AuditableButUnauditedEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Attribute;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation as Audit;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'auditable_but_unaudited_entity')]
#[Audit\Auditable(e... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue132/AbstractParentEntity.php | tests/Provider/Doctrine/Fixtures/Issue132/AbstractParentEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue132;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table('parent_entities')]
#[ORM\InheritanceType('SINGLE_TABLE')]
#[ORM\DiscriminatorColumn('type', 'string')]
#[ORM\DiscriminatorMap(['Dummy' => DummyEntity::class])]
a... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue132/DummyEntity.php | tests/Provider/Doctrine/Fixtures/Issue132/DummyEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue132;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
class DummyEntity extends AbstractParentEntity {}
| php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue95/DummyEntityData.php | tests/Provider/Doctrine/Fixtures/Issue95/DummyEntityData.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue95;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Persistence\ObjectManager;
final class DummyEntityData extends AbstractFixture
{
public function load(ObjectManager $manager): void
{
$darkVado... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue95/Issue95.php | tests/Provider/Doctrine/Fixtures/Issue95/Issue95.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue95;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation\Auditable;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'issue95')]
#[Auditable]
class Issue95 implements \Stringable
... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue95/RelatedDummyEntity.php | tests/Provider/Doctrine/Fixtures/Issue95/RelatedDummyEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue95;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'related_dummy_entity')]
class RelatedDummyEntity implements \Stringable
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'I... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue95/RelatedDummyEntityData.php | tests/Provider/Doctrine/Fixtures/Issue95/RelatedDummyEntityData.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue95;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Persistence\ObjectManager;
final class RelatedDummyEntityData extends AbstractFixture
{
public function load(ObjectManager $manager): void
{
$l... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue95/DummyEntity.php | tests/Provider/Doctrine/Fixtures/Issue95/DummyEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue95;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'dummy_entity')]
class DummyEntit... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue98/Issue98.php | tests/Provider/Doctrine/Fixtures/Issue98/Issue98.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue98;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'issue98')]
class Issue98
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
#[ORM\Column(type: Types::INTEGE... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue33/Offer.php | tests/Provider/Doctrine/Fixtures/Issue33/Offer.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue33;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'offer')]
class Offer
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
#[ORM\Column(type: Types::INTEGER, o... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue33/ShopOfferPrice.php | tests/Provider/Doctrine/Fixtures/Issue33/ShopOfferPrice.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue33;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'shop_offer_price')]
class ShopOfferPrice
{
public function __construct(#[ORM\Id]
#[ORM\ManyToOne(targetEntity: 'Shop', cascade: ['persist', 'rem... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue33/Shop.php | tests/Provider/Doctrine/Fixtures/Issue33/Shop.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue33;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'shop')]
class Shop
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
#[ORM\Column(type: Types::INTEGER, opt... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue40/CoreCase.php | tests/Provider/Doctrine/Fixtures/Issue40/CoreCase.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue40;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'case_core')]
#[ORM\HasLifecycleCallbacks]
class CoreCase
{
#[ORM\Column(type: Types::STRING, name: 'type', length: 50)]
... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue40/DieselCase.php | tests/Provider/Doctrine/Fixtures/Issue40/DieselCase.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue40;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'case_diesel')]
#[ORM\HasLifecycleCallbacks]
class DieselCase
{
#[ORM\Id]
#[ORM\ManyToOne(targetEntity: 'CoreCase', ca... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue112/DummyEntity.php | tests/Provider/Doctrine/Fixtures/Issue112/DummyEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue112;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'author')]
class DummyEntity
{
#[ORM\Id]
#[ORM\Column(type: Types::INTEGER, options: ['unsigned' => true])]
#[ORM... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue18/DataObject.php | tests/Provider/Doctrine/Fixtures/Issue18/DataObject.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue18;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'data_object')]
class DataObject
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
#[ORM\Column(type: Types:... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue115/DummyEnum.php | tests/Provider/Doctrine/Fixtures/Issue115/DummyEnum.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue115;
enum DummyEnum: string
{
case A = 'a';
case B = 'b';
}
| php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue115/DummyEntity.php | tests/Provider/Doctrine/Fixtures/Issue115/DummyEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue115;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'dummy_entity')]
class DummyEntity
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'NONE')]
#[ORM\Column(type: Types::... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue101/ParentEntity.php | tests/Provider/Doctrine/Fixtures/Issue101/ParentEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue101;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation as Audit;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\MappedSuperclass]
#[ORM\Table(name: 'entity')]
#[Audit\Auditable]
class ParentEntity
{
... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue101/ChildEntity.php | tests/Provider/Doctrine/Fixtures/Issue101/ChildEntity.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue101;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation as Audit;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[Audit\Auditable]
class ChildEntity extends ParentEntity {}
| php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue37/User.php | tests/Provider/Doctrine/Fixtures/Issue37/User.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue37;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'users')]
class User
{
#[ORM\Id]
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
#[ORM\Column(type: Types::INTEGER, op... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Fixtures/Issue37/Locale.php | tests/Provider/Doctrine/Fixtures/Issue37/Locale.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue37;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity]
#[ORM\Table(name: 'locale')]
class Locale
{
#[ORM\Id]
#[ORM\Column(type: Types::STRING, length: 5)]
protected string $id;
#[ORM... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Auditing/InheritanceTest.php | tests/Provider/Doctrine/Auditing/InheritanceTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Auditing;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Inheritanc... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Auditing/JsonTest.php | tests/Provider/Doctrine/Auditing/JsonTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Auditing;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\DummyEntity;
use DH\Auditor\Tests\Provider\Doctrine\Traits\ReaderTrait;
use DH\Auditor\Tests\Provider\Doctrine\Traits\Schema\SchemaSetupTrait;
use PHPUnit\Framework\At... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Auditing/Annotation/AnnotationLoaderTest.php | tests/Provider/Doctrine/Auditing/Annotation/AnnotationLoaderTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Auditing\Annotation;
use DH\Auditor\Provider\Doctrine\Auditing\Annotation\AnnotationLoader;
use DH\Auditor\Tests\Provider\Doctrine\Traits\EntityManagerInterfaceTrait;
use PHPUnit\Framework\Attributes\Small;
use PHPUnit\Framework\TestCase;
/... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Auditing/Transaction/TransactionProcessorTest.php | tests/Provider/Doctrine/Auditing/Transaction/TransactionProcessorTest.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Auditing\Transaction;
use DH\Auditor\Provider\Doctrine\Auditing\Transaction\TransactionProcessor;
use DH\Auditor\Provider\Doctrine\Model\Transaction;
use DH\Auditor\Provider\Doctrine\Persistence\Reader\Reader;
use DH\Auditor\Provider\Doctrin... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | true |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue119Test.php | tests/Provider/Doctrine/Issues/Issue119Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Model\Entry;
use DH\Auditor\Provider\Doctrine\Auditing\Transaction\TransactionProcessor;
use DH\Auditor\Provider\Doctrine\Model\Transaction;
use DH\Auditor\Provider\Doctrine\Persistence\Reader\Reader;
use DH\Auditor\Te... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue115Test.php | tests/Provider/Doctrine/Issues/Issue115Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Model\Entry;
use DH\Auditor\Provider\Doctrine\Auditing\Transaction\TransactionProcessor;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Model\Transaction;
use DH\Auditor\Provider\Do... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue40Test.php | tests/Provider/Doctrine/Issues/Issue40Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Model\Transaction;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doc... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue112Test.php | tests/Provider/Doctrine/Issues/Issue112Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Provider\Doctrine\Auditing\Transaction\AuditTrait;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue112\DummyEntity;
use DH\Auditor\Tests\Provider\Doctrine\Traits\Schema\DefaultSchemaSetupTrait;
use Doctrine\DBAL\E... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue18Test.php | tests/Provider/Doctrine/Issues/Issue18Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Model\Transaction;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doc... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue132Test.php | tests/Provider/Doctrine/Issues/Issue132Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Provider\Doctrine\Persistence\Event\CreateSchemaListener;
use DH\Auditor\Provider\Doctrine\Persistence\Schema\SchemaManager;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue132\AbstractParentEntity;
use DH\Auditor... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue174Test.php | tests/Provider/Doctrine/Issues/Issue174Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Provider\Doctrine\Configuration;
use DH\Auditor\Provider\Doctrine\Persistence\Schema\SchemaManager;
use DH\Auditor\Tests\Provider\Doctrine\Traits\Schema\DefaultSchemaSetupTrait;
use PHPUnit\Framework\Attributes\Small;
... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue44Test.php | tests/Provider/Doctrine/Issues/Issue44Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Model\Transaction;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Entity\Standard\DummyEntity;
use DH\Auditor\Tests\Provider\Doctrine\Traits\ReaderTrait;
use DH\Auditor\Tests\Provider\Doctrine\Traits\Schema\SchemaSetu... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue37Test.php | tests/Provider/Doctrine/Issues/Issue37Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue37\Locale;
use... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue33Test.php | tests/Provider/Doctrine/Issues/Issue33Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Exception\MappingException;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Pro... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue98Test.php | tests/Provider/Doctrine/Issues/Issue98Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Model\Transaction;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doc... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue101Test.php | tests/Provider/Doctrine/Issues/Issue101Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Tests\Provider\Doctrine\Fixtures\Issue101\ChildEntit... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
DamienHarper/auditor | https://github.com/DamienHarper/auditor/blob/3ea97ef7a6d4f64bba0da8a93741d44d3d240bed/tests/Provider/Doctrine/Issues/Issue95Test.php | tests/Provider/Doctrine/Issues/Issue95Test.php | <?php
declare(strict_types=1);
namespace DH\Auditor\Tests\Provider\Doctrine\Issues;
use DH\Auditor\Model\Transaction;
use DH\Auditor\Provider\Doctrine\DoctrineProvider;
use DH\Auditor\Provider\Doctrine\Service\AuditingService;
use DH\Auditor\Provider\Doctrine\Service\StorageService;
use DH\Auditor\Provider\Service\S... | php | MIT | 3ea97ef7a6d4f64bba0da8a93741d44d3d240bed | 2026-01-05T03:05:20.537721Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/Indexer.php | src/Indexer.php | <?php
namespace Swis\Laravel\Fulltext;
use Illuminate\Database\Eloquent\Model;
class Indexer
{
public function indexModel(Model $model)
{
$model->indexRecord();
}
public function unIndexOneByClass($class, $id)
{
$record = IndexedRecord::where('indexable_id', $id)->where('indexabl... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/IndexedRecord.php | src/IndexedRecord.php | <?php
namespace Swis\Laravel\Fulltext;
use Illuminate\Database\Eloquent\Model;
class IndexedRecord extends Model
{
protected $table = 'laravel_fulltext';
public function __construct(array $attributes = [])
{
$this->connection = config('laravel-fulltext.db_connection');
parent::__constru... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/ModelObserver.php | src/ModelObserver.php | <?php
namespace Swis\Laravel\Fulltext;
class ModelObserver
{
/**
* The class names that syncing is disabled for.
*
* @var array
*/
protected static $syncingDisabledFor = [];
/**
* Enable syncing for the given class.
*
* @param string $class
*/
public static f... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/TermBuilder.php | src/TermBuilder.php | <?php
namespace Swis\Laravel\Fulltext;
class TermBuilder
{
public static function terms($search)
{
$wildcards = config('laravel-fulltext.enable_wildcards');
// Remove every boolean operator (+, -, > <, ( ), ~, *, ", @distance) from the search query
// else we will break the MySQL quer... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/SearchInterface.php | src/SearchInterface.php | <?php
namespace Swis\Laravel\Fulltext;
interface SearchInterface
{
public function run($search);
public function runForClass($search, $class);
public function searchQuery($search);
}
| php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/FulltextServiceProvider.php | src/FulltextServiceProvider.php | <?php
namespace Swis\Laravel\Fulltext;
use Illuminate\Support\ServiceProvider;
use Swis\Laravel\Fulltext\Commands\Index;
use Swis\Laravel\Fulltext\Commands\IndexOne;
use Swis\Laravel\Fulltext\Commands\UnindexOne;
class FulltextServiceProvider extends ServiceProvider
{
protected $commands = [
Index::class... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/Indexable.php | src/Indexable.php | <?php
namespace Swis\Laravel\Fulltext;
/**
* @property IndexedRecord|null $indexedRecord
*/
trait Indexable
{
/**
* Boot the trait.
*/
public static function bootIndexable()
{
static::observe(new ModelObserver);
}
public function getIndexContent()
{
return $this->g... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/Search.php | src/Search.php | <?php
namespace Swis\Laravel\Fulltext;
class Search implements SearchInterface
{
/**
* @param string $search
* @return \Illuminate\Database\Eloquent\Collection|\Swis\Laravel\Fulltext\IndexedRecord[]
*/
public function run($search)
{
$query = $this->searchQuery($search);
r... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/Commands/UnindexOne.php | src/Commands/UnindexOne.php | <?php
namespace Swis\Laravel\Fulltext\Commands;
use Illuminate\Console\Command;
use Swis\Laravel\Fulltext\Indexer;
class UnindexOne extends Command
{
protected $signature = 'laravel-fulltext:unindex {model_class} {id}';
/**
* The console command description.
*
* @var string
*/
protec... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/Commands/IndexOne.php | src/Commands/IndexOne.php | <?php
namespace Swis\Laravel\Fulltext\Commands;
use Illuminate\Console\Command;
use Swis\Laravel\Fulltext\Indexer;
class IndexOne extends Command
{
protected $signature = 'laravel-fulltext:one {model_class} {id}';
/**
* The console command description.
*
* @var string
*/
protected $d... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/src/Commands/Index.php | src/Commands/Index.php | <?php
namespace Swis\Laravel\Fulltext\Commands;
use Illuminate\Console\Command;
use Swis\Laravel\Fulltext\Indexer;
class Index extends Command
{
protected $signature = 'laravel-fulltext:all {model_class}';
/**
* The console command description.
*
* @var string
*/
protected $descripti... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/tests/IndexableTest.php | tests/IndexableTest.php | <?php
namespace Swis\Laravel\Fulltext\Tests;
use Swis\Laravel\Fulltext\IndexedRecord;
use Swis\Laravel\Fulltext\Tests\Fixtures\IndexableTestModel;
class IndexableTest extends AbstractTestCase
{
public function test_indexed_record_receives_update_index()
{
$indexedRecord = \Mockery::mock(IndexedRecord... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/tests/TermBuilderTest.php | tests/TermBuilderTest.php | <?php
namespace Swis\Laravel\Fulltext\Tests;
use Swis\Laravel\Fulltext\TermBuilder;
class TermBuilderTest extends AbstractTestCase
{
public function test_termbuilder_builds_terms_array()
{
global $configReturn;
$configReturn = false;
$termsResult = ['hi', 'im', 'a', 'few', 'terms'];
... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/tests/AbstractTestCase.php | tests/AbstractTestCase.php | <?php
namespace Swis\Laravel\Fulltext\Tests;
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
use PHPUnit\Framework\TestCase;
abstract class AbstractTestCase extends TestCase
{
use MockeryPHPUnitIntegration;
}
| php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/tests/IndexerTest.php | tests/IndexerTest.php | <?php
namespace Swis\Laravel\Fulltext\Tests;
use Swis\Laravel\Fulltext\Indexer;
use Swis\Laravel\Fulltext\Tests\Fixtures\TestModel;
class IndexerTest extends AbstractTestCase
{
public function test_index_model()
{
$indexer = new Indexer;
$model = \Mockery::mock(TestModel::class);
$mod... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/tests/ModelObserverTest.php | tests/ModelObserverTest.php | <?php
namespace Swis\Laravel\Fulltext\Tests;
use Swis\Laravel\Fulltext\ModelObserver;
class ModelObserverTest extends AbstractTestCase
{
public function test_created_handler_indexes_model()
{
$observer = new ModelObserver;
$model = \Mockery::mock();
$model->shouldReceive('indexRecord'... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
swisnl/laravel-fulltext | https://github.com/swisnl/laravel-fulltext/blob/a25aaf379a00a9532ddba2a0da33e4ebd16d8d30/tests/Fixtures/TestModel.php | tests/Fixtures/TestModel.php | <?php
namespace Swis\Laravel\Fulltext\Tests\Fixtures;
use Illuminate\Database\Eloquent\Model;
class TestModel extends Model
{
public $id = 1;
public function searchableAs()
{
return 'table';
}
public function getKey()
{
return $this->id;
}
public function toSearchab... | php | MIT | a25aaf379a00a9532ddba2a0da33e4ebd16d8d30 | 2026-01-05T03:05:44.349335Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.