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
10 - Added the list resources handler with test class
10 - Update the ListPromptsHandler to use annotations
10 - Add the list resource handler, and it's test as well
10 - Added the registry logic
10 - Added the list tools handler logic
10 - Fix all php-cs-fixer related issues
10 - Resolved phpstan issues for ListPromptsHandlerTest
10 - Resolved phpstan issues for ListToolsHandlerTest
10 - Resolved phpstan issues for ListResourcesHandlerTest
10 - Resolved phpstan issues in registry class
10 - Resolved phpstan issues for the handler class
10 - Resolved php cs fixer issues
10 - Resolved all phpstan issues by generating the baseline again
10 - Remove the two loop operation and use foreach for optimization
10 - Removed unused code and resolved namespace
10 - Add signatures to interface and registry
10 - Add updated phpstan rule set
10 - Arranged according to property type
10 - Introduce reference page DTO, fix all failing test
10 - Resolve cs-fixer issues
10 - Resolve phpstan issues
10 - Resolve php cs fixer issues
10 - Created a reference directory for the Page DTO
10 - Remove manual loop for clean code readability
Co-authored-by: larry.sulebalogun <[email protected]>
message:'#^Method Mcp\\Example\\ManualStdioExample\\SimpleHandlers\:\:getItemDetails\(\) return type has no value type specified in iterable type array\.$#'
message:'#^Method Mcp\\Example\\StdioEnvVariables\\EnvToolHandler\:\:processData\(\) return type has no value type specified in iterable type array\.$#'
message:'#^Method Mcp\\Example\\SchemaShowcaseExample\\SchemaShowcaseElements\:\:calculateRange\(\) return type has no value type specified in iterable type array\.$#'
message:'#^Method Mcp\\Server\\ServerBuilder\:\:getCompletionProviders\(\) return type has no value type specified in iterable type array\.$#'
340
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addPrompt\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
400
341
identifier:missingType.iterableValue
401
342
count:1
402
343
path:src/Server/ServerBuilder.php
403
344
404
345
-
405
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$excludeDirs with no value type specified in iterable type array\.$#'
346
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResource\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
406
347
identifier:missingType.iterableValue
407
348
count:1
408
349
path:src/Server/ServerBuilder.php
409
350
410
351
-
411
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$scanDirs with no value type specified in iterable type array\.$#'
352
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResourceTemplate\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
412
353
identifier:missingType.iterableValue
413
354
count:1
414
355
path:src/Server/ServerBuilder.php
415
356
416
357
-
417
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addPrompt\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
358
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
418
359
identifier:missingType.iterableValue
419
360
count:1
420
361
path:src/Server/ServerBuilder.php
421
362
422
363
-
423
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResource\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
364
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$inputSchema with no value type specified in iterable type array\.$#'
424
365
identifier:missingType.iterableValue
425
366
count:1
426
367
path:src/Server/ServerBuilder.php
427
368
428
369
-
429
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addResourceTemplate\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
370
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:getCompletionProviders\(\) return type has no value type specified in iterable type array\.$#'
430
371
identifier:missingType.iterableValue
431
372
count:1
432
373
path:src/Server/ServerBuilder.php
433
374
434
375
-
435
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$handler with no value type specified in iterable type array\.$#'
376
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$excludeDirs with no value type specified in iterable type array\.$#'
436
377
identifier:missingType.iterableValue
437
378
count:1
438
379
path:src/Server/ServerBuilder.php
439
380
440
381
-
441
-
message:'#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$inputSchema with no value type specified in iterable type array\.$#'
382
+
message:'#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$scanDirs with no value type specified in iterable type array\.$#'
442
383
identifier:missingType.iterableValue
443
384
count:1
444
385
path:src/Server/ServerBuilder.php
@@ -456,37 +397,37 @@ parameters:
456
397
path:src/Server/ServerBuilder.php
457
398
458
399
-
459
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$prompts type has no value type specified in iterable type array\.$#'
460
-
identifier:missingType.iterableValue
400
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$paginationLimit \(int\|null\) is never assigned null so it can be removed from the property type\.$#'
401
+
identifier:property.unusedType
461
402
count:1
462
403
path:src/Server/ServerBuilder.php
463
404
464
405
-
465
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resourceTemplates type has no value type specified in iterable type array\.$#'
466
-
identifier:missingType.iterableValue
406
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$paginationLimit is never read, only written\.$#'
407
+
identifier:property.onlyWritten
467
408
count:1
468
409
path:src/Server/ServerBuilder.php
469
410
470
411
-
471
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resources type has no value type specified in iterable type array\.$#'
412
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$prompts type has no value type specified in iterable type array\.$#'
472
413
identifier:missingType.iterableValue
473
414
count:1
474
415
path:src/Server/ServerBuilder.php
475
416
476
417
-
477
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$tools type has no value type specified in iterable type array\.$#'
418
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resourceTemplates type has no value type specified in iterable type array\.$#'
478
419
identifier:missingType.iterableValue
479
420
count:1
480
421
path:src/Server/ServerBuilder.php
481
422
482
423
-
483
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$paginationLimit \(int\|null\) is never assigned null so it can be removed from the property type\.$#'
484
-
identifier:property.unusedType
424
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$resources type has no value type specified in iterable type array\.$#'
425
+
identifier:missingType.iterableValue
485
426
count:1
486
427
path:src/Server/ServerBuilder.php
487
428
488
429
-
489
-
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$paginationLimit is never read, only written\.$#'
490
-
identifier:property.onlyWritten
430
+
message:'#^Property Mcp\\Server\\ServerBuilder\:\:\$tools type has no value type specified in iterable type array\.$#'
0 commit comments