Skip to content

Commit cb74f34

Browse files
authored
chore(phpstan): rebuild baseline on rel-800 (openemr#11086)
1 parent 0682f06 commit cb74f34

5 files changed

Lines changed: 9 additions & 16752 deletions

File tree

.phpstan/baseline/arguments.count.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types = 1);
22

3-
// total 25 errors
3+
// total 24 errors
44

55
$ignoreErrors = [];
66
$ignoreErrors[] = [
@@ -93,10 +93,5 @@
9393
'count' => 3,
9494
'path' => __DIR__ . '/../../tests/Tests/Unit/ClinicalDecisionRules/ActionRouterTest.php',
9595
];
96-
$ignoreErrors[] = [
97-
'message' => '#^Class OpenEMR\\\\ClinicalDecisionRules\\\\Interface\\\\ActionRouter constructor invoked with 3 parameters, 2 required\\.$#',
98-
'count' => 1,
99-
'path' => __DIR__ . '/../../tests/Tests/Unit/ClinicalDecisionRules/ControllerRouterTest.php',
100-
];
10196

10297
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];

.phpstan/baseline/openemr.deprecatedSqlFunction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types = 1);
22

3-
// total 5805 errors
3+
// total 5806 errors
44

55
$ignoreErrors = [];
66
$ignoreErrors[] = [
@@ -3120,7 +3120,7 @@
31203120
];
31213121
$ignoreErrors[] = [
31223122
'message' => '#^Use QueryUtils\\:\\:querySingleRow\\(\\) or QueryUtils\\:\\:fetchRecords\\(\\) instead of sqlQuery\\(\\)\\.$#',
3123-
'count' => 5,
3123+
'count' => 6,
31243124
'path' => __DIR__ . '/../../interface/patient_file/encounter/forms.php',
31253125
];
31263126
$ignoreErrors[] = [

.phpstan/baseline/openemr.forbiddenGlobalsAccess.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types = 1);
22

3-
// total 3904 errors
3+
// total 3905 errors
44

55
$ignoreErrors = [];
66
$ignoreErrors[] = [
@@ -1825,7 +1825,7 @@
18251825
];
18261826
$ignoreErrors[] = [
18271827
'message' => '#^Direct access to \\$GLOBALS is forbidden\\. Use OEGlobalsBag\\:\\:getInstance\\(\\)\\-\\>get\\(\\) instead\\.$#',
1828-
'count' => 21,
1828+
'count' => 22,
18291829
'path' => __DIR__ . '/../../interface/patient_file/encounter/forms.php',
18301830
];
18311831
$ignoreErrors[] = [

.phpstan/baseline/variable.undefined.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types = 1);
22

3-
// total 8287 errors
3+
// total 8284 errors
44

55
$ignoreErrors = [];
66
$ignoreErrors[] = [
@@ -13375,12 +13375,12 @@
1337513375
];
1337613376
$ignoreErrors[] = [
1337713377
'message' => '#^Variable \\$attendant_type might not be defined\\.$#',
13378-
'count' => 7,
13378+
'count' => 6,
1337913379
'path' => __DIR__ . '/../../interface/patient_file/encounter/forms.php',
1338013380
];
1338113381
$ignoreErrors[] = [
1338213382
'message' => '#^Variable \\$encounter might not be defined\\.$#',
13383-
'count' => 24,
13383+
'count' => 25,
1338413384
'path' => __DIR__ . '/../../interface/patient_file/encounter/forms.php',
1338513385
];
1338613386
$ignoreErrors[] = [
@@ -15735,7 +15735,7 @@
1573515735
];
1573615736
$ignoreErrors[] = [
1573715737
'message' => '#^Variable \\$name_alt might not be defined\\.$#',
15738-
'count' => 6,
15738+
'count' => 3,
1573915739
'path' => __DIR__ . '/../../library/ajax/graphs.php',
1574015740
];
1574115741
$ignoreErrors[] = [

0 commit comments

Comments
 (0)