Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires PHP 8.0 + #1404

Closed
wants to merge 1 commit into from

Conversation

daniel-lucio
Copy link

This will allow PHP 8.1 and 8.2

? !
Type bug / feature / improvement
BC Break yes / no
Fixed issues

Summary

This will allow PHP 8.1 and 8.2
@noplanman
Copy link
Member

@daniel-lucio "^8.0" is effectively "8.*", so this PR doesn't have an effect on PHP 8.1 or 8.2.

@noplanman noplanman closed this May 27, 2023
@daniel-lucio
Copy link
Author

but as it is now, the composer won't install it if it is running with PHP 8.1 or 8.2, that's why I set 8.*

@jacklul
Copy link
Collaborator

jacklul commented May 27, 2023

but as it is now, the composer won't install it if it is running with PHP 8.1 or 8.2, that's why I set 8.*

Are you sure there isn't other constraint doing that? Everything is installing correctly here.

Install log
PS R:\> composer require longman/telegram-bot
Local override forces PHP 8.2 (.phpversion)
./composer.json has been created
Running composer update longman/telegram-bot
Loading composer repositories with package information
Updating dependencies
Lock file operations: 10 installs, 0 updates, 0 removals
  - Locking guzzlehttp/guzzle (7.7.0)
  - Locking guzzlehttp/promises (2.0.0)
  - Locking guzzlehttp/psr7 (2.5.0)
  - Locking longman/telegram-bot (0.80.0)
  - Locking psr/http-client (1.0.2)
  - Locking psr/http-factory (1.0.2)
  - Locking psr/http-message (2.0)
  - Locking psr/log (3.0.0)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking symfony/deprecation-contracts (v3.2.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 10 installs, 0 updates, 0 removals
  - Installing guzzlehttp/promises (2.0.0): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing psr/http-factory (1.0.2): Extracting archive
  - Installing guzzlehttp/psr7 (2.5.0): Extracting archive
  - Installing psr/log (3.0.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.2.1): Extracting archive
  - Installing psr/http-client (1.0.2): Extracting archive
  - Installing guzzlehttp/guzzle (7.7.0): Extracting archive
  - Installing longman/telegram-bot (0.80.0): Extracting archive
1 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
5 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
Using version ^0.80.0 for longman/telegram-bot
PS R:\> php --version
Local override forces PHP 8.2 (.phpversion)
PHP 8.2.5 (cli) (built: Apr 12 2023 08:42:33) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.2.5, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.5, Copyright (c), by Zend Technologies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants