Skip to content

composer php version does not match code syntax #4

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

Open
Cyrille37 opened this issue Dec 20, 2024 · 0 comments
Open

composer php version does not match code syntax #4

Cyrille37 opened this issue Dec 20, 2024 · 0 comments

Comments

@Cyrille37
Copy link

Cyrille37 commented Dec 20, 2024

Hi,

The composer.json say "php": ">=7.1" but the code use "|" type operator syntax (string|array) that is not compatible with Php 7

public function execute(string|array $command): SshCommand

Upgrading the composer Php requirement or downgrading the Php syntax ?

I need your minimal Php version choice before proposing some Pull requests ;-)

@Cyrille37 Cyrille37 changed the title php version in composer does not match code syntax composer php version does not match code syntax Dec 20, 2024
Cyrille37 added a commit to Cyrille37/tiny-ssh-php that referenced this issue Dec 21, 2024
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

No branches or pull requests

1 participant