Skip to content

Commit 25bb848

Browse files
committed
updated baseline
1 parent aeaf184 commit 25bb848

File tree

1 file changed

+0
-210
lines changed

1 file changed

+0
-210
lines changed

phpstan-baseline.php

-210
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
'count' => 1,
77
'path' => __DIR__ . '/lib/addon/sfData.class.php',
88
];
9-
$ignoreErrors[] = [
10-
'message' => '#^Variable \\$position might not be defined\\.$#',
11-
'count' => 1,
12-
'path' => __DIR__ . '/lib/autoload/sfAutoloadAgain.class.php',
13-
];
149
$ignoreErrors[] = [
1510
'message' => '#^Method sfAPCCache\\:\\:clean\\(\\) should return bool but return statement is missing\\.$#',
1611
'count' => 1,
@@ -81,11 +76,6 @@
8176
'count' => 1,
8277
'path' => __DIR__ . '/lib/cache/sfMemcacheCache.class.php',
8378
];
84-
$ignoreErrors[] = [
85-
'message' => '#^Constant XC_TYPE_VAR not found\\.$#',
86-
'count' => 6,
87-
'path' => __DIR__ . '/lib/cache/sfXCacheCache.class.php',
88-
];
8979
$ignoreErrors[] = [
9080
'message' => '#^Method sfXCacheCache\\:\\:removePattern\\(\\) should return bool but return statement is missing\\.$#',
9181
'count' => 1,
@@ -101,46 +91,11 @@
10191
'count' => 1,
10292
'path' => __DIR__ . '/lib/config/sfApplicationConfiguration.class.php',
10393
];
104-
$ignoreErrors[] = [
105-
'message' => '#^Variable \\$included might not be defined\\.$#',
106-
'count' => 1,
107-
'path' => __DIR__ . '/lib/config/sfApplicationConfiguration.class.php',
108-
];
10994
$ignoreErrors[] = [
11095
'message' => '#^Instantiated class class not found\\.$#',
11196
'count' => 1,
11297
'path' => __DIR__ . '/lib/config/sfConfigCache.class.php',
11398
];
114-
$ignoreErrors[] = [
115-
'message' => '#^Variable \\$timer might not be defined\\.$#',
116-
'count' => 1,
117-
'path' => __DIR__ . '/lib/config/sfConfigCache.class.php',
118-
];
119-
$ignoreErrors[] = [
120-
'message' => '#^Variable \\$directory might not be defined\\.$#',
121-
'count' => 1,
122-
'path' => __DIR__ . '/lib/config/sfPluginConfiguration.class.php',
123-
];
124-
$ignoreErrors[] = [
125-
'message' => '#^Variable \\$names might not be defined\\.$#',
126-
'count' => 2,
127-
'path' => __DIR__ . '/lib/config/sfPluginConfiguration.class.php',
128-
];
129-
$ignoreErrors[] = [
130-
'message' => '#^Variable \\$viewName might not be defined\\.$#',
131-
'count' => 1,
132-
'path' => __DIR__ . '/lib/config/sfViewConfigHandler.class.php',
133-
];
134-
$ignoreErrors[] = [
135-
'message' => '#^Variable \\$sf_content might not be defined\\.$#',
136-
'count' => 1,
137-
'path' => __DIR__ . '/lib/controller/default/templates/defaultLayout.php',
138-
];
139-
$ignoreErrors[] = [
140-
'message' => '#^Variable \\$sf_params might not be defined\\.$#',
141-
'count' => 2,
142-
'path' => __DIR__ . '/lib/controller/default/templates/moduleSuccess.php',
143-
];
14499
$ignoreErrors[] = [
145100
'message' => '#^Function mysql_close not found\\.$#',
146101
'count' => 1,
@@ -206,16 +161,6 @@
206161
'count' => 1,
207162
'path' => __DIR__ . '/lib/exception/sfException.class.php',
208163
];
209-
$ignoreErrors[] = [
210-
'message' => '#^Function get_javascripts invoked with 1 parameter, 0 required\\.$#',
211-
'count' => 1,
212-
'path' => __DIR__ . '/lib/filter/sfCommonFilter.class.php',
213-
];
214-
$ignoreErrors[] = [
215-
'message' => '#^Function get_stylesheets invoked with 1 parameter, 0 required\\.$#',
216-
'count' => 1,
217-
'path' => __DIR__ . '/lib/filter/sfCommonFilter.class.php',
218-
];
219164
$ignoreErrors[] = [
220165
'message' => '#^Method sfExecutionFilter\\:\\:executeView\\(\\) should return string but return statement is missing\\.$#',
221166
'count' => 1,
@@ -236,11 +181,6 @@
236181
'count' => 2,
237182
'path' => __DIR__ . '/lib/generator/sfModelGeneratorConfiguration.class.php',
238183
];
239-
$ignoreErrors[] = [
240-
'message' => '#^Variable \\$config in isset\\(\\) is never defined\\.$#',
241-
'count' => 2,
242-
'path' => __DIR__ . '/lib/generator/sfModelGeneratorConfiguration.class.php',
243-
];
244184
$ignoreErrors[] = [
245185
'message' => '#^Function include_http_metas\\(\\) should return string but return statement is missing\\.$#',
246186
'count' => 1,
@@ -266,21 +206,6 @@
266206
'count' => 1,
267207
'path' => __DIR__ . '/lib/helper/PartialHelper.php',
268208
];
269-
$ignoreErrors[] = [
270-
'message' => '#^Variable \\$timer might not be defined\\.$#',
271-
'count' => 1,
272-
'path' => __DIR__ . '/lib/helper/PartialHelper.php',
273-
];
274-
$ignoreErrors[] = [
275-
'message' => '#^Variable \\$pattern might not be defined\\.$#',
276-
'count' => 1,
277-
'path' => __DIR__ . '/lib/helper/TextHelper.php',
278-
];
279-
$ignoreErrors[] = [
280-
'message' => '#^Variable \\$replacement might not be defined\\.$#',
281-
'count' => 1,
282-
'path' => __DIR__ . '/lib/helper/TextHelper.php',
283-
];
284209
$ignoreErrors[] = [
285210
'message' => '#^Undefined variable\\: \\$result$#',
286211
'count' => 1,
@@ -296,11 +221,6 @@
296221
'count' => 6,
297222
'path' => __DIR__ . '/lib/i18n/sfMessageSource_File.class.php',
298223
];
299-
$ignoreErrors[] = [
300-
'message' => '#^Constant MYSQL_NUM not found\\.$#',
301-
'count' => 3,
302-
'path' => __DIR__ . '/lib/i18n/sfMessageSource_MySQL.class.php',
303-
];
304224
$ignoreErrors[] = [
305225
'message' => '#^Function mysql_affected_rows not found\\.$#',
306226
'count' => 2,
@@ -341,11 +261,6 @@
341261
'count' => 1,
342262
'path' => __DIR__ . '/lib/i18n/sfMessageSource_MySQL.class.php',
343263
];
344-
$ignoreErrors[] = [
345-
'message' => '#^Variable \\$cat_id might not be defined\\.$#',
346-
'count' => 2,
347-
'path' => __DIR__ . '/lib/i18n/sfMessageSource_SQLite3.class.php',
348-
];
349264
$ignoreErrors[] = [
350265
'message' => '#^Cannot unset offset \'strings\' on array\\{meta\\: array\\{PO\\-Revision\\-Date\\: non\\-falsy\\-string\\}\\}\\.$#',
351266
'count' => 1,
@@ -356,56 +271,16 @@
356271
'count' => 1,
357272
'path' => __DIR__ . '/lib/i18n/sfNumberFormat.class.php',
358273
];
359-
$ignoreErrors[] = [
360-
'message' => '#^Variable \\$suffix might not be defined\\.$#',
361-
'count' => 2,
362-
'path' => __DIR__ . '/lib/i18n/sfNumberFormat.class.php',
363-
];
364-
$ignoreErrors[] = [
365-
'message' => '#^Constructor of class sfNoMailer has an unused parameter \\$dispatcher\\.$#',
366-
'count' => 1,
367-
'path' => __DIR__ . '/lib/mailer/sfNoMailer.class.php',
368-
];
369-
$ignoreErrors[] = [
370-
'message' => '#^Constructor of class sfNoMailer has an unused parameter \\$options\\.$#',
371-
'count' => 1,
372-
'path' => __DIR__ . '/lib/mailer/sfNoMailer.class.php',
373-
];
374-
$ignoreErrors[] = [
375-
'message' => '#^Call to an undefined method sfPearRestPlugin\\:\\:getDownloadURL\\(\\)\\.$#',
376-
'count' => 1,
377-
'path' => __DIR__ . '/lib/plugin/sfPearRestPlugin.class.php',
378-
];
379-
$ignoreErrors[] = [
380-
'message' => '#^Call to an undefined method sfPearRestPlugin\\:\\:packageInfo\\(\\)\\.$#',
381-
'count' => 1,
382-
'path' => __DIR__ . '/lib/plugin/sfPearRestPlugin.class.php',
383-
];
384-
$ignoreErrors[] = [
385-
'message' => '#^Variable \\$download might not be defined\\.$#',
386-
'count' => 2,
387-
'path' => __DIR__ . '/lib/plugin/sfPluginManager.class.php',
388-
];
389274
$ignoreErrors[] = [
390275
'message' => '#^Call to sprintf contains 0 placeholders, 1 value given\\.$#',
391276
'count' => 1,
392277
'path' => __DIR__ . '/lib/plugin/sfSymfonyPluginManager.class.php',
393278
];
394-
$ignoreErrors[] = [
395-
'message' => '#^Variable \\$this might not be defined\\.$#',
396-
'count' => 3,
397-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/config/installer.php',
398-
];
399279
$ignoreErrors[] = [
400280
'message' => '#^Method sfDoctrineCli\\:\\:notify\\(\\) should return false but return statement is missing\\.$#',
401281
'count' => 1,
402282
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/cli/sfDoctrineCli.class.php',
403283
];
404-
$ignoreErrors[] = [
405-
'message' => '#^Variable \\$stringName might not be defined\\.$#',
406-
'count' => 1,
407-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/database/sfDoctrineDatabase.class.php',
408-
];
409284
$ignoreErrors[] = [
410285
'message' => '#^Method sfWebDebugPanelDoctrine\\:\\:getTitle\\(\\) should return string but return statement is missing\\.$#',
411286
'count' => 1,
@@ -416,16 +291,6 @@
416291
'count' => 1,
417292
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormFilterGenerator.class.php',
418293
];
419-
$ignoreErrors[] = [
420-
'message' => '#^Variable \\$name might not be defined\\.$#',
421-
'count' => 1,
422-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormFilterGenerator.class.php',
423-
];
424-
$ignoreErrors[] = [
425-
'message' => '#^Variable \\$pluginName might not be defined\\.$#',
426-
'count' => 1,
427-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormFilterGenerator.class.php',
428-
];
429294
$ignoreErrors[] = [
430295
'message' => '#^Call to an undefined method sfDoctrineFormGenerator\\:\\:isColumnNotNull\\(\\)\\.$#',
431296
'count' => 1,
@@ -436,26 +301,11 @@
436301
'count' => 1,
437302
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormGenerator.class.php',
438303
];
439-
$ignoreErrors[] = [
440-
'message' => '#^Variable \\$pluginName might not be defined\\.$#',
441-
'count' => 1,
442-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineFormGenerator.class.php',
443-
];
444-
$ignoreErrors[] = [
445-
'message' => '#^Variable \\$columns might not be defined\\.$#',
446-
'count' => 1,
447-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/generator/sfDoctrineGenerator.class.php',
448-
];
449304
$ignoreErrors[] = [
450305
'message' => '#^Method Swift_DoctrineSpool\\:\\:queueMessage\\(\\) should return bool but return statement is missing\\.$#',
451306
'count' => 1,
452307
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/mailer/Swift_DoctrineSpool.class.php',
453308
];
454-
$ignoreErrors[] = [
455-
'message' => '#^Variable \\$e2 in isset\\(\\) always exists and is not nullable\\.$#',
456-
'count' => 1,
457-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/record/sfDoctrineRecord.class.php',
458-
];
459309
$ignoreErrors[] = [
460310
'message' => '#^Method sfDoctrineBuildDbTask\\:\\:execute\\(\\) should return int but return statement is missing\\.$#',
461311
'count' => 1,
@@ -476,11 +326,6 @@
476326
'count' => 1,
477327
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildModelTask.class.php',
478328
];
479-
$ignoreErrors[] = [
480-
'message' => '#^Variable \\$match might not be defined\\.$#',
481-
'count' => 2,
482-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildModelTask.class.php',
483-
];
484329
$ignoreErrors[] = [
485330
'message' => '#^Method sfDoctrineBuildSchemaTask\\:\\:execute\\(\\) should return int but return statement is missing\\.$#',
486331
'count' => 1,
@@ -591,11 +436,6 @@
591436
'count' => 1,
592437
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/test/sfTesterDoctrine.class.php',
593438
];
594-
$ignoreErrors[] = [
595-
'message' => '#^Variable \\$match might not be defined\\.$#',
596-
'count' => 1,
597-
'path' => __DIR__ . '/lib/plugins/sfDoctrinePlugin/lib/test/sfTesterDoctrine.class.php',
598-
];
599439
$ignoreErrors[] = [
600440
'message' => '#^Method sfPatternRouting\\:\\:connect\\(\\) should return array but return statement is missing\\.$#',
601441
'count' => 1,
@@ -691,11 +531,6 @@
691531
'count' => 1,
692532
'path' => __DIR__ . '/lib/task/help/sfListTask.class.php',
693533
];
694-
$ignoreErrors[] = [
695-
'message' => '#^Variable \\$namespacesXML might not be defined\\.$#',
696-
'count' => 1,
697-
'path' => __DIR__ . '/lib/task/help/sfListTask.class.php',
698-
];
699534
$ignoreErrors[] = [
700535
'message' => '#^Method sfI18nExtractTask\\:\\:execute\\(\\) should return int but return statement is missing\\.$#',
701536
'count' => 1,
@@ -821,26 +656,6 @@
821656
'count' => 1,
822657
'path' => __DIR__ . '/lib/task/test/sfTestUnitTask.class.php',
823658
];
824-
$ignoreErrors[] = [
825-
'message' => '#^Call to an undefined method sfTestFunctionalBase\\:\\:doClick\\(\\)\\.$#',
826-
'count' => 1,
827-
'path' => __DIR__ . '/lib/test/sfTestFunctionalBase.class.php',
828-
];
829-
$ignoreErrors[] = [
830-
'message' => '#^Call to an undefined method sfTestFunctionalBase\\:\\:doClickCssSelector\\(\\)\\.$#',
831-
'count' => 1,
832-
'path' => __DIR__ . '/lib/test/sfTestFunctionalBase.class.php',
833-
];
834-
$ignoreErrors[] = [
835-
'message' => '#^Call to an undefined method sfTestFunctionalBase\\:\\:doClickElement\\(\\)\\.$#',
836-
'count' => 1,
837-
'path' => __DIR__ . '/lib/test/sfTestFunctionalBase.class.php',
838-
];
839-
$ignoreErrors[] = [
840-
'message' => '#^Call to an undefined method sfTestFunctionalBase\\:\\:resetCurrentException\\(\\)\\.$#',
841-
'count' => 1,
842-
'path' => __DIR__ . '/lib/test/sfTestFunctionalBase.class.php',
843-
];
844659
$ignoreErrors[] = [
845660
'message' => '#^Method sfContext\\:\\:getActionName\\(\\) should return string but return statement is missing\\.$#',
846661
'count' => 1,
@@ -856,16 +671,6 @@
856671
'count' => 1,
857672
'path' => __DIR__ . '/lib/util/sfContext.class.php',
858673
];
859-
$ignoreErrors[] = [
860-
'message' => '#^Variable \\$timer might not be defined\\.$#',
861-
'count' => 1,
862-
'path' => __DIR__ . '/lib/util/sfContext.class.php',
863-
];
864-
$ignoreErrors[] = [
865-
'message' => '#^Variable \\$cleanTime might not be defined\\.$#',
866-
'count' => 2,
867-
'path' => __DIR__ . '/lib/validator/sfValidatorDate.class.php',
868-
];
869674
$ignoreErrors[] = [
870675
'message' => '#^Method sfValidatorDecorator\\:\\:setMessage\\(\\) should return sfValidatorBase but return statement is missing\\.$#',
871676
'count' => 1,
@@ -906,26 +711,11 @@
906711
'count' => 1,
907712
'path' => __DIR__ . '/lib/vendor/lime/lime.php',
908713
];
909-
$ignoreErrors[] = [
910-
'message' => '#^Offset \'output\' on array\\{\\} in isset\\(\\) does not exist\\.$#',
911-
'count' => 1,
912-
'path' => __DIR__ . '/lib/vendor/lime/lime.php',
913-
];
914714
$ignoreErrors[] = [
915715
'message' => '#^Undefined variable\\: \\$result$#',
916716
'count' => 2,
917717
'path' => __DIR__ . '/lib/vendor/lime/lime.php',
918718
];
919-
$ignoreErrors[] = [
920-
'message' => '#^Variable \\$output might not be defined\\.$#',
921-
'count' => 1,
922-
'path' => __DIR__ . '/lib/vendor/lime/lime.php',
923-
];
924-
$ignoreErrors[] = [
925-
'message' => '#^Variable \\$timer might not be defined\\.$#',
926-
'count' => 1,
927-
'path' => __DIR__ . '/lib/view/sfPartialView.class.php',
928-
];
929719
$ignoreErrors[] = [
930720
'message' => '#^Method sfViewCacheManager\\:\\:remove\\(\\) should return bool but return statement is missing\\.$#',
931721
'count' => 1,

0 commit comments

Comments
 (0)