You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+11-35Lines changed: 11 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -463,43 +463,43 @@ parameters:
463
463
path:src/Server/ServerBuilder.php
464
464
465
465
-
466
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withDiscovery\(\) has parameter \$excludeDirs with no value type specified in iterable type array\.$#'
466
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$excludeDirs with no value type specified in iterable type array\.$#'
467
467
identifier:missingType.iterableValue
468
468
count:1
469
469
path:src/Server/ServerBuilder.php
470
470
471
471
-
472
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withDiscovery\(\) has parameter \$scanDirs with no value type specified in iterable type array\.$#'
472
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$scanDirs with no value type specified in iterable type array\.$#'
473
473
identifier:missingType.iterableValue
474
474
count:1
475
475
path:src/Server/ServerBuilder.php
476
476
477
477
-
478
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withPrompt\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
478
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addPrompt\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
479
479
identifier:missingType.iterableValue
480
480
count:1
481
481
path:src/Server/ServerBuilder.php
482
482
483
483
-
484
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withResource\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
484
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResource\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
485
485
identifier:missingType.iterableValue
486
486
count:1
487
487
path:src/Server/ServerBuilder.php
488
488
489
489
-
490
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withResourceTemplate\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
490
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResourceTemplate\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
491
491
identifier:missingType.iterableValue
492
492
count:1
493
493
path:src/Server/ServerBuilder.php
494
494
495
495
-
496
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withTool\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
496
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
497
497
identifier:missingType.iterableValue
498
498
count:1
499
499
path:src/Server/ServerBuilder.php
500
500
501
501
-
502
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withTool\(\) has parameter \$inputSchema with no value type specified in iterable type array\.$#'
502
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$inputSchema with no value type specified in iterable type array\.$#'
503
503
identifier:missingType.iterableValue
504
504
count:1
505
505
path:src/Server/ServerBuilder.php
@@ -535,49 +535,25 @@ parameters:
535
535
path:src/Server/ServerBuilder.php
536
536
537
537
-
538
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualPrompts has unknown class Mcp\\Server\\Closure as its type\.$#'
539
-
identifier:class.notFound
540
-
count:1
541
-
path:src/Server/ServerBuilder.php
542
-
543
-
-
544
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualPrompts type has no value type specified in iterable type array\.$#'
538
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$prompts type has no value type specified in iterable type array\.$#'
545
539
identifier:missingType.iterableValue
546
540
count:1
547
541
path:src/Server/ServerBuilder.php
548
542
549
543
-
550
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResourceTemplates has unknown class Mcp\\Server\\Closure as its type\.$#'
551
-
identifier:class.notFound
552
-
count:1
553
-
path:src/Server/ServerBuilder.php
554
-
555
-
-
556
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResourceTemplates type has no value type specified in iterable type array\.$#'
544
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resourceTemplates type has no value type specified in iterable type array\.$#'
557
545
identifier:missingType.iterableValue
558
546
count:1
559
547
path:src/Server/ServerBuilder.php
560
548
561
549
-
562
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResources has unknown class Mcp\\Server\\Closure as its type\.$#'
563
-
identifier:class.notFound
564
-
count:1
565
-
path:src/Server/ServerBuilder.php
566
-
567
-
-
568
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResources type has no value type specified in iterable type array\.$#'
550
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resources type has no value type specified in iterable type array\.$#'
569
551
identifier:missingType.iterableValue
570
552
count:1
571
553
path:src/Server/ServerBuilder.php
572
554
573
555
-
574
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualTools has unknown class Mcp\\Server\\Closure as its type\.$#'
575
-
identifier:class.notFound
576
-
count:1
577
-
path:src/Server/ServerBuilder.php
578
-
579
-
-
580
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualTools type has no value type specified in iterable type array\.$#'
556
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$tools type has no value type specified in iterable type array\.$#'
0 commit comments