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

Fatal error with Php 8.1.2 #898

Open
manuelh78 opened this issue Feb 23, 2024 · 3 comments
Open

Fatal error with Php 8.1.2 #898

manuelh78 opened this issue Feb 23, 2024 · 3 comments

Comments

@manuelh78
Copy link

Hi,

I can't start Atoum :

PHP Fatal error: Unparenthesized a ? b : c ?: d is not supported. Use either (a ? b : c) ?: d or a ? b : (c ?: d) in phar:///home/manuel/php/atoum/atoum.phar/1/classes/autoloader.php on line 210

Thanks

@Grummfy
Copy link
Member

Grummfy commented Feb 26, 2024

hello, which version of atoum do you use?

@manuelh78
Copy link
Author

Hi,
I used a bad link in the README root page (with wget).

The PHAR link is not the last version (v3.2.0).
I don't have this problem with the last available package : https://github.com/atoum/atoum/releases/download/4.0.3/atoum.phar

Sorry.

"Why atoum?
atoum is really easy to install: clone it from github, download its PHAR or simply use composer,"

@chadyred
Copy link

chadyred commented Apr 11, 2024

Hello @manuelh78,

In all cases this is a deprecated things using this synthase, so use PHP 7.3 or use a docker image with an old PHP to run this atoum 3.2.0 version. IMO, keep version up to date is the way to go, so why not use the latest ?

https://www.php.net/manual/en/migration74.deprecated.php

Thanks :)

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

3 participants