edamov / pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key)
MIT License
378 stars 121 forks source link

Package needs PHP ^7.3 #58

Closed koenhoeijmakers closed 5 years ago

koenhoeijmakers commented 5 years ago

In the Payload class there is a use of is_countable() which doesn't exist in php 7.2 or lower.

https://github.com/edamov/pushok/blob/7fdfd1efd9c8c968bee58cb4a8faa41070dfebba/src/Payload.php#L353