mrclay/jsmin-php

ord() passing only string parameter

Closed this issue · 5 comments

Since PHP 7 requires that ord function parameter passing only string type.

The original notice message:

PHP Deprecated: ord(): Passing null to parameter #1 ($character) of type string is deprecated

When's the next version planned to be released to support PHP 8.1?

As soon as projects are moving to adopt php 8.1, this is quite a showstopper for eg. Pradosoft/prado.
It would be nice to see this fixed, thank you.

@ctrlaltca did you think sending a pr perhaps rather than complaining?

Hey man, try to have a look at #13

Should be fixed with 2.4.1 release, closing