With PHP 5 reaching its end of life at the end of 2018, it's time for modern libraries to move on and take advantage of PHP 7 features such as return types and scalar type declarations. So I did it to feed-io in the next release to come, tagged 4.0 and in beta phase until mid-September followed by a two weeks RC phase and then a final release in early October.
What will change in feed-io 4.0 :
- PHP 5 will no longer be supported in this version
- Return and argument types are declared in function declarations
- Some bugs due to past versions' design are fixed
- Memory usage optimization
Users of feed-io 3 will have to adapt all classes implementing interfaces like FeedInterface to add the type hints in functions' declarations. By the way : feed-io 3 will be supported until the end of 2018 so don't panic if you didn't plan to upgrade soon.
I am looking for testers and feedback will be highly appreciated. You can submit your issues in the project's Github repository, I will give you an answer as soon as possible.