WMDE-leszek has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/330394 )
Change subject: Move PropertyInfoStore to Wikibase\Lib\Store namespace ...................................................................... Move PropertyInfoStore to Wikibase\Lib\Store namespace Change-Id: I431a8a70f3c3cbd0e71902ff134c407fa8c293dc --- M lib/includes/Store/CacheAwarePropertyInfoStore.php M lib/includes/Store/PropertyInfoStore.php M lib/includes/Store/Sql/PropertyInfoTable.php M lib/tests/phpunit/Store/CacheAwarePropertyInfoStoreTest.php M repo/includes/Content/PropertyHandler.php M repo/includes/Store/Sql/SqlStore.php M repo/includes/Store/Store.php M repo/tests/phpunit/includes/Store/Sql/SqlStoreTest.php 8 files changed, 8 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/94/330394/1 diff --git a/lib/includes/Store/CacheAwarePropertyInfoStore.php b/lib/includes/Store/CacheAwarePropertyInfoStore.php index 7516bd3..02ae250 100644 --- a/lib/includes/Store/CacheAwarePropertyInfoStore.php +++ b/lib/includes/Store/CacheAwarePropertyInfoStore.php @@ -5,7 +5,7 @@ use BagOStuff; use InvalidArgumentException; use Wikibase\DataModel\Entity\PropertyId; -use Wikibase\PropertyInfoStore; +use Wikibase\Lib\Store\PropertyInfoStore; /** * Implementation of PropertyInfoStore wrapping the instance modifying the local diff --git a/lib/includes/Store/PropertyInfoStore.php b/lib/includes/Store/PropertyInfoStore.php index 787dca1..0203b3e 100644 --- a/lib/includes/Store/PropertyInfoStore.php +++ b/lib/includes/Store/PropertyInfoStore.php @@ -1,6 +1,6 @@ <?php -namespace Wikibase; +namespace Wikibase\Lib\Store; use DBError; use Wikibase\DataModel\Entity\PropertyId; diff --git a/lib/includes/Store/Sql/PropertyInfoTable.php b/lib/includes/Store/Sql/PropertyInfoTable.php index 7c62c47..a8a4a14 100644 --- a/lib/includes/Store/Sql/PropertyInfoTable.php +++ b/lib/includes/Store/Sql/PropertyInfoTable.php @@ -11,6 +11,7 @@ use Wikibase\DataModel\Entity\PropertyId; use Wikibase\Lib\EntityIdComposer; use Wikibase\Lib\Store\PropertyInfoLookup; +use Wikibase\Lib\Store\PropertyInfoStore; use Wikimedia\Assert\Assert; /** diff --git a/lib/tests/phpunit/Store/CacheAwarePropertyInfoStoreTest.php b/lib/tests/phpunit/Store/CacheAwarePropertyInfoStoreTest.php index 0e0920b..03b95f8 100644 --- a/lib/tests/phpunit/Store/CacheAwarePropertyInfoStoreTest.php +++ b/lib/tests/phpunit/Store/CacheAwarePropertyInfoStoreTest.php @@ -7,7 +7,7 @@ use Wikibase\DataModel\Entity\PropertyId; use Wikibase\Lib\Store\CacheAwarePropertyInfoStore; use Wikibase\Lib\Store\PropertyInfoLookup; -use Wikibase\PropertyInfoStore; +use Wikibase\Lib\Store\PropertyInfoStore; /** * @covers Wikibase\Lib\Store\CacheAwarePropertyInfoStore; diff --git a/repo/includes/Content/PropertyHandler.php b/repo/includes/Content/PropertyHandler.php index bea2e50..20a0026 100644 --- a/repo/includes/Content/PropertyHandler.php +++ b/repo/includes/Content/PropertyHandler.php @@ -17,7 +17,7 @@ use Wikibase\Lib\Store\LanguageFallbackLabelDescriptionLookupFactory; use Wikibase\PropertyContent; use Wikibase\PropertyInfoBuilder; -use Wikibase\PropertyInfoStore; +use Wikibase\Lib\Store\PropertyInfoStore; use Wikibase\Repo\Store\EntityPerPage; use Wikibase\Repo\Validators\EntityConstraintProvider; use Wikibase\Repo\Validators\ValidatorErrorLocalizer; diff --git a/repo/includes/Store/Sql/SqlStore.php b/repo/includes/Store/Sql/SqlStore.php index db4b0c1..7fb83df 100644 --- a/repo/includes/Store/Sql/SqlStore.php +++ b/repo/includes/Store/Sql/SqlStore.php @@ -24,6 +24,7 @@ use Wikibase\Lib\Store\EntityNamespaceLookup; use Wikibase\Lib\Store\EntityStore; use Wikibase\Lib\Store\EntityStoreWatcher; +use Wikibase\Lib\Store\PropertyInfoStore; use Wikibase\Repo\Store\EntityTitleStoreLookup; use Wikibase\Lib\Store\LabelConflictFinder; use Wikibase\Lib\Store\PropertyInfoLookup; diff --git a/repo/includes/Store/Store.php b/repo/includes/Store/Store.php index 3b87038..60b90c9 100644 --- a/repo/includes/Store/Store.php +++ b/repo/includes/Store/Store.php @@ -12,6 +12,7 @@ use Wikibase\Lib\Store\EntityStoreWatcher; use Wikibase\Lib\Store\LabelConflictFinder; use Wikibase\Lib\Store\PropertyInfoLookup; +use Wikibase\Lib\Store\PropertyInfoStore; use Wikibase\Lib\Store\SiteLinkStore; use Wikibase\Repo\Store\ChangeStore; use Wikibase\Repo\Store\EntityPerPage; diff --git a/repo/tests/phpunit/includes/Store/Sql/SqlStoreTest.php b/repo/tests/phpunit/includes/Store/Sql/SqlStoreTest.php index 7305eed..a733977 100644 --- a/repo/tests/phpunit/includes/Store/Sql/SqlStoreTest.php +++ b/repo/tests/phpunit/includes/Store/Sql/SqlStoreTest.php @@ -21,7 +21,7 @@ use Wikibase\Lib\Store\PropertyInfoLookup; use Wikibase\Lib\Store\SiteLinkStore; use Wikibase\Lib\Store\Sql\PrefetchingWikiPageEntityMetaDataAccessor; -use Wikibase\PropertyInfoStore; +use Wikibase\Lib\Store\PropertyInfoStore; use Wikibase\Repo\Store\EntityPerPage; use Wikibase\Repo\Store\SiteLinkConflictLookup; use Wikibase\Repo\Store\Sql\SqlChangeStore; -- To view, visit https://gerrit.wikimedia.org/r/330394 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I431a8a70f3c3cbd0e71902ff134c407fa8c293dc Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: WMDE-leszek <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
