tighten/duster

Compatibility Issues with PHP 8.3

krlmrr opened this issue ยท 11 comments

krlmrr commented

Steps to reproduce :

Running duster fix / lint with PHP 8.3 with throw the following error.

image

@krlmrr im having the same error on php 8.1

image
krlmrr commented

@krlmrr im having the same error on php 8.1

image

Interesting, if I set PHP Monitor to PHP 8.2 the error goes away, but I am not able to recreate the error with PHP 8.1.

@krlmrr Im not able to reproduce it locally btw, only on github CI

GussRw commented

Workaround, replace uses: tighten/duster-action@v2 with run: vendor/bin/duster lint

I also getting this error inside gitlab ci with vendor/bin/duster lint via php 8.3. On php 8.2 there is no error at all.

If you are using the duster-action I believe this is the problem:
tighten/duster-action#7 (comment)

Hopefully, we can get a fix, with a fixed version, or PHP 8.3 compatibility.

+1 Bump

@mattstauffer - Would you have a second for this? ๐Ÿ˜„

I've asked the Tighten folks who are helping me with Duster to take a look!

and... @driftingly is on the case.

Honestly I shouldn't even say "helping" at this point lol. Anthony runs things.

Hey everyone, this has been fixed in 2.6.0. Thank you for reporting and patience ๐Ÿ™

krlmrr commented

Can confirm, this bug is fixed!