Giter VIP home page Giter VIP logo

feed-io-extended-rss's People

Contributors

alexdebril avatar azmeuk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

azmeuk

feed-io-extended-rss's Issues

Deprecated notices on PHP 8.1

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

Validation before 1.0.0 release

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 :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.