Code
- DMSDocumentTest::testDefaultDownloadBehabiourCMSFields()
- DMSDocumentTest::testRelatedDocuments()
- DMSDocumentTest::testGetRelatedDocumentsIsExtensible()
- DMSDocumentTest::testDocumentHasCmsFieldForManagingRelatedDocuments()
- DMSDocumentTest::testDocumentHasNoCMSFieldsForManagingRelatedDocumentsIfCantEdit()
- DMSDocumentTest::testGetRelatedDocumentsForAutocompleter()
- DMSDocumentTest::testGetPermissionDeniedReason()
- DMSDocumentTest::testGetRelatedPages()
- DMSDocumentTest::testGetTitleOrFilenameWithoutId()
- DMSDocumentTest::testGetStorageFolderThenDelete()
- DMSDocumentTest::testGetLink()
- DMSDocumentTest::testGetDescriptionWithLineBreak()
- DMSDocumentTest::getRelatedDocumentsGridField()
- DMSDocumentTest::testGetActionTaskHtml()
- DMSDocumentTest::testGetPermissionsActionPanel()
- DMSDocumentTest::testCanView()
- DMSDocumentTest::testCanEdit()
- DMSDocumentTest::testCanDelete()
- DMSDocumentTest::testCanCreate()
- DMSDocumentTest::logoutMember()
If a method or function can return multiple different values and unless you are sure that you only can receive a single value in this context, we recommend to add an additional type check:
If this a common case that PHP Analyzer should handle natively, please let us know by opening an issue.