Результаты анализа решений на Битриксе
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
РешениеРазработчикPHP CS FixerPHP Code snifferPHP CPDPHP DCDPHP MDPHP StanPHP CompatibilityPHP Compatibility CheckerQafoo Quality AnalyzerPHP MetricsPhanКоличество замечанийКоличество файловКоличество строк в этих файлахИтого замечаний (отношение количества замечаний к ...)
2
Строк кода изменено
Ошибок всего
Неустранимых ошибок
Строк кода дублировано
Количество устаревших методов
Количество сообщений (нарушений)
Ошибок всего
Ошибок всего (при ключе l=5)
Ошибок всего
Предупреждений всего
Ошибок всего (php 5.6)
Предупреждений всего (php 5.6)
Кол-во строк с сообщением об ошибке
Ошибок
Предупреждений
Ошибок
Предупреждений
lownormalcritical... кол-ву файлов... кол-ву строк
3
Корпоративный сайт производственной компании (бесплатный)1С-Битрикс3010111297388511933376100402011946968043045015747467823633,719486081,911971831
4
Современный интернет-магазин (бесплатный)1С-Битрикс3463132111146210297910181969090811107951413080180592671221167,636704121,478912456
5
Информационный портал (бесплатный)1С-Битрикс60273913518444072959273338464553303711040001331510878631451459,196987253,51984291
6
Аспро: Оптимус - интернет-магазин (платный)Аспро24073111824752512103145674460510175128809917740703813161252630155670103762110150,11571842,506359684
7
Интернет-магазин по продаже туристического снаряжения и товаров для активного отдыха (бесплатный)
Эм Си Арт189830757190159080280687219021124375100010060035154509493969,064833017,117635149
8
intervolga.ruИнтерволга13012ErrorError327930243115563062ErrorErrorErrorError0354403504503012136271659314874776611,158708810,3473809823
9
2009.intervolga.ruИнтерволга128496706944623108326912Error349668258117028145189555599047491368ErrorErrorError2215572004373287110,55738520,5935299113
10
UniMagazin - адаптивный интернет-магазин (платный)
"INTEC" интернет-агентство
225021073785919101139515835979611544345571813270011729627146007145657104100,2795332,556861166
11
INTEC: UniGarderob - адаптивный интернет-магазин одежды, обуви и аксессуаров (платный)
"INTEC" интернет-агентство
181258706048675147951582702781773734066095025381072662511529413614382784,712711242,630661464
12
Интернет-магазин электроники и бытовой техники "E-market" (бесплатный)
Веб-студия "Крайт"
9410796283864290629162181441230100925377222253515309583777026153124,46363643,664474439
13
DELUXE - многофункциональный интернет-магазин 2 в 1 (платный)Digital Web
14
Error - Phan выдал ошибку при выполнении (выдал стэк трэйс)
15
Error - PHP Code sniffer выдал ошибку при выполнении: PHP Fatal error: Allowed memory size of 524288000 bytes exhausted (tried to allocate 72 bytes)
16
17
18
19
PHP CS FixerPHP Code SnifferPHP Copy Paste DetectorPHP Dead Code DetectorPHP Mess DetectorPHP Metrics
20
Intervolga2009.intervolga.ru/kernelbitrix.eshopВизуальная часть (сайт) + сводный отчет (на примере 2009.intervolga)
21
49) /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intervolga//dev/services/index.php (full_opening_tag, concat_space, trailing_comma_in_multiline_array)
---------- begin diff ----------
--- Original
+++ New
@@ @@
-<?
-require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
+<?php
+require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");

@@ @@
</p>
-<? $APPLICATION->IncludeComponent(
+<?php $APPLICATION->IncludeComponent(

@@ @@
"RESULT_ID" => "RESULT_ID",
- )
+ ),
),
false
); ?>

