Refactor file hashing for code readability

Created on 28 April 2024, 7 months ago
Updated 15 May 2024, 6 months ago

Problem/Motivation

When turning on phpstan at level 9, I had to add numerous assert() statements. In the interest of slowly cleaning these up, and making code easier to read, we could move the file hashing code into specific classes that handle it for each mechanism (hash and sodium). Thus no type checking would be needed.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024