chan-sccp / PAMI

Fork of PHP Asterisk Manager Interface ( AMI ) supports synchronous command ( action )/ responses and asynchronous events using the pattern observer-listener. Supports commands with responses with multiple events. Very suitable for development of operator consoles and / or asterisk / channels / peers monitoring through SOA, etc
http://marcelog.github.com/PAMI
Apache License 2.0
27 stars 21 forks source link

Fixed filter deprecations on PHP 8.1 #27

Open 7-zete-7 opened 1 year ago

7-zete-7 commented 1 year ago

Removes deprecated on PHP 8.1 constant FILTER_SANITIZE_STRING usage.

Replaces undocumented FILTER_SANITIZE_FULL_SPECIAL_CHARS usage by common FILTER_UNSAFE_RAW filter.

Closes #22

More info about migration from FILTER_SANITIZE_STRING constant on Stack Overflow: https://stackoverflow.com/a/69207369/5533907