-<? require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); ?>
+<?php require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php"); ?>
----------- end diff -----------
FILE: /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/2009.intervolga.ru_kernel/src/ctrl/tiny_mce/plugins/tinybrowser/fns_tinybrowser.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 319 ERRORS AND 51 WARNINGS AFFECTING 224 LINES
----------------------------------------------------------------------------------------------------------------------------------------------------------------
3 | WARNING | [ ] Consider putting global function "createfolder" in a static class
3 | ERROR | [x] Opening brace should be on a new line
8 | WARNING | [ ] Line exceeds 80 characters; contains 86 characters
9 | WARNING | [ ] Consider putting global function "validateExtension" in a static class
9 | ERROR | [x] Opening brace should be on a new line
10 | ERROR | [x] No space found after comma in function call
13 | WARNING | [ ] Line exceeds 80 characters; contains 99 characters
14 | WARNING | [ ] Consider putting global function "alert" in a static class
14 | ERROR | [x] Opening brace should be on a new line
15 | ERROR | [ ] Variable "alert_num" is not in valid camel caps format
16 | ERROR | [ ] Expected "for (...) {\n"; found "for(...)\n\t{\n"
16 | ERROR | [ ] Variable "alert_num" is not in valid camel caps format
17 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
18 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
18 | WARNING | [ ] Line exceeds 80 characters; contains 110 characters
19 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
19 | ERROR | [x] Closing brace indented incorrectly; expected 0 spaces, found 1
22 | WARNING | [ ] Line exceeds 80 characters; contains 95 characters
23 | WARNING | [ ] Consider putting global function "sortfileorder" in a static class
23 | ERROR | [x] Opening brace should be on a new line
26 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
phpcpd 3.0.0-5-g8cd349c by Sebastian Bergmann.

Found 7 clones with 210 duplicated lines in 7 files:

- /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/public/ru/personal/sect_sidebar.php:17-58
/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/public/ru/sect_sidebar.php:35-76

- /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/public/ru/sect_sidebar.php:5-91
/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/main/ru/public_convert/sect_sidebar.php:5-91

- /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step1.php:1747-1760
/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step1.php:1777-1790

- /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step1.php:2057-2071
/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step1.php:2081-2095

- /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/iblock/references.php:127-159
/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/iblock/references.php:284-316

- /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/iblock/news.php:64-73
/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/iblock/catalog3.php:36-45

1.72% duplicated lines out of 12211 total lines of code.

Time: 354 ms, Memory: 28.25MB
- ShopSettings::InitStep()
LOC: 48, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/wizard.php:473
<violation beginline="106" endline="106" rule="StaticAccess" ruleset="Clean Code Rules" externalInfoUrl="http://phpmd.org/rules/cleancode.html#staticaccess" priority="1">
Avoid using static access to class 'CFile' in method 'ShowStep'.
</violation>
[2KLOC
Lines of code 266239
Logical lines of code 147676
Comment lines of code 119019
Average volume 862.03
Average comment weight 35.39
Average intelligent content 35.39
Logical lines of code by class 87
Logical lines of code by method 16

Object oriented programming
Classes 1698
Interface 87
Methods 9303
Methods by class 5.48
Lack of cohesion of methods 1.39
Average afferent coupling 3.45
Average efferent coupling 4.57
Average instability 0.58

Complexity
Average Cyclomatic complexity by class 7.18
Average Relative system complexity 87.75
Average Difficulty 9.14

Bugs
Average bugs by class 0.29
Average defects by class (Kan) 0.85

Violations
Critical 0
Error 491
Warning 368
Information 273
22
23
- bitrix_sitecorporate::bitrix_sitecorporate()
LOC: 16, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.sitecorporate/install/index.php:17
24
<violation beginline="981" endline="987" rule="ElseExpression" ruleset="Clean Code Rules" externalInfoUrl="http://phpmd.org/rules/cleancode.html#elseexpression" priority="1">
The method ShowStep uses an else expression. Else is never necessary and you can simplify the code to work without else.
</violation>
25
- UniGarderob::AdmSettingsDrawRow_EX()
LOC: 39, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intec.unigarderob/include.php:1

- UniGarderob::AdmSettingsSaveOption_EX()
LOC: 1, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intec.unigarderob/include.php:39
26
27
<violation beginline="34" endline="34" rule="BooleanArgumentFlag" ruleset="Clean Code Rules" externalInfoUrl="http://phpmd.org/rules/cleancode.html#booleanargumentflag" priority="1">
The method InstallDB has a boolean flag argument $install_wizard, which is a certain sign of a Single Responsibility Principle violation.
</violation>
28
29
- lessc::__construct()
LOC: 6, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intec.unigarderob/sources/Less.php:1875

- lessc::addImportDir()
LOC: 4, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intec.unigarderob/sources/Less.php:2079
30
31
32
33
- CBPParallelActivity::OnEvent()
LOC: 18, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intervolga/bitrix/activities/bitrix/parallelactivity/parallelactivity.php:55

- CBPParallelActivity::__construct()
LOC: 5, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intervolga/bitrix/activities/bitrix/parallelactivity/parallelactivity.php:10
34
35
36
37
- krayt_emarket::DoInstall()
LOC: 10, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/krayt.emarket/install/index.php:120

- krayt_emarket::DoUninstall()
LOC: 9, declared in /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/krayt.emarket/install/index.php:131
38
39
bitrix.eshopbitrix.eshopinstall/wizards/bitrix/eshop/site/services/sale/step1.php: 1747-1760/1777-1790
40
156) /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop//install/wizards/bitrix/eshop/site/services/iblock/types.php (full_opening_tag, line_ending, new_with_braces, no_closing_tag, binary_operator_spaces, lowercase_keywords, method_argument_space, no_whitespace_in_blank_line, no_extra_consecutive_blank_lines, single_blank_line_at_eof)
---------- begin diff ----------
--- Original
+++ New
@@ @@
-<?
-if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)
+<?php
+if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true)
die();

