fix(psalm): stub the Imagick methods Thumbnail uses, on which Psalm 7.12 crashes #18
No reviewers
Labels
No labels
ansible
ci
dependencies
digest
docker
fix
go
javascript
major
minor
patch
php
python
released
security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
dawid/nextcloud-talk-stickers!18
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-psalm-imagick"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Psalm 7.12.0 (#7) crashes on main's CI:
$storage should not be null for Imagick::queryformats. Older Psalm let methods missing from the stub pass. The stub now hasqueryFormats,readImageandsetImageCompressionQuality, which Thumbnail uses. Psalm 7.12 then finds no errors; cs:check is clean.Tests of CI / php (dev-master): passed
21 passed, 0 failed, 5 skipped (26 tests, 0.1 s)
Of
273de5795d, the run, updated by every run.Tests of CI / php (dev-stable32): passed
21 passed, 0 failed, 5 skipped (26 tests, 0.1 s)
Of
273de5795d, the run, updated by every run.Tests of CI / php (dev-stable33): passed
21 passed, 0 failed, 5 skipped (26 tests, 0.1 s)
Of
273de5795d, the run, updated by every run.Tests of CI / php (dev-stable34): passed
21 passed, 0 failed, 5 skipped (26 tests, 0.1 s)
Of
273de5795d, the run, updated by every run.Tests of CI / php (dev-stable35): passed
21 passed, 0 failed, 5 skipped (26 tests, 0.1 s)
Of
273de5795d, the run, updated by every run.