Skip to content

Commit 7d79c30

Browse files
committed
added pear includes, updated baseline
1 parent d69d0b4 commit 7d79c30

File tree

2 files changed

+4
-25
lines changed

2 files changed

+4
-25
lines changed

.phpstan/bootstrap.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ class ProjectConfiguration extends sfProjectConfiguration
77
class BaseForm extends sfForm
88
{
99
}
10+
11+
include 'PEAR/REST/10.php';
12+
include 'PEAR/REST/11.php';
13+
include 'PEAR/Frontend/CLI.php';

phpstan-baseline.php

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -371,26 +371,6 @@
371371
'count' => 1,
372372
'path' => __DIR__ . '/lib/mailer/sfNoMailer.class.php',
373373
];
374-
$ignoreErrors[] = [
375-
'message' => '#^Access to an undefined property sfPearRest10\\:\\:\\$_rest\\.$#',
376-
'count' => 1,
377-
'path' => __DIR__ . '/lib/plugin/sfPearRest10.class.php',
378-
];
379-
$ignoreErrors[] = [
380-
'message' => '#^Access to an undefined property sfPearRest11\\:\\:\\$_rest\\.$#',
381-
'count' => 1,
382-
'path' => __DIR__ . '/lib/plugin/sfPearRest11.class.php',
383-
];
384-
$ignoreErrors[] = [
385-
'message' => '#^Access to an undefined property sfPearRestPlugin\\:\\:\\$_rest\\.$#',
386-
'count' => 2,
387-
'path' => __DIR__ . '/lib/plugin/sfPearRestPlugin.class.php',
388-
];
389-
$ignoreErrors[] = [
390-
'message' => '#^Call to an undefined method sfPearRestPlugin\\:\\:betterStates\\(\\)\\.$#',
391-
'count' => 1,
392-
'path' => __DIR__ . '/lib/plugin/sfPearRestPlugin.class.php',
393-
];
394374
$ignoreErrors[] = [
395375
'message' => '#^Call to an undefined method sfPearRestPlugin\\:\\:getDownloadURL\\(\\)\\.$#',
396376
'count' => 1,
@@ -471,11 +451,6 @@
471451
'count' => 1,
472452
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php',
473453
];
474-
$ignoreErrors[] = [
475-
'message' => '#^Parameter \\$message of method Swift_DoctrineSpool\\:\\:queueMessage\\(\\) has invalid type Swift_Mime_Message\\.$#',
476-
'count' => 1,
477-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php',
478-
];
479454
$ignoreErrors[] = [
480455
'message' => '#^Variable \\$e2 in isset\\(\\) always exists and is not nullable\\.$#',
481456
'count' => 1,

0 commit comments

Comments
 (0)