if(!CModule::IncludeModule("iblock"))
return;
-
if(COption::GetOptionString("eshop", "wizard_installed", "N", WIZARD_SITE_ID) == "Y" && !WIZARD_INSTALL_DEMO_DATA)
return;
-
-$arTypes = Array(
- Array(
+$arTypes = array(
+ array(
"ID" => "news",
"SECTIONS" => "N",
"IN_RSS" => "Y",
"SORT" => 200,
- "LANG" => Array(),
+ "LANG" => array(),
),
- Array(
+ array(
"ID" => "services",
"SECTIONS" => "Y",
"IN_RSS" => "N",
"SORT" => 300,
- "LANG" => Array(),
+ "LANG" => array(),
),
);

-$arLanguages = Array();
+$arLanguages = array();
$rsLanguage = CLanguage::GetList($by, $order, array());
while($arLanguage = $rsLanguage->Fetch())
$arLanguages[] = $arLanguage["LID"];

-$iblockType = new CIBlockType;
+$iblockType = new CIBlockType();
foreach($arTypes as $arType)
{
- $dbType = CIBlockType::GetList(Array(),Array("=ID" => $arType["ID"]));
+ $dbType = CIBlockType::GetList(array(), array("=ID" => $arType["ID"]));
if($dbType->Fetch())
continue;
-

@@ @@

-COption::SetOptionString('iblock','combined_list_mode','Y');
-?>
+COption::SetOptionString('iblock', 'combined_list_mode', 'Y');
+
----------- end diff -----------
FILE: /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step3.php
---------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 404 ERRORS AND 3 WARNINGS AFFECTING 242 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] Short PHP opening tag used; expected "<?php" but found "<?"
5 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
7 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
9 | ERROR | [x] Expected 1 space before = sign of default value
9 | ERROR | [x] Expected 1 space after = sign of default value
9 | ERROR | [x] Expected 1 space before = sign of default value
9 | ERROR | [x] Expected 1 space after = sign of default value
9 | ERROR | [ ] Line exceeds maximum limit of 120 characters; contains 127 characters
10 | ERROR | [ ] Expected "if (...) {\n"; found "if(...)\n{\n"
12 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
12 | WARNING | [ ] Line exceeds 80 characters; contains 98 characters
14 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
15 | ERROR | [x] Spaces must be used to indent lines; tabs are not allowed
15 | ERROR | [ ] Expected "if (...) {\n"; found "if(...)\n\t{\n"
18 | ERROR | [x] Opening parenthesis of a multi-line function call must be the last content on the line
"BIZVAL" => array('' => array(
"PAYMENT_ID" => array("TYPE" => "ORDER", "VALUE" => "ID"),
"PAYMENT_DATE_INSERT" => array("TYPE" => "ORDER", "VALUE" => "DATE_BILL"),
"PAYMENT_SHOULD_PAY" => array("TYPE" => "ORDER", "VALUE" => "SUM"),
"PS_IS_TEST" => array("VALUE" => "Y"),
"PS_CHANGE_STATUS_PAY" => array("VALUE" => "Y"),
"YANDEX_SHOP_ID" => array("TYPE" => "", "VALUE" => ""),
"YANDEX_SCID" => array("TYPE" => "", "VALUE" => ""),
"YANDEX_SHOP_KEY" => array("TYPE" => "", "VALUE" => ""),
)),
41
42
43
44
45
46
47
install/wizards/bitrix/eshop/site/services/iblock/references.php:127-159/284-316
48
'MANDATORY' => 'Y',
'SHOW_FILTER' => 'N',
'SHOW_IN_LIST' => 'Y',
'EDIT_IN_LIST' => 'Y',
'IS_SEARCHABLE' => 'N',
)
);
$arLanguages = Array();
$rsLanguage = CLanguage::GetList($by, $order, array());
while($arLanguage = $rsLanguage->Fetch())
$arLanguages[] = $arLanguage["LID"];

$obUserField = new CUserTypeEntity;
foreach ($arUserFields as $arFields)
{
$dbRes = CUserTypeEntity::GetList(Array(), Array("ENTITY_ID" => $arFields["ENTITY_ID"], "FIELD_NAME" => $arFields["FIELD_NAME"]));
if ($dbRes->Fetch())
continue;

$arLabelNames = Array();
foreach($arLanguages as $languageID)
{
WizardServices::IncludeServiceLang("references.php", $languageID);
$arLabelNames[$languageID] = GetMessage($arFields["FIELD_NAME"]);
}

$arFields["EDIT_FORM_LABEL"] = $arLabelNames;
$arFields["LIST_COLUMN_LABEL"] = $arLabelNames;
$arFields["LIST_FILTER_LABEL"] = $arLabelNames;

$ID_USER_FIELD = $obUserField->Add($arFields);
}
}
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Intervolga
72
phpcpd 3.0.0-5-g8cd349c by Sebastian Bergmann.

