Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 19, 2025

Backport of PR #48793

Signed-off-by: Robin Appelman <robin@icewind.nl>
@backportbot backportbot bot added the 3. to review Waiting for reviews label Mar 19, 2025
@backportbot backportbot bot added this to the Nextcloud 30.0.8 milestone Mar 19, 2025

if ($res === false) {
throw new ServiceUnavailable($this->l10n->t('Could not open file'));
if ($this->fileView->file_exists($path)) {

Check notice

Code scanning / Psalm

RiskyTruthyFalsyComparison Note

Operand of type bool|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead.
@susnux susnux merged commit 00465dc into stable30 Mar 20, 2025
178 of 183 checks passed
@susnux susnux deleted the backport/48793/stable30 branch March 20, 2025 08:56
@Altahrim Altahrim mentioned this pull request Apr 3, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants