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
@@ -565,43 +565,43 @@ parameters:
565
565
path:src/Server/ServerBuilder.php
566
566
567
567
-
568
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withDiscovery\(\) has parameter \$excludeDirs with no value type specified in iterable type array\.$#'
568
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$excludeDirs with no value type specified in iterable type array\.$#'
569
569
identifier:missingType.iterableValue
570
570
count:1
571
571
path:src/Server/ServerBuilder.php
572
572
573
573
-
574
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withDiscovery\(\) has parameter \$scanDirs with no value type specified in iterable type array\.$#'
574
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$scanDirs with no value type specified in iterable type array\.$#'
575
575
identifier:missingType.iterableValue
576
576
count:1
577
577
path:src/Server/ServerBuilder.php
578
578
579
579
-
580
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withPrompt\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
580
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addPrompt\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
581
581
identifier:missingType.iterableValue
582
582
count:1
583
583
path:src/Server/ServerBuilder.php
584
584
585
585
-
586
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withResource\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
586
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResource\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
587
587
identifier:missingType.iterableValue
588
588
count:1
589
589
path:src/Server/ServerBuilder.php
590
590
591
591
-
592
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withResourceTemplate\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
592
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResourceTemplate\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
593
593
identifier:missingType.iterableValue
594
594
count:1
595
595
path:src/Server/ServerBuilder.php
596
596
597
597
-
598
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withTool\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
598
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
599
599
identifier:missingType.iterableValue
600
600
count:1
601
601
path:src/Server/ServerBuilder.php
602
602
603
603
-
604
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:withTool\(\) has parameter \$inputSchema with no value type specified in iterable type array\.$#'
604
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$inputSchema with no value type specified in iterable type array\.$#'
605
605
identifier:missingType.iterableValue
606
606
count:1
607
607
path:src/Server/ServerBuilder.php
@@ -637,49 +637,25 @@ parameters:
637
637
path:src/Server/ServerBuilder.php
638
638
639
639
-
640
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualPrompts has unknown class Mcp\\Server\\Closure as its type\.$#'
641
-
identifier:class.notFound
642
-
count:1
643
-
path:src/Server/ServerBuilder.php
644
-
645
-
-
646
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualPrompts type has no value type specified in iterable type array\.$#'
640
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$prompts type has no value type specified in iterable type array\.$#'
647
641
identifier:missingType.iterableValue
648
642
count:1
649
643
path:src/Server/ServerBuilder.php
650
644
651
645
-
652
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResourceTemplates has unknown class Mcp\\Server\\Closure as its type\.$#'
653
-
identifier:class.notFound
654
-
count:1
655
-
path:src/Server/ServerBuilder.php
656
-
657
-
-
658
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResourceTemplates type has no value type specified in iterable type array\.$#'
646
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resourceTemplates type has no value type specified in iterable type array\.$#'
659
647
identifier:missingType.iterableValue
660
648
count:1
661
649
path:src/Server/ServerBuilder.php
662
650
663
651
-
664
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResources has unknown class Mcp\\Server\\Closure as its type\.$#'
665
-
identifier:class.notFound
666
-
count:1
667
-
path:src/Server/ServerBuilder.php
668
-
669
-
-
670
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualResources type has no value type specified in iterable type array\.$#'
652
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resources type has no value type specified in iterable type array\.$#'
671
653
identifier:missingType.iterableValue
672
654
count:1
673
655
path:src/Server/ServerBuilder.php
674
656
675
657
-
676
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualTools has unknown class Mcp\\Server\\Closure as its type\.$#'
677
-
identifier:class.notFound
678
-
count:1
679
-
path:src/Server/ServerBuilder.php
680
-
681
-
-
682
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$manualTools type has no value type specified in iterable type array\.$#'
658
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$tools type has no value type specified in iterable type array\.$#'
0 commit comments