Found 37 clones with 3279 duplicated lines in 44 files:


- /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intervolga/bitrix/templates/2014/components/bitrix/blog.post.comment/comments2015/functions.php:34-69
/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intervolga/bitrix/templates/2014/components/bitrix/blog.post.comment/comments2015/functions.php:229-264
73
74
75
76
bitrix/templates/2014/components/bitrix/blog.post.comment/comments2015/functions.php:34-69/229-264
77
<?$GLOBALS["APPLICATION"]->IncludeComponent(
"bitrix:rating.vote", $arParams["RATING_TYPE"],
Array(
"ENTITY_TYPE_ID" => "BLOG_COMMENT",
"ENTITY_ID" => $comment["ID"],
"OWNER_ID" => $comment["arUser"]["ID"],
"USER_VOTE" => $arParams["RATING"][$comment["ID"]]["USER_VOTE"],
"USER_HAS_VOTED" => $arParams["RATING"][$comment["ID"]]["USER_HAS_VOTED"],
"TOTAL_VOTES" => $arParams["RATING"][$comment["ID"]]["TOTAL_VOTES"],
"TOTAL_POSITIVE_VOTES" => $arParams["RATING"][$comment["ID"]]["TOTAL_POSITIVE_VOTES"],
"TOTAL_NEGATIVE_VOTES" => $arParams["RATING"][$comment["ID"]]["TOTAL_NEGATIVE_VOTES"],
"TOTAL_VALUE" => $arParams["RATING"][$comment["ID"]]["TOTAL_VALUE"],
"PATH_TO_USER_PROFILE" => $arParams["~PATH_TO_USER"],
),
$arParams["component"],
array("HIDE_ICONS" => "Y")
);?>
78
79
80
81
82
83
84
85
86
87
88
89
90
PHP StanPHP CompatibilityPHP Compatibility CheckerQafoo Quality AnalyzerPhan
91
bitrix.eshopbitrix.eshopbitrix.eshopbitrix.eshopbitrix.eshop
92
------ ----------------------------------------------------------------------------------------------------------------------------
Line bitrix.eshop/install/wizards/bitrix/eshop/site/templates/eshop_bootstrap/components/bitrix/menu/personal_menu/template.php
------ ----------------------------------------------------------------------------------------------------------------------------
4 Call to static method GetOptionString() on an unknown class COption.
16 Using $this outside a class.
26 Function htmlspecialcharsbx not found.
------ ----------------------------------------------------------------------------------------------------------------------------
FILE: ...web.ru/public_html/bitrix/modules/bitrix.eshop/install/index.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
17 | WARNING | Use of deprecated PHP4 style class constructor is not
| | supported since PHP 7.
----------------------------------------------------------------------
File: /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/install/index.php
> Line 17: PHP 4 constructors are now deprecated
function bitrix_eshop()
{
}

