]> BookStack Code Mirror - bookstack/commit
Maintenance: Continued work towards PHPstan level 2
authorDan Brown <redacted>
Tue, 2 Sep 2025 10:10:47 +0000 (11:10 +0100)
committerDan Brown <redacted>
Tue, 2 Sep 2025 10:10:47 +0000 (11:10 +0100)
commit1e34954554d672446693bcc74bf7f9aae1936802
tree9337dc5feac213b25f4812939480640fa3dea2f7
parent5ea4e1e935624e060ad2b4e257a76539ec1a4746
Maintenance: Continued work towards PHPstan level 2

Updated html description code to be behind a proper interface.
Set new convention for mode traits/interfaces.
18 files changed:
app/Entities/Models/Book.php
app/Entities/Models/Bookshelf.php
app/Entities/Models/Chapter.php
app/Entities/Models/CoverImageInterface.php [moved from app/Entities/Models/HasCoverImage.php with 92% similarity]
app/Entities/Models/DeletableInterface.php [moved from app/Entities/Models/Deletable.php with 90% similarity]
app/Entities/Models/Deletion.php
app/Entities/Models/Entity.php
app/Entities/Models/HasHtmlDescription.php [deleted file]
app/Entities/Models/HtmlDescriptionInterface.php [new file with mode: 0644]
app/Entities/Models/HtmlDescriptionTrait.php [new file with mode: 0644]
app/Entities/Queries/PageQueries.php
app/Entities/Repos/BaseRepo.php
app/Entities/Tools/Cloner.php
app/Entities/Tools/PageIncludeParser.php
app/Entities/Tools/TrashCan.php
app/References/ReferenceUpdater.php
app/Sorting/SortRuleController.php
app/Uploads/Controllers/ImageGalleryApiController.php