flancer32 / mage2_ext_csp

Magento 2 module to collect CSP violations reports and to eliminate JS console warnings
GNU General Public License v3.0
54 stars 18 forks source link

CSP rules page in admin not accissible #23

Open eBusinessAtlantique opened 1 year ago

eBusinessAtlantique commented 1 year ago

PHP8.1 M2.4.6-p1 Error when visiting the page CSP rules

{"0":"Deprecated Functionality: usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in \/home\/XXX.fr\/public_html\/vendor\/flancer32\/mage2_ext_csp\/Model\/Config\/Source\/Policy.php on line 32","1":"#1 usort()

Is it a PHP8.1 compatibility issue ? Thanks