Checked 267 files in 4.057 seconds
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="2.8.1">
<file name="/home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/bitrix.eshop/include.php">
<error line="1" column="1" severity="warning" message="A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 3 and the first side effect is on line 2." source="PSR1.Files.SideEffects.FoundWithSymbols"/>
<error line="1" column="1" severity="error" message="Short PHP opening tag used; expected &quot;&lt;?php&quot; but found &quot;&lt;?&quot;" source="Generic.PHP.DisallowShortOpenTag.Found"/>
<error line="3" column="1" severity="error" message="Each class must be in a namespace of at least one level (a top-level vendor name)" source="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
<error line="5" column="1" severity="error" message="Spaces must be used to indent lines; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
<error line="5" column="5" severity="error" message="Method name &quot;CEShop::ShowPanel&quot; is not in camel caps format" source="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
<error line="5" column="5" severity="error" message="Visibility must be declared on method &quot;ShowPanel&quot;" source="Squiz.Scope.MethodScope.Missing"/>
<error line="6" column="1" severity="error" message="Spaces must be used to indent lines; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
<error line="7" column="1" severity="error" message="Spaces must be used to indent lines; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
<error line="7" column="119" severity="error" message="Expected 1 space after closing parenthesis; found 9" source="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis"/>
<error line="8" column="1" severity="error" message="Spaces must be used to indent lines; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
<error line="9" column="1" severity="error" message="Spaces must be used to indent lines; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
<error line="9" column="101" severity="error" message="Whitespace found at end of line" source="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine"/>
<error line="11" column="1" severity="error" message="Spaces must be used to indent lines; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
<error line="11" column="23" severity="error" message="PHP keywords must be lowercase; expected &quot;array&quot; but found &quot;Array&quot;" source="Generic.PHP.LowerCaseKeyword.Found"/>
<error line="12" column="1" severity="error" message="Spaces must be used to indent lines; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"/>
<error line="12" column="17" severity="error" message="PHP keywords must be lowercase; expected &quot;array&quot; but found &quot;Array&quot;" source="Generic.PHP.LowerCaseKeyword.Found"/>
<error line="12" column="23" severity="error" message="Spaces must be used for alignment; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed"/>
<error line="12" column="23" severity="error" message="Whitespace found at end of line" source="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine"/>
<error line="13" column="1" severity="error" message="Spaces must be used for alignment; tabs are not allowed" source="Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed"/>
filename,line,severity_ord,severity_name,category,check_name,message
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/iblock/news.php,88,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 1 (string) is null but \strlen() takes string"
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/main/template.php,74,5,normal,RedefineError,PhanRedefineFunction,"Function ___writeToAreasFile defined at bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/main/template.php:74 was previously defined at bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/main/files.php:8"
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step1.php,153,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 1 (string) is null but \strlen() takes string"
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step1.php,328,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 1 (string) is null but \strlen() takes string"
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/services/sale/step3.php,6,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 1 (string) is null but \strlen() takes string"
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/templates/eshop_bootstrap/components/bitrix/main.feedback/eshop/template.php,26,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 2 (haystack) is int|string but \in_array() takes array"
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/templates/eshop_bootstrap/components/bitrix/main.feedback/eshop/template.php,29,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 2 (haystack) is int|string but \in_array() takes array"
bitrix/modules/bitrix.eshop/install/wizards/bitrix/eshop/site/templates/eshop_bootstrap/components/bitrix/main.feedback/eshop/template.php,32,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 2 (haystack) is int|string but \in_array() takes array"
93
94
95
96
97
intervolgaFILE: ....eshop/install/wizards/bitrix/eshop/site/services/sale/step1.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
2416 | WARNING | Function name "__MakeOrder" is discouraged; PHP has
| | reserved all method names with a double underscore
| | prefix for future use
----------------------------------------------------------------------
intec.unigarderob
98
------ ------------------------------------------------------------------------------------------------
Line intervolga/bitrix/templates/2014/components/bitrix/blog.post.comment/comments2015/template.php
------ ------------------------------------------------------------------------------------------------
2 Using $this outside a class.
6 Using $this outside a class.
6 Using $this outside a class.
6 Using $this outside a class.
35 Function ShowNote not found.
45 Function ShowNote not found.
51 Function ShowNote not found.
57 Function ShowNote not found.
63 Function ShowNote not found.
81 Call to function intval() with incorrect case: IntVal
81 Call to function intval() with incorrect case: IntVal
88 Function ShowNote not found.
115 Function RecursiveComments not found.
135 Function RecursiveComments not found.
161 Function ShowNote not found.
180 Using $this outside a class.
204 Function bitrix_sessid_post not found.
213 Function htmlspecialcharsEx not found.
227 Function htmlspecialcharsEx not found.
------ ------------------------------------------------------------------------------------------------
File: /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intec.unigarderob/install/components/intec/oneclickbuy/script.php
> Line 11: Removed function "mysql_real_escape_string" called
mysql_real_escape_string($input);


