php-telegram-bot / telegram-bot-manager

PHP Telegram Bot Manager
MIT License
208 stars 65 forks source link

PHP version 8.0.0 not supported #60

Closed quadratz closed 3 years ago

quadratz commented 3 years ago

Bug Report

Required Information

? !
Operating system Android 10 (Using termux)
PHP Telegram Bot Manager version 1.5.0
PHP Telegram Bot version 0.64.0
PHP version 8.0.0
MySQL version none
Update Method none
Self-signed certificate none
RAW update (if available) {...}

Summary

Could not update the Telegram Bot Manager because it was expecting php version 7.1 instead of 8.0.0 (the newer version)

Current behaviour

This error occured when $composer update is executed.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - php-telegram-bot/telegram-bot-manager[1.4.0, ..., 1.5.0] require php ^7.1 -> your php version (8.0.0) does not satisfy that requirement.
    - Root composer.json requires php-telegram-bot/telegram-bot-manager ^1.4 -> satisfiable by php-telegram-bot/telegram-bot-manager[1.4.0, 1.5.0].

How to reproduce

  1. Run $composer update
  2. Error occured.

Expected behaviour

PHP version 8.0.0 was expected to satisfy the requirement.

noplanman commented 3 years ago

I'm busy preparing the next version release of the core library, which will support PHP 8. Then I'll bump this repo too πŸ‘

noplanman commented 3 years ago

@CikiMomogi Version 1.6.0 has been released, now supporting the core version 0.70.* and PHP 8 πŸ‘