alexdebril / feed-io-extended-rss Goto Github PK
View Code? Open in Web Editor NEWSupport for Extended RSS standard
License: MIT License
Support for Extended RSS standard
License: MIT License
Looks like fixed in https://github.com/alexdebril/feed-io 5+, but since this library is bound to version ^4.7 of feed-io, it still leads to those warnings.
PHP Deprecated: Return type of FeedIo\Feed::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in [...]/vendor/debril/feed-io/src/FeedIo/Feed.php on line 131
PHP Deprecated: Return type of FeedIo\Feed::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in [...]/vendor/debril/feed-io/src/FeedIo/Feed.php on line 142
PHP Deprecated: Return type of FeedIo\Feed::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in [...]r/vendor/debril/feed-io/src/FeedIo/Feed.php on line 153
PHP Deprecated: Return type of FeedIo\Feed::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in [...]/vendor/debril/feed-io/src/FeedIo/Feed.php on line 165
PHP Deprecated: Return type of FeedIo\Feed::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in [...]/vendor/debril/feed-io/src/FeedIo/Feed.php on line 176
Hi @azmeuk ,
I've released 1.0.0-beta1 for testing and wrote a small script to perform a sanity check and it works fine
<?php
require './vendor/autoload.php';
$client = new \FeedIo\Adapter\Guzzle\Client(new GuzzleHttp\Client());
$logger = new \Psr\Log\NullLogger();
$feedIo = new \FeedIo\ExtendedFeedIo($client, $logger);
$result = $feedIo->read('http://php.net/feed.atom');
var_dump($result->getFeed());
I'm not aware of any feed that uses the extended specification, could you provide a few of them so we can test the new classes with real examples please ?
Thanks :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.