XoopsModules25x/xoopstube

View on GitHub
sbookmarks.php

Summary

Maintainability
F
4 days
Test Coverage

getSocialBookmarks accesses the super-global variable $GLOBALS.
Open

function getSocialBookmarks($lid)
{
    global $xoopsModule;

//    $myts           = new Xoopstube\TextSanitizer();
Severity: Minor
Found in sbookmarks.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

getSocialBookmarks accesses the super-global variable $GLOBALS.
Open

function getSocialBookmarks($lid)
{
    global $xoopsModule;

//    $myts           = new Xoopstube\TextSanitizer();
Severity: Minor
Found in sbookmarks.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

getSocialBookmarks accesses the super-global variable $GLOBALS.
Open

function getSocialBookmarks($lid)
{
    global $xoopsModule;

//    $myts           = new Xoopstube\TextSanitizer();
Severity: Minor
Found in sbookmarks.php by phpmd

Superglobals

Since: 0.2

Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.

Example

class Foo {
    public function bar() {
        $name = $_POST['foo'];
    }
}

Source

Method getSocialBookmarks has 672 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function getSocialBookmarks($lid)
{
    global $xoopsModule;

//    $myts           = new Xoopstube\TextSanitizer();
Severity: Major
Found in sbookmarks.php - About 3 days to fix

    File sbookmarks.php has 677 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    /**
     * Module: XoopsTube
     *
    Severity: Major
    Found in sbookmarks.php - About 1 day to fix

      The function getSocialBookmarks() has 833 lines of code. Current threshold is set to 100. Avoid really long methods.
      Open

      function getSocialBookmarks($lid)
      {
          global $xoopsModule;
      
      //    $myts           = new Xoopstube\TextSanitizer();
      Severity: Minor
      Found in sbookmarks.php by phpmd

      Avoid using undefined variables such as '$sbmark' which will lead to PHP notices.
      Open

          $sbmark['bibsonomy'] = '<a href="https://www.bibsonomy.org/ShowBookmarkEntry?c=b&jump=yes&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmark' which will lead to PHP notices.
      Open

          $sbmark['blogmark'] = '<a href="https://blogmarks.net/my/new.php?title='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['facebook'] = '<a href="https://www.facebook.com/sharer.php?u='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['italknews'] = '<a href="https://italknews.com/member/write_link.php?content='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['lookmarks'] = '<a href="https://www.lookmarks.com/AddLinkFrame.aspx?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['riffs'] = '<a href="https://www.riffs.com/item.cgi?section=init_url&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['sbmarks'] = //$sbmarks['blackflip'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['stumble'] . ' ' . //$sbmarks['tagtooga'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['connotea'] = '<a href="https://www.connotea.org/add?continue=return&uri='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['dzone'] = '<a href="https://www.dzone.com/links/add.html?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['stumble'] = '<a href="https://www.stumbleupon.com/submit?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['delicio'] . ' ' . $sbmarks['digg'] . ' ' . //$sbmarks['diigo'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['furl'] . ' ' . $sbmarks['google'] . ' ' . //$sbmarks['gravee'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['blackflip'] = '<a href="https://www.backflip.com/add_page_pop.ihtml?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['eatmyhamster'] = '<a href="https://www.eatmyhamster.com/post?u='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['jookster'] = '<a href="https://www.jookster.com/JookThis.aspx?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['facebook'] . ' ' . //$sbmarks['fantacular'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['gravee'] = '<a href="https://www.gravee.com/account/bookmarkpop?u='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['reddit'] = '<a href="https://reddit.com/submit?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['yahoo'] = '<a href="https://myweb2.search.yahoo.com/myresults/bookmarklet?t='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['blinklist'] . ' ' . //$sbmark['blogmark'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['diigo'] = '<a href="https://www.diigo.com/post?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['newsvine'] = '<a href="https://www.newsvine.com/_tools/seed&save?u='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['squidoo'] = '<a href="https://www.squidoo.com/lensmaster/bookmark?'
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['techno'] = '<a="https://www.technorati.com/faves?add='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['yahoo'] . ' ' . $sbmarks['info'];
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['blinklist'] = '<a href="https://www.blinklist.com/index.php?Action=Blink/addblink.php&Quick=true&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['google'] = '<a href="https://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['igooi'] = '<a href="https://www.igooi.com/addnewitem.aspx?self=1&noui=yes&jump=close&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['kinja'] = '<a href="https://kinja.com/id.knj?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['linkroll'] = '<a href="https://linkroll.com/insert.php?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['shadow'] = '<a href="https://www.shadows.com/features/tcr.htm?title='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['fark'] = '<a href="https://cgi.fark.com/cgi/fark/edit.pl?new_url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['linkagogo'] = '<a href="https://www.linkagogo.com/go/AddNoPopup?title='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['info'] = '<a href="https://en.wikipedia.org/wiki/Social_bookmarking" target="_blank"><img border="0" src="'
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['netscape'] . ' ' . //$sbmarks['netvouz'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmark' which will lead to PHP notices.
      Open

          $sbmark['citeulike'] = '<a href="https://www.citeulike.org/posturl?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['furl'] = '<a href="https://www.furl.net/storeIt.jsp?t='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['nowpublic'] = '<a href="https://view.nowpublic.com/?src='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['rojo'] = '<a href="https://www.rojo.com/submit/?title='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['tagtooga'] = '<a href="https://www.tagtooga.com/tapp/db.exe?c=jsEntryForm&b=fx&title='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['delicio'] = '<a href="https://del.icio.us/post?v=4&noui&jump=close&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['lycos'] = '<a href="https://iq.lycos.co.uk/lili/my/add?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['magnolia'] = '<a href="https://ma.gnolia.com/bookmarklet/add?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['ning'] = '<a href="https://bookmarks.ning.com/addItem.php?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['reddit'] . ' ' . //$sbmarks['riffs'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          return $sbmarks['sbmarks'];
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['feedmelinks'] = '<a href="https://feedmelinks.com/categorize?from=toolbar&op=submit&name='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['yahoo'] . ' ' . $sbmarks['info'];
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['netscape'] = '<a href="https://www.netscape.com/submit/?U='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['rawsugar'] = '<a href="https://www.rawsugar.com/pages/tagger.faces?turl='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['digg'] = '<a href="https://digg.com/submit?phase=2&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['earthlink'] = '<a href="https://myfavorites.earthlink.net/my/add_favorite?v=1&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['fantacular'] = '<a href="https://fantacular.com/add.asp?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['live'] = '<a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&title='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['linuxquestions'] = '<a href="https://bookmarks.linuxquestions.org/linux/post?uri='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['markabboo'] = '<a href="https://www.markaboo.com/resources/new?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['netvouz'] = '<a href="https://www.netvouz.com/action/submitBookmark?url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['furl'] . ' ' . $sbmarks['google'] . ' ' . //$sbmarks['gravee'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

          $sbmarks['feedmarker'] = '<a href="https://www.feedmarker.com/admin.php?do=bookmarklet_mark&url='
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Avoid using undefined variables such as '$sbmarks' which will lead to PHP notices.
      Open

              $sbmarks['delicio'] . ' ' . $sbmarks['digg'] . ' ' . //$sbmarks['diigo'] . " " .
      Severity: Minor
      Found in sbookmarks.php by phpmd

      UndefinedVariable

      Since: 2.8.0

      Detects when a variable is used that has not been defined before.

      Example

      class Foo
      {
          private function bar()
          {
              // $message is undefined
              echo $message;
          }
      }

      Source https://phpmd.org/rules/cleancode.html#undefinedvariable

      Line exceeds 120 characters; contains 128 characters
      Open

          //        = '<a href="https://www.spurl.net/spurl.php?url=' . $sbmarkArray['link'] . '&title=' . $sbmarkArray['title'] . '"'
      Severity: Minor
      Found in sbookmarks.php by phpcodesniffer

      Line exceeds 120 characters; contains 121 characters
      Open

          $sbmarks['info'] = '<a href="https://en.wikipedia.org/wiki/Social_bookmarking" target="_blank"><img border="0" src="'
      Severity: Minor
      Found in sbookmarks.php by phpcodesniffer

      Line exceeds 120 characters; contains 193 characters
      Open

          $sbmarkArray          = $GLOBALS['xoopsDB']->fetchArray($GLOBALS['xoopsDB']->query('SELECT lid, title FROM ' . $GLOBALS['xoopsDB']->prefix('xoopstube_videos') . ' WHERE lid=' . (int)$lid));
      Severity: Minor
      Found in sbookmarks.php by phpcodesniffer

      Line exceeds 120 characters; contains 124 characters
      Open

          //          . '"' . ' target="_blank"><img border="0" src="' . XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname')
      Severity: Minor
      Found in sbookmarks.php by phpcodesniffer

      Line exceeds 120 characters; contains 126 characters
      Open

          //        = '<a href="https://www.wink.com/_/tag?url=' . $sbmarkArray['link'] . '&doctitle=' . $sbmarkArray['title'] . '"'
      Severity: Minor
      Found in sbookmarks.php by phpcodesniffer

      Line exceeds 120 characters; contains 124 characters
      Open

          $sbmarkArray['link']  = XOOPS_URL . '/modules/' . $xoopsModule->getVar('dirname') . '/singlevideo.php?lid=' . (int)$lid;
      Severity: Minor
      Found in sbookmarks.php by phpcodesniffer

      Line exceeds 120 characters; contains 126 characters
      Open

          //        = '<a href="https://simpy.com/simpy/LinkAdd.do?title=' . $sbmarkArray['title'] . '&href=' . $sbmarkArray['link']
      Severity: Minor
      Found in sbookmarks.php by phpcodesniffer

      There are no issues that match your filters.

      Category
      Status