File: /home/i/ivserv1/kravchenko.ivserv1.tmweb.ru/public_html/bitrix/modules/intec.unigarderob/install/wizards/intec/unigarderob/site/templates/unigarderob/components/bitrix/catalog/services/bitrix/catalog.element/.default/result_modifier.php
> Line 275: Nested by-reference foreach loop, make sure there is no iteration over the same array
foreach ($arSKUPropIDs as &$strOneCode) {
}
99
intervolga
100
filename,line,severity_ord,severity_name,category,check_name,message
bitrix/modules/intervolga/bitrix/activities/bitrix/getuseractivity/getuseractivity.php,86,5,normal,TypeError,PhanTypeMismatchForeach,"null passed to foreach instead of array"
bitrix/modules/intervolga/bitrix/activities/bitrix/handleexternaleventactivity/handleexternaleventactivity.php,202,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 1 (prefix) is int but \uniqid() takes string"
bitrix/modules/intervolga/bitrix/activities/bitrix/requestinformationactivity/properties_dialog.php,328,5,normal,TypeError,PhanTypeMismatchForeach,"string passed to foreach instead of array"
bitrix/modules/intervolga/bitrix/activities/bitrix/socnetlogactivity/socnetlogactivity.php,23,0,low,NOOPError,PhanNoopConstant,"Unused constant"
bitrix/modules/intervolga/bitrix/activities/bitrix/stateactivity/stateactivity.php,73,10,critical,TypeError,PhanNonClassMethodCall,"Call to method AddStatusChangeHandler on non-class type null"
bitrix/modules/intervolga/bitrix/activities/bitrix/statemachineworkflowactivity/statemachineworkflowactivity.php,107,10,critical,TypeError,PhanNonClassMethodCall,"Call to method ReInitialize on non-class type null"
bitrix/modules/intervolga/bitrix/activities/bitrix/statemachineworkflowactivity/statemachineworkflowactivity.php,108,10,critical,TypeError,PhanNonClassMethodCall,"Call to method AddStatusChangeHandler on non-class type null"
bitrix/modules/intervolga/bitrix/gadgets/bitrix/admin_stat/index.php,69,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 4 (mon) is string but \mktime() takes int"
bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderPHP/UploadedFile.class.php,5,5,normal,RedefineError,PhanRedefineClass,"Class \UploadedFile defined at bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderPHP/UploadedFile.class.php:5 was previously defined as Class \UploadedFile at bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderFlashPHP/UploadedFile.class.php:5"
bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderPHP/UploadedFile.class.php,37,5,normal,TypeError,PhanTypeMismatchArgumentInternal,"Argument 3 (subpatterns) is null but \preg_match() takes array"
bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderPHP/UploadedFile.class.php,50,10,critical,AccessError,PhanAccessMethodPrivate,"Cannot access private method \UploadedFile::initFileArray defined at bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderFlashPHP/UploadedFile.class.php:32"
bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderPHP/Utils.class.php,5,5,normal,RedefineError,PhanRedefineClass,"final Class \Utils defined at bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderPHP/Utils.class.php:5 was previously defined as final Class \Utils at bitrix/modules/intervolga/bitrix/image_uploader/ImageUploaderFlashPHP/Utils.class.php:5"
bitrix/modules/intervolga/bitrix/templates/2014/components/bitrix/blog.post.comment/comments2015/functions.php,326,0,low,ParamError,PhanParamReqAfterOpt,"Required argument follows optional"
bitrix/modules/intervolga/bitrix/templates/2014/components/bitrix/blog.post.comment/comments2015/result_modifier.php,44,0,low,ParamError,PhanParamTooMany,"Call with 2 arg(s) to \__MPF_ImageResizeHandler() which only takes 1 arg(s) defined at bitrix/modules/intervolga/bitrix/templates/2014/components/bitrix/blog.post.comment/comments2015/result_modifier.php:4"
Loading...