Closed cedric-anne closed 2 years ago
Hi @nyamsprod
I don't want to force your hand, but PHP 8.1.0 will be released on November 25th. I think a lot of people would like to be able to enjoy a stable release of league/csv
, including these, fixes by then.
Regards
@cedric-anne indeed but it seems that the PHP8.0 build is now broken 🤔 maybe have a look into it
@cedric-anne seems the master already contains all the changes needed for PHP8.1 I just need some times to correctly prepare the 9.7.3
release. Hopefully it will be done next week
9.7.3
has been released
Fixes following errors found running a test suite on PHP 8.1 RC3.
Adding the
#[\ReturnTypeWillChange]
attribute is the only way to prevent these warnings oncurrent()
methods without breaking compatibility with PHP < 8.0. Forkey()
andvalid()
methods, we could add the return type instead of adding this attribute. I did not do it to prevent issues in inheritance chain, but then I saw these classes are final, so it could be a good solution too. Let me know if you want me to change this.