e107inc/e107

View on GitHub
e107_plugins/import/providers/rss_import_class.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Variable $var was undeclared, but array fields are being added to it.
Open

        $var[0]['caption']    = "Feed URL";

Parameter $body has undeclared type \Returns
Open

    function saveImages($body,$cat='news')

Argument 2 (mode) is '0755' but \mkdir() takes int
Open

                mkdir(e_MEDIA.$relPath,'0755');    

Reference to undeclared property \rss_import->saveImages (Did you mean \rss_import->saveImages())
Open

        $this->saveImages    = vartrue($_POST['rss_saveimages'],false);

string passed to foreach instead of array
Open

                foreach($array['channel']['item'] as $val)

When fetching an array index from a value of type string, found an array index of type 'channel', but expected the index to be of type int
Open

                foreach($array['channel']['item'] as $val)

When fetching an array index from a value of type string, found an array index of type 'item', but expected the index to be of type int
Open

                foreach($array['channel']['item'] as $val)

Saw possibly unextractable annotation for a fragment of comment '* @param returns text-body with remote links replaced with local ones for the images downloaded.': after returns, did not see an element name (will guess based on comment order)
Open

     * @param returns text-body with remote links replaced with local ones for the images downloaded. 

Argument 3 (subject) is \Returns but \str_replace() takes array|string
Open

        return str_replace($search,$replace,$body);

There are no issues that match your filters.

Category
Status