/Application/Runtime/Cache/Home/f562a13868253e918499d81fcc16f5f5.php:410 | 17 | - Undefined Constants
- No Parenthesis For Language Construct
- Several Instructions On The Same Line
- Non-constant Index In Array
- Could Make A Function
- Undefined Variable
- Empty Instructions
|
/ThinkPHP/Library/Vendor/Smarty/plugins/function.html_select_time.php:180 | 15 | - Used Once Variables (In Scope)
- list() May Omit Variables
- Uses Default Values
- Overwritten Literals
- Undefined Functions
- Written Only Variables
- Could Make A Function
|
/Application/Runtime/Cache/Admin/ccc9ced3ad798311a07cb47b740981c5.php:50 | 14 | - Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Uses Default Values
- Useless Parenthesis
- Common Alternatives
- Nested Ifthen
- Check All Types
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Admin/ccc9ced3ad798311a07cb47b740981c5.php:80 | 12 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Useless Parenthesis
- Used Once Variables
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Home/ba64edddecd6999a8879d96b03c40b4e.php:105 | 12 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Useless Parenthesis
- Undefined Variable
- Empty Instructions
|
/rule/Public/Common/PHPExcel/PHPExcel/Cell/AdvancedValueBinder.php:118 | 12 | - Strpos()-like Comparison
- Uses Default Values
- Undefined Functions
- Drop Else After Return
- No Need For Else
- Wrong Type For Native PHP Function
|
/Application/Admin/Controller/ContentController.class.php:12 | 11 | - Used Once Variables (In Scope)
- Buried Assignation
- Used Once Variables
- Written Only Variables
- Only Variable For Reference
- Only Variable Passed By Reference
- No Literal For Reference
|
/Application/Runtime/Cache/Admin/badcf48b869e2273f2c1c9046770822d.php:404 | 11 | - Undefined Constants
- No Parenthesis For Language Construct
- Several Instructions On The Same Line
- Non-constant Index In Array
- Nested Ifthen
- Empty Instructions
|
/Application/Runtime/Cache/Admin/e9b3328accb48a34c6836db7985c28ca.php:478 | 11 | - Strict Comparison With Booleans
- No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Uses Default Values
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Home/6122d9172990cd036fafa9f18a185d49.php:417 | 11 | - Undefined Constants
- No Parenthesis For Language Construct
- Several Instructions On The Same Line
- Non-constant Index In Array
- Nested Ifthen
- Empty Instructions
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_configfilelexer.php:91 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_configfilelexer.php:198 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_configfilelexer.php:319 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_configfilelexer.php:388 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_configfilelexer.php:466 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_configfilelexer.php:539 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_templatelexer.php:156 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_templatelexer.php:466 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_templatelexer.php:908 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_templatelexer.php:1033 | 11 | - Uses Default Values
- Should Use Constants
- Undefined Functions
- Could Make A Function
- Nested Ifthen
- Bail Out Early
- Wrong Type For Native PHP Function
- Avoid Optional Properties
|
/Application/Runtime/Cache/Admin/4e6c97a9d1110947b8c30921ff267572.php:416 | 10 | - Undefined Constants
- No Parenthesis For Language Construct
- Several Instructions On The Same Line
- Useless Parenthesis
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Admin/707a5e8900f22ec285caf656eb871b59.php:475 | 10 | - Undefined Constants
- Strict Comparison With Booleans
- No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Uses Default Values
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Admin/8ddc6078762d0ce40cef271eb83fe010.php:445 | 10 | - Undefined Constants
- Strict Comparison With Booleans
- No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Uses Default Values
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Admin/badcf48b869e2273f2c1c9046770822d.php:406 | 10 | - Strict Comparison With Booleans
- No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Merge If Then
- Empty Instructions
|
/Application/Runtime/Cache/Home/6122d9172990cd036fafa9f18a185d49.php:419 | 10 | - Strict Comparison With Booleans
- No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Merge If Then
- Empty Instructions
|
/Application/Runtime/Cache/Home/8b47d9fcc2f04e7b8c4675e1e16c4f65.php:734 | 10 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Useless Parenthesis
- Used Once Variables
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Home/f8acb6cc26eddea79d8b69496d2ef5de.php:29 | 10 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Useless Parenthesis
- Undefined Variable
- Empty Instructions
|
/ThinkPHP/Library/Vendor/EaseTemplate/template.core.php:879 | 10 | - Strict Comparison With Booleans
- Uses Default Values
- Useless Parenthesis
- No Direct Usage
- Wrong Type For Native PHP Function
- @ Operator
|
/rule/Core/Library/Think/Cache/Driver/Shmop.class.php:133 | 10 | - Aliases Usage
- Uses Default Values
- Static Loop
- Undefined Functions
- Could Make A Function
- Empty Blocks
- Wrong Type For Native PHP Function
- Avoid Substr() One
|
/rule/Core/Tpl/dispatch_jump.tpl:33 | 10 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Useless Parenthesis
- Undefined Variable
- Empty Instructions
|
/rule/Core/Library/Org/Net/Http.class.php:103 | 9 | - Used Once Variables (In Scope)
- Useless Parenthesis
- Variable Is Not A Condition
- Wrong Type For Native PHP Function
- Undefined Variable
- @ Operator
|
/rule/Core/Library/Org/Util/Rbac.class.php:116 | 9 | - Strict Comparison With Booleans
- Uses Default Values
- Drop Else After Return
- Bail Out Early
- No Need For Else
- Wrong Type For Native PHP Function
|
/rule/Public/Common/PHPExcel/PHPExcel/Calculation.php:3049 | 9 | - Uses Default Values
- PHP Keywords As Names
- Useless Parenthesis
- Undefined Functions
- Wrong Type For Native PHP Function
- Invalid Regex
- Preprocessable
|
/rule/Public/Common/PHPExcel/PHPExcel/ReferenceHelper.php:383 | 9 | - Methods Without Return
- Never Used Parameter
- Hidden Nullable
- Too Many Local Variables
- Max Level Of Nesting
- Mismatched Default Arguments
|
/rule/Public/Common/PHPExcel/PHPExcel/Shared/PCLZip/pclzip.lib.php:1870 | 9 | - Used Once Variables (In Scope)
- Forgotten Visibility
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
- Max Level Of Nesting
|
/Public/Admin/ueditor/php/controller.php:8 | 8 | - Uses Default Values
- No Hardcoded Path
- Undefined Functions
- Could Make A Function
- Check JSON
- Wrong Type For Native PHP Function
|
/ThinkPHP/Library/Think/Build.class.php:152 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Think/Build.class.php:154 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Think/Build.class.php:155 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Think/Log/Driver/Sae.class.php:38 | 8 | - Strict Comparison With Booleans
- Used Once Variables (In Scope)
- Uses Default Values
- Return True False
- Could Make A Function
- Cast To Boolean
- Undefined Variable
|
/ThinkPHP/Library/Vendor/EaseTemplate/template.core.php:522 | 8 | - Implied If
- Common Alternatives
- Undefined Functions
- Or Die
- Exit() Usage
- @ Operator
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_resource_eval.php:58 | 8 | - Used Once Variables (In Scope)
- Iffectations
- Uses Default Values
- PHP Keywords As Names
- Buried Assignation
- Written Only Variables
- Could Make A Function
- Merge If Then
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_resource_string.php:58 | 8 | - Used Once Variables (In Scope)
- Iffectations
- Uses Default Values
- PHP Keywords As Names
- Buried Assignation
- Written Only Variables
- Could Make A Function
- Merge If Then
|
/ThinkPHP/Library/Vendor/TemplateLite/class.template.php:605 | 8 | - Used Once Variables (In Scope)
- Forgotten Visibility
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
|
/rule/Core/Library/Behavior/CheckActionRouteBehavior.class.php:126 | 8 | - Uses Default Values
- Drop Else After Return
- Could Make A Function
- Bail Out Early
- No Need For Else
- Wrong Type For Native PHP Function
|
/rule/Core/Library/Think/Build.class.php:152 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/Library/Think/Build.class.php:154 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/Library/Think/Build.class.php:155 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/Library/Think/Log/Driver/Sae.class.php:38 | 8 | - Strict Comparison With Booleans
- Used Once Variables (In Scope)
- Uses Default Values
- Return True False
- Could Make A Function
- Cast To Boolean
- Undefined Variable
|
/rule/Core/index.php:37 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:38 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:48 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:52 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:54 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:55 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:56 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:57 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:58 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:59 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:60 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:61 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:63 | 8 | - Invalid Constant Name
- Multiple Constant Definition
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:64 | 8 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Public/Common/PHPExcel/PHPExcel/Shared/trend/bestFitClass.php:412 | 8 | - Used Once Variables (In Scope)
- Forgotten Visibility
- Useless Return
- PHP Keywords As Names
- Unused Arguments
- Never Used Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel2007/StringTable.php:150 | 8 | - Methods Without Return
- Should Use Local Class
- Never Used Parameter
- Method Could Be Static
- Hidden Nullable
- Max Level Of Nesting
- Insufficient Typehint
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel2007/Worksheet.php:1175 | 8 | - Methods Without Return
- Should Use Local Class
- Method Could Be Static
- Hidden Nullable
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Insufficient Typehint
|
/Application/Runtime/Cache/Admin/b682812e058c4f7cab74d08ab9eabe11.php:1 | 7 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Several Instructions On The Same Line
- Useless Parenthesis
- Could Make A Function
- Undefined Variable
- Preprocessable
|
/Application/Runtime/Cache/Home/444cd209800e8d25a7c3bcd87cb106c9.php:454 | 7 | - Undefined Constants
- Used Once Variables (In Scope)
- Non-constant Index In Array
- Nested Ifthen
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Home/8b47d9fcc2f04e7b8c4675e1e16c4f65.php:938 | 7 | - Undefined Constants
- No Parenthesis For Language Construct
- Non-constant Index In Array
- Strange Name For Variables
- Undefined Variable
- Empty Instructions
|
/ThinkPHP/Common/functions.php:831 | 7 | - PHP Keywords As Names
- Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/ThinkPHP/Common/functions.php:881 | 7 | - Never Used Parameter
- Too Many Local Variables
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Max Level Of Nesting
- Don't Pollute Global Space
|
/ThinkPHP/Library/Vendor/EaseTemplate/template.core.php:511 | 7 | - Implied If
- Undefined Functions
- Or Die
- Exit() Usage
- @ Operator
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Vendor/EaseTemplate/template.core.php:530 | 7 | - Implied If
- Undefined Functions
- Or Die
- Exit() Usage
- @ Operator
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Vendor/Hprose/HproseHttpClient.php:280 | 7 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- Illegal Name For Method
|
/ThinkPHP/Library/Vendor/Hprose/HproseWriter.php:185 | 7 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- No Boolean As Default
- Use Named Boolean In Argument Definition
|
/ThinkPHP/Library/Vendor/TemplateLite/class.template.php:620 | 7 | - Useless Parenthesis
- Timestamp Difference
- Undefined Functions
- Drop Else After Return
- Nested Ifthen
- Bail Out Early
- No Need For Else
|
/ThinkPHP/Library/Vendor/phpRPC/bigint.php:140 | 7 | - No Parenthesis For Language Construct
- Should Use Coalesce
- Uses Default Values
- Undefined Functions
- Wrong Type For Native PHP Function
- Undefined Variable
|
/ThinkPHP/Library/Vendor/phpRPC/phprpc_client.php:460 | 7 | - Uses Default Values
- PHP Keywords As Names
- Undefined Functions
- Drop Else After Return
- Could Make A Function
- Bail Out Early
- No Need For Else
|
/ThinkPHP/Mode/Api/functions.php:618 | 7 | - PHP Keywords As Names
- Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/rule/Core/Common/functions.php:831 | 7 | - PHP Keywords As Names
- Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/rule/Core/Common/functions.php:881 | 7 | - Never Used Parameter
- Too Many Local Variables
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Max Level Of Nesting
- Don't Pollute Global Space
|
/rule/Core/Library/Behavior/AgentCheckBehavior.class.php:16 | 7 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- Ambiguous Static
- Useless Referenced Argument
|
/rule/Core/Library/Behavior/BorisBehavior.class.php:17 | 7 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- Ambiguous Static
- Useless Referenced Argument
|
/rule/Core/Library/Behavior/BrowserCheckBehavior.class.php:16 | 7 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- Ambiguous Static
- Useless Referenced Argument
|
/rule/Core/Library/Behavior/CheckActionRouteBehavior.class.php:31 | 7 | - Uses Default Values
- Undefined Functions
- Drop Else After Return
- Could Make A Function
- Nested Ifthen
- No Need For Else
- Undefined Variable
|
/rule/Core/Library/Behavior/RobotCheckBehavior.class.php:18 | 7 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- Ambiguous Static
- Useless Referenced Argument
|
/rule/Core/Library/Think/Model/RelationModel.class.php:213 | 7 | - PHP Keywords As Names
- Drop Else After Return
- Nested Ifthen
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Variable Is Not A Condition
|
/rule/Core/Mode/Api/functions.php:660 | 7 | - PHP Keywords As Names
- Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/rule/Core/index.php:35 | 7 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Could Make A Function
- Don't Pollute Global Space
- Logical Should Use Symbolic Operators
|
/rule/Core/index.php:62 | 7 | - Invalid Constant Name
- Implied If
- Constants With Strange Names
- Use const
- Don't Pollute Global Space
- Preprocessable
- Logical Should Use Symbolic Operators
|
/rule/Public/Common/PHPExcel/PHPExcel/Calculation/DateTime.php:500 | 7 | - Strict Comparison With Booleans
- Strpos()-like Comparison
- Uses Default Values
- Drop Else After Return
- Could Make A Function
- No Need For Else
|
/rule/Public/Common/PHPExcel/PHPExcel/Reader/Excel2007.php:1558 | 7 | - Iffectations
- Uses Default Values
- Buried Assignation
- Could Make A Function
- Should Make Ternary
- Use Positive Condition
- Wrong Type For Native PHP Function
|
/rule/Public/Common/PHPExcel/PHPExcel/Reader/Excel2007.php:1631 | 7 | - Iffectations
- Uses Default Values
- Buried Assignation
- Could Make A Function
- Should Make Ternary
- Use Positive Condition
- Wrong Type For Native PHP Function
|
/rule/Public/Common/PHPExcel/PHPExcel/Shared/PCLZip/pclzip.lib.php:1170 | 7 | - Useless Parenthesis
- Avoid get_class()
- Use Instanceof
- Undefined Functions
- Wrong Number Of Arguments
- Nested Ifthen
- Use Class Operator
|
/rule/Public/Common/PHPExcel/PHPExcel/Shared/trend/polynomialBestFitClass.php:209 | 7 | - Forgotten Visibility
- PHP Keywords As Names
- Never Used Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
|
/rule/Public/Common/PHPExcel/PHPExcel/Worksheet.php:1267 | 7 | - Drop Else After Return
- Nested Ifthen
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Weak Typing
- Assumptions
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel2007/Drawing.php:47 | 7 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- Hidden Nullable
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel2007/Workbook.php:193 | 7 | - Methods Without Return
- Should Use Local Class
- Method Could Be Static
- Hidden Nullable
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Insufficient Typehint
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel2007/Worksheet.php:749 | 7 | - Methods Without Return
- Should Use Local Class
- Method Could Be Static
- Hidden Nullable
- Max Level Of Nesting
- Insufficient Typehint
|
/Application/Runtime/Cache/Admin/742c63a2855cd19ceeb65e34367505cd.php:495 | 6 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Useless Parenthesis
- Used Once Variables
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Admin/db2293da5bfa97e1f08d4741bc767172.php:438 | 6 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Useless Parenthesis
- Used Once Variables
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Home/20914c0f075f91df3579ffbdf5180b02.php:1 | 6 | - No Parenthesis For Language Construct
- Several Instructions On The Same Line
- Useless Parenthesis
- Could Make A Function
- Empty Instructions
- Preprocessable
|
/Application/Runtime/Cache/Home/8b47d9fcc2f04e7b8c4675e1e16c4f65.php:798 | 6 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Useless Parenthesis
- Used Once Variables
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Home/8b47d9fcc2f04e7b8c4675e1e16c4f65.php:808 | 6 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Useless Parenthesis
- Used Once Variables
- Undefined Variable
- Empty Instructions
|
/Application/Runtime/Cache/Home/8b47d9fcc2f04e7b8c4675e1e16c4f65.php:818 | 6 | - No Parenthesis For Language Construct
- Used Once Variables (In Scope)
- Useless Parenthesis
- Used Once Variables
- Undefined Variable
- Empty Instructions
|
/ThinkPHP/Common/functions.php:271 | 6 | - PHP Keywords As Names
- Never Used Parameter
- No Class In Global
- Max Level Of Nesting
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/ThinkPHP/Common/functions.php:430 | 6 | - Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/ThinkPHP/Common/functions.php:505 | 6 | - PHP Keywords As Names
- Written Only Variables
- Drop Else After Return
- Bail Out Early
- No Need For Else
- Strange Name For Variables
|
/ThinkPHP/Library/Think/Upload/Driver/Qiniu.class.php:80 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
|
/ThinkPHP/Library/Vendor/EaseTemplate/template.core.php:512 | 6 | - Implied If
- Undefined Functions
- Or Die
- Exit() Usage
- @ Operator
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Vendor/EaseTemplate/template.core.php:523 | 6 | - Implied If
- Undefined Functions
- Or Die
- Exit() Usage
- @ Operator
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Vendor/EaseTemplate/template.core.php:531 | 6 | - Implied If
- Undefined Functions
- Or Die
- Exit() Usage
- @ Operator
- Logical Should Use Symbolic Operators
|
/ThinkPHP/Library/Vendor/Hprose/HproseFormatter.php:28 | 6 | - PHP Keywords As Names
- Should Use Local Class
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
|
/ThinkPHP/Library/Vendor/Hprose/HproseWriter.php:164 | 6 | - Used Once Variables (In Scope)
- Methods Without Return
- PHP Keywords As Names
- Unused Arguments
- No Boolean As Default
- Use Named Boolean In Argument Definition
|
/ThinkPHP/Library/Vendor/Smarty/plugins/function.fetch.php:109 | 6 | - Uses Default Values
- Undefined Functions
- Drop Else After Return
- Use Positive Condition
- Bail Out Early
- No Need For Else
|
/ThinkPHP/Library/Vendor/Smarty/plugins/function.fetch.php:127 | 6 | - Uses Default Values
- Undefined Functions
- Drop Else After Return
- Use Positive Condition
- Bail Out Early
- No Need For Else
|
/ThinkPHP/Library/Vendor/Smarty/plugins/function.html_image.php:98 | 6 | - Iffectations
- Uses Default Values
- Buried Assignation
- Nested Ifthen
- Merge If Then
- @ Operator
|
/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.capitalize.php:25 | 6 | - PHP Keywords As Names
- Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.escape.php:24 | 6 | - PHP Keywords As Names
- Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_block.php:81 | 6 | - Strpos()-like Comparison
- Uses Default Values
- Undefined Functions
- Nested Ifthen
- Bail Out Early
- Long Arguments
|
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_templatebase.php:32 | 6 | - PHP Keywords As Names
- Never Used Parameter
- Too Many Local Variables
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Max Level Of Nesting
|
/ThinkPHP/Library/Vendor/TemplateLite/class.template.php:166 | 6 | - Forgotten Visibility
- Methods Without Return
- Never Used Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Max Level Of Nesting
|
/ThinkPHP/Library/Vendor/TemplateLite/class.template.php:215 | 6 | - Forgotten Visibility
- Methods Without Return
- Never Used Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Useless Referenced Argument
|
/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.compile_config.php:9 | 6 | - PHP Keywords As Names
- Objects Don't Need References
- No Class In Global
- Useless Referenced Argument
- Max Level Of Nesting
- Don't Pollute Global Space
|
/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.generate_compiler_debug_output.php:9 | 6 | - Used Once Variables (In Scope)
- PHP Keywords As Names
- Unused Arguments
- No Class In Global
- Useless Referenced Argument
- Don't Pollute Global Space
|
/ThinkPHP/Library/Vendor/TemplateLite/internal/template.destroy_dir.php:9 | 6 | - Methods Without Return
- PHP Keywords As Names
- Objects Don't Need References
- No Class In Global
- Max Level Of Nesting
- Don't Pollute Global Space
|
/ThinkPHP/Library/Vendor/phpRPC/bigint.php:167 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- No Class In Global
- Don't Pollute Global Space
- Redeclared PHP Functions
|
/ThinkPHP/Library/Vendor/phpRPC/compat.php:36 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/ThinkPHP/Library/Vendor/phpRPC/compat.php:88 | 6 | - Used Once Variables (In Scope)
- Used Once Variables
- Written Only Variables
- Could Make A Function
- Identical Consecutive Expression
- Avoid Substr() One
|
/ThinkPHP/Library/Vendor/phpRPC/phprpc_client.php:394 | 6 | - Uses Default Values
- PHP Keywords As Names
- Undefined Functions
- Drop Else After Return
- Bail Out Early
- No Need For Else
|
/ThinkPHP/Library/Vendor/spyc/Spyc.php:888 | 6 | - Several Instructions On The Same Line
- Overwritten Literals
- Use Positive Condition
- Assigned Twice
- Check All Types
- Else If Versus Elseif
|
/ThinkPHP/Mode/Api/functions.php:200 | 6 | - PHP Keywords As Names
- Never Used Parameter
- No Class In Global
- Max Level Of Nesting
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/ThinkPHP/Mode/Api/functions.php:286 | 6 | - Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/ThinkPHP/Mode/Api/functions.php:359 | 6 | - PHP Keywords As Names
- Written Only Variables
- Drop Else After Return
- Bail Out Early
- No Need For Else
- Strange Name For Variables
|
/rule/Core/Common/functions.php:271 | 6 | - PHP Keywords As Names
- Never Used Parameter
- No Class In Global
- Max Level Of Nesting
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/rule/Core/Common/functions.php:430 | 6 | - Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/rule/Core/Common/functions.php:505 | 6 | - PHP Keywords As Names
- Written Only Variables
- Drop Else After Return
- Bail Out Early
- No Need For Else
- Strange Name For Variables
|
/rule/Core/Common/functions.php:1555 | 6 | - Wrong Optional Parameter
- Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Don't Pollute Global Space
|
/rule/Core/Library/Behavior/CronRunBehavior.class.php:17 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Should Use Local Class
- Method Could Be Static
- Ambiguous Static
- Useless Referenced Argument
|
/rule/Core/Library/Behavior/FireShowPageTraceBehavior.class.php:1012 | 6 | - Undefined Functions
- Drop Else After Return
- Bail Out Early
- No Need For Else
- Undefined Variable
- @ Operator
|
/rule/Core/Library/Behavior/FireShowPageTraceBehavior.class.php:1543 | 6 | - PHP Keywords As Names
- Drop Else After Return
- Nested Ifthen
- Bail Out Early
- No Need For Else
- Check All Types
|
/rule/Core/Library/Org/Net/Http.class.php:189 | 6 | - Forgotten Visibility
- PHP Keywords As Names
- Should Use Local Class
- Never Used Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
|
/rule/Core/Library/Think/Db/Driver.class.php:825 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Max Level Of Nesting
|
/rule/Core/Library/Think/Image/Driver/Imagick.class.php:66 | 6 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
|
/rule/Core/Library/Think/Model.class.php:890 | 6 | - Iffectations
- Buried Assignation
- Useless Parenthesis
- Drop Else After Return
- Use Positive Condition
- No Need For Else
|
/rule/Core/Library/Think/Upload/Driver/Bcs.class.php:86 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
|
/rule/Core/Library/Think/Upload/Driver/Bcs/requestcore.class.php:721 | 6 | - Undefined Constants
- Used Once Variables (In Scope)
- Buried Assignation
- Static Loop
- Undefined Functions
- Written Only Variables
|
/rule/Core/Library/Think/Upload/Driver/Ftp.class.php:91 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
|
/rule/Core/Library/Think/Upload/Driver/Qiniu.class.php:80 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
|
/rule/Core/Library/Think/Upload/Driver/Upyun.class.php:79 | 6 | - Used Once Variables (In Scope)
- Unused Arguments
- Never Used Parameter
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
|
/rule/Core/Mode/Api/functions.php:201 | 6 | - PHP Keywords As Names
- Never Used Parameter
- No Class In Global
- Max Level Of Nesting
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/rule/Core/Mode/Api/functions.php:328 | 6 | - Never Used Parameter
- No Boolean As Default
- No Class In Global
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Don't Pollute Global Space
|
/rule/Core/Mode/Api/functions.php:401 | 6 | - PHP Keywords As Names
- Written Only Variables
- Drop Else After Return
- Bail Out Early
- No Need For Else
- Strange Name For Variables
|
/rule/Public/Common/PHPExcel/PHPExcel/Calculation.php:2163 | 6 | - Used Once Variables (In Scope)
- Uses Default Values
- PHP Keywords As Names
- Undefined Functions
- Wrong Type For Native PHP Function
- Preprocessable
|
/rule/Public/Common/PHPExcel/PHPExcel/Calculation.php:3806 | 6 | - Drop Else After Return
- Use Positive Condition
- Bail Out Early
- No Need For Else
- Weak Typing
- Assumptions
|
/rule/Public/Common/PHPExcel/PHPExcel/Calculation/DateTime.php:599 | 6 | - Used Once Variables (In Scope)
- Buried Assignation
- Used Once Variables
- Useless Instructions
- Undefined Variable
- Empty Instructions
|
/rule/Public/Common/PHPExcel/PHPExcel/Calculation/LookupRef.php:311 | 6 | - Uses Default Values
- Undefined Functions
- Wrong Type For Native PHP Function
- Invalid Regex
- Preprocessable
- Use === null
|
/rule/Public/Common/PHPExcel/PHPExcel/Chart/Renderer/jpgraph.php:266 | 6 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Too Many Local Variables
- No Boolean As Default
- Use Named Boolean In Argument Definition
|
/rule/Public/Common/PHPExcel/PHPExcel/Settings.php:384 | 6 | - Used Once Variables (In Scope)
- Useless Parenthesis
- Undefined Functions
- Suspicious Comparison
- Undefined Variable
- @ Operator
|
/rule/Public/Common/PHPExcel/PHPExcel/Shared/PCLZip/pclzip.lib.php:1234 | 6 | - Useless Parenthesis
- Avoid get_class()
- Use Instanceof
- Undefined Functions
- Wrong Number Of Arguments
- Use Class Operator
|
/rule/Public/Common/PHPExcel/PHPExcel/Shared/PCLZip/pclzip.lib.php:4221 | 6 | - Iffectations
- Uses Default Values
- Buried Assignation
- Undefined Functions
- Empty Blocks
- @ Operator
|
/rule/Public/Common/PHPExcel/PHPExcel/Shared/PCLZip/pclzip.lib.php:5681 | 6 | - Strict Comparison With Booleans
- Iffectations
- Uses Default Values
- Buried Assignation
- Useless Parenthesis
- Could Make A Function
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel2007/StringTable.php:232 | 6 | - Methods Without Return
- Should Use Local Class
- Never Used Parameter
- Method Could Be Static
- Hidden Nullable
- Insufficient Typehint
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel2007/Workbook.php:46 | 6 | - Never Used Parameter
- Hidden Nullable
- No Boolean As Default
- Use Named Boolean In Argument Definition
- Mismatched Default Arguments
- Mismatched Typehint
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel5.php:118 | 6 | - Methods Without Return
- Never Used Parameter
- Too Many Local Variables
- Ambiguous Static
- Max Level Of Nesting
- Mismatched Default Arguments
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel5/Parser.php:1126 | 6 | - Uses Default Values
- Undefined Functions
- Drop Else After Return
- No Need For Else
- Invalid Regex
- Logical Should Use Symbolic Operators
|
/rule/Public/Common/PHPExcel/PHPExcel/Writer/Excel5/Parser.php:1561 | 6 | - Uses Default Values
- Undefined Functions
- Drop Else After Return
- Bail Out Early
- No Need For Else
- Logical Should Use Symbolic Operators
|
/rule/wx_pay/phpqrcode.php:726 | 6 | - Methods Without Return
- Should Use Local Class
- Never Used Parameter
- No Boolean As Default
- Ambiguous Static
- Use Named Boolean In Argument Definition
|