For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > February 2006 > Auth little check before 1.3.0









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Auth little check before 1.3.0
Christophe Gesché Aka Moosh

2006-02-20, 7:55 am

I know that all is not really a problem, but neart a stable release I
prefer to list zendAnalyser result.

http://130.104.58.207/~moosh/checkcode/?list=/pear/Auth


Auth\Auth.php
Unsafe use of variable in call include()/require() (line 352)
Both empty return and return with value used in function login() (line 456)

-----------------
Auth\Auth\Controller.php
Variable $accessList appears only once (line 51)
The value of variable $accessList was never used (line 51)
Variable $url appears only once (line 99)
The value of variable $url was never used (line 99)

-----------------
Auth\Container\array\Array.php
Variable $password appears only once (line 46)
The value of variable $password was never used (line 46)

-----------------
Auth\Container\DB.php
Unused function argument: $array (line 183)
The value of variable $array was never used (line 185)

-----------------
Auth\Container\DBLite.php
Unused function argument: $array (line 137)
The value of variable $array was never used (line 138)

-----------------
Auth\Container\IMAP.php
Both empty return and return with value used in function _checkServer()
(line 134)
Variable $errno was used before it was defined (line 125)
Variable $errstr was used before it was defined (line 125)
Variable $errno appears only once (line 125)
Variable $errstr appears only once (line 125)
Unused function argument: $array (line 142)
The value of variable $array was never used (line 144)

-----------------
Auth\Container\LDAP.php
Both empty return and return with value used in function
Auth_Container_LDAP() (line 202)
Both empty return and return with value used in function _connect()
(line 250)
Unused function argument: $array (line 353)
The value of variable $array was never used (line 355)
Assignment in condition (line 440)
Variable $ver was used before it was defined (line 401)
Variable $ver was used before it was defined (line 401)

-----------------
Auth\Container\MDB.php
Unused function argument: $array (line 188)
The value of variable $array was never used (line 190)

-----------------
Auth\Container\MDB2.php
Unused function argument: $array (line 188)
The value of variable $array was never used (line 190)

-----------------
Auth\Container\SMBPasswd.php
Variable $user was used before it was defined (line 107)
Variable $pass was used before it was defined (line 107)
Unused function argument: $username (line 105)
Unused function argument: $password (line 105)
Variable $user appears only once (line 107)
Variable $pass appears only once (line 107)

-----------------
Auth\Container.php
Unused function argument: $username (line 55)
Unused function argument: $password (line 55)
Variable $isChallengeResponse appears only once (line 55)
The value of variable $isChallengeResponse was never used (line 55)
Unused function argument: $username (line 150)
Unused function argument: $password (line 150)
Variable $additional appears only once (line 150)
The value of variable $additional was never used (line 150)
Unused function argument: $username (line 159)
Unused function argument: $username (line 169)
Unused function argument: $password (line 169)



--
---------------------------------
Moosh -- claroline.net -- php.net
=== Php & Pear @ Fosdem 2006 ===

http://moosh.et.son.brol.be/ (fr)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com