Skip to content

Commit

Permalink
add fixture stubs to make fixture repository rule work
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 18, 2024
1 parent 48bf682 commit b47c037
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 13 deletions.
13 changes: 0 additions & 13 deletions stubs/Dibi/Connection.php

This file was deleted.

15 changes: 15 additions & 0 deletions stubs/Doctrine/Bundle/FixturesBundle/Fixture.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace Doctrine\Bundle\FixturesBundle;

use Doctrine\Common\DataFixtures\FixtureInterface;

if (class_exists('Doctrine\Bundle\FixturesBundle\Fixture')) {
return;
}


class Fixture implements FixtureInterface
{

}
12 changes: 12 additions & 0 deletions stubs/Doctrine/Common/DataFixtures/FixtureInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace Doctrine\Common\DataFixtures;

if (class_exists('Doctrine\Common\DataFixtures\FixtureInterface')) {
return;
}

interface FixtureInterface
{

}
12 changes: 12 additions & 0 deletions stubs/Doctrine/Persistence/ObjectManager.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace Doctrine\Persistence;

if (class_exists('Doctrine\Persistence\ObjectManager')) {
return;
}

class ObjectManager
{

}

0 comments on commit b47c037

Please sign in to comment.