burzum / cakephp-html-purifier

This is a CakePHP wrapper for the HTML Purifier lib. The plugin includes a trait, a view helper, a behavior and a shell to clean your markup wherever you like, in the view or in the model layer or clean any table and field using the shell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change composer.json to allow PHP8

hacheraw opened this issue · comments

I'm using CakePHP 4.3 running on PHP8.1 and get no errors/deprecations and everything is working as expected.
The only deprecation I get is using Cake\Console\Shell instead of Commands (they will be removed in CakePHP 5.0)

Could you please update composer.json to something like "php": ">=7.2 <9", so we don't have to use composer update --ignore-platform-reqs

I could to a PR if >=7.2 <9 is good for you.

Thanks!!!