You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\BookmarkTest\\:\\:testLoadBookmarksEmptyList\\(\\) has no return type specified\\.$#"
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Service\\\\Mock\\\\BookmarkTest\\:\\:testLocationShouldBeBookmarked\\(\\) has no return type specified\\.$#"
Copy file name to clipboardexpand all lines: src/contracts/Persistence/Bookmark/Handler.php
+4
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,8 @@ public function loadUserIdsByLocation(Location $location): array;
50
50
/**
51
51
* Loads bookmarks owned by user.
52
52
*
53
+
* @deprecated The "Handler::loadUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::find()" and "Criterion\IsBookmarked" instead.
54
+
*
53
55
* @param int $userId
54
56
* @param int $offset the start offset for paging
55
57
* @param int $limit the number of bookmarked locations returned
@@ -61,6 +63,8 @@ public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1)
61
63
/**
62
64
* Count bookmarks owned by user.
63
65
*
66
+
* @deprecated The "Handler::countUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::count()" and "Criterion\IsBookmarked" instead.
Copy file name to clipboardexpand all lines: src/lib/Persistence/Cache/BookmarkHandler.php
+4
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,8 @@ function (Bookmark $bookmark) {
83
83
}
84
84
85
85
/**
86
+
* @deprecated The "BookmarkHandler::loadUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::find()" and "Criterion\IsBookmarked" instead.
@@ -97,6 +99,8 @@ public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1)
97
99
}
98
100
99
101
/**
102
+
* @deprecated The "BookmarkHandler::countUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::count()" and "Criterion\IsBookmarked" instead.
Copy file name to clipboardexpand all lines: src/lib/Persistence/Legacy/Bookmark/Gateway.php
+4
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ abstract public function loadUserIdsByLocation(Location $location): array;
52
52
/**
53
53
* Load data for all bookmarks owned by given $userId.
54
54
*
55
+
* @deprecated Gateway::loadUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::find()" and "Criterion\IsBookmarked" instead.
56
+
*
55
57
* @param int $userId ID of user
56
58
* @param int $offset Offset to start listing from, 0 by default
57
59
* @param int $limit Limit for the listing. -1 by default (no limit)
@@ -63,6 +65,8 @@ abstract public function loadUserBookmarks(int $userId, int $offset = 0, int $li
63
65
/**
64
66
* Count bookmarks owned by given $userId.
65
67
*
68
+
* @deprecated The "Gateway::countUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::count()" and "Criterion\IsBookmarked" instead.
Copy file name to clipboardexpand all lines: src/lib/Persistence/Legacy/Bookmark/Gateway/DoctrineDatabase.php
+4
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,8 @@ public function loadUserIdsByLocation(Location $location): array
124
124
}
125
125
126
126
/**
127
+
* @deprecated The "DoctrineDatabase::loadUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::find()" and "Criterion\IsBookmarked" instead.
@@ -146,6 +148,8 @@ public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1)
146
148
}
147
149
148
150
/**
151
+
* @deprecated The "DoctrineDatabase::countUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::count()" and "Criterion\IsBookmarked" instead.
Copy file name to clipboardexpand all lines: src/lib/Persistence/Legacy/Bookmark/Gateway/ExceptionConversion.php
+8
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,11 @@ public function loadBookmarkDataByUserIdAndLocationId(int $userId, array $locati
57
57
}
58
58
}
59
59
60
+
/**
61
+
* @deprecated The "ExceptionConversion::loadUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::find()" and "Criterion\IsBookmarked" instead.
@@ -66,6 +71,9 @@ public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1)
66
71
}
67
72
}
68
73
74
+
/**
75
+
* @deprecated The "ExceptionConversion::countUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::count()" and "Criterion\IsBookmarked" instead.
Copy file name to clipboardexpand all lines: src/lib/Persistence/Legacy/Bookmark/Handler.php
+4
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,8 @@ public function loadByUserIdAndLocationId(int $userId, array $locationIds): arra
75
75
}
76
76
77
77
/**
78
+
* @deprecated The "Handler::loadUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::find()" and "Criterion\IsBookmarked" instead.
@@ -85,6 +87,8 @@ public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1)
85
87
}
86
88
87
89
/**
90
+
* @deprecated The "Handler::countUserBookmarks()" method is deprecated, will be removed in 5.0.0. Use "LocationService::count()" and "Criterion\IsBookmarked" instead.
0 commit comments