Skip to content

Commit 1704e7d

Browse files
committed
php-xapi/repository-api v0.2 compatibility
1 parent ffb8174 commit 1704e7d

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
CHANGELOG
22
=========
33

4+
* added compatibility for version 0.2 of `php-xapi/repository-api`
5+
46
0.1.0
57
-----
68

Repository/MappedStatementRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Xabbuh\XApi\Storage\Doctrine\Repository;
1313

14-
use Xabbuh\XApi\Storage\Api\Mapping\MappedStatement;
14+
use XApi\Repository\Api\Mapping\MappedStatement;
1515

1616
/**
1717
* {@link MappedStatement} repository interface definition.

Repository/StatementRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Xabbuh\XApi\Storage\Doctrine\Repository;
1313

14-
use Xabbuh\XApi\Storage\Api\StatementRepository as BaseStatementRepository;
15-
use Xabbuh\XApi\Storage\Api\Mapping\MappedStatement;
14+
use XApi\Repository\Api\StatementRepository as BaseStatementRepository;
15+
use XApi\Repository\Api\Mapping\MappedStatement;
1616

1717
/**
1818
* Doctrine based {@link Statement} repository.

Tests/Functional/StatementRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Xabbuh\XApi\Storage\Doctrine\Tests\Functional;
1313

1414
use Doctrine\Common\Persistence\ObjectManager;
15-
use Xabbuh\XApi\Storage\Api\Test\Functional\StatementRepositoryTest as BaseStatementRepositoryTest;
1615
use Xabbuh\XApi\Storage\Doctrine\Repository\MappedStatementRepository;
1716
use Xabbuh\XApi\Storage\Doctrine\Repository\StatementRepository;
17+
use XApi\Repository\Api\Test\Functional\StatementRepositoryTest as BaseStatementRepositoryTest;
1818

1919
/**
2020
* @author Christian Flothmann <[email protected]>

Tests/Unit/Repository/MappedStatementRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
namespace Xabbuh\XApi\Storage\Doctrine\Tests\Unit\Repository;
1313

1414
use Xabbuh\XApi\DataFixtures\StatementFixtures;
15-
use Xabbuh\XApi\Storage\Api\Mapping\MappedStatement;
1615
use Xabbuh\XApi\Storage\Doctrine\Repository\MappedStatementRepository;
16+
use XApi\Repository\Api\Mapping\MappedStatement;
1717

1818
/**
1919
* @author Christian Flothmann <[email protected]>

Tests/Unit/Repository/StatementRepositoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
use Xabbuh\XApi\DataFixtures\StatementFixtures;
1515
use Xabbuh\XApi\DataFixtures\VerbFixtures;
1616
use Xabbuh\XApi\Model\StatementsFilter;
17-
use Xabbuh\XApi\Storage\Api\Mapping\MappedStatement;
1817
use Xabbuh\XApi\Storage\Doctrine\Repository\StatementRepository;
18+
use XApi\Repository\Api\Mapping\MappedStatement;
1919

2020
/**
2121
* @author Christian Flothmann <[email protected]>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"require": {
1414
"doctrine/common": "~2.4",
1515
"php-xapi/model": "^0.1.0",
16-
"php-xapi/repository-api": "^0.1.0"
16+
"php-xapi/repository-api": "^0.2.0"
1717
},
1818
"require-dev": {
1919
"php-xapi/test-fixtures": "^0.1.0"

0 commit comments

Comments
 (0)