Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ocp-version: [ 'dev-master', 'v20.0.0' ]
ocp-version: [ 'dev-master', 'v20.0.1' ]
name: Nextcloud ${{ matrix.ocp-version }}
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"require-dev": {
"roave/security-advisories": "dev-master",
"christophwurst/nextcloud": "v20.0.0",
"christophwurst/nextcloud": "v20.0.1",
"christophwurst/nextcloud_testing": "0.11.0",
"nextcloud/coding-standard": "^0.3.0",
"phan/phan": "^3.0",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/Db/AliasMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
use OCP\IDBConnection;
use function array_map;

/**
* @template-extends QBMapper<Alias>
*/
class AliasMapper extends QBMapper {

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Db/ClassifierMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;

/**
* @template-extends QBMapper<Classifier>
*/
class ClassifierMapper extends QBMapper {
public function __construct(IDBConnection $db) {
parent::__construct($db, 'mail_classifiers');
Expand Down
3 changes: 3 additions & 0 deletions lib/Db/CollectedAddressMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
use OCP\IDBConnection;
use function array_map;

/**
* @template-extends QBMapper<CollectedAddress>
*/
class CollectedAddressMapper extends QBMapper {

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Db/LocalAttachmentMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;

/**
* @template-extends QBMapper<LocalAttachment>
*/
class LocalAttachmentMapper extends QBMapper {

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Db/MailAccountMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
use OCP\IDBConnection;
use OCP\IUser;

/**
* @template-extends QBMapper<MailAccount>
*/
class MailAccountMapper extends QBMapper {

/**
Expand Down
3 changes: 3 additions & 0 deletions lib/Db/MailboxMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* @template-extends QBMapper<Mailbox>
*/
namespace OCA\Mail\Db;

use OCA\Mail\Account;
Expand Down
3 changes: 3 additions & 0 deletions lib/Db/MessageMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
use function ltrim;
use function mb_substr;

/**
* @template-extends QBMapper<Message>
*/
class MessageMapper extends QBMapper {

/** @var ITimeFactory */
Expand Down